Can't restore clockworkmod backup. - Sprint Samsung Galaxy S III

As I've done a a handful of times, I was switching roms and did a data wipe. At that point it did something different and wiped my SD card. I thought I lost all my data, but my original backup is now located in /0/0/clockworkmod/backup -- but nothing I do can restore it. My computer won't copy it, clockworkmod doesn't recognize it, and a restore from the clockworkmod rom doesn't work....
Any ideas?

You need to move it outside of the 0 folders. The clockworkmod folder should be placed in /data/media. Easiest way would probably be to flash twrp from here http://goo.im/devs/billard412/d2spr/Flashable_recovery_US_GS3/TWRP2.3.zip using cwm and then select advance>reboot recovery. Then youll boot into twrp where you want to hit advance> file manager and go to data/media/0/0/ and move the clockworkmod folder to data/media. Once its there flash back to cwm using one from here
http://goo.im/devs/billard412/d2spr/Flashable_recovery_US_GS3 and then select reboot>recovery.and you'll be back in cwm where you can then restore

billard412 said:
You need to move it outside of the 0 folders. The clockworkmod folder should be placed in /data/media
Click to expand...
Click to collapse
I've tried moving it. It's a very large file, and it seems to get corrupted during the move.
My SDCARD now looks like this
0/
legacy/
obb/
Inside 0/ is all the normal folders such as data, downloads, etc. While inside the rom or windows, I can not access the root sdcard folder.

Try the way I mentioned above.

I'll give it a try if this doesn't work. There's a bunch of folders such as /sdcard and /storage. Inside of /storage there is /storage/sdcard1 (internal) /storesdcard2 (external) and /storage/emulated
I'm using Cyanogen 10 on my Galaxy S3 btw. I've never seen clockworkmod put in /data/media. I'm copying it to /storage/emulated since there is a 0 and a legacy folder inside.

Because /data/media and /sdcard were the same thing. Google changed that with 4.2 which is why you now have 0 folders. Clockworkmod still sees it the old way as data/media. Trust me on this the more you play around moving stuff inside /storage and /sdcard. The more screwed up and confusing this will get.

billard412 said:
Because /data/media and /sdcard were the same thing. Google changed that with 4.2 which is why you now have 0 folders. Clockworkmod still sees it the old way as data/media. Trust me on this the more you play around moving stuff inside /storage and /sdcard. The more screwed up and confusing this will get.
Click to expand...
Click to collapse
Makes sense. I updated to a new nightly of CM10, which put me on 4.2. I didn't like the way it was setup, so I tried to revert back. I'm not sure why I'm doing all this work when I have a titanium backup from last night.
It's still pasting.

Check when its done the layout should be /data/media/clockworkmod/backup/nameofbackup/stuff inside

Well, I don't think it's going to work.
I'll give your method a try, but I moved my SD card to /storage/emulated where it showed up, and it gave me an error restoring storage. Inside clockworkmod is my backup and files.
Edit: It appears everything is a symlink. /sdcard, /data/media, and /storage/emulated are all the same symlink'ed folder.

UrbanMuppet said:
Well, I don't think it's going to work.
I'll give your method a try, but I moved my SD card to /storage/emulated where it showed up, and it gave me an error restoring storage. Inside clockworkmod is my backup and files.
Click to expand...
Click to collapse
Well you're the expert. Swear it looked like u were asking since you posted in the q&a.

billard412 said:
Well you're the expert. Swear it looked like u were asking since you posted in the q&a.
Click to expand...
Click to collapse
There's no need to be passive aggressive. All I'm saying is it won't restore due to an error in the backup after moving it.

Well, I used a different file manager to move it to the same location (Root Explorer), and it works fine now. I still had to move all my files back from /0, but at least it's not fubar'ed. I'll wait for 10.1 to become more stable before I switch.

Sorry to hijack this thread, but I've had exactly the same problem and despite following the instructions in here (moving clockworkmod/backup to data/media with a root file explorer) nothing has changed.
The error shown in the log is as follows:
Error whilst restoring /system!
I: Can't partition non-vfat: datamedia
I: Can't format unknown volume: emmc
Any suggestions would be greatly appreciated - an entire afternoon and evening on google have so far yielded nothing but nonsense!
Thanks,
Will

The SD card file path issue (from the op and the most recent hijacker) reads like something that just happened to me too.
I installed a nightly cm update and then it went bad. Recovery wouldn't work, but file explorers looked OK. Recovery wouldn't even see zip files that were moved into the available directories for install.
I finally was able to use ROM manager to install rom updates and gapps.
sent from a secret underground bunker

Related

sdcard0 and sdcard?

I have a Sprint GNex running RU Jelling M1 RC2 and I have two internal storages (if that makes sense). I have sdcard/ and I have storage/sdcard0. Both seem to contain all data on my sd card and appear to be the exact same. I just don't know why there is two. Anyone know?
symlinks.
Elaborate? Sorry but I do not know what that is/means?
DRatJr said:
Elaborate? Sorry but I do not know what that is/means?
Click to expand...
Click to collapse
In computing, a symbolic link (also symlink or soft link) is a special type of file that contains a reference to another file or directory in the form of an absolute or relative path and that affects pathname resolution
Source Wiki.
Ok but it gets weirder. When I download an attachment from Yahoo mail and save it, a pic for example, it is in both destinations, but in gallery shows in sdcard0. why is that?
i believe this is the bug ppl are facing with jelly bean(including me).
jb seems to use the sdcard0 so previous files dont show up in apps such as gallery, music, etc..
i might be wrong but hope someone clears this up for the people having issues...
bluemoon1221 said:
i believe this is the bug ppl are facing with jelly bean(including me).
jb seems to use the sdcard0 so previous files dont show up in apps such as gallery, music, etc..
i might be wrong but hope someone clears this up for the people having issues...
Click to expand...
Click to collapse
It's not a bug. It's by design. The physical media of your sdcard exists as /data/media. On boot, your phone uses /data/media to create a virtual sdcard, found at /storage/sdcard0. After that, symbolic links are set up that point /sdcard and /mnt/sdcard to /storage/sdcard0.
The data exists in one place, /data/media. The rest are essentially just pointers to the information for backward/forward compatibility.
Edit: Code snippets showing the above. Note, these are from my VZW Nexus:
init.tuna.rc
Code:
on early-init
export EXTERNAL_STORAGE /storage/sdcard0
mkdir /storage 0050 system sdcard_r
mkdir /storage/sdcard0 0000 system system
# for backwards compatibility
symlink /storage/sdcard0 /sdcard
symlink /storage/sdcard0 /mnt/sdcard
mkdir /mnt/usbdisk 0755 system system
on post-fs-data
# we will remap this as /storage/sdcard0 with the sdcard fuse tool
mkdir /data/media 0770 media_rw media_rw
chown media_rw media_rw /data/media
[...]
# create virtual SD card at /storage/sdcard0, based on the /data/media directory
# daemon will drop to user/group system/media_rw after initializing
# underlying files in /data/media will be created with user and group media_rw (1023)
service sdcard /system/bin/sdcard /data/media 1023 1023
class late_start
[...]
Cilraaz said:
It's not a bug. It's by design. The physical media of your sdcard exists as /data/media. On boot, your phone uses /data/media to create a virtual sdcard, found at /storage/sdcard0. After that, symbolic links are set up that point /sdcard and /mnt/sdcard to /storage/sdcard0.
The data exists in one place, /data/media. The rest are essentially just pointers to the information for backward/forward compatibility.
Click to expand...
Click to collapse
yup.
thanks for the explanation
DRatJr said:
Ok but it gets weirder. When I download an attachment from Yahoo mail and save it, a pic for example, it is in both destinations, but in gallery shows in sdcard0. why is that?
Click to expand...
Click to collapse
A symlink can be looked at as basically a shortcut. So if you open sdcard0 you're in sdcard.
Sent from my Galaxy Nexus
Sprint, the Not Right Now Network
So can we delete sdcard with Root Explorer and just use sdcard0?
Vaporsilver said:
So can we delete sdcard with Root Explorer and just use sdcard0?
Click to expand...
Click to collapse
No, you can't.
That's designed that way because some apps look for /sdcard and others for /sdcard0. It doesn't affect in ANYTHING to you because after all, the files are actually stored in /data/media. There are no duplicate folders in any way.
Just use Root explorer and save the files wherever you want. One day you can use /sdcard and the other /sdcard0. The second day you'll find that the files you put in /sdcard are in /sdcard0.
Android from ICS and onwards wasn't meant that you look for the files using a Root explorer. In fact, all apps can browse the storage area how they want and you don't need to worry about it.
Cheers!
el_charlie said:
No, you can't.
That's designed that way because some apps look for /sdcard and others for /sdcard0. It doesn't affect in ANYTHING to you because after all, the files are actually stored in /data/media. There are no duplicate folders in any way.
Just use Root explorer and save the files wherever you want. One day you can use /sdcard and the other /sdcard0. The second day you'll find that the files you put in /sdcard are in /sdcard0.
Android from ICS and onwards wasn't meant that you look for the files using a Root explorer. In fact, all apps can browse the storage area how they want and you don't need to worry about it.
Cheers!
Click to expand...
Click to collapse
Awesome thanks! That really clears things up.
I have a question along the same lines, but don't feel it needs it's own thread.
I have a VZE Gnex (toro) that I unlocked and rooted. I've previously owned the G1, G2, and Sensation. I'm not too bad of a n00b, but I have my moments, and this may be one of them haha.
I was looking to flash the AOKP JB nightly, and I was reading up on how to wipe everything properly, as this is my first experience without an SD card. I use TWRP and I performed factory reset, wiped system, flashed ROM, flashed Gapps, wiped cache + dalvik, rebooted. Upon reboot, most of my folders were missing from my 'SD card' when viewing them from my PC, so I reverted back to the backup I made prior to starting all of this. The backup wasn't all that big, yet all of my stuff was back. Also, even though the fresh install of AOKP didn't show much of anything on the 'sdcard' from my PC, I could still access the AOKP ROM file in recovery, so it seems the data was still there, just hidden from view on my PC.
My questions are:
What exactly does a Factory Reset wipe when it comes to the 'SDcard'?
Is my issue just a remnant of the .nomedia issue? I thought I had fixed that prior to doing any of this, but who knows how far it went.
What types of folders are affected by a wipe on the 'SDcard'?
What types of folders are not affected by a wipe on the 'SDcard'?
What do I see the files in ICS and not JB, yet it appears they are still there (just not on my PC)? Is it because of the stupid MTP and not Mass Storage?
How do I know what folders are MTP viewable and which aren't so I don't have to mess around with "ADB Pull" command as much?
I'm confused on what I need to back up, and what will be OK to leave on the internal storage. Any help would be appreciated. I did my best searching here on XDA and RootzWiki with things I thought may be valid. If I missed something, don't flame me. I did actually search
1. A factory reset with a custom Recovery wipes /data and /cache partitions BUT in the case of the GNexus, /data/media is not affected. In that location is where the "sdcard" resides. That's what you look when you connect the phone to a PC. The stock recovery wipes everything and leaves the phone as new.
2. The .nomedia is to hide certain files from the media scanner and avoid to display unwanted files in the Gallery or Music Player.
3. and 4. Like I said, using a custom recovery (TWRP or CWM) doesn't touch the /data/media folder, so no files are deleted there. You wouldn't want to delete the folder where your NANDROID backup is stored, do you?
5. If you're still on ICS connect the phone to the PC and backup EVERY THING just to be safe, including the NANDROID folder.
After you wipe and flash the new ROM you'll still see the old files (like pictures, music, and so on). You can delete them if you like.
Cheers!
el_charlie said:
1. A factory reset with a custom Recovery wipes /data and /cache partitions BUT in the case of the GNexus, /data/media is not affected. In that location is where the "sdcard" resides. That's what you look when you connect the phone to a PC. The stock recovery wipes everything and leaves the phone as new.
2. The .nomedia is to hide certain files from the media scanner and avoid to display unwanted files in the Gallery or Music Player.
3. and 4. Like I said, using a custom recovery (TWRP or CWM) doesn't touch the /data/media folder, so no files are deleted there. You wouldn't want to delete the folder where your NANDROID backup is stored, do you?
5. If you're still on ICS connect the phone to the PC and backup EVERY THING just to be safe, including the NANDROID folder.
After you wipe and flash the new ROM you'll still see the old files (like pictures, music, and so on). You can delete them if you like.
Cheers!
Click to expand...
Click to collapse
Thanks for the fast reply, but I still am wondering why I can't see the exact same files in AOKP that I could see in stock ICS. Any clues? Should I just move everything to /data/media/ using root explorer and see if they all show up?
Well the solution I've come to is to run
adb pull /sdcard/ c:\android\sdcardbackup8-17-2012
to back absolutely everything up, perform a full wipe of everything (including storage), flash AOKP, flash Gapps, wipe cache, wipe dalvik, reboot, then run
adb push c:\android\sdcardbackup8-17-2012 /sdcard/
Hopefully this helps someone else out
I find there is a problem in the sync's. /sdcard/ does not show always what's in /storage/sdcard0/. From pc I see no new files while on my nexus in /storage/sdcard0/ i see the file and /sdcard/ i don't. Not sure why the sync does not occur any faster. Seems like a bug. I thought hmm, maybe the disconnect usb near clock might do the trick to fix the problem but it doesn't. My pc is a slave to whenever my driod syncs the two.
Flukester69 said:
I find there is a problem in the sync's. /sdcard/ does not show always what's in /storage/sdcard0/. From pc I see no new files while on my nexus in /storage/sdcard0/ i see the file and /sdcard/ i don't. Not sure why the sync does not occur any faster. Seems like a bug. I thought hmm, maybe the disconnect usb near clock might do the trick to fix the problem but it doesn't. My pc is a slave to whenever my driod syncs the two.
Click to expand...
Click to collapse
What files aren't you seeing?
*Shaolin Shadowboxing*
Flukester69 said:
I find there is a problem in the sync's. /sdcard/ does not show always what's in /storage/sdcard0/. From pc I see no new files while on my nexus in /storage/sdcard0/ i see the file and /sdcard/ i don't. Not sure why the sync does not occur any faster. Seems like a bug. I thought hmm, maybe the disconnect usb near clock might do the trick to fix the problem but it doesn't. My pc is a slave to whenever my driod syncs the two.
Click to expand...
Click to collapse
I find that MTP is slow to show updates to sdcard. Same for Asus TF101. So may be it is the design or problem of MTP, something to do with MTP cache update?

[Q] Moving everything out of the 0 folder in 4.2

I just flashed 4.2, and it moved everything into the /0/ folder on my SD card, just like everyone said it would. Is it safe to use root explorer to move everything back out of the /0/ folder onto the root of my SD card, or will it screw something up?
im having the same problem, my nandroid is in the 0 folder, (actually its in 0/0/clockwork/ when i moved up to the root folder, made a clockwork, cwm could not find it.. ANYONE have any info on how I can get my back up?? ps i have saved it to my computer...and used the g/n toolkit to push it but doesnt show up upon recoverymode.
You should not move it to the root folder. It will cause your root partition to run out of space and screw up the phone. Move it to the sdcard partition, which is located at either:
/sdcard
/storage/sdcard0
eksasol said:
You should not move it to the root folder. It will cause your root partition to run out of space and screw up the phone. Move it to the sdcard partition, which is located at either:
/sdcard
/storage/sdcard0
Click to expand...
Click to collapse
Ok, thats what I meant to ask, I just didnt put it in the form of "/sdcard"
what is the "zero" folder for now? why is it there? why cant i get cwm to find my dman nandroid to go back to? can someone tell me wtf is going on? when i click on restore, NOTHING cwm says there is no file, but when i browse, its now in the 0/clockwork/backup folder, but /sd there is nothing, how do i move it?? when i push with the toolkit, it doenst work.. can someone PLEASE help me out?
i have tried, re lcoking the phone to erease everything.. what do i need to do? i just want my old nandroid back please.
j
why do ull want to move it out of the 0 folder if its not causing any problems ? i don get it.. if its not causing any problems why move it ? just let it go !
They changed the filesystem layout for multi-user. So no, moving it out of 0 will do harm. /storage/sdcard0 now points to /storage/emulater/legacy. You could symlink some stuff around, though. Don't blame me if you screw up.
Or just wait for your recovery to be updated for 4.2's fs layout, then all should be fine. (what else breaks because of this?)
Edit :
I found a more elegant method :
Create a shortcut (a symbolic link) in /data/media named "clockworkmod" that points to /data/media/0/clockworkmod.
Steps are here : http://forum.xda-developers.com/showthread.php?t=1991657 - this is for the nexus 7, but I can't think of any reason why it shouldn't work on the galaxy nexus.
Original post :
I noticed that if I make a backup in 4.2 using cwm, it backs up to /data/media/clockworkmod. All my old backups (the ones I made before 4.2) are now in /data/media/0/clockworkmod. Is it safe to copy the contents of /data/media/0/clockworkmod over to /data/media/clockworkmod, so that I can restore my old backups if I want to ?

[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/.

new /0 after every new ROM flash

every time I flash a new rom I get a new 0 folder. Right now I have my titanium backups on /0/0/0. Wtf google??
How to solve this?
There are many, many threads on this.
Thanks for the solution.
U need to upgrade to the newest clockwork mod or twrp. They both have the fix for that now.
Sent from my Galaxy Nexus using xda premium
This keeps happening every single rom I flash also. And I am on the las test TWRP release for my VZW Gnex. Any other suggestions?
Sent from my Galaxy Nexus using xda premium
jumpman1229 said:
This keeps happening every single rom I flash also. And I am on the las test TWRP release for my VZW Gnex. Any other suggestions?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
This problem has been fixed in TWRP 2.3.2.1 here so ensure that you are running this version not an older one.
Or you may download GooManager from Play Store then install the latest TWRP recovery from it to ensure that you get the latest version
ahmadallica said:
This problem has been fixed in TWRP 2.3.2.1 here so ensure that you are running this version not an older one.
Or you may download GooManager from Play Store then install the latest TWRP recovery from it to ensure that you get the latest version
Click to expand...
Click to collapse
Yup! I'm on 2.3.2.1 which is the latest for the VZW Gnex (toro) and I still have that 0 folder problem every single time I flash a new 4.2 ROM. I even move all the contents of /data/media/0 to /data/media such as my Titanium Backup folders and it simply can't find the files. I noticed every boot up the 4.2 roms also make new "Android" and "Music" and "Movies" folders and when you delete them, the browser, gallery and other things won't work. This is very frustrating. I've searched high and low and I seem to be finding the same answer. Make sure you are on the latest TWRP and that'll fix the problem. It hasn't. Any other suggestions?
Sent from my Galaxy Nexus using xda premium
jumpman1229 said:
Yup! I'm on 2.3.2.1 which is the latest for the VZW Gnex (toro) and I still have that 0 folder problem every single time I flash a new 4.2 ROM. I even move all the contents of /data/media/0 to /data/media such as my Titanium Backup folders and it simply can't find the files. I noticed every boot up the 4.2 roms also make new "Android" and "Music" and "Movies" folders and when you delete them, the browser, gallery and other things won't work. This is very frustrating. I've searched high and low and I seem to be finding the same answer. Make sure you are on the latest TWRP and that'll fix the problem. It hasn't. Any other suggestions?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Actually I have a GSM GNex and I can confirm that the 0 folder problem is fixed with me using the latest TWRP (2.3.2.1). Check here for the thread of TWRP at the Verizon section maybe you can find why you still have the 0 folder problem
Regarding Titanium backup, this software is great and you can choose where to let it look for the backup instead of the regular /sdcard/TitaniumBackup/ location. All you have to do is:
1- Start/Run Titantium Backup
2- Go to Settings (the three upper right vertical dots)
3- Select "Preferences"
4- Under "BACKUP SETTINGS", click the first option which is "Backup folder location"
5- Click on "DETECT!"
6- Choose "SD card"
Then automatically it will search your SD card for the Titanium Backup and display it all for you.
Hope this helps
ahmadallica said:
Actually I have a GSM GNex and I can confirm that the 0 folder problem is fixed with me using the latest TWRP (2.3.2.1). Check here for the thread of TWRP at the Verizon section maybe you can find why you still have the 0 folder problem
Regarding Titanium backup, this software is great and you can choose where to let it look for the backup instead of the regular /sdcard/TitaniumBackup/ location. All you have to do is:
1- Start/Run Titantium Backup
2- Go to Settings (the three upper right vertical dots)
3- Select "Preferences"
4- Under "BACKUP SETTINGS", click the first option which is "Backup folder location"
5- Click on "DETECT!"
6- Choose "SD card"
Then automatically it will search your SD card for the Titanium Backup and display it all for you.
Hope this helps
Click to expand...
Click to collapse
It worked! You are a life saver! Didn't know I could point Titanium to another location. That's exactly what I needed. Thanks
Sent from my Nexus 7 using xda premium
Any idea how to access cwm nandroid backups too? I cant find them anywhere (but i see them in cwm)
tylerdurden83 said:
Any idea how to access cwm nandroid backups too? I cant find them anywhere (but i see them in cwm)
Click to expand...
Click to collapse
If CWM is unable to find the nandroid backup because it is moved within the new 0 folder(s), then here is what I have done when I was in the same problem :
1- Download any file explorer (I used ES File Explorer)
2- CUT (or copy if you have a lot of free storage) the "clockworkmod" folder from within the 0 Folder(s) and paste it to the main /sdcard/ location, so both the 0 Folder and the clockworkmod folder will be at /sdcard/ location now.
3- Reboot into recovery and CWM should find the nandroid backup because it is back to its correct place as it was before being moved into the 0 Folder.
I recommend that you make a copy of the clockworkmod folder to your PC before attempting any of the above steps just in case something went wrong while copying or cutting (moving) the folder so you can try copying it again. In other words, make a backup of this clockworkmod backup
Hope this helps
ahmadallica said:
If CWM is unable to find the nandroid backup because it is moved within the new 0 folder(s), then here is what I have done when I was in the same problem :
Click to expand...
Click to collapse
I think that I expressed myself wrong. If i go into cwm, and click restore, i see two cwm backups no problem. But, with a file explorer with root priviledges, they are literally nowhere to be found, i checked everywhere....
tylerdurden83 said:
I think that I expressed myself wrong. If i go into cwm, and click restore, i see two cwm backups no problem. But, with a file explorer with root priviledges, they are literally nowhere to be found, i checked everywhere....
Click to expand...
Click to collapse
Oh sorry for misunderstanding you earlier.
I haven't encountered this before but you may try a file explorer which has a search function (such as ES File Explorer) so you search for "clockworkmod" folder or something in the whole sdcard. I hope it will find the backups for you this way.
tylerdurden83 said:
I think that I expressed myself wrong. If i go into cwm, and click restore, i see two cwm backups no problem. But, with a file explorer with root priviledges, they are literally nowhere to be found, i checked everywhere....
Click to expand...
Click to collapse
How everywhere did you get? They must be there somewhere...
Did you try under
/mnt/sdcard
? That's the actual directory, the various others are symlinks to it.
Clancy_s said:
How everywhere did you get? They must be there somewhere...
Did you try under
/mnt/sdcard
? That's the actual directory, the various others are symlinks to it.
Click to expand...
Click to collapse
/mnt/sdcard is a symlink. The physical file location is /data/media (or /data/media/0 in 4.2 and higher).
Edit: Specifically, the physical internal storage is found at /data/media.
/data/media is fuse mounted as /mnt/shell/emulated.
/mnt/shell/emulated/0 is then symlinked to /storage/emulated/legacy.
/storage/emulated/legacy is then symlinked to /sdcard, /mnt/sdcard, and /storage/sdcard0.
So the files seen in /sdcard are files physically located at /data/media/0. As such, files in /data/media can use space, but not be seen when looking in /sdcard.
help
ahmadallica said:
If CWM is unable to find the nandroid backup because it is moved within the new 0 folder(s), then here is what I have done when I was in the same problem :
1- Download any file explorer (I used ES File Explorer)
2- CUT (or copy if you have a lot of free storage) the "clockworkmod" folder from within the 0 Folder(s) and paste it to the main /sdcard/ location, so both the 0 Folder and the clockworkmod folder will be at /sdcard/ location now.
3- Reboot into recovery and CWM should find the nandroid backup because it is back to its correct place as it was before being moved into the 0 Folder.
I recommend that you make a copy of the clockworkmod folder to your PC before attempting any of the above steps just in case something went wrong while copying or cutting (moving) the folder so you can try copying it again. In other words, make a backup of this clockworkmod backup
Hope this helps
Click to expand...
Click to collapse
i flashed PA rom for first time, using TWRP and now i cant find Nandroid backup, any suggestion where can i find it
aNewNoob said:
i flashed PA rom for first time, using TWRP and now i cant find Nandroid backup, any suggestion where can i find it
Click to expand...
Click to collapse
Did you do your nandroid backup using CWM? If yes, then it will not be compatible with TWRP.
Did you use the latest TWRP 2.3.2.1 ? If not then your nandroid backup should be in sdcard/0/ after flashing PA with android 4.2 so TWRP will no longer find it. You have to copy or move the TWRP folder from within "0 Folder" to the main sdcard/ location then TWRP will recognize it again. And remember to update your TWRP to the latest version to avoid this problem again.
I hope I have covered most of the possibilities regarding your case. If not then please provide more details
Cilraaz said:
/mnt/sdcard is a symlink. The physical file location is /data/media (or /data/media/0 in 4.2 and higher).
Edit: Specifically, the physical internal storage is found at /data/media.
/data/media is fuse mounted as /mnt/shell/emulated.
/mnt/shell/emulated/0 is then symlinked to /storage/emulated/legacy.
/storage/emulated/legacy is then symlinked to /sdcard, /mnt/sdcard, and /storage/sdcard0.
So the files seen in /sdcard are files physically located at /data/media/0. As such, files in /data/media can use space, but not be seen when looking in /sdcard.
Click to expand...
Click to collapse
My /data seems empty...
Same for /mnt/shell...
/storage/emulated/legacy isn't, i see the sdcard content there, but no cwm folder
ahmadallica said:
Did you do your nandroid backup using CWM? If yes, then it will not be compatible with TWRP.
Did you use the latest TWRP 2.3.2.1 ? If not then your nandroid backup should be in sdcard/0/ after flashing PA with android 4.2 so TWRP will no longer find it. You have to copy or move the TWRP folder from within "0 Folder" to the main sdcard/ location then TWRP will recognize it again. And remember to update your TWRP to the latest version to avoid this problem again.
I hope I have covered most of the possibilities regarding your case. If not then please provide more details
Click to expand...
Click to collapse
So I just got the chance to flash a 4.2 and like I said it created a new 0 folder under data/media/0. I deleted the 0 folder so I would only have data/media but when I go to open the browser it doesn't do a thing. Even the gallery. And when I reboot, I see it creates the same folders I just deleted. What gives?
Sent from my Galaxy Nexus using xda premium
jumpman1229 said:
So I just got the chance to flash a 4.2 and like I said it created a new 0 folder under data/media/0. I deleted the 0 folder so I would only have data/media but when I go to open the browser it doesn't do a thing. Even the gallery. And when I reboot, I see it creates the same folders I just deleted. What gives?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I have no idea why your TWRP on your verizon GNex is not helping you get rid of these 0 folders. I checked the changelog of TWRP 2.3.2.1 for the thread at the Verizon section and the Original (GSM) section and they are identical!
Anyway I have never deleted or do anything to data/media/ even for 0 Folders. I used to move the data from within the /sdcard/0/ location to /sdcard/ then delete this 0 folder on the sdcard, nothing else. I checked my 4.2 GNex now and yes there is a 0 folder in data/media/ but this is not affecting my sdcard and how apps like Titnatium and TWRP are finding the backups and related files.
You may find this guide useful as well

[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.......

Categories

Resources