A folder named 0 keeps multiplying in my files and it's annoying! - Galaxy Tab 2 Q&A, Help & Troubleshooting

Any idea how to get these to go away and keep my files? My actual files are stored on the last sub folder named 0. This always happens whenever I flash a new ROM and it freakin sucks!
I even lost my nandroid backup! This is infuriating! I'm lucky that I only use this for entertainment and nothing important was lost.
Sent from my GT-P3110 using xda app-developers app

Please inform me your recovery version. One of Google result for "/data/.layout_version": http://forum.xda-developers.com/showthread.php?p=34231316.
"In Android 4.2 multi user accounts is introduced. The first time you update to 4.2 data of the first account is moved from*/data/media*to*/data/media/0. Let's call this process migration. A file is written in this process as well:*/data/.layout_version*This file is important. It holds information that the migration has been completed and should not take place during other factory resets in the future). But during a factory reset this file is removed. Effectively stating that the migration has not occured, hence the reoccuring migration (data/media/0,*data/media/0/0,data/media/0/0/0*etc) after consecutive factory resets."

CWM says it's version 6.0.1.1
Sent from my GT-S5360 using xda app-developers app

I just formatted the internal sd and it fixed itself. Any tips on how to avoid this again when flashing a new ROM?
Sent from my GT-S5360 using xda app-developers app

Update your recovery to the latest CWM, TWRP, or PhilZ.

blagginspaziyonokip said:
CWM says it's version 6.0.1.1
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
blagginspaziyonokip said:
I just formatted the internal sd and it fixed itself. Any tips on how to avoid this again when flashing a new ROM?
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Did you even read his post?
Its the new multi users thing in android 4.2.X

Luigi2012SM64DS said:
Did you even read his post?
Its the new multi users thing in android 4.2.X
Click to expand...
Click to collapse
But if you are not careful when flashing ROMs, you can end up with extra 0 directories, because custom recoveries do not usually format data/media by default when doing a factory reset. Formatting the internal sdcard, before flashing will fix the multiple 0 directories, which can be a nuisance.
Sent from my GT-P3110 using xda app-developers app

By formatting /data, if recovery can not handle it well, then this problem will be reproduced. You also can reproduce this problem by removing /data/.layout_version :laugh: I knew about this problem because my work on dual booting kernel, when CM 10.1 refused to boot. Resolved by "echo -n 2 > /data/.layout_version"

Dual booting kernel?
Sent from my GT-P3110 using xda app-developers app

mrkhigh said:
Dual booting kernel?
Sent from my GT-P3110 using xda app-developers app
Click to expand...
Click to collapse
Still in development inside my "Single kernel..." thread, WIP but confirmed works

Related

Custom roms and encryption.

Hi,
I have some questions regarding encryption.
Are there any downsides to encrypting an Android device?
What about encrypting SDCard, will CWM still be able to mount and read it?
Last, after encrypting a device is it still possible to update the rom normally through CWM?
Cheers.
If you encrypt your phone, CWM will not able to work.
Backup/restore functions cannot de their job...
Sent from my GT-I9300 using xda premium
worf_1977 said:
If you encrypt your phone, CWM will not able to work.
Backup/restore functions cannot de their job...
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Yes.. thats right.
What do you mean? Will CWM be deleted or is it just the rom updating? What about factory resetting in CWM?
CWM will not be able to mount System partition, nor Data. So factory reset option will not work at all...
Sent from my GT-I9300 using xda premium
Oh. OK, thanks!
One last question: is it irreversable?
It let me decrypt my phone... Agreed i encrypted memory area only. But there should be the option to decipher it...
Takes more than encrypt, but CWM will work again as it should do
Sent from my GT-I9300 using xda premium
I'm not quite sure what you mean? How is it done?
Cannot remember... It shows up ONLY if you already encrypted the phone...
Well, i think
Sent from my GT-I9300 using xda premium

Content disappeared after ROM install?

I tried installing CM 10.1 from the newest Synergy ROM today, and all of my gallery stuff is gone, plus all of my Titanium backups. I assume this is because it isn't seeing my internal storage. Help please?
Sent from my SCH-I535 using xda app-developers app
Look under /data/media or even under /0. It's all been moved there bud, due to the multi-user functionality of JB 4.2
Do I move those files somewhere or something?
Sent from my SCH-I535 using xda app-developers app
corey1031d said:
Do I move those files somewhere or something?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Sorry, your "old" data is under /sdcard/0. Pretty sure you want your internal storage data that you intend to actively use under /sdcard for JB 4.2 roms. It should be under /sdcard/0 which makes it appear as though its inaccessible on AOSP roms.
More info here and here.
I'm using a TW rom so I'm not looking at this directly in front of me btw.
Not having much luck with this unfortunately.
Sent from my SCH-I535 using xda app-developers app
I moved the files with root explorer as that link says to do, and now there's nothing in the 0 folder, and also nothing in the sd card folder. I don't understand what I did wrong.
Which is weird because I just tried flashing back to Synergy, and then downloading and installing a clean CM Rom and wiping from Rom Manager, and the files still are not there. But they are there in Synergy.
Screenshot where your internal storage data is located presently OR post the exact file path where it's located. And are you sticking with AOSP or TW? For TW, leave your data in /sdcard.
Moving from TW to AOSP 4.2, /sdcard gets moved to /sdcard/0. Simultaneously, it recreates new folders so you'll have empty folders in /sdcard that were rebuilt once you boot into the 4.2 rom. Cut and paste the "old" data in /sdcard/0 to that newly recreated directory once you verify that's where your "new" data is saving to. You can verify by taking a random picture then looking where it's saved to in the file system
Sent from my SCH-I535 using xda app-developers app
Everything was in the 0 folder until I moved it to the root of the sdcard. Now everything is empty.
Sent from my SCH-I535 using xda app-developers app
Hopefully this works. But this is as of right this second on the Synergy rom.
Sent from my SCH-I535 using xda app-developers app
So in /sdcard, do you now have all your folders containing photos, Titanium Backups, and etc? As in, can you access them with the file manager?
Also, does every folder in /sdcard have a "." in front of the name?
I have them, but can only see them in Synergy, and not in CM
Sent from my SCH-I535 using xda app-developers app
This is what it looks like now.
Sent from my SCH-I535 using xda app-developers app
That's what it looks like in CM anyway.
Sent from my SCH-I535 using xda app-developers app
corey1031d said:
That's what it looks like in CM anyway.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Aight, give me like twenty minutes to flash an AOSP 4.2 rom and look at this first hand. Maybe I'm just not understanding how to resolve your problem due to file paths.
But do you want to stick with AOSP 4.2 or stick with TW?
This is my current setup, I'm just trying to go over to the newest nightly build of Cyanogen and this is my only issue. But as I think I mentioned before, I'm pretty sure I moved all of the files in the 0 folder over to the sdcard root this morning, and now everything is gone.
Sent from my SCH-I535 using xda app-developers app
corey1031d said:
This is my current setup, I'm just trying to go over to the newest nightly build of Cyanogen and this is my only issue. But as I think I mentioned before, I'm pretty sure I moved all of the files in the 0 folder over to the sdcard root this morning, and now everything is gone.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Hmm, did you wipe the internal storage when flashing going from CM to Synergy? Cuz it wouldn't disappear when moving to a TW rom from AOSP since recovery doesn't wipe /data/media unless the internal storage is wiped.
If I'm understanding you, none of your pics/TB backups/etc are in data/media or /sdcard or /sdcard/0 or /data/media/0? It's just empty folders whenever you look in those places?
SlimSnoopOS said:
Hmm, did you wipe the internal storage when flashing going from CM to Synergy? Cuz it wouldn't disappear when moving to a TW rom from AOSP since recovery doesn't wipe /data/media unless the internal storage is wiped.
If I'm understanding you, none of your pics/TB backups/etc are in data/media or /sdcard or /sdcard/0 or /data/media/0? It's just empty folders whenever you look in those places?
Click to expand...
Click to collapse
That is exactly the issue. No problems in Synergy, but CM doesn't see any of it.
How about under /storage do you see an folder titled "emulated"
Screenshot taken from CM and these folders are empty as well.
Sent from my SCH-I535 using xda app-developers app

Unable to factory reset... Wtf?!?!

OK so I got this skyrocket from a friend, but for some reason i cant get rid of his data. I've tried regular factory reset via settings, also I tried flashing the stock ROM with Odin, both seem to work fine, I'm not getting any errors or anything, but when I reboot the phone afterward its still exactly the same, all his apps, accounts, data is still there. I also tried to install cwm via Odin which also said was successful, but then the stock recovery is still on the phone any help would be greatly appreciated, I've had a few sammys in my day so I know my way around Odin / heimdall etc... But this is puzzling
Sent from my Nexus 4 using xda app-developers app
Format/wipe internal sd card. Factory reset won't do that.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
jd1639 said:
Format/wipe internal sd card. Factory reset won't do that.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
I tried that too, no dice. Everyone I do a reset its like nothing ever happened. Even the wallpaper stays the same
Sent from my Nexus 4 using xda app-developers app
lowrider262 said:
I tried that too, no dice. Everyone I do a reset its like nothing ever happened. Even the wallpaper stays the same
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Do you have an external card and could that be where the data is stored? Have you wiped that?
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
jd1639 said:
Do you have an external card and could that be where the data is stored? Have you wiped that?
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Nope, no SD no sim
Sent from my Nexus 4 using xda app-developers app
Have you tried to format in the internal from your pc.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
I just tried that right now, still no luck. Also a weird thing I noticed is that when I do a factory reset from the settings menu, the stock recovery menu comes up and I have to manually push the factory reset/erase all data option with the vol rockers & power button... usually its automated when done from the actual settings menu.
Sent from my Nexus 4 using xda app-developers app
Idk, seems you've tried everything I can think of. Weird that returning to stock and then formatting internal doesn't work.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
seen this issue once b4, determined it was nand write and/or erase failure, I don't think the guy ever did figure it out . no errors were given when using odin or recovery, no matter what he flashed/erased the phone booted up as if he never did anything.
vincom said:
seen this issue once b4, determined it was nand write and/or erase failure, I don't think the guy ever did figure it out . no errors were given when using odin or recovery, no matter what he flashed/erased the phone booted up as if he never did anything.
Click to expand...
Click to collapse
Yea that's what I was thinking, its like the whole system is set to read-only. Some sort of chip failure maybe. Bummer cause the phone looks like brand new, not a scratch or knick on it
Sent from my Nexus 4 using xda app-developers app
I might be wrong but this sounds like what happens when you have a corrupted emmc. If I am right, this is a hardware issue. One quick way to check is to flash the latest official firmware via ODIN. If I am right, either Odin will fail or you will have the exact same ROM you have now even after Odin install.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
---------- Post added at 11:23 PM ---------- Previous post was at 11:21 PM ----------
rushi.1986 said:
I might be wrong but this sounds like what happens when you have a corrupted emmc. If I am right, this is a hardware issue.
Edit: just saw that you did try Odin. I am prey sure this is a faulty emmc chip.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
---------- Post added at 11:24 PM ---------- Previous post was at 11:23 PM ----------
Ah well.. Vincom already chimed in...
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Can you write to the internal SD once in the Android? For example when you take a photo or download a file does it get saved on the phone? If the answer is yes then it cannot be a hardware issue. Just a permission cluster-fu..
Get a Linux environment ( boot up your PC with a live CD or something) mount the drive use root su/sudo commands to set chmod 777 on the entire mount
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Commodore 64 said:
Can you write to the internal SD once in the Android? For example when you take a photo or download a file does it get saved on the phone? If the answer is yes then it cannot be a hardware issue. Just a permission cluster-fu..
Get a Linux environment ( boot up your PC with a live CD or something) mount the drive use root su/sudo commands to set chmod 777 on the entire mount
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
it very well could be hw issue, the internal sd card is not the same partition as the system partition, writing successfully to the int sd has no bearing on the nand failure
edit: found the thread where another member who had the same prob http://forum.xda-developers.com/showthread.php?t=1751338
vincom said:
it very well could be hw issue, the internal sd card is not the same partition as the system partition, writing successfully to the int sd has no bearing on the nand failure
edit: found the thread where another member who had the same prob http://forum.xda-developers.com/showthread.php?t=1751338
Click to expand...
Click to collapse
Yeah I dealt with a guy that had a Hercules with the same issue. Very frustrating because it was the first time I ran into something like that. We couldn't get it flashed with Odin or anything. We gave up on it and I put a bunch of .40 hollow points in it.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
xcrazydx said:
Yeah I dealt with a guy that had a Hercules with the same issue. Very frustrating because it was the first time I ran into something like that. We couldn't get it flashed with Odin or anything. We gave up on it and I put a bunch of .40 hollow points in it.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Did it work after that? Lol
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
vincom said:
it very well could be hw issue, the internal sd card is not the same partition as the system partition, writing successfully to the int sd has no bearing on the nand failure
edit: found the thread where another member who had the same prob http://forum.xda-developers.com/showthread.php?t=1751338
Click to expand...
Click to collapse
that is a very true they are indeed different partitions. I was thinking about why he couldn't even format his internal SD despite not being able to flash his ROM what not. I will go ahead and read in the thread you provided. Thanks vincom.
Commodore 64 said:
that is a very true they are indeed different partitions. I was thinking about why he couldn't even format his internal SD despite not being able to flash his ROM what not. I will go ahead and read in the thread you provided. Thanks vincom.
Click to expand...
Click to collapse
oh, I missed the part for internal, bigger prob than I thought, I don't think the other guy had the int sd prob, but he's still stuck at the same situation
vincom said:
oh, I missed the part for internal, bigger prob than I thought, I don't think the other guy had the int sd prob, but he's still stuck at the same situation
Click to expand...
Click to collapse
Topprospect posted a long complicated thread when he had the super brick. If I remember correctly, it involved some ROM code changes to use external SD card as the primary memory. I don't remember if it worked for him. Maybe worth a shot if all else fails and you really really want to use the phone.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Thanks for the input guys. I'm pretty sure this things fried, luckily its not my primary phone. Anyone know offhand what the manufacturer warranty period is for Samsung? I know HTC is a year, ive sent them phones in the past and they fixed them free of charge as long as it was within a year of the manufacturing date, hopefully Samsung is similar.
Sent from my Nexus 4 using xda app-developers app
lowrider262 said:
Thanks for the input guys. I'm pretty sure this things fried, luckily its not my primary phone. Anyone know offhand what the manufacturer warranty period is for Samsung? I know HTC is a year, ive sent them phones in the past and they fixed them free of charge as long as it was within a year of the manufacturing date, hopefully Samsung is similar.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
1 year
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2

[RECOVERY] CWM 6.0.4.5 touch & non-touch

So recently I've been trying to compile a 4.4 compatible TWRP for our device, but somehow, this time around, it turned into a CWM. I had all my TWRP flags in the right position, but I digress.
I am proud to present to you CWM 6.0.4.5 touch and non touch for the Samsung Galaxy S Blaze.
The following link contains both builds. The non touch was compiled from source while the touch recovery was compiled through Koushes Recovery Builder.
THIS IS FOR 4.4 ROMS ONLY. I CLAIM NO RESPONSIBILITY FOR ANY DAMAGES THAT MAY OCCUR IF YOU CHOOSE TO USE IT OTHERWISE.
http://www.mediafire.com/?cf3f5501425de
I'll perform some maintenance on the thread a little later, but until then...
ENJOI
(Hopefully one day I'll have the twrp for you guys.)
Sweet! I've been waiting for a touch version! Checking it out now!
Sent from my SAMSUNG-SGH-T769 using XDA Premium 4 mobile app
Let me know
Sent from my SAMSUNG-SGH-T769 using xda app-developers app
Excellent -- thanks for the efforts Sky!
If you want twrp you need to pull Omni's bootable_recovery, unzip it and replace it with the cm recovery in /bootable/recovery.
From there make the general builds.
I've been trying to get this working for weeks as the mounts don't seem to work right. That's why omni is being delayed.
Sent from my SAMSUNG-SGH-T769 using Tapatalk
Works great so far. Only minor issue is that the font is a little too big to display the full description in the "install zip" menu but it's no big deal since I already know the order they appear in (sdcard0 then sdcard1). Thanks Skywalker!
Sent from my SAMSUNG-SGH-T769 using XDA Premium 4 mobile app
Somcom3X said:
If you want twrp you need to pull Omni's bootable_recovery, unzip it and replace it with the cm recovery in /bootable/recovery.
From there make the general builds.
I've been trying to get this working for weeks as the mounts don't seem to work right. That's why omni is being delayed.
Sent from my SAMSUNG-SGH-T769 using Tapatalk
Click to expand...
Click to collapse
Is that what the problem is? Cause I replaced said file and no matter what I do... Yea.. Nothing mounts properly except for external SD and data. Other than that, nothing.
Sent from my SAMSUNG-SGH-T769 using xda app-developers app
Skywalker.00 said:
Is that what the problem is? Cause I replaced said file and no matter what I do... Yea.. Nothing mounts properly except for external SD and data. Other than that, nothing.
Sent from my SAMSUNG-SGH-T769 using xda app-developers app
Click to expand...
Click to collapse
I'm at the same place. Dunno why they aren't working. Changing the internal Mount breaks the external.
Sent from my SAMSUNG-SGH-T769 using Tapatalk
A guy on the tab 2 forum got his working flawlessly. I pm'd him to see how he got his working, tried his fixes but it was a no go. Unfortunately it takes me two and a half hours to compile one recovery image on my work computer. Needless to say troubleshooting is a real pain in my arse.
Sent from my GT-P3110 using xda app-developers app
Skywalker.00 said:
A guy on the tab 2 forum got his working flawlessly. I pm'd him to see how he got his working, tried his fixes but it was a no go. Unfortunately it takes me two and a half hours to compile one recovery image on my work computer. Needless to say troubleshooting is a real pain in my arse.
Sent from my GT-P3110 using xda app-developers app
Click to expand...
Click to collapse
What kind of computer.
Make sure ccache is up it can shorten your build time dramatically.
I tripped my Odin counter 32 times trying to make it work.
Sent from my SAMSUNG-SGH-T769 using Tapatalk
Somcom3X said:
I'm at the same place. Dunno why they aren't working. Changing the internal Mount breaks the external.
Sent from my SAMSUNG-SGH-T769 using Tapatalk
Click to expand...
Click to collapse
Did you try this flag? It looked promising, but with my ridiculous build times I haven't gotten around to it yet.
ignoreblkid -- blkid is used to determine what file system is in use by TWRP, this flag will cause TWRP to skip/ignore the results of blkid and use the file system specified in the fstab only
Sent from my GT-P3110 using xda app-developers app
Somcom3X said:
What kind of computer.
Make sure ccache is up it can shorten your build time dramatically.
I tripped my Odin counter 32 times trying to make it work.
Sent from my SAMSUNG-SGH-T769 using Tapatalk
Click to expand...
Click to collapse
I'm only at fifteen or so... Maybe 20... derp
Oracle virtual box, Ubuntu 12.04. I was only able to allocate 2 gigs of RAM, which I know is not nearly enough, but i gotta work with what ive got. For now. I've known about ccache and thought to set it up, but I never got around to it... Don't know why I never did..? Smh.
Sent from my GT-P3110 using xda app-developers app

Problems with mounting system..

Hi, for some reason the system keeps unmounting itself, I'm running on TWRP 2.7.0.1 recovery with Slimkat 3.8 weekly ROM and next kernel, I tried using fix permissions, but the system still keeps unmounting itself,
I flashed TWRP recovery twice and problem is still there, any ideas? thanks in advance.
Sent from my GT-P3110 using xda app-developers app that crashes for no good reason
DrakoSSfox said:
Hi, for some reason the system keeps unmounting itself, I'm running on TWRP 2.7.0.1 recovery with Slimkat 3.8 weekly ROM and next kernel, I tried using fix permissions, but the system still keeps unmounting itself,
I flashed TWRP recovery twice and problem is still there, any ideas? thanks in advance.
Sent from my GT-P3110 using xda app-developers app that crashes for no good reason
Click to expand...
Click to collapse
brother is your sd card ok
i also experienced the same but after i inserted different card and then again inserted my first card and booted in recovery and wiped cache partition
it worked
if the problem still persists then it might be a hardware problem due to falling or something like that or there is a problem with card slot of the tab
My sdcard is in good condition
what I meant was the system or internal sdcard, it keeps unmounting itself even after fixing permissions...
maybe the internal is broken, I'll try to go to samsung for support, but I forgot that I'm rooted :sly:
Sent from my GT-P3110 using xda-developers app that crashes for no good reason
thanks anyway, I'll try that too, and now my ext sdcard unmounts itself too! :what:
Sent from my GT-P3110 using xda-developers app that crashes for no good reason
DrakoSSfox said:
thanks anyway, I'll try that too, and now my ext sdcard unmounts itself too! :what:
Sent from my GT-P3110 using xda-developers app that crashes for no good reason
Click to expand...
Click to collapse
I would that odin that sucker back to stock and see if that helps.
Sent from my SAMSUNG-SGH-T769 using XDA Premium 4 mobile app
I'll see if I can do that, is it okay if I use the old version of odin? version 1.82 I think, and sammobile is very slow when I download stock ROMs from there.....
Sent from my GT-P3110 using xda-developers app that crashes for no good reason
DrakoSSfox said:
I'll see if I can do that, is it okay if I use the old version of odin? version 1.82 I think, and sammobile is very slow when I download stock ROMs from there.....
Sent from my GT-P3110 using xda-developers app that crashes for no good reason
Click to expand...
Click to collapse
You want version 3, 1.85. At least that's what I used when I soft bricked mine and it worked flawlessly. Ya, sammobile takes forever, you think they'd speed that up a bit.
Sent from my SAMSUNG-SGH-T769 using XDA Premium 4 mobile app
DrakoSSfox said:
I'll see if I can do that, is it okay if I use the old version of odin? version 1.82 I think, and sammobile is very slow when I download stock ROMs from there.....
Sent from my GT-P3110 using xda-developers app that crashes for no good reason
Click to expand...
Click to collapse
Try downloading firmware from samsungfirmwares.com,,, its better than sammobile
Sent from my GT-P3100 using Tapatalk

Categories

Resources