yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Q&A, Help & Troubleshooting] josephstc9:
And now sorry for my delay

I destroyed the motherboard on my PC. So now i need instructions on how to do it on mountain lion (OS X). Links to tutorials, guides, etc please. Thanks. BTW I appreciate all the help, I also don't even know if it's possible to flash something on my macbook.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
You were just running fastboot...

you have to be in the platform-tools directory you created on your desktop, just like before! :p
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
[MENTION=5397008]josephstc9[/MENTION] - It's actually easier now that you dont need to worry about Windows drivers.

Download platform-rools r18.0.1 for osx. Once you have that done open a terminal and run the following:

unzip ~/Downloads/platform-tools_r18.0.1-macosx.zip -d ~/
echo "export PATH=$PATH:~/platform-tools" >> ~/.bash_profile
source ~/.bash_profile

Now you can run fastboot and adb from wherever you like :good:
[Nexus 7 Q&A, Help & Troubleshooting] climo:
Stuck on JWR66Y bootloader?

I'm posting this just in case someone gets stuck like I did by not reading this thread first and flashing the broken bootloader packaged with JWR66Y as the OP states. i was not aware it was broken until I tried to boot into recovery as I kept getting a no command with an exclamation point above android.

Here is what I did to fix it ...there might be a quicker way but this worked for me. Also just flashing the bootloader included with JWR66V while still on JWR66Y did not work... still no recovery loading even though they are the same version 4.23. It seems the broken bootloader was not being overwritten even though it said successful on the command prompt.

The Fix:

I erased via fastboot and flashed the bootloader back to 4.18 along with the 4.2.2 image.

Then I erased again and flashed the bootloader and image file from JWR66V. Rebooted and flashed TWRP recovery via fastboot and it worked this time!

Once I had the JWR66V bootloader and image file installed I erased everything once again and only flashed the JWR66Y image. I flashed TWRP and it worked as usual. Recovery now loads up with no issues.

Thanks OP :good: for alerting us that the bootloader included with JWR66Y was broken and to flash the one included with JWR66V instead. While my method seems the long way...it did solve my problem of being stuck on the broken bootloader.

CN's: downgrade the bootloader then work you're way back up to JWR66V then only flash the JWR66Y image file.
[Nexus 7 Q&A, Help & Troubleshooting] woldranger:
Not being able to fill in all the blanks that you left. You made the assumption that I was comfortable and well versed on the use of fastboot and that everything was running correctly, but because I used it separately to the original set up I had no way to connect it through to cmd until I found this on another site. For the noobs out there using cmd, if you need to open the cmd window somewhere specific, Hold SHIFT and right click – choose “Open command window here.” on the folder you're using - in my case, where fastboot was located.

When I used the bootloader that you linked me to, nothing happened. It was only when I used the other version that things worked. That one WAS for the 3G as he mentions

As for the rerooting, sorry, Im was kn*ckered! I mean unlock the bootloader - oopsie.

Hopefully my trails and travails might help some other poor soul who ends up in a situation that's out of the norm.

I'm be glad to see the bootloader is locked and the tablet will be sold on monday after all the hassle yesterday! I might either get the new Nexus when I'm in the states next month or suck it up and get an Asus HD7 or Hisense Sero 7 to try modding (as they're super cheap compared to my 3G 32g N7)

I'm much more comfortable when it comes to using clockworkmod and the like when playing around with ROM's on my HD2!
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
I'm really not trying to be rude here... I made this assumption due to the fact that in our previous communication two hours prior, you were successfully running fastboot. In my mind, it's not a stretch to assume you'd remember this.

As I've stated twice now, the link I provided you with is for the Nexus 7 3G. Specifically, it is bootloader-tilapia-4.23.img.gz. The .gz extension means it is compressed which is why I also instructed you to decompress it. I'm mentioning this and providing the link again to clarify for others that this is the correct bootloader for nakasig/tilapia.

Best of luck and happy modding!
[Nexus 7 Q&A, Help & Troubleshooting] woldranger:
Cheers, but I think it'll be a while till I use command prompts and sdk again!

I'm still a little confused as to why the image that I'd been pointed to in this thread wasn't working, yet the one above worked flawlesly! No wonder there are time's when modding thing's get's most confusing! ;)
[Nexus 7 Q&A, Help & Troubleshooting] BillBoyTM:
Signature Mismatch: Grouper

When I enter the commands everything goes fine until I flash the bootloader (fastboot flash bootloader bootloader-grouper-4.23.img) When I do this I get the error: FAILED <remote: Signature mismatched!!!>

With this error it obviously won't let me flash the image-nakasi-jwr66y.zip so I am still stuck! Any help would be greatly appreciated..

By the way.. I downloaded the bootloader grouper that OP made note of at the top of the post and I still recieved the same error.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Please delete whatever bootloader you're trying to flash, re-download the one I posted, make sure you decompress it and try again. The only reasons the bootloader I posted would give a signature mismatch are:

1. attempting to flash the bootloader to non-grouper hardware

2. the download was corrupt (unlikely if you managed to decompress it)

3. you're not flashing the downloaded bootloader

Just to make sure, I downloaded the bootloader, decompressed it and flashed it. No problems, as expected.

Oh, and welcome to xda!
[Nexus 7 Q&A, Help & Troubleshooting] Jurge92:
Absolutely amazing guide, thank you!
[Nexus 7 Q&A, Help & Troubleshooting] jl154:
Man i just learned alot. Completed the whole process just to learn about adb and flashing manually. Great tutorial!!
[Nexus 7 Q&A, Help & Troubleshooting] vndnguyen:
In fact this is the content of the flash-all.bat file
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Yep!

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] josephstc9:
Sorry for taking so long to get back to you...

sorry i've really been wanting to fix my nexus 7, but i've been reading a lot of suzululu (code geass) yaoi fanfics, so in short i've been very preoccupied with other things... damn my best friend for converting me... But anyways, more to the point, Fastboot and ADB??? Again, my apologies, I really don't know much about android... I'm still not entirely sure how I managed to correctly root it in the first place...? Please explain, once i know what all the lingo means i'll go from there, i'm very good at following instructions.:laugh::victory::fingers-crossed:
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
You should read the guide. If you come across terms you don't understand, its better to use Google to research. There is a ton of information out there so there no point in me repeating what is already there.

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] josephstc9:
Thanks

Thanks, i'll follow the guide and do a bit of research. but not now, Spotify is open...
[Nexus 7 Q&A, Help & Troubleshooting] josephstc9:
Error Message

I got to the step where i was erasing and flashing stuff via terminal. I type this in, fastboot flash bootloader bootloader-grouper-4.23.img. and the next step doesn't work, i'm assuming because i get this,

writing 'bootloader'...

FAILED (remote: (InvalidState)).

So something failed, but i don't know what.

any help would be greatly appreciated:fingers-crossed:.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
On the top on the first post, there are instructions in bold red that explain what to do.

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] Hypochlorite:
Fantastic effort, I wish root could come as default...well-written procedure
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Awsome!

[MENTION=4194102]comminus[/MENTION]

Thank you so much for posting such an amazing guide, mate!

I'm gonna upgrade friend's Nexus 7 with your guide end of the week. I'm looking forward to flash via ADB for the first time, so far used ADB for installing apps or for logcats etc (Samsung devices). +100 flashings via Odin etc, but no yet with ADB, cool! :p

Just a short question: unlocking the oem might take some 1-2 minutes until the process is done, true?

And it is so nice of you for being so full of patience with unpatient visitors of poor knowledge, who seem to have visited your thread frequently....

Cheers!
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
I'm glad to hear you're finding the guide useful! Unlocking the bootloader is very quick. I've never seen the 'fastboot oem unlock' command take more than a couple seconds to execute. If you do run in to any complications, don't hesitate to post your questions or problems.
[Nexus 7 Q&A, Help & Troubleshooting] Merdeke:
thanks and suggestion

Thanks for an excellently written how-to, it worked perfectly for this newbie.

It may be worth noting in the first sentence of the instructions that for people using the nakasi android 4.3 JWR66Y version (most people presumably), to be sure to change the final command in your list accordingly, ie from "v" to "y", viz: fastboot -w update image-nakasi-jwr66y.zip
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Thanks, I've updated the guide to reflect jwr66y.
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Hi, [MENTION=4194102]comminus[/MENTION] :)

So, my little report: it worked like a charm, thank you so much for this AMAZING guide

I just had just very little thing, happened just before the last step, there was error message in ADB:

error: failed to load 'image-nakasi-jwr66v.zip': No error

The point was: I should have typed "jwr66y" like correct name of the file.....so maybe you could just replace "v" with "y" in the guide for nakasi (wifi)? No big deal.

And only one more question: could I upgrade to this stock 4.3 also another Nexus 7 grouper (wifi) so identic device, but from stock 4.2 firmware?

Would it work just the same like with upgrade from 4.2.2?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
I've made sure the guide references jwr66y now, thanks.

You can use the nakasi factory images on any nakasi device regardless of what the current os is.

Sent from my Nexus 4
[Nexus 7 Q&A, Help & Troubleshooting] Hayness:
Thank you so much for this informative thread, it was much easier to follow than the many scattered and outdated guides around the internet.

I was previously stuck trying to return to stock android using a toolkit, it was unable to locate my device to reflash stock android so I was stuck in bootloader and the toolkit was telling me the install was successful :rolleyes:

I was slightly confused at the "> adb devices" command as no device was displaying, lucky I did a quick search in this thread and found I could just continue and use the "> fastboot devices" command and go from there.

My Android SDK install was also not picking up that I had installed Java SE so I had to set JAVA_HOME as an environment variable in Windows 8 (had to Google how to do this).

Good luck to everyone else and thank you once again comminus.
[Nexus 7 Q&A, Help & Troubleshooting] Merdeke:
This will fix super-slowdown on unupgraded Nexus 7s

I would just like to add that for anyone with a Nexus 7 that's slowed down to an unusably slow pace, but which won't upgrade over the air (OTA), the excellent instructions at the start of this thread can save your tablet from being hurled out the window in disgust. That's because it turns out there *is* a problem with the way google was handling flash memory, which meant over time the tablet gets slower and slower. I had no idea about that and couldn't work out why the tablet i used to love was now gathering dust. After you apply an update using these instructions, it will have a new lease of life! Enjoy!
[Nexus 7 Q&A, Help & Troubleshooting] engagedtosmile:
I am trying to flash my Nexus 7 entirely back to stock 4.3. I was following the guide that is sticky'd in this thread to flash the Google image. This is these are the errors I get:

C:\android-sdk\platform-tools>fastboot erase boot
erasing 'boot'...
OKAY [ 2.532s]
finished. total time: 2.535s

C:\android-sdk\platform-tools>fastboot erase cache
erasing 'cache'...
OKAY [ 0.032s]
finished. total time: 0.033s

C:\android-sdk\platform-tools>fastboot erase recovery
erasing 'recovery'...
OKAY [ 0.021s]
finished. total time: 0.022s

C:\android-sdk\platform-tools>fastboot erase system
erasing 'system'...
OKAY [ 0.021s]
finished. total time: 0.022s

C:\android-sdk\platform-tools>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.021s]
finished. total time: 0.022s

C:\android-sdk\platform-tools>fastboot flash bootloader bootloader-grouper-4.23.
img
sending 'bootloader' (2100 KB)...
OKAY [ 0.266s]
writing 'bootloader'...
FAILED (remote: (Unknown error code))
finished. total time: 0.415s

Also the bootloader keeps freezing on me after I attempt this. I also am unable to restart bootloader by command or the selection, it just goes to a black screen and "fastboot devices" gives me ????????????? instead of my device ID. I can fix this by turning it off and booting back into the bootloader and it will properly display my device ID.

It is unlocked and on 4.23 that's listed there. What else can I do?

edit: I thought I would try to lock and unlock it again. I was able to lock it but now when I try to unlock it, i get this error

C:\android-sdk\platform-tools>fastboot oem unlock
...
(bootloader) erasing userdata...
(bootloader) erasing userdata done
(bootloader) erasing cache...
(bootloader) erasing cache done
(bootloader) unlocking...
FAILED (remote: (Unknown error code))
finished. total time: 14.067s
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Grab the 4.23 bootloader from JWR66V - there is a link on the top of the OP. Flash that bootloader and continue as usual.
[Nexus 7 Q&A, Help & Troubleshooting] engagedtosmile:
It is on 4.23. The problem now is that I can't get it unlocked again. Seems that this N7 is dead now.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Hmm. Any difference after fastboot reboot-booloader ?
[Nexus 7 Q&A, Help & Troubleshooting] engagedtosmile:
This just takes me to a black screen, doesn't seem to reboot entirely. Trying home PC now.

edit:

Still can't unlock. I assume my tablet is dead for good now.
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Dear [MENTION=4194102]comminus[/MENTION], I've filmed upgrading of my friend's Nexus 7 just like in your amazing guide.

The video is freshly uploaded:

[YOUTUBE]bhA5CN4335U&hd=1[/YOUTUBE]

It should prevent unexperienced people of doing mistakes ....and save your time of answering them obsolete questions.

Please feel free to paste the video into your opening post if you wish so.

Thank you again for this great guide! (my friends are so happy with the fast and battery saving 4.3 now!)

:fingers-crossed:

---------- Post added 5th October 2013 at 12:06 AM ---------- Previous post was 4th October 2013 at 11:37 PM ----------

[MENTION=1671043]engagedtosmile[/MENTION]

Mate, the opening post starts with red-colored remark to replace "y" bootloader with the "v" one. I really regret your problems but you obviously didn't read carefully enough.

BTW be careful with drivers by using other PC: I've successfully upgraded two Nexus 7 tablets within one day by using the same PC and guess what: before upgrading the second tablet (identic model) I had to re-install all the drivers again and to restart my PC.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Thanks so much and well done, [MENTION=5051515]tetakpatak[/MENTION]! I've included the link in the Driver Installation section of the guide.
[Nexus 7 Q&A, Help & Troubleshooting] nostrada_:
Thank You, Thank You, Thank You!
[Nexus 7 Q&A, Help & Troubleshooting] engagedtosmile:
That was the img I was using as it was mentioned in the instructions. I was having this issue before I even tried to go back to stock. The only other way it could have been flashed was by one of the toolkit programs if that is indeed what caused it to go bad and not the EMMC chip.

Oh well. RIP N7.
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
[MENTION=1671043]engagedtosmile[/MENTION]

I'm really sorry, mate.

But don't give up your Tab yet, especially as it still shows signs of life. Check all threads and revival experiences of other people. In worst case, the service should be able to revive it for some $. It is really cool little Tab (at least after compared to my 10.1" Samsung p5110)

Good luck. Post results if some to come :)
[Nexus 7 Q&A, Help & Troubleshooting] bigsee:
What kind of PC did you try to flash? Try on a 32 bit slower/older PC/notebook if you can. Try many times in different USB ports, always restarting (PC and Nexus too!) between experiments.
[Nexus 7 Q&A, Help & Troubleshooting] engagedtosmile:
My work PC is 32bit and my home PC is 64bit, neither worked. Also tried different cables and ports. I am not sure what else I can try at this point.
[Nexus 7 Q&A, Help & Troubleshooting] WastedJoker:
Get error erasing the various partitions and then when trying to flash the v version of bootloader.

The errors when erasing are "too many links" and the flash error simply says "error"

Edit: works fine on an XP machine.

Why the **** are android usb drivers so flaky on Windows 8 64-bit? They've always worked fine prior to a fresh install grrrrr.
[Nexus 7 Q&A, Help & Troubleshooting] Crazy_Rage:
I got to "Flashing to factory image" and my command of "fastboot erase system" hasnt finished. It's been about 10 minutes. nothing has been touched.

---------- Post added at 02:43 AM ---------- Previous post was at 02:17 AM ----------

This worked on my first week released Nexus 7 wifi that couldn't get passed bootloader! Thanks!!!
[Nexus 7 Q&A, Help & Troubleshooting] Mushroom.:
I seem to be stuck at the "X" splash screen, after successfully following all these steps, and successfully flashing the 4.3 stock image. I used the recommended 4.23 bootloader also. All commands went through successfully, but after rebooting I'm stuck on the X screen forever.

And yes, I've tried booting to recovery and wiping data/factory reset. No luck.

Can anyone help me? I'm on a Wifi-only model, if that matters.
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Mate, any success meanwhile, after one week of time...?

Did you try to repeat whole the flashing proceeding again?

Are you sure to have done all the steps in proper order?

Sounds like a "normal" bootloop, your Tab should be fine as long as the bootloader is OK.
[Nexus 7 Q&A, Help & Troubleshooting] RedSandStorm:
sending system

When I try this it keeps hanging up at sending 'system'. How do i fix this?
[Nexus 7 Q&A, Help & Troubleshooting] RedSandStorm:
I read on another forum to try using a smaller heavier gauge usb cord to fix this and it worked.
[Nexus 7 Q&A, Help & Troubleshooting] convit161:
I met this problem: "data transfer failure <too many link> (as the picture attached). How can I solve this?

thank all, I solved this problem :D
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
For the benefit of others, would you mind sharing how you solved the problem?
[Nexus 7 Q&A, Help & Troubleshooting] pelenor:
Hi there, thanks for awesome guide it is really helpful, but im struggling with smthng...

I somehow got into the "bootloop" problem, so i followed this guide to flash the stock rom (previously i was using stock also). It worked well, even it booted back up to the system. I was happy as f***, because it took me so long trying to fix it, when i found your guide. But unfortunately, i inserted simcard, restarted and got stuck on X again....tried flashing again but without succes../

any suggestions? its really frustrating because i saw it work, but now its just bootlooping again...thx for replies ;) still awesome guide..)
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
After successful update it takes after first boot at least 3-4 minutes by displayed "X" until the system starts.
[Nexus 7 Q&A, Help & Troubleshooting] pelenor:
This is weird, because when it rebooted after flashing the stock rom, it was booted fairly quickly, the X logo was there maybe 20 seconds and then the setup screen appeared...i was surprised it was so quick, so i seted up phone, conected to wifi etc.... but my simcard wasnt there, so i inserted it, turned it off and on and got stuck on the logo again./ ...anyway thx for reply
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Your Tab should be fine, don't worry so far. Try to reset it and reboot.

Just to be sure: do you have N7 grouper, model 2012?

sent from i9000 & CM10.2 & Semaphore 3.1.0s & bigmem patch
[Nexus 7 Q&A, Help & Troubleshooting] pelenor:
I will give it a shot. The grouper is the wi-fi model right? I have the GSM/HSPA+ i think the codename is tilapia.. it is the 2012 verison. I see i typed "phone" there, sry for confusion :) I will post here if it is working.

EDIT: not working so far, tried to wipe data partition from recovery, nothing happened, so i have done the whole procedure again, without any signs of a problem, but now it is around 10 minutes on the X logo screen ......it is so so so frustrating when i saw it working./ any suggestions? ...twm
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
[MENTION=5535533]pelenor[/MENTION]

I would love to help you at this stage mate, but I'm missing the necessary critical experience with this device to tell you what exactly to do now, as I don't own it myself. Did you flash also the radio-tilapia file and has the ADB displayed "success" after each stage of flashing?

Maybe [MENTION=4194102]comminus[/MENTION] could give you a tip, or someone else who was flashing the N7 often. Theoretically, your Tab should be fine as long as the bootloader is OK and it seems to be so. Stay cool now and browse other threads here on XDA forum and you may find the reason quite soon. I've had pretty all kinds of situations by flashing Samsung tabs and phones and helped dozens of people to unbrick / solve bootloop there.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Sorry to hear you're having so much trouble, [MENTION=5535533]pelenor[/MENTION]. Please try removing the sim card and re-seating it. Also try booting again without the sim. After trying those, if you're still stuck, remove the sim and flash the nakasig factory image.
[Nexus 7 Q&A, Help & Troubleshooting] pelenor:
Thank you very much for your help...so i tried everything, all the steps without any signs of error but...nothing worked...so i thought that I might try to flash older ROM...so i gave it a shot and flashed the 4.2.2 ROM and it worked fine, everything seemed to be working...but than the official update to 4.3 came and when it installed everything, all i can see now is a X logo again :X I´m starting to have feeling that some HW is not alright or idk what is happening...so sad now../
[Nexus 7 Q&A, Help & Troubleshooting] convit161:
when I extracted factory image .tgz file, it has bootloader-grouper-4.23.img, image-nakasi-jwr66y.zip, flash-all.sh, flash-base.sh and one other file named: flash-all.bat (I dont know why it has this file). After I deleted this file (flash-all.bat), I solved the problem :D
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
The batch file itself (flash-all.bat) does nothing unless you run it. It's not possible for that file to affect a fastboot command... Removing that file must have been coincidental.

Sent from my Nexus 5
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
Google just announced the update to 4.4 for the 2012 N7, among other devices. Since my bootloader is unlocked and I'm rooted with a custom recovery, will my N7 receive the OTA?