How to flash a Rom on a Nexus 7 - Nexus 7 Q&A, Help & Troubleshooting

I have flashed many a Rom in my day, but the Nexus 7 is a unique beast. How do you flash a ROM and how do you go about erasing the internal storage without losing all the data on the device. I.e. what you are flashing the TWP back ups and the Titanium back ups.
IF THIS HAD BEEN POSTED BEFORE I AM SORRY I AM ON MY NEXUS I DON'T HAVE A WAY TO SEE OLD POSTS.
Sent from my Nexus 7 using xda app-developers app

Unlock the bootloader. (THIS WILL ERASE EVERYTHING - PERFORMS A FACTORY RESET).
(So perform a backup first using either adb pull or Carbon (available on PlayStore)).
Fastboot flash a custom recovery, (CWM or TWRP).
Reboot into that recovery...
Flash the ROM of your choice.
Rgrds,
Ged.

No no I already did that. Like on my S3 I need to wipe cache/delvik factory reset. Doing the factory reset erases the internal storage, since that is where the ROM is being flashed from and where the twp back ups are those could get erased. Which can brick a device. So what do I do to flash a ROM cleanly. Every time I flash a ROM it bootloops.

waffleb051 said:
No no I already did that. Like on my S3 I need to wipe cache/delvik factory reset. Doing the factory reset erases the internal storage, since that is where the ROM is being flashed from and where the twp back ups are those could get erased. Which can brick a device. So what do I do to flash a ROM cleanly. Every time I flash a ROM it bootloops.
Click to expand...
Click to collapse
factory reset on the nexus devices, DO NOT WIPE /data/media which is where your 'sdcard' data is.....

waffleb051 said:
No no I already did that. Like on my S3 I need to wipe cache/delvik factory reset. Doing the factory reset erases the internal storage, since that is where the ROM is being flashed from and where the twp back ups are those could get erased. Which can brick a device. So what do I do to flash a ROM cleanly. Every time I flash a ROM it bootloops.
Click to expand...
Click to collapse
I'm a little vague about what you're asking here...
Haven't used CWM for a while (I forget the details), but in TWRP, having pressed WIPE...
...you can then select (In the wipe menu) CACHE, DALVIK CACHE, FACTORY RESET all with relative impunity... even SYSTEM ('Wipe System? This will wipe your ROM') can be wiped, if you have NANDROID BACKUPS or flashable ROMs to fall back on in internal storage.
The options to wipe EXTERNAL STORAGE, INTERNAL STORAGE and FORMAT DATA, however should be treated with EXTREME CAUTION... as you may be left only with a custom recovery (if you have wiped SYSTEM beforehand)... and then you'll have either have to adb push a NANDROID (or flashable ROM) from your computer or fastboot flash back to stock.
(As an aside by the way, you aren't really 'bricked'... you just have no usable ROM on your system; but that really isn't a problem if you know how to use adb or fastboot).
------
FACTORY RESET in TWRP doesn't wipe the internal storage... if that is what you're alluding to...
Rgrds,
Ged.

That is exactly what I was wonder thank you for both your answers

Related

Cannot flash any ROM's

Hello, I have recently been unable to flash ROM's succesfully.
I have Clockwork MOD 4.0.0.2 installed as it came with CF-Root, and I am on stock 2.3.5 KI3.
I have tried flashing several roms, and while it says install complete, whenever it restarts, it is on a boot loop, where it won't go past the Galaxy S II bit with the yellow triangle, I have to flash the stock rom again using odin to even use the phone, I have tried to flash other recovery versions, like 4.0.0.14 and 5.1.2.6 (I think it is) but they all come up with errors mounting or getting recovery.log or something, could you please help?
Did you try to do a full wipe?
Most issues can be resolved by this.
In the CWM menu chose the factory reset/full wipe. (Don't worry it won't touch your files on the internal SD card)
Do a cache wipe and in the advanced menu do a dalvik cache wipe.
Some recommend to do this procedure twice, but you should be settled with doing it once
Let me know if it helped?
theMartyMcfly said:
Did you try to do a full wipe?
Most issues can be resolved by this.
In the CWM menu chose the factory reset/full wipe. (Don't worry it won't touch your files on the internal SD card)
Do a cache wipe and in the advanced menu do a dalvik cache wipe.
Some recommend to do this procedure twice, but you should be settled with doing it once
Let me know if it helped?
Click to expand...
Click to collapse
Yeah I did all that, didn't help, the progress bar gets half way and says complete :S I have downloaded the ROMs several times aswell incase they were corrupt, still didn't help.
Take out the battery, wait a bit, put it back in. Do all the wipe and formatting procedures (perhaps twice) and format the internal sd card as well and wipe the battery stats (just to be sure)
Sent from my GT-I9100 using XDA App
Backup EFS folder 1st....
ultramag69 said:
Backup EFS folder 1st....
Click to expand...
Click to collapse
That's probably not a bad idea.
Here's how:
http://forum.xda-developers.com/showthread.php?t=1068193

[Q] Nexus 7 memory/storage - Wiping in TWRP...???!!!

Hi every one,
I have two related questions about nexus 7 memory/storage and TWRP wipes...
I'm pretty new with NEXUS 7 , but not with android.
I had a ACER LIQUID (sold) - HTC DESIRE HD (sold) - SONY XPERIA S (Actual phone)
ASUS TRANSFORMER TF101 (sold) - NEXUS 7 (actual tablet)
I've rooted, installed recovery, flash a lot of roms with all my device, but with nexus 7, i get a bit confused !!!
In Astro file manager, I see 4 local storage... I don't understand why...? And where to put files in order to find them after wiping data in TWRP...
I've flashed TWRP 2.3.2.1 to my nexus 7 recovery.
When I want to flash a rom, I like to wipe everything, in order to avoid problems...
On my other device, i used to wipe data, but on the nexus 7, when you wipe data, you loose the file you want to flash... (often in "DOWNLOAD"
Am I completly stupid ? :silly:
Is wiping system/dalvik/cache and a factory reset enought to avoid problem and to have a fresh install without wiping data ?
(sorry for my english, French people and there legendary english talking...)
Thanks for your help.
Geek endangered...
Stupid question ???
I'm new to nexus 7 and TWRP, but I believe wipe data wipes everything, including sdcard.
Maybe you are used to CWM, you were looking for the "factory reset" button.
It's confusing but I believe there is a warning before wiping data in TWRP saying it'll erase sdcard, am I wrong?
Yeah, used to use cwm... For you, factory reset in twrp is like wiping data in cwm?
If that's the case, for a fresh install, doing a factory reset in twrp is all I need to do? No need to wipe data?
I have the exact same question !
why wiping data (format /data) also remove /sdcard which should stay untouched event after factory reset, beacause if if it's virual I never ever see a sdcard wipe by a wipe data function.
As far as i understand, to deal with multiple user they now make a folder in /data/whatever that contains each profil.
This folder is mount in /sdcard according to the user of tablet, But why ****ing why the only option in this version of TWRP is FORMAT DATA and not wipe data (wich could avoid the deletion of sdcard content) SDCARD is like a sanctuary nothing should be able to delete what's in it except the user itself !

[Q] flashing ROM, lost SD card contents

This has been bugging me and I can't seem to find anything on here to explain it.
I have installed custom ROMs on my N7. Problem is most ROM instructions say to do a full wipe/factory reset. When I do that, the downloaded ROM that was sitting on the SDCard gets wiped out as well.
I then have to go back and search for info on how to reset/restore the N7 and start all over, because the recovery (both CWM and TeamWin) don't let me mount the SD card to copy the needed zip over.
How can I do the recommended data wipe without losing the sd card contents?
Failing that, what's easiest way to get the ROM zip back on the N7 when the recovery won't allow it?
Thanks
dont wipe data...
just do a 'factory reset' in custom recovery...then flash a rom
I use TWRP & don't wipe everything, just System & Factory (to delete installed apps).
This is after wiping Cache & Dalvik Cache.
Unless I'm missing something a data wipe will wipe everything except recovery.
I don't think we have the option to exempt the media folder like on other devices.
(you type faster than me PG)
I appreciate the suggestions, and I've done the factory wipe. It wiped out the /SDcard folder contents where the zips were.
How do I get zips back on the N7? tried ADB, tried sideload from TWRP, nothing works.
Having many more problems than the last time I did this.
jneg123 said:
I appreciate the suggestions, and I've done the factory wipe. It wiped out the /SDcard folder contents where the zips were.
How do I get zips back on the N7? tried ADB, tried sideload from TWRP, nothing works.
Having many more problems than the last time I did this.
Click to expand...
Click to collapse
factory reset in TWRP doesnt touch /data/media
are you sure you are on the most recent version of recovery?
updated to latest recovery version, that seemed to be my issue. sd card now untouched.
Pirateghost said:
factory reset in TWRP doesnt touch /data/media
Click to expand...
Click to collapse
Pirateghost speaks the truth.
The stock recovery however, wipes everything with it's "factory reset".
It's a little bit unfortunate that the identical terminology is used. No doubt new folks will occasionally get bit by assuming they are the same.
I haven't used cwm yet; not sure what it means by "factory reset" - or even if it uses that terminology.

[Q] Question about TWRP backups before I wipe.

I have never had a device without a removable SD and am used to having the contents of my SD protected when I wipe and then flush, i mean flash (hah). When I wipe with TWRP, will I lose my pix, audio, etc as they are not on a separate partition?
docslate said:
I have never had a device without a removable SD and am used to having the contents of my SD protected when I wipe and then flush, i mean flash (hah). When I wipe with TWRP, will I lose my pix, audio, etc as they are not on a separate partition?
Click to expand...
Click to collapse
If you lost your pix, audio, etc that would really really suck. I don't think I would flash new ROMs daily. So of course the contents of internal SD are protected. UNLESS you choose to wipe internal storage in TWRP so don't mess with those advced options. They call it a factory reset in TWRP but its not like the phone option to factory reset which does wipe internal storage.
Your app data is lost. Just back up with titanium backup. After flashing new ROM install only TB, then restore apps and data (no system apps!) and you're done!
And make sure you have a backup! If anything does go wrong just restore it.
alright so lets say i download a rom and put it on my internal, then i boot into twrp do i just factory reset or what? i dont understand what to wipe to keep internal intact sorrry im a noob
in TWRP do a factory reset and install the new rom (and gapps if its CM rom) and you are golden.
stuck on team win screen
ok I need some serious help my battery is about to die! I rooted my phone last night and this morning I installed twrp 2632 and then rebooted and the phone now will not boot past the twrp screen then I got a call to go to a hospice home and that took several hours in the meantime my phone will not do anything just drain battery! any help would be greatly appreciated! thanks
tdevaughn said:
in TWRP do a factory reset and install the new rom (and gapps if its CM rom) and you are golden.
Click to expand...
Click to collapse

my storage become 5gb

i flash lollipop then i see my storage become 5gb . my nexus 16 gb models. i already wipe cache , dalvik and factory reset but it still showing 5gb . can help me?
Flash userdata.img again, make sure to backup all things from the phone because this will wipe everything
chewu.pg said:
Flash userdata.img again, make sure to backup all things from the phone because this will wipe everything
Click to expand...
Click to collapse
so i need to reflash the lollipop or just flash userdata.img?
Use Wugfresh toolkit for flash factory image, manual fastboot mode is for "expert" users
autoradio78 said:
Use Wugfresh toolkit for flash factory image, manual fastboot mode is for "expert" users
Click to expand...
Click to collapse
okay i wll try flash using nrt
boot into stock recovery and erase everything
wipe data and cache/Factory reset. do it in STOCK recovery, in this case custom recovery wont work.
If you want to avoid using fastboot and/or recovery again, you can just simply go over to Settings -> Storage -> Factory Reset.
Did the trick for me.
I had the same issue. I wiped the cache and did a factory reset. Was all good afterwards
Sent from my Nexus 4 LTE

Categories

Resources