yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Q&A, Help & Troubleshooting] sebastianervi:
Can't flash any ROM on my Nexus 7 (2012) - bricked device

Hi, I've been redirected to this thread. I'll be really thankful for any sort of help :)

Original post :

Hello,

First time writing on the forum so please tell me if I do something wrong

So problem is that I tried to flash the latest version of Paranoid Android on my Nexus 7 but I'm getting the error "Warning! No file-contexts" and the flashing gets stuck on the next phase which is "Patching system image unconditionally..."

My device is rooted and unlocked, and I use TWRP. Of course I wiped cache, dalvik, system and data before flashing the new ROM.

I thought that the problem was with the zip package, so I managed to download it again from my laptop and pushed the image with adb. Unfortunately, I'm still getting the same message.

I even tried to install another ROM (Chroma) but it didn't work either, still getting stuck at patching system image. At this moment I wiped the whole internal storage, which worked with my previous problem on my Nexus 5.

Issue's still there.

What should I do now? I can't boot because no OS is installed. Should I try flashing the stock Android version? Or will I get the same message? My tablet is bricked, only thing I can do is booting in recovery.

Thank you very much for your help!

Kind regards,

Sebastian
[Nexus 7 Q&A, Help & Troubleshooting] :
Try the return to stock thread and flash stock with fastboot.

Also, are you sure you have the proper twrp for your device and android version?

And the correct roms?

You do have a 2012 N7 right? Not a newer 2013 model? Cause this is the 2012 forum section. The original N7.
[Nexus 7 Q&A, Help & Troubleshooting] sebastianervi:
Thanks for your answer.

I'll try to return to stock ok.

I'm sure I have the proper twrp and android version + correct roms.

And I have the 2012 version as mentioned in my question.
[Nexus 7 Q&A, Help & Troubleshooting] sebastianervi:
Wow, ok, that's strange but well, it's great :)

Flashed stock recovery and image with fastboot. Worked!

Then I flashed the latest version of CWM instead of TWRP, pushed PA with adb and flashed the ROM.

The "patching system image unconditionally..." thing came back again but the patching actually succeeded!

PA installed, all is working.

So I don't know if the problem was with TWRP or the package or something else, but CWM managed to fix it...

Thanks!

Sebastian

---------- Post added at 03:58 PM ---------- Previous post was at 03:07 PM ----------

Ok other weird issues came now.

After flashing full Gapps (yes it's the correct version) via CWM it says me that the storage space available is insufficient, which is not true because my device is nearly empty. In Android settings it shows me 27 GB available so no problem with is there space or not.

Is it trying to install it in a different path than it should? How to fix this?

The other issue is not that annoying, but in CWM everytime I'm doing something the recovery prints me "E:Can't open /tmp/recovery.log"

What could cause that here?

Thank you again for your helpful answers!

Sebastian

EDIT : tried with GAPPS Mini and it worked. I'll install the rest through the Play Store.
[Nexus 7 Q&A, Help & Troubleshooting] mpalakudiyil:
5.1.1 Problems

So I was selling my Nexus 7(2012) running 5.1 to my friend. I made the grave mistake of upgrading it to 5.1.1 and then factory resetting it. Now for some reason the tablet will randomly restart. It would do this several times.

Has anybody else encountered this issue and know the fix?

I think I will have to downgrade to 4.4.4. Does anybody have an updated guide to how to do this?
[Nexus 7 Q&A, Help & Troubleshooting] vinceyeung:
Yet another Help!

My Nexus: Nexus 7 (2012) Wi-Fi version

Firmware: KTU84P Android 4.4.4

Bootloader: unlocked

Rooted? Yes

Before the tablet restart, I used the advanced cleaning of the Clean Master app and after reboot, it cant go past the 4 colours bootscreen and when I restart it, it boot loop repeatedly. I have tried to boot to fast boot to start recovery mode and wipe cache but it says error "failed to mount /cache (Invalid argument)" so I guess the wipe is not successful.

I have tried to use wugfresh nrt 2.0.5 and my windows can still recognise my nexus but I can't use any backup function (after "temporarily booting modified boot.img" operation, my nexus will start infinite boot loop again). Are there any ways to save all the data in the internal memory before I try the "wipe data" function in recovery mode or in nrt?

I have tried nrt "adb pull" function but it will go through "temporarily booting modified boot.img" operation so still can't save any of my data inside.:crying:

Thanks for reading and hope someone can save me from it. I will definitely blacklist Clean Master forever. (i suspect it deleted some important system folders or files)

[update-1] I am able to do flash custom recovery (clockworkmod) but I still cant backup my data in any ways. It always says

E:Can't mount /cache/recovery/log

E:Can't open /cache/recovery/log

E:Can't mount /cache/recovery/last_log

E:Can't open /cache/recovery/last_log

In clockworkmod, when I click "report error" then "show log", it says...

mount: mounting /dev/block/platform/sdhci-tegra.3/by-name/CAC on /cache failed: Invalid argument

W:failed to mount /dev/block/platform/sdhci-tegra.3/by-name/CAC (File exists)

E:Can't mount /cache/recovery/last_log

E:Can't open /cache/recovery/last_log

mount: mounting /dev/block/platform/sdhci-tegra.3/by-name/CAC on /cache failed: Invalid argument

W:failed to mount /dev/block/platform/sdhci-tegra.3/by-name/CAC (File exists)

W:Can't unlink /cache/recovery/command

I:using /data/media/ for /sdcard.

mount: mounting /dev/block/platform/sdhci-tegra.3/by-name/UDA on /cache failed: Invalid argument

W:failed to mount /dev/block/platform/sdhci-tegra.3/by-name/UDA (File exists)
[Nexus 7 Q&A, Help & Troubleshooting] maigre:
I was going to update my ROM. I downloaded a newer version of it than what I'd been running. Same ROM, though. When I tried to boot into TWRP to install it, I got the TWRP logo screen for a longer time than I'd usually see it. Then, without giving me the top level TWRP menu, it went straight back to the Google screen, the one with the unlocked lock icon at the bottom. And it stayed there. So I held the power button, figuring that it would shut down. The screen went black, then back to the Google screen to be stuck again. I got into the bootloader and tried to get to TWRP or into the ROM again, but kept getting the same problems. So I reflashed TWRP. Same result. I tried booting into TWRP from a command line on my computer. Same result.

I've never had this particular problem before. What's going on? And what can I do? If I could get into TWRP, I'd be OK, even if it means wiping everything and starting over again, which is fine. But I can't get there. I can probably wipe everything with fastboot, if it lets me. But I'd like to know what's going on, why I can't boot into either the system or custom recovery. And why this happened on a simple reboot.

Any input would be greatly appreciated.

EDIT: I just tried to erase recovery with fastboot erase recovery. But I got the following: "Formatting is not supported for filesystem with type 'emmc'." That's sort of unexpected. I'd have thought I'd see reference to ext4. I was able to format system and cache, though.

EDIT 2: I reformatted the recovery partition with fastboot and flashed recovery again. Same result as above. Something isn't right in ways I've never seen.
[Nexus 7 Q&A, Help & Troubleshooting] Hannah Stern:
Hello. Does anybody know what the KEY4 inside of the device is for?
[Nexus 7 Q&A, Help & Troubleshooting] maigre:
Not that anyone's here, but I seem to have solved my issues in my post above by going back to stock. At least I was able to boot into recovery that way. Now, back to a ROM again...
[Nexus 7 Q&A, Help & Troubleshooting] lujki1:
Hi everyone! I found a really awesome deal for a Nexus 7 2012 (especially considering I always wanted a Nexus device, yet always ending up with a Samsung).

So if I buy it I'd want to install 5.1.1 Lollipop right away before installing a single app. But I'm scared of that as all over the web I saw that Lollipop update bricked these devices. Would you recommend it?

And I'd buy the 2013 edition but sadly there isn't one available in my country and if I ordered one from another country I'd be better off with something else, as it becomes ridiculously expensive. So that isn't an option because I don't want an high end tablet as I got an S6 for those things.

The best alternative I could find is the LG G Pad 8.3 (with CM12) So what do you guys think?

Thanks! :D

Sent from my SM-G920F
[Nexus 7 Q&A, Help & Troubleshooting] physwizz:
I recommend you run multirom. I've got two different lollipop rooms running, no problem.
[Nexus 7 Q&A, Help & Troubleshooting] :
Multi-Rom-question

Hey everyone,

Since this is a thread for newbie: I installed MultiRom v32a with the app and a cm 12.1 Kernel while I had cm 13 installed already. Now it is on bootloop, tried downgrading it but it didn't work (still bootloop).

I think all I can do is factory reset, am I right?

I already checked if its the right twrp version.

Nexus 7/flo (2013 only wifi)
[Nexus 7 Q&A, Help & Troubleshooting] pjcanales:
Sorry but this is the 2012 version thread . you need the flo thread
[Nexus 7 Q&A, Help & Troubleshooting] Erick Pontes:
HELP

i flashed on my nexus 7 2013 one 2012 rom, now he changed to grouper and i cannot use any rom from my 2013, how i go back to the 2013 rom ? since i have signature missmatch
[Nexus 7 Q&A, Help & Troubleshooting] andisval:
Hi everyone, I'm just now jumping into customization of android devices, and am incredibly overwhelmed at the nomenclature, and the variety. I don't want to come off as lazy, or ignorant, but I would be supremely appreciative if someone could assist me in the following:

*Fyi, I searched this thread, and the most recent question was in 2014, so I hope that it's okay to post a new one.

Installing Nexus 7 into my car, at the moment it is completely stock on lollipop. I need to be put in a direction as to what things I need to install as per your recommendations. I can read instructions, so I will spare you the agony of explaining every detail.

I want a nexus 7 that allows OTG + Charging, and would compliment a car install setup. I've done some light reading, and fully intend to do more, but I'm just a bit overwhelmed as to where I should start to accomplish this.

Thanks again.
[Nexus 7 Q&A, Help & Troubleshooting] mkoyskip:
EDIT: tired, mistaken post.
[Nexus 7 Q&A, Help & Troubleshooting] vital21:
Hi guys,

i've recently purchased Nexus 7 2012 3G from unofficial source and wish to check the manufacturer date. As i know it could be analyzed with a serial number ( SSN ). Unfortunately i don't have an official box with this device...

I found a serial number in Settings/About/Status...but it is probably the serial number named CSSN, as it starts from 015d3********

As a result it cant be analyzed to get that date i'm looking for...

Is it possible to find a correct SSN without an original box? OR maybe there is another way to figure out manufacturer date?

Hope for your advice, community!

Cheers ;)
[Nexus 7 Q&A, Help & Troubleshooting] cptsashimi:
Reboot into bootloader and you can toggle though the options with the volume key. I think one of the options is barcodes, that should give you what you're looking for.
[Nexus 7 Q&A, Help & Troubleshooting] vital21:
thanks for your advice, but its not clear for me what do u mean?

I've rebooted to bootloader and see only these options - Continue boot to system,

boot to recovery and shutdown.

If its possible could you submit a screenshot or photo of your bootloader menu including this "barcodes" options

cheers[emoji6]
[Nexus 7 Q&A, Help & Troubleshooting] Merqyr:
Hi everybody!

I have a Nexus 7 grouper, which I've upgraded to Cyanogenmod 12.1, and at first it was working great, but after a couple of days the UI started lagging, and now nothing is very smooth. I've checked RAM and CPU usage, and they're both fine.

Thanks in advance :D
[Nexus 7 Q&A, Help & Troubleshooting] lotte67890:
Try flashing the original ROM from developer.google.com, then use twrp instead of cwm.

Hope that helps...

L
[Nexus 7 Q&A, Help & Troubleshooting] lbjgh:
interesting issue nexus 7, 2013 w/bad usb port

I'm using stock android now and would like to install cyanogenmod.

When I boot to recovery mode I get the dead android with a red exclamation mark.

I can then press the power/vol up button simaltaneously to get to the recovery menu.

When I select "apply update from sd card" to flash a downloaded cyanogenmod rom I get an error "couldn't mount /sdcard". I get the same error when I select "mount /system"

I was able to wipe the cache and do a factory reset from this menu but that's about it.

My USB port is damaged so I cannot connect to a PC and I am only able to use the tablet because of its wireless charging capability.

Any ideas how I can install the cyanogenmod rom given my damaged usb port and fubar'd recovery?

tx
[Nexus 7 Q&A, Help & Troubleshooting] lotte67890:
You need a custom recovery, it won't work with the original recovery!
[Nexus 7 Q&A, Help & Troubleshooting] lbjgh:
I can't install cwm because the USB port doesn't work
[Nexus 7 Q&A, Help & Troubleshooting] lotte67890:
There is a thread somewhere how to fix the USB port and I would suggest you try twrp instead of cwm...
[Nexus 7 Q&A, Help & Troubleshooting] edyx17:
Nexus 7(2012) - ME370T not booting anymore

Hello, i need some help with a nexus 7(asus). It doesn't boot in the OS or fastboot mode...whatever key combination i try it shows me the google logo...and then goes to the image with the opened up android and the red triangle and the text "no command" and keeps boot-looping there. It shows this image for about 5 seconds and then the image dissapears for less than a second and appears again and so on.
[Nexus 7 Q&A, Help & Troubleshooting] aleks10393:
Hello, I installed CyanogenMod 13 by Ziyan with kernel 3.4 and I got a very bad sound in the speaker, but in headphones sound is very good. Can i fix the problem with my speaker?
[Nexus 7 Q&A, Help & Troubleshooting] donlesnar:
hi

i am a beginner

my nexus 7 has slowed down like crazy

can some one tell me how to root my nexus and to install a smooth custom rom that will speed it up.

i tried but couldnt find a simple solution

thanks
[Nexus 7 Q&A, Help & Troubleshooting] TruBlaze:
I suggest checking the Nexus Root Toolkit thread. :)

---------- Post added at 07:39 PM ---------- Previous post was at 07:38 PM ----------

So... about Google Assistant..
[Nexus 7 Q&A, Help & Troubleshooting] andrew2432:
Thanks limit reached, that's where I started! I know its ot but i wa t to remember to thank ya! Can be a bit awkward at first! Unlock bootloader first, then flash a recovery separately (worked for me that way and only when I picked "latest option" and not installed my own methods.

---------- Post added at 02:46 PM ---------- Previous post was at 02:44 PM ----------

Again rootkits thread, post above mine. You can flash stock and fix anything you messed up!
[Nexus 7 Q&A, Help & Troubleshooting] treb1971:
Hi, I wonder if someone can help, I bought a borked Nexus 7 off of eBay UK, I can update the bootloader and flash (and delete) recovery. However, when I try to flash it back to stock, it fails. Using Wugfresh's toolkit it switches off at some point where I suppose it should reboot, and I have to manually reboot into bootloader.

Then it fails at writing /system and /userdata. The error I get is that "remote write failed". When I flash the boot image that is successful and the device is still detectable in fastboot mode. When the flash fails, I get a "????????? recovery" message when I run "fastboot devices". I have to power down the tablet and reboot into bootloader / fastboot mode, and then the tablet is recognised again.

So my question is, is there anything else I can try, or should I just bin it?
[Nexus 7 Q&A, Help & Troubleshooting] skinniezinho:
Maybe anyone can help me.

I bought a 32Gb Nexus 7 2012. The owner said that previously the tablet had some issue with the screen, but that he opened it and fixed it (something about a connector disconnected).

It works fine, except that in some areas of the screen (right down corner for example) in need to apply a lot of pressure for it to assume the touch.

Any hint on it?
[Nexus 7 Q&A, Help & Troubleshooting] andynroid:
Digitiser perhaps need to be replace
[Nexus 7 Q&A, Help & Troubleshooting] Squeezitgirdle:
Looks like there hasn't been a post in here in quite a while.

I've got an old 32GB Nexus 7 Tablet, currently updated to Android version 6.0.1

I have finally decided to get around to rooting it.

I haven't rooted a phone in years, and last time I was just following a step by step guide.

I attempted to use the towelroot method on this phone, but my Nexus has been updated past the point where I could use that app.

Is it too late to root my phone? I don't believe a factory reset would remove my android updates.

I've looked around a bit and not sure where I can start because I'm not sure if my device is compatible.

Assuming it's not too late to root my Nexus 7, where do I start?

Thanks in advance, I apologize about the basic questions.
[Nexus 7 Q&A, Help & Troubleshooting] andrew2432:
Got a custom recovery? Now rooting is flashing su or magisk zips!!
[Nexus 7 Q&A, Help & Troubleshooting] rcraftgamers:
help me

https://xdaforums.com/general/help/...he-invalid-t3816788/post77079443#post77079443
[Nexus 7 Q&A, Help & Troubleshooting] Dayzee:
So I have very stupidly wiped my OS on my Nexus 7. Currently, I can get into bootloader, and I can get into TWRP recovery. Device is seen in my Laptop as Android ADB Recovery Device. But when I run ODIN (Its an old one - Odin3 v1.85) the device doesn't show up.

Where am I going wrong!! Used to flash stuff all the time before Android got good enough not to need it!! Now I feel like a total newb!! Hoping someone can help me revive my Nexus 7 so my daughter can have it for reading books
[Nexus 7 Q&A, Help & Troubleshooting] GedBlake:
Hi, Dayzee...

You're going wrong by using ODIN, which I'm reasonably certain is propriety Samsung software, and definitely won't work on a Google Nexus device.

To reflash the Nexus 7, you need to do so via fastboot, with Google's factory stock images available here...

https://developers.google.com/android/images#nakasi

--------------------------

A few general points...

Do not reflash the bootloader if it's already on v4.23 ~ this is the latest version of the bootloader, and reflashing it again is pointless, and needlessly risky. If it can be avoided, I strongly suggest you do so.

-----------------------------

To confirm you have a valid fastboot connection prior to reflash (when the device is in fastboot mode), you should use...

fastboot devices

...because this...

adb devices

...only works when Android is fully booted.

-----------------------------

Good luck, and I hope this helps.

Rgrds,

Ged.
[Nexus 7 Q&A, Help & Troubleshooting] Dayzee:
Ahhh Thanks Ged I figured that out :) Did manage to get it back, finally, after a few hrs of panic. Thanks for your help tho xxx

Daiz
[Nexus 7 Q&A, Help & Troubleshooting] slixzen:
So, I am not new to android flashing, but, I have not seen this before (apart from the Nexus 5, but it never took this long).

I am trying to wipe and flash an android 5.1.1 build to my Nexus 7 as I intend on using it for a security system app. I followed the guide here: (apparentyly I can't post links but the title is: "[GUIDE] Flashing a Factory Image with fastboot / return to stock") and after completing the device auto-reboots, and then sits at the boot screen for ~30 minutes. I am going to go to sleep soon, and see if it ever finally boots but... is this normal? I know the Nexus 5 had an insanely long boot time after a factory restore (same for the Pixel), but, how long is the Nexus 7's?
[Nexus 7 Q&A, Help & Troubleshooting] Black_Beards:
So I picked up a refurbed nexus 7 wifi that had android 6.0.1 and flashed Lineage 14.1 via TWRP and everything worked fine for a few days. A few times the tablet was unresponsive and I had to shut it down via holding the power button. The last time I did this it got stuck on the boot with the Google image staying on the screen. I can get into TWRP but the screen is not responsive to my touch.

Any ideas ? I know that I could drop a new Los image onto the device and control TWRP via a mouse attached to the usb but I think that the bootloader might be the problem and dont want to make a bad situation worse.
[Nexus 7 Q&A, Help & Troubleshooting] TNSMANI:
The booting time depends on the number of apps you have but I have never seen anything beyond 4 minutes on any of my devices. Ofcourse, my apps are less in number. If any of my devices went beyond 4 minutes, I assumed something was wrong and went about reflashing/rectifying it.
[Nexus 7 Q&A, Help & Troubleshooting] jhford:
Custom ROM

I have 2 Nexus 7 2013 mobile (4G LTE) tablets running Lineage OS 14.1, which is not going to be updated. What should I do? Just go back to stock and live with it?

Thanks for your advice.
[Nexus 7 Q&A, Help & Troubleshooting] lotte67890:
If you have the Nexus 7 from 2012 try this one: https://xdaforums.com/nexus-7/development/rom-android-7-aosp-grouper-t3467514/
[Nexus 7 Q&A, Help & Troubleshooting] TNSMANI:
Please be attentive when suggesting ROMS. I don't think that the AOSP ROM suggested by you is compatible to the LTE version of the 2013 tab. The thread title refers to the 2012 version and the OP refers to Grouper/Tilapia. As far as I know, the 2013 model has a different name, Razor/Deb. So I don't think the ROM suggested by you is compatible.

As a side note, I am running the AOSP ROM suggested by you in my 2012 wifi tab and it is the best I have come across so far.

[MENTION=263313]jhford[/MENTION]
[Nexus 7 Q&A, Help & Troubleshooting] VollNoob:
Hi everyone, I have a problem that I did not encounter until now with Nexus devices.

I have a Nexus 7 2013 Wifi and tried installing TeamWin recovery and somehow it did not work and the device would not boot up normally, so I decided to use Google's factory images to reset everything. But after successfully running the script Google provided, the device keeps rebooting and constantly shows the Google logo and then reboots again.

Can you help me please? I'm confused that even Google's tools do not work
[Nexus 7 Q&A, Help & Troubleshooting] GedBlake:
Hi, VollNoob...

You're posting on the wrong forum!

This forum is for the Nexus 7 2012, the model from the year previous to yours. You might have better luck, with a more useful response, by posting your question somewhere here...

https://xdaforums.com/nexus-7-2013

Having said that though, you should ensure you've flashed the correct Google factory image for your device, which is...

razorg

for Nexus 7 (2013) & the latest version being Marshmallow 6.0.1 (MOB30X)

...and which can be found here...

https://developers.google.com/android/images#razorg

From your description, it sounds like an old fashioned bootloop problem, which can sometimes be resolved by booting into recovery and clearing cache/dalvik cache. If not, a reflash usually sorts things out.

I have the Nexus 7 2012 and haven't reflashed it for years, nor have I bothered much with the root/reflashing scene on my more recent devices, so I'm a little bit rusty on the specifics.

Good luck, and hope this helps :)

Rgrds, Ged.
[Nexus 7 Q&A, Help & Troubleshooting] VollNoob:
Thanks a lot! I will have a look there and will double-check if I downloaded the correct version of the Google tools.
[Nexus 7 Q&A, Help & Troubleshooting] ntrain:
@markj338 : can u tell me which rom and kernel u are using now? thanks