[Q] Corrupt File on Sd-Card - can't delete - Samsung Galaxy Nexus

Hello everyone,
I have a rather annoying problem: I have one empty directory on my GNs "sdcard" (a leftover from dropbox) which I can't delete using root explorer/es file explorer, it just says can't be deleted (0 files inside, 0b size)
When I mount the device to a computer, I can delete the folder, but when i unmount, it's back again....
I'm rather helpless now since I can't take out the card and just format it like I would have done....
What can I do? Help would be gladly appreciated.
edit: sorry for topic, it's actually an empty folder, not a file

solved it, if someone else has similar problems:
backup everything you want to keep from sdcard first.
then fastboot oem lock and then unlock again - voila, everything wiped.
as mentioned, everything on the device is wiped, so be prepared to restore.

For those who have the same problem (as I had) this old post helped.
Only note is that OEM lock was not necessary. Just flashing stock and unrooting did the trick for me.

Related

[Q] Storage missing/partly hidden

Hello guys,
I have a bigger problem I hope you can help me with...
My internal storage is somehow messed up. This has effects on MTP and on some apps like the stock camera.
When accessing my internal storage by MTP from PC, only a few folders and files are visible. In contrast, if I list the content of "/mnt/sdcard" or "/storage/sdcard0" they show all my files and folders as one would expect. Also, files visible on the PC are inside this path and even when i copy a file from the PC, it is placed here.
The more serious problem is, that some apps are not able to find their files and folders inside die storage anymore. As an example, the camera app asks me to insert a sd card before taking a picture and Winamp doesn't find my music anymore.
What i tried so far:
Copying files from and to storage with Dropsync, FolderSync and ES Explorer: works without problems
I checked the rights of the files with the terminal: nothing interesting there
I cleared my whole storage (thanks to Unlock procedure) and flashed a new Custom ROM
I drank a lot of coffee because it got late
Nothing worked.
Please help, Thanks!
So thats me again.
I finally found the correct allready existing post. In this thread user dlzinc describes that one has to fix the permissions for /data/media. Good to know that i was right with permissions, bad that i didn't go through with it in the first place.
Mazzen

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

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

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

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

Internal SD File Structure has embedded"0" folders (2)

So I flashed a new rom with all the wipes and I ended up with a couple issues and the typical 4.2 file structure under the "0".
I tried another ROM again today (with the wipes) and now I have two "0" folders, one embedded under another and a lot of my backups are in different locations.
So it's SDCard/0/0.
Is there a good way to fix this?
cwepruk said:
So I flashed a new rom with all the wipes and I ended up with a couple issues and the typical 4.2 file structure under the "0".
I tried another ROM again today (with the wipes) and now I have two "0" folders, one embedded under another and a lot of my backups are in different locations.
So it's SDCard/0/0.
Is there a good way to fix this?
Click to expand...
Click to collapse
I know the CAUSE is from using an out-of-date recovery. TWRP hasn't had that issue for a while, but i think CWM only fixed it just recently. It didn't start until i believe 4.2.1 ROMS were flashed. I'm still not sure if it's a good thing or not to delete those "0" folders or not. I'm sure someone will chime in on that.
the 0 folders have your sd card files in them (pictures, music, etc). if you move all your stuff back to the root of your internal sd card you can delete the 0 folders.
sent from my i747 with xda-premium
I tried moving the folders on my windows PC (old pos) and it didn't work. Android file transfer doesn't work with my GS3 and my Mac.
Frustrating.
Anyways to reflash something in CWM or is moving the files the only way?
Edit: Astro works alright...so where should Ibe putting most of these files? Under SDCard or under SDCard/0?
Now i moved some folders up, the gallery shows everything as a picture (icons) and titanium can't find any apps.
Nw sure what to do.
After I went back to stock, re-rooted, and reflashed 4.2, I tried moving everything from /sdcard/0 to /sdcard. It seemed to work, but then all of a sudden, on the next boot, it was all gone. My internal storage was wiped.
Luckily most of the important stuff is on my external SD card, but that was still really frustrating.
Just a word of warning if you try to move these files. Make a backup.
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
No file moving should be done, it will most likely cause data loss when the issue is finally gone... If CWM has fixed it switch to the newest one or use TWRP and Fully Wipe the phone including format /system...
Here is a link to a script you can flash to move files from 0 folders back to sdcard, you can thank the OP of the script there:
http://forum.xda-developers.com/showpost.php?p=35653109&postcount=8124
Manual solution via Windows
I had the same problem. Solved via the following steps: Using Windows, navigate to deepest level "0" folder. Select all, copy. Navigate to the next higher level "0" folder (or the root "Phone" folder if you're only one step down). Paste. Windows will perform a merge, versus replace.
Next, delete the "0" folder from the directory you're currently in, the one you just copied all the files from. I should note, I actually moved the folder to my desktop just in case I needed to bring it back later. So far I haven't, but better safe than sorry.
Once that's done, select all in the same folder, copy. Navigate to the next higher "0" level folder or the root (or the root "Phone" folder if you're only one step down). Paste. Repeat same process, move up a level, repeat, move up a level. You'll need to do this for every "0" folder you have (I had two, I've seen reports of more & less).
Eventually, you'll have all the same files and directory structure merged up to the root Phone folder. My device, a Samsung S3 running 4.3, recognized and responded to the changes with no problems.

Can no longer see files in my internal memory!

I can no longer see files in my internal memory!
They were present when I connected my phone to laptop and copied some files.
There was an empty folder named /storage/emulated/0 inside the original /storage/emulated/0 directory.
As it was empty, I tried deleting it but it was taking a long time so I cancelled the process.
After I disconnected my device, while on ES File Explorer, I discovered that majority of my files weren't showing up. I selected all the files which are displayed and saw their size, a mere 20MB, and the Homepage on ES File Explorer shows usage to be 2.35GB/12.80GB.
Is it some sort of virus that created a seemingly empty folder inside the actual directory? And what about the files that were showing up previously alongside the folder?
I believe that I may have deleted my files when I tried deleting that folder. And why would that folder seem to be empty? Please help me out here!
Not a solution but might help
Well, almost same thing happened to me a few days ago. I too saw that empty folder and couldn't find the files I needed. I too deleted that folder. Except I deleted it completely. After disconnecting I realized that my phone was empty. There was nothing in the internal storage. Finally I realized that it's actually a virtual folder that won't show any files in your pc but that exactly where all your files are. So, NEVER EVER delete that folder.
Never delete dat folder
Android supports multiple user accounts and store their files
Storage/emulated/0
Storage/emulated/1
Etc
Sometimes that folder shows up when u connect to pc, dont know its a bug or not.
Sent from my YU5510 using xda premium
I've learnt my lesson.
Anyway, I was able to recover my images by cloning the userdata partition and mounting it on my laptop and running Recuva on it.
Thanks for you responses.
Bhai can u give me steps how to recover my images....I had the same problem
how you fixed it
thbp94 said:
I've learnt my lesson.
Anyway, I was able to recover my images by cloning the userdata partition and mounting it on my laptop and running Recuva on it.
Thanks for you responses.
Click to expand...
Click to collapse
how you fixed this problem. I m facing same problem from many days. Please help me.
thbp94 said:
I've learnt my lesson.
Anyway, I was able to recover my images by cloning the userdata partition and mounting it on my laptop and running Recuva on it.
Thanks for you responses.
Click to expand...
Click to collapse
Bro i also accidently deleted that folder, can u plz help me to recover ... thanks in advance

Categories

Resources