fastboot -i 0x0489 flash recovery twrp-recovery-v3.0.2.0_infocus-m372.img
為何我這樣寫到recovery 一開機就到 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 ======>檔名沒錯啊??