Go Back   Android Forums > Android Phones > Samsung Galaxy Prevail > Galaxy Prevail - All Things Root

Like Tree4Likes
  • 2 Post By Shabbypenguin
  • 1 Post By Lordvincent 90
  • 1 Post By Codegerm

test: Reply
 
LinkBack Thread Tools
Old October 22nd, 2012, 09:41 AM   #1 (permalink)
ROM Developer
Thread Author (OP)
 
Shabbypenguin's Avatar
 
Join Date: Mar 2011
Gender: Male
Posts: 5,270
 
Device(s): Nexus 5
Carrier: Sprint

Thanks: 353
Thanked 4,944 Times in 2,039 Posts
Post [Guide]How to improve storage space

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
Hdjc28 and vce2005 like this.

Advertisements
__________________
Enjoy my work?
Donate here

Know an unloved device? swing by our new forums
Shabbypenguin is offline  
Reply With Quote
The Following 7 Users Say Thank You to Shabbypenguin For This Useful Post:
525Local (October 22nd, 2012), cwhatever (October 27th, 2012), Hdjc28 (November 6th, 2012), Lordvincent 90 (October 24th, 2012), The~Skater~187 (October 22nd, 2012), vce2005 (October 22nd, 2012), wyelkins (October 30th, 2012)
sponsored links
Old October 22nd, 2012, 11:54 AM   #2 (permalink)
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
 
Lordvincent 90's Avatar
 
Join Date: Oct 2011
Location: grand rapids,mi
Gender: Male
Posts: 4,747
 
Device(s): Galaxy Prevail, Galaxy Prevail II, Kyocera Hydro, Nexus 7 (Grouper), Galaxy rush, Htc One SV
Carrier: of the deadly t-virus

Thanks: 1,694
Thanked 2,387 Times in 1,663 Posts
Default

One minor thing to add: removing system bloat doesn't free up space in the same way as removing an app from /data... BUT it does free up some space in /data/data...not much but a bit
Shabbypenguin likes this.
__________________
(ノಠ益ಠ)ノ彡┻━┻
Lordvincent 90 is online now  
Reply With Quote
The Following User Says Thank You to Lordvincent 90 For This Useful Post:
Rarewolf (October 23rd, 2012)
Old October 23rd, 2012, 10:26 AM   #3 (permalink)
Senior Member
 
Rarewolf's Avatar
 
Join Date: Jan 2012
Location: CaliFornia, Azusa
Posts: 1,110
 
Device(s): Samsung Galaxy Prevail Sisters Samsung Ultra Samsung Galaxy S Captivate
Carrier: Not Provided

Thanks: 196
Thanked 140 Times in 105 Posts
Send a message via Yahoo to Rarewolf
Default

Quote:
Originally Posted by Lordvincent 90 View Post
One minor thing to add: removing system bloat doesn't free up space in the same way as removing an app from /data... BUT it does free up some space in /data/data...not much but a bit
Lolz i see you remembered! xD
__________________
And Now im Proud Of Cyber Green
themes For CTMod
Rarewolf is offline  
Reply With Quote
Old October 23rd, 2012, 12:00 PM   #4 (permalink)
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
 
Lordvincent 90's Avatar
 
Join Date: Oct 2011
Location: grand rapids,mi
Gender: Male
Posts: 4,747
 
Device(s): Galaxy Prevail, Galaxy Prevail II, Kyocera Hydro, Nexus 7 (Grouper), Galaxy rush, Htc One SV
Carrier: of the deadly t-virus

Thanks: 1,694
Thanked 2,387 Times in 1,663 Posts
Default

Quote:
Originally Posted by Rarewolf View Post
Lolz i see you remembered! xD
Yes, you are the one who brought that to my attention... It appears shabby also overlooked that
Lordvincent 90 is online now  
Reply With Quote
Old October 24th, 2012, 04:23 PM   #5 (permalink)
New Member
 
Join Date: Oct 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

ahhh storege is always a problem with mine
brownnproud16 is offline  
Reply With Quote
Old October 25th, 2012, 12:14 PM   #6 (permalink)
Senior Member
 
Codegerm's Avatar
 
Join Date: Jul 2011
Location: Gainesville, FL
Gender: Male
Posts: 3,733
 
Device(s): Samsung Galaxy S II Running Jelly Bean GB27 32gig class 10 sd card
Carrier: Not Provided

Thanks: 181
Thanked 1,256 Times in 936 Posts
Default

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
Shabbypenguin likes this.
Codegerm is offline  
Reply With Quote
Old October 27th, 2012, 12:19 AM   #7 (permalink)
Junior Member
 
Join Date: Jul 2011
Posts: 82
 
Device(s):
Carrier: Not Provided

Thanks: 18
Thanked 31 Times in 16 Posts
Default

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.
theonewho is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Samsung Galaxy Prevail > Galaxy Prevail - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:39 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.