File system issue

TheStickMan

Senior Member
Sep 16, 2011
384
60
0
I recently restored my tablet from a CWM backup that I made using CWM recover v3.2 I think.

Even after reinstalling the ROM (EOS v3), the file system isn't as per normal. The old file system is now in a folder called '0', with a new structure created. Please refer to screenshot.

As such, I have various issues now:
- Browsers crash when trying to save a file, presumably because the downloads location differs.
- I had duplicates of photos etc appearing in the gallery.


Is there any way to fix this, without a full complete wipe?



Sent from my Xoom using XDA Premium HD app
 

Attachments

Mjamocha

Senior Member
Jul 2, 2010
1,255
765
0
LOL, You flashed a JB 4.2 ROM previously and tried to go back to a JB 4.1.2 huh? Everything that glitters ain't gold.

From adb shell :
Code:
mv /data/media/0/* /data/media
Then

Code:
rm -r /data/media/0

Type it exactly as posted. Usual Disclaimer: blah blah... it's on you.
 
  • Like
Reactions: TheStickMan

Cubanluke88

Senior Member
Nov 18, 2011
1,051
315
0
Connecticut
LOL, You flashed a JB 4.2 ROM previously and tried to go back to a JB 4.1.2 huh? Everything that glitters ain't gold.

From adb shell :
Code:
mv /data/media/0/* /data/media
Then

Code:
rm -r /data/media/0

Type it exactly as posted. Usual Disclaimer: blah blah... it's on you.
I remember reading about this recently but I don't remember the details.

What is the reasoning behind this? Is it related to the Xoom's system partition being too small? Is it intended?
 

Mjamocha

Senior Member
Jul 2, 2010
1,255
765
0
I remember reading about this recently but I don't remember the details.

What is the reasoning behind this? Is it related to the Xoom's system partition being too small? Is it intended?
With Android 4.2, Google introduced multiple users as a new feature. In order to accommodate multiple users, Google is now giving each user a their own folder for storage. If you upgraded to 4.2 from 4.1, then the 4.2 ROM will look for a certain file in /data to determine whether it needs to migrate all of your files to the new multi-user data structure. By default, 4.2 migrates all of /data/media to /data/media/0.
 

Mjamocha

Senior Member
Jul 2, 2010
1,255
765
0
Ah that makes sense.

And explains why my gnexus didn't do that when I tested a 4.2 rom. Thanks.
No prob. ftgg99 made that possible a while ago THREAD I've use this "SwitchMe" since ICS, to have separate profiles for my personal use, and a guest account for the family. It seems more stable/secure than the newly integrated JB 4.2, IMO
 
Last edited:

TheStickMan

Senior Member
Sep 16, 2011
384
60
0
Thanks for the help and explanation, I'll try it later with ADB. The reasoning makes sense, too.

Also, yes, I downloaded a new EOS nightly via the UpdateMe app and flashed it. I saw the stupid phablet layout, played with it for 30 seconds, then reverted back to an older nightly. :D
 

Mjamocha

Senior Member
Jul 2, 2010
1,255
765
0
Thanks for the help and explanation, I'll try it later with ADB. The reasoning makes sense, too.

Also, yes, I downloaded a new EOS nightly via the UpdateMe app and flashed it. I saw the stupid phablet layout, played with it for 30 seconds, then reverted back to an older nightly. :D
All good man.