0

I have rooted Nexus 5 device with Android 5.1.1. Now system shows updates are available. But on restarting it shows error screen, virtually making it impossible to update.

Is it possible to update rooted android OS, and if yes how (without wiping out any data)?

  • Is the bootloader unlocked? – Firelord Sep 16 '15 at 18:36
  • Updated, it was 5.1.1. – Tilak Sep 17 '15 at 5:14
1

You have to use the Android SDK, specifically the command fastboot, to flash the stock system.img and stock recovery.img. Only flash the boot.img only if a custom kernel has been flashed, if not, this isn't required. With USB Debugging enabled in Settings - Developer Options, you'll need to boot into the bootloader. You'll also need the factory image for the current version of stock you are running.

You'll need to use the commmands:

fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img

Rooting modifies /system, which OTA's will check and fail. Also, any other recovery except for stock recovery will also fail to flash the OTA.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.