日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

Fastboot的安装与使用

發布時間:2025/5/22 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Fastboot的安装与使用 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

2019獨角獸企業重金招聘Python工程師標準>>>

本教程主要介紹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
  • 復制代碼

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

    轉載于:https://my.oschina.net/u/994235/blog/116031

    總結

    以上是生活随笔為你收集整理的Fastboot的安装与使用的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。