↑ Return to Android

OTA update for rooted phone with custom recovery

Needed to update phone with OTA
– Problem is that I have root and the xPosed framework installed.
– I want to back up my phone before I do anything so i have to install a custom recovery
  • download recovery image
  • used flashify to flash recovery
FAIL – boots to fastboot mode, not custom recovery
…but, I am in fastboot mode so why not flash it from here
fastboot flash recovery recovery.img
SUCCESS – phone can now boot into recovery
  • power off device
  • press and hold POWER BUTTON + DOWN BUTTON
  • when LG logo appears press and hold POWER BUTTON + DOWN BUTTON
Back to OTA
  • don’t worry about root
  • in xPosed Framework, uninstall framework in settings
  • reboot
  • apply OTA
  • reboot
  • hopefully success
FAIL – only reboots to recovery, no longer boots to system

Either (download and flash)
adb push LG_G3_Flash2FixStuckRecovery.zip /sdcard/
  • flash zip using recovery
OR (manually fix using adb)
  • while the phone is on an running, push the recovery file to the phone
adb push recovery.zip /sdcard/
  • start adb shell
adb shell
  • obtain root
su
  • remove old recovery by zeroing out the space
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
  • flash the new recovery onto the device
dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/misc bs=256 count=1 conv=notrunc
  • reboot the device
adb reboot
SUCCESS! – OTA complete and can boot back to system
!!!!! Don’t forget to re-install xPosed Framework !!!!!