yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Q&A, Help & Troubleshooting] Dommla:
Here's what I tried:

C:\Fastboot>fastboot erase boot

erasing 'boot'...

OKAY [ 0.041s]

finished. total time: 0.041s

C:\Fastboot>fastboot erase cache

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

erasing 'cache'...

OKAY [ 2.526s]

finished. total time: 2.527s

C:\Fastboot>fastboot erase recovery

erasing 'recovery'...

OKAY [ 0.027s]

finished. total time: 0.027s

C:\Fastboot>fastboot erase system

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

erasing 'system'...

OKAY [ 0.015s]

finished. total time: 0.015s

C:\Fastboot>fastboot erase userdata

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

erasing 'userdata'...

OKAY [ 0.016s]

finished. total time: 0.016s

C:\Fastboot>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: 21.823s

Also used two different Pcs. The same error on both...
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
LOL, your bootloader is already unlocked! :D

PS edit your post and erase serial # as it is kind of your personal data ;)
[Nexus 7 Q&A, Help & Troubleshooting] Dommla:
24595533 415

Thanks, but this is absolutely impossible :confused:

If it's already unlocked why is the 'Lock State - Locked' and why does he says that it's locked when I try to flash a new one????

C:\Fastboot>fastboot flash bootloader 4.23.img

sending 'bootloader' (2100 KB)...

FAILED (remote: Bootloader is locked.)

finished. total time: 0.013s

Now I'm totally confused :eek:
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Ouch, indeed locked? Did you not run the commands one by one then? I would give it a try.

Youndefinitely must unlock it first.

BTW, careful by bootloader command when you get there: fastboot flash bootloader bootloader...bla-bla (full name of the file) so word bootloader will be probably written twice.
[Nexus 7 Q&A, Help & Troubleshooting] Dommla:
69645985 1638

Ja, don't know :confused:

I run them one by one with the result above.

The bootloader command is correct to, I renamed it.

Thank you so much for your time. I keep on trying and if I succeed I'll post the solution here.

Wish me luck :D
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Hmm.... I really hope our mate [MENTION=4194102]comminus[/MENTION] has a resolving solution. He has lots of experience with N7 and hope he will post something soon.
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Here's some things to try to eliminate some potential issues:

1. Use a different computer

2. Make sure you are using a USB2 or USB1 port. Some have had issues with USB3.

3. Use a different cable.

4. Try from Linux

If none of these things work, there is a good chance the issue is with the device itself. Unfortunately that would mean it would need to be sent to Asus for reflashing.
[Nexus 7 Q&A, Help & Troubleshooting] faturbansloth:
My Deepest Thanks

I would just like to thank you again for this simple and easy tutorial for beginners. My tablet had no operating system ( I'm a complete noob) and you helped me get my tablet back on its feet! :)
[Nexus 7 Q&A, Help & Troubleshooting] Dommla:
Unfortunately none of these things worked for me. Guess it's a hardware problem, maybe the emmc...

But thank's for your help
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Such pity... but give your N7 to the service, they will fix it.
[Nexus 7 Q&A, Help & Troubleshooting] dkkussner:
Problem with flashing

When I try to flash "bootloader-grouper-4.23.img" it says "cannot load....". All the steps above worked just fine but I just don't know why this isn't working....

Do you guys have any ideas? That would mean a lot to me..
[Nexus 7 Q&A, Help & Troubleshooting] jtpryan:
Same here

Yes, I have the exact same results as above. But when I try to do anything via the Skipsoft Toolkit it tells me the bootloader is locked. I cannot get into the OS to enable USB debugging. I could be enabled, but I don't remember. Is there anyway to enable USB debugging from this level? Or to at least find out the status of it? Nothing I do will unlock the BL.It just says "Unlocking now......".
[Nexus 7 Q&A, Help & Troubleshooting] d4ndr0id:
Device not found

Here's my problem:

I'm trying to fix my friend who soft bricked his 2013 wifi nexus. He tried updating to 4.4 and it updated the bootloader which broke it. it will not boot, i tried a factory rest though recovery, nothing.

I tried the unified android toolkit, but there's no option to flash the bootloader which is what lead me here.

My problem is, when i try using the adb command, it cannot pick up the device. It will not boot into the actual OS. i can only boot it fastboot mode.

Any way around this? How can i flash the bootloader if the adb commands cannot pick up the serial? I tried manually installing the google driver, it's intalled. clockwork version 2014.

Any help would be greatly appreciated.
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
You seem to know Samsung? Here is just a bit different, in the bootloader mode you should check the connection with

"fastboot devices“ (instead of "adb devices" )

Also each following command must start with "fastboot....", as you're in the bootloader mode now. For doing this, the fastboot.exe application should be included in your adb toolkit.
[Nexus 7 Q&A, Help & Troubleshooting] BhNeP:
Thank you so much for this tip!! I was almost sure I could use my Nexus 7 als a roof tile when it got stuck in bootloader mode and I couldn't follow the original instructions anymore. By changing those commands into "fastboot" commands I could finally install the factory rom.
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
[MENTION=1694327]BhNeP[/MENTION] you're very welcome mate :)

I will soon have much more my own practice with this wonderful little Tab and can help unexperienced users even more.... thanks to this wonderful guide by [MENTION=4194102]comminus[/MENTION] I've got in touch with the N7 and since this week I'm owner of the successor: N7 2013 razor flo :D

Thanks again, comminus, I will hit TY to few more posts of yours. This was my first fastboot flashing :)

Hey, BTW if anybody takes flo, by unlocking of the bootloader /data gets corrupted and you'll have your first bootloop perfect. Flashing a custom recovery and formatting /data and factory reset gets you easily out of there.

tetakpatalked from my N7100
[Nexus 7 Q&A, Help & Troubleshooting] Stakoman:
Hi there I have a problem with my nexus 7 wi-fi version (2012) yesterday showed me a error and i decided to reboot it, well ...bad luck to me :( because now it just won't boot up it keeps rebooting...I tried the "Settings menu or by using the Power and Volume buttons to access Recovery mode." and Erase data in the Settings menu...but nothing it just keeps rebooting :(

another problem I have usb debugging isn't enabled : / but i have unlock the bootloader

im running android 4.4.2 stock

I need help guys :confused:
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
[MENTION=4402384]Stakoman[/MENTION] do you have custom recovery? A nandroid backup done? Otherwise formatting /data could solve it. But it would erase all your data and settings.

Fastboot commands will work normally in bootloader mode, despite USB debugging is disabled.

tetakpatalked from Nexus 7
[Nexus 7 Q&A, Help & Troubleshooting] dejan16v:
Powering off

Press and hold for 10 seconds

(Volume Up + Volume Down + Power)

Then it will power off.

After that, to enter bootloader, you just press

(Volume Down + Power)
[Nexus 7 Q&A, Help & Troubleshooting] Stakoman:
No I dont have custom recovery and I dont have a backup (i will search in my external disc and tomorrow i will post but i dont think so)

what are those Fastboot commands that you are talking?

:confused:

I did that and it just keep showing the 4 dots from google (animation) and nothing more...

tomorrow I will post a video to show you guys because i saw a white thing like 1 second long and then the animation keeps showing...i dont know how to explain better

Thanks guys
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Come on, mate.... Don't tell me you didn't even read the opening post here? :)

tetakpatalked from P5110
[Nexus 7 Q&A, Help & Troubleshooting] Stakoman:
I did but i don't understand very good (english is not my main language)
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Language difficulties, I see..... Well, let us try:

If you don't want to loose all your data, settings etc, it would be worth at least to try to flash just a system, kernel, etc, but not to erase your userdata.

Do you have installed USB drivers and do you know how to use ADB / fastboot?

Comminus has described everything about it in the first post here. Actually the biggest part regards the drivers. Please use google (or other) translator for a help. Unfortunatelly, google seems to translate from any language into english very good. But from english to other languages: not so good.

tetakpatalked from P5110
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
[MENTION=5793178]indian_tiger[/MENTION] try to flash a custom recovery like TWRP or PhilZ and wipe all with it and make sure to format /data manually.

tetakpatalked from Nexus 7
[Nexus 7 Q&A, Help & Troubleshooting] abvfx:
My nexus is stuck at the Google logo with Arrow options. No matter what option i select "Recovery mode" "Start" just returns to the options. "Restart Bootloader" turns the device off as does "Power Off".

So i want to do a factory reset but i cannot enable USB debugging as i cant even get into Android (BTW im running Stock no ROMS). Therefore i cannot get adb devices to show anything. I can however get fastboot devices to show the device in Win7. But attempting to do a fastboot oem unlock results in a FAIL.

Is there anything i can do. Go easy i have tried to search this specific problem but have been unsuccessful. I appreciate any advice you might have.
[Nexus 7 Q&A, Help & Troubleshooting] RimmoPal:
Thanks! :)
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
[MENTION=5840614]abvfx[/MENTION] try different USB port, or cable. Don't use USB 3 port for this. Windows causes often problems. I have posted short ago a guide how to run fastboot easy from Ubuntu when Windows refuses the service.

tetakpatalked from Nexus 7 flo
[Nexus 7 Q&A, Help & Troubleshooting] Stakoman:
Hi there sorry but this week was crazy with exams and i couldn't get here for a minute :eek:

EDIT: I can't pass trhoug step 2

because i cant enable usb debugging on my device what can i do ?:confused:
[Nexus 7 Q&A, Help & Troubleshooting] abvfx:
Thanks i will give it a shot. If Windows doesnt work out, can it be run in Xubuntu?
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
If it is a driver related problem, Ubuntu can help a lot. But your driver seems to work fine, as the device gets recognized in fastboot mode. Give a try with another port, cable etc. and let us know did it help.

tetakpatalked from the legendary i9000
[Nexus 7 Q&A, Help & Troubleshooting] Stakoman:
I'm trying to use the cmd but it keeps failing it says its not found the directory...i really dont undertand
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
You must change directory / navigate first into the folder where adb.exe and fastboot.exe are saved.

Example: if your whole SDK folder is saved on C:

(open cmd with Win+R buttons) then enter:

cd c:\sdk\platform-tools

tetakpatalked from Nexus 7 flo
[Nexus 7 Q&A, Help & Troubleshooting] Stakoman:
Thanks mate...it worked! this forum would be even better with more people like you:angel::angel:

My nexus7 is now alive!!!!!
[Nexus 7 Q&A, Help & Troubleshooting] abvfx:
So i have tried on multiple machines and multiple ports. I cant enable USB debugging since i cannot actually run the nexus. (I just get the google logo with start and the other menus but they do nothing when selected).

I can get the device to recognize via fastboot.

But when i do fastboo oem unlock it gets to "unlocking..." then fails.

It can erase userdata, cache but when it gets to the unlocking part it fails after about 300 seconds.

All i can see on the device is the android robot ling down with no exclaimation mark. Is this thing bricked, can i get it fixed in some way?

Or do i have to go into ubuntu/xubuntu to run the tools?

Thanks for all the help so far.
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
[MENTION=5840614]abvfx[/MENTION] it should work without ADB, also you don't really need USB debugging for fastboot to work, only Google driver for your device must be properly installed. OP describes how to do it.

I would strongly recommend you to update/install the USB driver to make fastboot working before proceeding any further steps. Of course, fastboot can't work properly before that point.

If you can't install the driver in Windows, I have made a little guide how to run fastboot from Ubuntu. Check under my threads.

tetakpatalked from Nexus 7 flo
[Nexus 7 Q&A, Help & Troubleshooting] abvfx:
Yep i diligently followed all the steps. USB driver is installed successfully. Is the only option Ubuntu/Xubuntu?
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Well.... people have been reporting recently quite frequently that Windows makes quite big problems, especially 8.1

I would say it is worth at least trying to run it in Ubuntu (either in VirtualBox or from Live-CD) as it costs less time than re-installing another version of Windows (...what some users really did!!)

That is why I wrote the little guide how to run fastboot from Ubuntu:

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

It is really installed within one minute, without need to download any extra files.

Fastboot always works in Ubuntu, no drivers are needed :D
[Nexus 7 Q&A, Help & Troubleshooting] abvfx:
I was using Win 7 but i decided to boot into linux and see if your ubunutu method could help me.

Alas still the same errors :(.

fastboot oem unlock
...
(bootloader) erasing userdata...
(bootloader) erasing userdata done
(bootloader) erasing cache...
(bootloader) erasing cache done
(bootloader) unlocking...
FAILED (remote: ()
finished. total time: 389.879s

So what are my options now? Send it to Asus? Trash/Bin? I dont know what to do now :(.

Again thank you for all your help.
[Nexus 7 Q&A, Help & Troubleshooting] andrewes:
Not 56 thousand

56.000seconds -> about 15hours O.o i should let it 15 hours?[/QUOTE]

56.000 seconds is 56 seconds, with zero additional decimal seconds, or fours seconds less than a minute. Your interpretation of the number representation may be influenced by your locale. It's not 56 comma 000, it's 56 decimal 000.

That's actually fast. I have a phone that it takes 120-132 seconds to write the system partition.
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Pity it didn't work, mate. It looks like we could have a hardware issue. But definitely try also with another USB cable and different port (void USB 3 for that)

In the case that nothing helps, sending it to Asus is probably the best thing you can do.
[Nexus 7 Q&A, Help & Troubleshooting] Beccy1712:
Will this still work if I can't get to usb debugging? (due to being stuck in a bootloop)

I can get into my unlocked bootloader but the computer won't recognise my device when entering adb devices on my command prompt.

My tablet appears to be in a bootloop and despite doing a factory reset will still not boot properly.

:(:(
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Yes, fastboot should work regardless of the USB debugging settings, also if it is disabled. The main point of the ADB part of the OP by comminus was installing drivers. Otherwise, you wont need adb.exe for bootloader mode, just fastboot.exe

In bootloader mode there are no commands beginning with "adb" so you should execute "fastboot devices" to check the connection.

tetakpatalked from Nexus 7 flo
[Nexus 7 Q&A, Help & Troubleshooting] Recl@imer:
OTA update

Guys,

I hope this is the right thread. Sorry if this was already asked and answered. I rooted my nexus 7, but did not install a custom recovery. With 4.4.3 around the corner, will i be able to download and install the update as usual? or will there be a problem?

thanks.
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Please determin "update as usual"

The method from the OP is usual, as well as OTA update.

tetakpatalked from Nexus 7 flo
[Nexus 7 Q&A, Help & Troubleshooting] AntonioGPS:
There is something too weird here that I cannot control....

History..

- I purchased Nexus 7 with 4.1.1

- I rooted it using Nexus Toolkit successfully

- With my rooted device, all automatic attempts to update to 4.1.2 through OTA failed...

So I decided to flash stock ROM to update to 4.1.2

- I could not get it using Nexus Toolkit with the file this kit downloaded for me

- I eventually got it by opening a cmd windows using fastboot commands with a ROM file I directly got from google developers (the file I got using the Toolkit has a different size and md5 values)

And I've been working with 4.1.2 without problems. I kept the rom file I used succesfully into my computer

Then, I rooted again Nexus 7 through Toolkit,, No problems whatsoever...

Today, I have received an OTA update to 4.2, but CMW started and the whole process failed again...

SO I decided to download the JOP40C (4.2) stock rom file. After checking file size and md5 valued, I tried to flash my Nexus

- The process failed using manually given fastboot commands even though I know the procedure and was working before..

- The process failed using Nexus Toolkit

- The process failed using Nexus Root Toolkit v 1.5.5 developed by WugFresh. I noticed that this utility do a format to the userdata and cache partitions

In all cases, the Nexus stuck in the "X"screen for hours

Since I had no success, I did flash again using the same JZO54K file that I had sucessfully used previously by either, giving cmd commands myself or using the WugFresh toolkit

To my surprise, the Nexus stuck in the "X" screen for hours and I cannot get control of it..

I revised all commands. Everything went through wipes and Okays..

Don't ask me whether the Nexus was into bootloader and with the right bootloader, because it was.. I have flashed the Nexus previously..

¿¿¿????

Note: WufFresh format some partitions. Can somebody enlight me with a way to format the whole Nexus or any of its individual partitions through fastboot commands ? ¿Could that be the cause?
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Really strange. You can format partitions using

> fastboot format

Which part of the 4.2 update failed for you?
[Nexus 7 Q&A, Help & Troubleshooting] AntonioGPS:
The whole thing. I mean that I eventually can flash my Nexus with all parts without problems. Wipes are Okay, so does all messages when flashing. SO there is nor a part of the 4.2 update that fails..

I can flash my Nexus with the whole 4.2 ROM file, and the Nexus eventually boot. And it does twice. The google text first appears, then the "X". After a few seconds, a new reboot takes place with the Google text, and then, the "X" remains alive forever

The case is that the same happens now with the 4.1.2 rom ...

I'll try the format now but there is not "fastboot format" recognized by me fastboot version..
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
You can get the latest version by updating platform-tools in the Android SDK or download this http://dl-ssl.google.com/android/repository/platform-tools_r16-windows.zip

The fastboot format command needs a parameter as well. for example, to format the cache partition you'd enter

> fastboot format cache
[Nexus 7 Q&A, Help & Troubleshooting] AntonioGPS:
I eventually fixed it, and I have my Nexus 7 working seamless with 4.2

(by the way.. a surprise come with 4.2. Most of all of my Nexus 7 installed applications have been installed automatically from Google Play. Not talking about Titanium Backup..)

What I did?

- Use the latest Android platform tools (adb and fastboot) taken from the URL shown above..

- I run fastboot format for every partition of my Nexus before flashing it that I was allowed to. Some partitions were not formated

- Sent fastboot erase for each partition as usual

- It were required a couple of reboots into bootloader at the time of sending the zip image.. I had to repeat this latter process at least three times because the sending of the system files stuck in a couple of ocassions
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Glad to hear you're back up and running! :good:
[Nexus 7 Q&A, Help & Troubleshooting] sto1911:
Can I use this method to return from stock 4.2 to 4.1.2?

What if my PC crashes during the update process? Is there a method available to flash directly from device? I suspect I cannot reset nor RMA my device if something goes wrong :(

Thank you in advance.
[Nexus 7 Q&A, Help & Troubleshooting] Travisdroidx2:
Yes you can easily restore to 4.12 using this method. Also once you are set up it oy takes a couple if minutes to flash very fast and easy. Also I did this right before I RMA my first device. This will erase all signs of you rooting and flashing custom recoveries and ROMs etc...
[Nexus 7 Q&A, Help & Troubleshooting] darkj2k:
The N7 will reboot automatically after step 4 so you cannot continue step 5 or 6. For step 5 you need to reboot bootloader again after step 4.
[Nexus 7 Q&A, Help & Troubleshooting] respider:
hey guys, this is my second week with nexus 7, sorry for noobness.

if I have a custom 4.1 rom and want to install stock 4.2 without losing my data (sdcard), what's the safest method?

is there a flashable stock rom? or I can follow the method in this topic?

I have unlocked bootloader, root and custom recovery.
[Nexus 7 Q&A, Help & Troubleshooting] AntonioGPS:
If you follow this method, then you will wipe all the content of your Nexus 7, losing all your data

You can save your data into your PC using a USB connection, though, and then flash the unit and recover the content afterwards

Don't use Titanium backup if a backup of system files is included in the backup as you will enter into trouble by replacing those system files by the older one..
[Nexus 7 Q&A, Help & Troubleshooting] respider:
thank you!

usually I just backup my user apps with titanium

I thought there would be a easier way to flash other roms. I have a galaxy s3 and I can change from rom to rom just by flashing it in custom recovery and after that restoring titanium backup, sdcard never wipes.

Is there a way to do this in nexus?
[Nexus 7 Q&A, Help & Troubleshooting] leroy_sunset:
I used the Nexus7 toolkit to revert... worked great. Naturally, it wiped the device, but cest la vie.

http://xdaforums.com/showthread.php?t=1809195
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Cool story bro. Not sure what it has to do with this thread though. Two suggestions: avoid toolkits and thread hijacking.
[Nexus 7 Q&A, Help & Troubleshooting] AndiS21:
Hey guys, my Nexus 7 is locked, i cannot boot into the rom, nor can i access recovery. I have tried fastboot commands and several toolkits to try and unlock bootloader, but all have failed, i get the message unkown error. :S Anyone have any ideas how to solve this :) ?
[Nexus 7 Q&A, Help & Troubleshooting] Balinov:
would recommend to reinstall adb drivers as well as ADK (using the installer file, advised somewhere on page 2 or 3) I've tried mine, downgrade from 4.2 2 4.1.2 and works like a charm.
[Nexus 7 Q&A, Help & Troubleshooting] AndiS21:
I have tried this one multiple PC's, the only mode that works is fastboot, usb debugging isn't enabled and cannot due to the inaccessable ROM. I still get unkown error on it :S
[Nexus 7 Q&A, Help & Troubleshooting] comminus:
Could you please paste the errors here so we can see them?
[Nexus 7 Q&A, Help & Troubleshooting] AndiS21:
Unfortunatley there are no concrete errors just unknown. :S On the Nexus 7 it says Unlocking.... but it doesnt unlock.
[Nexus 7 Q&A, Help & Troubleshooting] Ather:
just a quick note, if you are flashing a 3g version back to stock, there is an extra command
[Nexus 7 Q&A, Help & Troubleshooting] Recl@imer:
I meant the same way as stock unrooted. Just download the OTA, and hit install. My concern is if rooting my tablet and then try to install the OTA will cause any problems.