zoukankan      html  css  js  c++  java
  • 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
    复制代码

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

  • 相关阅读:
    数值项目的格式化
    ORACLE ERROR CODE代表的意思
    深入了解 Microsoft AJAX Library
    调用MSScriptContro来运算字符串表达式
    C# 调用带参数EXE文件及带启动参数EXE制作
    将DataTable或Ilist<>转换成JSON格式
    客户端控件调用服务器的参数
    调用ICodeCompiler来计算字符串表达式
    录像工具
    今天是开博客园的第一天
  • 原文地址:https://www.cnblogs.com/leaven/p/1652375.html
Copyright © 2011-2022 走看看