[Nexus 7 General] ale.landra91:
Hello everyone,

i decide to write this guide and to collect all the future Factory Images for Nexus7 (grouper WiFi, tilapia GSM/HSPA+).

Once installed them you retourn 100% stock.

This is usefull in case you don't want to wait official OTA or you have to use warranty for some problem or you like a really clean install.

Since Android 4.0 IceCreamSandwich you can't install OTA via update.zip method in stock recovery because is no more possible. If you try via stock recovery you get "error status 7" (this problem is corrected only if you use ClockWorkMod Recovery).

Then is necessary to use Factory Image provided by Google.

Factory Images:​

JDQ39 Android 4.2.2

Factory Image "nakasi" for Nexus7 (grouper WiFi)

MD5 Checksum b869c77ba7e2929b3ca00804bf64b945

JZO54K Android 4.1.2

Factory Image "nakasi" for Nexus7 (grouper WiFi)

MD5 Checksum d906b505ccae0d439839d3c5fafb137a

JDQ39 Android 4.2.2

Factory Image "nakasig" for Nexus7 (tilapia GSM/HSPA+)

MD5 Checksum ee8db1ed6ff1c007fe12136d4bc65cd8

NOTICE: If you have any GSM/HSPA+ Nexus7 you can only flash "nakasig" factory images. If you have a WiFi Nexus7 size doesn't matter (8,16,32gb)​

How to install:​

Requirements:

-Android SDK

-Java JDK

-Platform-Tools

-Unlocked bootloader ("fastboot oem unlock" pay attention, wipes everything,

also your data

)

-experience with adb and fastboot​

NOTICE: If you never used the sdk, the jdk, fastboot and adb, before installing the factory image YOU HAVE TO FOLLOW some guide here on XDA in order to get sdk and unlocked bootloader.

Now you can proceed to install the Factory Image

On Windows:​

1) copy the ecxtracted files (two times with 7zip) on android-sdk/platform-tools/

(this is important, if you dont unzip it, dont complain about "radio couldnt be loaded")

2) run a cmd and moves in "platform-tools" folder

3) write those command:

4A) If you are coming from a custom rom,

this wipe your data/cache

:

adb reboot bootloader

fastboot flash bootloader bootloader-grouper or tilapia-********.img

[fastboot reboot-bootloader

To do only on Nexus7 GSM/HSPA+

fastboot flash radio radio-tilapia-********.img]

To do only on Nexus7 GSM/HSPA+

fastboot reboot-bootloader

fastboot -w update image-********.zip

if you want relock the bootloader (not necessary, only for warranty) do also these two step:

fastboot reboot-bootloader

fastboot oem lock

4B) If you are coming from another stock rom (official older OTA unrooted),

this doen't wipe your data/cache

:

adb reboot bootloader

fastboot flash bootloader bootloader-grouper or tilapia-********.img

[fastboot reboot-bootloader

To do only on Nexus7 GSM/HSPA+

fastboot flash radio radio-tilapia-********.img]

To do only on Nexus7 GSM/HSPA+

fastboot reboot-bootloader

fastboot update image-********.zip

if you want relock the bootloader (not necessary, only for warranty) do also these two step:

fastboot reboot-bootloader

fastboot oem lock

On Linux, Mac:​

1) copy the ecxtracted files (two times with 7zip) on android-sdk/platform-tools/

(this is important, if you dont unzip it, dont complain about "radio couldnt be loaded")

2) run a terminal and moves in "platform-tools" folder

3) write those command:

chmod +x flash-all.sh

./flash-all.sh

"flash-all.sh" wipes your data (it contains fastboot -w update, if you want to remove/change it edit with notepad++)

"flash-base.sh" flashes only the bootloader and the radio.

NOTICE:

1) Instead of ******** you have to put the name of the files you download.

2) somebody is aking why "adb reboot bootloader" each passages. Is not essential, but some people think it is better because you use the updated bootloader, maybe is only a superstition.

​

PLEASE LEAVE ME A THANKS :) ​

WARNING! DON'T DO THESE THING IF YOU DON'T KNOW WHAT YOU ARE DOING. I'M NOT RESPONSIBLE OF BRICKED NEXUS7 OR SIMILAR​