»

Dec 11

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 !!!!!

3 comments

  1. Florencio Lobb

    I like your writing style really enjoying this internet site. “Do not speak quickly it is a sign of insanity.” by Bias.

  2. Madelene Neisius

    Thank you for helping out, excellent information.

  3. crorkservice

    wNMMeI Good day! I just would like to give a huge thumbs up for the nice info you’ve right here on this post. I will probably be coming again to your blog for more soon.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>