Thursday, August 15, 2013

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
./flash-all.sh


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.

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Welcome to Boseji's Blog

Popular Post

Blogger templates

Welcome

Creation by Electronics Hobbyists from Bharat(India) to encourage & help people. This blog hosts the numerous innovations, discoveries and projects we provide.
Our Research Wing Adhar Labs
Contact Form | Email Address
We Support Open Source Hardware Definition v1.0
Creative Commons License
All works on this blog are licensed under a
Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at forbharat.wordpress.com and m8051.blogspot.com.

Permissions beyond the scope of this license may be available at http://forbharat.wordpress.com/permissions/.
Thank you for all your support.

© A.D.H.A.R Labs Research 2008-2013 . Powered by Blogger.

Follow by Email

Followers

PCB Unit Converter

mils
mm

- Copyright © Electronics for Bharat -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -