This blog has permanently moved to

Contact Form | Email Address

© 2018 All rights reserved by Boseji

Thank you for all your support.

Thursday, August 15, 2013

Restoring Nexus 7 to Official Build on Ubuntu 13.04: Back to Google

This is in continuation to our earlier article "Building Android from Source for Nexus 7 on Ubuntu 13.04 : Step-by-Step" where we discussed on how to build a complete android distro. This article focuses on restoring the Nexus 7 [2012] Wifi (grouper) device to the official version of android.

This process would completely format the Grouper device and the user would lose all the data.
DISCLAIMER: If you proceed on the steps provided it will surely cause damage to your Nexus 7 device and the Author of this article will not be held responsible for any losses or damages of any type caused by following the steps below.

[1] Download the official Android Build

First step is to obtain the latest version of the Android OS. In order to do so we would need to visit the Google Factory Images Page At: https://developers.google.com/android/nexus/images
The correct Latest Android OS Image for Grouper is:
Official Name: nakasig
Android Version: 4.3
Build: JWR66V (more details from on Build Code Name page )
Link: http://developers.google.com/android/nexus/images#nakasijwr66v
Download Link: https://dl.google.com/dl/android/aosp/nakasig-jwr66v-factory-aebc7b11.tgz

After this extract this file into a directory just above the 'android-4.3_r1' created earlier.
In order to extract issue the following command in Ubuntu Linux Terminal prompt at the directory where the above downloaded file ".tgz" is located.

tar -xvf nakasig-jwr66v-factory-aebc7b11.tgz

This would create a directory called "nakasi-jwr66v" which would contain the required files to flash the factory Android image.

[2] Setting up and Download

 Now its time that we setup the environment to load the Image. Before we begin the Nexus 7 grouper device needs to be plugged to the Ubuntu machine. And the Android build that we did earlier needs to be present or the Android SDK must be in the path.

We will assume that you have the earlier Android build, else one can skip the steps given below if you have the Android SDK:
cd android-4.3_r1
. ./build/envsetup.sh
lunch 6

cd ..

Now we are ready to move with the installation step:

adb reboot bootloader

This would help to go into the Boot loader mode.
Now we need to go to the directory where the offical android build was extracted. And then run the command to flash the image:

cd nakasi-jwr66v

This would format the complete flash and then load a fresh copy of the Official Android build.
Finally the device would reboot on its own and would ask for the default setup needed to get the device running.

Hope that you liked our articles, let us know your comments and suggestions to improve them.
Next we would be posting on how to develop some basic low level apps in Android.

No comments:

Post a Comment