• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Guide]How to improve storage space

Shabbypenguin

Extreme Android User
Mar 28, 2011
5,381
5,072
36
Posted this on the admire forums to help some people learn and understand, figured you guys might enjoy or find this information useful.

Ok so you all face a dire issue, what 160MB's of internal /data storage? thats like 5 apps now a days. so im gunna give you some tips on how to get the most out of it.

1) links2sd/apps2sd - these are the biggest best solutions assuming you have a big/fast enough card. data2sd is a much nicer mod in that it makes it work with the device as if nothing is different but that requires a bit of kernel hackery.

2) removing bloatware does NOT give you space. they are bloat for a reason, otherwise you could uninstall em. all your apps etc get tossed in /data/app, while system ones (in the rom/gapps) get thrown in /system/app. so by removing bloat you only free up /system space which is a whole 'nother partition.

3) using the built in moving apps to sd isnt perfect, it basically splits the app and causes slowdowns etc while may not actually moving everything. sometimes it just moves maybe 2-3MB's sometimes only leaves 1MB depends on teh app.

So i imagine you are prolly wondering great so how is this helpful? im getting to it you impatient people :p. i said removing bloat wont gain you more space on /data, but it does free up space on system. you could then take your fav app (lets say for instance facebook) and install it into system. then you would have teh app but it wouldnt take up "noticeable" space, i say noticeable because you can then use facebook and still have teh same amount of storage free to use with the market/settings etc.

Now here is where things get tricky, lets say facebook gets an update. well package manager downloads the update and looks to replace facebook but cant cuz it doesnt have root permissions, so whats it do? sticks the new one in /data/app taking up your space and leaving the one in system app (yes this is how it is done for most the apps you have). the biggest offender to this is something like google maps where 30 MB's is now taken up by it on both partitions, doesnt sound very fair now does it?

now im gunna walk you through how to beat this system, you are gunna need to be rooted. you can do this manually but im lazy and id rather pay 5 bucks to have an app do it for me. what app? titanium backup. a little known feature of teh premium version is schedules, i have 5 on my device that run between 2-5am. if you wish to do it manually, using a file manager or adb shell you can move the apk's over to where they need to be.

what this schedule does is grab any updated versions of apps and puts them into /system for you, thus clearing up space on /data of those duplicated apk's :).

my personal setup basically means if i delete any apps they get removed from my backups, if i play a game and the data changes (like beating that one damn level on bad piggies), if there is a newer versions of the app etc etc. so that at worst case i lose my phone or its broken i can grab all my data and restore and worst case i lose 24 hours worth of stuff. i also use titanium media sync to backup my titanium backup folder to dropbox and my shabbypenguin.com domain every night so i have online copies :).

Of course this isnt teh end all be all solution as you are still limited to what space you have on system (this is where removing things like live wallpapers you dont use comes in handy ;) ). combined with other techniques you stand a fairly good chance of improving your experience though.

i believe i covered all the bases, anyone wish to add something lemme know :)
 
Another app you can use to move things to the system area and also consolidate from system app updates is an app called Apps2ROM [root]. I have used this on my prevail for quite a while and it is nice to have (I even have my Titanium Backup moved into system with this), and you can set it to auto move apps that are updated to the system area on a rebooot.

Codegerm
 
Upvote 0
I'm running HalfAss with ccm mode and I've found a way to get a tiny bit more space. Not sure of any downsides to this, but I haven't come across any yet.

First off, I have pretty big partitions set up for ccm (2 partitions at 3 gigs each). Probably overkill but I have a 32 gig card so I'm okay with that.

So with ccm /data/app and /data/dalvik-cache are linked to the sd card. What I did was I used an app called Storage Analyser in the play store to find out what was taking the most space in /data/data and I moved/linked them to a directory I created in /data/app. To keep it simple I just linked them to /data/app/data (simple for me to remember at least). I used Root Explorer to mount, move, then link each folder in /data/data that I moved. I tried moving all of /data/data to /data/app/data but ran into some problems doing that.

If anyone else tries this and you use Storage Analyser you'll need to go into that apps settings and enable it to read the system partitions and I gave it su rights to make sure it can read all the partitions. And of course make a backup or whatever. I have all my important info backed up offsite so if I have to start over it's no big deal for me.

I've had this going for a couple of weeks now and so far so good, but if someone has any reason this isn't a good idea then please post. I only moved things that I wouldn't care if they get messed up and didn't work. So anything that looked like it might be important or stock I left for now.

If anything is unclear it's because I'm tired lol. If anyone is interested in this maybe I'll add to it later.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones