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
    复制代码

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

  • 相关阅读:
    python爬虫简单代码爬取郭德纲单口相声
    WordPress 新版本中编辑器不好用, 使用原有编辑器
    hexo博客更新主题后上传Git操作
    Flask的Context(上下文)学习笔记
    Flask 中的 特殊装饰器before_request/after_request
    Flask 中的 CBV 与上传文件
    Flask 中的蓝图(BluePrint)
    【openresty】获取post请求数据FormInputNginxModule模块
    【随笔】Linux服务器备份相关
    【WMware】关于VMware服务器虚拟化管理之服务器容量扩充
  • 原文地址:https://www.cnblogs.com/leaven/p/1652375.html
Copyright © 2011-2022 走看看