ics to jb storage question - Verizon Samsung Galaxy S III

Alrighty, so I know that going from ics to a jb rom it moves your internal storage to /0/ or /emulated(I don't have my phone in front of me right now, so I don't know exactly what it is)
But I was wondering if there was a way to move everything to where it is normally on a jb rom
Reason behind this question is because if I go to /0/ there's another /0/0/ etc...
It's just getting confusing.
Maybe a script that moves everything?
Or would it be easier to back everything up and just to a complete internal wipe etc.. on it?
Thanks!

If it's just for convenience, then you could just move the folder, change the owner and permissions back to default and rename it. On my GS3, the location is /storage/sdcard0, but it's not a big deal because I have /sdcard linked to /storage/sdcard0.

Related

[Q] change mountpoint of sdcard so that it goes to the actual sdcard

Does anyone know how to update the mount points so that when I insert a microsd card it is mounted to the mnt/sdcard folder? I still would like to be able to use the internal storage though. Maybe it can be mounted someplace else.
I ask because I would like to backup my apps to the SD card using Titanium backup and Astro. Backing up my apps to the internal memory makes no sense. Especially when you are trying to move Angry Bird saved games between devices.
I did the opposite when I was running the CM7 on the GTablet: all the ROMs mapped sdcard to the internal memory while CM7 had it the way you want it. I didn't need an SD card for the GTab, so suffice to say, I updated it to change it back so all my apps would work again.
Anyway, you need root, and all you have to do is find /etc/fstab and change the mount points to where ever you want them. On the GTab, I just switched emmc and sdcard around. This worked on Android 2.3, so I assume its the same for 3.x. I don't have my Transformer with me here at work or I'd look to make sure.
IMPORTANT: Make sure you make a system backup before you mess with it, cause you could mess up the file and then nothing will mount on start up, so proceed at your own risk.
http://forum.xda-developers.com/showthread.php?t=1122710
Last page has a script you can use or you can use the app method, I think it is towards the end of the 2nd page, its a 1.99 app but works fine and survives reboots
EDIT: Post 38 and 41

[Q] Odd SD problem - Help

Problem when I reboot my phone the internal SD is not available only the external micro-SD. I remove the micro-SD and then I can see my internal SD. I am beginning to think my Infuse is on it's last leg. Good thing I can upgrade on 1st January.
I have tried Wipe Cache Partition and Advanced/Wipe Dalvik Cache. No help. This is the second time, thought I had it fixed by returning to stock then back to CM10 4.2 all was well then I saw a post about the new camera that I didn't have yet so I flashed it. Now I am back to SD problem.
If anyone has an idea what is causing this, other than me. I would greatly appreciate it.
Does anyone have a suggestion on how to fix or advise on new phone to get?
Thank you!
swub1
Here is my boot.log contents.
Wed Dec 5 00:35:21 GMT 2012
umount: can't umount /sdcard: Invalid argument
cpio: dev not created: newer or same age file exists
cpio: proc not created: newer or same age file exists
cpio: sys not created: newer or same age file exists
cpio: system not created: newer or same age file exists
1263 blocks
Wed Dec 5 00:35:21 GMT 2012
Also I noticed that the date time stamp on microSD says 31 Dec 69
The above is the same with it working or with it not so thats not the problem and it doesn't help to solve it.
I have found that as long as I don't have to restart my phone when it is working it will remain working. If I think I have a reason to reboot I must make sure I really want to do this.
As the work to get it straight involves remove micro-SD, wipe/format reinstall of ROM and GApps and then restore enough to edit build.prop for tweaking lockscreen powerdown install micro-SD then powerup to restore rest of the apps.
If anyone knows what might be causing this I would really appreciate it. Even if you could point me to the log file to look at that might give me a clue that would be very nice.
swub1
If it works with out microsd just don't use one. 14 gigs is plenty. Otherwise maybe format the microsd? Or try a full stock wipe and see if it all comes back.
Sent from my SGH-I997 using xda app-developers app
cpio I believe means copy in and out.
Since phone works without micro-sd and fails with it try a new micro sd or a different rom.
As for the date you mentioned, it is not unusual to find files with dates that are years in the past. Upgrade? If you are staying with AT&T pick 3-5 phones from their website that based on specs and price meet you needs and spend some hands on time with each. No one can make a better decision as to your next phone than you. Well, maybe bigjoe could...
USB Storage unmounts?
swub1 said:
Problem when I reboot my phone the internal SD is not available only the external micro-SD. I remove the micro-SD and then I can see my internal SD. I am beginning to think my Infuse is on it's last leg. Good thing I can upgrade on 1st January.
I have tried Wipe Cache Partition and Advanced/Wipe Dalvik Cache. No help. This is the second time, thought I had it fixed by returning to stock then back to CM10 4.2 all was well then I saw a post about the new camera that I didn't have yet so I flashed it. Now I am back to SD problem.
If anyone has an idea what is causing this, other than me. I would greatly appreciate it.
Does anyone have a suggestion on how to fix or advise on new phone to get?
Thank you!
swub1
Click to expand...
Click to collapse
your post is the closest example to the SAME problem i am having so i will see if we are experiencing the same thing.
Im running Scott's 4.2.1 Unofficial CM10 - 12/02 build and ever since the 11/30 build, my internal ~14GB sdcard (called USB Storage when i look under system settings / storage) will not mount. the 2GB "internal" Storage and my 64GB External are always visible.
whats strange, is that when i reboot into recovery, i can still get all the data in this "sdcard" partition, it just will not mount when booted.
When i 1st boot from a new flash, its there, but after a reboot (and every reboot after that) it shows for a split-second, then disappears.
I come into this thread and seen it may have something to do with my External SD, i tried it removing the External SD, rebooted, and sure enough, it brought back my internal SD.
i shut down, re-inserted my External SD and powered up, and the USB Storage did NOT disappear but i cant leave well enough alone, so I rebooted 1 more time... POOF... USB Storage GONE....
How could the External SD have such an impact on the mounting of the Internal SD?
In Scott's thread he mentions that external (micro) sd should be removed before flashing the rom... don't know if that is the case, just sayin'.
Pony Express said:
In Scott's thread he mentions that external (micro) sd should be removed before flashing the rom... don't know if that is the case, just sayin'.
Click to expand...
Click to collapse
I have flashed & reflashed with and without, no change. I have reformatted the External SD, no change.
I think i have isolated the issue to the physical presense if the External SD, but this is not an issue with the 11/4 build. I just go back to 4.1.2 till the next release
Downgrading back to 11/04 now
I am downgrading to see if that fixes it will let you know. Did it work for you?
Some one had a point. How is it not available? No media can be seen. Or is it non existent in root explorer. PR under system settings> storage.
If its the first it might be a .nomedia file in the root directory.
Sent from my SGH-I997 using xda app-developers app
swub1 said:
I am downgrading to see if that fixes it will let you know. Did it work for you?
Click to expand...
Click to collapse
After downgrading back to 4.1.2 of CM10 my problem goes away. Another thing that I noticed is that the default APN's are now editable and I can delete them as well. While on 4.2 the only thing I could do was create a new one and set it to be the one in use. I guess part of the system is read only. Trying to save us from messing something up.
swub1
Pony Express said:
In Scott's thread he mentions that external (micro) sd should be removed before flashing the rom... don't know if that is the case, just sayin'.
Click to expand...
Click to collapse
When first told to remove external micro sd prior to flash I did just that. Later I supposed that I had nothing to loose so I tried leaving it in. Didn't see anything go wrong so I thought it was just a cover my a$$ thing.
Skwerl23 said:
Some one had a point. How is it not available? No media can be seen. Or is it non existent in root explorer. PR under system settings> storage.
If its the first it might be a .nomedia file in the root directory.
Sent from my SGH-I997 using xda app-developers app
Click to expand...
Click to collapse
Well for me, not available means not mounted & unmounable, the sdcard directory can be seen, but it empty through root explorer.
the "other way in" through Storage/Sdcard0 shows the dame, nothing, REMOVE the external SD, the internal SD (called USB Storage in settings/storage) Mounts in reboot. .nomedia is not the issue as when the External SD is present, i can play media (from the External SD, but the camera and other apps that rely on the internal SD for storage, can not function.
When i reboot into recovery, i can see and access all the files (typically where the flashable files reside when i drag them over from my PC) both internal and external, and when i reboot, the MOMENT the unlock screen appears i dash over to settings/storage and the internal drive appears, but collapses in a less then a second. (as unmounted)
swub1 said:
I am downgrading to see if that fixes it will let you know. Did it work for you?
Click to expand...
Click to collapse
yes, returning to the 11/4 (4.1.2) ROM I do not experience this issue.
I tried scott.hart.bti 4.2.1 12/11
Went up to try 4.2.1 12/11 - No difference - The only thing I was able to do in this one was delete unused APN and edit save new one.
Wish I knew how to program and spot the differences in the code somewhere. I'd really like to stay on 4.2.1 but without my micro-SD it seems like a waste.
I have not had issues with 12/12, thought I'd share my process: wipe data/factory, wipe cache, wipe dalvik (advanced), format system (mounts and storage), install ROM, wipe dalvik, install Scott's gapps, reboot. I also don't auto restore apps. There are still compatibility issues with some apps and 4.2

AOKP tried to wipe internal SD

I finally tried to update from 4.1.2 to 4.2.1 build 5 the other day, and was outraged when my internal sd (/sdcard) appeared blank. That's right, all my pictures, videos, downloads, everything, gone.. Even after restoring back to 4.1.2, nothing.
However, when booting into TWRP and going to the file explorer, and navigating to /sdcard, all my old files appear there.. Thanks to TWRP I was able to copy over my old internal SD card files to my external. However, I can't seem to find the place that AOKP now seems to think is my internal SD. Somehow /mnt/sdcard is pointing to a different place in my internal storage now and I cannot determine where.
Does anyone know what happened? Why does TWRP and AOKP find two complete different locations for \mnt\sdcard? How to I make AOKP point to where it used to?
if im understanding correctly this is completely normal.
youre stuff is moved to somewhere else. cant remember the file path. hopefully someone can psot it up.
check the OPs of the 4.2.2 threads and do a search its orobably pretty easy to find.
Its not moved. When you flash a 4.2.2 ROM it makes a "0" folder on your internal. It will only read from there. Anything not in that 0 folder will not be read. It has to do with the multi user support in 4.2.x from what I've read.
Sent from my Incredible 2 using Tapatalk 2
Thanks guys. With your responses I was able to find this:
http://teamw.in/androidmultiuser
It explains the situation. I completely skipped over the 0 folder. It just looked like some stupid temp directory. Case closed.

[Q] Internal storage problem

I have a p5113 galaxy tab 2 originally running jb 4.1.1. I upgraded to cyanogenmod 10.1 jb 4.2.2....i don't know much about how the sd card setup works but when I use root explorer I can see my sd card and my external sd. When I was flashing the rom again I notices that what is usually the highest level of the file system isn't really the highest level. in other words what is usually /system is actually /0/system and there are other files at the same level as the /0 file. The files appear to me to be the left over bits from the previous os... In other words they are the /sdcard/android/ and sd/card/pictures type files.... I'm concerned that they are taking up space... How do u get access to these files and is if safe to remove them?
I know this want the most articulate explanation of the problem but I hope I explained it well enough..... It's like I have an sdcard directory containing my root directory. If that's the way the rom works that's fine, but I would like to remove the extra files to get more space
kemmycupid said:
I have a p5113 galaxy tab 2 originally running jb 4.1.1. I upgraded to cyanogenmod 10.1 jb 4.2.2....i don't know much about how the sd card setup works but when I use root explorer I can see my sd card and my external sd. When I was flashing the rom again I notices that what is usually the highest level of the file system isn't really the highest level. in other words what is usually /system is actually /0/system and there are other files at the same level as the /0 file. The files appear to me to be the left over bits from the previous os... In other words they are the /sdcard/android/ and sd/card/pictures type files.... I'm concerned that they are taking up space... How do u get access to these files and is if safe to remove them?
I know this want the most articulate explanation of the problem but I hope I explained it well enough..... It's like I have an sdcard directory containing my root directory. If that's the way the rom works that's fine, but I would like to remove the extra files to get more space
Click to expand...
Click to collapse
do factory reset

Files I can't see on my device are taking up space

So the other day while flashing from AOKP to CM11, it came to my attention that there are files on my phone that I can seemingly only see from my recovery. While finding the zip to flash in CWM(Which was in my downloads folder) , I noticed that I have to go through another /0/ folder to get to my actual downloads folder. Before that, there's another Downloads folder, along with a whole bunch of other stuff I must have downloaded a while back. It looks like an old version of my phone's data. There was even a flashable early CM10 rom on there.
I get the feeling this stuff is part of the reason my phone always seems to only have around a gig or two of space open despite it's 16GB capacity and the fact that all of my 40-some apps are under 100MB. It's irritating me to no end to know there are folders I can't access and delete on my phone. Anybody have any suggestions as to how to get rid of this stuff. The several times I've reset and deleted cache to flash a rom seems not to have done anything.
On a side note, really enjoying CM11!
You can thank Google for your troubles. With the 4.2 update Google introduced Multi-User. Basically its like it is Windows where you can have multiple user accounts and each user gets their own profile folder. This is what Google did essentially. The 0 folder is "User1" basically. The files are fine where they are at. They want cause any issues. But if you would like just hook your phone to your PC. Take everything out of the "0" folder and move the file to the root of your internal SDcard. Notice I said Internal SDCard (aka SDCard0) not root of system.
Sent from my SCH-I535 using Tapatalk

Categories

Resources