yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Q&A, Help & Troubleshooting] Androgoo:
Hey I tried the guide to flash to factory image nakasi. Every thing goes through fine but when tab reboots it still has old omni ROM on it. 4.4.2. I also tried to update twrp to v. 2.8 from 2.7 in fastboot but no joy. It stays on 2.7 on reboot even though fastboot flashes it and says OK done. Also I cannot relock the boot loader. I give the command in fastboot OEM lock its says OK button reboot its still unlocked. But I can boot into a new version of twrp or cwm touch temporarily using wgh tool and click boot custom recovery temporarily and it does it. But can't flash it permanently. What shall I do. Feel like smashing the tablet with a hammer. I am pissed because my son has no tablet any more. I was the one who put omni ROM on it. So I take the blame for ruining it. It was working fine but suddenly it rebooted on it'd own after few weeks and since then nothing works on it. Just the stuff that was on it. Can't install anything new. I wonder why I can't even change custom recovery from twrp permanently to a new version. Please give me your guidance.

---------- Post added at 03:16 PM ---------- Previous post was at 03:06 PM ----------

Hey just another point. I can install apps when in android from play store but it gets deleted upon reboot. Basically I can't install anything new since I installed omni ROM. My system is in read only mode . I am rooted and boot loader unlocked. I can't downgrade my boot loader to 3.18. When I apply that file in fastboot and reboot to boot loader it still shows 4.23. I can't even flash new twrp version as it doesn't stick either. I opened the back cover and disconnected the battery but it didn't fix anything. I can install custom recovery temporarily through wgh tool but not permanently. The temporary one does not wjpe anything either. Help Help
[Nexus 7 Q&A, Help & Troubleshooting] :
You will lose everything on the device, so transfer important things to your computer first.... But have you tried to lock the bootloader. Reboot and confirm is locked, then unlock it again?

---------- Post added at 10:20 AM ---------- Previous post was at 10:19 AM ----------

Plus, you have a thread on this... Not sure why you've started up the discussion here again. You will get people needlessly repeating the same advice.

---------- Post added at 10:21 AM ---------- Previous post was at 10:20 AM ----------

Right here is your thread already.... So others can read it and not waste time giving you the same advice again... ?

http://xdaforums.com/showthread.php?t=2873088
[Nexus 7 Q&A, Help & Troubleshooting] Androgoo:
Hey do you have another solution since I followed the thread on page 1 and didn't succeed
[Nexus 7 Q&A, Help & Troubleshooting] :
Yes, what I just posted on my last post.

If that doesn't work, you possibly have some strange hardware issue where the device has turned read only. Never heard of that before... But all the suggestions you've been given should work.

Might be time to shop for a new one, or send it in to a service centre.

Not sure what else you can do, sorry.
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
[MENTION=6017005]Androgoo[/MENTION] your internal memory is corrupted, or broken. Check my last few posts in this thread. If formatting with custom recovery doesn't fix it, service center will easily do.

Why hammer? That won't help anybody.

tetakpatalked from N7100
[Nexus 7 Q&A, Help & Troubleshooting] Androgoo:
Hey thanks for the tip I will try to boot into recovery image from fastboot. Anything else you can suggest.
[Nexus 7 Q&A, Help & Troubleshooting] Androgoo:
Hey I booted into Phil's recovery image directly using fastboot. Wiped everything using all the commands but it didn't wipe anything. I suspect its the bootloader image 4.23 which is faulty. Any way to put v. 4.18 over the 4.23. Right now when I try to put the boot loader 4.18 it says writing boot remote failed.
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
I don't think so, mate- it sounds like corrupted internal memory for me. It should be quite easy to let it be replaced in the service.

tetakpatalked from N7100
[Nexus 7 Q&A, Help & Troubleshooting] tdshawty:
Im reading through the steps and I'm stuck at debug device, is this step needed to restore ? my tablet is stuck on fast boot
[Nexus 7 Q&A, Help & Troubleshooting] :
As long as the command "fastboot devices" returns your serial number, you're good. ?
[Nexus 7 Q&A, Help & Troubleshooting] dettomilo:
the guide is perfect, but on my GN i can't do the last step

in fact, my bootloader does not update. Even if I flash primemd04.img, my bootloader is still primela03.

What can I do?
[Nexus 7 Q&A, Help & Troubleshooting] Shadey1:
So I'm in driver hell it seems.

I've got everything installed and updated, I picked a cheapish N7 (2012) 32gb for the girlfriend, but it seems the prior owner rooted it.

My plan is back to stock, she'll want sky go working on it, and i also see it's stuck on 4.2.1.

The built in updater is failing when it reboots after the download.

I tried WUG's nexus back to stock tool, I've tried to flash myself, but everytime it goes into bootloader my PC cannot see it.

In normal mode I get a list and the device ID, reboot to bootloader and it's gone. It does seem to be in device manager. I've uninstalled and reinstalled a few times with no success.

I'm not a total noob to these things, but I only tend to do them once in a bluemoon and I'm stumped.

I also tried to unroot using the app that was on, and decided to reroot again incase that was the issue. It now says 'there is no su binary installed and supersu cannot install it' which seems to imply even the root fails when I use the Nexus Root Toolkit. Somethings broken I can't figure out what though!

Any help/suggestions?

EDIT: I figured out the issue the bootloader was out of date! Fully back to stock in time for Lollipop. That should keep her happy.
[Nexus 7 Q&A, Help & Troubleshooting] snm77:
Will this allow me to remove encryption?

While researching how to remove encryption, I came across these instructions. I know the passcode to access my Nexus 7, I don't have a stolen unit :)

I want to restore the device to factory because on Android 4.4, TRIM can't run against an encrypted volume. My Nexus 7 is slower than my original Kindle Fire running android 4.0.2 - that's just unacceptable. Even with 5 gigs of space available, the N7 is simply unusable.

I already have TWRP installed as well - it looks like from the instructions that's OK, it's going to get removed, but I want to be sure. Thanks very much for this helpful guide!
[Nexus 7 Q&A, Help & Troubleshooting] rokurota:
Help please

Hey everybody

I have been reading and i need some help

I have a nexus 7 wi fi and it started rebooting and going on black then i tried a recovery and it work fine 2 days then stardted to doing the black screen and rebooting at some point it just stayed on ''google'' but i can enter the bootloader i think it is a softbrick the thing is i started reading all the posible ways to unbrick it and i saw this guide i installed the driver but i cant enable the usb debbugging because its bricked , then i try to do the adb devices under the platform tools directory and it doesnt detects my device so i think its because of the usb debugging.

please somebody could help me fix my nexus 7

thanks to everybody and the forum
[Nexus 7 Q&A, Help & Troubleshooting] cptsashimi:
You won't need USB debugging for the fastboot commands, so just manually enter fastboot mode then pick up the instructions from there.
[Nexus 7 Q&A, Help & Troubleshooting] rokurota:
Thank you for your response but the thing is on the cmd when i input adb devices it is not detected it doesn´t matter? should i just keep on going?

ill try it right now

thanks again
[Nexus 7 Q&A, Help & Troubleshooting] :
It's fastboot devices you want to try. ?
[Nexus 7 Q&A, Help & Troubleshooting] rokurota:
unlocking now... not unlocking?

please i need more of your expertise

im doing the fastboot method but my nexus 7 keep saying unlocking now... the i continued the fastboot and its appearing all this:

C:\Documents and Settings\Administrator\Local Settings\Application Data\Android\

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: 7.922s

C:\Documents and Settings\Administrator\Local Settings\Application Data\Android\

android-sdk\platform-tools>fastboot erase boot

erasing 'boot'...

OKAY [ 0.016s]

finished. total time: 0.016s

C:\Documents and Settings\Administrator\Local Settings\Application Data\Android\

android-sdk\platform-tools>fastboot erase cache

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

erasing 'cache'...

OKAY [ 0.000s]

finished. total time: 0.000s

C:\Documents and Settings\Administrator\Local Settings\Application Data\Android\

android-sdk\platform-tools>fastboot erase recovery

erasing 'recovery'...

OKAY [ 0.016s]

finished. total time: 0.031s

C:\Documents and Settings\Administrator\Local Settings\Application Data\Android\

android-sdk\platform-tools>fastboot erase system

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

erasing 'system'...

OKAY [ 0.016s]

finished. total time: 0.016s

C:\Documents and Settings\Administrator\Local Settings\Application Data\Android\

android-sdk\platform-tools>fastboot erase userdata

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

erasing 'userdata'...

OKAY [ 0.016s]

finished. total time: 0.016s

C:\Documents and Settings\Administrator\Local Settings\Application Data\Android\

android-sdk\platform-tools>fastboot flash bootloader bootloader-tilapia-4.23.img

sending 'bootloader' (2100 KB)...

FAILED (remote: Bootloader is locked.)

finished. total time: 0.016s

and my tablet keep saying unlocking now.... on the top right... i input yes on the screen that appears that i want to unlock but it just don´t happens.

thanks
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
[MENTION=6136615]rokurota[/MENTION] the command:

fastboot oem unlock

is the one that you need. However, it would have been better to do it as the first step.

tetakpatalked from N7100
[Nexus 7 Q&A, Help & Troubleshooting] rokurota:
i did it at the first step my tablet says unlocking but it never unlocks
[Nexus 7 Q&A, Help & Troubleshooting] :
Does the command "fastboot devices" return your serial number?
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Probably it does, as it was erasing successfully.

tetakpatalked from N7100

---------- Post added at 06:38 AM ---------- Previous post was at 06:34 AM ----------

The bootloader unlocking step usually wipes all data and reboots the device.

If I remember well, after entering the command, unlocking has to be confirmed by pressing the power button on the device.

Did you do so?

tetakpatalked from N7100
[Nexus 7 Q&A, Help & Troubleshooting] rokurota:
yes i did everything and at some point my devices says unlockin now on the top right corner then stays like that never reboots and unlocks...
[Nexus 7 Q&A, Help & Troubleshooting] cptsashimi:
It's been so long since I've unlocked mine that I can't remember exactly but it does seem like I had to confirm that I wanted to unlock on my tablet, and you said you did that. So I don't know what to tell you.

I have seen where some people have had success trying other USB ports and other USB cables or some combo thereof.

It's worth a shot.
[Nexus 7 Q&A, Help & Troubleshooting] nitu12345:
Help?

Hey everybody

I need some help :confused::confused:

i have nexus 7 (2012) wifi version ,

when i Run the SDK Manager (installer_r21-windows)

Under Extras, there is no box labeled as "Google USB Driver" all i get is Android Support Library

so plz tell from where shall i get "Google USB Driver"?

plus

i have downloaded nexus usb drivers from "http://support.asus.com/Download.aspx?SLanguage=en&m=Nexus+7"

can i use those drivers in place of them .?

i have provided screenshot of all files of those usb drivers, have a look.:)

Thankyou
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
If you would use google search machine, you would need extremely short time to find it....first result.

tetakpatalked from N7100
[Nexus 7 Q&A, Help & Troubleshooting] nitu12345:
Which adb drivers should i use to install ?

i have 2 queries please clear them

1 Which adb drivers should i use to install

one i got from SDK manger in <your sdk directory>\extras\google\usb_driver

and

2nd when i read ( http://developer.android.com/tools/extras/oem-usb.html )

it says " If your device is one of the Android Developer Phones (purchased from the Google Play Developer

Console), a Nexus One, or a Nexus S, then you need the Google USB Driver, instead of an OEM driver."

hence i downloaded them from Asus --	http://support.asus.com/download/

Which one to use ?

so now i am all confused , i am using Nexus 7 wifi version 2012

2.- can i use this procedure to flash android 4.4.4 iam using android 4.3 presently:confused::confused:

Thankyou
[Nexus 7 Q&A, Help & Troubleshooting] Natakranta:
Don't bother with 4.4.4.

5.0 factory images are out :)

Procedure is universal. Be sure drivers work for both, adb and fastboot mode.

When tablet is booted to system type:

adb devices

in cmd window. The result should be serial number of your Nexus 7. If there's nothing or "waiting for device" you need to reinstall drivers for adb. If adb works go to bootloader (also called fastboot mode) by typing

adb reboot bootloader

in cmd window when tab is booted to system. It will reboot to bootloader.

Now check if fastboot drivers are working. Type in cmd window:

fastboot devices

and it should display your tab serial number. If it does you are good to go with the flash-all.bat (all your data, pictures, videos, music will be wiped-gone-erased, so copy all you want to you PC befor)

If adb is working but fastboot not, try switching conection mode from MTP to Camera, its in Settings/Storage, menu (3 dots) and try again with fastboot.

I just did a dirty flash coming from rooted 4.4.4

formated system

flashed system

fashed boot

formated cache

flashed TWRP 2.8.1.0

booted to TWRP straight away, flashed SuperSu 2.16

Rebooted to system

It took it 16 minutes to build ART on existing apps. So far so good. It works.

Root is not working. I'm guessing due to enforcing selinux. Custom karnel is needed to fix it. I need to read development forum. It's my wife's tablet so I' wasn't putting much attention to it. It was running Stock KitKat just rooted.
[Nexus 7 Q&A, Help & Troubleshooting] superuser.pm:
great !!!

android 5.0 for N7 wifi

go to page to download image : https://developers.google.com/android/nexus/images
[Nexus 7 Q&A, Help & Troubleshooting] teekex:
Hi all,

I would like to share with you my today's experience with upgrade to N2012 (wifi) to LRX21P.

At first I want to go back to stock ROM from CM. I followed the instructions on first topic, start with JWR66Y, then KRT16S and there I was stucked. I tried to flash KOT49H bootloader, but I've got "Signature missmatch". I want to reach LRX21P, but can't go through bootloader upgrade.

So I was on KRT16S with bootloader and system. Then I tried to use "flash-all" from LRX21P package (commands are the same as on the first post of this topic), of course I've got "Signature missmatch" when the script tried to flash bootloader, but it was skipped by script itself and then was flashed system file.

Now I have bootloader from KRT16S and system from LRX21P, conclusion - everything works great.

Idea to think about, where is the problem with not upgraded bootloader?
[Nexus 7 Q&A, Help & Troubleshooting] apis10:
I have unlocked bootloader, stock image but no root (was planning on selling it).

I haven't received the OTA yet.

Will the update make it through or do I have to relock the bootloader??
[Nexus 7 Q&A, Help & Troubleshooting] a1exus:
I'm getting FAILED while trying to flash bootloader (bootloader-grouper-4.23.img)

mbp:nakasi-lrx21p alexus$ fastboot flash bootloader bootloader-grouper-4.23.img
sending 'bootloader' (2100 KB)...
OKAY [ 0.293s]
writing 'bootloader'...
FAILED (remote: (InvalidState))
finished. total time: 0.430s
mbp:nakasi-lrx21p alexus$ echo $?
1
mbp:nakasi-lrx21p alexus$
[Nexus 7 Q&A, Help & Troubleshooting] zyenide:
thanks very much. other guides were not so clear. they assumed too much. got used to using toolkits but not knowing where things were going wrong. great guide. flashed my nexus 7 with stock lollipop!
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
The easiest way would be if you flash LRX21P manually (Lollipop) just the same way as described in the OP. After that you can lock the bootloader.

tetakpatalked from Nexus 7 flo
[Nexus 7 Q&A, Help & Troubleshooting] dimedropper:
I flashed the lollipop factory image for the Nexus 7 2012 Wifi and after doing the steps I'm stuck in the boot animation. Here are the files included in the flash-all.sh (I'm using a Mac):

./fastboot oem unlock

./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

sleep 10

./fastboot -w update image-nakasi-lrx21p.zip

I'm assuming that there is a file there that shouldn't have been in there that is causing the boot loop.

Now I am stuck in either the boot animation or the fast boot mode (I tried going into recovery but I just get Lloyd on his back with a red triangle on his chest) and can't do anything. How do I unblock my Nexus 7?
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
When you get the dead android, push power and volume down button. It'll take you to the stock recovery. Once there wipe data and factory reset. That should fix the long boot up process and then boot you into the OS. Good luck!
[Nexus 7 Q&A, Help & Troubleshooting] dimedropper:
Thanks for the reply.

Did what you said and it reboots back to the dead android. I tried pressing longer and it went back to the boot animation.

Still stuck in either Fast boot or Boot Animation.
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
I may have been wrong on the button combo, try power and volume up instead. I think the issue with the stuck in a long boot is that, as you said something didn't wipe properly, but when you get into the stock recovery, you can fix that by wiping data and factory reset. If all else fails, flash again, but do the ./flash-all.bat method, and it'll take care of wiping everything, including userdata. Hopefully that'll fix it.

Edit: check out this article: How to manually update your Nexus http://www.androidcentral.com/how-manually-upgrade-your-nexus, has the instructions halfway down the page, including the ./flash-all.bat option.
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
[MENTION=257526]dimedropper[/MENTION] is the 4.23 bootloader the right one for LRX21P?

If yes, formatting /data in recovery could do the trick.

tetakpatalked from Nexus 7 flo
[Nexus 7 Q&A, Help & Troubleshooting] dimedropper:
I'm assuming that the boot loader is compatible. I got the image from the developer site of Google.

[MENTION=4180510]xolanir[/MENTION] - Thanks. Will try it again now.

UPDATE: Got into recovery and did a wipe and factory reset. Also did a wipe of partition. Then reboot the system but still stuck in the boot animation. I can't re-flash because the tablet is not being recognised by my laptop. When I go to do a ./adb devices nothing is coming up. No serial number or anything.
[Nexus 7 Q&A, Help & Troubleshooting] teekex:
Keep in mind, that the first start after flashing takes like 10-20min.

You should be able to use ADB functions while you are booted into BootLoader (not Recovery or elsewhere).
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Nope, in bootloader mode only fastboot commands are working, ADB works only in OS and in recovery mode.

tetakpatalked from Nexus 7 flo
[Nexus 7 Q&A, Help & Troubleshooting] dimedropper:
I did let it run (with those 4 dots running around like crazy) until the battery ran out and nothing happened. When I try to execute adb I get a no folder existis. Also doesn't recognize the device when I run devices.
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
If you can still get into the bootloader, you're still good. Once in bootloader, run the cmd functions, and reflash the OS, and see if that may help. Like [MENTION=5051515]tetakpatak[/MENTION] said, when in the bootloader, you run fastboot commands, like fastboot devices, etc. ADB functions work while the device is running in the OS itself. Sometimes a clean flash cures all.
[Nexus 7 Q&A, Help & Troubleshooting] dimedropper:
Ok, just to clarify:

I go into boot loader and plug it in my laptop.

I run fast boot commands while in the boot loader.

*is this the correct string (On a Mac) ./fastboot devices,= and then ./fastboot unlock

Then I run the flash command ./flash-all.sh

I think I found what is wrong. I opened the flash-all.sh script and it had this: fastboot -w update image-nakasi-lrx21p.zip

If I am not mistaken this is for 3G tablets (I read it somewhere that the -w only for radio models)

Is this correct? If it is, then it's weird because I got by image from the Google developer site.
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Nakasi = WiFi only model (Nexus 7 2012)

Nakasig = 3G and WiFi model (Nexus 7 2012)

BTW you were missing "oem" in the cmd command:

fastboot [COLOR="Red"]oem[/COLOR] unlock

tetakpatalked from Nexus 7 flo
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
Just curious, are the files you're flashing in the root of the platform tools folder, or inside another folder within platform tools. If this isn't your first rodeo, then disregard, but from looking at the log (if I'm reading it right), it can't find the files that are being requested to be flashed. Hope this helps! [emoji4]
[Nexus 7 Q&A, Help & Troubleshooting] dimedropper:
Yup, the files are inside Platform Tools. I've got the bootloader image, flash-all.bat, flash-all.sh, there was another rext file and the nakasi.zip file. All of those were together with the adb and fastboot files under platform tools. It was tge same way I did it during the first go but did not encounter those error messages.
[Nexus 7 Q&A, Help & Troubleshooting] xolanir:
The other thing I could recommend, if your Mac can dual boot, is the NRT (Nexus Root Toolkit), found here: http://xdaforums.com/showthread.php?t=1766475 in windows, and it can flash everything you need for you, save the installation of the appropriate drivers on the windows side of the equation. Or find a windows machine cos the developer doesn't have a Mac version yet. I had the same issue you're experiencing with it locked on the start up screen for +/- 30 - 45 mins, after trying to flash TWRP recovery through cmd. Used the NRT, and everything was right and rain.
[Nexus 7 Q&A, Help & Troubleshooting] mharis05:
Can you please link me to the KRT16S bootloader? I am on 2012 Nexus 7, also coming from CM, first got the signature mismatch problem and after trying several bootloaders all I get is Google boot screen with the "Start" from fastboot mode on the same screen.

I can navigate the fastboot menu from the Google screen! But i cant boot into android or into recovery, it gives "Booting Failed" on the top left of the screen.

Please help :(
[Nexus 7 Q&A, Help & Troubleshooting] tetakpatak:
Don't worry, the best you can do is to flash an entire stock firmware. The OP of this thread is quite a perfect way to go. Stock firmwares contain a compatible bootloader.

tetakpatalked from Nexus 7 flo
[Nexus 7 Q&A, Help & Troubleshooting] mharis05:
Thanks a lot for the response! :)

However, I was trying to flash the stock firmware, which happens to have a corrupted bootloader as far as I have found out after hours of searching :(

I managed to get through by using Wugfresh's Nexus Root Toolkit, somehow it flashed a working stock recovery and correct bootloader, then I just went through all the steps as in the guide(s) and OP except flashing recovery and bootloader. The device booted just fine.

Thanks again!