TWRP not showing .zip files. - One (M8) Q&A, Help & Troubleshooting

Hello everyone,
So after flashing TWRP 3.0.2-0 and installing a custom rom, TWRP stopped showing .zip files. I've googled the issue to maybe get an idea of a workaround and some people have suggested to put the file in "0" folder or the media folder. I've also tried mounting the system partition, I'm not sure if its supposed to take effect right away or after a reboot, if its after a reboot it unmounts.
I'm on HTC M8, marshmallow, using TWRP 3.0.2-0.
Thank you.

That's a weird issue to be related to TWRP
If earlier you choosed flash image you need to revert the selection to flash zip
Sent from my HTC M8 using XDA Labs

Sorry, I do not understand. Are you referring to the way I flashed twrp? This is the command I used "fastboot flash recovery twrp-2.8.x.x-xxx.img".
I'm not sure if this is at all related, I have duplicate file structures, /Data/Media/0, everything is the same as in my internal storage.
I've created a folder to put the zip into so I can recognize it and I still cannot see the zip file in twrp. I've checked both directories. I've even tried putting the zip on my SD card, nothing, twrp just does not see the zip.

SpaceGold said:
Sorry, I do not understand. Are you referring to the way I flashed twrp? This is the command I used "fastboot flash recovery twrp-2.8.x.x-xxx.img".
I'm not sure if this is at all related, I have duplicate file structures, /Data/Media/0, everything is the same as in my internal storage.
I've created a folder to put the zip into so I can recognize it and I still cannot see the zip file in twrp. I've checked both directories. I've even tried putting the zip on my SD card, nothing, twrp just does not see the zip.
Click to expand...
Click to collapse
can you put the twrp.img in the same directory as zip files and see if you can see it in the recovery install option
Sent from my HTC M8 using XDA Labs

I'm not sure what fixed it, I made a back up and restored the phone, twrp now sees the zips. I doubt what I did fixed anything as the restore probably has 0 impact on twrp, but it works.
Thanks for the help.

SpaceGold said:
I'm not sure if this is at all related, I have duplicate file structures, /Data/Media/0, everything is the same as in my internal storage.
Click to expand...
Click to collapse
For your reference ... when you have this issue ...
Just run commands when connected to PC while OS is running
adb shell
su
restorecon -FR /data/media/0
exit
then reboot, this should fix it

ckpv5 said:
For your reference ... when you have this issue ...
Just run commands when connected to PC while OS is running
ad shell
su
restorecon -FR /data/media/0
exit
then reboot, this should fix it
Click to expand...
Click to collapse
May i ask for an explanation
THANKS IN ADVANCE
Sent from my HTC M8 using XDA Labs

ahmed.ismael said:
May i ask for an explanation
THANKS IN ADVANCE
Sent from my HTC M8 using XDA Labs
Click to expand...
Click to collapse
That's usually happens when the update from Lollipop to Marshmallow done with firmware flashing only, not the OTA.
After marshmallow firmware is flashed on top Lollipop firmware, upon reboot the system recreated the new emulated internal storage .. then we'll see we have a "0" folder in the internal storage. Internal storage is the new emulated storage but the "0" folder is the old emulated storage.
To fix it, we can manually copy all data in "0" folder to internal storage then delete the "0" folder
or use the above command to let the system do it automatically.
The extreme one is format data (not wipe) in TWRP so the data/media/0 is recreated brand new.

ckpv5 said:
That's usually happens when the update from Lollipop to Marshmallow done with firmware flashing only, not the OTA.
After marshmallow firmware is flashed on top Lollipop firmware, upon reboot the system recreated the new emulated internal storage .. then we'll see we have a "0" folder in the internal storage. Internal storage is the new emulated storage but the "0" folder is the old emulated storage.
To fix it, we can manually copy all data in "0" folder to internal storage then delete the "0" folder
or use the above command to let the system do it automatically.
The extreme one is format data (not wipe) in TWRP so the media/0 is recreated brand new.
Click to expand...
Click to collapse
As usual extremely helpful
Thank you
Sent from my HTC M8 using XDA Labs

ckpv5 said:
For your reference ... when you have this issue ...
Just run commands when connected to PC while OS is running
ad shell
su
restorecon -FR /data/media/0
exit
then reboot, this should fix it
Click to expand...
Click to collapse
Is this usable on an already bootable rom? I guess it is since you did say to reboot. Just being cautious haha.

Related

How to Format the SD card storage Partition

Using the latest Axiom ROM I ran into a problem where I can't download into the 'Download' folder of the SD card. It's the default location for the stock browser to download into.
I can pick the save location easily with the opera browser, but don't know how with the stock browser.
Anyway it seems that somehow with the last Axiom flash a new folder also named "download" was created on my SD card.
One is spelled 'download' and one is spelled 'Download'. One is empty and one has weird contents that isn't readable by most file file managers. That one is actually my original one.
I can't delete either one, and I can't download programs into 'download' from the stock Browser. (did manage to delete both with Root Explorer, the original remerged, contacts intact, upon a reboot)
So I want to format my SD card partition.
I tried Clockwork partition SD card. and it didn't work.
I tried resetting all user data from within the Android OS and it didn't do anything to the SD card partition either.
I'm looking for the ADB command to do it.
I found a command to do it on the Hero, G2 touch. It's :
First, on your phone, go into Home -> Settings -> SD card & phone storage, then click on "Unmount SD card"
Then, in your shell, do the following.
Code:
adb shell
mkfs.vfat /dev/block//vold/179:1
Looking for a similar command for the Galaxy Nexus. Thanks.
so you cant use root explorer to rename the one folder to match...or delete one?
droidstyle said:
so you cant use root explorer to rename the one folder to match...or delete one?
Click to expand...
Click to collapse
Nope, root explorer shows one empty file, and the original 'download' is shown as a systems file or whatever is designated by a piece of paper with a yellow shield with a star in the lower left corner. But root explorer can't open any of the contents using any of the options from 'Text Viewer' through 'Rar Viewer'.
I just deleted both of those folders using Root Explorer.
But then I still couldn't save from the stock browser. 'Download failed'.
Then I rebooted and the original 'Download' folder was present with all previous contents intact. I was able to successfully download to it.
Which leaves the original question.
How do you format the SD card partition?
If you don't care about your user data you could lock the bootloader and then unlock it again.
go to the android revolution hd thread and look up the "super wipe" scripts. There is a full and lite version. Although it appears the full version is not yet released. The difference is the full version wipes data/media folder(Virtual sd card).
Izord said:
Thanks maybe answer it and move it out of here.
Or just move it out of here so it will be ignored and never answered.
Click to expand...
Click to collapse
Not sure why you are so negative about the Q/A section.. I personally go through it multiple times a day and try to answer everything I can.. if you want to delete it then relock and unlock your boot loader. That would be the easiest.
Sent from my Galaxy Nexus using xda premium
droidstyle said:
go to the android revolution hd thread and look up the "super wipe" scripts. There is a full and lite version. Although it appears the full version is not yet released. The difference is the full version wipes data/media folder(Virtual sd card).
Click to expand...
Click to collapse
Yes as droidstyle said there isn't any SD "partition" in our GN. The /sdcard/ is actually a link to /data/media, means that they are in the same partition and the storage are being shared. So it is not possible to "format" the SD "partition".
Do not try the old methods, it is not a 179:1 device.
sorry to bring up a dead thread, but if i do the lock/unlock trick while running a custom rom, am i going to be able to boot the phone back up? Will i need to have Android SDK ready to go so i can flash CWM and flash a rom?
thanks
the browser is your download problem
YEAH YEAH i know....... not for questions and answers but what can i say im a postaholic (sorry bout that)
This kid cant download because he is using the stock browser.
If he were to use dolphin or maybe even firefox he would be able to download .
Okay im done posting in the wrong place now
sorry just wanted to help:highfive:
XDA RULEZ
I think there is one option in CWM. Format Storage
joshnichols189 said:
Not sure why you are so negative about the Q/A section.. I personally go through it multiple times a day and try to answer everything I can.. if you want to delete it then relock and unlock your boot loader. That would be the easiest.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Easiest procedure, no need to relock/unlock bootloader:
- 'fastboot erase userdata'
the_kwa said:
sorry to bring up a dead thread, but if i do the lock/unlock trick while running a custom rom, am i going to be able to boot the phone back up?
thanks
Click to expand...
Click to collapse
That's kinda obvious, since all you're doing is relocking the bootloader. Even when unlocking, only thing fastboot does is erase userdata and unlocking the bootloader itself. It doesn't touch /system, boot.img (the rom itself).
Izord said:
Using the latest Axiom ROM I ran into a problem where I can't download into the 'Download' folder of the SD card. It's the default location for the stock browser to download into.
I can pick the save location easily with the opera browser, but don't know how with the stock browser.
Anyway it seems that somehow with the last Axiom flash a new folder also named "download" was created on my SD card.
One is spelled 'download' and one is spelled 'Download'. One is empty and one has weird contents that isn't readable by most file file managers. That one is actually my original one.
I can't delete either one, and I can't download programs into 'download' from the stock Browser. (did manage to delete both with Root Explorer, the original remerged, contacts intact, upon a reboot)
So I want to format my SD card partition.
I tried Clockwork partition SD card. and it didn't work.
I tried resetting all user data from within the Android OS and it didn't do anything to the SD card partition either.
I'm looking for the ADB command to do it.
I found a command to do it on the Hero, G2 touch. It's :
First, on your phone, go into Home -> Settings -> SD card & phone storage, then click on "Unmount SD card"
Then, in your shell, do the following.
Code:
adb shell
mkfs.vfat /dev/block//vold/179:1
Looking for a similar command for the Galaxy Nexus. Thanks.
Click to expand...
Click to collapse
sdcard is a virtual card and is located in the data/media folder. You can use something like root explorer and make any necessary changes there and they will be in sdcard.

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

[Q] LG G3 Lollipop - No Internal SD Card?

I have a strange problem and I haven't been able to find a resolution online. I'm hoping someone smarter than me can offer a solution.
I have an AT&T LG G3 (LG-D850). When I got it, it had stock KK. I rooted it with Bump and everything was cool. I stayed with stock.
Last night I upgraded it to Lollipop using the stock, bump'd LG-D850 20F Lollipop 5.0.1 ROM from autoprime. I didn't run into any problems with the install. The phone appeared to be working fine.
However, today I'm having trouble with the internal storage. When I try to download a file from the internet, it's failing. In the stock browser, it just fails. Downloads says "<Unknown> Failed." In Firefox, it tells me "Cannot download file because SD card is in use." In Chrome, it tells me "No SD card."
I'm also not able to move files to or from internal storage. I can cut, copy, and paste files from one folder on my external card to another on my external. However, I can't cut, copy, or paste files from one folder in my internal storage to another folder in my internal or external storage. I've tried both the stock file explorer as well as FX.
I tried the SDFix app from NewApp on the off chance that it would help (I read somewhere it would also work on L), but it had no effect.
I can still download apps from the Play store and install them. However, if I create a new file in QuickOffice, I can't save it ("Failed to save document.") I can navigate to root and copy/cut/paste files from the data/app folder to my external card and other folders. I think the issue is the system/sdcard folder. The owner/group on the folder is root and read, write, and exec are all checked.
Does anyone know what the permissions on that folder should be? Or if that's really my problem at all?
Thanks.
kragar00 said:
I have a strange problem and I haven't been able to find a resolution online. I'm hoping someone smarter than me can offer a solution.
I have an AT&T LG G3 (LG-D850). When I got it, it had stock KK. I rooted it with Bump and everything was cool. I stayed with stock.
Last night I upgraded it to Lollipop using the stock, bump'd LG-D850 20F Lollipop 5.0.1 ROM from autoprime. I didn't run into any problems with the install. The phone appeared to be working fine.
However, today I'm having trouble with the internal storage. When I try to download a file from the internet, it's failing. In the stock browser, it just fails. Downloads says "<Unknown> Failed." In Firefox, it tells me "Cannot download file because SD card is in use." In Chrome, it tells me "No SD card."
I'm also not able to move files to or from internal storage. I can cut, copy, and paste files from one folder on my external card to another on my external. However, I can't cut, copy, or paste files from one folder in my internal storage to another folder in my internal or external storage. I've tried both the stock file explorer as well as FX.
I tried the SDFix app from NewApp on the off chance that it would help (I read somewhere it would also work on L), but it had no effect.
I can still download apps from the Play store and install them. However, if I create a new file in QuickOffice, I can't save it ("Failed to save document.") I can navigate to root and copy/cut/paste files from the data/app folder to my external card and other folders. I think the issue is the system/sdcard folder. The owner/group on the folder is root and read, write, and exec are all checked.
Does anyone know what the permissions on that folder should be? Or if that's really my problem at all?
Thanks.
Click to expand...
Click to collapse
set up adb then typ this commands
Code:
adb shell
su
restorecon -v -R /data/media
@suljo94 Awesome! That fixed it! :good:
Googleing restorecon brought up a whole bunch of hits about this problem along with this solution. Too bad I couldn't find the answer unless I already knew the answer
this should be added to the autoprime thread or on the q&a for all variants.
Is there anyway to fix internal sdcard? i get bricket on a F460K and cant install .zip files in recovery philz, when i choose zip from/sdcard resolves "Couldn't open directory" and "ni files found" but i can put files in "sdcard" via adb =/, anyone know a way to fix it?. thanks!.
@bolillo It's in the main thread now, first post. It looks like it was added on 3/19.
kragar00 said:
@bolillo It's in the main thread now, first post. It looks like it was added on 3/19.
Click to expand...
Click to collapse
Ooooo well sorry jajaja first thing that popped up in google was this lol
Sent from my LG-D850 using XDA Free mobile app
@mafury did you try the solution @Sulijo94 posted? That fixed my problem.
Can you install via adb?
kragar00 said:
@mafury did you try the solution @Sulijo94 posted? That fixed my problem.
Can you install via adb?
Click to expand...
Click to collapse
Can't run this command on adb shell =(.
mafury said:
Can't run this command on adb shell =(.
Click to expand...
Click to collapse
Did you try from a terminal emulator on phone?
Sent from my LG-D850 using XDA Free mobile app
No, the phone bricked, i recover delete all user data and use kdz with LG Flash tools2014.
I'm failing at this error
suljo94 said:
set up adb then typ this commands
Code:
adb shell
su
restorecon -v -R /data/media
Click to expand...
Click to collapse
I get this error. Please can somebody help?
tauseefalik said:
I get this error. Please can somebody help?
Click to expand...
Click to collapse
format your internal sd (you will lose everything not on externl sd card,apps data)
suljo94 said:
format your internal sd (you will lose everything not on externl sd card,apps data)
Click to expand...
Click to collapse
I tried using this command instead an it worked for me.
"adb shell
su
restorecon -FR /data/media/0"
P.S i'm using no SD Card
Would this work for media (ie. mp3)?
I can't seem to find a fix.. All my music doesn't show in any music app and can't find a solution.. Already checked for .nomedia files, cleared media storage and forced a rescan for media and and formatted internal and external SD cards... No luck.
Thanks
Sent from my LG-D852 using XDA Free mobile app
Very good!!!
suljo94 said:
set up adb then typ this commands
Code:
adb shell
su
restorecon -v -R /data/media
Click to expand...
Click to collapse
Fantastic!! I had the same problem with my LG G3 D850. I installed the stock rom from the TWRP recovery and was with this same problem. After performing this process my problem was solved !! But the pictures of the Camera application are not saved in the internal memory. What should I do to fix this??
kragar00 said:
I have a strange problem and I haven't been able to find a resolution online. I'm hoping someone smarter than me can offer a solution.
I have an AT&T LG G3 (LG-D850). When I got it, it had stock KK. I rooted it with Bump and everything was cool. I stayed with stock.
Last night I upgraded it to Lollipop using the stock, bump'd LG-D850 20F Lollipop 5.0.1 ROM from autoprime. I didn't run into any problems with the install. The phone appeared to be working fine.
However, today I'm having trouble with the internal storage. When I try to download a file from the internet, it's failing. In the stock browser, it just fails. Downloads says "<Unknown> Failed." In Firefox, it tells me "Cannot download file because SD card is in use." In Chrome, it tells me "No SD card."
I'm also not able to move files to or from internal storage. I can cut, copy, and paste files from one folder on my external card to another on my external. However, I can't cut, copy, or paste files from one folder in my internal storage to another folder in my internal or external storage. I've tried both the stock file explorer as well as FX.
I tried the SDFix app from NewApp on the off chance that it would help (I read somewhere it would also work on L), but it had no effect.
I can still download apps from the Play store and install them. However, if I create a new file in QuickOffice, I can't save it ("Failed to save document.") I can navigate to root and copy/cut/paste files from the data/app folder to my external card and other folders. I think the issue is the system/sdcard folder. The owner/group on the folder is root and read, write, and exec are all checked.
Does anyone know what the permissions on that folder should be? Or if that's really my problem at all?
Thanks.
Click to expand...
Click to collapse
Not working. I connected my phone,they can't find it in when i type adb devices. + can't download anything from internet,only from google play.
P760x said:
Not working. I connected my phone,they can't find it in when i type adb devices. + can't download anything from internet,only from google play.
Click to expand...
Click to collapse
@P760x when you type adb devices, what do you get? If it doesn't list any devices you probably need to reinstall the phone drivers on your computer. If it does list your phone, then there's something else wrong.
kragar00 said:
@P760x when you type adb devices, what do you get? If it doesn't list any devices you probably need to reinstall the phone drivers on your computer. If it does list your phone, then there's something else wrong.
Click to expand...
Click to collapse
(i'm getting nothing)That's the whole point. My pc searches and founds my device. It perfectly worked on 4.1x JB, it founds instantly.
For some reason,when i connect my phone into mtp (Files transfer to pc) mode my pc can't find any items in phone,so does extraction applications in my phone,it's just all empty, even though i have gApps,custom kdz.
I tried with terminal emulator (android version) - it says permission denied,so i think that requires root? I would get instantly but i can't transfer or download anything to my phone...?
P760x said:
(i'm getting nothing)That's the whole point. My pc searches and founds my device. It perfectly worked on 4.1x JB, it founds instantly.
For some reason,when i connect my phone into mtp (Files transfer to pc) mode my pc can't find any items in phone,so does extraction applications in my phone,it's just all empty, even though i have gApps,custom kdz.
I tried with terminal emulator (android version) - it says permission denied,so i think that requires root? I would get instantly but i can't transfer or download anything to my phone...?
Click to expand...
Click to collapse
@P760x I noticed that I can't connect my phone in MTP mode unless developer options are on and USB debugging is on. I didn't have that problem on KK, only Lollipop.
If adb devices still doesn't list your phone after that, manually download and reinstall the phone drivers from LG. I've had multiple occasions when Windows eats those drivers, so that's the first place to start.
Hopefully that helps.

Categories

Resources