Related
Hi,
on Gingerbread/CM7, is there a way to put more apps to the /system partition? I am always low on space for apps, even though i have moved almost all my apps to sd using the A2SD function. Currently, only market and rommanager are on /system, i would like to move some more gapps to /system if possiblr.
PS. DT apps2sd is no option for me since it keeps on crashing my nexus one.
Thanks!
Use Root Explorer from the market and move the .APK's to /system/app. Other alternative is to use the premium version of Titanium Backup and use the option to "integrate update into ROM."
Beedee2 said:
Hi,
on Gingerbread/CM7, is there a way to put more apps to the /system partition? I am always low on space for apps, even though i have moved almost all my apps to sd using the A2SD function. Currently, only market and rommanager are on /system, i would like to move some more gapps to /system if possiblr.
PS. DT apps2sd is no option for me since it keeps on crashing my nexus one.
Thanks!
Click to expand...
Click to collapse
i just finally switched to yesterday's CM7 nightly, and with moving all my apps to the SD card with just the standard (but improved via gingerbread) a2sd method, i now have 130MB free space with 81 apps installed. i wonder if the new release puts some things on system partition automatically that i dont know about.
RogerPodacter said:
i just finally switched to yesterday's CM7 nightly, and with moving all my apps to the SD card with just the standard (but improved via gingerbread) a2sd method, i now have 130MB free space with 81 apps installed. i wonder if the new release puts some things on system partition automatically that i dont know about.
Click to expand...
Click to collapse
Thanks, I think the 130MB is your free space on the sd-card? Isn't 130MB about the total space available for apps?
Rod3 said:
Use Root Explorer from the market and move the .APK's to /system/app. Other alternative is to use the premium version of Titanium Backup and use the option to "integrate update into ROM."
Click to expand...
Click to collapse
Thanks, Root explorer does the trick! Isn't Titanium's "integrate update into ROM" only available for apps that are already in the system dir?
Beedee2 said:
Thanks, Root explorer does the trick! Isn't Titanium's "integrate update into ROM" only available for apps that are already in the system dir?
Click to expand...
Click to collapse
Sorry, yes. But this a handy feature because even though you may have a app stored within \system\app, if you install a market update, the update will go to \data\app. You would then need to manually move the update to \system\app and replace the old .apk file. If you don't, then the app is stored in 2 places and is an inefficient use of memory.
Beedee2 said:
Thanks, I think the 130MB is your free space on the sd-card? Isn't 130MB about the total space available for apps?
Click to expand...
Click to collapse
No that is my internal free space. I just moved all apps to the card with the standard froyo method.
Rod3 said:
Use Root Explorer from the market and move the .APK's to /system/app. Other alternative is to use the premium version of Titanium Backup and use the option to "integrate update into ROM."
Click to expand...
Click to collapse
So I can just manually move apps with root explorer to free up space? I'll give it a shot.
Sorry I have 110 free, not 130. I just checked.
Dumb question, once I move the app It no longer opens cause it has moved. How exactly do I handle this? I tried the market, vending, for example.
Never mind, change permissions then reboot solved it. BTW strangely before you reboot the free space actually goes in the opposite direction showing less free space after the move, till a reboot.
Glad it worked for you Roger. Personally, I have never had to change the permissions, but just needed to make sure I renamed the update exactly the same as was in system, reboot and enjoy.
Seems to be working well. I'm still confused how I have so much free space. It says 114mb free right now with 81 apps installed. Granted they are just regular sized apps, nothing huge.
I searched the forums for quite a while but couldn't find an answer to this question, so here I go:
Is it possible to use the space freed up by deleting system apps (like Motonav) for installing own Apps (e.g. memory hogs like Swype or the Flash Player)?
Not 100% sure but I just downloaded titanium backup from the market backed up those unwanted apps then uninstalled. That should free up space for what you want be careful what you uninstall though.
Sent from my SGH-T959V using XDA App
Eiertschik said:
I searched the forums for quite a while but couldn't find an answer to this question, so here I go:
Is it possible to use the space freed up by deleting system apps (like Motonav) for installing own Apps (e.g. memory hogs like Swype or the Flash Player)?
Click to expand...
Click to collapse
THe partition where those system apps are installed is not the same partition where apps you download are installed, so, if you free some space there, it won't affect free space at all.
But, you can move applications from /data/app to /system/app (if you mount /system/app as read/write), just move them and reboot the phone, but, before moving, please make sure that there is enough free space on /system by typing on adb shell or a terminal emulator:
df /system
If there is enough space, just go ahead, move the apk to /system and save some space in /data, BUT, and there is always a BUT... Any updates to that application will occupy space in /data again, so, everytime the APP is updated, you should delete the old APK in /system, move the new apk from /data to /system and reboot.
I'm pretty sure that Titanium Backup has this kind of functionality built in, not sure if it is pro only or if it works in the free version, but, since it did not work well the first time I've tried, I just do it manually.
P.s.: It is highly recommended that, before moving thing in or out the /system folder, you do a full NANDROID BACKUP, so you can just revert back to working condition if something go wrong (i.e.: if you delete something essential, perhaps you won't be able to load Titanium Backup and restore that back).
Sure, I added a lot of apps in system/app partition
For example I added GoSMS and GoLauncher, deleting mms and adwlauncher.
I made it because they are the most-used apps so it's better running them from internal memory rather than ext2 partition, plus I can boot the phone without SD.
The only problem, as HinotoriBR said, is that when you update an app you should move it from data/app to system/app, delete the old app version (newly installed will have a different name) and reboot.
yosif yackson said:
Not 100% sure but I just downloaded titanium backup from the market backed up those unwanted apps then uninstalled. That should free up space for what you want be careful what you uninstall though.
Click to expand...
Click to collapse
You're right, that DOES free up space on /system partition, but it's not enough to use the free space for other apps
HinotoriBR said:
THe partition where those system apps are installed is not the same partition where apps you download are installed, so, if you free some space there, it won't affect free space at all.
But, you can move applications from /data/app to /system/app (if you mount /system/app as read/write), just move them and reboot the phone, but, before moving, please make sure that there is enough free space on /system by typing on adb shell or a terminal emulator:
df /system
If there is enough space, just go ahead, move the apk to /system and save some space in /data, BUT, and there is always a BUT... Any updates to that application will occupy space in /data again, so, everytime the APP is updated, you should delete the old APK in /system, move the new apk from /data to /system and reboot.
[...]
Click to expand...
Click to collapse
I installed Swype and moved com.swype.android.inputmethod-1.apk to /system/app using Root Explorer and it still worked without rebooting the phone.
Maybe because input methods are always active in the background so it didn't notice the moving?
I restarted anyway (because otherwise it doesn't update the free memory information in Settings) and et voila: more than 10MB extra space.
Now Swype is still listed in the "All Apps" tab of app management but with a mere 2MB.
I guess that's user settings, dalvik cache and other stuff - so I better not move it...
One last question:
How much free space should remain on /system partition?
Is it also used to cache stuff or can I fill it all the way to the top?
downloadman said:
Sure, I added a lot of apps in system/app partition
For example I added GoSMS and GoLauncher, deleting mms and adwlauncher.
I made it because they are the most-used apps so it's better running them from internal memory rather than ext2 partition, plus I can boot the phone without SD.
[...]
Click to expand...
Click to collapse
Since I'm not using an ext2 partition on my SD card it should make no difference if an app is in /system or /data when it comes to performance, shouldn't it?
THANKS TO EVERYONE
Eiertschik said:
Since I'm not using an ext2 partition on my SD card it should make no difference if an app is in /system or /data when it comes to performance, shouldn't it?
Click to expand...
Click to collapse
I suppose you're right. Or maybe SD speed is faster than internal memory, who knows... but surely reading internal memory uses less battery power than reading microsd.
An ext2 partition is really useful if you install a lot of apps.
As my SD card is only Class2 (was bundled with the phone) I doubt it would be faster than internal memory.
Up to now I was able to install all the apps I really needed without an ext2 partition - so I think the /system-trick will give me more space than I really need
But thanks anyway - I'll get back to it when I'm keen enough to use custom roms and ext partitions
Eiertschik said:
One last question:
How much free space should remain on /system partition?
Is it also used to cache stuff or can I fill it all the way to the top?
Click to expand...
Click to collapse
Since partition is mounted as read only usually, it means that partition is not used to cache or store any app data. All data and cache of /system applications goes to /data (which, as you observed, still has some space being used by the moved application). So, you should be able to fill /system (or get close to fill it) and have no issues.
If you don't use any modded rom, you can use Androidiani Open Recovery and use some space that is left for OTA transfers to store cache data (there is a specific partition with 100+ MB of free space used just for that, to store a firmware upgrade received OTA), it is known as "Memhack" and free up more space. As far as I know, many mods as CM7 already have this "Memhack" built-in.
HinotoriBR said:
Since partition is mounted as read only usually, it means that partition is not used to cache or store any app data.[...]
Click to expand...
Click to collapse
Maybe that was too obvious for me to figure out
HinotoriBR said:
[...]
If you don't use any modded rom, you can use Androidiani Open Recovery and use some space that is left for OTA transfers to store cache data (there is a specific partition with 100+ MB of free space used just for that, to store a firmware upgrade received OTA), it is known as "Memhack" and free up more space. As far as I know, many mods as CM7 already have this "Memhack" built-in.
Click to expand...
Click to collapse
I already use AOR to root my 2.2.1 stock ROM.
This memhack sounds very interesting... might consider it because I don't really expect any further Milestone update from Motorola.
Sounds more reliable than an ext2 partition on SD card - since I don't really trust my card...
If I do this Memhack and for whatever reason Moto will release an update - will I still be able to do it using a PC?
Eiertschik said:
Maybe that was too obvious for me to figure out
I already use AOR to root my 2.2.1 stock ROM.
This memhack sounds very interesting... might consider it because I don't really expect any further Milestone update from Motorola.
Sounds more reliable than an ext2 partition on SD card - since I don't really trust my card...
If I do this Memhack and for whatever reason Moto will release an update - will I still be able to do it using a PC?
Click to expand...
Click to collapse
The memhack will move the cache from the /data partition to that specific partition for OTA upgrades. So, as your cache grows larger, your /data (free internal memory) will not decrease. This saves internal memory space that would otherwise be used for cache (not sure if application data is moved there too).
As soon as you start hacking the stock rom, it is not recommended to try to update directly the phone, if Motorola ever releases a newer version, recommended steps:
- Titanium Backup all your Apps/Data
- Flash a stock SBF (2.0/2.1/2.2, doesn't matter) in your phone, wipe all data/cache
- Use Motorola Software Update to upgrade the software to the new revision
- Afterwards, as soon as update is done and phone boots, you can flash vulnerable recovery and then through Open Recovery or Androidiani Open Recovery hack the hell out of your phone again (ie.: root, memhack, overclock, etc)
- As soon as you get root, use Titanium Backup to restore your Apps/Data
Or, you could always wait for someone to release a Nandroid Backup of the new rom, as is usual in the Android Development section, and simply use that Nandroid Backup (alway Titanium Backup your apps/data b4), wipe everything after update, and then use Titanium Backup to restore your Apps/Data
HinotoriBR said:
P.s.: It is highly recommended that, before moving thing in or out the /system folder, you do a full NANDROID BACKUP, so you can just revert back to working condition if something go wrong (i.e.: if you delete something essential, perhaps you won't be able to load Titanium Backup and restore that back).
Click to expand...
Click to collapse
I wish I read that 5 minutes ago... lol !
skribzy said:
I wish I read that 5 minutes ago... lol !
Click to expand...
Click to collapse
Being a Motorola phone, you can always find the SBF related to your phone and use RSDLite to flash it. Milestone, to enter boot mode and then use RSDLite to send a SBF ( http://and-developers.com/sbf:milestone , if you are a Droid user, probably there is somewhere else to find it, if you are milestone user, try to use a version close to whatever you had), just power it down, hold dpad up, and with dpad up pressed you power the phone. You will see some writting about the boot loader, your phone is ready to be connected in our PC and you can flash it using RSD Lite.
HinotoriBR said:
Being a Motorola phone, you can always find the SBF related to your phone and use RSDLite to flash it. Milestone, to enter boot mode and then use RSDLite to send a SBF ( http://and-developers.com/sbf:milestone , if you are a Droid user, probably there is somewhere else to find it, if you are milestone user, try to use a version close to whatever you had), just power it down, hold dpad up, and with dpad up pressed you power the phone. You will see some writting about the boot loader, your phone is ready to be connected in our PC and you can flash it using RSD Lite.
Click to expand...
Click to collapse
Yea, cheers, it was a school boy error! I was thinking to myself must do a nandroid before I start tinkering and totally forgot! All back to normal and backed up now
I was seeing if I could swap out the stock dialer with dialer one in system/apps... Milestone didnt seem to like it at all! I assume apps like dialer one are dependant on the existance of core apps. I did manage to get rid of the 3D gallery and replace it with quickpic.
Theres loads in system/apps that I simply dont need like 'LiveWallpapersPicker.apk' which I assume I can just get rid of - I will give it a go and see what comes crashing down!
S
I use Titanium Backup PRO and it tells me that my system rom has 285MB and I only have 4.75MB FREE...what uses this space and how do I get more FREE? I have tried uninstalling several applications but that number doesn't change.
Internal: 1.98GB 1.48 Free
DB dataa; 132 MB 1.48GB Free
SD card: 13.9 GB 11.2 GB Free
Ext SD card: 15.9 GB 15.5 Free
The system ROM: seems to be the only one almost out of space. Can someone tell me what to do?
Thanks
Donna aka gramme
system ROM would be anything under /system
apps that are included under /system/app, lib files, config files
basically it DOESNT matter that its almost out, you DONT need to be installing stuff to system. if you are stock, you can uninstall some of the bloat, or if your rom builder put everything in /system/app/ you can try converting some of them to user apps using titanium backup. do not go willy nilly converting everything to user apps, you will kill your rom and it will probably cause you to have to reload it.
dont know why you think you need more space though.
Pirateghost said:
system ROM would be anything under /system
apps that are included under /system/app, lib files, config files
basically it DOESNT matter that its almost out, you DONT need to be installing stuff to system. if you are stock, you can uninstall some of the bloat, or if your rom builder put everything in /system/app/ you can try converting some of them to user apps using titanium backup. do not go willy nilly converting everything to user apps, you will kill your rom and it will probably cause you to have to reload it.
dont know why you think you need more space though.
Click to expand...
Click to collapse
Thank you for your response I appreciate your time and sharing of your knowledge.
I was concerned because when I go to the market place to install something it tells me that I don't have enough space but if I reboot I can then install. So I looked in TB to see what kind of space I was out of and didn't know about that System ROM space. I am rooted and have a AT&T Samsung Captivate Galaxy S with android 2.2. I have all the AT&T stuff frozen I think.
Thanks again
Donna aka gramme
when you download stuff from the market, it installs to /data/app
nothing should be getting installed to /system at all
Hi, my girlfriend have this phone and pratically she always have 20-30mb free on internal storage.
It's something like 159mb storage and just facebook its 40mb. She has a really low number of essential apps, and I already moved every possible app to the SD.
She keeps getting this NOT ENOUGH SPACE error, and everytime I have to clear facebook data to remove that.
Is the only solution to root the device to let more apps into the SD? is there any other workaround cause I would like to avoid to root her phone.
No ...! I think theres no other solution to move apps into sd when the device is not rooted.. bcoz like link2sd... it needs a superuser permission..and superuser works on rooted device
Sent from my GT-S5830i using xda premium
babyyeobo14 said:
No ...! I think theres no other solution to move apps into sd when the device is not rooted.. bcoz like link2sd... it needs a superuser permission..and superuser works on rooted device
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
+1
Also, you can not uninstall unecessary system apps, to create space in /system partition, without root acces
Sent from my GT-S5660 using xda app-developers app
In my opinion the best solution is link2sd and in developement section is how to simply root/unroot your phone ... you can do a totaly backup your stock rom and install root patch ... then superuser app and link2sd ... you must partition your memory card ... you can do this in windows or linus with some free apps ... if you are afraid that your girlfriend will kill phone you can in superuser add only link2sd for root permission and when something will going wrong you can restore backup that you will do
I use always link2sd becose I have alot apps installed
Sorry for my bad english
.breath said:
Hi, my girlfriend have this phone and pratically she always have 20-30mb free on internal storage.
It's something like 159mb storage and just facebook its 40mb. She has a really low number of essential apps, and I already moved every possible app to the SD.
She keeps getting this NOT ENOUGH SPACE error, and everytime I have to clear facebook data to remove that.
Is the only solution to root the device to let more apps into the SD? is there any other workaround cause I would like to avoid to root her phone.
Click to expand...
Click to collapse
in addition to saeed's answer, i should say that u remove facebook cache because it consumes a lot of space (use apps like 1tap cache cleaner).....no need to clear the app data
Try this tutorial: http://androidforums.com/samsung-ga...-force-install-apps-sd-card-without-root.html
When my phone was not rooted I tried this tutorial and I was able to move Facebook and other unmovable USER apps to SDCard without ROOT!
For the past week, I have received an error message at my storage space is running out and some system functions may not work properly. I am also receiving repeated force close error messages, which I assume to be related to the storage space issue. The problem is, I have plenty of internal storage space and external storage space available. Below, I've attached screenshots of my current storage.
The error message first came up while using the AOSP 4.2 ROM compiled by pawitp. Before getting the message, I have been using this rom for a couple months with no problem. I reflashed the ROM several times to remedy the issue , but each time I would end up with force close issues after a day or two. Before flashing, I would perform a full wipe, wife cache/dalvik, and format system. Just to be sure, I have tried flashing 4.2 that was recently released by Collective, and the latest slim4.2. I am having these issues no matter what rom I am on.
Edit: cannot upload images from the xda app. Will upload as son as I'm at the computer.
Sent from my SGH-I897 using xda premium
Suggestion;
Go get SD maid, by darken, on Google play store. it does much more than clean the SD.
Try the free version, then buy the pro if you want to support the dev.
laughingT said:
Suggestion;
Go get SD maid, by darken, on Google play store. it does much more than clean the SD.
Try the free version, then buy the pro if you want to support the dev.
Click to expand...
Click to collapse
Unfortunately, I cannot download anything from the play store due to the storage issue...
Would uninstalling some apps allow you to install others. ? You can always reinstall them later.
Alternatively. Go into settings, apps, and start deleting app data. for example, gallery, which can take up much more space than it needs. Leave the app, jus clear the data. Maps, browser, etc.
Chances are that your data data partition is full of junk, near its 422mb limit. If you open terminal emulator, type su, then df, you will see which partition is causing the problem.
+1 for what laughingT said
Taking a look at the partitions is the best way to start on this as it is the most common cause, usually /data (/data/data) or /cache is full.
Due to the way android lumps the different partitions toegether in the system view, it might look like there is enough free space when in reality there are sub partitions that are full.
But:
"The insufficient storage" will also be (missleadingly) displayed if an app can not be installed because it's .odex file already exists (for whatever reason) from a previous install.
Thanks for input, Dark3n.
Correct me if I am wrong, but your SD Maid app can clean up stray odex, yes?
I have used SD Maid Pro to keep my phone 'clean'. I had 400 mb in datadata on cm10.0 at one point, and SD Maid helped me trim that down to 150 mb.
Dark3n said:
+1 for what laughingT said
Taking a look at the partitions is the best way to start on this as it is the most common cause, usually /data (/data/data) or /cache is full.
Due to the way android lumps the different partitions toegether in the system view, it might look like there is enough free space when in reality there are sub partitions that are full.
But:
"The insufficient storage" will also be (missleadingly) displayed if an app can not be installed because it's .odex file already exists (for whatever reason) from a previous install.
Click to expand...
Click to collapse
Thank you to everyone for the help so far. I wiped and reflashed the ROM so that I could have enough time to get into Titanium Backup before the launcher FCed on me. I restored SD Maid and see that my datadata partition is full (420 of 422). Can I move the system apps to the SD card with SD Maid? I thought that I had this option at one time, but I do not seem to get an option to move my system apps. I tried to convert them to user apps using link2sd (was able to get this installed from a flashable zip that I created before having this issue), but I am unable to do so.
What is odd is that my data data is basically full with only the standard system apps installed on slim and/or AOCP. I didn't even flash gapps.
Sent from my SGH-I897 using xda premium
Moving apps to SD, especially system apps, probably won't help you. Your data partition isn't full, right?
I'd use the app cleaner tab and system cleaner tabs in SD maid to selectively clear app and system data. Clean browsers, maps, galleries and photo apps, at least. this won't uninstall the apps which is good, but it should clear a lot of garbage out.
If that won't do for you, then go into manage apps under the settings menu and clear at the browser data and cache, the maps data and cache, and the gallery data and cache. I'll take a guess that that alone will free up 150 mb.
laughingT said:
Correct me if I am wrong, but your SD Maid app can clean up stray odex, yes?
Click to expand...
Click to collapse
jsingle3 said:
Can I move the system apps to the SD card with SD Maid?
Click to expand...
Click to collapse
Not yet, but both on the TODO list in that order. No time for coding SD Maid atm . Soon...
laughingT said:
Thanks for input, Dark3n.
Correct me if I am wrong, but your SD Maid app can clean up stray odex, yes?
I have used SD Maid Pro to keep my phone 'clean'. I had 400 mb in datadata on cm10.0 at one point, and SD Maid helped me trim that down to 150 mb.
Click to expand...
Click to collapse
I'm trying everything I can but I can't seem to find out what is taking up all my data data storage space. I've cleaned the cache and data for every app and it is still showing me around 400. Like I said before, I've got nothing installed other than what came on the slim 4.2 ROM (plus es file explorer and SD maid).
Sent from my SGH-I897 using xda premium
okay. try this
start terminal emulator and enter
su
du datadata > sdcard/du.txt
exit
exit
. . .
okay, now go open the text file named du.txt that is in your sdcard.
it should list every file in datadata along with the size of each one.
because the size is at the beginning of each line, you can also sort the info by file size, either on your phone with an app like quickoffice, or on your pc.
there is also a way to do that sorting in the shell in terminal emulator, or with a script, but I'm too rusty on linux commands to give you that long command line.
edit: du is going to show the file space used by each subdirectory. that should point you to the offending files and orphan directories.
Did not find any issues after running the datadata log. I did, however, notice several simlink errors after getting es file explorer installed. Flashed the zip referenced in the following link to see if it would fix my errors (http://forum.xda-developers.com/showthread.php?t=1541942). So far, so good. No storage notifications, I am able to install from play store, and can restore from T/B. I will report back in a day or two to confirm if this fixed my issue.
I'm not sure that fix script is useful for the jelly bean partition layout, which is different from ics , I think.
They are referencing CM9 and a 170mb datadata partition. As you know, we've got a 422mb datadata partition, and I beleive jb uses a different strategy to make use of the fast flash rom in captivate.
Sorry, wrong link. I meant to link the datafix app from the play store. By the way, still seems to be working well.
Sent from my A500 using xda app-developers app
Okay, I figured it out. I looked in my cwm log and noticed that I had a TON of bad blocks in my datadata partition. This effectively shrunk my partition down to about 50MB. No wonder I had storage warning issues as soon as I would flash any ROM (and why I needed datafix app to free up some space). Before using the phone as a paperweight, I decided I would reflash to stock kg3 to see if repartitioning and flashing back to cm 10.1 could fix it. After going back to stock and then getting back to 10.1, the bad datadata sectors appear to be fixed. I'll report back in a few days.
Any idea what caused the badblocks?
Dark3n said:
Any idea what caused the badblocks?
Click to expand...
Click to collapse
I'll hazard a guess..
if his card was actually using a vfat or non jounaling fs, like ext2 for datadata, then
nonjournaling file systems on SD cards under linux are known to become corrupted when power is lost or interrupted. killing apps through a task manager or power manager could do the same, if it didn't allow the write buffer to finish. also a weak sd card might misbehave, particularly if bus is overclocked as it can be in semaphore kernel.
if it isn't a journaling fs, then the blocks show up as either bad or used when they are actually empty and good. periodically running fsck might be a good strategy for him.
edit; fsck isn't included in android build or busybox, I guess. Dark3n, could you build the fsck module into your SD maid app?