yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Q&A, Help & Troubleshooting] goraps:
Mine did. My kids were playing with it though and now I'm stuck at the Kit Kat boot screen. It has been there for like 30 minutes. I am going to go back into recovery and try a full wipe soon.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
The only way that custom recovery would be a problem is if the OTA included a patch. It's not impossible, but I'm not aware of a nexus OTA that has ever patched recovery. So yes, you will receive the OTA update; having custom recovery will not prevent you from getting and applying an OTA update.
[Nexus 7 Q&A, Help & Troubleshooting] goraps:
Like I said above I got the OTA with TWRP but now I am stuck at the new boot animation and have been for over 30 minutes. I have tried a wipe but still won't boot past boot animation.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
You didn't by chance grab the OTA url, did you?
[Nexus 7 Q&A, Help & Troubleshooting] goraps:
My 7 year old twins had the tablet at the time so I didn't get it.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Ah, too bad.... twins - say no more. I am always amazed by parents of twins... you're a bunch of tough SOBs. Much respect. :good:
[Nexus 7 Q&A, Help & Troubleshooting] goraps:
Now I got to get it to boot
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
If you can get to recovery can you check the timestamp on /proc/last_kmsg and post it's contents to pastie.org?
[Nexus 7 Q&A, Help & Troubleshooting] goraps:
I'm in recovery now, can I use adb to get the file. My current driver won't let me see the tablet as a drive
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
yeah, use

adb pull /proc/last_kmsg last_kmsg.txt

the txt file will be in whatever directory you ran the adb command from.
[Nexus 7 Q&A, Help & Troubleshooting] goraps:
http://pastie.org/8476487
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
Sweet thx! Now I wait!
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
I'm a little curious as to what info the last_kmsg file contains. Will it say why the device had trouble booting up after the OTA update, or does it contain other info that'll help with the update process? Thx [MENTION=4194102]comminus[/MENTION] for all the work you do for the community!
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
I didn't find anything interesting in the kernel log. The link for the wifi (nakasi) 4.4 OTA has been posted so I'm going to look in to that. For those that don't search - Nexus 7 2012 WiFi KRT16O from JWR66Y
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
Dude you're the man! I've been combing the internet left and right trying to find it, but your skill factor greatly outweighs mine. Thx man! Will update and report back on how it goes.

Edit: so I've tried to flash the update, but since I'm not on the stock recovery, I keep getting the error that device not found. Do I need to be on stock recovery to run ADB sideload, or does it work with TWRP as well?
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
If you still have a guarantee, bring the Tab to your dealer or send to the service (your bootloader should be locked) and tell them that it comes from official updatr.

Or if it doesn't bother you, flash your 4.2.2 back and enjoy the working Tab. It is likely that there is a bug, possibly even with the hardware.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Looks like a system app failed patch verification. There are two simple paths forward: flash the system partition from JWR66Y, then apply the OTA. Or you can wait until the factory image for 4.4 is released.
[Nexus 7 Q&A, Help & Troubleshooting] Dragoonator:
have anyone sucessfully installed clockworkmod recovery on a nexus 7 but 32 gb???, it's all the same or it's a diferent method???, could i use one of the automatic tools or it has to be manual???

I have asked in all other forums but no one seems to know, any help would be truly apreciable
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Installing Clockworkmod recovery has nothing to do with flashing factory images. You'll need to do some searching and if that fails, start your own thread.
[Nexus 7 Q&A, Help & Troubleshooting] sahshah:
Thanks much, was easy enough to follow :good:
[Nexus 7 Q&A, Help & Troubleshooting] sharp2G:
how can I do this with USB turned off ie. after a factory reset my device can't connect to wifi...
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
You don't need adb or USB debugging to flash the factory images. They are included in this guide for posterity. Use fastboot to flash the images, the guide explains how.

Not sure about your WiFi comment... don't really see how its relevant. I see you made a thread for this question http://xdaforums.com/showthread.php?t=1981316
[Nexus 7 Q&A, Help & Troubleshooting] nguyentrinhtan1982:
Thank you very much!!!

I love you so much.
[Nexus 7 Q&A, Help & Troubleshooting] mchu6am4:
How do I install the android sdk?

Is it an executable zip as my zip central is crashing to open/execute it!

Sent from my Galaxy SIII on Omega ROM & motomoto00 theme!!!
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Try using the installer http://dl.google.com/android/installer_r21-windows.exe
[Nexus 7 Q&A, Help & Troubleshooting] km75:
So are you saying that its not necessary to have USB debug enabled in order to flash the stock image if my computer already has the appropriate drivers installed?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
That is correct. USB debugging is for adb, not fastboot. From the device side of things all that matters is an unlocked bootloader.
[Nexus 7 Q&A, Help & Troubleshooting] km75:
My device is unlocked. I used a toolkit and it didn't run successfully for some reason or other. Stuck in fast boot. Only other place I can get to is the Google screen. Can't turn the device off. Pretty sure my device as of now doesn't have any system image as this was where the toolkit got hang up at. I do have bootloader image recovery image tho. I've downloaded all the files you posted. So if I follow the instructions you posted I should be set correct? Any thing else you think I might need to be aware of?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Sounds like you're good to go. Just make sure you read through the directions and feel free to ask questions if you get stuck.
[Nexus 7 Q&A, Help & Troubleshooting] km75:
Thanks. I will keep you posted
[Nexus 7 Q&A, Help & Troubleshooting] ahmao:
if I need to downgrade from 4.2 to 4.1.2

bootloader version comes with 4.2 is 4.1.3

and bootloader version in 4.1.2 is 3.4.1

Is it ok to only flash the rom with

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

do I need to downgrade bootloader also

> fastboot flash bootloader bootloader-grouper-3.41.img
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
I would recommend you use the bootloader from whichever factory image you flash.
[Nexus 7 Q&A, Help & Troubleshooting] Xulthir:
Thanks for the write up I used it to get to 4.2 from another rom and get some exp with fastboot.
[Nexus 7 Q&A, Help & Troubleshooting] km75:
You wouldn't happen to have a YouTube video posted online somewhere by chance would you. Your written instructions are very precise. Problem for me is I've never had any experience using command prompts. So it seems like my paths aren't coming out the same as yours. Used a command prompt once for my bionic. I was successful bcuz I had someone nice enough to walk me through the process. Even that was a little tough for me though. I'm still reading up on different things. I'm going to get this even if it takes all week. Lol
[Nexus 7 Q&A, Help & Troubleshooting] gb3338:
Nexus 7 usb debugging

Nexus 7

"1.Enable usb debugging on your device (found under Settings > Developer Options)"

I don't see this option under settings, I think recent update of android to jop40c has made it vanish unless in a new location. :confused:
[Nexus 7 Q&A, Help & Troubleshooting] iamelton:
Settings > About tablet > Build number (tap 7 times and the option will appear under settings)
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
I have updated the instructions to include enabling developer options on Android >= 4.2. iamelton, thanks for jumping in with a response
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
Here's another pic I took from the ADB sideload method. Looks like the same error. Now when you say flash the "system partition", do you mean the system.img?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Correct, system.img. The error shows that EmailGoogle.apk is not the expected version, so the patch included in the ota can't be applied. Download the factory image, extract system.img and fastboot flash system system.img. Boot into recovery, install ota. Probably a good idea to wipe dalvik cache.
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
Boom Shakalaka!!! That worked! Thanks again for the assist. Something was up with a certain app, but it's weird cos I didn't even modify the email.apk. Thx again [MENTION=4194102]comminus[/MENTION]! :good:
[Nexus 7 Q&A, Help & Troubleshooting] Pr0xY42:
Wi-Fi devices (nakasi) error

ok i did everything until

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

from then on the command prompt was in <waiting for device>that took forever so i disconnected the nexus 7 and rebootet it manualy.

now i cant boot into recovery mode (says rebooting failed), start just brings me back to the google logo screen and the big green arrow with start,boot recovery and reboot fastboot.

even if i try to reboot fastboot and then use the command promt, it says that no divices can be found, i cant see the nexus 7 via usb and cant execute commands

pls help
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Try installing the universal naked driver. Instructions and driver are available in [ADB/FB/APX Driver] Universal Naked Driver 0.72
[Nexus 7 Q&A, Help & Troubleshooting] fushla:
I hope the bootloader in the new package isn't faulty again +_+
[Nexus 7 Q&A, Help & Troubleshooting] Pr0xY42:
Great,naked driver worked and everything after this too! Thanks guys.
[Nexus 7 Q&A, Help & Troubleshooting] Leonhan:
Just a question : I did this method to update my 4.3 to kitkat. After extracting the required image, I saw that thr bootloader is 4.23(same with 4.3). Do I need to update the bootloader too? Or I can skip it?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Generally speaking, if the bootloader version is the same, it can be skipped. I have not tested this so I can not confirm first-hand.

Sent from my Nexus 5
[Nexus 7 Q&A, Help & Troubleshooting] Richard60:
It will be skipped during the tutorial on the first page.

I could not update, since it was the same bootloader version.

I managed to flash a fresh 4.4 on my Nexus 7.

The only hickup I discountered was to stop Bluestacks, before continuing.
[Nexus 7 Q&A, Help & Troubleshooting] dimedropper:
Soft bricked my N7 2012 WiFi and I am trying this tutorial out to restore it. When I run adb devices I get this message

* daemon no running. starting it no on port 5307 *

* daemon started successfully *

List of devices attached

That's the end of it. It doesn't list my device's serial number (as mentioned in the tutorial). Do I need to re-install the drivers?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Adb is not helpful if your device won't boot to system or recovery.

If you're soft-bricked you need to put the tablet in fastboot mode, plug it in to your computer, and run fastboot devices. If your drivers are installed and the tablet is in fastboot mode you should see your device's serial number.
[Nexus 7 Q&A, Help & Troubleshooting] dimedropper:
[MENTION=4194102]comminus[/MENTION] - Did exactly what you said

Went into Fastboot Mode (this is what I see):

Fasboot Mode, Product Name (grouper), variant (grouper), hw version (ER 3), bootloader ver (4.23), baseband ver (N/A), serial #, signing (not defined yet) and lock state (unlocked)

Plugged it in my PC

Via CMD went into \platform-tools

typed in \fastboot devices

Still getting the same message where the device serial # is not being displayed.

Most likely I don't have the drivers (or the correct one) installed?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Try a different USB port and/or cable.

If that doesn't work, try installing the Universal Naked Driver - follow the instructions in that thread to install.
[Nexus 7 Q&A, Help & Troubleshooting] dimedropper:
Finally saw my device after running Fastboot Devices.

Do I run the rest of the instructions from here? Extract .tgz, the flash the different comments, then the .img etc.?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
You got it.

Sent from my Nexus 5
[Nexus 7 Q&A, Help & Troubleshooting] dimedropper:
Finally got to the point where I push the .zip to the phone, them I encounter an archive does not contain boot.sig, recovery.sig and system.sig message.

But it continued to display different messages (Bootlaoder versions, checking product, checking version boot loader, writing boot, writing recovery etc.)

Not I am seeing...

sending 'system' (529061 KB)

And that's it...just a blinking cursor after that. I am hoping that it is pushing the .zip to the system (% moving) but looks like nothing is happening right now.

ADDED: Can I flash the KRT16S recovery image (instead of the JYR66Y factory image)? Will that put me directly to 4.4?
[Nexus 7 Q&A, Help & Troubleshooting] fushla:
Hey guys, it looks like Google fixed both bootloaders (are the same anyway), the new and the one from 4.3.. Correct me if I'm wrong :D (I saw the size is now different AND the md5's matched)
[Nexus 7 Q&A, Help & Troubleshooting] cptsashimi:
Just wanted to say thanks again comminus. I never can remember all this stuff so every time new images come out I return for a refresher. Flashed KRT16O last week and liked it so I've been stock ever since, with custom recovery and root of course. Last night got home and had the update to KRT16S waiting and installed it no problem. So far I like stock and may not go back to CM or any other ROMS.

Time will tell.

Thanks again.
[Nexus 7 Q&A, Help & Troubleshooting] joshag:
Tried a few different things and I can't get past sending the bootloader img to the device.

sending 'bootloader' (2072 KB)...

OKAY [ 0.269s]

writing 'bootloader'...

FAILED (remote: (Unknown error code))

finished. total time: 0.411s

Using the toolkit I'm able to boot the device into twrp using advanced tools, boot custom recovery. From there I can't mount anything (boxes are there, but won't let me check them) and the file I thought I pushed via adb isn't anywhere to be found.

device is listed in adb and I can send commands to it.. just can't get it to load the .img or .zip files.

Won't boot past the initial screen and I think I've deleted everything on the device goofing around with it.

Any suggestions?
[Nexus 7 Q&A, Help & Troubleshooting] Boeing787Guy:
Thanks!

Thanks SO MUCH for your instructions!!! I lost my mind today and tried to install 4.4 via the side load method and, long story short, completely hosed my tablet. I tried everything I could think of to get the tablet running again and managed to compound my errors. I came across this thread and followed your instructions EXACTLY and it is back in operation! Funny thing is... almost immediately after getting 4.3 up and running again I received the 4.4 OTA upgrade! I owe ya a steak, beer, whatever you want! :good:
[Nexus 7 Q&A, Help & Troubleshooting] biondi53:
excellent guide, I followed and no problems

thx so much for this work
[Nexus 7 Q&A, Help & Troubleshooting] JovieBrett:
Hello [MENTION=4194102]comminus[/MENTION], there is something I want to clear out...

Do you mean even if the device has already have an unlocked bootloader, data (music, photos etc.) will be totally wiped? as in the SD card will be empty?
[Nexus 7 Q&A, Help & Troubleshooting] Snipe_sos:
sending 'system' (611886 KB)... FAILED (data transfer failure (Too many links))

C:\Users\D & D>fastboot erase boot
erasing 'boot'... OKAY [ 0.073s]
finished. total time: 0.073s

C:\Users\D & D>fastboot erase cache
erasing 'cache'... OKAY [ 0.090s]
finished. total time: 0.090s

C:\Users\D & D>fastboot erase userdata
erasing 'userdata'... OKAY [ 5.009s]
finished. total time: 5.009s

C:\Users\D & D>fastboot erase system
erasing 'system'... OKAY [ 0.328s]
finished. total time: 0.329s

C:\Users\D & D>fastboot flash bootloader C:\android-sdk\platform-tools\bootloader-grouper-4.23.img
sending 'bootloader' (2100 KB)... OKAY [ 0.415s]
writing 'bootloader'... OKAY [ 1.230s]
finished. total time: 1.645s

C:\Users\D & D>fastboot reboot-bootloader
rebooting into bootloader... OKAY [ 0.020s]
finished. total time: 0.020s

C:\Users\D & D>erase cache
Could Not Find C:\Users\D & D\cache

C:\Users\D & D>fastboot reboot-bootloader
rebooting into bootloader... OKAY [ 0.020s]
finished. total time: 0.021s

C:\Users\D & D>fastboot -w update C:\android-sdk\platform-tools\image-nakasi-krt16s.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........: 015d4906bc37f014
--------------------------------------------
checking product... OKAY [ 0.042s]
checking version-bootloader... OKAY [ 0.026s]
sending 'boot' (4990 KB)... OKAY [ 0.700s]
writing 'boot'... OKAY [ 0.217s]
sending 'recovery' (5530 KB)... OKAY [ 0.766s]
writing 'recovery'... OKAY [ 0.240s]
sending 'system' (611886 KB)... FAILED (data transfer failure (Too many links))

finished. total time: 312.252s

So I have downloaded the stock zip and did all that stuff and then tried to run the flash-all.bat which does the same thing as above when I tried to do it myself with terminal. Any ideas?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Try using a different USB port. If that doesn't work you can try reinstalling the drivers.

Sent from my Nexus 5
[Nexus 7 Q&A, Help & Troubleshooting] Snipe_sos:
You're beautiful, I do feel pretty silly though for not trying back usbs. Thanks.
[Nexus 7 Q&A, Help & Troubleshooting] praxus07:
So following the guide will let me revert back from KitKat to the previous is without having to root my nexus 7? I'm completely uneducated in android so just want to make sure...
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Welcome to XDA, praxus07.

This guide covers flashing factory images on your Nexus 7. Rooting is irrelevant to this process. Your device's bootloader has to be unlocked, but that is covered in the guide. Take a read through the guide and feel free to ask questions. Definitely make sure you do some searching to see if anyone has asked your question before.
[Nexus 7 Q&A, Help & Troubleshooting] vndnguyen:
Any update for the KitKat 4.4?
[Nexus 7 Q&A, Help & Troubleshooting] tatazeuz:
If you mean, if there's any change flashing 4.4, no, the process is the same and this guide is still perfectly relevant.
[Nexus 7 Q&A, Help & Troubleshooting] praxus07:
OK, I'm trying to follow the guide, but "Download and install the Java SE JDK" has me stuck. I've downloaded the "installer_r21-windows.exe" but it will not install. I keep getting the error "$(^Name) Has Stopped Working" then it auto quits. My pc's os is vista home basic if that matters.

I've also found a zip file containing the files in the exe package, but still cannot run SDK Manager.exe, when I do it fails, saying find_java.exe has stopped working...

UPDATE---I found an answer to my problem, it required deleting a registry key for java. Followed the guide again, and everything worked perfectly. Am now back to jellybean 4.3 and SO HAPPY!!!!

Now to just decide if I should root this before redownloading all my stuff...
[Nexus 7 Q&A, Help & Troubleshooting] remolau:
Help booting failure

Good guild! But unfortunately I haven't read before to to flash the nakasi android 4.3 JWR66Y factory image. Now my Nexus 7 16G wifi was stucking in the booting failure situation. pls give me any suggestion to solve this situation.
[Nexus 7 Q&A, Help & Troubleshooting] alwaysadeel:
fastboot oem lock

this command will re-lock or completely lock the bootloader?? i mean same as untouched bootloader situation??
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Yes. This will lock the bootloader and fastboot oem unlock will be required to unlock it again.

Sent from my Nexus 5
[Nexus 7 Q&A, Help & Troubleshooting] FriskaGubbarna:
API problem

Hi!

I followed your guide until the step when you linked tetakpataks video.

I read the description below the video and then I became unsure what to do... :(

I have a nakasi with stock 4.4 KitKat. Im not satisfied with that and I want to go back to 4.3.

In his description it says:

- run SDK manager and install all the components for API 18 (4.3) as well as for the Android version you are currently running in your Nexus 7

I got the Android SDK Manager revision 21, and cant see the names (Android 4.3 & Android 4.4) it's just says API 18 & API 19.

Oh I cant post a link, until my 10th post... :(

I am unsure what to do next? Do I need to install these API's or not?

Thanks for a great thread! :cool:
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
API 19 sounds good to me, but I have no PC right here to check. Yes, you should let your SDK manager download and install the sources both for 4.4 and 4.3 to make possible to ADB to communicate with your device. Check my last thread (regarding i9000) and there is a screenshot attached on the bottom of the opening post.

It will be easy to check if it works: after updating sources run your adb and prompt "adb devices". If serial # and "device" appears, that part is very good, then check the same for fastboot.

Don't start before you're sure all is working.

sent from N7100 & CM10.2
[Nexus 7 Q&A, Help & Troubleshooting] dnana_28:
do i need to change the bootloader in the factory image if i am going to flash 4.4 kitkat in my nexus 7 wifi

flashed without changing anything

all went well
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
If the version of the bootloader on your phone is the same as the one you're looking to flash, you can skip it.

Sent from my Nexus 5
[Nexus 7 Q&A, Help & Troubleshooting] FriskaGubbarna:
Thanks for the answer!

I ran in to some more trouble... When I checkmarket the API 18 and 19, I couldnt download the content.

There was a text saying something like this:

"SDK Missing"

Then I downloaded the Android SDK Bundle 480mb zip.

Extracted that to the desktop and launched it. I can now atleast see the names for the API's.

Checkmarket 18 and 19 again and now it's downloading! :o

Is there anything that I shoud consider when im running a portable program like this?
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Here is an excellent guide for learning how to use ADB:

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

It can save lot of time. Make sure to install:

sources for ADB in SDK manager *

driver for your N7 (how-to is described by comminus in the OP)

ADB driver will also need to be installed as soon as you boot to bootloader

* double click the manager, choose sources both for your current Android version and one you want to flash, so in your case API 18 and API 19) just to make sure, I attached you the screenshot of my SDK where KitKat (API 19) sources aren't installed yet.

Good luck and post how it worked.
[Nexus 7 Q&A, Help & Troubleshooting] FriskaGubbarna:
THANK YOU SO MUCH FOR YOUR HELP! :victory:

I did the following: (so others can do the same, if they have the same problems as me - cant install things in the install-version of Android SDK)

Download SDK bundle.

I created a folder in C:\ and named it Android,

Extracted everything from SDK bundle to C:\Android\

Opened up SDK manager and downloaded all the files for 4.3 and 4.4.

Closed SDK manager, and navigated to C:\Android\sdk\ and hold down Shift button on the keyboard and right clicked platform-tools folder, then clicked "open command window here".

Then I simply followed comminus guide! ;)

Everything went very well and was easy!

Thanks for everything!