How to manually update your Nexus 4, Nexus 7, and Nexus 10 to Android 4.2.2

February 17, 2013
19
157
9 22 135

Android 4.2.2 This article was written by John Lieske of johnlieske.com and submitted to us. All we’ve done is pretty it up a little bit and posted it for all you Nexus lovers out there looking to manually update to Android 4.2.2. Enjoy!

The latest Android Jelly Bean build, Android 4.2.2, is currently rolling out to Nexus devices and is receiving positive reviews. Some of you may be having some trouble getting the OTA update, and for some Nexus 10 users you may be finding that the OTA is failing to install. This brief walk-through will take fellow rooted Nexus owners along the steps to getting Android 4.2.2 safely installed without resetting your device.

The main thing preventing many rooted users from updating over the air (OTA) is the custom recovery. In the past, the OTA update would check the recovery on the device, and re-flash the stock Android recovery in its place during the reboot. These are easily protected by the popular custom recoveries these days, so getting the update started is the only real challenge. I’ll describe different methods you can use to start the Android 4.2.2 update, beginning with the least difficult and concluding with sideloading via the Android Debugger (adb).

Note: everything below is working from the assumption that you’re running stock Android and not a custom ROM. If you have a custom ROM installed, you’ll have to find an updated version of that ROM to get Android 4.2.2 on your device. Otherwise you’re going to have to download your stock image from Google and install the factory image fresh (which will erase everything).

Method 1: Easy

The first thing that rooted users should try is going to Settings >> Apps >> All and scrolling to find Google Services Framework. Tap the “Clear Data” button and confirm by tapping “OK”. From there, use the back button to get to the main Settings screen. Scroll all the way down and tap About Phone (or About Tablet on the Nexus 7 and Nexus 10), then tap System Updates. You’ll see the “Check Now” button to have the device check for updates, and you should notice that the last time the device will be reporting it checked was back in 1969 (which I like to pretend is an artifact of time travel). Tapping “Check Now” should result in beginning the download of Android 4.2.2 and update process for many. It will ask you to confirm that you want to install the update.

Most root users already know that updating the device will remove your root. There are a few ways around this. Clockwork Mod recovery can not only protect itself from being over-written, it can also attempt to retain your root for you. For my own devices, I prefer to use OTA Rootkeeper by Project Voodoo. As long as the update doesn’t format or overwrite the /system partition, OTA RootKeeper helps to maintain a working root (including backing up your su binary).

Method 2: Slightly Harder

If you can’t get the update over the air, your next best bet is to flash the update from your recovery. This involves downloading the update, moving the update to your device, then booting your device to recovery and initiating the install.

The first step is finding the Android 4.2.2 update. You can download the Nexus 7 update here, the Nexus 4 update here, and the Nexus 10 update here. Download these to your computer, transfer them to your device in whatever manner suits you best, and reboot into recovery. For those who aren’t used to it, booting to recovery is pretty simple on a Nexus: you power down the device, and then power it up while pressing (and holding) the volume up and down buttons.

You boot to a screen with a big (green) colored arrow pointing to where your power button is, and Andy the Android in the background. From here, you can use the volume up and volume down to choose different boot options. Boot to recovery by pressing volume up or down until the arrow is red and says “Recovery mode”, then pressing the power button.

Once in recovery, you’re going to want to find the option to install from a zip. This should require you to specify a zip, which is the file you saved to your device. Install the Android 4.2.2 update from that zip file, then reboot your device. The update will run its final steps before you boot to the lock screen and can enjoy the Andriod 4.2.2 goodness.

Method 3: Kinda Hard, Using ADB

This method assumes you have adb installed. This also assumes you’re updating from 4.2.1 and not an earlier build. If you’re not sure or you have adb installed, you can probably find a good set of instructions here. As always, use at your own risk. This method has also been covered before.

Plug the USB data cable from your computer to your device. Be sure you have the Android 4.2.2 update file for your device– again, grab the Nexus 7 update here, the Nexus 4 update here, and the Nexus 10 update here. Once the file is downloaded, move it to the same folder where ADB is located. Using the steps described above in the previous method, boot into recovery. Within the recovery mode menu you should find the option to “sideload” or “apply update from adb”.

At this point, you must open a command-line window on your computer to run the adb commands. You may need to change directory to your ADB folder. These are the commands that you will run for your device:

Nexus 4:
adb sideload de8b8d101614.signed-occam-JDQ39-from-JOP40D.de8b8d10.zip

Nexus 7:
adb sideload 6ece895ecb23.signed-nakasi-JDQ39-from-JOP40D.6ece895e.zip

Nexus 10:
adb sideload eaef14432ff5.signed-mantaray-JDQ39-from-JOP40D.eaef1443.zip

After you run these commands, you’ll see a progress bar as the update loads onto the device. The progress will reach 100% and then you’ll see the device installing the update. The update will finish, at which point you can reboot the device from the recovery menu. As Android completes booting up it will run the final install processes, and then you should be at your lock screen.
Once the update completes, enjoy Android 4.2.2!

Nexus 10 Problems updating to Android 4.2.2? There’s A Fix For That.

There are some Nexus 10 devices that will hit an error during the Android 4.2.2 update process. This is because there’s corruption on the system partition of the device that’s causing the update to fail. The symptom for this is a ‘Status 7’ error during the install process. For me it was when the ‘set_perms’ process was showing during the update.

To fix the problem you need to run the e2fsck command on the device, but you must do it through adb on your computer. The way you do this is by following all of the directions I gave above to prepare for sideloading the update, but instead of running the sideload command, you must run the following:

adb shell “e2fsck -y /dev/block/platform/dw_mmc.0/by-name/system”
(Include the quotes above, since they contain the command being run on the device)

The command above will only work on the Nexus 10. If you’re experiencing this symptom on other devices do not run the command as shown above. Improperly using e2fsck can ruin your partition table on your device, bricking it. For help walking through fixing corrupted partitions on other devices, I strongly recommend finding someone who is familiar with the command line and have them help you find your partition layout. It’s not difficult, but it’s also not very forgiving. I came across this specific issue with the Nexus 10 because there was a corrupted update that some people received, which corrupted the file system.

After running the file check above, go back and try to update the Nexus 10 to Android 4.2.2. Try Method 1 first, since the main problem for the update will have been fixed.

Comments

  • MasterMuffin

    Why would I do #3 when the #2 is pretty much the same but faster and much easier?

    • JosephHindy

      sometimes people just like doing it the hard way. Just because there are more efficient ways doesn’t mean the other ways don’t deserve mention imirite? :)

      • MasterMuffin

        Maybe… :D

    • John Lieske

      I included #3 in the list because the Nexus 10 e2fsck requires using adb in the first place. Since someone would already be in adb I figured including the adb sideload made sense. Besides, sideloading is a good way for someone to get comfortable with the command line and adb, which is useful for rooting and ROMing.

      • MasterMuffin

        Ok, I’ll go as far as I can to not use ADB, I’m afraid of writing something terribly wrong :)

  • http://www.facebook.com/lauren.berns Lauren Berns

    From above – “Once in recovery, you’re going to want to find the option to install from a zip. This should require you to specify a zip, which is the file you saved to your device.”

    On my Nexus 4, I don’t seem to have such an option, just reboot, sideload with ADB, factory reset, and delete partition.

    • John Lieske

      If you have the stock recovery you won’t have this option.

      • d1ckdame

        I don’t see the option to install from zip. Besides the ota, Is option three the only way for me?

  • AlanB

    I had to perform the Easy method a few times, back to back, but it worked! Thanks!

  • Priamo

    I also had to perform the Easy Method couple of times in my Nexus 4 for it to work, not it says it will be available via Wi-Fi until February 19th.

  • Gab

    I have the same “status 7″ error when i try to update my nexus 7. Anyone can help??

    • atrain

      change the system to unmount

      • Paul

        I’m getting the same status 7 error on my nexus 7 and changing system to unmount didn’t make a difference. Anything else to try? I was trying to use method 2.

  • john

    when I put my phone in recovery mode, it only says “no command” what do i do?

    • Anon.

      My Nexus 7 does the same

  • Paladin

    Method #2 does not work on a Nexus 4 with stock recovery: when you start (stock) recovery it displays “no command”. You can reboot from here – power pressed ~20s – or display options – power+vol up. But the option to update from SD is not there, only update from ADB.

  • Paul

    If I use method 2, do I have to use ota rootkeeper to temp unroot first?

  • troysyx

    Great, did method 2 and lost root……………………..thanks……………

  • ridz

    I have to format my nexus due to some problem and I send it to samsung service centre. Once collected I notice it only use android 4.0.4. Then I upgrade my nexus but it can only be updated until android 4.2.1 not until 4.2.2. Before this I’m running android 4.2.2.. can anybody help me how to fix that problem?