[Q] How to clean wipe? - Samsung Galaxy Nexus

Hey guys wanted to know how can i clean wipe all the data folders on my phone except the new ROM file i want to flash
i have done normal formats and wipes but got so many dead/duplicated folders on it with the 0/0 and some other stuff
for exmple with root browser i got the SDCARD folder and then i got the STORAGE/SDCARD0 folder again
also got STORAGE/EMULATED/0/ and here ALSO all the files
and also on STORAGE/EMULATED/LEGACY
what am i missing guys?

The SDCARD folders are in fact only links to the real sdcard folder.
I think these links are needed because android used to have another folder structure and older apps wouldn't be able to accept the sdcard.
For a completely clean wipe you can select wipe internal data in TWRP. Maybe you can push the ROM you want to flash via ADB push. But I'm not sure about that.

Cliff666 said:
The SDCARD folders are in fact only links to the real sdcard folder.
I think these links are needed because android used to have another folder structure and older apps wouldn't be able to accept the sdcard.
For a completely clean wipe you can select wipe internal data in TWRP. Maybe you can push the ROM you want to flash via ADB push. But I'm not sure about that.
Click to expand...
Click to collapse
Ok thanks bud, its just that i know that the /0/ folder is a shortcut to the real folder yet the other 2 i wrote down are old files that i had with other ROMS i have used back in the day

Related

[Q] Another "sdcard\0" thread..

Soo, I know there's a lot of these threads around, but I can't find the answer I'm looking for. I'm wondering: After I flashed 4.2 I got this extra "0" folder on my internal sdcarrd. Can I just cut/paste the content of the "0" folder back to the original sdcard root? or will this have a negative effect on the storage?
Regards.
olfyboy said:
Soo, I know there's a lot of these threads around, but I can't find the answer I'm looking for. I'm wondering: After I flashed 4.2 I got this extra "0" folder on my internal sdcarrd. Can I just cut/paste the content of the "0" folder back to the original sdcard root? or will this have a negative effect on the storage?
Regards.
Click to expand...
Click to collapse
I had this issue earlier so i moved everything back to the root folder and deleted "0". If you are planning on flashing a few 4.2 roms i suggest you use the latest TWRP recovery or wait for the updated clockwork recovery because everytime you flash 4.2 roms they automatically create a 0 partition so you will end up with 0/0/0 etc depending on how many you flash
K, thanks!
I think I'll just copy the content of the "\0" folder back to the root, and stick with the ROM I'm on now. Then I'll update CWM when an update is released.
Aaargh.. I'm getting kinda pissed now..
When I try to copy the sd-content back to the root, it says that the device has stopped responding, or isn't connected. Can you tell me what is the standard root folder for the sd-content?
After installing a previous backup the was still a 0 folder so I copied all of the files to the root folder however it made the pictures unable to view
Sent from my Galaxy Nexus using xda app-developers app
I've tried several methods to move my clockworkmod folder out of the "0" folder to the sdcard "root" to no avail.
I'm currently backing up everything from "0" to my desktop. Once that's done, how can I push the clockworkmod folder to the sdcard "root"?
daewond3r said:
I've tried several methods to move my clockworkmod folder out of the "0" folder to the sdcard "root" to no avail.
I'm currently backing up everything from "0" to my desktop. Once that's done, how can I push the clockworkmod folder to the sdcard "root"?
Click to expand...
Click to collapse
Seems like there are some problems copying big folders over to the root. Try to first copy the CWM folder from your PC into some folder on the sd-root. Then, from your phone, open up a file explorer and copy the CWM folder to the root. Pretty weird, but it looks like it's working for me..
Edit: Yupp! worked for me. Hope you'll sort it out aswell.
olfyboy said:
Seems like there are some problems copying big folders over to the root. Try to first copy the CWM folder from your PC into some folder on the sd-root. Then, from your phone, open up a file explorer and copy the CWM folder to the root. Pretty weird, but it looks like it's working for me..
Edit: Yupp! worked for me. Hope you'll sort it out aswell.
Click to expand...
Click to collapse
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
move it to /data/media
---------- Post added at 12:26 AM ---------- Previous post was at 12:11 AM ----------
here's how it works
before the virtual link to /sdcard was /data/media
cwm was writing under /data/media so cwm folder would show up under /sdcard as well
now the virtual link to /sdcard is /data/media/0
that's because of multiuser (even if multiuser is not working on phones)
cwm is still wriyinb to /data/media so cwm golder eoll mot show up under /sdcard
solutions
1. to copy cwm foldrr on pc: move cwm folder from /data/media to /data/media/0 that is to /sdcard then attach phone to pc and copy folder from sdcard
2. to restore from a backup on your vomputer: attach phone to pc, create cwm folder on sdcard andcopy h erebackup folis, copy cwm foldef from /data/media/0 into /dara/media
it is normal to have a /data/media/0 which means /sdcsrd
it is not normal to have /data/media/0/0 which means /sdcard/0
the latter happens on your second installation etc.
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
I used solid explorer beta2. You'll find it on google play
Sent from my Galaxy Nexus using Tapatalk 2
I haven't updated to 4.2 yet because of this sdcard/0 issue I'm reading about
I don't care much about what's on my SD card besides my Nandroid backups so the only thing for me is: can I restore a backup from CWM if I move the "clockworkmod" folder from sdcard/0 back to the root of the SD card?
I assume there's no other adverse effects of all our files and stuff being on sdcard/0 instead of just sdcard root?
Enhanced said:
I haven't updated to 4.2 yet because of this sdcard/0 issue I'm reading about
I don't care much about what's on my SD card besides my Nandroid backups so the only thing for me is: can I restore a backup from CWM if I move the "clockworkmod" folder from sdcard/0 back to the root of the SD card?
I assume there's no other adverse effects of all our files and stuff being on sdcard/0 instead of just sdcard root?
Click to expand...
Click to collapse
read my commeny above: yes, although cumbersone, yes
I'm thinking this is the appropriate thread to post this so here I go. I flashed the newly released 4.2 rooted stock image and there were a few problems :
1. I forgot to delete the cache/dalvik cache, which created a bootloop and completely messed up my device, and I had to wipe/factory data reset from the recovery to fix it (in which case I had to lose almost all of my data)
2. I accidently overwrote an existing nandroid backup of the previous (CM 10 stable) ROM I had made to restore just in case anything happens, so I was out of options to restore my nexus to a working state. I finally had to use the crashed ROM's nandroid backup using an advanced recovery so I had my photos, videos etc intact. I got it finally working but anyways,
3. I restored my apps+data using titanium backup. I wanted to go back to my CM10 backup which I had made using ROM manager and it was still present with the rest of my data. But when I selected the backup which made, the device restarted and gave me an error stating "SD CARD MARKER NOT FOUND" :crying:
Now I'm unable to restore or even make a new backup with ROM manager. And to add, I have like three folders for storage using up too much space on my sdcard :
1. root/sdcard - I have no idea where this came from but it sure has an awful lot of my files copied there
2. root/storage/sdcard0
3. root/storage/emulated - has two subfolders : 0, legacy
All of the above locations contain the same exact files and I just want my nexus back the way it was. I know I can flash CM10 right away but I just wanna get some help on how to delete and make changes to these added folders by properly moving the files without crashing the os.
Any help would be greatly appreciated!
I am having this issue as well and am very very annoyed. Please help. Thanks. I cannot get into recovery manually or otherwise. Keep getting Andy with the red exclamation mark in his chest and must remove battery to reboot.
Fu#k rom manager and CWM use TWRP an rom toolbox pro an you will be fine on 4.2 JB.
Sent from my Galaxy Nexus using xda premium
Update: got it working.. had to flash back cm10 stable, move files around and get back the old ROM manager backup and restore it. Its fine now. Not to mention the 4.2 ROM was pretty unstable on my nexus, causing several reboots and sometimes it froze (especially when I connected it to my desktop) and I had to remove the battery and put it back in to get it working. Moreover the 4.2 rom screwed up the file system, making my nexus' SD card unreadable on any desktop. It just wouldn't install the drivers whatsoever. I'd wait for cm10.1 than try any other custom 4.2 from now on.
Sent from my Galaxy Nexus using xda app-developers app
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
You can download Root Browser Lite from play store, which gives you complete access to the root of your phone and internal files such as system/.

? about 4.2 sdcard structure deletion

Why is the sdcard listed in so many places. I know they are basically shortcuts to the sd because as of now I only have 2 gig free on my card and there is no room to copy/paste it or whatever.
When I look in root explorer i see /sdcard, /storage/emulated, /storage/sdcard0, and /data/media/0 all have my sd files in them.
My main problem is now quick pic sees double of everything, can I delete any of these mentioned above? I don't want to just "hide" them from quick pic, I want just one copy of each folder if possible.
I believe if you use a file explorer on the phone and not MTP, it's much quicker to just move the stuff you need to the root of the SD card and then delete the duplicates. I would wait for someone to verify that though before you proceed. Mine was doing something weird in TWRP. I tried to flash the stock 4.2 again in hopes any issues I had would be resolved. Didn't so I went to restore my CM10 data and it wasn't there. At all. I'm thinking to myself it somehow wiped everything. Nope. My files were there, but only when I flashed a fresh CM10 build. I don't know exactly what happened, but 4.2 has had some weird issues with recoveries, which were addressed for the most part.
jsminnis said:
Why is the sdcard listed in so many places. I know they are basically shortcuts to the sd because as of now I only have 2 gig free on my card and there is no room to copy/paste it or whatever.
When I look in root explorer i see /sdcard, /storage/emulated, /storage/sdcard0, and /data/media/0 all have my sd files in them.
My main problem is now quick pic sees double of everything, can I delete any of these mentioned above? I don't want to just "hide" them from quick pic, I want just one copy of each folder if possible.
Click to expand...
Click to collapse
use this guide to keep the old sdcard format..
http://forum.xda-developers.com/showthread.php?t=1999214

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.

[Q] TWRP not reading current files in storage.

So as of recently TWRP will not read the current files in my storage on my OG. I download new files and reboot recovery to flash, IE kernel, and TWRP still shows old files and not new ones. I've gone through and deleted old files and left only the new ones in the sdcard directory but TWRP still reads only old files. I'm using root explorer to delete/ move files, i have flashed the recovery about five times through GooManager, and have even flashed an older TWRP in fastboot. I'm stuck... any input??
What ROM are you on?
Sent from my LG-LS970 using xda app-developers app
I had this same issue after flashing CM. Had to erase internal storage.
Sent from my LG-LS970 using xda premium
janob09 said:
So as of recently TWRP will not read the current files in my storage on my OG. I download new files and reboot recovery to flash, IE kernel, and TWRP still shows old files and not new ones. I've gone through and deleted old files and left only the new ones in the sdcard directory but TWRP still reads only old files. I'm using root explorer to delete/ move files, i have flashed the recovery about five times through GooManager, and have even flashed an older TWRP in fastboot. I'm stuck... any input??
Click to expand...
Click to collapse
It will recognize the 0 folder as your SD card. You can either move all the files out of 0 copy to sdcard and delete 0, or just move stuff that you want to flash into the 0 folder. I did the latter because every time I flash aosp the 0 folder returns.
I looked for the 0 folder, but found nothing. But it did seem to happen shortly after flashed cm. Must be it I guess I'll have to format storage.
I have this problem and I can't restore or flash a rom since I can't find the files. When you say delete internal storage what does that actually do? I don't want to lose everything including my backups (which I did save on my laptop) and not be able to restore my phone. I am currently just rooted stock but did flash CM10 to play a little bit.
Put my zip files in the 0 folder and my TWRP theme in the TWRP folder inside the 0 file and it see them and works. This zero file thing is weird. I'm hoping I can get rid of it eventually.
bruiserman said:
I have this problem and I can't restore or flash a rom since I can't find the files. When you say delete internal storage what does that actually do? I don't want to lose everything including my backups (which I did save on my laptop) and not be able to restore my phone. I am currently just rooted stock but did flash CM10 to play a little bit.
Put my zip files in the 0 folder and my TWRP theme in the TWRP folder inside the 0 file and it see them and works. This zero file thing is weird. I'm hoping I can get rid of it eventually.
Click to expand...
Click to collapse
You could try and sideload a rom with ADB to the directory that TWRP is reading from.
If you use Root Explorer and go to root(mount R/W), you can access your 'new' backups under data/media/TWRP. This is where I found all of my back ups after flashing a new ROM. This seems to be default storage for back ups, at least for me, so I copied my original stock back up form my 'sdcard' partition and brought it to the new location. That way I have an original configuration in both places; cover all the bases that way. Hopes this helps others......:good:
BTW - I am running EOS right now; not sure if this will be the case for every ROM flashed.......

Extra Directories with CWM and CM11

Hello All!
I seem to have gotten a strange directory structure after going to CWM and CM
/storage/sdcard0/
and /storage/sdcard0/0
both have the same directories underneath. With /storage/sdcard0/0 being the directory that shows up when I move stuff onto the phone and /storage/sdcard0/ being the directory that holds the CWM backups.
Is this normal? And if not is there anyway to wipe it to be normal? Even when i'm trying to install a new rom I have to use , use last directory .zip install of the normal download folder (the default one goes to /storage/sdcard0/)
ippikiokami said:
Hello All!
I seem to have gotten a strange directory structure after going to CWM and CM
/storage/sdcard0/
and /storage/sdcard0/0
both have the same directories underneath. With /storage/sdcard0/0 being the directory that shows up when I move stuff onto the phone and /storage/sdcard0/ being the directory that holds the CWM backups.
Is this normal? And if not is there anyway to wipe it to be normal? Even when i'm trying to install a new rom I have to use , use last directory .zip install of the normal download folder (the default one goes to /storage/sdcard0/)
Click to expand...
Click to collapse
I had an error like this yesterday while flashing stock rom using LGPNST and going to CM 11.
If going between CM Roms and Stock roms, keep both. Copy root to "0" folder. Easiest way
After you flash your rom, make sure you factory reset, thats what did it for me. I was using TWRP though.
Thanks for the help. I eventually figured out it was partially due to what you mentioned + clockworkmod. changing to TWRP and flashing CM11 made it all go back to normal

Categories

Resources