• Fastboot的安装与使用


     http://www.vstg.cn/a/jc/2009/1130/168.html

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

    你需要准备的东东:


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

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

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

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

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

    使用Fastboot
    在 cmd 中输入

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

    -----------------------------------------------

    fastboot的使用文档
    在 cmd 中输入 fastboot 可以返回使用文档,具体如下

    1. usage: fastboot [ <option> ] <command>
       

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

    14.  
    15. options:
       
    16.   -w                                       erase userdata and cache
       
    17.   -s <serial number>                       specify device serial number
       
    18.   -p <product>                             specify product name
       
    19.   -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
    复制代码

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

  • 相关阅读:
    实用SQL命令收集
    ZedGraph在Asp.net中的应用
    怎样制作一张万能的Win XP安装光盘
    【转】poj 1823 hotel 线段树【Good】
    【转】unique()函数
    POJ1389Area of Simple Polygons
    【转】poj 1823
    【转】POJ 1177 (线段树+离散化+扫描线) 详解
    【转】POJ各题算法分类和题目推荐
    【转】sort()函数定义在头文件<algorithm>中,它把容器中的数据重新排序成非递减序列
  • 原文地址:https://www.cnblogs.com/leaven/p/1652375.html
Copyright © 2020-2023  润新知