支持国产操作系统国产应用!

捉蛋网

[原创] 【乐教:新手教程】关于Fastboot

时间:2012-04-16 01:36来源: 作者: 点击:
本教程主要介绍WindowsXP平台下Fastboot的安装与使用。*********************************************你需要准备的东东:Androi

本教程主要介绍XP平台下Fastboot的安装与使用。

*********************************************

你需求准备的东东:
  • SDK(点击此处下载)
  • WinRAR
  • G1(HTC Dream)
  • 数据线

*********************************************

进入Fastboot形式
关闭 -->  按住“返回”键开机即可

*********************************************

安装
用数据线将与连接起来,无需挂载/装载
当电脑发现新硬件后,安装好USB(如果你不会装驱动,请移步这里)。
如果你使用的Android SDK包,驱动在SDK包下的usb_driver目录下。
此时,你就可以使用Fastboot了。

*********************************************

使用Fastboot
在 cmd 中输入
  1. cd C:\android-sdk--1.5_r3\tools  === 回车
  2. fastboot devices  === 回车,将会列出你的手机设备
  3. fastboot shell  ===回车,你就会看到下一行有个“#”
复制代码-----------------------------------------------

fastboot的使用文档
在 cmd 中输入 fastboot 可以返回使用文档,具体如下
  1. usage: fastboot [ <option> ] <command>

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

  13. options:
  14.   -w                                       erase userdata and cache
  15.   -s <serial number>                       specify device serial number
  16.   -p <product>                             specify product name
  17.   -c <cmdline>                             override kernel commandline
复制代码*********************************************

用 fastboot 恢复已备份的系统
在 cmd 中输入下面的命令:
  1. fastboot erase boot
  2. fastboot erase recovery
  3. fastboot flash system system.img
  4. fastboot flash boot boot.img
  5. fastboot flash userdata data.img
  6. fastboot flash recovery recovery.img
  7. fastboot reboot
复制代码*********************************************

(责任编辑:捉蛋网-刷机)
............................................................................................... ...............................................................................................

 

顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
栏目列表
推荐内容