yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Q&A, Help & Troubleshooting] tuoitreaus:
after upgrating, my Nexus 32gb only recognizes 6.02gb, something wrong on userdata? what can i do to solve this problem?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
This will happen if the userdata partition is erased but not formatted. The solution is

fastboot format userdata

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] Oblaz:
Help me please i have a Huge Problem :(

I try to flashing a factory image but when i try my adb not accepet flash command... i have done everything correctly before...

now my nexus no longer has any istalled image and i'm in a panic!! :( now my Bootloader is unlock and the tablet will start in fastboot mode but when i try to flash factory image with toolkit the process hangs on sending system... i don't know what to do... help me :(
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Make sure your version of fastboot is the latest and try flashing again from a different USB port.

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] Oblaz:
thanks for the reply but how do i see the version of the fastboot?? if it is the version of the bootloader mine is the 4.18 and i try with other USB port but does not change anything... :(
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
The fastboot command doesn't appear to report it's version. But you can just grab platform-tools r18. I have links to the latest version for Windows, Linux, OSX in my signature.
[Nexus 7 Q&A, Help & Troubleshooting] Oblaz:
thank you very much!! you saved me and my nexus!! :D
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Glad to hear that everything worked out! :good:
[Nexus 7 Q&A, Help & Troubleshooting] sgt. meow:
Apparently you can't.

Just a heads-up: Downloading the 4.3 factory images from Google's Developer site stops, for some reason, at 294MB for me. Trying WugFresh's goo.im folder now.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
The images contain some checks to make sure you flash the correct software for your hardware. Five hours to download? That's rough!

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] sgt. meow:
That's pretty standard in Bangladesh. Anyways WugFresh's images and your guide worked. So thanks a lot.
[Nexus 7 Q&A, Help & Troubleshooting] scottharris4:
Does it normally take a really long time to flash the stock img file? Specifically, the writing system step.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Depends on what you consider a long time. I find that the entire process takes under 2 minutes from start to finish.

If it is taking a really long time, try using a different USB port

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] exzacklyright:
refers to the sdcard right?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Effectively, yes.

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] ItsDare:
Hello, I have been having some issues updating to 4.3, so I thought I would try this.

For some reason, when I paste the first command in and put my username in there, it tells me that the system cannot find the files specified.

I am good at following detailed instructions, but when I hit a wall I don't know what to do.

Any tips or ideas?

Thank you.

Update: I think I already have the bootloader unlocked. My device was previously rooted, but then it was unrooted... does this relock the bootloader too, or does it stay unlocked?

Update 2: Could I be in driver hell, I don't see my N7 in my computer. If so, what do I do? I installed the drivers listed and updated them on my computer.
[Nexus 7 Q&A, Help & Troubleshooting] Dj8218521:
thanks

thanks for this. .
[Nexus 7 Q&A, Help & Troubleshooting] bejoysam:
Thanks Mate....!

Works Fantastic...!!!

Good guide for a Starter like me.....!!!!
[Nexus 7 Q&A, Help & Troubleshooting] JayCali51694:
Does this work to restore Android 4.3 back to 4.2?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Yep. This is a full wipe of your device to any available iactory image that Google provides.
[Nexus 7 Q&A, Help & Troubleshooting] JayCali51694:
Awesome! Finally something looking positive. How about if I just did the factory reset on my tablet? Will that restore it back to Android 4.2 which it came out of the box with?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
The on-device factory reset will delete your all your data but will not affect the version of Android. To change versions, you will have to flash the device.
[Nexus 7 Q&A, Help & Troubleshooting] JayCali51694:
Ah ok. Got it. Thanks!
[Nexus 7 Q&A, Help & Troubleshooting] egendomligt:
Hi, I'm trying to restore my grouper to the 4.3 factory image and I get this:

[~/nakasi-jwr66v] fastboot -w update image-nakasi-jwr66v.zip
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: 4.23
Baseband Version.....: N/A
Serial Number........: 015d24bc6647fc05
--------------------------------------------
checking product... OKAY
checking version-bootloader... OKAY
sending 'boot' (4896 KB)... OKAY
writing 'boot'... OKAY
sending 'recovery' (5432 KB)... OKAY
writing 'recovery'... OKAY
sending 'system' (529061 KB)... ERROR: usb_write failed with status e00002be
FAILED (data transfer failure (No such file or directory))

I ran all erase commands from flash-all.sh before ofc.. what am I doing wrong here?

PS. I checked the md5 of the download..

EDIT: Tried on other USB ports - didn't help. Tried on another machine (WinXP) - worked.
[Nexus 7 Q&A, Help & Troubleshooting] BluPhant:
Fastboot via dock???CWM to 4.3

So.. Santa got my kid a N7 for xmas. She destroyed the usb connector by repeatedly inserting the connector the wrong way. The USB connector is now completely destroyed. I had it rooted, bootloader unlocked, with CWM installed. Because she was abusing it further (by using it during hours when she should be sleeping) I wanted to update it to 4.3, with the idea that the new 4.3 parental controls might help me get a tech-handle on it. So I attempted to update it via cwm. Bad idea. The install failed with a "status code 7" message. It apparently got partially installed, or whatever. In any case it now boots to the X screen and stays there (with pretty animation)

So now I'm trying to recover it via fastboot... I've now gotten everything prepped... I can get it into fastboot mode, but adb doesn't seem to see it when connected via the Asus dock.

I'm bidding on ebay on some busted N7s so I can replace the cable in there & do it the normal way. So the question is this: Is there any way I can adb to see the device when attached through the dock during fastboot? I'm guessing the answer is no, but I figured I'd reach out to the community here.

Thanks in advance!

-Blu
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Unfortunately, you're out of luck until you get that USB port fixed.

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] BluPhant:
Aye figured that. Just won an auction for a busted N7, so it'll be Frankenstein time. Bonus, will get an extra battery for later :)

Thanks for the response.

-Blu
[Nexus 7 Q&A, Help & Troubleshooting] t.mark:
I have the same issue. After flashing to 4.3 I don't see my N7 in My Computer. I have drivers installed. Debugging USB in on. My tablet is unrooted.
[Nexus 7 Q&A, Help & Troubleshooting] bigsee:
Your answer helped me to bring back my dead n7!!! Thank You!!!
[Nexus 7 Q&A, Help & Troubleshooting] RichInWI:
3. Follow the directions on the device, using the volume and power buttons to select "Yes". NOTE: this will wipe all personal data.

I don't have a "Yes" option. Only Power Off, Start, Restart bootloader, and Recovery Mode.

Thanks,

Rich
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Did you perform the previous step?

2. In order to do anything useful in fastboot, the bootloader must be unlocked. To do this, run the following fastboot command:

> fastboot oem unlock
[Nexus 7 Q&A, Help & Troubleshooting] RichInWI:
Yeah, I did. I have since gotten it to work. Thanks!
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Great!

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] :
thank you for this tut. its way more reliable than the toolkits.
[Nexus 7 Q&A, Help & Troubleshooting] namertamer101:
NEXUS 4.3 Charging issues/Should I reset?

I upgraded to 4.3 JB from 4.2.2 JB, and ever since then my nexus 7 will not charge as fast as it would as in 4.2.2

4.2.2 charging overnight would get all the way to 100%

4.3 charging overnight would only get to about 40-50% (takes longer to charge 1%)

So i'm wondering if i should get a new battery or go back to 4.2.2, but the only problem is that if i go back to 4.2.2 everything will reset, and i still want all my apps (including all data for apps and everything). No root, boot-loader unlocked though (during 4.2.2) Nexus 7; 32 GB; Wi-Fi only; currently running stock 4.3 JB
[Nexus 7 Q&A, Help & Troubleshooting] cptsashimi:
Wow, that doesn't sound right. Do you think maybe you have a rouge app or something else draining the battery? I'm on CM 10.1 so I can't speak to the "normal" charging on 4.3 but I would look at hardware ( charger, battery, USB ) or maybe some crazy app that's running wild.
[Nexus 7 Q&A, Help & Troubleshooting] ugadawg67:
erased my sdk folder and started over following these directions to bring my Nexus 7 wifi back from the dead but it fails at fastboot flash bootloader bootloader-grouper-4.23.img I get an error saying cannot load. It shows up correctly under fastboot devices and all commands work until this one.

Any ideas?

Thanks!
[Nexus 7 Q&A, Help & Troubleshooting] namertamer101:
Nexus won't turn on again 0_o

So, I charged the nexus for the whole night =8 HRs tried to turn on, but it still says it is at 0%. I unplugged it and tried powering it on but shows an empty battery (like when u r charging it but it's empty instead) whenever i try turning it on.

IT WILL NOT TURN ON. Oh yeah i reset it to factory settings 4.3
[Nexus 7 Q&A, Help & Troubleshooting] mp44christos:
When i type the command "fastboot flash bootloader bootloader-grouper-4.23.img" it says "sending 'bootloader' <2100 KB>...".

and it never finishes... what am i doing wrong?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Try using a different USB port or cable.
[Nexus 7 Q&A, Help & Troubleshooting] BobCobb:
Stuck

I can get everything to work using fastboot commands in Terminal on my Macbook Pro. The problem I'm having is when I flash system.img I get

an error (data transfer failure (No such file or directory)) any help would be great.

thanks.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Could you please post the actual command and error message you received?

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] BobCobb:
Ok, i fixed it! guess I gotta be persistent!

I went a head and deleted everything that I downloaded and installed in the past week an started with a clean slate. Found the LATEST version of fast boot that was in the Android SDK and erased everything from the tablet. Then flashed boot.img, system.img and recovery.img

uning the fastboot commands in Terminal. I'll post more info after work.
[Nexus 7 Q&A, Help & Troubleshooting] Droidnoobi:
Hot Damn!!

You rock!! OMFG!!

Thank you so very much!! After installing Cyan.. My tab was messed up and ,y computer wasnt showing my tab even though it was connected.

****does white man cant dance dance***

oreo cookies for all!!!:good::good::good::good::good::good::good::good::good::good:
[Nexus 7 Q&A, Help & Troubleshooting] tt100b:
I'll start by saying this is a bit long but it is in the attempt at being complete.

I'm in the process of reading through the 44 pages but wanted to ask ahead in case someone can verify that I truly did destroy my N7 2013 (which is what I believe I did).

I unlocked and added TWRP through ADB and was going to then flash SU. As I was exiting, TWRP noticed I didn't have superuser installed and asked if I'd like it, so I said yes and rebooted. It hung up and wouldn't do anything. I then found the below thread

http://xdaforums.com/showthread.php?t=2380913

Instead of using the system image outlined in the post I wanted to use the method outlined in this thread as I"m trying to learn how this all works. SO, I found the google factory image for my 2013 Nexus 7 and proceeded to attempt to follow this method here.

Referring back to the original post -- When I got to the step that said to run the following commands in sequence and allow each to finish, I attempted to do that. Commands outlined below;

> fastboot erase boot

> fastboot erase cache

> fastboot erase recovery

> fastboot erase system

> fastboot erase userdata

> fastboot flash bootloader bootloader-grouper-4.23.img fastboot reboot-bootloader

> fastboot -w update image-nakasi-jwr66v.zip

I completed the line "fastboot flash bootloader bootloader-flo-flo-03.14", and then I typed in the "fastboot reboot-bootloader" command and I got a notice that no device was attached. I had this happen once before and disconnected and reconnected, powered on and off, etc... and regained device recognition, however from that point to this I have not been able to get the device to recognize.

For my part I've verified I can see my Gnex and my Nexus 7 (2012) just fine.

I also loaded the SDK on my Macbook and tried over there with no luck. I verified the Mac was working by successfully seeing my Gnex and my 2012 N7.

So, I say all that to say this: I think I'm in a state with no recovery installed (I can't get to recovery no matter what I try) and no way to "see" my device. When I select recovery it just goes to the bootloader. Thoughts? Opinions? Verification that I'm screwed?

EDIT - I forgot to say I switched cables, ports, computers and OSs to no avail so far...
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
If your bootloader is intact, your tablet will be fine.

The commands for flashing flo (Nexus 7 WiFi 2013) are a bit different from grouper (2012 version). Make sure you have Mac OSX Platform-tools r18.0.1 - download. Using fastboot from this package, run

fastboot devices

which should show the device attached. Afterwards, run

fastboot -w update image-razor-jss15j.zip

. This will format and flash the boot, cache, recovery, system and userdata partitions.
[Nexus 7 Q&A, Help & Troubleshooting] tt100b:
Thanks

Thanks much. The Mac now recognizes the N7. Now I have to go get the factory image and put it on the Mac. I hadn't done that yet on the Mac, only on the PC. I do have a question about that. Isn't there a factory image on the SDK of 4.3? I see it mentioned but if it's there I don't know how to get to it.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
The specific factory image for flo is https://dl.google.com/dl/android/aosp/razor-jss15j-factory-2e08b83b.tgz

Sent from my Nexus 7
[Nexus 7 Q&A, Help & Troubleshooting] tt100b:
Thank you

Thank you for being so patient and helpful through out this thread. I'm only up to page 28 but so far you have demonstrated amazing patience based on some of the questions and posts. I was able to recover my device and learned quite a bit in the process. I really appreciate it,

VR,

Pete
[Nexus 7 Q&A, Help & Troubleshooting] null_buffer:
Thank you for making this guide simple and easy to understand. :good: However, before I proceed I would like a few of my queries to be cleared out. I got a Nexus 7 (2012) 8GB WiFi two days ago and I'm still on 4.2.2 despite hitting the "Check now" button countless times. I've also tried resetting app data for Google Services Framework but to no avail. Is the 8GB model no longer supported via OTA updates? On the Google factory images site (https://developers.google.com/android/nexus/images#nakasi) I see no distinction based on storage space between the firmwares for the WiFi models so I assume that I could use the "nakasi-jwr66y-factory-1e503532" firmware. Is it alright to proceed?

Here are a few details I got by booting into recovery/fastmode (if these may be of help to you):

PRODUCT NAME: grouper

VARIANT: grouper

HW VERSION: ER3

BOOTLOADER VERSION: 4.18

Please correct me wherever I was wrong.

Thank you and looking forward to your reply. :)
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
I've seen a few other nexus devices "get stuck", but eventually did receive the update. Regardless, the nakasi jwr66y factory image is the one you want. No need to worry about storage size.

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] null_buffer:
Thank you so much for a speedy reply and for clearing my doubts. :) I really admire how you've patiently helped people on this thread. :good:

Btw, could you please tell me whether the Scenario 1 mentioned in this method of upgrading is safe for me?

Thank you again. :D
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Thanks for the kind words. The method described in the android police article you linked to will work fine since you're just upgrading the stock nexus software. If the tablet were running custom software like cyanogenmod or paranoid android, clearing the data would be really important and should be done whenever switching between different releases.

Good luck!

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] mendozaram:
Hi... Im getting this...

flash bootloader bootloader-grouper-4.23.img

sending 'bootloader' (2100 KB)...

OKAY [ 0.297s]

writing 'bootloader'...

FAILED (remote: (InvalidState))

finished. total time: 0.441s

It doesnt flashing the bootloader 4.23, so i cant finish the flash of Android 4.3
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Is your device in fastboot mode and are you using the most current version of fastboot? (from platform-tools r18.0.1)
[Nexus 7 Q&A, Help & Troubleshooting] mdmower:
I actually got this too. I worked around it by flashing JDQ39, then letting the device update via OTA. This successfully updated the device to 4.3 and updated the bootloader to 4.23. Although the bootloader from the JWR66Y package still doesn't flash (same InvalidState error), you can actually flash image-nakasi-jwr66y.zip just fine.

Now don't ask me the obvious question of whether the OTA was JWR66Y... I forgot to check.

For reference: this was on Nexus 7 WiFi (2012, a.k.a. grouper), Win 8 64bit, fastboot from platform-tools 18.0.1, and the generic Google USB drivers.

The hash of the JWR66Y package matches up with Google's: 1E5035329F8E00015781CC0A35384A1047145EB9
[Nexus 7 Q&A, Help & Troubleshooting] Mou1908:
I also encountered the same error, but in spite of this the flash went well and I have not encountered problems so far
[Nexus 7 Q&A, Help & Troubleshooting] Anderson2:
Thank you very much for this excellent step by step instructions.

You mentioned however that the steps are slightly different for a nexus 7.2 (2013). Since I own a 2013 Nexus 7 could you please tell us what steps are needed for the 2013 Nexus 7?

Thank you.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
I'm going to be lazy on this one. Open the flash-all.bat or flash-all.sh file. This will list the fastboot commands to flash the factory image to the tablet.
[Nexus 7 Q&A, Help & Troubleshooting] litemintx:
This what i need :) thank you
[Nexus 7 Q&A, Help & Troubleshooting] aza510:
troubles updating bootloader

toolkit froze while trying to reroot 4.3 update. (jwr66y)

now I have a super brick. Im using this mod to go back to standard. Ive followed these instrustions to the T

problem Im having is when I flash bootloader. error is

on the tablet is has small red writting in top left corner saying "signiture mismatch"

when in flashboot the error is " 'writing bootloader' ... Failed <remote: <Invalidstate>> "

Phone will say "booting failed" in the top left while on first google start screen on first google screen however the fastboot mode options appear back in the top right so I just reboot back into bootloader

any help would be great.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
If the bootloader version on your device is the same as what you are are attempting to flash, just skip it and perform the other steps.
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
Hey [MENTION=4194102]comminus[/MENTION]! Was just wondering if with the guide, I can return to just the stock recovery only, or will I have to go from scratch, i.e. return to stock image to do so? Reason I ask, is that my 1st gen N7 keeps trying to update to the latest JWR66Y, but since I have TWRP as my recovery, it's not having any success. My device is actually on the JWR66V version. Thx in advance for the help.

Sent from my Nexus 7
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
[MENTION=4180510]xolanir[/MENTION] you can flash any individual partition. For recovery, extract it from the zip and then

fastboot flash recovery recovery.img

Typically, you can flash an ota update with custom recovery so are you certain that's what's causing the update to fail?

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
Thx for the response. Not sure what else could be the problem, it goes through the process with TWRP, but doesn't complete the flash. I'll have to figure this out a little later once the kiddos are asleep.

Sent from my Nexus 7
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
When you do, if possible, post the error message from TWRP when the update fails. It should tell us what the specific issue is.

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
This is what it shows. See screenshots:

Sent from my Galaxy Nexus
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
What is the error it shows after verifying system?

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
It doesn't display any error, it just goes back to the TWRP main menu, where I then proceed to reboot. I'll get a video for you real quick.

Edit: was able to get a screenshot from video and this is what I saw. Happens so fast.

https://www.youtube.com/watch?v=W_jcCTk637o&feature=youtube_gdata_player

Sent from my Galaxy Nexus
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
That video was mighty helpful. I wish everyone was able to provide that much detail!

The build.prop failed sha1 hash check. Which is indicative of custom software or direct modification to build.prop.

My suggestion at this point is to grab the jwr66y factory image, but only flash boot and system. So, the steps:

Download factory image

Decompress the main tgz file

Decompress the contained zip

Put the device in fastboot mode

fastboot flash boot boot.img

fastboot flash system system.img

fastboot format cache

Use the volume keys to select recovery mode and boot recovery.

Wipe dalvik cache

Reboot

You should now be on jwr66y without data loss.

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
You're the man [MENTION=4194102]comminus[/MENTION]! It worked like a charm! Thanks again for everything you do for the community.

Sent from my Nexus 7
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Thanks, man! Glad to hear everything is in working order!

Sent from my Nexus 4