3

I am trying to upgrade my Nexus 6 with version 5.0.1 (Build number LRX22C) via OTA to Android 5.1.

The OTA update is downloaded successfully and after pressing "Restart & Install" I see a dead droid with the message "Error!".

The phone was rooted and I unrooted it via SuperSU. Did not help. Wiping cache partition also did not change anything.

These are the logs:

Finding update package..
Opening update package..
Verifying update package..
Installing update..
Verifying current system..
/dev/block/platform/msm_sdcc.1/by-name/system has been remounted R/W: reflash device to reenable OTA updates
E: Error in 0/cache/recovery/block.map
(Status 7)

Installation aborted.

I would really like to upgrade without wiping the data.

3
  • Same problem here but with a Nexus 5. I upgraded from 4.4 to 5.0.1 while rooted (had to re-root afterwards of course) without any problems, so I guess it's a bug in this upgrade. Might have to wait for a fix once Google realise what's broken.
    – Malvineous
    Apr 8, 2015 at 6:02
  • @Malvineous - It's not a bug, it's intentional. It's a security precaution so potential security vulnerabilities don't get passed into a new version. SuperSU/root is technically a huge security vulnerability as is having an unlocked bootloader. What you have to do is reflash that versions system.img again to get it back to stock and then the OTA will go through fine assuming you also reflashed the stock recovery. After the OTA you can re-root/TWRP.
    – Enigma
    Aug 13, 2015 at 14:25
  • @Enigma: Yep I worked that out in the end - it's a shame they don't have a more helpful error message. Rather than reflash the system.img I just uninstalled SuperSU and renamed a few of its backup files back to their original filenames through the shell, and this allowed the OTA upgrade to proceed.
    – Malvineous
    Aug 14, 2015 at 6:36

1 Answer 1

0

Unfortunately it will not work, google checks some files for integrity (meaning: that they were not changed) and it seems that some of the files have been changed, possibly by the root process. I assume you have no other option but to install the image manually, which will wipe your phone entirely. You can learn more about the process here: https://developers.google.com/android/nexus/images

3
  • 1
    The OP could probably just flash the system image that's provided in the archive. As long as the bootloader is currently unlocked, doing so would not wipe the phone. Mar 25, 2015 at 15:56
  • @MosheElisha can you try eldarerathis solution? and let us know if it works for you? Mar 26, 2015 at 17:29
  • I'm sorry I already upgraded with factory reset. Apr 8, 2015 at 10:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .