Extra Directories with CWM and CM11 - Sprint LG Optimus G

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

Related

[Q] E: Cant find update script

Every time i try to flash a rom i get a error that says
E:Cant find update script
Using Amon Ra recovery. Wiped everything and partitioned sd card.
Thanks for any help
Sounds like the update package is not signed with valid keys. Is your phone rooted ?
yessurr said:
Every time i try to flash a rom i get a error that says
E:Cant find update script
Using Amon Ra recovery. Wiped everything and partitioned sd card.
Thanks for any help
Click to expand...
Click to collapse
check your zip. If you zip a file two folders deep it will give the same error. open your zip and see if you see your files or another folder.
yeah when i unzip it, the first folder i see is the name of the rom "fresh" then when i open it, I see; boot image file, data folder, META-INF folder, sdcard folder, and system folder.
Well update script is in META-INF\com\google\android but if your zip file is not signed then it can't be flasshed that is why you get upgrade script not found.
How do i do that????? And walk me through what "signed" means
And im using a macbook pro if that helps any
Thanks a ton
Well did unziped the zip folder ? Did you make any changes to the installation zip ?
Now what rom are you running. So you have root ? When you use connectbot and type su deo you see #? It could be that your phone is not ruter and does not have proper recovery installed since we can't sign rom with the same keys that developers at sprint use we have to root the phone and allow it to accept custom rom.
all i did was download the fresh rom from the forum onto my computer, compressed it (zipped it) then rebooted my phone into recovery, wiped everything i needed to, enabled the usb, moved the zip over to the phone, disabled the usb and then went to flash zip, found the zipped fresh rom and tried to flash it.
Im running my stock rom that came with the phone.
If you running this on mac the os x will unzip ypur file and put the download file in trash so use zip file from trash. Now You need to use simple root to root and install proper recovery on your phone then you will be able to install custom rom .
Awesome! found the zip file in the trash like you said, transfered that over and it worked! thank you thank you thank you!

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

Can't restore clockworkmod backup.

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

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

[Q] How to clean wipe?

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

Categories

Resources