http://www.vstg.cn/a/jc/2009/1130/168.html
本教程主要介绍WindowsXP平台下Fastboot的安装与使用.
你需要准备的东东:
- Android SDK(点击此处下载)
- WinRAR
- G1(HTC Dream)
- 数据线
*********************************************
进入Fastboot模式
关闭手机 -->  按住“返回”键开机即可
*********************************************
安装驱动
用数据线将手机与电脑连接起来,无需挂载/装载
当电脑发现新硬件后,安装好USB驱动(如果你不会装驱动,请移步这里)。
如果你使用的Android SDK包,驱动在SDK包下的usb_driver目录下。
此时,你就可以使用Fastboot了。
*********************************************
使用Fastboot
在 cmd 中输入
- cd C:\android-sdk-windows-1.5_r3\tools  === 回车
 
- fastboot devices  === 回车,将会列出你的手机设备
 
- fastboot shell ===回车,你就会看到下一行有个“#”
-----------------------------------------------
fastboot的使用文档
在 cmd 中输入 fastboot 可以返回使用文档,具体如下
- 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
*********************************************
用 fastboot 恢复已备份的系统
在 cmd 中输入下面的命令:
- fastboot erase boot
 
- fastboot erase recovery
 
- fastboot flash system system.img
 
- fastboot flash boot boot.img
 
- fastboot flash userdata data.img
 
- fastboot flash recovery recovery.img
 
- fastboot reboot
*********************************************
 
                     
                    
                 
                    
                
 
         
 
                
            
        
 浙公网安备 33010602011771号
浙公网安备 33010602011771号