I've been messing around with freeing up space in my system partition (using the gingersense 3.0 Rom).
It appears that no matter how many system apps I delete, the available space (39072k) doesn't change when I check it via a terminal emulator using the df command.
What am I doing wrong?
waldonh said:
I've been messing around with freeing up space in my system partition (using the gingersense 3.0 Rom).
It appears that no matter how many system apps I delete, the available space (39072k) doesn't change when I check it via a terminal emulator using the df command.
What am I doing wrong?
Click to expand...
Click to collapse
First there is no need to delete system apps as you have plenty of free space. Second you have nothing to gain by removing them. Third the ROM may have system apps in data but symlinked to system meaning you likely are just freeing space from data.
Sent from my Galaxy Nexus using Tapatalk 2
Are you s-off? If not, thats probably your issue. As tiny said there is no benefit to removing system apps unless you concider it bloatware, or plan on replacing them with other apps.
Yes,I am s-off. The apps are gone, the size of system just didn't change.
I think tiny was on to something when he talked about system apps being in data, but symlinked to system. When I checked the partition using an app called storage analyser it showed me link in system, with app directory being in data.
Thanks for the thoughts. It's fun to tinker with the Android OS
Sent from my ADR6300 using xda app-developers app
waldonh said:
Yes,I am s-off. The apps are gone, the size of system just didn't change.
I think tiny was on to something when he talked about system apps being in data, but symlinked to system. When I checked the partition using an app called storage analyser it showed me link in system, with app directory being in data.
Thanks for the thoughts. It's fun to tinker with the Android OS
Sent from my ADR6300 using xda app-developers app
Click to expand...
Click to collapse
I know for a fact a lot of sense ROMs on sense 2.1 and greater use that symlink. So I'm still wondering what there is to gain with 40 MB free in system and probably over 100 MB free in data.
Sent from my Galaxy Nexus using Tapatalk 2
Related
Ive had the following issue ever since I got my desire, but only now starts to irritate me.
Whats happening is that internal memory disappers randomly. For instance, when I have 30mb free space and I install an app of 4mb, Im left with 26mb of course. The weird thing, however, is that when I uninstall the 4mb app, I do not get back up to 30mb of free space but rather something like 28. Where has the remaining 2mb of memory gone to?
Additionally, when I start the day with e.g. 30mb free space, it can spontaneously jump down a couple of mb's at the end of the day (one minute I have 30mb, the next I have 27mb). Mind you, this is without touching the market and installing/uninstalling apps.
It only started bothering me today, because I had uninstalled quite alot of apps last week to have 30mb of free space, but only have 22mb of free internal memory at the moment of typing.
If anyone could help me out or could shed some light on this issue, I would be very grateful.
Sent from my HTC Desire using XDA App
I use app2sd program to clear all cache btw.
Sent from my HTC Desire using XDA App
I think this has to do with the dalvik cache. But I am not sure. Overall, I would say: When you do not have any problem with installing/uninstalling apps or other things, do not bother about it.
Ok, thank you. If I did want to delete it, I would probably need root?
Sent from my HTC Desire using XDA App
What do you want to delete?
Sent from Oxygen
Most applications have 3 parts that occupy storage space: Code (.apk), Data (user settings and preferences) and Cache(some images etc downloaded during previous sessions).
When you uninstall app, the data and cache are removed immediately. But for some apps, the .apk file is retained. It is sometimes removed after rebooting phone, sometimes immediately, otherwise not removed at all.
Use a file explorer like ES File explorer to check if you find the .apk file somewhere. To search quickly, connect phone to computer in mass storage mode, and search the mounted usb drive using usual windows\linux file search.
Best Regards
Root and use apps2sd you will never run out
Simples
MatDrOiD said:
What do you want to delete?
Sent from Oxygen
Click to expand...
Click to collapse
The dalvik cache, which you mentioned.
Sent from my HTC Desire using XDA App
smhtc said:
Most applications have 3 parts that occupy storage space: Code (.apk), Data (user settings and preferences) and Cache(some images etc downloaded during previous sessions).
When you uninstall app, the data and cache are removed immediately. But for some apps, the .apk file is retained. It is sometimes removed after rebooting phone, sometimes immediately, otherwise not removed at all.
Use a file explorer like ES File explorer to check if you find the .apk file somewhere. To search quickly, connect phone to computer in mass storage mode, and search the mounted usb drive using usual windows\linux file search.
Best Regards
Click to expand...
Click to collapse
Thanks, I will try this, although wouldnt this just delete stuff from my SD card and not from my internal memory?
Sent from my HTC Desire using XDA App
I have a htc desire stock orange uk, S-OFF, rooted.
download Link2sd (you have to be rooted)
With link2sd all I did was use Ubuntu and gparted to partition my 8gb sd card the 2nd partition set at 1024mb and the rest all together and both FAT32, as on the market app info it says ext2, ext3 etc etc can only be used with a custom rom.
hope this helps
This has been a life saver went from 17MB free to Nearly 60MB!!!!!
Also if you suddenly wondering why your memory disappears, try changing the amount of days email you have on your phone in each email account setting. Have mine set at one day. If you really need to get an older email you can just change it whenever and send and receive.
I've rooted my phone about a week ago and have been fiddling around with all the different things i can do with the phone, but my main reason for doing it was to help with the crap internal storage it has. So i got Link2SD setup and partitioned my SD card with a second ex2 partition, and for a while it will work well, i will have around 70-80mb listed as free on my internal but that won't really change much even when adding and linking new files with l2sd, but lately i've been running into a problem where it will drop down to 10-20 mb and just stay there. I've already tried formatting and doing a clean install which will fix it for a day or so, but it keeps dropping low and staying there even when i delete things to clean up space. I've clean installed 4 times already with the same effect, and now it's getting annoying since i started fresh yesterday and had the issue come up almost instantly, wiped again and now i'm already back at the same spot.. is there some folder that is filling up that i'm unaware of? I'm just very confused about this issue now hah, any help would be greatly appreciated
Link2sd doesn't prevent your phone from thinking that internal storage is full, I think.
I'd recommend trying s2e instead.
-----------
"You can overclock as much as you want, your phone will always seem too slow."
hmm, s2e won't run on stock rom will it? i think i've read that it will only run on cm7/9
Hmm. When I was new to link 2 sd I had same problem. Don't worry I got a fix. ^_^
1.Uninstall stupid system apps you don't use. We need to make space in system partition.
2. Download titanium backup and when u open it. Go to options select integrate davlic cache into rom. It'll take few minutes, when it's complete reboot.
3. Make sure all files are linked.
4. Clear cache occasionally.
5. If you still are low on space you may use this command as the last option.
Warning: you may have to reboot phone after installing a new app to run it for first time.
Go to terminal
Type 'su'
Accept superuser request.
Type 'a2sd cachesd'
Phone will reboot and may take some time to start.
6. That should be it. I'm running cm9 with link 2 sd and I have more than 100 apps still I got 75 mb free.
Sent from my Wildfire S A510e using xda app-developers app
When you flash a new rom, make sure first thing you do is installation of Link2SD.
Tick auto link on it, and then install whatever you want.
It's how I solved that problem.
Now I have 107 apps installed with Link2SD, and around ~40mb of free internal space.
Sent from my HTC Wildfire S A510e using xda premium
Try deleting files in /data/tombstones (if there is any), using a file explorer.
Many apps will save their data in your internal memory, even if they're linked to your SD. There are some programs (like S2E) that can move all your data to your SD but you may loose performance if you don't have a fast SD. One alternative is using Titanium Backup to move to SD data of individual apps, this way you can keep in your internal memory the data you want to access quickly (ie your contacts) and you move to SD all the other data. The process is reversible and if you think it slows down too much a specifc app you can move back its data to internal memory.
To do dat you have to go to "Copy/Restore" in Titanium Backup, long-press one app and scroll down until you find the option "Move app data to SD".
This way I've been able to save about 60 MB of additional internal memory and I haven't noticed any change in performance.
An additional advantage is that this Titanium Backup feature is available in the free version; the Dalvik cache integration proposed in a previous post is locked if you don't have PRO version.
Linking /data/data app files for free?
Ferri64 said:
To do dat you have to go to "Copy/Restore" in Titanium Backup, long-press one app and scroll down until you find the option "Move app data to SD".
Click to expand...
Click to collapse
Hi,
Can anyone confirm if this is still true. I've just installed Titanium Backup Free v5.5.2 and in the "Backup/Restore" screen I follow the instructions above and see a 'Move to SD card' option, but no 'Move app data to SD' option. Choosing the 'Move to SD card' option does not move the app data. Is it still available in the free app?
I'm very happy with link2sd with my stock rom HTC Wildfire S except that it doesn't offer me the ability to selectively link /data/data application files. Perhaps there's another linking app that does a more complete job? I've seen this thread mention simple2ext but that seems to require Cyanogenmod.
Cheers,
Mark
marky1124 said:
Hi,
Can anyone confirm if this is still true. I've just installed Titanium Backup Free v5.5.2 and in the "Backup/Restore" screen I follow the instructions above and see a 'Move to SD card' option, but no 'Move app data to SD' option.
Click to expand...
Click to collapse
I can provide an answer to my own question here. It turns out that the 'Move app data to sd card' option only appears if Titanium Backup sees a valid mount point, as per this documentation: http://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-technical-faq.html#requirements-for-using-move-app-data-to-sd
If you have a phone like mine (Wildfire S, stock rom v2.3.5) then you don't have one of the TB supported mount points so you have to create it yourself using Terminal Emulator and Busybox
e.g.
Code:
$ su
# ln -s /data/sdext2 /data/sd
# mkdir /data/sdext2/app
Also I've now discovered that for the functionality to work properly the second partition must be a unix filesystem type like ext2, ext3 or ext4, but not vfat (FAT32) since that doesn't allow TB to create symbolic links.
There's more discussion of this and gory details on this thread
Cheers,
Mark
Help
sukhjit321 said:
Hmm. When I was new to link 2 sd I had same problem. Don't worry I got a fix. ^_^
5. If you still are low on space you may use this command as the last option.
Warning: you may have to reboot phone after installing a new app to run it for first time.
Go to terminal
Type 'su'
Accept superuser request.
Type 'a2sd cachesd'
Phone will reboot and may take some time to start.
Click to expand...
Click to collapse
Brother u are a life saver, I just followed your syntax and it worked like charm. I am now having 98 mb of internal memory from 38mb.
But have Couple of question for u....
1. Can u tell me if I have to run this command again and again after installing new apps or will it work on its own if once executed?
2. I have link2sd installed before this command and have linked all the files to 2nd partion of my sd card.
Is it safe to uninstall link2sd app now?
Rahul2929 said:
Brother u are a life saver, I just followed your syntax and it worked like charm. I am now having 98 mb of internal memory from 38mb.
But have Couple of question for u....
1. Can u tell me if I have to run this command again and again after installing new apps or will it work on its own if once executed?
2. I have link2sd installed before this command and have linked all the files to 2nd partion of my sd card.
Is it safe to uninstall link2sd app now?
Click to expand...
Click to collapse
1. You only need this command again when the memory runs way too low. Don't try it again coz it reduces performance too.
2. I guess you can/ I've never tried it tough.
I ran into problem with your command...it force closes some of my apps which I noticed later ....
Sent from my HTC Wildfire S A510e using xda premium
I had the same problem a while ago that i had to reflash the rom because apps were force closing all the time
The reason this happened was because i downloaded several apps at the same time, so Link2SD didnt had enough time to link all files
and the internal memory became full and went crazy
the only solution for me was deleting all apps and reinstalling them
so my recommendation would be not to download more than 1 app at the same time, wait for Link2SD to link files, and then download the next one
Actually I did that I did a factory reset and then ran the command..bt after that my internal apps was also force closing like playstore,etc
Sent from my HTC Wildfire S A510e using xda premium
I think Link2sd and DTa2sd can't run at the same time. You'll be get FC everytime install new apps.
Sent from MARVEL JellyScream
stupid but effective method
ocnDaNN said:
I've rooted my phone about a week ago and have been fiddling around with all the different things i can do with the phone, but my main reason for doing it was to help with the crap internal storage it has. So i got Link2SD setup and partitioned my SD card with a second ex2 partition, and for a while it will work well, i will have around 70-80mb listed as free on my internal but that won't really change much even when adding and linking new files with l2sd, but lately i've been running into a problem where it will drop down to 10-20 mb and just stay there. I've already tried formatting and doing a clean install which will fix it for a day or so, but it keeps dropping low and staying there even when i delete things to clean up space. I've clean installed 4 times already with the same effect, and now it's getting annoying since i started fresh yesterday and had the issue come up almost instantly, wiped again and now i'm already back at the same spot.. is there some folder that is filling up that i'm unaware of? I'm just very confused about this issue now hah, any help would be greatly appreciated
Click to expand...
Click to collapse
i have the same problem and the solution (2 steps) is a bit stupid but here it is:
1 - go into (manage applications) in settings and wait till it calculate the storage of every app (under every app's name), where you will find that the memore increased usually from 12 mb to abou 20 mb.
2 - you have to go into link2sd app and do one of these 3 things:
1. link library files
2. link dalvic cache files
3. clear cache (not clear dalvic cache)
one of these options or more will do the track. now check storage and you will find more 30 or 40 mb
if anyone know a good application that links data too, i'l be very thankful
I am using link2sd with ext3 partition created through cwm recovery after re booting some apps disappear and i have to install them again
Any fix?
Sent from my HTC Wildfire S A510e using xda app-developers app
Hello, I am currently running CyanogenMod10.1 on a Samsung Galaxy S3. I have tried many apps but they all don't work. What do I do? I cannot click "Move to SD card" on "Apps" because there is not button. Please help, I am running out of space.
TimeAndroid said:
Hello, I am currently running CyanogenMod10.1 on a Samsung Galaxy S3. I have tried many apps but they all don't work. What do I do? I cannot click "Move to SD card" on "Apps" because there is not button. Please help, I am running out of space.
Click to expand...
Click to collapse
You can't with this phone. Move all your files to your sd you might gain a lot of space if there are large files in your internal storage. and/ or get sdmaid. can clean alot of worthless **** on your phone lol. caches, can optimize your databases. ETC.
amzi said:
You can't with this phone. Move all your files to your sd you might gain a lot of space if there are large files in your internal storage. and/ or get sdmaid. can clean alot of worthless **** on your phone lol. caches, can optimize your databases. ETC.
Click to expand...
Click to collapse
I don't have much pictures and I have no media so this SD card is a waste...Is there any "hacks" I can type into terminal emulator to move apps?
TimeAndroid said:
I don't have much pictures and I have no media so this SD card is a waste...Is there any "hacks" I can type into terminal emulator to move apps?
Click to expand...
Click to collapse
Unfortunately it is completely impossible. It appears that Google has revoked access permission that use to allow 3rd party apps to write to the external SD card. You can see this link here for more information: http://www.chainfire.eu/articles/113/Is_Google_blocking_apps_writing_to_SD_cards_/
Generally you would want apps installed on the internal memory due to higher read write speeds. This would allow apps to run smoother and faster. Even if it were possible to move apps to the external card, I wouldn't advise it for certain kinds of apps, like games, this would only hinder the performance.
RPelham said:
Unfortunately it is completely impossible. It appears that Google has revoked access permission that use to allow 3rd party apps to write to the external SD card. You can see this link here for more information: http://www.chainfire.eu/articles/113/Is_Google_blocking_apps_writing_to_SD_cards_/
Generally you would want apps installed on the internal memory due to higher read write speeds. This would allow apps to run smoother and faster. Even if it were possible to move apps to the external card, I wouldn't advise it for certain kinds of apps, like games, this would only hinder the performance.
Click to expand...
Click to collapse
Any way to increase internal space? I am really close to running out of room.
TimeAndroid said:
Any way to increase internal space? I am really close to running out of room.
Click to expand...
Click to collapse
Unfortunately not, other than buying a device with more internal memory. With no pictures or media (according to your prior post) you must have a ton of high graphics intensive games...
Sent from my SGH-I747 using xda app-developers app
RPelham said:
Unfortunately not, other than buying a device with more internal memory. With no pictures or media (according to your prior post) you must have a ton of high graphics intensive games...
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Nope. My phone says I only have 10 GB in total. For some reason I am using 5 GB. Only 1 of my apps need extra files, other than that my apps are simple.
TimeAndroid said:
Nope. My phone says I only have 10 GB in total. For some reason I am using 5 GB. Only 1 of my apps need extra files, other than that my apps are simple.
Click to expand...
Click to collapse
something is definitely eating your storage space then.. I have the 16gb variant and have 47 downloaded apps from the play store and am only using 1gb of data.
Go to Settings > Storage and see what's eating most if your space.
Sent from my SGH-I747 using xda app-developers app
RPelham said:
something is definitely eating your storage space then.. I have the 16gb variant and have 47 downloaded apps from the play store and am only using 1gb of data.
Go to Settings > Storage and see what's eating most if your space.
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Available: 5.90GB
Apps: 1.62GB
Pictures, videos: 96KB
Audio: 648 KB
Downloads: 12 KB
Cached data: 142 MB
Misc: 2.77 GB
Clockworkmod: 2.56 GB <--Wth?
cmupdater: 163 MB
At appears clockworkmod is using the most. Why is that? How do I fix that?
TimeAndroid said:
Available: 5.90GB
Apps: 1.62GB
Pictures, videos: 96KB
Audio: 648 KB
Downloads: 12 KB
Cached data: 142 MB
Misc: 2.77 GB
Clockworkmod: 2.56 GB <--Wth?
cmupdater: 163 MB
At appears clockworkmod is using the most. Why is that? How do I fix that?
Click to expand...
Click to collapse
Would TWRP be a good alternative?
TimeAndroid said:
Available: 5.90GB
Apps: 1.62GB
Pictures, videos: 96KB
Audio: 648 KB
Downloads: 12 KB
Cached data: 142 MB
Misc: 2.77 GB
Clockworkmod: 2.56 GB <--Wth?
cmupdater: 163 MB
At appears clockworkmod is using the most. Why is that? How do I fix that?
Click to expand...
Click to collapse
Cwm contains the nandroids you've made. If you have several in there, that's what you're seeing
xBeerdroiDx said:
Cwm contains the nandroids you've made. If you have several in there, that's what you're seeing
Click to expand...
Click to collapse
I've just deleted all of them (one backup). It still uses 2.56 GB. Something is wrong, yes?
TimeAndroid said:
I've just deleted all of them (one backup). It still uses 2.56 GB. Something is wrong, yes?
Click to expand...
Click to collapse
Have you researched/seem anything about this in the cm10.x thread? Have you tried reflashing the rom? Did you have this experience in a previous rom?
If you can't locate a fix in the thread, I would make a nandroid, do a full wipe and flash the rom again (or try a different rom)
xBeerdroiDx said:
Have you researched/seem anything about this in the cm10.x thread? Have you tried reflashing the rom? Did you have this experience in a previous rom?
If you can't locate a fix in the thread, I would make a nandroid, do a full wipe and flash the rom again (or try a different rom)
Click to expand...
Click to collapse
I have never really noticed my space was being taken up a lot by clockwork recovery. And isn't this just a problem with clockwork recovery?
TimeAndroid said:
I have never really noticed my space was being taken up a lot by clockwork recovery. And isn't this just a problem with clockwork recovery?
Click to expand...
Click to collapse
I suggested a full wipe and re flash because it seems that your internal memory is either not reading correctly or something is taking up space in the background. Have you tried anything I asked in the previous post?
xBeerdroiDx said:
I suggested a full wipe and re flash because it seems that your internal memory is either not reading correctly or something is taking up space in the background. Have you tried anything I asked in the previous post?
Click to expand...
Click to collapse
Not too long ago, I re-flashed my ROM. Sorry, Its just that I don't want to lose my data.
TimeAndroid said:
Would TWRP be a good alternative?
Click to expand...
Click to collapse
Personally, I prefer TWRP and use it over CWM. I have one backup and it is taking up 991.00 MB I generally only keep one backup at a time.
Keep in mind your experience may vary as we have different apps and data.
How many backups do you have in CWM?
P.S. If you do decide to try TWRP, please note that TWRP cannot restore CWM nandroids.
Sent from my SGH-I747 using xda app-developers app
RPelham said:
Personally, I prefer TWRP and use it over CWM. I have one backup and it is taking up 991.00 MB I generally only keep one backup at a time.
Keep in mind your experience may vary as we have different apps and data.
How many backups do you have in CWM?
P.S. If you do decide to try TWRP, please note that TWRP cannot restore CWM nandroids.
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
I have 0 backups. To install TWRP, I just install the zip via CWM, right?
TimeAndroid said:
I have 0 backups. To install TWRP, I just install the zip via CWM, right?
Click to expand...
Click to collapse
The easiest and fastest way is to install GooManager from the play store. Once done, grant it SU, press menu and select "install open recovery script" and your done. takes maybe 30 seconds depending on DL speed. Wait for the toast message stating its been installed. Once you reboot to recovery you will have TWRP. Delete your CWM folders to clear up the space afterwards.
I've never flashed a recovery via another recovery so I don't know how or if that's possible. I either dd in terminal, Odin or use GooManager.
On a side note I found this, which may be useful to you. The trade up is you would need to be on Touchwiz with a kernel that has init.d support. Take a look: http://forum.xda-developers.com/showthread.php?t=1849861
There would also be a decrease in performance since SD cards can't read/write as fast as internal memory can. also, unless you have a 32gb or 64gb card then the mod is useless.
Sent from my SGH-I747 using xda app-developers app
RPelham said:
The easiest and fastest way is to install GooManager from the play store. Once done, grant it SU, press menu and select "install open recovery script" and your done. takes maybe 30 seconds depending on DL speed. Wait for the toast message stating its been installed. Once you reboot to recovery you will have TWRP. Delete your CWM folders to clear up the space afterwards.
I've never flashed a recovery via another recovery so I don't know how or if that's possible. I either dd in terminal, Odin or use GooManager.
On a side note I found this, which may be useful to you. The trade up is you would need to be on Touchwiz with a kernel that has init.d support. Take a look: http://forum.xda-developers.com/showthread.php?t=1849861
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
How do you update TWRP?
Hi, I am using a Nexus 7 with Beta 3 and i cannot seem to get Google Apps to install. I get the message insufficient space in the system partition. I have tried deleting apps but it doesn't seem to make any difference. What else should i delete to make it work? Ive also tried the mini Google apps but it still isn't enough space apparently. My device has 8.5gb free however.
perrin21 said:
Hi, I am using a Nexus 7 with Beta 3 and i cannot seem to get Google Apps to install. I get the message insufficient space in the system partition. I have tried deleting apps but it doesn't seem to make any difference. What else should i delete to make it work? Ive also tried the mini Google apps but it still isn't enough space apparently. My device has 8.5gb free however.
Click to expand...
Click to collapse
Try posting in the GApps thread, you should get a faster response
perrin21 said:
Hi, I am using a Nexus 7 with Beta 3 and i cannot seem to get Google Apps to install. I get the message insufficient space in the system partition. I have tried deleting apps but it doesn't seem to make any difference. What else should i delete to make it work? Ive also tried the mini Google apps but it still isn't enough space apparently. My device has 8.5gb free however.
Click to expand...
Click to collapse
The system PARTITION (key word) is a part of the hard disk set aside for just the system files that 8.5G is the USERDATA partition
Sent from my Nexus 5 using XDA Premium 4 mobile app
This is driving me crazy. I keep have storage space issue when trying to install certain apps. Currently I am trying to install Mapfactor. I had it installed previously and just removed it. Now it says I do not have enough space to install it. Storage says I have ~650 mb free. Why can I not install a 9mb app? I have cleared my cache and dalvik and still I get insufficient storage space. I've attached a screenshot of my storage settings.
Sent from my SPH-D710 using Tapatalk
I was just able to install a different app that was 40mb. But, I still can not install the Mapfactor app again. WTF!?
Sent from my SPH-D710 using Tapatalk
So I dug deep and found a Mapfactor file still in /data/app-lib/. Once I deleted that file I was able to reinstall the app.
Sent from my SPH-D710 using Tapatalk
I have been having similar issues trying to install apps . I think my data is corrupted with the EMMC BUG
Sent from my SPH-D710 using xda app-developers app
Since my discovery above, I check the /data/app-lib folder if I have any issues installing apps. I had this happen on a couple other apps and each time they had data in that folder. Once I removed that data, the app installs perfectly.