Unable to delete old 0\Clockworkmod directory - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

After a recent clean wipe from CM10.1 M3 back to M2, I wanted to delete the old "0" directory left behind from the previous ROM. I have done this several times before:
- Move important files from the 0 folder over to the parent emulated sdcard folder (also called 0)
- Delete the 0 folder.
It's now telling me that I can't delete the 0 folder because of the clockworkmod folder that is inside of it. There are zero files in the clockworkmod folder or anywhere else in the 0 folder. I have tried deleting it on my computer and via two different file manager apps with root access on my phone. What gives?
I realize that this is a minor quibble, but my OCD is kicking in here.

ScOULaris said:
After a recent clean wipe from CM10.1 M3 back to M2, I wanted to delete the old "0" directory left behind from the previous ROM. I have done this several times before:
- Move important files from the 0 folder over to the parent emulated sdcard folder (also called 0)
- Delete the 0 folder.
It's now telling me that I can't delete the 0 folder because of the clockworkmod folder that is inside of it. There are zero files in the clockworkmod folder or anywhere else in the 0 folder. I have tried deleting it on my computer and via two different file manager apps with root access on my phone. What gives?
I realize that this is a minor quibble, but my OCD is kicking in here.
Click to expand...
Click to collapse
For some reason , I'm not sure certain files in that /0 folder are write protected that only a data wipe can clear. Move your data and media to ext SD card and do a data or internal storage wipe. About all you can do. I got this on a morphology folder once

Related

Internal SD File Structure has embedded"0" folders (2)

So I flashed a new rom with all the wipes and I ended up with a couple issues and the typical 4.2 file structure under the "0".
I tried another ROM again today (with the wipes) and now I have two "0" folders, one embedded under another and a lot of my backups are in different locations.
So it's SDCard/0/0.
Is there a good way to fix this?
cwepruk said:
So I flashed a new rom with all the wipes and I ended up with a couple issues and the typical 4.2 file structure under the "0".
I tried another ROM again today (with the wipes) and now I have two "0" folders, one embedded under another and a lot of my backups are in different locations.
So it's SDCard/0/0.
Is there a good way to fix this?
Click to expand...
Click to collapse
I know the CAUSE is from using an out-of-date recovery. TWRP hasn't had that issue for a while, but i think CWM only fixed it just recently. It didn't start until i believe 4.2.1 ROMS were flashed. I'm still not sure if it's a good thing or not to delete those "0" folders or not. I'm sure someone will chime in on that.
the 0 folders have your sd card files in them (pictures, music, etc). if you move all your stuff back to the root of your internal sd card you can delete the 0 folders.
sent from my i747 with xda-premium
I tried moving the folders on my windows PC (old pos) and it didn't work. Android file transfer doesn't work with my GS3 and my Mac.
Frustrating.
Anyways to reflash something in CWM or is moving the files the only way?
Edit: Astro works alright...so where should Ibe putting most of these files? Under SDCard or under SDCard/0?
Now i moved some folders up, the gallery shows everything as a picture (icons) and titanium can't find any apps.
Nw sure what to do.
After I went back to stock, re-rooted, and reflashed 4.2, I tried moving everything from /sdcard/0 to /sdcard. It seemed to work, but then all of a sudden, on the next boot, it was all gone. My internal storage was wiped.
Luckily most of the important stuff is on my external SD card, but that was still really frustrating.
Just a word of warning if you try to move these files. Make a backup.
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
No file moving should be done, it will most likely cause data loss when the issue is finally gone... If CWM has fixed it switch to the newest one or use TWRP and Fully Wipe the phone including format /system...
Here is a link to a script you can flash to move files from 0 folders back to sdcard, you can thank the OP of the script there:
http://forum.xda-developers.com/showpost.php?p=35653109&postcount=8124
Manual solution via Windows
I had the same problem. Solved via the following steps: Using Windows, navigate to deepest level "0" folder. Select all, copy. Navigate to the next higher level "0" folder (or the root "Phone" folder if you're only one step down). Paste. Windows will perform a merge, versus replace.
Next, delete the "0" folder from the directory you're currently in, the one you just copied all the files from. I should note, I actually moved the folder to my desktop just in case I needed to bring it back later. So far I haven't, but better safe than sorry.
Once that's done, select all in the same folder, copy. Navigate to the next higher "0" level folder or the root (or the root "Phone" folder if you're only one step down). Paste. Repeat same process, move up a level, repeat, move up a level. You'll need to do this for every "0" folder you have (I had two, I've seen reports of more & less).
Eventually, you'll have all the same files and directory structure merged up to the root Phone folder. My device, a Samsung S3 running 4.3, recognized and responded to the changes with no problems.

.zip/script for fixing CM10 - 0 parition

I was looking around and saw there may be a .zip to flash to restore the 0 partition back to normal when going back to a JB ROM.
I looked around and tried to search. Can anyone lend me a hand and shoot me a link?
Thanks.
I copy and pasted this from the s3 side.......
We all had that problem, we can't find our backups after flashing Cm 10.1. IT IS FIXABLE! So why would you factory reset through Odin? Here is how to fix it.Step One: Make sure you are on a ROM with the play store. (When I flashed CM10.1, I had CM10 still on my sdcard with the Gapps, so I flashed that.)I use ES file explorer, but you use what you want. Be sure to rename any important folders just in case so the files don't over lap.********************************If you play games.. BACKUP YOUR DATA! THIS PROCESS DELETES GAME AND APP DATA! I AM SORRY! USE BACKUP PRO OR TITANIUM BACKUP IF YOU ARE FAMILIAR WITH IT! YOU HAVE BEEN WARNED!*********************************Step Two: Go into your 0 folder and highlight everything in there except Android. Shown here:Step Three: Hold down on a folder and select "Move to"Step Four: it will bring up a box, go up till you get to the parent folder, shown here, and select SDcard (Internal SD!).Step Five: After Selecting the internal SD Card, hit "ok" and it will move everything up to your parent folder where the "0" is. You can delete the "0" Folder (Make Sure there is nothing left in there that you need!), reboot into recovery, and get your backups back!
There are zips but not sure if we have one for the note 2, so id probably try this first..

[Q] How to delete all the nested 0 folders in my galaxy s3

I've been reinstalling my ROMs quite a bit, but now when I look at my phone, there are at least 8 0 folders in my device and it's taking up alot of space. Is there any way to delete the 0 folders?
Right now, this is how my file manager looks like with all the 0 folders:
Internal Storage/0/0/0/0/0/0/0/0/
Thanks.
ptexp said:
I've been reinstalling my ROMs quite a bit, but now when I look at my phone, there are at least 8 0 folders in my device and it's taking up alot of space. Is there any way to delete the 0 folders?
Right now, this is how my file manager looks like with all the 0 folders:
Internal Storage/0/0/0/0/0/0/0/0/
Thanks.
Click to expand...
Click to collapse
This is due to an issue with a bug in the previous version of Clockworkmod. First what you should do is install it to prevent it from happening in the future. Next what you do is plug your phone into your computer and copy all the files from the last 0 folder into the first 0 folder, then delete all of the empty 0 folders. This should fix it, but its a pain to wait, especially if you have a bunch of nandroids.
I would recommend you backup all your data onto your computer. Clean wipe the sdcard from your recovery and then just put it back on the clean sdcard (it causes the least errors).
If I have helped please slap that thanks button
But the 0 folders in the middle also took some of the space. Do I need to find those folders and put it in my sd card as well? Or do I just forget about the ones in the middle and just copy the last one? And the problem is, the 0 folders in the middle arent empty either.
ptexp said:
But the 0 folders in the middle also took some of the space. Do I need to find those folders and put it in my sd card as well? Or do I just forget about the ones in the middle and just copy the last one? And the problem is, the 0 folders in the middle arent empty either.
Click to expand...
Click to collapse
Just copy all the contents of all the 0 folders and back it up. At the end when you wipe your sdcard then just put them all back into your single /0 folder
http://forum.xda-developers.com/showthread.php?t=2362138
Visit my thread, for fix.
Current ROM: Illusion v2.0.
Kernel: BMS. (Latest Version)
Hit the thanks button if I helped. [:

Cleaning up SD Card Storage

So with all of this jumping back and forth between AOSP and Stock based ROMs I find that my SD Card is filling up quickly. I know this is due to duplication in 0 folder. Can anyone provide me with a list of files/folders that are essential to keeping my phone running smoothly both in and/or outside of the 0 folder. I would like to start removing files and clean up some storage. I don't keep music on my or many pictures, but those are easy to clean out because of auto backups to online storage.
Androidawg said:
So with all of this jumping back and forth between AOSP and Stock based ROMs I find that my SD Card is filling up quickly. I know this is due to duplication in 0 folder. Can anyone provide me with a list of files/folders that are essential to keeping my phone running smoothly both in and/or outside of the 0 folder. I would like to start removing files and clean up some storage. I don't keep music on my or many pictures, but those are easy to clean out because of auto backups to online storage.
Click to expand...
Click to collapse
a lot of the time its the log file. you can delete them out of the 0 and the root folders.
I'm on stock right now, heres my folder list. Android, data, DCIM, smvvm, TWRP.
Then my personal !tools! folder and the download folder.
21.5gb free out of 25gb
edit: if you have other apps installed they may be making other folders too. backup before you start deleting stuff!!
octhrope said:
a lot of the time its the log file. you can delete them out of the 0 and the root folders.
I'm on stock right now, heres my folder list. Android, data, DCIM, smvvm, TWRP.
Then my personal !tools! folder and the download folder.
21.5gb free out of 25gb
edit: if you have other apps installed they may be making other folders too. backup before you start deleting stuff!!
Click to expand...
Click to collapse
where's the log file?
Androidawg said:
where's the log file?
Click to expand...
Click to collapse
should just be in the root of the sd card and the root of the 0 folder. may be in the data folder. windirstat is a great tool to find shiz. I always delete it from the computer. it shows up like a notepad file.

[Q] [Help] Omni Rom 4.4.2 kitkat 20140303 taking too much Flash memory

Hi . I'm a newbie
My note 2 is running in low memory
Total memory is 10.46 GB
Free 3.50 GB
Apps 0.99 GB
Media near 1 Mb
Cache data and other near 110MB
So where is the rest? What should I do to free some space?
Thanks
romi1996 said:
Hi . I'm a newbie
My note 2 is running in low memory
Total memory is 10.46 GB
Free 3.50 GB
Apps 0.99 GB
Media near 1 Mb
Cache data and other near 110MB
So where is the rest? What should I do to free some space?
Thanks
Click to expand...
Click to collapse
use a root explorer and go to
data/media
this is where all ur stuff is located.. Take out or deal it the way u want to deal with it
geekynoob said:
use a root explorer and go to
data/media
this is where all ur stuff is located.. Take out or deal it the way u want to deal with it
Click to expand...
Click to collapse
There is nothing in that folder. And i'm totaly stuck
romi1996 said:
Hi . I'm a newbie
My note 2 is running in low memory
Total memory is 10.46 GB
Free 3.50 GB
Apps 0.99 GB
Media near 1 Mb
Cache data and other near 110MB
So where is the rest? What should I do to free some space?
Thanks
Click to expand...
Click to collapse
What rom/system were you using before? In some situations when installing new rom version over the old without doing full wipe there are leftover files from old installation.
Using root explorer go to /storage/sdcard - list what is in there
go to /storage/emulated - there should be 2 directories there: 0 and legacy - list what is in there
lastly go to /mnt/shell/emulated - list what is in there - if you see there directories like "0", "legacy" then it's your original internal sd directory.
Now while installing new rom, almost all files from that directory should be moved to "0" directory for multiuser environment configuration, but sometimes they are not - the will be normally not visible in settings>storage information creating lost space" phenomena
Now comes the hard part - you can delete almost all files and directories except "0" and "legacy", but there may be some config files from your recovery and/or backup files from the same source (those directories will have in their names some familiar words, for example: devil, agni, clockworkmod, twrp) - you should not touch them. Browse directories (except "0" and "legacy") for old program data, obb files and directories, media, music and video files and delete them as they are not visible to your media players or programs. They are a bit like old "program files" and "documents" from Windows world
mat9v said:
What rom/system were you using before? In some situations when installing new rom version over the old without doing full wipe there are leftover files from old installation.
Using root explorer go to /storage/sdcard - list what is in there
go to /storage/emulated - there should be 2 directories there: 0 and legacy - list what is in there
lastly go to /mnt/shell/emulated - list what is in there - if you see there directories like "0", "legacy" then it's your original internal sd directory.
Now while installing new rom, almost all files from that directory should be moved to "0" directory for multiuser environment configuration, but sometimes they are not - the will be normally not visible in settings>storage information creating lost space" phenomena
Now comes the hard part - you can delete almost all files and directories except "0" and "legacy", but there may be some config files from your recovery and/or backup files from the same source (those directories will have in their names some familiar words, for example: devil, agni, clockworkmod, twrp) - you should not touch them. Browse directories (except "0" and "legacy") for old program data, obb files and directories, media, music and video files and delete them as they are not visible to your media players or programs. They are a bit like old "program files" and "documents" from Windows world
Click to expand...
Click to collapse
I use the 4.1.1 version. And the folder you mention not show up in anywhere.
romi1996 said:
I use the 4.1.1 version. And the folder you mention not show up in anywhere.
Click to expand...
Click to collapse
Were you in the root folder when you started searching for mentioned folders? Root folder is the topmost folder with main subfolders (etc, system, sys, storage, mnt and others) - there is no way that you would not find "storage" folder - it MUST be there.
mat9v said:
Were you in the root folder when you started searching for mentioned folders? Root folder is the topmost folder with main subfolders (etc, system, sys, storage, mnt and others) - there is no way that you would not find "storage" folder - it MUST be there.
Click to expand...
Click to collapse
No root folder is emty. But the dev folder have 184 sub folder .. that folder have so many that i can't count because the folder is too large. Can i delete dev folder?
romi1996 said:
No root folder is emty. But the dev folder have 184 sub folder .. that folder have so many that i can't count because the folder is too large. Can i delete dev folder?
Click to expand...
Click to collapse
It's a bit of a misunderstanding: Root folder is the main folder of whole file system, but it is also a simple folder named "Root" in the root folder (or otherwise called root directory) of the file system. It's the same if you crated in some directory a new directory and named it "directory" Easy, yes?
In the root directory you should have some typical directories: cache, config, d, data, dev, efs, etc, lib, mnt, proc, sys, system, storage and others
There must be a directory named "storage" and there must be a directory named "mnt" - those are the ones I was writing about before, please follow that.
Oh, and under any circumstances do not delete /dev (even if Android would allow that).
mat9v said:
It's a bit of a misunderstanding: Root folder is the main folder of whole file system, but it is also a simple folder named "Root" in the root folder (or otherwise called root directory) of the file system. It's the same if you crated in some directory a new directory and named it "directory" Easy, yes?
In the root directory you should have some typical directories: cache, config, d, data, dev, efs, etc, lib, mnt, proc, sys, system, storage and others
There must be a directory named "storage" and there must be a directory named "mnt" - those are the ones I was writing about before, please follow that.
Oh, and under any circumstances do not delete /dev (even if Android would allow that).
Click to expand...
Click to collapse
There is no folder name mnt in that storage folder there only folder name emulated . Sdcard0 sdcard 1 usbdisk0
Oh in the emulated folder have legacy folder and 0 folder.
But finally i found it in root folder .with some some of my stupid misunderstanding. But i greatly thanks you so much.
UPDATE so the mnt and my main sdcard. Folder like synced .it í like duplicate the file
mat9v said:
It's a bit of a misunderstanding: Root folder is the main folder of whole file system, but it is also a simple folder named "Root" in the root folder (or otherwise called root directory) of the file system. It's the same if you crated in some directory a new directory and named it "directory" Easy, yes?
In the root directory you should have some typical directories: cache, config, d, data, dev, efs, etc, lib, mnt, proc, sys, system, storage and others
There must be a directory named "storage" and there must be a directory named "mnt" - those are the ones I was writing about before, please follow that.
Oh, and under any circumstances do not delete /dev (even if Android would allow that).
Click to expand...
Click to collapse
Update : the mnt/shell have emulated. So which folder i should delete? .
I checked some folder i reconize some super strange thing in root.
The sdcard and extsdcard folder in root folder. . The storage folder has 2 folder too. . When i go to mnt/sdcard there ate have 2 more folder like that. And the super strange thing is these files in those folder is completely same like they are duplycating. Can you answer this?
Update : still don't know why the storage folder is 4.02Gb but when I take information of each one in that folder and combine it i got over 3Gb . What the hell?
romi1996 said:
Update : the mnt/shell have emulated. So which folder i should delete? .
I checked some folder i reconize some super strange thing in root.
The sdcard and extsdcard folder in root folder. . The storage folder has 2 folder too. . When i go to mnt/sdcard there ate have 2 more folder like that. And the super strange thing is these files in those folder is completely same like they are duplycating. Can you answer this?
Update : still don't know why the storage folder is 4.02Gb but when I take information of each one in that folder and combine it i got over 3Gb . What the hell?
Click to expand...
Click to collapse
There are a lot of duplicate directories like that because they are virtual directories, like shortcut files on Windows , but unlike in Windows they have the size of all children files (with some exception. It is complicated and hard to describe without .... a lot of explaining for which I have no time ) The directory /mnt/shell/emulated is of interest to us, in enclosed picture you can see "User directory" that contains all files that your current profile uses, some directories in pink - they may be there or they may not be, but you should not under any circumstances delete them, directories in green are free to delete. Please list any other directory you will find there and their sizes so I can advise what to delete.
View attachment 2614902
mat9v said:
There are a lot of duplicate directories like that because they are virtual directories, like shortcut files on Windows , but unlike in Windows they have the size of all children files (with some exception. It is complicated and hard to describe without .... a lot of explaining for which I have no time ) The directory /mnt/shell/emulated is of interest to us, in enclosed picture you can see "User directory" that contains all files that your current profile uses, some directories in pink - they may be there or they may not be, but you should not under any circumstances delete them, directories in green are free to delete. Please list any other directory you will find there and their sizes so I can advise what to delete.
View attachment 2614902
Click to expand...
Click to collapse
Deleted. Rom recovery back up removed . Thanks you so much
I wanna reopen some files but i can't. The system keep telling can't open the file and the files is AcIv.mp3 or a video. Please help.

Categories

Resources