![]() |
PCDVD數位科技討論區
(https://www.pcdvd.com.tw/index.php)
- 疑難雜症區
(https://www.pcdvd.com.tw/forumdisplay.php?f=34)
- - android fastboot指令 的疑問?
(https://www.pcdvd.com.tw/showthread.php?t=1112661)
|
|---|
android fastboot指令 的疑問?
fastboot -i 0x0489 flash recovery twrp-recovery-v3.0.2.0_infocus-m372.img
為何我這樣寫到recovery 一開機就到 twrp 的畫面 ??? |
你開機一直按音量鍵?
|
引用:
我都沒按啊 |
是每次開機都先到twrp?
|
引用:
是的............ |
是從此一開機就進TWRP?
還是你只是用這指令後會這樣? |
原說明
1. Boot to bootloader mode -> adb reboot bootloader -> hold the vol down + power key at power off 2. fastboot -i 0x0489 boot twrp-recovery-v3.0.2.0_infocus-m372.img (just boot to TWRP Recovery, without flash image into device) 3. key-in the below command(by PC) in the TWRP recovery mode adb push twrp-recovery-v3.0.2.0_infocus-m372.img of=/tmp/rec.img adb shell dd if=/tmp/rec.img of=/dev/block/mmcblk0p29 (Flash the recovery image into device) --------------------------------------------------------------- 操作如下: K:\m370>fastboot -i 0x0489 boot twrp-recovery-v3.0.2.0_infocus-m372.img downloading 'boot.img'... OKAY [ 0.484s] booting... OKAY [ 0.078s] finished. total time: 0.562s ===> 這裡進入twrp 沒問題 ---------------------------------- K:\m370>adb devices List of devices attached FOTGLMB5A2404968 recovery ===> 裝置沒問題 --------------------------------------------------------------- K:\m370>adb push twrp-recovery-v3.0.2.0_infocus-m372.img of=/tmp/rec.img failed to copy 'twrp-recovery-v3.0.2.0_infocus-m372.img' to 'of=/tmp/rec.img': N o such file or directory No such file or directory ======>檔名沒錯啊?? |
不太懂得是
如果可以進入TWRP了 為什麼還要用指令? 都可以在TWRP中刷ROM 刷SU 刷RECOVERY PS.無此檔名應該指=>of=/tmp/rec.img |
引用:
把twrp 刷進手機比較方便啊,不用再透過電腦 of=/tmp/rec.img ===> 這是什麼奇怪語法?? |
dd if=/tmp/rec.img of=/dev/block/mmcblk0p29
這個語法很明顯是在Linux Shell下執行的 由Busybox tools提供的command 絕對不是在Bootloader runtime執行 dd if / of後面都是路徑 應該是在正常開機下USB連接PC Console 進入debug mode 從PC下指令給手機Android來操作 |
| 所有的時間均為GMT +8。 現在的時間是05:06 AM. |
vBulletin Version 3.0.1
powered_by_vbulletin 2026。