[Q] Internal storage problem - Galaxy Tab 2 Q&A, Help & Troubleshooting

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

Related

[APP] swapsd beta: Samsung

Tested by me on the Samsung Galaxy Exhibit only. (I'm told it works on the Galaxy W). If your device's /system/etc/vold.fstab file matches the attached original Galaxy Exhibit fstab file, it may work for you as well. Note: This app is not compatible with CyanogenMod. Root is required.
A common complaint about some Samsung Gingerbread phones is the fact that they mount the relatively small internal sd memory as /mnt/sdcard and this memory is treated as the phone's primary removable storage by some apps, ignoring the "real" removable sd card that Samsung refers to as "/mnt/sdcard/external_sd".
This simple gui allows you to swap the two so your larger "external sd" is mounted as "/mnt/sdcard/" and the smaller sd internal memory is mounted as "/mnt/sdcard/external_sd".
This is done by changing a file called vold.fstab in your phone's /etc folder. The original device vold.fstab file is backed up to /etc/vold.fstab.backup when this app first runs. Your data on /mnt/sdcard and /mnt/sdcard/external_sd is not touched in any way whatsoever. Root is required. Easy install: copy the apk file to your SD card and open with a file manager.
Please nandroid backup before testing!
If you get "Unknown Error, Contact Developer" you are more than likely not properly rooted! This app requires Superuser and Busybox to properly function!
Please note that if you've already moved existing apps to SD or existing apps have placed support files on SD, swapping mount points is not a good idea. Uninstall these apps, then reinstall after swapping.
jocala said:
Tested on the Samsung Galaxy Exhibit only. If your device's /system/etc/vold.fstab file matches the attached fstab file, it may work for you as well.
Please nandroid backup before testing!
Click to expand...
Click to collapse
So has anyone had success using this on the Exhibit II/4G or is it really just for the older Exhibit or am I just mis-reading the title?
I'd like to make the switch since the "internal" sd situation is rather silly and I just picked up a new SDHC card for my phone.
so the app is for swapping
and wt abt the txt ??? is it the original or the custom for swapping ??????
Works on any rom?
Sent from my GT-I8150 using xda premium
willynatedgreat said:
So has anyone had success using this on the Exhibit II/4G or is it really just for the older Exhibit or am I just mis-reading the title?
I'd like to make the switch since the "internal" sd situation is rather silly and I just picked up a new SDHC card for my phone.
Click to expand...
Click to collapse
The Galaxy Exhibit 4G was formerly known as the Exhibit II 4G
mosta_9741 said:
so the app is for swapping
and wt abt the txt ??? is it the original or the custom for swapping ??????
Click to expand...
Click to collapse
The fstab.txt is the original from the Galaxy Exhibit. It's attached so you can compare it to the /system/etc/vold.fstab on your phone. If the two match, this app may work for you.
Karmalot said:
Works on any rom?
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
So far.
Ok, a question as I learn more and more about the Galaxy Exhibit.
I am testing one, have some time to return if the coverage is not what I need, so I have installed my apps from my other phone, and just moved the SD card over, since it had some zips and apks that I wanted.
Since some of the directories exist already and are used by apps, while others have been recreated on the internal sd of the phone. My thought was to install the swapsd apk, immediately physically move all files from the internal sd to the actual sd card by activating the USB connection. Then disable USB, the swap is active, the media scanner will run, and the phone should see everything on /sdcard and the /ext_sdcard will be clean, except for what I left in the /usb_storage directory.
I tried mounting in recovery under mounts, mount usb storage, but it can only see one virtual drive and not both, whereas activating from the phone, both show.
Is that correct, or am I missing something? And obviously, in recovery, the partitions stay they same since the script is not running.
Pkt_Lnt said:
Ok, a question as I learn more and more about the Galaxy Exhibit.
I am testing one, have some time to return if the coverage is not what I need, so I have installed my apps from my other phone, and just moved the SD card over, since it had some zips and apks that I wanted.
Since some of the directories exist already and are used by apps, while others have been recreated on the internal sd of the phone. My thought was to install the swapsd apk, immediately physically move all files from the internal sd to the actual sd card by activating the USB connection. Then disable USB, the swap is active, the media scanner will run, and the phone should see everything on /sdcard and the /ext_sdcard will be clean, except for what I left in the /usb_storage directory.
I tried mounting in recovery under mounts, mount usb storage, but it can only see one virtual drive and not both, whereas activating from the phone, both show.
Is that correct, or am I missing something? And obviously, in recovery, the partitions stay they same since the script is not running.
Click to expand...
Click to collapse
Samsung's stock recovery only sees the internal storage, not removable. ClockworkMod sees both. You can get cwm here.
jocala said:
Samsung's stock recovery only sees the internal storage, not removable. ClockworkMod sees both. You can get cwm here.
Click to expand...
Click to collapse
That is from within CWM from that link, maybe my old XP laptop is playing games. Is that implying that I should move files in recovery?
I also find a swapsd01.zip and a swapsd.apk, same, just different application method?
sd/swap beta
hi jocala ,was wondering if you could fully explain how to do the swpp sd in full ?
thanks
sean
Pkt_Lnt said:
That is from within CWM from that link, maybe my old XP laptop is playing games. Is that implying that I should move files in recovery?
I also find a swapsd01.zip and a swapsd.apk, same, just different application method?
Click to expand...
Click to collapse
The swapsd.apk in this thread is the app. Disregard any links to zips, they are outdated.
roto rooter said:
hi jocala ,was wondering if you could fully explain how to do the swpp sd in full ?
thanks
sean
Click to expand...
Click to collapse
I've attached a screenshot to the OP, hopefully that will help. It's pretty simple:
Root is required. Run the app, you'll see four buttons, Help, Default, Swap, Reboot.
To swap sd and external_sd press Swap.
To return to default, press Default.
Once you press either of the buttons above, press Reboot.
For instructions, press Help.
Pkt_Lnt said:
That is from within CWM from that link, maybe my old XP laptop is playing games. Is that implying that I should move files in recovery?
Click to expand...
Click to collapse
No. I misunderstood your post. To mount your /sdcard (internal) in cwm mount /sdcard. To mount your removable sd do mount /emmc.
jocala said:
No. I misunderstood your post. To mount your /sdcard (internal) in cwm mount /sdcard. To mount your removable sd do mount /emmc.
Click to expand...
Click to collapse
Well, I got it done. I had to do it a little different, more lengthy, more secure. Backed up both partitions to my computer. Activated swapsd, rebooted to recovery, but could not mount both simultaneously. So I mounted the new /sdcard that is removable and moved what was backed up on the computer from the previous internal card to it. Rebooted and then cleaned up everything for duplicates. Thanks for the help again.
Pkt_Lnt said:
Well, I got it done. I had to do it a little different, more lengthy, more secure. Backed up both partitions to my computer. Activated swapsd, rebooted to recovery, but could not mount both simultaneously. So I mounted the new /sdcard that is removable and moved what was backed up on the computer from the previous internal card to it. Rebooted and then cleaned up everything for duplicates. Thanks for the help again.
Click to expand...
Click to collapse
Glad it worked out for you. Good luck with your Galaxy Exhibit
jocala said:
Tested by me on the Samsung Galaxy Exhibit only. (I'm told it works on the Galaxy W). If your device's /system/etc/vold.fstab file matches the attached original Galaxy Exhibit fstab file, it may work for you as well.
A common complaint about some Samsung Gingerbread phones is the fact that they mount the relatively small internal sd memory as /mnt/sdcard and this memory is treated as the phone's primary removable storage by some apps, ignoring the "real" removable sd card that Samsung refers to as "/mnt/sdcard/external_sd".
This simple gui allows you to swap the two so your larger "external sd" is mounted as "/mnt/sdcard/" and the smaller sd internal memory is mounted as "/mnt/sdcard/external_sd".
This is done by changing a file called vold.fstab in your phone's /etc folder. The original device vold.fstab file is backed up to /etc/vold.fstab.backup when this app first runs. Your data on /mnt/sdcard and /mnt/sdcard/external_sd is not touched in any way whatsoever. Root is required.
Please nandroid backup before testing!
Click to expand...
Click to collapse
How to change the file?
Many thanks
NOLAchick said:
How to change the file?
Many thanks
Click to expand...
Click to collapse
Install the apk in the OP, and choose the swap button, then the reboot button. Sorry to be so technical..........
Pkt_Lnt said:
Install the apk in the OP, and choose the swap button, then the reboot button. Sorry to be so technical..........
Click to expand...
Click to collapse
That's the big question....for us noobies
Tanks though...
NOLAchick said:
That's the big question....for us noobies
Tanks though...
Click to expand...
Click to collapse
Copy the file to your SD card. Open it in your file manager.

Internal memory is FULL with NO APPS?! HELP

So i've been trying to research this problem for hours now. Ive jumped around a bunch of different roms since owning this gs3. MIUI 4.1 - Aokp 4.2.1 and currently synergy 4.1.2. I think since flashing aokp 4.2 that i get that "0" file when looking for files and such. I can tap "0" like 4-5 times to finally get into the files i want. I'm not sure if this is where my problem is coming from?
Let me say i don't have ANY backups. Im running clockwork and wiped,reset,cache all of that multiple times. I have ZERO apps installed and only a handful of pictures. My internal memory says its full and i get a warning at the top saying that my internal storage is to the max and that some programs might not respond. The bulk of GB used is in the "misc" folder. I've seen other people with this issue but it seems the only fix is to re-format the internal memory and LOSE EVERYTHING. I'm sure someone here can help :/
You delete all those roms you downloaded after flashing them?
Sent from my SCH-I535 using xda app-developers app
Install Disk Usage (if you have the space <grin>) and see what it says is taking up the space:
I feel as though it has something to do with the emulated "0" folders. I have literally 5 of them. I downloaded disk usage and it shows 5 different "0" folders.
Out of pure frustration, I went into the second "0" folder in file manager and deleted it. That in-turn must of deleted the other "0" folders? That free up 7 GB. My pictures and videos are still there but im wondering what else it deleted? It seemed like things would get stored in each of those "0" folders seperatly.
dincfool said:
I feel as though it has something to do with the emulated "0" folders. I have literally 5 of them. I downloaded disk usage and it shows 5 different "0" folders.
Click to expand...
Click to collapse
Ah, yes, the joys of 4.2. I've never flashed a 4.2 ROM, so take what I say with a grain of salt. It's my understanding that when you flash 4.2, it takes everything on the internal SD (/data/media/ folder) and puts it into that "0" folder (part of that whole separate user accounts "feature"). So, if you've installed, let's say five, 4.2 Roms, then that info will have been copied 5 times and put into nested "0" folders.
If it were me, I'd run a nandroid and put it on my external sd. I'd also run a TiBu (under preferences you can switch default location to external sd). Once you're sure you have those, I'd copy whatever data you want to save from the internal (DCIM folder, music, etc) and move it to computer or external sd.
Have a copy of synergy on the external and go into CWM and wipe the internal SD card (mounts -> wipe system, wipe data, wipe cache, wipe internal sd), then reinstall synergy, restore from TiBu and you should be golden.
^^
That sounds about right. Man this right here is enough for me to never want to go to 4.2 until I have too. Is the easiest way to transfer all my files to external SD through a computer? Where abouts in the phone do you transfer/or assign your files to an external SD?
dincfool said:
^^
That sounds about right. Man this right here is enough for me to never want to go to 4.2 until I have too. Is the easiest way to transfer all my files to external SD through a computer? Where abouts in the phone do you transfer/or assign your files to an external SD?
Click to expand...
Click to collapse
Have you installed Android SDK on your computer (ever used adb commands via command prompt)?
Edit: if you open up your phone in windows explorer, you should see 2 folders: Phone and Card (or something like that). You can drag the files from Phone to Card and they'll be on the external SD.
letinsh said:
Have you installed Android SDK on your computer (ever used adb commands via command prompt)?
Edit: if you open up your phone in windows explorer, you should see 2 folders: Phone and Card (or something like that). You can drag the files from Phone to Card and they'll be on the external SD.
Click to expand...
Click to collapse
Gotcha, i'll try that. I have a feeling once more people start running 4.2 they're going to run into this problem as well.
If you do have the SDK set up, a faster way to do it (if you're moving a butt-load of data) is to open a command prompt on the computer and navigate to where you want the data. For instance, I use C:\Backups. I'll then create a 2 folders within Backups (one for internal and one for external sd) and give them the date as a name. For instance, C:\Backups\Internal_2_5 and C:\Backups\External_2_5.
Then I'll be in C:\Backups and issue these commands:
Code:
adb pull /data/media/ Internal_2_5
adb pull /external_sd/ External_2_5
Depending on how much data you're moving, it could take awhile. Now, you could pick and choose what you want to pull:
Code:
adb pull /data/media/DCIM Internal_2_5/DCIM
would only pull that DCIM folder.
When I dump all of it, I'll wipe everything, install my rom, get it all up and going, then go through each of those backup folders and delete the stuff that's not "mine" (ie the Android folder(since your new rom built it's own folder), etc), then I'll push it back to the phone:
Code:
adb push Internal_2_5 /data/media/
adb push External_2_5 /external_sd/
Clean wipe, clean install, and all the data that I wanted back.
(fair warning, if your cards are full, that push pull commands could take several hours...)

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] After rooting and installing custom firmware, hardly internal memory on P5110

Hey there,
I finally got the courage to root my Samsung Galaxy Tab 10.1 (P5110).
All went well. Put Odin3-v1.85_3 on it and shakatu_recovery-clockwork-unofficial-6.0.3.1-p5110.
After rooting i installed (as decribed on the webpage) a custom firwmare: cm-10.1-20130409-NIGHTLY-p5110
Everything works smooth and easy and fast (!), way faster than the stock firmware on it.
BUT: what happened to my internal memory? I only have a few apps installed (should be around 3 Gb), the same apps when i had stock firmware, but when i tried to install a game, it surprised my i had hardly any internal memory left!!!
When i go into settings and go to storage, the device calculates how much free space i got left. It shows me i have around 600 Mb left. Graphically it first shows it's almost full (grey bar), but later after indexing it shows the correct amount of free space. But the text underneath it remains around 600 Mb.
When i go into a file explorer and give it superuser rights, i can go to upper levels of the internal storage and there are loads of folders there. It seems it has something to do with the rooting or the stock firmware (backup or something)??
How can i clear more internal memory? Should I do some sort of wipe again in Clockwork Recovery??
Thanks for reply!
BTW: swapping internal and microsd card memory is not an option for me.
Below i wanted to put photos what my device shows, but i'm not allowed to do so since i'm a newbie....
robbieking said:
Hey there,
I finally got the courage to root my Samsung Galaxy Tab 10.1 (P5110).
All went well. Put Odin3-v1.85_3 on it and shakatu_recovery-clockwork-unofficial-6.0.3.1-p5110.
After rooting i installed (as decribed on the webpage) a custom firwmare: cm-10.1-20130409-NIGHTLY-p5110
Everything works smooth and easy and fast (!), way faster than the stock firmware on it.
BUT: what happened to my internal memory? I only have a few apps installed (should be around 3 Gb), the same apps when i had stock firmware, but when i tried to install a game, it surprised my i had hardly any internal memory left!!!
When i go into settings and go to storage, the device calculates how much free space i got left. It shows me i have around 600 Mb left. Graphically it first shows it's almost full (grey bar), but later after indexing it shows the correct amount of free space. But the text underneath it remains around 600 Mb.
When i go into a file explorer and give it superuser rights, i can go to upper levels of the internal storage and there are loads of folders there. It seems it has something to do with the rooting or the stock firmware (backup or something)??
How can i clear more internal memory? Should I do some sort of wipe again in Clockwork Recovery??
Thanks for reply!
BTW: swapping internal and microsd card memory is not an option for me.
Below i wanted to put photos what my device shows, but i'm not allowed to do so since i'm a newbie....
Click to expand...
Click to collapse
No-one????
robbieking said:
No-one????
Click to expand...
Click to collapse
i had the same problem!
but you will have to be on the stock rom, that is the original rom for your tab. Connect your tab on mass storage mode. Go to my computer, and format your tab from there. remember to make a backup of every thing. U will then have a full 12 gb free storage.
plz press thanks
Hi,
You probably still have a lot of the junk from the stock rom on the internal sd along with the data from your new rom. If you have the rom file you flashed on your external sd card. You can boot into recovery and format /sdcard to nuke almost everything. You'll have to stay in recovery after this is done and reflash the CM rom and install the apps you want from scratch to get the maximum amount of free space.
CodyF86 said:
Hi,
You probably still have a lot of the junk from the stock rom on the internal sd along with the data from your new rom. If you have the rom file you flashed on your external sd card. You can boot into recovery and format /sdcard to nuke almost everything. You'll have to stay in recovery after this is done and reflash the CM rom and install the apps you want from scratch to get the maximum amount of free space.
Click to expand...
Click to collapse
So, if my custom rom (install)file is on my external SD card, i can format my (internal)sd card? Afterwards install the custom rom again (from external sd card) and i'm ready to go.
Is that correct?
Thanks, i think it worked. At least i have all my internal memory back!

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