sdcard/0/0 issue - Verizon Samsung Galaxy S III

So i just moved from Jelly Beans build 14 to Liquidsmooth 2.2, which totally wrecked the way my sd card is set up. I didn't like what was happening on smooth, so I tried going back to my CM backup, which could not be found. I then noticed that I had new folders, which I assume were created due to the multi user thing on 4.2.
Now I cannot restore my backup, nor do my titanium backups show up when i try to restore all my apps. Is there a fix or this or am I **** out of luck?

Just cut everything from you farthest /0 folder and paste in on the root directory. You nandroids and titanium backups will return. If u want to get rid of the /0 folders all together you'll have to wipe the internal memory. Beware to back up anything not on your external SD. I recommend to make future backups to external SD if u use 4.2x roms.. Or use twrp
Sent from my MIUI powered S3 thanks to StrumerJohn

If you flash a 4.2.2 ROM, TWRP only reads the files on sdcard/0/ so if you have files on sdcard/ it will not be able to see them as it only accesses the emulated storage.
Use a root file browser to get to the area you want to change.

Related

Lost all of my backup roms!!

Okay so I just installed CM7 which worked fined and i was reading that i should partition my sd card. So I made a copy of my sd card on my computer and continued to partition my sd card 256/64. After the partition I just moved the file back to my sd card in recovery mode. I then rebooted which worked fine and syncd my google account. I installed simple2ext so i could move my cache to my sd card because i was unable to update rom manager and su or able to install any apps bigger than simple2ext. I installed titanium backup and noticed i had nothing to restore so I was going to go back to my original rom to back everything up again. I backed up cm7 then went to restore my original rom and all my previous roms I had backed up were gone.
Is there something I did worng? and am i able to get them back.
I did some searching and looked in my sd card from my computer and looked in clockwork folder and found my backup folder. I tired to move all of them back but said insufficient space and was only able to move one.
So now my question is did all my data from sd card not transfer over?
o noo that sucks man
if you made a rom backup, it would indeed be in the clockwork folder, as the progam that makes the backup is nandroid which is intergrated in the clockwork mod. Titanium backup is only for backing up loose apps and had nothing to do with rom backups.
If you still have the clockwork folder with the backups in them on your computer you should be fine. just transfer the one you want to use (they are named with dates and times) to the SD and go back into the recovery mode and use the restore option.
if you don't have enough space on your SD card, maybe you should make some available for the rom.
bl0m5t3r said:
if you made a rom backup, it would indeed be in the clockwork folder, as the progam that makes the backup is nandroid which is intergrated in the clockwork mod. Titanium backup is only for backing up loose apps and had nothing to do with rom backups.
If you still have the clockwork folder with the backups in them on your computer you should be fine. just transfer the one you want to use (they are named with dates and times) to the SD and go back into the recovery mode and use the restore option.
if you don't have enough space on your SD card, maybe you should make some available for the rom.
Click to expand...
Click to collapse
Yup found them on the sd card on computer. But how come they did not transfer after I recopied the SD card?
Had the same thing happen to me when I was on my GNEX. I now enabled dropbox to keep backup copies as well.
Something similar happened to me when I tried a ROM with 4ex recovery in lieu of clockwork. when i tried to access my backup it told me something about invalid md5 sum and backup failed. like it didn't exist. If all is still on your PC perhaps you should reformat the card then re-partition using a different source, and re-try.
Sent from my HTC Inspire 4G using xda premium

[Q] How did my sdcard get "wiped" when I installed the newest AOKP ROM?

OK, so I'm using wiped in quotes because according to my available free space, it appears my data is still there somewhere. It's just that it's really not and I don't understand why (or where it may be hiding). I've done this many times and never had this problem, so I don't think I did anything wrong, but here are the steps I took: I made a TWRP backup. I wiped my cache, then my Dalvik cache, and then did a factory reset. I installed the new AOKP ROM (aokp_d2vzw_jb-mr1_build-3), installed Gapps, and installed the flashable zip for Titanium Backup. I then booted into Android with no problem, went through the setup process, and rebooted into TWRP. At that point, I was going to install the flashable update.zip I created from Titanium Backup, but I couldn't find it or any of my normal files or folders. I booted back into Android and checked again with a file explorer and sure enough – it's only showing the basic folders you start with and none of my content is there. Like I said, it appears my data is still there somewhere according to my available free space, but I haven't been able to find it anywhere. When I was in TWRP, I hit the button to restore and it showed me my two Nandroid backups, so I feel like the files have to be hiding somewhere.
I'm not really sure what caused it, but I know the files were still there after the wiping and the factory reset, or else I wouldn't have had the zip files to then flash. Therefore, I feel like it had to be during the AOKP or the Gapps install where my sdcard got erased (I forgot to mention my Titanium Backup somehow never got installed). Oh, and just to be clear, I'm talking about the internal (emulated) sdcard, so I can't simply pull it out and put it in my PC to search the contents.
Does anyone have any idea how this happened or where my files are? I'm tempted to do a restore to see if get everything back so I can then make more backups and store them somewhere else.
On your internal SD, do you have a /0 folder? methinks all your stuff's in there....
It's an artifact of flashing 4.2.1 and it's "multiple user accounts" feature
letinsh said:
On your internal SD, do you have a /0 folder? methinks all your stuff's in there....
It's an artifact of flashing 4.2.1 and it's "multiple user accounts" feature
Click to expand...
Click to collapse
No, I don't have a /0 folder on my sdcard. I did find a /0 folder somewhere in my root, but it only mirrored what's currently on the sdcard.
I found it! It's not on my card, but in the root, under data/media. There is a /0 folder in there as well and it links to the sdcard folder. To be safe, I'm going to first copy everything to my real external sdcard before trying to put it back.
/data/media is the real path for your internal sd card. All the other paths (/mnt/sdcard0, /sdcard, /storage/sdcard0, etc) are just pointers that look at the /data/media location. If you were looking in any of those other locations, the 0 folder should have been seen...
Either way, I'm glad you found your data!
letinsh said:
/data/media is the real path for your internal sd card. All the other paths (/mnt/sdcard0, /sdcard, /storage/sdcard0, etc) are just pointers that look at the /data/media location. If you were looking in any of those other locations, the 0 folder should have been seen...
Either way, I'm glad you found your data!
Click to expand...
Click to collapse
Well, that makes sense, but I assure you it isn't showing. The only thing that's showing is the contents of the /0 folder which is inside the data/media folder.
In other words, it appears the system created a /0 folder in my internal sdcard and decided that new folder would now be my internal sdcard. So if I'm trying to browse the internal sdcard, I have no way of going up a level and getting to my old content; the system considers that part of the root. Luckily, I can use FX File Explorer to get in there and access the files.
JerseyMike4 said:
Well, that makes sense, but I assure you it isn't showing. The only thing that's showing is the contents of the /0 folder which is inside the data/media folder.
In other words, it appears the system created a /0 folder in my internal sdcard and decided that new folder would now be my internal sdcard. So if I'm trying to browse the internal sdcard, I have no way of going up a level and getting to my old content; the system considers that part of the root. Luckily, I can use FX File Explorer to get in there and access the files.
Click to expand...
Click to collapse
It's like that because of Android profiles you can create now on 4.2, so basically I'd you were to make another profile it'd be /1 and so on.
Sent from my SCH-I535 using xda app-developers app
GoonAssJuan said:
It's like that because of Android profiles you can create now on 4.2, so basically I'd you were to make another profile it'd be /1 and so on.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
That makes sense. But it would have been nice if the system "moved" my data automatically when I upgraded.

Fixing folders from 4.2

I flashed a 4.2 ROM. PA 3.10 to be exact. And it did the thing with the 0 and legacy folders it needed to do for the multi-user feature. I didn't like it and I'm back on 4.1. My ROM is really confused because the folder structure is still on 4.2. Anyway to get the folder directory back to normal 4.1?
I thought I put this in Q&A, I do apologize. If a mod comes along could you move it?
Sent from my SCH-I535
I recently went through the same thing. There may be a better way, but I formatted the Internal SD card through TWRP and then ran my backup app restore and everything is back to normal. Make sure you copy anything on your Internal SD that you want to save before doing the format...
bowen873 said:
I recently went through the same thing. There may be a better way, but I formatted the Internal SD card through TWRP and then ran my backup app restore and everything is back to normal. Make sure you copy anything on your Internal SD that you want to save before doing the format...
Click to expand...
Click to collapse
So format the internal? Do you need to reflash the ROM? Could I just restore from a back-up after the wipe?
Thanks for your reply.
Sent from my SCH-I535
I got impatient and ran it through anyway. Went off without a hitch. Thanks for your help!
Sent from my SCH-I535
No problem, glad it worked. I didn't have to change anything with the ROM I was on, I just needed to restore my apps since some of were on the Internal SD. I had also read that you could keep the Internal SD and delete the 0 folder, but I got an error every time I tried deleting it.
Thread moved

[Q] Clockworkmod not restoring backup

Searched all over before making this thread but I couldn't seem to find an answer. Rooted my phone to install PAC-man mod. When I finished I made a backup of my original system with CWM. I flashed PAC-man but I'm havign issues and I wanted to go back but CWM can't seem to restore the backup. I checked, and it's still there but when I try to restore I get:
Couldn't open directory.
No files found.
Any ideas?
Is your backup stored on the phone storage or an external card?
Sent from a Shaftamle Galaxy S3
Please hit the "Thanks" button if I helped you!
Shaftamle said:
Is your backup stored on the phone storage or an external card?
Sent from a Shaftamle Galaxy S3
Please hit the "Thanks" button if I helped you!
Click to expand...
Click to collapse
phone storage
SuperBrother said:
phone storage
Click to expand...
Click to collapse
Edit: before you go about following the steps I wrote below there is one other options. If you are using an app to try to restore the backup then this way should work. Manually boot into recovery mode click on backup and restore then restore from SD card and under the file labeled 0 there should be a folder listed as clockworkmod. From there you should be able to restore your backup if that doesn't work then follow the steps that I wrote about moving the file to the external card. Either way in the future I would recommend always backing up to the external card.
Assuming you're coming from a 4.1 build when you install a 4.2 ROM it changes the file structure of the internal drive. This is due to the fact that 4.2 roms support multi user functions. So most likely when you try to restore your backup it's located in a different path then it was originally.probly something like sdcard/0/clockworkmod instead of sdcard/clockworkmod. My advice would be move your back up to the external card manually reboot your phone into recovery and restore your backup from the external card. If you use DUP you have to move the backup and the blob folder. If you used a tar backup, just move the backup. When in recovery mode select restore from external SD card and navigate to the folder you put it in.
From here on out if you do your backups from recovery make sure you back up to the external card. If you use ROM Manager make sure before you do your next backup that you select under the settings panel to use external storage. The newest update of ROM Manager allows you to do so.
One other thing, once you restore your backup and your back to a 4.1 build it's going to look like your internal storage is wiped. It's definitely not use a file manager to browse the internal storage there will be a folder labeled 0. That's all of you data. Open that folder up highlight and cut all of the contents go back to the root of your internal storage(the folder you just came from) and paste it there. It will ask if you want to overwrite certain files just click Yes the only files that will be overwritten are the ones that were just made when you rebooted on the 4.1 system you will not lose anything.
Sent from a Shaftamle Galaxy S3
Please hit the "Thanks" button if I helped you!
What's the size of the back up? Are all the required files in there? Try updating your su app, then try making another back up and make sure it works. What version of cwm are you using? Is your system r/w?
Surge1223 said:
What's the size of the back up? Are all the required files in there? Try updating your su app, then try making another back up and make sure it works. What version of cwm are you using? Is your system r/w?
Click to expand...
Click to collapse
the SU binary and the clockworkmod version should have little to nothing to do with restoring a backup especially when it says the file cannot be found. Thus far is the size of the backup goes unless you opened up the file and started jacking around with stuff that was backed up there's no chance that he's missing information. When it says the file cannot be located it's because rom manager/ ROM toolbox is looking for the file that was originally placed in a specific area and is no longer there hence the 4.2 file structure I spoke of.
Sent from a Shaftamle Galaxy S3
Please hit the "Thanks" button if I helped you!
You're assuming you know why I was asking those questions, and as a result that you're more knowledgeable than I am in this subject area. Besides human error, there are still numerous ways cwm, su, and the back up size can contribute to a failed recovery. We're both just trying to help.
Surge1223 said:
You're assuming you know why I was asking those questions, and as a result that you're more knowledgeable than I am in this subject area. Besides human error, there are still numerous ways cwm, su, and the back up size can contribute to a failed recovery. We're both just trying to help.
Click to expand...
Click to collapse
I agree everybody just tries to help everybody that's what makes this website great. The only reason I said what I did is because I ran into this exact problem about 4 months ago so I know exactly what he's talking about. Sorry if I came off as a ass, I didn't mean to.
Sent from a Shaftamle Galaxy S3
Please hit the "Thanks" button if I helped you!
Is alright ,thanks for explaining though. No room for hate in a cwm debate.
Shaftamle said:
Edit: before you go about following the steps I wrote below there is one other options. If you are using an app to try to restore the backup then this way should work. Manually boot into recovery mode click on backup and restore then restore from SD card and under the file labeled 0 there should be a folder listed as clockworkmod. From there you should be able to restore your backup if that doesn't work then follow the steps that I wrote about moving the file to the external card. Either way in the future I would recommend always backing up to the external card.
Assuming you're coming from a 4.1 build when you install a 4.2 ROM it changes the file structure of the internal drive. This is due to the fact that 4.2 roms support multi user functions. So most likely when you try to restore your backup it's located in a different path then it was originally.probly something like sdcard/0/clockworkmod instead of sdcard/clockworkmod. My advice would be move your back up to the external card manually reboot your phone into recovery and restore your backup from the external card. If you use DUP you have to move the backup and the blob folder. If you used a tar backup, just move the backup. When in recovery mode select restore from external SD card and navigate to the folder you put it in.
From here on out if you do your backups from recovery make sure you back up to the external card. If you use ROM Manager make sure before you do your next backup that you select under the settings panel to use external storage. The newest update of ROM Manager allows you to do so.
One other thing, once you restore your backup and your back to a 4.1 build it's going to look like your internal storage is wiped. It's definitely not use a file manager to browse the internal storage there will be a folder labeled 0. That's all of you data. Open that folder up highlight and cut all of the contents go back to the root of your internal storage(the folder you just came from) and paste it there. It will ask if you want to overwrite certain files just click Yes the only files that will be overwritten are the ones that were just made when you rebooted on the 4.1 system you will not lose anything.
Sent from a Shaftamle Galaxy S3
Please hit the "Thanks" button if I helped you!
Click to expand...
Click to collapse
This would make a lot of sense! That's my situation exactly. I don't want to try it just yet because I'm still trying to get a ROM working properly on my phone (PAC-man, having issues but that's for another thread). If I end up throwing in the towel and this checks out, I'll be sure say thanks.

[Q] Cant find TWRP Backups

Ok, here is the deal....
1 - bought a new VZ GS3 (did not install a micro SD card, onboard memory/storage only)
2 - ran "casual unlock/root"
3 - made a full backup of the stock ROM in TWRP
4 - installed CM 10.1.2
5 - made a full backup immediately of CM in TWRP
6 - installed all my apps and data and got everything set the way I wanted it
7 - made another complete backup of CM in TWRP
Now comes the tricky part....
When browsing with file manager on phone, or connected via USB w/debugging.... I find that /storage/emulated/0/TWRP AND /storage/emulated/legacy/TWRP.... both only show the backups I made of the Stock ROM in step 3 above. There is no sign of the CM backups I made later.
When I boot to recovery and choose restore in TWRP, the 2 CM backups I made (steps 5 & 7 above) are visible, but the Stock backup (step 3 above doesnt show.
So.... when the phone is booted and I browse, or I am connected via USB, I see stock backup, but cant see it in recovery. When I am in recovery, I see the Cm backups, but not the stock backup.
This has me bumfuzzled. Any ideas?
Thanks in advance
SilverFox66 said:
Ok, here is the deal....
1 - bought a new VZ GS3 (did not install a micro SD card, onboard memory/storage only)
2 - ran "casual unlock/root"
3 - made a full backup of the stock ROM in TWRP
4 - installed CM 10.1.2
5 - made a full backup immediately of CM in TWRP
6 - installed all my apps and data and got everything set the way I wanted it
7 - made another complete backup of CM in TWRP
Now comes the tricky part....
When browsing with file manager on phone, or connected via USB w/debugging.... I find that /storage/emulated/0/TWRP AND /storage/emulated/legacy/TWRP.... both only show the backups I made of the Stock ROM in step 3 above. There is no sign of the CM backups I made later.
When I boot to recovery and choose restore in TWRP, the 2 CM backups I made (steps 5 & 7 above) are visible, but the Stock backup (step 3 above doesnt show.
So.... when the phone is booted and I browse, or I am connected via USB, I see stock backup, but cant see it in recovery. When I am in recovery, I see the Cm backups, but not the stock backup.
This has me bumfuzzled. Any ideas?
Thanks in advance
Click to expand...
Click to collapse
Your stock TW backup should be in data/media due to the way that multi-user is employed for 4.2 JB. Since multiuser adds a /0 to your internal storage, anything from TW roms will be moved or appear hidden in AOSP and in recovery. Use a file explorer to move that stock TW backup to the same path as your CM10.1 backups and you'll be set.
SlimSnoopOS said:
Your stock TW backup should be in data/media due to the way that multi-user is employed for 4.2 JB. Since multiuser adds a /0 to your internal storage, anything from TW roms will be moved or appear hidden in AOSP and in recovery. Use a file explorer to move that stock TW backup to the same path as your CM10.1 backups and you'll be set.
Click to expand...
Click to collapse
Thank you. Actually, it was the opposite.... my CM backups were in data/media/TWRP. So, I copied my stock backup to the data/media/TWRP folder, and it now shows up in TWRP. Problem is, I cant see the "data" folder (or subfolders) when connected to my pc. So, I have to copy the backups to the /storage/emulated/0/TWRP that I "can see" when connected to my pc, and then copy the backups to the pc from there. I like to keep copies of my backups on my pc just in case. But since I cant see the "data/media/TWRP" folder, I have to copy them elsewhere, then copy them to my pc.
I dont guess there is any way fo changing where TWRP looks for backups is there? That way I could have TWRP look in the /storage/emulated/0/TWRP folder that I can see with my pc, rather than the data/media/TWRP folder, that I cant see
Thanks again! At least I found the CM backups and copied them elsewhere so I could transfer them to my pc :good:
EDIT: Spoke too soon. By moving the stok backup to data/media/TWRP.... it does indeed now show in TWRP, and is available for restoration. BUT.... I have tried copying the CM backup to other areas of storage (so I can access them when connected to my pc) but they still do not show up
Edit 2: rebooted the phone and I can now see the CM backup that I moved. It just sucks having to copy it elsewhere, then copy it to my pc.... but at least I can do it. Will putting a SD card in the phone solve this issue?
You could use an app like Airdroid to transfer files wirelessly. You can view the entire file system and can copy files over. There isn't a way to reconfigure TWRP to point elsewhere to restore backups although there is a file browser in TWRP/Advanced that you could use to move folders around.
Having an sdcard does help. I only save TWRP backups to my external sdcard and have no issues on AOSP or TW. Just make sure the card is formatted to Fat32. Personally, I prefer to transfer files to my laptop with Airdroid to avoid using wires. I haven't noticed any issues being unable to view files.
Sent from my SCH-I535 using Tapatalk 4 Beta
thanks for the tip on the sd card. I didnt think I had one and was going to pick up a 32GB. I found an 8GB I had, booted to TWRP, made a full backup on the ext card, then moved my other backups to the card.... worked like a charm. Deleted the copies all together on my phone to free up space. Now they are all on the card and easy to transfer to my pc.... so no matter what I have copies in 2 places ready to use if need be.
Much appreciated!
SlimSnoopOS said:
Your stock TW backup should be in data/media due to the way that multi-user is employed for 4.2 JB. Since multiuser adds a /0 to your internal storage, anything from TW roms will be moved or appear hidden in AOSP and in recovery. Use a file explorer to move that stock TW backup to the same path as your CM10.1 backups and you'll be set.
Click to expand...
Click to collapse
please tell me what shall i do when i have not any rom installed? (i had wipe system) and now i can not access to any file manager to move my back up files!
DSH said:
please tell me what shall i do when i have not any rom installed? (i had wipe system) and now i can not access to any file manager to move my back up files!
Click to expand...
Click to collapse
You will need to use Odin on your computer and flash back to a stock rom
Sent from my SCH-I535

Categories

Resources