<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Calvin's Tech Space

    成于堅忍,毀于浮躁

       :: 首頁 :: 聯系 :: 聚合  :: 管理
    Fastboot

    Fastboot is protocol used to update the flash filesystem in Android devices from a host over USB. It allows flashing of unsigned partition images. It is disabled in the production G1 devices since USB support is disabled in the bootloader[1]. This can be changed if you get root on the device. See also [2]
    Fastboot prerequisites

    To be able to use fastboot, you need to be running either an ADP1 or the Engineering Bootloader on your G1.

    If you are developing on a linux host, you may need to tweak UDEV to recognize the phone in fastboot mode. You may already have done this to get the phone recognized in Eclipse, but you need to do it again for fastboot, since fastboot uses a different device ID: 0bb4:0c01. The warning sign is that fastboot says "< waiting for device >" forever, even when you have the "FASTBOOT" message on the phone; if this happens, try adding the device ID 0bb4:0c01 to your UDEV configuration for Android.

    For Opensuse 11.1, the following config file, in /etc/udev/rules.d/11-android.rules, seems to work:
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c01", MODE="0666", OWNER="mylogname"
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c02", MODE="0666", OWNER="mylogname"

    NOTE: change "mylogname" to your Linux login ID. Also note that the product ID bit is optional (probably easier to leave it out), and you need to change "0bb4" to the vendor ID for your phone if it isn't made by HTC (whose vendor ID is 0bb4). You can find the vendor id using 'lsusb'. An alternative to this is just to run fastboot as root, using sudo.
    Starting Fastboot

    On the G1: To start fastboot, first get to the bootloader: turn off your phone and hold down the "camera" button while powering it back on. You will see a white screen with skateboarding bugdroids. If you just see the normal multicolored bootloader screen, you need to get the device side of fastboot working as noted above. Plug your phone into the usb and if you see "serial0" hit the "back" key. You should now see "fastboot" on the screen.

    On the Samsung Galaxy: power down the phone, then long-press the two Call buttons. Beware that fastboot mode will continue to reboot the phone after ~30 seconds of inactivity.
    Fastboot Binary

    To make use of fastboot, you also need the fastboot program compiled for your host computer. If you have already built Android, you will have this file already. Its location should be:
    <android source location>/out/host/{os}_{arch}/bin/fastboot

    If you do not have fastboot built, you can either compile the Android source or try DarkriftX's precompiled fastboot (compiled on kubuntu x86)
    Fastboot Commands

    Here are the commands you can run on your host after fastboot has been started on a device connected via USB. This is a paste directly from the fastboot binary's "--help" command:
    usage: fastboot [ <option> ] <command>

    commands:
     update <filename>                        reflash device from update.zip
     flashall                                 'flash boot' + 'flash system'
     flash <partition> [ <filename> ]         write a file to a flash partition
     erase <partition>                        erase a flash partition
     getvar <variable>                        display a bootloader variable
     boot <kernel> [ <ramdisk> ]              download and boot kernel
     flash:raw boot <kernel> [ <ramdisk> ]    create bootimage and flash it
     devices                                  list all connected devices
     reboot                                   reboot device normally
     reboot-bootloader                        reboot device into bootloader

    options:
     -w                                       erase userdata and cache
     -s <serial number>                       specify device serial number
     -p <product>                             specify product name
     -c <cmdline>                             override kernel commandline
    Forcing fastboot to load on every boot

    Developers who are creating new images to try out very often can remove their boot and recovery images which will force the phone to enter bootloader mode every time you boot. To fix this, you would reflash the boot and recovery images back allowing the phone to boot normally.
    $ fastboot erase boot
    $ fastboot erase recovery

    Retrieved from "http://android-dls.com/wiki/index.php?title=Fastboot"
    posted on 2010-04-12 10:45 calvin 閱讀(636) 評論(0)  編輯  收藏 所屬分類: Android
    主站蜘蛛池模板: 久久青草精品38国产免费| 国产精品极品美女免费观看| 美女黄频视频大全免费的| 国产成人无码免费网站| 亚洲成人免费在线观看| 精品免费国产一区二区| 亚洲视频在线一区二区| 亚洲日韩中文字幕| 亚洲成a∨人片在无码2023| 国产精品福利片免费看| 亚洲最大av无码网址| 精品一区二区三区高清免费观看| 日本精品人妻无码免费大全| 国产L精品国产亚洲区久久| 亚洲阿v天堂在线2017免费| 亚洲乱码日产一区三区| 国产精品亚洲四区在线观看| 亚州**色毛片免费观看| 国产92成人精品视频免费| 国产亚洲AV无码AV男人的天堂| 男女一进一出抽搐免费视频 | 0588影视手机免费看片| 亚洲av无码一区二区三区观看| 午夜不卡AV免费| 无码乱人伦一区二区亚洲| 免费人成在线观看播放a| 国产一精品一AV一免费孕妇| 亚洲heyzo专区无码综合| 亚洲日韩VA无码中文字幕| 免费网站看av片| 亚洲AV无码一区东京热| 韩国免费A级毛片久久| 精品亚洲成a人片在线观看| 国产精品偷伦视频免费观看了| 久久精品国产99精品国产亚洲性色 | 亚洲精品无码激情AV| 国产精品亚洲五月天高清| 成年女人喷潮毛片免费播放| 亚洲人成电影在线观看青青| 18禁止看的免费污网站| 国产成人精品日本亚洲语音|