[Q] mnt/shell/emulated folder - can I delete it? - Galaxy S III Q&A, Help & Troubleshooting

Previously I had Samsung's official firmware, I rooted a phone and flashed CM10.2. I wanted to delete everything I had on internal storage, but it showed me like it is already empty, despite I had only 2 gb left on internal storage. I went to "Device: mnt/shell/emulated folder and I found there all files I previously had on internal storage, including photos, music, app data etc. Can I delete those files in that folder (except sub folder 0, which is mirror for current internal storage)?
Thanx

No you cannot delete your internal /sdcard
Read stickies in general. The one about 4.2 and /sdcard
Sent from my GT-I9300 using Tapatalk 4

Thanx for answer.
I deleted android/data, DCIM and all music under mnt/shell/emulated folder. Now I have 6 gb free on internal storage and I didnt erased any system files. For example, there were files for Real racing 3 (in mnt/shell/emulated/android/data folder), which I had installed on 4.1.2. It took a lot of space.
So far everything works OK, I hope it will stay in that way
Sent from my GT-I9300 using xda app-developers app

Did you read the thread?
Sent from my GT-I9300 using Tapatalk 4

rootSU said:
Did you read the thread?
Sent from my GT-I9300 using Tapatalk 4
Click to expand...
Click to collapse
Now I did - it is hard to search on a phone, but I found it. You explained very nice everything there, thanx. Luckily, I kept folders 0, obb and legacy untouched, so I guess I didn't do any damage? I also didnt restore from a Titanium backup when I installed CM10.2, but I installed everything from a scratch. Because of that, can I erase all folders except 0, obb, legacy and clockwork mod?
Thanx
Sent from my GT-I9300 using xda app-developers app

Related

Unable to save/delete on SD-EXT

Hello.
I'm on the latest CM7 stable and am not able to delete any files or save any files to SD-ext. The files will show "deleted" or "saved", but if I reboot, the deleted files will be back or the new files will be gone. I have 1.5GB free on my SD. Any Ideas? Do you think it may be because it's formatted as FAT32 (just noticed that today)?
Thanks!
No one has a clue or any suggestions?
Sent from my MB860 using xda app-developers app
P05TMAN said:
Hello.
I'm on the latest CM7 stable and am not able to delete any files or save any files to SD-ext. The files will show "deleted" or "saved", but if I reboot, the deleted files will be back or the new files will be gone. I have 1.5GB free on my SD. Any Ideas? Do you think it may be because it's formatted as FAT32 (just noticed that today)?
Thanks!
Click to expand...
Click to collapse
Might want to format it because I had that problem with my 32 gb when I bought it.
Sent from my MB860 using Tapatalk 2
unforgivenmercy said:
Might want to format it because I had that problem with my 32 gb when I bought it.
Sent from my MB860 using Tapatalk 2
Click to expand...
Click to collapse
tried formatting, but after I did & put it back into my phone all of the files were back! WTF....so weird

Accidentally deleted .android_secure

Hey all, I accidentally deleted the folder .android_secure in mnt/sdcard. I realize that transferring files from my phone to my computer is impossible now. Anyone have any ideas what to do?
Sent from my GT-I9100 using xda app-developers app
AsherChua said:
Hey all, I accidentally deleted the folder .android_secure in mnt/sdcard. I realize that transferring files from my phone to my computer is impossible now. Anyone have any ideas what to do?
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
format the Sd card... Else try copying the file from backup if u made one.. Then reboot.
.android_secure stores encrypted versions of the apps moved to external SD card. You'll have probably to reinstall some apps. Hopefully the data is intact on the system partition.
Appreciate the help guys! Thanks!
Sent from my GT-I9100 using xda app-developers app

[Q] Problem with Link2SD

I need a little help i have a problem with Link2SD. I assign 500 mb to ext2 partition, and i have all my apps in the sd card, playstore, facebook and 2 others are linked. Well my problem is that, i have a notification for less space in internal storage :/ when i trying to install some new games ( well i have like 5 games installed already on the sd)... So why i have just 19% free space in internal storage if i have all my apps in sd? PD : see the image and sorry my bad english
Sent from my GT-S5830i using xda app-developers app
Link all apps. Don't move them to SD Card.
Sent from my GT-S5830i using Tapatalk 2
move your apps to internal storage and then link them
Sent from my LG Optimus 4X HD using xda-developers App
Im gonna try that . But i have another issue, why when i install apps automatically install on sd card, i remember in old version of link2sd, new apps are linking to sd and no install on sd. How i can activate that if is possible?
Sent from my GT-S5830i using xda app-developers app
BuhO.- said:
Im gonna try that . But i have another issue, why when i install apps automatically install on sd card, i remember in old version of link2sd, new apps are linking to sd and no install on sd. How i can activate that if is possible?
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
In Link2SD go to settings, Check Auto-Link.
Sent from my GT-S5830i using Tapatalk 2
iamashank said:
In Link2SD go to settings, Check Auto-Link.
Sent from my GT-S5830i using Tapatalk 2
Click to expand...
Click to collapse
Yeah that is activated at the first but for some reason didn't works, idk but now is working, thanks.
I've been having a similar problem to the OP. Am I right in thinking you move ALL applications to internal storage, even the ones that install to SD card by default and then link them?
I guess there's a problem with your rom or kernel. Who knows
Rahul4Ace said:
I guess there's a problem with your rom or kernel. Who knows
Click to expand...
Click to collapse
But is this the way to do it? Make sure user apps are are on PHONE before linking?
I'm using LinkSD and it saves me a lot of space in /data.
The way it works :
When installed, an app has three or four parts : the .apk file, the .dex file (in a deodexed ROM), the data folder and, eventually, one or more .so in /data/data/app_folder/lib
- If the app is in internal storage, every parts of it are in /data : .apk in /data/app, .dex in /data/dalvik-cache, data folder and libs in /data/data/name_of_the_app folder
- When the application is moved to sd Card, the .apk file is moved in /mnt/asec/, but the .dex and the data folder remains in internal storage (some applications may also have data in SD Card)
- When the application is linked, the .app, the .dex and the .so files are moved to /data/sdext2 (which is the place where the 2nd partition of the SD Card is mounted), only the data folder (without libs) remains in /data/data (internal storage).
So, the best way to save place in internal storage is to link user applications (no need to move it to internal storage first, it also works when the application is in SD Card).
All my 50 user apps are linked, and I still have 85 Mb free in /data.

Getting rid of the "0" file

I'm trying to figure out where all my memory is going..... and i noticed and I have seen this before of the infamous "0" file that is inside of the sd memory. Two different things; is it accumulating memory, and how do I get rid of it?
It is an exact duplicate of the sd card.... and lots of times my recovery twrp 2.5.5 can't find downloads Bc it can't find "0"....and i have to move the files after downloading just so the recovery can find it.
I'm not near a pc so could I move the whole" 0" file to sd card somehow? Perhaps create a temp folder move it there and the delete sd files... Recreate sd card and then move all files from "0" back into sd card files and get rid of "0" all together.... Something like that..... Not having a pc on vacation
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
The "0" folder is the primary internal sd card location on AOSP 4.2 roms, when you flash back to Touchwiz is becomes "0". The zip here will remove all of the files in that folder and put them back in the right spot for touchwiz roms http://forum.xda-developers.com/attachment.php?attachmentid=1683644&d=1359382056
When I am on touchwiz I use the recovery zip above and then delete the 0 folder.
shiftr182 said:
The "0" folder is the primary internal sd card location on AOSP 4.2 roms, when you flash back to Touchwiz is becomes "0". The zip here will remove all of the files in that folder and put them back in the right spot for touchwiz roms http://forum.xda-developers.com/attachment.php?attachmentid=1683644&d=1359382056
When I am on touchwiz I use the recovery zip above and then delete the 0 folder.
Click to expand...
Click to collapse
Shall I flash this in twrp?
Sent from my SCH-I605 using Tapatalk 2
ganggreen777 said:
Shall I flash this in twrp?
Sent from my SCH-I605 using Tapatalk 2
Click to expand...
Click to collapse
Yes
I flashed it vis twrp but I still see the "0" file with the items in it that needs to.be on sd card not "0"
Sent from my SCH-I605 using Tapatalk 2
ganggreen777 said:
I flashed it vis twrp but I still see the "0" file with the items in it that needs to.be on sd card not "0"
Sent from my SCH-I605 using Tapatalk 2
Click to expand...
Click to collapse
Check your sd card, do you have duplicates?
shiftr182 said:
Check your sd card, do you have duplicates?
Click to expand...
Click to collapse
No
Sent from my SCH-I605 using Tapatalk 2
This is the two files or sd and sd0
Sent from my SCH-I605 using Tapatalk 2
Leave it. The 0 file is normal and is the way it's is supposed to be. Legacy, '0', sdcard, and sdcard0 are all pointing at the same file. Delete a file in one place and it will be gone in all those places.
As long as you only have one '0' location you don't have a problem. Mostly just use sdcard (as you would on any device) and everything will work as it should. In some cases when setting a path in an app the app will follow the /storage/emulated/0 path. Just treat '0' as if it was sdcard.
These multiple paths to the same file location are called symlinks. Here is an explanation about symlinks and what they are used for.
http://en.m.wikipedia.org/wiki/Symbolic_link
All this is because Google turned JB from a single user device to a multiple user device, each with their own acct/login.
Sent from my Nexus 7 using xda premium
Wow thank you all for.chiming.in and looking into.this thread....you have answered my questions better than I would have imagined
Sent from my SCH-I605 using Tapatalk 2
ezas said:
Leave it. The 0 file is normal and is the way it's is supposed to be. Legacy, '0', sdcard, and sdcard0 are all pointing at the same file. Delete a file in one place and it will be gone in all those places.
As long as you only have one '0' location you don't have a problem. Mostly just use sdcard (as you would on any device) and everything will work as it should. In some cases when setting a path in an app the app will follow the /storage/emulated/0 path. Just treat '0' as if it was sdcard.
These multiple paths to the same file location are called symlinks. Here is an explanation about symlinks and what they are used for.
http://en.m.wikipedia.org/wiki/Symbolic_link
All this is because Google turned JB from a single user device to a multiple user device, each with their own acct/login.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
This is only true if he stays on 4.2.
Sent from my SCH-I605 using xda app-developers app
akellar said:
This is only true if he stays on 4.2.
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
Tru dat - didn't notice where OP said he wanted to revert.
Sent from my SCH-I605 using xda premium
I am actually running all 4.1.2 touch wiz roms right now...... So how can I revert back to not having sd0?
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2

Problem in access internal memory

After flashing cm11 my all files and folders on internal memory is gone but it is showing in recovery
Any idea how to access it ?
Sent from my LG-E970 using XDA Free mobile app
Taha Haq said:
After flashing cm11 my all files and folders on internal memory is gone but it is showing in recovery
Any idea how to access it ?
Sent from my LG-E970 using XDA Free mobile app
Click to expand...
Click to collapse
4.2 and forward see the internal memory differently than the old stock 4.1.
If you go to (system root)/data/media, you'll see the files you're looking for from the internal memory, plus a folder titled "0", which is what is NOW recognized as internal.

Categories

Resources