I would like to receive OTA updates in the future so I left the recovery untouched on my Nexus 4. In the past I used "fastboot boot recovery.img" to boot into CWM recovery and flash an "update.zip" of SuperSU. So I get a rooted Nexus 4 without flashing custom recovery.
However, things changed after I flashed my Nexus 4 with Android 4.3 factory image listed on Google Developers' page.
In fastboot mode, I tried to use my old routine of "fastboot boot recovery.img", the command line shows:
Screen goes off, Google logo appears, screen dimmed, a few minutes passed, nothing happened.
My phone has already "fastboot oem unlock", of course. I tried it again and again. With different CWM recoverys and TWRP, the results are same.
I tried "fastboot flash recovery recovery.img", it works, and I can boot into recovery. But I want to preseve stock recovery so I flashed it back.
I just don't know why "fastboot boot" does not work in Android 4.3 any more while "fastboot flash recovery" still works?
To test it out, I tried these on the Nexus 4 of a friend of mine:
1. Her Nexus 4 was 4.2.2.
2. "fastboot boot recovery.img" works.
3. Flash factory image of Android 4.3, everything's fine.
4. "fastboot boot recovery.img" does not work any more! (neither CWM nor TWRP)
5. "fastboot flash recovery recovery.img" works.
So, the results are exactly same on my Nexus 4 and my friend's. There must be something wrong with Android 4.3, e.g. new security enforcements. Do anyone know something about this? Google did not return any valuable results.
EDIT: Problem solved. As 3rdstring explains: http://xdaforums.com/showpost.php?p=44004032&postcount=6 , the new version of bootloader shipped with Android 4.3 factory image changed some of the "fastboot boot" command so you need to specify a kernel commandline to use "fastboot boot" command. For Nexus 4, the command is:
However, things changed after I flashed my Nexus 4 with Android 4.3 factory image listed on Google Developers' page.
In fastboot mode, I tried to use my old routine of "fastboot boot recovery.img", the command line shows:
Code:
$ sudo fastboot boot recovery-clockwork-6.0.3.4-mako.img
downloading 'boot.img'...
OKAY [ 0.398s]
booting...
OKAY [ 0.002s]
finished. total time: 0.400s
Screen goes off, Google logo appears, screen dimmed, a few minutes passed, nothing happened.
My phone has already "fastboot oem unlock", of course. I tried it again and again. With different CWM recoverys and TWRP, the results are same.
I tried "fastboot flash recovery recovery.img", it works, and I can boot into recovery. But I want to preseve stock recovery so I flashed it back.
I just don't know why "fastboot boot" does not work in Android 4.3 any more while "fastboot flash recovery" still works?
To test it out, I tried these on the Nexus 4 of a friend of mine:
1. Her Nexus 4 was 4.2.2.
2. "fastboot boot recovery.img" works.
3. Flash factory image of Android 4.3, everything's fine.
4. "fastboot boot recovery.img" does not work any more! (neither CWM nor TWRP)
5. "fastboot flash recovery recovery.img" works.
So, the results are exactly same on my Nexus 4 and my friend's. There must be something wrong with Android 4.3, e.g. new security enforcements. Do anyone know something about this? Google did not return any valuable results.
EDIT: Problem solved. As 3rdstring explains: http://xdaforums.com/showpost.php?p=44004032&postcount=6 , the new version of bootloader shipped with Android 4.3 factory image changed some of the "fastboot boot" command so you need to specify a kernel commandline to use "fastboot boot" command. For Nexus 4, the command is:
Code:
fastboot -c "lge.kcal=0|0|0|x" boot customrecovery.img
Last edited: