[Q] Can't free space on my phone? - Galaxy S II Q&A, Help & Troubleshooting

My phone is NOT rooted.
Few days ago, it started saying not enough storage space, uninstall some programs, 200 mb left free.
First of all, i moved what can be moved from phone to SD, and actually i was already doing that since i bought the phone (2 months ago), and still it didn't help.
So i uninstalled programs which can't be moved from phone, cleared all cache and some data, and had 240 mb free.
Now it's back again to 188 mb free! And i calculated the sum of the downloaded programs and they don't get past 100 mb! I don't understand? Why a 2 GB memory get used up like that?
Further more, one of the programs i had was 7 mb, and when i uninstalled it, it freed only 1 mb!
Do these programs gather some data in a way that can't be deleted?

first of all, moving apps 2 sd does not really make sense. then, your 2gb data partition, that is meant for apps stays empty, while you waste space on your sdcard, which could be used for files of all sorts, like music, pictures and video.
since obviously, in your case, something went wrong, you should format the /data/ partition. without root privileges, it is not that easy to do though. apparently, you are not very attached to your apps' data, since you said you deleted most of that. if you have backed up everything else, like contacts, calendar and so on to your google account, make a backup of your sms and then the sdcard to your pc through usb and perform a full factory reset, then when you set up your phone, your apps will be downloaded again and should not waste as much space anymore.

My USB storage is 12 GB, and SD card is 32: i am not worried about that. Actually i prefer nothing to be on the 2 GB of system storage, even apps! I just don't understand: what eats up the root partition like that? I don't want it to happen again. I will do what you said, but i need to prevent this from happening again. You know what could have done this?

MagnumJoe said:
My USB storage is 12 GB, and SD card is 32: i am not worried about that. Actually i prefer nothing to be on the 2 GB of system storage, even apps! I just don't understand: what eats up the root partition like that? I don't want it to happen again. I will do what you said, but i need to prevent this from happening again. You know what could have done this?
Click to expand...
Click to collapse
Perusing your past posts, it appears you have an I9100G.
This may be of some interest to you. You will need root in order to even see if this is your problem, though; not to mention in order to implement the workaround presented in that thread.

why in the world would you want the 2gb data partition to be empty. it is on the same physical internal sdcard as the 12gb partition?

Chef_Tony said:
why in the world would you want the 2gb data partition to be empty. it is on the same physical internal sdcard as the 12gb partition?
Click to expand...
Click to collapse
No no! I am not partitioning anything! The phone's settings are this way!? The internal memory is: 2 GB system memory: which has the system files, which are full and i can't access these 2 GB because they are system storage and i am not rooted, and 14 GB called "USB" Storage. I didn't do this partition. And i want to keep these 2 GB free for system only, not even apps or anything.
Edit: sorry i thought the thread was irrelevant, but it is relevant. But i don't understand: that dump file, what does it do? I am not following what thy are saying? Also i have another problem: I don't know how to back up my phone while Kies and my PC both utterly refuse to recognize my phone. I gave up on them. It's useless.

MagnumJoe said:
No no! I am not partitioning anything! The phone's settings are this way!? The internal memory is: 2 GB system memory: which has the system files, which are full and i can't access these 2 GB because they are system storage and i am not rooted, and 14 GB called "USB" Storage. I didn't do this partition. And i want to keep these 2 GB free for system only, not even apps or anything.
Edit: sorry i thought the thread was irrelevant, but it is relevant. But i don't understand: that dump file, what does it do? I am not following what thy are saying? Also i have another problem: I don't know how to back up my phone while Kies and my PC both utterly refuse to recognize my phone. I gave up on them. It's useless.
Click to expand...
Click to collapse
The issues are related. The dump file being generated is saved to the /data partition, which is part of the 2gb system storage. This is what is eating up your space in the 2gb. The 2gb is for system apps, installed apps, etc. The dump file is more or less an error log dump. It is supposed to stay relatively small, but on some versions of GB for the i9100G, this for some strange reason (that I don't know, since I don't have an i9100G) grows erroneously large.
The workaround detailed in the thread I linked above is to remove execute permissions from the dumpstate file. This has the effect of the system being unable to create the wifi dump file, thus no longer eating up the space on that 2gb partition.

ctomgee said:
The issues are related. The dump file being generated is saved to the /data partition, which is part of the 2gb system storage. This is what is eating up your space in the 2gb. The 2gb is for system apps, installed apps, etc. The dump file is more or less an error log dump. It is supposed to stay relatively small, but on some versions of GB for the i9100G, this for some strange reason (that I don't know, since I don't have an i9100G) grows erroneously large.
The workaround detailed in the thread I linked above is to remove execute permissions from the dumpstate file. This has the effect of the system being unable to create the wifi dump file, thus no longer eating up the space on that 2gb partition.
Click to expand...
Click to collapse
Read only, either by adb or terminal. Now what? That G variation should be burned alive! I found the dump files, they are text logs for god's sake! And they are freaking huuuge! What the hell?

MagnumJoe said:
Read only, either by adb or terminal. Now what? That G variation should be burned alive! I found the dump files, they are text logs for god's sake! And they are freaking huuuge! What the hell?
Click to expand...
Click to collapse
From my post above. (post 4)
ctomgee said:
Perusing your past posts, it appears you have an I9100G.
This may be of some interest to you. You will need root in order to even see if this is your problem, though; not to mention in order to implement the workaround presented in that thread.
Click to expand...
Click to collapse
So if you see the file, I can only assume you are rooted? Then delete the file.
Follow directions in the linked thread to prevent further dump files from being created.

ctomgee said:
From my post above. (post 4)
So if you see the file, I can only assume you are rooted? Then delete the file.
Follow directions in the linked thread to prevent further dump files from being created.
Click to expand...
Click to collapse
Ummm... I deleted the dumpstate file, and then when i do the adb trick or the terminal one, it says: Bad mode?

MagnumJoe said:
Ummm... I deleted the dumpstate file, and then when i do the adb trick or the terminal one, it says: Bad mode?
Click to expand...
Click to collapse
It really says "Bad mode"?
I take it you read post 10 of the thread I linked above?
If you are having issues with adb, then use option c from that post. You need to mount /system as R/W before you will be allowed to change permissions on the dumpstate file though.
EDIT: wait a sec. You actually DELETED the /system/bin/dumpstate file? Well, I wouldn't have done that, but that should also solve your problem, since now the file just doesn't exist, so no more dump files will get generated. It also would probably be the reason you can't change permissions on that file. Since you deleted it, it doesn't exist anymore, so you can no longer change permissions on it. ( :facepalm: )
The file(s) I was telling you to delete was whatever wifi dump files were in /data. NOT the /system/bin/dumpstate file. I was saying you just needed to remove execute permission from that file so it would be unable to generate any more dump files.

ctomgee said:
It really says "Bad mode"?
I take it you read post 10 of the thread I linked above?
If you are having issues with adb, then use option c from that post. You need to mount /system as R/W before you will be allowed to change permissions on the dumpstate file though.
EDIT: wait a sec. You actually DELETED the /system/bin/dumpstate file? Well, I wouldn't have done that, but that should also solve your problem, since now the file just doesn't exist, so no more dump files will get generated. It also would probably be the reason you can't change permissions on that file. Since you deleted it, it doesn't exist anymore, so you can no longer change permissions on it. ( :facepalm: )
The file(s) I was telling you to delete was whatever wifi dump files were in /data. NOT the /system/bin/dumpstate file. I was saying you just needed to remove execute permission from that file so it would be unable to generate any more dump files.
Click to expand...
Click to collapse
Oh! I misunderstood you. No of course i tried this adb thing before deleting it. And it said bad mode. Then i deleted it. Isn't this a file to give the command of making these dump files about wifi error? To hell with it! What would i do with that anyway? Nothing wrong will happen. It's like ending the dumprep.exe process on windows xp. And by the way, even when i did the R/W thing, it still said that the file is Read only, and i can't access its permissions. That I9100G is a pain in the freaking a$$: it always needs a "special" kind of everything!
Thank you very much anyway for your help That was too the point and very professional It's sure that you will have my thanks.

MagnumJoe said:
No no! I am not partitioning anything! The phone's settings are this way!? The internal memory is: 2 GB system memory: which has the system files, which are full and i can't access these 2 GB because they are system storage and i am not rooted, and 14 GB called "USB" Storage. I didn't do this partition. And i want to keep these 2 GB free for system only, not even apps or anything.
Edit: sorry i thought the thread was irrelevant, but it is relevant. But i don't understand: that dump file, what does it do? I am not following what thy are saying? Also i have another problem: I don't know how to back up my phone while Kies and my PC both utterly refuse to recognize my phone. I gave up on them. It's useless.
Click to expand...
Click to collapse
the entire storage inside the phone is one 16GB sd card which is built into the phone. there are different partitions on there:
your system is on the 1GB partition /system/, your rom, your system apps and settings are stored there.
then there is a 2GB partition /data/, that is exclusively for user installed apps and their data, from the play store for instance.
there are some other minor partitions and then there is about 12GB of "usb storage", shown as /sdcard/.
if you don't use the /data/ partition for apps, it will remain entirely empty and unused. and in the last sentence of the first paragraph you state you want it for the system, but that does not work, the /system/ partition will always be 1GB and not use /data/.
Another reason I asked and informed you of the fact that it is the same card is, some people think, app2sd is faster, or slower or makes any difference whatsoever to the system, but it is the same card, same speed, only that app2sd wastes space.
i know, this still does not do anything about your problem, but is meant purely for your information, so in the future you can make an informed decision, where what data goes and that you should use the data partition.
i currently have 130 apps installed (some of which are games of >40MB), all internally and use 1GB of the /data/ partition, at the most i had 340 apps (most of them rather small though) and it still was not full.

Related

Recover lost internal storage space

Before turning on usb connect I have about 25MB of internal storage space. Somehow the phone hang when turning on the usb connect and I have to reboot it. After the reboot I lost around 8MB of internal storage space .
I have look through the files using root explorer and did not come across any unusual big files or names.
Is there a program that help to recover the lost space or how can I go about to recover the lost space. I have tried titanium backup dalvik-cache cleaning but failed to recover any space.
Can I delete the log file from the internal storage /data/log directory (see attachment).
curiou5 said:
Before turning on usb connect I have about 25MB of internal storage space. Somehow the phone hang when turning on the usb connect and I have to reboot it. After the reboot I lost around 8MB of internal storage space .
I have look through the files using root explorer and did not come across any unusual big files or names.
Is there a program that help to recover the lost space or how can I go about to recover the lost space. I have tried titanium backup dalvik-cache cleaning but failed to recover any space.
Can I delete the log file from the internal storage /data/log directory (see attachment).
Click to expand...
Click to collapse
Hey!
More info PLEASE!
What ROM you use(stock, custom and is it FROYO or GB)? Dose you phone rooted or nope and so on.
Thanks!
CHEERS!
casiocas said:
Hey!
More info PLEASE!
What ROM you use(stock, custom and is it FROYO or GB)? Dose you phone rooted or nope and so on.
Thanks!
CHEERS!
Click to expand...
Click to collapse
Using stock ROM Froyo and the phone is rooted.
I think the log files in /data/log directory are text files. I have deleted files which are more than 2 MB and I got back 86MB of space. The phone now seems to response better and has not encounter any issue yet. Why are there so many log files in the first place, using up precious space. I am tempted to delete all the log files. Is it a good idea.
curiou5 said:
Using stock ROM Froyo and the phone is rooted.
I think the log files in /data/log directory are text files. I have deleted files which are more than 2 MB and I got back 86MB of space. The phone now seems to response better and has not encounter any issue yet. Why are there so many log files in the first place, using up precious space. I am tempted to delete all the log files. Is it a good idea.
Click to expand...
Click to collapse
Hey!
You can delete log files, BUT SOMETIMES they are useful. Of course if you DONT know how to use log files your self, then you can delete them, but some apps(maybe most of them) great them again(log files, I mean).
And if you want some more space, you can move you APPS to SD, with a2sd or link2sd from MARKET. Of course phone acts better, if it hase more SPACE to manage.
CHEERS!
wow that's curious, my log files aren't bigger than 300k, and have only 5 files. :S
casiocas said:
Hey!
You can delete log files, BUT SOMETIMES they are useful. Of course if you DONT know how to use log files your self, then you can delete them, but some apps(maybe most of them) great them again(log files, I mean).
And if you want some more space, you can move you APPS to SD, with a2sd or link2sd from MARKET. Of course phone acts better, if it hase more SPACE to manage.
CHEERS!
Click to expand...
Click to collapse
Thanks.
Except for those that must be installed to internal ROM, all my apps are installed in SD card. Now I can move all the log files to SD card and delete from the internal ROM.

problem, storage issue?

i have comb, 3.3 1.1.
i go to storage view in settings.
it shows, 13 gigs, 12 available.
in the internal view it shows total 1.8 and 122 mb for media.
i get a notification saying low on space..
i cannot instal any app.
whats up?
new-to-it said:
i have comb, 3.3 1.1.
i go to storage view in settings.
it shows, 13 gigs, 12 available.
in the internal view it shows total 1.8 and 122 mb for media.
i get a notification saying low on space..
i cannot instal any app.
whats up?
Click to expand...
Click to collapse
Out of 16 gigs built in storage, 13 is set aside as regular sdcard storage while 2 gigs is used for "internal data" and 1 gig is not used at all. If you use the NVflash from the teamdrh ICS rom you can re-format it to have 4 gigs internal and 12 for storage.
The easy thing you can do since your are still on honeycomb is to install app2sd and move some of your data files to the "storage part" (13gigs) which will free that space up in your "internal data" (2gigs) or you can go through and uninstall any apps you no longer use.
i have 4 apps right now, the rest are the google stuff apps crap, which i assume cant go anywhere in fear of them not knowing when i fart..
but
without using the app2sd-(i cant fit it right now)-i can go to settings and move apps, but- where it sez move to- it sez move to usb then after moved it sez move to tablet.
redeyedjedi said:
Out of 16 gigs built in storage, 13 is set aside as regular sdcard storage while 2 gigs is used for "internal data" and 1 gig is not used at all.
Click to expand...
Click to collapse
No, no space is wasted like this--certainly not 1G. Use the busybox df instead of the system df. This has confused other users before.
If you use the NVflash from the teamdrh ICS rom you can re-format it to have 4 gigs internal and 12 for storage.
Click to expand...
Click to collapse
This is incorrect. Nvflash works on the NAND chip, not on SD cards. To repartition SD cards, use CWM, or this easy method if you want to keep existing data.
---------- Post added at 12:44 AM ---------- Previous post was at 12:30 AM ----------
new-to-it said:
i have comb, 3.3 1.1.
i go to storage view in settings.
it shows, 13 gigs, 12 available.
in the internal view it shows total 1.8 and 122 mb for media.
i get a notification saying low on space..
i cannot instal any app.
whats up?
Click to expand...
Click to collapse
This has been reported on GtabComb-b3.3 by some other users, but, I was never able to get to the bottom of the problem. Most users will just repartition their SD cards and make the problem away before I can get to troubleshooting the problem.
Get me a logcat, dmesg and other outputs after you've tried to install an app from Market. See this post for the commands to run.
---------- Post added at 12:47 AM ---------- Previous post was at 12:44 AM ----------
new-to-it said:
i can go to settings and move apps, but- where it sez move to- it sez move to usb then after moved it sez move to tablet.
Click to expand...
Click to collapse
That is the correct behaviour. Move to USB moves apps to /sdcard. Move to tablet moves the apps back into /data.
I meant to say you could use CWM to make 4 gigs. Where did that 1gig go?
redeyedjedi said:
I meant to say you could use CWM to make 4 gigs. Where did that 1gig go?
Click to expand...
Click to collapse
The missing 1 gig is the symlink I am working on that is set aside for data/cache and data/dalvic cache. Since the transition to make ROMs larger and our nand being only 512m that was put within either the ROM, CWM, or the boot.img so that everything will run without chopping away at the System to make it lighter, the way I do. If you Flash the nand with the older 1.2 NVflash and the older 1.2 ROMS that 1 gig will return and cache will return to its proper placement within the set stock partitions.
See, what you guys have latched on to is the total size of the /sdcard partition; but, that, is a red herring:
Partition sizes are fixed by CWM when you repartition the SD card--it is not changed in any other way. And, since the size of the internal SD card is fixed, and since all CWMs versions partition the SD card the same way each time, the total sizes of the both partitions cannot change drastically. Therefore, barring filesystem corruption--unlikely here because the only symptom is an inability to install new apps, the 13 GB value being reported has got to be an artifact of rounding, as I mentioned above. Plus, that 1GB is supposedly part of /sdcard, so no space is going to be deducted from /data (where apps usually live) anyway.
redeyedjedi said:
Where did that 1gig go?
Click to expand...
Click to collapse
Nowhere. This is an artifact of the rounding out process. See above.
As usual, I just can't understand what Nobe's trying to say. Going for the most straight-forward reading, however:
nobe1976 said:
The missing 1 gig is the symlink
Click to expand...
Click to collapse
Nope. The maximum size of a symbolic link on all the standard filesystems seen on the gtablet is only 255 bytes--not 1G.
I am working on that is set aside for data/cache and data/dalvic cache. Since the transition to make ROMs larger and our nand being only 512m that was put within either the ROM, CWM, or the boot.img so that everything will run without chopping away at the System to make it lighter, the way I do.
Click to expand...
Click to collapse
Wrong ROM, wrong partition, and, wrong bootloader.
First of all, the user's clearly stated that he has GtabComb-3.3 and a 1.1 bootloader--not any of the ICS/JB ROMs which require a different nvflash package. Second, even if the entire contents of /cache were in /data, it still wouldn't cause any reduction in the size of the /sdcard partition, which is entirely separate. See description above.
If you Flash the nand with the older 1.2 NVflash and the older 1.2 ROMS that 1 gig will return and cache will return to its proper placement within the set stock partitions.
Click to expand...
Click to collapse
Changing the bootloader won't fix the user's problems--except as a side-effect of re-installing the ROM from scratch.
We'll have to wait until the user comes back with the various outputs and do some more tests to really find out the cause of the user's real problem: Why can't he install any apps even with enough space on /data? He also can move apps to and from the SD card just fine, apparently.
I didn't mean for miss information on this OP's problem. The 1 gig issue that redeyedjedi is seeing is in fact within the updated jellybean and ICS ROMs only. I should have made that noted. To my understanding after the busy box command you and I went through later this year is that it does impact the data partition on the updated firmware only. I soon realized that after messing with a certain /etc file that it looks to be a virtual swap placement. Busybox reads now 4 gig of data with a 4096/0 partition set in recovery after replacing that file with he that sets proper cache within /dev partition. The fact that it still shows up on standard df means that the ROM somewhere is still showing something there if I am correct or could be a ghost or something. Correct me if I am wrong please.
Sent from My SmOoThA$$ Gtablet.
nobe1976 said:
The 1 gig issue that redeyedjedi is seeing is in fact within the updated jellybean and ICS ROMs only. I should have made that noted.
Click to expand...
Click to collapse
No.There is no 1G issue. It is just an artifact of how the partition spaces are displayed in the ROMs, and in the system-supplied df command on all Android versions. It is to avoid this sort of confusion that I ask users to use the busybox df command which displays its values (total space, free space, used space) in 1-K blocks.
To my understanding after the busy box command you and I went through later this year is that it does impact the data partition on the updated firmware only. I soon realized that after messing with a certain /etc file that it looks to be a virtual swap placement. Busybox reads now 4 gig of data with a 4096/0 partition set in recovery after replacing that file with he that sets proper cache within /dev partition. The fact that it still shows up on standard df means that the ROM somewhere is still showing something there if I am correct or could be a ghost or something. Correct me if I am wrong please.
Click to expand...
Click to collapse
Gladly--if only I could understand what you were after. Can you make your questions precise, mate?

[Q] /emulated/0 and /emulated/legacy

Alright, so I was kinda flipping between ROMs, Hyperdrive, Bonestock, Beanstown, and even a couple of AOSP ROMs. After all that flashing I realized I had a bunch of crap on my internal memory that I didnt need or want in there, so without even thinking about researching it before doing it I booted into recovery (TWRP) and formatted my internal memory.
Oops.
So, since then I have applied the one click return to stock that odins a stock MDK image. I applied the stock MDK recovery. I booted into the stock recovery and wiped and factory reset everything besides doing the reset and delete everything from the settings menu.
Maybe its just me not paying attention but I am noticing something after starting fresh that I dont remember noticing before.
I have moved pictures from my External Memory card back to my internal memory card and I the files show up in two places, /storage/emulated/0 and /storage/emulated/legacy... My pictures in Gallery are also showing up as in two places, even after restoring back to stock mdk, stock recovery, wiping everything, etc. Is this normal? Is it just something that I missed and didnt pay attention to beforehand? I dont remember the internal memory being like this prior to my attempt to format it in TWRP but hey, what do I know... It doesnt look like the files are being duplicated it looks like its a system thing that shows two different locations that are actually the same lcoation but really, I'm too stupid to know better. Is there a way for gallery not to show the same files twice since it doesnt look like the files are actually duplicated but just maybe some sort of internal link from the folders showing two seperate locations?
If I am wanting to restore files from my ext card that I backed up should they be put in /0 or /legacy or does it even matter?
Any help or advice would be greatly appreciated!
I'm pretty sure they are the same thing. I've noticed something similar on my phone.
/0 folder was created when we went to Android 4.2 (becuase of the ability to have user profiles) So system need a way to install apps on a per user basias.
The /legacy is for olders apps that are still written for Android 4.1.2 and below.
I hope I got that right. lol
Gunthermic said:
/0 folder was created when we went to Android 4.2 (becuase of the ability to have user profiles) So system need a way to install apps on a per user basias.
The /legacy is for olders apps that are still written for Android 4.1.2 and below.
I hope I got that right. lol
Click to expand...
Click to collapse
Not on my HTC One. Those two folders appear to be duplicates of my entire sdcard.
Can I delete the legacy directory without issue?
ccs86 said:
Not on my HTC One. Those two folders appear to be duplicates of my entire sdcard.
Can I delete the legacy directory without issue?
Click to expand...
Click to collapse
They are symbolic links that directory. As a result, they take up next to no space. Deleting them would be inviting trouble for, quite literally, no benefit.
Do not delete either one. I did that on my Galaxy nexus and deleted all my files they are linked together somehow
Sent from my SCH-I545 using Tapatalk
Gunthermic said:
/0 folder was created when we went to Android 4.2 (becuase of the ability to have user profiles) So system need a way to install apps on a per user basias.
The /legacy is for olders apps that are still written for Android 4.1.2 and below.
I hope I got that right. lol
Click to expand...
Click to collapse
This is correct. They are simply symbolic links pointing to the same directory. No worries.
same issue but doubleing the space used on internal memory
So I have the legacy and 0 folders same size same files. The problem is I have this awesome HTC one mini but stupid none expandable memory. I have not put but about five gigs in my phone, but with these two folders showing twice my phone is counting it twice. Basically I ha e no free space on my phone. Only half is actually there. WTF do I do?
skoobbarnes said:
So I have the legacy and 0 folders same size same files. The problem is I have this awesome HTC one mini but stupid none expandable memory. I have not put but about five gigs in my phone, but with these two folders showing twice my phone is counting it twice. Basically I ha e no free space on my phone. Only half is actually there. WTF do I do?
Click to expand...
Click to collapse
No, they're not using the space twice.
/storage/emulated/legacy/ is a pointer to /storage/emulated/0/
Anything in /storage/emulated/legacy also shows up in /storage/emulated/0 but they are the same file.
If you delete something in /0/ it will also be deleted in /legacy/ which means it's gone. Same thing happens if you delete anything from /legacy/.
It's not counting twice, you are. If you try to free space by deleting one of these, you will lose files you need. Look elsewhere for ways to free up space.
Double files for sure.
k1mu said:
No, they're not using the space twice.
/storage/emulated/legacy/ is a pointer to /storage/emulated/0/
Anything in /storage/emulated/legacy also shows up in /storage/emulated/0 but they are the same file.
If you delete something in /0/ it will also be deleted in /legacy/ which means it's gone. Same thing happens if you delete anything from /legacy/.
It's not counting twice, you are. If you try to free space by deleting one of these, you will lose files you need. Look elsewhere for ways to free up space.
Click to expand...
Click to collapse
I used the script SuperWipe_M4_xpirt.zip to completely clean my Phone because after I copied to my pc then deleted all my titanium back up media and DCIM my sdcard only had 1.4gb in on it. On the device all those files still showed under my legacy and /0 folder and I found a third under storage in the device. This is something funky. So after the SuperWipre Script from thread http://forum.xda-developers.com/showthread.php?t=2423576 I then flashed 4.3 sense 5.5 from thread http://forum.xda-developers.com/showthread.php?t=2575766 and now I have 11 gb on my phone. I will pay more attention to my storage when installing and changing things so I can see what, where, and/or how that happened. I have never encountered something like this before, nevertheless, i have never settle for a phone without external storage either. I wont ever do that again. But for a free phone plus a $56 credit to my account, I can't complain too much. Just a little. The One Mini is way better than the crappy lame POS LG Nitro HD .
I deleted /storage because the only thing inside it was "emulated" which appeared to be a random file, as opposed to a folder with a 0 inside of it. Expectedly, it seems, I lost everything. (Even though it was inside /mnt/sdcard/ with all my other files, i.e. /mnt/sdcard/DCIM, /mnt/sdcard/Music, /mnt/sdcard/storage, etc, so I didn't think it could somehow lead back to my files). Am I totally screwed and everything is gone or is there a way to like recreate the links to the files or something? Not sure if this made things worse too, but I've already restarted the phone somehow hoping it would recreate the directory structure or something.
Anyone know how to fix this issue.
Build Number: LMY47X.G928PVPU2AOI6
Model Number: SM-G928P
/storage/emulated/0
/storage/emulated/legacy
They both contain the same files and are linked together. So if I erase something from one it is erased on the other. That's fine I understand they have the same files.
The issue is my phone is counting the space being used twice. Say I have 14 gb's of free space. Then I download a 2 gb file and I go from 14 gb to 10 gb free.
I also noticed that these 2 paths are linked and have the same files /storage/sdcard0 and /sdcard.
Now I've discovered that all 5 of these paths have the same files I have a Galaxy S6 so I only have internal memory.
/storage/emulated/0
/storage/emulated/legacy
/storage/sdcard0
/storage/sdcard
/mnt/sdcard
Please help it's bad enough I only have 25 gb of space to begin with. Having 12.5 is even worse.
Sharpshank said:
Build Number: LMY47X.G928PVPU2AOI6
Model Number: SM-G928P
/storage/emulated/0
/storage/emulated/legacy
They both contain the same files and are linked together. So if I erase something from one it is erased on the other. That's fine I understand they have the same files.
The issue is my phone is counting the space being used twice. Say I have 14 gb's of free space. Then I download a 2 gb file and I go from 14 gb to 10 gb free.
I also noticed that these 2 paths are linked and have the same files /storage/sdcard0 and /sdcard.
Now I've discovered that all 5 of these paths have the same files I have a Galaxy S6 so I only have internal memory.
/storage/emulated/0
/storage/emulated/legacy
/storage/sdcard0
/storage/sdcard
/mnt/sdcard
Please help it's bad enough I only have 25 gb of space to begin with. Having 12.5 is even worse.
Click to expand...
Click to collapse
Dammit this thread screwing with everyone. Every path is like the way to get to a file in your sd card. The two paths are like different sets of directions, but both lead to the same place.
I know they are different paths but why the double space
whowatchlist said:
Dammit this thread screwing with everyone. Every path is like the way to get to a file in your sd card. The two paths are like different sets of directions, but both lead to the same place.
Click to expand...
Click to collapse
I know they are different paths but why are they taking up twice the space? My S4 had the same paths but it didn't count the files twice towards used storage.
/storage/emulated = 7 gb
/storage/emulated/0 = 3.5 gb
/storage/emulated/Legacy =3.5 gb
Shouldn't /storage/emulated = only say 3.5 gb?

Expanding internal memory?

I'm a kind of a guy who wants atleast 250 apps on his phone which he actually had when he was on Kitkat (Link2SD linking did all the magic). After switching on to lollipop, the LP version of Link2SD is totally buggy and hardly works. Linked apps don't work, they force crash or show some other error. Link2SD is out of question and I think it's not getting any fixes because the dev says "v4 is is fully functional with LP" and v4.0.6 is already released but is still super duper buggy and it's working for no one, I'm not alone. I don't understand why does the dev still say it's "fully functional" when linked apps don't even work and neither do the mount scripts.
Anyways, link2sd is out of question now.
My query is, is there no way to "expand" the internal memory? I googled and found out some solutions like swapping internal and external memories (means internal would act as external and vice-versa, so if we have a 32GB card, system will see 32GB as internal and 2.1GB internal memory as external memory).
This appeared to be the best solution to all th problems of low internal memory and this is achieved by editing the /system/etc/vold.fstab file. But that file is not there at all on KK or LP! What the hell?! Why is Google "removing" "features" from the newer versions?!
Is there no way to swap?
nilanko said:
I'm a kind of a guy who wants atleast 250 apps on his phone which he actually had when he was on Kitkat (Link2SD linking did all the magic). After switching on to lollipop, the LP version of Link2SD is totally buggy and hardly works. Linked apps don't work, they force crash or show some other error. Link2SD is out of question and I think it's not getting any fixes because the dev says "v4 is is fully functional with LP" and v4.0.6 is already released but is still super duper buggy and it's working for no one, I'm not alone. I don't understand why does the dev still say it's "fully functional" when linked apps don't even work and neither do the mount scripts.
Anyways, link2sd is out of question now.
My query is, is there no way to "expand" the internal memory? I googled and found out some solutions like swapping internal and external memories (means internal would act as external and vice-versa, so if we have a 32GB card, system will see 32GB as internal and 2.1GB internal memory as external memory).
This appeared to be the best solution to all th problems of low internal memory and this is achieved by editing the /system/etc/vold.fstab file. But that file is not there at all on KK or LP! What the hell?! Why is Google "removing" "features" from the newer versions?!
Is there no way to swap?
Click to expand...
Click to collapse
XinternalSD is the only solution for you dude. I can confirm that it is working. It works flawlessly on lollipop, no issues at all.
I already use that but but apks, dex, lib, cache all go to internal only during installation.
I realised that even if I swap the internal (/mnt/emulated/0) and external (/mnt/media_rw/sdcard1), there still a magical "data" partition formatted in ext4 where everything goes-- dex, apks, libs, caches. So, that internal 2.17GB on Moto E which is free is actually shared by both the /mnt/emulated/0 and /data/ which is something I don't understand.
Can anybody explain how does this work? If I check in ES File explorer, 972MB of internal is shown as used up. When I open it and select all folder and files and see the properties, it shows 3 MB used up. This is so confusing.
Isn't there no way other than LINK2SD which would currently work and allow me to successfully link or directly install stuff to the second ext4 partition or SD card or *any* similar workaround? :'(
Android is so stupid :'( Why such a devastating limitation? :'(
Link2sd really works on lollipop also. After creating mount script for the first time reboot the phone , there will be a link2sd mount warning in the notifications after sometime , double click on it and choose the quick reboot option instead of recreating mount script. After quick reboot from the link2sd all the linked Apps will appear. You have to do this every time your phone boots .
Hit thanks If this helped you !
rkmiks said:
Link2sd really works on lollipop also. After creating mount script for the first time reboot the phone , there will be a link2sd mount warning in the notifications after sometime , double click on it and choose the quick reboot option instead of recreating mount script. After quick reboot from the link2sd all the linked Apps will appear. You have to do this every time your phone boots .
Hit thanks If this helped you !
Click to expand...
Click to collapse
It doesn't always work. Those apps which have lib files don't work after linking. Even if we don't link the lib files, it still doesn't work because the lib files kinda "vanish" and show 0 bytes after linking. And the apps either FC or complain about missing lib files.
nilanko said:
I realised that even if I swap the internal (/mnt/emulated/0) and external (/mnt/media_rw/sdcard1), there still a magical "data" partition formatted in ext4 where everything goes-- dex, apks, libs, caches. So, that internal 2.17GB on Moto E which is free is actually shared by both the /mnt/emulated/0 and /data/ which is something I don't understand.
Android is so stupid :'( Why such a devastating limitation? :'(
Click to expand...
Click to collapse
The internal 4GB is partitioned into /system, /data and internal sd.
/system is fixed and stores your ROM and system apps.
Back in the days /data/ used to be just like system. However now /data and internal sd are say dynamic. They grow as you install / copy stuff. This is much better than having fixed size partitions. This isn't a limitations instead consider it a flexibility.
All user apps are installed to /data by default which you cannot swap.
They don't seem to expand at all, for instance, /system/ which has a fixed size and once space is over, I can't copy anything to it!
nilanko said:
They don't seem to expand at all, for instance, /system/ which has a fixed size and once space is over, I can't copy anything to it!
Click to expand...
Click to collapse
Okay. Once again. /system/ is fixed in size for security reasons. You are not supposed to copy anything to it.
Its /data/ and internal sd that are dynamic.

Low Storage

Hey all, Actually the problem arise after installing custom roms. Now after installing basics apps like whatsapp, Facebook, instagram, and others (8-9 apps) the phone gives me notification of Not enough memory. While My friend with same model (XT1506) have installed 15-19 apps (Lineage OS).
Can anyone help me? :crying:
shaktiman01 said:
Hey all, Actually the problem arise after installing custom roms. Now after installing basics apps like whatsapp, Facebook, instagram, and others (8-9 apps) the phone gives me notification of Not enough memory. While My friend with same model (XT1506) have installed 15-19 apps (Lineage OS).
Can anyone help me? :crying:
Click to expand...
Click to collapse
You should've wiped the internal storage too. Sometimes, what happens is that on flashing a new rom without wiping the internal storage, the contents of internal storage move to some other directory. So, when you'll browse the root of internal storage ( /0 ), you won't find the data there, nor the pics and videos will be shown in gallery or some video player; but the files are still there on internal storage.
So there's two things you can do:-
1) Use any root file manager, like ES explorer, to manually locate the folder. I think its somewhere in the /storage or in the /mnt/user or any other directory. But, its confirmed that it will be in mnt or storage directory only. If found, you can delete the data or copy it back.
OR
2) You can boot into twrp. Make a backup of current rom. Wipe everything including internal storage. And then restore the backup. This is much easier but time consuming, i guess.
sasukay said:
You should've wiped the internal storage too. Sometimes, what happens is that on flashing a new rom without wiping the internal storage, the contents of internal storage move to some other directory. So, when you'll browse the root of internal storage ( /0 ), you won't find the data there, nor the pics and videos will be shown in gallery or some video player; but the files are still there on internal storage.
So there's two things you can do:-
1) Use any root file manager, like ES explorer, to manually locate the folder. I think its somewhere in the /storage or in the /mnt/user or any other directory. But, its confirmed that it will be in mnt or storage directory only. If found, you can delete the data or copy it back.
OR
2) You can boot into twrp. Make a backup of current rom. Wipe everything including internal storage. And then restore the backup. This is much easier but time consuming, i guess.
Click to expand...
Click to collapse
Actually after last flashing (cm12.1), I wiped the internal storage (and sdcard too). But still I can't install a single app after the counting of 9. I tried the same thing I do (flashing without wiping internal) but still he can install 10-15 apps from play store (20+ from side loading). And actually I was fed up with all this
shaktiman01 said:
Actually after last flashing (cm12.1), I wiped the internal storage (and sdcard too). But still I can't install a single app after the counting of 9. I tried the same thing I do (flashing without wiping internal) but still he can install 10-15 apps from play store (20+ from side loading). And actually I was fed up with all this
Click to expand...
Click to collapse
Maybe your size of data partition have changed. I thibk there's an option in twrp to resize the partitions. But, I can't suggest you doing it, since I haven't performed it myself. You can try in your own risk though.
sasukay said:
Maybe your size of data partition have changed. I thibk there's an option in twrp to resize the partitions. But, I can't suggest you doing it, since I haven't performed it myself. You can try in your own risk though.
Click to expand...
Click to collapse
OK I'll try.... And give you feedback
sasukay said:
Maybe your size of data partition have changed. I thibk there's an option in twrp to resize the partitions. But, I can't suggest you doing it, since I haven't performed it myself. You can try in your own risk though.
Click to expand...
Click to collapse
See no "User" folder in \mnt
shaktiman01 said:
See no "User" folder in \mnt
Click to expand...
Click to collapse
I told you, the data has got to be somewhere in the /mnt or /storage directory. It has many sub-directories and you have to check all of them.
And, btw, I have this path /mnt/user/0/ which has some symlink to internal memory.
sasukay said:
I told you, the data has got to be somewhere in the /mnt or /storage directory. It has many sub-directories and you have to check all of them.
And, btw, I have this path /mnt/user/0/ which has some symlink to internal memory.
Click to expand...
Click to collapse
Which file explorer/browser you are using?
shaktiman01 said:
Which file explorer/browser you are using?
Click to expand...
Click to collapse
Its SOLID EXPLORER. Well, I prefer a two year old version of es explorer but that doesn't seem to get root permissions on Nougat, don't know why.
sasukay said:
Its SOLID EXPLORER. Well, I prefer a two year old version of es explorer but that doesn't seem to get root permissions on Nougat, don't know why.
Click to expand...
Click to collapse
I am using that on cm12.1

Categories

Resources