Which CWM and TB folder to keep? - Nexus 7 Q&A, Help & Troubleshooting

Should I keep the one at the root of the SD or the one in /0?
Also, can anyone explain the two folders to me - /sdcard and /sdcard/0/? Which one is just a backup of older stuff?
Sent from my Nexus 7 using xda app-developers app

Awesoham said:
Should I keep the one at the root of the SD or the one in /0?
Also, can anyone explain the two folders to me - /sdcard and /sdcard/0/? Which one is just a backup of older stuff?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
They are both the same, i.e. different paths to the same directory, so you mustn't remove any one of it.

If I switch to tell, can I delete the cwm folder?
Sent from my Nexus 7 using xda app-developers app

I second the motion - don't dink with the directory structure.
If you can't tell what is important, you are sure to mess it up.
/storage/emulated/0 is the first (primary) user. /storage/emulated/10 in the second user, etc.
/storage/legacy is all your apps apparently installed before 4.2.
/sdcard is the root of the writeable file system. I think it is the same as /storage/sdcard0.
A lot of what look like duplicate files will really be symlinks to the one original file, or the original directory.

Related

Move 4.1 SD card contents so apps in 4.2 can see them

How can i move my files?
Sent from my Nexus 7 using xda app-developers app
Can u be a little more specific?
Titanium backup works awesome for backups if you have root,if not then you will have to do a directory crawl with a pc and back up that way.
Sent from my SGH-I927 using xda app-developers app
Kodiack99 said:
Can u be a little more specific?
Titanium backup works awesome for backups if you have root,if not then you will have to do a directory crawl with a pc and back up that way.
Sent from my SGH-I927 using xda app-developers app
Click to expand...
Click to collapse
i upgraded my rom (paranoid android) and it has android 4.2 on it. but with multiuser support, the sd card contents got redirected somewhere else, but it didnt take my files with it. so now none of my apps see my files. i need to know how to get them into a readable place.
You should have done a backup with titanium before installing the new rom,then you could have reinstalled titanium and restored appa and data.The multiuser file system is a pita,install your apps from playstore and then find the directories they hold their data and transfer it manually.Time consuming but unless you have a nandroid of you 4.1 that you could install to do a titanium backup on thats the way to go.
Sent from my SGH-I927 using xda app-developers app
I made a nandroid already. My apps aren't the problem. I only need to get to my old sd card contents. That has my app backups from rom toolbox.
So you need to move your rom toolbox backup from your old sd to your new backup location so it can restore?
You will have to use a file manager or pc to copy paste from old location to the new one ,finding the new one might be a pain but I believe the old one should be sdcard/romtoolbox folder.
Sent from my SGH-I927 using xda app-developers app
I figured out where everything was. My old sd card stuff was under "mnt/shell/emulated" while the new sd card was under "/sdcard". kind of a pain trying to find it.
Good to know.
Cheers
Sent from my SGH-I927 using xda app-developers app

[Q] Backing Up To PC

What I want to accomplish: Send the backup/ROM file to to a computer.
I thought it would be under SDCard/ClockWorkMod/backups but that doesn't even exist. And I do have 2 backups currently.
Backups are in mnt/shell/emulated/clockwordmod/backups
you will need a root browser to copy the backups to sdcard first
Sent from my Nexus 4 using xda app-developers app
Awesome, that's the answer I was seeking. Thanks+

[Q] Question about nexus 10 factory reset and virtual SD card.

I was wondering... If you do a factory reset in cwm, will it remove the contents of the virtual SD card? I would hope it wouldn't, but want to make sure.
Also wondering if it would erase the contents of the cwm backup folder, since that's been separated out now.
Sent from my Nexus 10 using xda app-developers app
hinxman said:
I was wondering... If you do a factory reset in cwm, will it remove the contents of the virtual SD card? I would hope it wouldn't, but want to make sure.
Also wondering if it would erase the contents of the cwm backup folder, since that's been separated out now.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
No if you do a factory reset in cwm it wipes only the /data and cache partitions so you can then flash a rom which overwrites /system, so everything but /sdcard gets wiped.
And what about the cwm folder? I haven't heard of it changing.
It's always been /sdcard/clockworkmod/
Swiped from my Rezound using xda-developers app
With the nexus 10, the clockwork mod backup folder is in /mint/shell/emulated/clockworkmod
Thanks for the heads up, I appreciate it.
Sent from my Nexus 10 using xda app-developers app
hinxman said:
With the nexus 10, the clockwork mod backup folder is in /mint/shell/emulated/clockworkmod
Thanks for the heads up, I appreciate it.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
weird, I went to find my clockworkmod folder and it's not in my sdcard. =O
I also can't find "/mint/" maybe you meant /mnt? but even then it's still not there. I did a nandroid backup, but I cannot find the folder.
Mistype, /mnt/
I know that alot of apps can't see that directory, thats "by design" from what i've seen... i'm using ES File Manager, have it set to root permissions, and have it set to up to root, and i'm able to see it there.
Sent from my Nexus 10 using xda app-developers app
Ah you're right..root browser shows them.
Swiped from my Rezound using xda-developers app

Storage

Using SD maid if found where the heck all my storage was going. Under /storage/emulated the folders /legacy and /0 are exactly the same with all the same stuff in it. Is there 2 of everything in my internal SD? Can I delete one of these folders? I attached a screenshot
Sent from my Nexus 4 using xda app-developers app
For giggles I deleted one. The folder was still there but empty and the other folder is also empty. I'm thinking they are the same just shown twice with different names. Not actually duplicate.
Sent from my Nexus 4 using xda premium
Hmm okay damn. Trying to figure out where this space is going because all I really have is a couple things in the downloads folder and thats it. Another screenshot of my storage in settings kinda further backs my idea
Sent from my Nexus 4 using xda app-developers app
Have you done any nandroid backups?
Sent from my Nexus 4 using xda premium
jpeterson066 said:
Using SD maid if found where the heck all my storage was going. Under /storage/emulated the folders /legacy and /0 are exactly the same with all the same stuff in it. Is there 2 of everything in my internal SD? Can I delete one of these folders? I attached a screenshot
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
They are not duplicate files... The files are only stored in one location, but each folder has a "link" to them...
Sorta like your computer and creating "shortcuts"
That's all well and good, but...
UberSlackr said:
They are not duplicate files... The files are only stored in one location, but each folder has a "link" to them...
Click to expand...
Click to collapse
...even Android's storage manager can't get it right:
Phone:
mako 16GB
rev_11
MAKOZ10o
M9615A-CEFWMAZM-2.0.1700.48
Secure Boot - enabled
Lock State - unlocked
Rooted with (an otherwise) stock ROM (4.2.2 OTA) and Clockwork Mod Touch 6.0.2.3.
I have found four places seeming to be my SD storage:
/sdcard
/storage/sdcard0
/storage/emulated/0
/storage/emulated/legacy
I've attached other screenshots showing how File Expert HD and DiskView treat my storage. CWM 6.0.2.3 also "misinterprets" my storage situation so I can't make more than 2 backups, and if I have 2 then I struggle for space for downloads and apps. I really wouldn't care about this if apps understood it - it makes you wonder how it managed to get released when not only do no apps support it, but Android's own system gets confused!
I've seen posts talk about merging all SD data with /data/media/0 but on my phone (using both File Expert and the new File Expert HD) that's showing up as a file not a folder. Seriously, how do I sort this out? Which is the real folder, why are the other three there, how do I disable this silly "shortcut" thing that's destroying my phone's storage?
Did you guys make any nandroid backup on the SD cards?
andyli1985 said:
Did you guys make any nandroid backup on the SD cards?
Click to expand...
Click to collapse
Yeah, what originally alerted me to the space issue was when I went to make my second nandroid since installing the 4.2.2 OTA. I made one before and one after the update, then went to make a third in order to have a recent backup before trying to flash the Ubuntu Touch Dev preview but the nandroid failed due to insufficient storage space.
Ultrabenosaurus said:
Yeah, what originally alerted me to the space issue was when I went to make my second nandroid since installing the 4.2.2 OTA. I made one before and one after the update, then went to make a third in order to have a recent backup before trying to flash the Ubuntu Touch Dev preview but the nandroid failed due to insufficient storage space.
Click to expand...
Click to collapse
This should explain the "missing" storage. Since you made two nandroid backups and you have quite a lot of apps installed (2.89GB), this will take at least 6 GB of space.
Edit: Nandroid backups don't show on the android storage view.
andyli1985 said:
This should explain the "missing" storage. Since you made two nandroid backups and you have quite a lot of apps installed (2.89GB), this will take at least 6 GB of space.
Click to expand...
Click to collapse
At the time of taking the screenshots in my first post, I only have one nandroid in order to keep a decent amount of free space. The fact that CWM is also misinterpreting the storage makes me think it's backing up all 4 locations, which means that my nandroid is stupidly big. That coupled with all apps mistaking the 3 mirror locations as actual files results in a huge loss of potential storage space as apps think the device is full when it really isn't.
I should probably also mention that Windows reports the same free/used space numbers as File Expert HD.
All your internal data lies within /data/media/
The contents within that is usually what is visible to the user on a TW ROM. Once you switch to an AOSP ROM a second partition is created in /storage/emulated/0. This is your actual internal memory. Any previous downloads or backups made before installing an AOSP ROM will be located in /data/media/ since that was it's original directory. You can still view the "0" folder in /data/media/ but all your downloads, backups, etc, will be directed to /storage/emulated/0/ by default.
Sent from my Nexus 4 using xda premium
LuigiBull23 said:
All your internal data lies within /data/media/
The contents within that is usually what is visible to the user on a TW ROM. Once you switch to an AOSP ROM a second partition is created in /storage/emulated/0. This is your actual internal memory. Any previous downloads or backups made before installing an AOSP ROM will be located in /data/media/ since that was it's original directory. You can still view the "0" folder in /data/media/ but all your downloads, backups, etc, will be directed to /storage/emulated/0/ by default.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I don't understand what you mean by a "TW ROM" but I haven't changed ROM. I unlocked the bootloader and rooted, but other than a few quick plays with Ubuntu Touch I'm still using the stock ROM (which I return to from Ubuntu via restoring a CWM nandroid). I haven't flashed any Android ROMs at all.
I didn't have the phone long before I got the 4.2.2 OTA update and I didn't check the folder structure before then, but I didn't notice any suspiciously fast drops in free space until after said update.
Ultrabenosaurus said:
At the time of taking the screenshots in my first post, I only have one nandroid in order to keep a decent amount of free space. The fact that CWM is also misinterpreting the storage makes me think it's backing up all 4 locations, which means that my nandroid is stupidly big. That coupled with all apps mistaking the 3 mirror locations as actual files results in a huge loss of potential storage space as apps think the device is full when it really isn't.
I should probably also mention that Windows reports the same free/used space numbers as File Expert HD.
Click to expand...
Click to collapse
Can you use a file explorer with root access and check how big is this folder? /data/media/clockworkmod/backup
File Expert and File Expert HD both see it as a file... What app should I use?
Sent from my Nexus 4 using xda app-developers app
Install ES File Explorer, then follow the instructions on this post
Going to have to count up the folder size manually, will do it later and report back because I need to get ready for work now.
Sent from my Nexus 4
you know that the "Real" folders are in "mnt/shell/emulated"?^^
There you also see the clockworkmod folder and check it's size.

Insuficient storage

New and wierd problem. When i try to update my apps. I get a insuficient storage warning. Wierd because i still have 8gb of free storage.
Anyone had thism problem?
Sent from my Nexus 10 using xda app-developers app
NLPUNITED said:
New and wierd problem. When i try to update my apps. I get a insuficient storage warning. Wierd because i still have 8gb of free storage.
Anyone had thism problem?
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
I'm exactly the same as you. A few apps, mainly games kick up this error, and short of a full wipe I have no idea how to fox it!
Happened on both my N4 and N10 and they both have loads of free space left over
Sent from my Nexus 4 using xda premium
Have you tried to fix permissions, clear cache and reboot?
I think the issue is that the way storage is carried out makes it seem like there isn't any extra because there are 3 or more folders that contain all of the data on the user partition of the flash storage. under mnt/ there is SDcard, but also you'll find emulated, 0, legacy and sometimes 0/0 or others. These should all be only virtual folders or links to other folders, but I think that's doing something. I ran into it a few days ago and after a permissions fix and cache clear and reboot I got it to start updating again. It's doing it again now though.
yep, I fixed permissions and cleared cache. It really might be as simple as something changing the permission for the Play store to write data, which would probably look like a full partition. Anyway it worked and I'm updating and downloading again.
If you are rooted, try deleting the .odex file for that specific app in data/app or system/app.
If your rooted you can also just launch lucky patcher. It delete unused odexes automatically.
Sent from my Nexus 10 using xda app-developers app
jsb5388 said:
If you are rooted, try deleting the .odex file for that specific app in data/app or system/app.
Click to expand...
Click to collapse
How would i do that? With ES explorer all i see are .apk files in those folders
Sent from my Nexus 10 using xda app-developers app

Categories

Resources