日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Fastboot的安装与使用

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

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

本教程主要介紹WindowsXP平臺下Fastboot的安裝與使用.

你需要準備的東東:

  • Android SDK(點擊此處下載)
  • WinRAR
  • G1(HTC?Dream)
  • 數(shù)據(jù)線


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

進入Fastboot模式
關(guān)閉手機?-->??按住“返回”鍵開機即可

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

安裝驅(qū)動
用數(shù)據(jù)線將手機與電腦連接起來,無需掛載/裝載
當電腦發(fā)現(xiàn)新硬件后,安裝好USB驅(qū)動(如果你不會裝驅(qū)動,請移步這里)。
如果你使用的Android SDK包,驅(qū)動在SDK包下的usb_driver目錄下。
此時,你就可以使用Fastboot了。

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

使用Fastboot
在 cmd 中輸入

  • cd C:\android-sdk-windows-1.5_r3\tools??=== 回車
    ?
  • fastboot devices??=== 回車,將會列出你的手機設(shè)備
    ?
  • fastboot shell??===回車,你就會看到下一行有個“#”
  • 復(fù)制代碼

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

    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
  • 復(fù)制代碼

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

    用 fastboot 恢復(fù)已備份的系統(tǒng)
    在 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
  • 復(fù)制代碼

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

    轉(zhuǎn)載于:https://my.oschina.net/u/994235/blog/116031

    總結(jié)

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

    如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。