yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
The backup and restore of user data was intentionally left out because it is out-of-scope for this guide. You bring up a valid point about users needing direction for backing up and potentially restoring user data and files. I'd be more than happy to link to some existing guides that cover this topic in detail. I'll take a look around to see what I can find.
[Nexus 7 Q&A, Help & Troubleshooting] Travisdroidx2:
Thank you very much for this! Worked perfect and this gave me the confidence to do it manually and stay away from toolkits. Back to stock and locked bootloader ready to go back to the store.
[Nexus 7 Q&A, Help & Troubleshooting] Travisdroidx2:
I know I read your thread sorry about your loss. These tutorials help us learn how to do things manually and safe from making mistakes. Thanks again to the OP.
[Nexus 7 Q&A, Help & Troubleshooting] peoples_flip:
Excellent work comminus.... very well written!
[Nexus 7 Q&A, Help & Troubleshooting] Ictcreations:
Help help help!!! Lol

im running into problems..... fastboot wont work.... i have unlocked using fastboot no problem and can also use erase commands no problems.

however when it comes to " flash" or "update" commands, all i get is sending data and the size of what it is sending, but nothing happens. it just hangs there and nothing flashes up on my tablet either. the device hasnt hung as can still use vol keys to change options.

can anybody help me out with a solution here because im going insane!!

---------- Post added at 02:46 PM ---------- Previous post was at 02:31 PM ----------

im running into problems..... fastboot wont work.... i have unlocked using fastboot no problem and can also use erase commands no problems.

however when it comes to " flash" or "update" commands, all i get is sending data and the size of what it is sending, but nothing happens. it just hangs there and nothing flashes up on my tablet either. the device hasnt hung as can still use vol keys to change options.

can anybody help me out with a solution here because im going insane!!
[Nexus 7 Q&A, Help & Troubleshooting] piobeer:
Thanks for this guide I am following it for installing stock image. I'm getting until the last stage but when doing the fastboot -w update xxx.zip file I'm getting error messages saying 'image does not contain recovery.sig, image does not contain system.sig, image does not contain boot.sig' and then it fails to install.

Any idea what I'm doing wrong here?

Thanks

Edit: got it to work using a different windows machine - probably a driver issue somehwere it must have been
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Glad to hear you got it working. Those sort of issues are almost always related to drivers.
[Nexus 7 Q&A, Help & Troubleshooting] Eeprom78:
Thanks for the excellent explanation. Got my N7 working again. (messed up the upgrade to 4.1.2)

Also got the error 'image does not contain recovery.sig, image does not contain system.sig, image does not contain boot.sig' but installation still worked.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
I will update the instructions to mention that this is normal. Glad to hear you were able to get you N7 working again!
[Nexus 7 Q&A, Help & Troubleshooting] dcgraphicworks:
Great Sticky..

Thanks for the work on this.. my N7 was acting strange with one of the installed ROMs and

this guide helped me restore the device easily. :good::good::good::good::good::good:
[Nexus 7 Q&A, Help & Troubleshooting] mertzi:
This guide is great, I did a factory flash some weeks ago just to see how the procedure works and it is pretty easy if you know this stuff, but as a galaxy S3 owner I wonder why there's nothing equivalent to odin for the nexus 7? Afaik odin works for the gnexus. Odin makes reflashing stock images ridiculously easy.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Thanks for the comments. Once someone has their computer set up to work with fastboot the process is just as simple as using Odin. The factory image archive contains batch and shell scripts which allow you to flash the images in one command - arguable just as easy as using Odin or Heimdall. But then, it's all personal preference anyway :p
[Nexus 7 Q&A, Help & Troubleshooting] Sultan.Alkhuzaie:
do i have to do the erase commands before the flashing
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
I suppose its not technically required but I recommend you follow the steps as they've been laid out.
[Nexus 7 Q&A, Help & Troubleshooting] kinhbang1989:
What if I can't go to fastboot because my nexus now only can be booted in cwr :(. Do you have any solutions regarding my matters?

Thanks,
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Ok, if you can get to fastboot mode and the computer can recognize the device (run "fastboot devices" from the command prompt, you should see your device's serial number) you can flash the factory image.

It sounds like you've already extracted the factory image from the .tgz file as well, and if you've already unlocked the bootloader, you should be ready to flash back to stock. Follow the steps outlines in the "Flashing the Factory Image" section of the guide. Again, assuming you have unlocked the bootloader, start from step 4 - "In fastboot with your device's bootloader unlocked, run the commands listed in flash-all.sh in sequence, waiting for each command to finish"
[Nexus 7 Q&A, Help & Troubleshooting] blenchh:
ok so i do this all when my nexus is in fastboot mode and i do it from my command prompt?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
That is correct.
[Nexus 7 Q&A, Help & Troubleshooting] blenchh:
I got an error during the writing of the bootloader because my nexus disconnected again. why is it doing that? and now the screen wont turn on at all. I was able to put in all the commands up until "fastboot flash bootloader bootloader-grouper-4.13.img" when i had put that in the nexus disconnected and i got this message (shown in attachment)
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
That is bizzarre. Here's a few things to try:

1. Try on a different USB port

2. Use a different cable

3. Use a different computer
[Nexus 7 Q&A, Help & Troubleshooting] blenchh:
does this mean i restart and put in all the commands again? or do i continue from where i left off? and is there a way we can communicate better? because i might need some help again. sorry for being such a headache :confused:

*edit*

So i tried a new usb port and cable and my screen remains black, however when i restart it, the computer detects that something is connected. and on the command prompt I put in "adb devices" and my nexus wouldnt come up... am i bricked? :(

for some reason my device doesnt come up as a MTP on device manager, now its a APX
[Nexus 7 Q&A, Help & Troubleshooting] Rushing:
Do you think that you may have flashed the wrong bootloader per system.img and boot.img. I mean did you mix them maybe? that could be bad I dont know how bad, but that would not = good.. maybe you had a bad download :(

if it wasnt Nexus I'd say that sounds bricked, not lol...
[Nexus 7 Q&A, Help & Troubleshooting] blenchh:
Honestly idk wtf to do, this isnt covered in the warranty isnt it?
[Nexus 7 Q&A, Help & Troubleshooting] drumstix116:
this happened to me as well. what worked for me was a different USB port and reflashing only the system part. was done in about a minute.
[Nexus 7 Q&A, Help & Troubleshooting] yangsuli:
Unable to flash bootloader into nexus 7

Hi guys

I bought my nexus 7 on Thanksgiving, and tried to copile a ROM from souce code and flash that rom into my nexus 7.

Unfortunitely that didn't work out, and now I have a semi-bricked tablet.

I tried to fix it by flashing a factory image into it. However, both factory images I could download require newer version of bootloader that I have on my tablet (I have bootloader 3.34, while they require 3.41 or 4.13). ;

I tried to flash a new bootloader into my tablet using "fastboot flash bootloader bootloader-grouper-4.13.img". However, it got stuck on "sending bootloader (2048KB)" evne though I waited for half an hour.

Now I am not able to boot into normal mode or recovery mode. I can still boot into the bootloader mode, and my bootloader is correctly unlocked. Do you guys know which step went wrong, and how I can fix it?

If you guys could point me to a factory image of nexus 7 which doesn't require bootloader version higher than 3.34, that would also work.

Thanks a lot

Suli
[Nexus 7 Q&A, Help & Troubleshooting] yangsuli:
Update:

I have found a factory image ( jro03d) which uses bootloader 3.34.

However, which I tried to flash this image using "fastboot -w update image-nakasi-jro03d.zip", it again got stucket after showing archive doesn't contain 'system.sig' messages. No progress in half an hour.

Seems like I am unable to flash anything into it....

Any ideas?
[Nexus 7 Q&A, Help & Troubleshooting] smalltownbird:
I'm in the same boat except I can send everything and write everything except system. Mine hangs on sending system forever. Please help... edit, I've tried a different usb port and still no go. I'm downloading a different version now to try that...
[Nexus 7 Q&A, Help & Troubleshooting] Leonhan:
I have installed java sdk and android sdk just fine, but when I run sdk manager, there is no option for platform tools and therefore I cannot get fastboot driver. Also the tools package was already installed but when I browse to the folder, there is no platform tools there. Need help!
[Nexus 7 Q&A, Help & Troubleshooting] ilpolpi65:
R: [GUIDE] Flashing a Factory Image with fastboot / return to stock

Did u download from this page SDK ?

http://developer.android.com/sdk/index.html

Inviato dal mio Nexus 7 con Tapatalk 2
[Nexus 7 Q&A, Help & Troubleshooting] Leonhan:
I downloaded the ADT bundle. Should I install Eclipse? Or should I just unpack the rar and take ownership?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Use the link provided in the guide - it will download the installer for the SDK only which is much smaller than the ADT bundle.

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] Leonhan:
I've already downloaded the ADT bundle.xD But I haven't installed eclipse. Is it ok if I will leave it like that? Also, should I take ownership of the folder? It is just unzipped and no installer.
[Nexus 7 Q&A, Help & Troubleshooting] chaffs:
Problems writing user data

Hi,

I am having a problem flashing the userdata image. As far as I can tell it seems that the format fails. The error is a error: file_write: write: No space left on device. However, by chance if I flash only the user data, I get the 6G data area. The other partitions have no problems writing. Does anyone know how to change the eMCC data as this might help?

Here is the eMMC info showing that it is a 16G device:

# /opt/android-sdk-update-manager/platform-tools/fastboot getvar all

(bootloader) version-bootloader: 4.13

(bootloader) version-baseband: N/A

(bootloader) version-hardware: ER3

(bootloader) version-cdma: N/A

(bootloader) variant: grouper

(bootloader) serialno: 015d2d3e5d60041b

(bootloader) product: grouper

(bootloader) secure: no

(bootloader) unlocked: yes

(bootloader) uart-on: no

(bootloader) partition-size:bootloader: 0x0000000000600000

(bootloader) partition-type:bootloader: emmc

(bootloader) partition-size:recovery: 0x0000000000c00000

(bootloader) partition-type:recovery: emmc

(bootloader) partition-size:boot: 0x0000000000800000

(bootloader) partition-type:boot: emmc

(bootloader) partition-size:system: 0x0000000028a00000

(bootloader) partition-type:system: ext4

(bootloader) partition-size:cache: 0x000000001bb00000

(bootloader) partition-type:cache: ext4

(bootloader) partition-size:userdata: 0x0000000364700000

(bootloader) partition-type:userdata: ext4

all:

finished. total time: 0.811s

# printf "%d\\n" 0x0000000364700000

14569963520

# echo $[14569963520/1024/1024]

13895

Cheers

Chaffs
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Could you try "fastboot erase userdata" before formatting? Also verify your're using the latest version of platform-tools.

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] ΦDroid:
Thanks a lot!

This guide was great for learning adb.

Of course I had to try the adb oem lock command because that's what noobs do. I incorrectly assumed that it would ask for confirmation.

But it needed a wipe anyway :laugh:
[Nexus 7 Q&A, Help & Troubleshooting] niclaw:
I have read more information here than I can digest in the past 48 hours and this is a desperate cry for help.

When I tried to turn the Nexus 7 on one fine cold morning, I could not get past the "X".

1.) I had never turned the "USB debugging" on and now its too late to do that now.

2.) I have download Nexus 7 factory image

3.) Downloaded and installed Java SE JDK and

4.) Downloaded and installed Android SDK as instructed

5.) Tried installing driver from Asus (Eee Pad | Nexus 7), PdaNet Drivers, Samsung Android ADB Interface.

Result - ADB device not found.

Result - cannot proceed with fastboot as indicated in step 7 as per first post by "comminus"

Tried with following result:

Nexus Root Toolkit V1.6.2 Developed by WugFresh

Model : Nexus 7

Wi-Fi Tablet

Android 4.2.1 JOP40D

Back to Stock (Flash Stock + Unroot) -> Soft-Bricked/Bootloop

Using Nakasi-Grouper: Android 4.2.1 - Build: JOP40D

Checking Fastboot Status

Device Connected

Sending 'bootloader' <2096 KB>...

FAILED <command write failed <Unknown error>>

finished. total time: 0.656s

rebooting into bootloader...

FAILED <command write failed <Unknown error>>

finished. total time: 0.665s

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig

archive does not contain 'system.sig'

getvar:version-bootloader FAILED <command write failed <Unknown error>>

finished. total time: 0772s

Booting up your freshly flashed device.... and it goes on....

On Nexus 7 Screen:

FASTBOOT MODE

PRODUCT NAME - grouper

VARIANT - grouper

HW VERSION - ER3

BOOTLOADER VERSION - 4.13

BASEBAND VERSION - N/A

SERIAL NUMBER - XXXXXXXXXX

SIGNING - not defined yet

LOCK STATE - LOCKED

Massive failure here too. Does not reboot as promised :( Dead Android with belly open and upon manually rebooting same'ol "X"!

Forgive me if after 48 hours my head has turned into soft sugary powder.

I am sure there are genius's amongst you who can help out.

Please let me know if you need more info.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
From what you've shown, you are able to boot in to fastboot mode. Which means you're not bricked :good:. For now you don't even need to concern yourself with adb because it won't help you.

It looks like your bootloader is locked, so that's the first thing that needs to be resolved.

Boot your device in to fastboot mode and connect it to your computer via USB.

from the command prompt, go to <your-sdk-directory>\platform-tools (C:\Users\<user name>\AppData\Local\Android\android-sdk\platform-tools) - this is where the fastboot executable lives.

run "fastboot devices" which should display your serial number. This means that fastboot is communicating with your device.

run "fastboot unlock oem" to unlock your bootloader.

If you can get that far you should be able to continue from "Extract the Factory Image" in the guide.
[Nexus 7 Q&A, Help & Troubleshooting] niclaw:
I am able to run "fastboot devices" and it does show me the serial number.

But when I run "fastboot oem unlock" I hit a wall again. I get

...

FAILED <command write failed <Unknown error>>

finished. total time: 0.594s
[Nexus 7 Q&A, Help & Troubleshooting] niclaw:
Attaching image
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Try using a different USB port, one at the back if it's a desktop. If that doesn't work try a different cable.

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] niclaw:
Tried 3 different USB ports and same number of cables.

Any hopes left or is this a lost cause?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
I wouldn't say it's a lost cause. Try on a different computer or even a different OS. This seems more like a driver issue than an issue with your nexus.

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] carbonbased573:
Niclaw, you need to enable USB debugging.

settings>about device> spam tap build number 7+ times

repeat this guide.

My girlfriend's N7 started bootlooping/freezing Wednesday morning after running out of power Tuesday night. I successfully completed this guide while also trying:

--Bootloader shutdown bring to charging state with wall charger, shows charging icon.

--Boot on from bootloader

--Reboot from recovery

--Disconnect battery, wait, reattach battery, reboot

--Factory reset and wipe, wipe cache

--Check storage, 5gig free

--Airplane mode (when successfully booted for ~5sec it does receive emails/play store updates. no specific one that it crashes on)

--After factory wipe speaker pops at/after post

--Generally boots to X logo in cycle, then freezes before loading home screen. Sometimes a quick flash of a white rectangle (4"x3" top left corner) appears, then goes back to X then crashes back to restart. When successfully loading homescreen I have only 5-6seconds to make commands before crashing back out.

No luck, the thing still acts the same. Next I'm going to try flashing an older version but it's looking to me like hardware may have been damaged due to the constant crashes and overheating... Sadly we can't afford to replace it right now and she will likely not purchase Android hardware again. It was bought Oct 6, so it's not going to be easy to return. I'd love to hear any ideas from anyone...
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Sorry I missed this one, I'm in the process of moving so I don't have a lot of free time atm.

First try fully charging the device using the AC adapter. If you're restored the device to factory defaults and you're having the sort of behaviour you've described, then lock the bootloader and have the device sent in for warranty work. If you purchased it from Google contact them, otherwise contact Asus directly.

Software crashes are not going to cause hardware failure...

Making the decision not to purchase "Android hardware" again based on the quality of one of dozens of manufacturers is a bit silly. I had problems with my first Nexus 7 as well, so I'm not defending the build quality of the Nexus 7 at all. Definitely pursue the warranty
[Nexus 7 Q&A, Help & Troubleshooting] soviet_ric:
i tried to use different port usb and cable but don't to different computer and OS.. i use laptop my os win xp sp3..in my question, that is a problem with my OS in laptop?

sorry if i do not explain my problem to fully.

and sorry if my english is bad. thank you

--------------

edited,

C:\Program Files\Android\android-sdk\platform-tools>fastboot devices

015d3248fe701u09 fastboot

C:\Program Files\Android\android-sdk\platform-tools>fastboot flash bootloader bo

otloader-grouper-4.13.img

sending 'bootloader' (2096 KB)...

OKAY [ 0.265s]

writing 'bootloader'...

OKAY [ 10.327s]

finished. total time: 10.608s

C:\Program Files\Android\android-sdk\platform-tools>fastboot reboot-bootloader

rebooting into bootloader...

OKAY [ 0.031s]

finished. total time: 0.031s

C:\Program Files\Android\android-sdk\platform-tools>fastboot -w update image-nak

asi-jop40d.zip

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

archive does not contain 'system.sig'

--------------------------------------------

Bootloader Version...: 4.13

Baseband Version.....: N/A

Serial Number........: 015d3248fe301a09

--------------------------------------------

checking product...

OKAY [ 0.047s]

checking version-bootloader...

OKAY [ 0.047s]

sending 'boot' (4942 KB)...

OKAY [ 0.640s]

writing 'boot'...

OKAY [ 1.654s]

sending 'recovery' (5444 KB)...

OKAY [ 0.686s]

writing 'recovery'...

OKAY [ 1.170s]

erasing 'system'...

OKAY [ 1.014s]

sending 'system' (477136 KB)...

OKAY [ 56.144s]

writing 'system'...

OKAY [ 29.765s]

erasing 'userdata'...

OKAY [ 6.396s]

formatting 'userdata' partition...

Need size of filesystem

sending 'userdata' (0 KB)...

FAILED ()

finished. total time: 100.355s

-------------------------------------------------------

i used different port usb, different OS in my laptop (before in XP sp3 and now i used win.7) but still like that..failed in update Image stock and failed to when fastboot flash bootloader bootloader-grouper-4.13.img..and also on bootloader screen nexus 7 show the text "neither USP nor CAC partitions found"

please,please help me.. i can't do anything again. stuck..

thank you, thank you for you attention
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
fastboot -w update image-nak

asi-jop40d.zip

From the information you provided the bootloader appears to have flashed correctly. Before you run "fastboot -w update image-nakasi-jop40d.zip" erase the boot, cache, recovery, system and userdata partitions. For example:

fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot -w update image-nakasi-jop40d.zip
[Nexus 7 Q&A, Help & Troubleshooting] soviet_ric:
i'm succeed from the start erase boot until to erase userdata but when flash bootloader bootloader-grouper-4.13.img. is failed and show the text in fastboot screen like i post before and i tried to skip erase boot until erase user data and just start from to flash bootloader-grouper To fastboot -w update and also failed…

ok, i will try that, from user data i will jump to fastboot -w update…

thank you for helped me. thank you

-------------

edited,

C:\Program Files\Android\android-sdk\platform-tools>fastboot oem unlock

...

(bootloader) Bootloader is already unlocked

OKAY [ 0.016s]

finished. total time: 0.016s

C:\Program Files\Android\android-sdk\platform-tools>fastboot erase boot

erasing 'boot'...

OKAY [ 1.248s]

finished. total time: 1.248s

C:\Program Files\Android\android-sdk\platform-tools>fastboot erase cache

******** Did you mean to fastboot format this partition?

erasing 'cache'...

OKAY [ 0.780s]

finished. total time: 0.780s

C:\Program Files\Android\android-sdk\platform-tools>fastboot erase recovery

erasing 'recovery'...

OKAY [ 0.702s]

finished. total time: 0.733s

C:\Program Files\Android\android-sdk\platform-tools>fastboot erase system

******** Did you mean to fastboot format this partition?

erasing 'system'...

OKAY [ 0.889s]

finished. total time: 0.905s

C:\Program Files\Android\android-sdk\platform-tools>fastboot erase userdata

******** Did you mean to fastboot format this partition?

erasing 'userdata'...

OKAY [ 6.022s]

finished. total time: 6.037s

C:\Program Files\Android\android-sdk\platform-tools>fastboot flash bootloader bo

otloader-grouper-4.13.img

sending 'bootloader' (2096 KB)...

OKAY [ 0.296s]

writing 'bootloader'...

FAILED (remote: (Unknown error code))

finished. total time: 2.527s

C:\Program Files\Android\android-sdk\platform-tools>fastboot reboot-bootloader

rebooting into bootloader...

FAILED (command write failed (Unknown error))

finished. total time: 0.718s

C:\Program Files\Android\android-sdk\platform-tools>fastboot -w update image-nak

asi-jop40d.zip

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

archive does not contain 'system.sig'

error: out of memory

---------

i has tried your suggest, but still didn't work..and still failed..i'm stuck..

please help me..

thank you for attention.
[Nexus 7 Q&A, Help & Troubleshooting] a_r_i_e_s:
Read carefully! It works fine. This tutorial is very well done. My tablet was stuck on Nexus logo and it doesn't start anymore. I flash it successfully following this tutorial.

Thank's for this great work.
[Nexus 7 Q&A, Help & Troubleshooting] fushla:
AW: [GUIDE] Flashing a Factory Image with fastboot / return to stock

uhm. I just realized that on the top left corner of my 7 was something like "serial matches" displayed while flashing the bootloader.. anyone else saw this, and is everything OK? I can't remember seeing this before..