fastboot的使用方法

2021-06-05 15:15:09 字數 1508 閱讀 7882

fastboot的使用方法

簡單的fastboot命令:

1.重啟g1:

$ fastboot reboot

2.刷所有分割槽:以下命令會在當前目錄尋找各種所有的image檔案,並且在刷完所有分割槽後重啟手機

$ fastboot flashall

3.刷指定分割槽:

$ fastboot flash

如:fastboot flash system /備份/system.img

4.擦除分割槽:

$ fastboot erase

如:fastboot erase system

5.刷完整的系統: (未測試!!). 建立乙個包含boot.img, system.img和recovery.img的zip壓縮包,並且執行:

$ fastboot update

3 6.刷自定義開機畫面:(替代預設的白色"t-mobile g1"畫面):

$ fasboot flash splash1 mysplash.rgb565

注意開機畫面檔案需要乙個特定格式,參考:custom boot image.

*通常需要完全恢復的操作是:

$ fastboot flash boot boot.img

$ fastboot flash system system.img

$ fastboot flash userdata data.img

$ fastboot flash recovery recovery.img

以下是完整的fastboot命令的使用說明:

usage: fastboot [ ] ;

commands:

update reflash device from update.zip;

flashall    "flash boot" + "flash system"

flash [ ] write a file to a flash partition

erase erase a flash partition

getvar display a bootloader variable

boot [ ]  download and boot kernel

flash:raw boot [ ] 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 specify device serial number

-p specify product name

-c override kernel commandline

-i specify a custom usb vendor id

fastboot的使用方法

簡單的fastboot命令 8 v h 1.重啟g1 5 t s y9 2 v5 h o 5 g x v5 j x1 1 y z fastboot reboot 2.刷所有分割槽 以下命令會在當前目錄尋找各種所有的image檔案,並且在刷完所有分割槽後重啟手機9 b8 l2 4 p5x s 8 w ...

Fastboot使用詳解

文章出處 1.fastboot簡介 fastboot是android快速公升級的一種方法,fastboot的協議fastboot protocol.txt在原始碼目錄.bootable bootloader legacy下可以找到。fastboot客戶端是作為android系統編譯的一部分,編譯後位...

FASTBOOT刷機的方法

見好多論壇朋友對 fastboot 刷機相當困惑和不解 抑或是相當害怕使用 fastboot刷機.不管是什麼原因 我只需要告訴你 其實用 fastboot 很簡單,也很快捷。下面把我自己總結的一些方法寫出來 希望能給廣大 g友在刷機路上助一臂之力。fastboot for windows 已加入附件...