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

歡迎訪問 生活随笔!

生活随笔

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

编程问答

刷机工具-fastboot

發(fā)布時間:2023/12/10 编程问答 21 豆豆
生活随笔 收集整理的這篇文章主要介紹了 刷机工具-fastboot 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

1、見到網(wǎng)上一篇刷樂phone的帖子很好所以記錄下來:????????

adb devices查看已連接設備

adb reboot-bootloader 讓手機進入fastboot模式

fastboot devices可以看到設備列表

用下面的命令燒寫boot、systerm、和userdata

?????? fastboot flash boot path\boot.img

?????? fastboot flash system path\system.img

?????? fastboot flash? userdata path\userdata.img

然后用fastboot reboot重啟設備

2、fastboot相關(guān)使用

Android手機分區(qū)(每個分區(qū)都有相應的img文件對應):開機啟動畫面區(qū)(splash1),數(shù)據(jù)恢復區(qū)(recovery),內(nèi)核區(qū)(boot),
系統(tǒng)區(qū)(system),數(shù)據(jù)緩存區(qū)(cache),用戶數(shù)據(jù)區(qū)(userdata)。
1.?查看fastboot命令的幫助:
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??
-i?<vendor?id>????specify?a?custom?USB?vendor?id??

2.?擦除分區(qū):

fastboot?erase?{partition}???例:fastboot?erase?boot或fastboot?erase?system等。

fastboot oem format? 進行格式化

fastboot erase cache 清除cache

3.?燒寫指定分區(qū):
fastboot?flash?{partition}?{*.img}???例:fastboot?flash?boot?boot.img或fastboot?flash?system?system.img等。
4.?燒寫所有分區(qū):
fastboot?flashall???注意:此命令會在當前目錄中查找所有img文件,將這些img文件燒寫到所有對應的分區(qū)中,并重新啟動手機。
5.?一次燒寫boot,system,recovery分區(qū):
(1)創(chuàng)建包含boot.img,system.img,recovery.img文件的zip包。
(2)執(zhí)行:fastboot?update?{*.zip}
6.?燒寫開機畫面:
fastboot?flash?splash1?開機畫面
7.?重啟手機:
fastboot?reboot

總結(jié)

以上是生活随笔為你收集整理的刷机工具-fastboot的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

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