4.2.1 OTA Update Fails

So here is the scenario, I'm rooted and running TWRP recovery. I want to get the 4.2.1 update as OTA (or at this point I'll flash it.) So I unrooted and then flashed the original recovery.img back. I then rebooted for good measure. Now I get the 4.2.1 OTA, it starts installing and then....."Error!" pops up on the screen.

I've tried this 3-4 times with the same result. Does anyone have a suggestion to resolve this?

I've also tried re-rooting and installing TWRP and flashing the update that I downloaded from AC and it fails as well.

Re: 4.2.1 OTA Update Fails

Re: 4.2.1 OTA Update Fails

Originally Posted by marty331

Is there any way to do a compare to find changes?

Sent from my Nexus 4 using Android Central Forums

No, just need to remember what you are changing if you intend on reversing them to take an OTA later, and leave yourself a way to change them back. If you have a bad memory just keep a list somewhere as you change anything

Re: 4.2.1 OTA Update Fails

Hello, sorry for hijacking the thread. But I'm experiencing the same issue.

I was running 4.2 on my Galaxy nexus, it wasn't even rooted. One of two things caused the device to get stuck on the google Logo, it could be after I attempted to root (though it did boot once) or it could be after using an LCD density changer (<----silly mistake).
Regardless, in attempt to get the device working again, I resorted to re-flashing the system.img downloaded from the stock roms provided by google. I used the 4.2 version.
After that the device booted as if nothing happened, all my data and settings were intact and soon after, a System Update was available. In the details of the update it said it was 4.2 and it was only about 900 KB. Since I'm still using the stock recovery image and have the stock system.img, one would assume there should be no issue. Unfortunately, it starts to run the update and at around 30% it stops with Error!.
Still waiting for the OTA to show up again.

Any help would be appreciated.
Sorry for the long post, but I thought a bit of history might help.
Thanks in advance
Summary:
Galaxy Nexus, Stock Recovery, Unlocked bootloader, stock system.img
OTA around 900K fails.

Re: 4.2.1 OTA Update Fails

Originally Posted by shades#AC

Hello, sorry for hijacking the thread. But I'm experiencing the same issue.

I was running 4.2 on my Galaxy nexus, it wasn't even rooted. One of two things caused the device to get stuck on the google Logo, it could be after I attempted to root (though it did boot once) or it could be after using an LCD density changer (<----silly mistake).
Regardless, in attempt to get the device working again, I resorted to re-flashing the system.img downloaded from the stock roms provided by google. I used the 4.2 version.
After that the device booted as if nothing happened, all my data and settings were intact and soon after, a System Update was available. In the details of the update it said it was 4.2 and it was only about 900 KB. Since I'm still using the stock recovery image and have the stock system.img, one would assume there should be no issue. Unfortunately, it starts to run the update and at around 30% it stops with Error!.
Still waiting for the OTA to show up again.

Any help would be appreciated.
Sorry for the long post, but I thought a bit of history might help.
Thanks in advance
Summary:
Galaxy Nexus, Stock Recovery, Unlocked bootloader, stock system.img
OTA around 900K fails.

Honestly its hard to speculate.. as in the earlier case it appears the update is not satisfied that you are stock. Given the issue you had and fixed its impossible to guess at what exactly you would need to change to correct it, at least for me. I would just do a full factory image restore, if getting the OTA right now is that important for you. You can backup what you need to your computer first.

Re: 4.2.1 OTA Update Fails

Originally Posted by 2defmouze

No, just need to remember what you are changing if you intend on reversing them to take an OTA later, and leave yourself a way to change them back. If you have a bad memory just keep a list somewhere as you change anything

Sent from my Nexus 4 using Tapatalk 2

Yes a list is in order. Here is what I ended up doing.

Backed up data and apps with Titanium Backup.
Copied that backup to my computer, Ubuntu.
Restored back to factory, used the guide you posted.
Received the OTA to 4.2.1.
Rerooted and reinstalled Titanium Backup.
Copied my backed up data and apps back up N4.
Restored data and apps with Titanium Backup.

Re: 4.2.1 OTA Update Fails

Originally Posted by marty331

Yes a list is in order. Here is what I ended up doing.

Backed up data and apps with Titanium Backup.
Copied that backup to my computer, Ubuntu.
Restored back to factory, used the guide you posted.
Received the OTA to 4.2.1.
Rerooted and reinstalled Titanium Backup.
Copied my backed up data and apps back up N4.
Restored data and apps with Titanium Backup.

Total time 20 min.

Sent from my Nexus 4 using Android Central Forums

Fantastic... Glad you got through it easily and kept your backups, nice job

Re: 4.2.1 OTA Update Fails

I was stuck with the same issue... I'm a total n00b but I finally figured it out.

Here's what I did.

Using only Nexus Root Toolkit 1.6 (Nexus Root Toolkit v1.6.1 | WugFresh)
1. Unlock - (didn't lose any data)
2. Root - (didn't lose any data)
3. Go through hell trying to figure out why it was erroring out...
4. Clicked "Flash Stock + Unroot" and pointed to the ROM I downloaded to PC from Google Dev page (https://developers.google.com/android/nexus/images)
5. Allowed it to wipe all data (manually backed up long before doing anything) - (lost all data... obviously)
6. Allowed it to restore the factory image as if I had it all along... Presto. 4.2.1 upgraded from 4.1.1.

After I figured it out, it made sense. You can likely use the backup/restore options too, but I prefer a fresh device, and just allowed my apps to download again from google. Since I use dropbox/gservers & my desktop to keep everything, there really wasn't any issue. I don't have call logs or texts, but that doesn't matter to me.

Hope this helps. Remember, I'm a n00b to Android (switched from iOS about 2.5 weeks ago and the GN I got was the first Android device I've ever laid finger prints on). Be nice please and thanks for all the near-hit tips!

Re: 4.2.1 OTA Update Fails

Originally Posted by 2defmouze

Blasphemy! Toolkits are the devil!

Sent from my Nexus 4 using Tapatalk 2

LOL, right! I was probably drunk when I said that.

I just use them because I'm lazy and don't wanna type a bunch of commands and go download the right images. I've been coding for a long time, doing "leet" things in command prompt for the sake of doing them lost it's appeal 10 years ago. I'll take a GUI that I don't have to maintain that's as good as anything I can write any day.