Kitkat’s here!
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.
Unfortunately, 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
image file occam-jdq39-factory-345dc199.tgz
into a folder. Also open
the image-occam-jdq39.zip
inside and extract files from there into the
same folder.
-
Reboot to bootloader
-
fastboot flash bootloader <bootloader img>
-
fastboot reboot-bootloader
-
fastboot flash radio <radio img>
-
fastboot reboot-bootloader
-
fastboot flash boot boot.img
-
fastboot flash system system.img
-
Reboot into recovery console.
-
Wipe data
-
Flash the superSU zip.
-
Flash anythign else that’s needed (Titanium backup for me)
-
Reboot! &
-
Restore apps from TiBu
-
SMS and phone logs
-
Restore Nova desktop
AND finally….
Take a break! Have a kitkat!
Now I just need the AOKP 4.4 nightlies….!