So Google finally posted kitkat factory images for Nexus4. Saw it on Reddit this morning and started the download before I had my morning cuppa.
Hmm - and then to flash. Flashing image will nuke your device (including all photos etc) which I didn’t want. As I was on AOKP, a data wipe will be needed but there’s no reason to kill my storage too. And while we’re at it, why not also root it in the process.
It’s been sometime since I’ve flashed and even then it’s usually zips. I was running AOKP nightly on my N4 so I’d have to do a full wipe. First step was backups…
Backup via titanium
Backup Nova desktop
Backup SMS and call logs
Nandroid backup from TWRP.
Then to move the backups to the PC - just in case… Moving Nandroid
from TWRP was a little bit of an issue since they implemented security.
General advice is to do a
adb pull /sdcard/TWRP/BACKUPS from recovery.
adb wasn’t detecting my device in recovery. Some more
googleing and got
Nexus 4 Drivers
for Windows. Boot into recovery, and follow the driver installation
directions exactly (pick android device and 'have driver').
I wanted to remain rooted - so download chainfire’s SuperSU update zip
and push it to the device with
adb push update-SuperSU.zip /sdcard/
That took care of backing up Nandroids to the PC. Extract the factory
occam-jdq39-factory-345dc199.tgz into a folder. Also open
image-occam-jdq39.zip inside and extract files from there into the
Reboot to bootloader
fastboot flash bootloader <bootloader img>
fastboot flash radio <radio img>
fastboot flash boot boot.img
fastboot flash system system.img
Reboot into recovery console.
Flash the superSU zip.
Flash anythign else that’s needed (Titanium backup for me)
Restore apps from TiBu
SMS and phone logs
Restore Nova desktop
Take a break! Have a kitkat!
Now I just need the AOKP 4.4 nightlies….!