So, a Nandroid backup is made up of partitions: /system, /data, /boot, etc.
I presume the internal SD card (where your camera images and screenshots are stored--where there are like 50 folders of apps you've installed or even uninstalled) is in /data, but I can't find it.
Basically, where is the root of your SD card stored on your Nandroid backup? I'm using TWRP, if it makes a difference!
~Ibrahim~
P.S. If you were looking for the "Storage" folder when browsing the root (where /system, /data, etc. are located), where would that be in a Nandroid?
From what i recall Nandroid are either .IMG or .Win files... theyre not in .zip format or folder format.
you would need to decompile thise files and navigate thru them.
i honestly dont know where they would be at.
Right, I already extracted them.
However, I found the files I was looking for--somehow they were kept in that folder even after a full wipe!
Related
Hi everyone!
I currently am running Glazed ICS 6-16-2012 Rom and I am attempting to understand the file folder structure within my Kindle Fire.
This comes about after playing around with different roms, and after running the TB restore, a few games I play not having the data, requiring me to start over. In an attempt to try and manually recover the data from a twrp recovery I did, I realized didn't have a good idea of the folder structure within Android. Thus I am hoping to get some clarification with the following questions. Thank you in advance for any advice.
1- what folders, if any are required on my sdcard if say I were to start with a fresh rom, with no apps installed other then what is included in the Rom? Using ES File Manager now, it looks to me like an completely unorganized folder ".estrongs, burstlyImageCache, game_cache" etc.
2- Could I copy my TB backup folder off the Kindle Fire then wipe the whole SD card, copy the TB backup back and restore to clean up excess junk folders?
3- Do apps/games put their save data wherever they chose, or is it kept in the program folder in the internal memory, /mnt/sdcard/...?
Thank you again for reading my ramble, cheers.
Silverbrain
1.: Usually Application you installed in SD card partition is under /mnt/sdcard/android/data/<application folder> . now this contains all the information and other data of the games, i think you can back-up this portion aside from using titanium back-up.
For application specific folder, they are usually located in /mnt/sdcard/.<appname> but this folder usually contains caches and can be deleted, since the app will just create them once run again.
2. I do not suggest to wipe your SD partition since technically this is not a standard SD card but partition part of the whole system.
Note: I'm not expert on this, but after playing around with a couple of android devices already, the structure is basically the same.
I think (if it is a unix derivative) the /sdcard is the partition location and /mnt/sdcard is where the system finds what is there. kindle fire does it this way because there is no removable memory card, so it creates an artificial one with a partition. So, for us human types, the locations refer to the same thing. /sdcard is the partition and /mnt/sdcard is where the system mounts it.
Thank you for the replies.
Ixthusdan- I get what you mean regarding the unix and the mnt folder, I technically cannot wipe that is it is just a spot on the internal memory.
vertcam9- I started looking around where you mentioned, and I am starting to understand a little better
The actual name of the partition is "media" and that's how it's identified to the system.
Where the media partition gets mounted is dependent on what gets booted. For example, TWRP will mount the media partition on /sdcard while CM7 will mount it on /mnt/sdcard and create a /sdcard symbolic link that points back to /mnt/sdcard. Most people generically will refer to the media partition as the /sdcard partition because that's what's visible on the system.
I believe the /sdcard thing is an android convention. Because many apps expect the /sdcard to be the primary "large" storage area easily accessible by the user, apps that expect to find large files... music or video files for example... will look there.
Most apps will store settings and small databases in the /data partition. I don't play many games, but someone decided to install Angry Birds on my KF. That game stores most of its files in /data/data/com.rovio.angrybirds. On the other hand, Titanium Backup will put most of its files on /sdcard/TitaniumBackup because it needs more space for backup files and because the /data partition is much more likely to get deleted when you switch ROMs, etc.
For the most part, even if you completely reformat the /sdcard partition, most of your android and app settings will remain intact because that is stored on /data.
kinfauns - Thank you for the extended explanation! I see what I think I need in the /data/data folder
Hi everyone...
I am looking at buying an LG e975, which is supposed to be 32GB and no SD card, and I was taking a look at forums to see how active is the ROM development.
I have no experience with phones with no SD, usually with SD, you copy the zip files to SD card and you install them in Recovery...
so.. how is this done with no SD card?... actually... for storing docs, pics, music... does the phone have a separate partition of that internal memory designated for personal data? similar to having an SD?... does wiping Data, Cache, formatting system affect the internal memory where you have your files stored?
I am pretty much curious on how the whole ROM flashing, backing up and restoring of Apps (I use Titanium backup) is done with no SD card.
Thank you!.
atmos929 said:
Hi everyone...
I am looking at buying an LG e975, which is supposed to be 32GB and no SD card, and I was taking a look at forums to see how active is the ROM development.
I have no experience with phones with no SD, usually with SD, you copy the zip files to SD card and you install them in Recovery...
so.. how is this done with no SD card?... actually... for storing docs, pics, music... does the phone have a separate partition of that internal memory designated for personal data? similar to having an SD?... does wiping Data, Cache, formatting system affect the internal memory where you have your files stored?
I am pretty much curious on how the whole ROM flashing, backing up and restoring of Apps (I use Titanium backup) is done with no SD card.
Thank you!.
Click to expand...
Click to collapse
This section is not for the e975. It's for the Sprint LG-LS970. Sorry .
Sent from my LG-LS970 using xda app-developers app
Your sdcard is just a directory in your data media folder. It basically works the same as a physical sdcard. EXCEPT you cannot mount it in recovery, so if you wipe it while in recovery you'll have to adb push any files you plan on flashing.
Factory Reset in TWRP wipes /Data, /Cache, and /Dalvik. This does not include your Internal Storage ("sdcard"). It's usually all that is necessary before flashing a new ROM, as a /System wipe is almost always performed by the ROM you're flashing.
However, if you select the Data check box in the Advanced Menu, this will also wipe your Internal Storage ("sdcard"). This is because your sdcard is actually just a /Media folder inside of /Data (meaning /data/media).
Check this out:
http://teamw.in/datamedia
jonahly said:
This section is not for the e975. It's for the Sprint LG-LS970. Sorry .
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
my question wasn't related to a particular model but to how the whole ROM flashing and storing backups is done when no SD slot is available... I chose this forum as I did not find one for e975 and they both have same specs.
spackmanbr said:
Your sdcard is just a directory in your data media folder. It basically works the same as a physical sdcard. EXCEPT you cannot mount it in recovery, so if you wipe it while in recovery you'll have to adb push any files you plan on flashing.
Factory Reset in TWRP wipes /Data, /Cache, and /Dalvik. This does not include your Internal Storage ("sdcard"). It's usually all that is necessary before flashing a new ROM, as a /System wipe is almost always performed by the ROM you're flashing.
However, if you select the Data check box in the Advanced Menu, this will also wipe your Internal Storage ("sdcard"). This is because your sdcard is actually just a /Media folder inside of /Data (meaning /data/media).
Check this out:
http://teamw.in/datamedia
Click to expand...
Click to collapse
aaaaaaannd this is what I was looking for... thank you very much. .
No problem. Glad I could help.
Ok, this might sound like a noob question but before deleting any files on the internal storage I want to make sure to not delete the wrong ones
I flash roms almost on a weekly basis, try tons of apps which all leave files on my internal storage so now when I look at it I see lots of garbage that I'm pretty sure I can delete - so here is my question:
When flashing a new rom I wipe data and cache and after that can I safely delete every folder on the internal storage? I guess that the only ones that I should keep are:
- clockworkmod
- data
- DCIM
- android
Or is there a way to wipe the phone without losing root? (I just don't want to go through the hassle of rooting again..)
Thanks
Seek and you shall find. :good:
Simply go into Mounts and Storage in the Recovery menu and select "format /data and /data/media (/sdcard)" - that does the trick. It deletes everything on the internal memory but leaves the external SD card untouched --> success!
Use with caution though: before this always do a nandroid backup to the external SD and above all don't do all of this if you are not sure about what you are doing
i usually
i) wipe data/factory reset
ii) wipe dalvik cache
iii) format /system
And always after this there are so many unused and uneccesary directories & files left in my internal sd card.
So you propose that after also runningformat /data and /data/media (/sdcard) everything in internal sdcard is deleted?
the thing is that most probably i have the ROM file and gapps etc in internal sdcard in order to flash the phone.if i run this and if i understood correctly that it deletes everything, then it will also delete those ROM files right?
so please clarify this if you can or propose the best way i guess other aditional steps (that im missing out) in order to have the cleanest possible phone.
I had made a backup, which didn't work, and flashed a file that messed me up a little. Tried restoring the backup and effectively made it so the only things accessible are twrp recovery and the bootloader.
Is there any way I can copy the contents of the internal sd to the computer this way?
johnequickiii said:
I had made a backup, which didn't work, and flashed a file that messed me up a little. Tried restoring the backup and effectively made it so the only things accessible are twrp recovery and the bootloader.
Is there any way I can copy the contents of the internal sd to the computer this way?
Click to expand...
Click to collapse
It should mount the phone on the PC so that you can copy to and from with the PC.
Could pull it with adb pull /path_to_file/folder /path_to_pc_directory
It would have been much easier to use the dd command to copy over the entire partition for data but it's Read-Only. I'm not entirely sure how to copy it entirely over, if it was that easy I suppose anyone could do it and it would be a security flaw for private data...
Put a micro sdcard in and just create a regular backup even if you don't have an OS so It creates the directory on the sdcard ,than grab a backup zip and extract it to the
backup/******* (stars represent the letter and numbers once you open the backup folder) so you can restore it.boot it up and go through with the setup and you should gain access to internal memory.
I have changed my ROM to Fulmics and all okay. I did a TWRP backup of current stock ROM beforehand. I also did a system and internal storage wipe. Unfortunately some of my photos were stored on my internal drive (all the rest are on external SD card). Is there a way to retrieve just the photos? I have looked through the backup files on my PC with WinRar but cannot locate any photos.
Google periodic backup seems to only have backed up the external SD card photos!
I'm not sure, but you could try to restore your "data" partition from the recovery.