Nandroid File Location - Nexus 7 Q&A, Help & Troubleshooting

Got my Nexus Thursday so rooted and flashed recovery (twrp) Friday and did a nandroid in prep to flash aosp ROM but when I went looking for the file I noticed its in /data/media/tarp/backups as opposed to /sdcard/tarp/backups. Is there a way to change the directory? I created the backups folder under the trwrp on the sdcard but the backup didn't save there where I did a 2nd nandroid as a test. Do I need to fix permissions or anything?
Sent from my Nexus 7 using xda app-developers app

/sdcard is a link to /data/media. They are three same file.
Just make sure you use the latest version in TWRP as it properly handles the changes in directories introduced in 4.2.
Sent from my Nexus 7

Cool. I downloaded the image from the twrp site and installed via adb so it should be correct. I guess I can install Goo Manager and make sure its up to date. I was concerned that if I wipe /data before a restore that I'll delete the nandroid.
Sent from my PG41200 using xda app-developers app

Note that in TWRP a factory reset will format /data EXCLUDING /data/media. This means it won't wipe your /sdcard.
Sent from my Nexus 7

BillGoss said:
Note that in TWRP a factory reset will format /data EXCLUDING /data/media. This means it won't wipe your /sdcard.
Sent from my Nexus 7
Click to expand...
Click to collapse
Thanks. That is exactly what I was concerned with so great to know.
Sent from my EVO using xda app-developers app

Related

Is there a way to wipe clean the system storage and just keep the stock ROM?

I initially rooted and flashed twrp recovery on my nexus 7 and then I decided to go to clockworkmod recovery since I'm very familiar with clockworkmod and I use ROM manager app. I'm not sure but I think twrp recovery images are still taking up space in my storage because I have one nandroid backup and I only have 19GB of 27.58GB storage. I have 1.6GB in apps, 0.8GB in titanium backup and 0.7GB misc. Downloads. Thanks in advance.
Sent from my Nexus 7 using xda premium
If you have remaining TWRP backups they will be in the TWRP folder on your SD... If you are certain you won't be using TWRP in the future just delete the folder. A better idea would probably be to move it to your PC just in case you might want them again...
Sent from my Nexus 7 using xda app-developers app

Titanium Backup and Data Wipes

Hey guys, just got the 32gig nexus 7 for Christmas and I love it! I rooted and flashed cyanogen and it's nice, but I would love to try other roms. I have bought titanium backup and made a back up, but I've hit a wall here in my logic - since there's not external storage, won't wiping the data delete my back up?
Sent from my Nexus 7 using xda app-developers app
I don't believe it will because the storage for you stuff is actually labeled as /sdcard/. I know that my One X does not wipe my "sdcard" data when I've flashed from Sense ROMs to CM10 and the device is built pretty much the same with onboard storage.
Sent from my Nexus 7 using xda app-developers app
No, wiping data only wipes /data, as the name suggests.
Sent from my Nexus 7 using XDA Premium HD app
If you use TWRP, do NOT format data. Hit the factory reset button and it will wipe everything except /data/media which is where your emulated SD card is. Since you're interested in trying other ROMs, why not try MultiROM? It's quite stable and very functional. I dualboot PA and CM10.1 at the moment and I will be adding more later if I feel like setting up another one.
Here's a link for MultiROM recovery: http://forum.xda-developers.com/showthread.php?t=2011403
Don't be intimidated, it's actually quite easy to install. Just flash the zip then fastboot install the modified TWRP recovery. Easy peasy.

[Q] Stuck in TWRP

I booted into TWRP to flash AOKP and when i was wiping the system partion it crashed and now the system partition wont mount. I'm at a loss. I can't flash anything because the system won't mount.
anybody have any suggestions? thank you
i'm on the latest version btw.
Yea, seems to happen easily. Don't know if its the device or TWRP.
You can install a factory image, restore a nandroid backup, or flash a new Rom using a flash drive/otg cable.
Sent from my EVO using xda app-developers app
Sounds liked you formated. When changing the base rom, all that I ever do is factory reset, which will wipe without touching data/media. If flashing a rom with the same base just cache/dalvik. The virtual SD card is stored in data/media. If it was formated you erased your stored zips, and you'll have to fastboot a new zip into it. If you have anything stored on an external thumb drive, sd card, etc you also can transfer one over that way.
Sent from my Nexus 10 using Tapatalk 2
freshlysqueezed said:
Yea, seems to happen easily. Don't know if its the device or TWRP.
You can install a factory image, restore a nandroid backup, or flash a new Rom using a flash drive/otg cable.
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
Does that work in twrp. It doesn't recognise my laptop when its connected . says something about an otg error ...
You can always flash using fast boot though
Sent from my Nexus 4 using Tapatalk 2
I keep all my nandroid backups on my 32gb usb flash drive for emegencies as described by the op. You can then restore from the usb flash drive/otg using twrp.
Sent from my EVO using xda app-developers app
---------- Post added at 12:37 PM ---------- Previous post was at 12:34 PM ----------
djd338 said:
Sounds liked you formated. When changing the base rom, all that I ever do is factory reset, which will wipe without touching data/media. If flashing a rom with the same base just cache/dalvik. The virtual SD card is stored in data/media. If it was formated you erased your stored zips, and you'll have to fastboot a new zip into it. If you have anything stored on an external thumb drive, sd card, etc you also can transfer one over that way.
Sent from my Nexus 10 using Tapatalk 2
Click to expand...
Click to collapse
Agreed user error can accidently wipe the sd card, but sometimes twrp crashes and will corrupt your storage and it won't mount. I think that is what the op is describing.
Sent from my EVO using xda app-developers app

Wipe /system does it affect sdcard?

If I wipe /system partition from CWM recovery it doesn't touch the virtual sdcard does it?
Pretty sure it doesn't but wanted to check I dont lost all my pics
Sent from my Nexus 4 using xda premium
No. Just don't use the "Wipe Data" option. Factory reset is OK. It preserves the SD.
estallings15 said:
No. Just don't use the "Wipe Data" option. Factory reset is OK. It preserves the SD.
Click to expand...
Click to collapse
Thats what I thought.
Factory reset
Wipe system
Flash ROM
None of the above touch the virtual sdcard and will give a completely fresh system install
Sent from my Nexus 4 using xda premium
Lothaen said:
Thats what I thought.
Factory reset
Wipe system
Flash ROM
None of the above touch the virtual sdcard and will give a completely fresh system install
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
The only fresher would be ...Awesome...'s wipe script. It wipes the boot partition as well.

Restore data partition

Can I restore data partition from my current stock Rom to the yet to be installed CM10.2?? IF not suggest a restore method.
Sent from my rooted Nexus 4 using xda app-developers app
harsh.ea said:
Can I restore data partition from my current stock Rom to the yet to be installed CM10.2?? IF not suggest a restore method.
Sent from my rooted Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Titanium Backup.
Restoring the data partition could cause ROM problems, like FCs, and stuff that doesn't worn properly.

Categories

Resources