Related
Im using the Fresh .04 ROM. I understand Apps2SD is installed and functional. I did format my SD card correctly before installing and I suspect it should be working.
My question is:
I have been pushing a few apps to my /system/app directory using adb.
Is that on the SD card now or am I just pushing to the system RAM area and not taking advantage of Apps2SD.
I noticed my available space is at 90MB and with the Modoco ROM I had 104 available with most of these apps.
I feel like Im doing this wrong.
Apps2sd is not functional in 0.4. It was a bug that was discovered after the fact. You aren't doing anything wrong.
0.5 is being tested by about 10 people right now and all are saying it's working fine. So be patient and 0.5 will be out later.
What apps are you pushing to /system/app?
No, /system/app is not on the SD card. But it's not on the data partition either. The internal memory is partitioned as follows as far as I can tell:
/system 174MB total, generally around 10-20MB free depending on ROM and so forth
/data 163MB total. This is what reports as "phone storage" in the OS. Starts at around 140MB free.
/cache 133MB
I'm not sure how the rest of it really works but that's the gist of it.
AppsToSD moves the /data/app and /data/app-private folders (and nothing else) to the SD card. These are the folders that contain your Market and downloaded .apk files. Other things in the /data directory that use "phone storage" are the boot cache, dalvik cache, and app data (browser cache, preferences, saved games, etc).
jonnythan said:
What apps are you pushing to /system/app?
No, /system/app is not on the SD card. But it's not on the data partition either. The internal memory is partitioned as follows as far as I can tell:
/system 174MB total, generally around 10-20MB free depending on ROM and so forth
/data 163MB total. This is what reports as "phone storage" in the OS. Starts at around 140MB free.
/cache 133MB
I'm not sure how the rest of it really works but that's the gist of it.
AppsToSD moves the /data/app and /data/app-private folders (and nothing else) to the SD card. These are the folders that contain your Market and downloaded .apk files. Other things in the /data directory that use "phone storage" are the boot cache, dalvik cache, and app data (browser cache, preferences, saved games, etc).
Click to expand...
Click to collapse
Ok, I was pushing a few of the Original Sprint Apps and some of my purchased apps. Unfortunately, I had to download a couple apps from a "not so legit source" for the short term due to the Market screw up. However, dont look down on me, I only got the apps I legitimately purchased and couldnt download again after I formatted my card and such going from Modoco to Fresh.
Anyway, I just adb push "app name" /system/app after a mount from
a command prompt.
Once the Apps2SD is fixed, should i be doing this process a different way to take advantage of the SD card space.
Yeah, push to /data/app. There is a limited amount of free space in the /system partition.
jonnythan said:
Yeah, push to /data/app. There is a limited amount of free space in the /system partition.
Click to expand...
Click to collapse
Easy enough. Thanks.
jonnythan said:
Yeah, push to /data/app. There is a limited amount of free space in the /system partition.
Click to expand...
Click to collapse
Ok, so I loaded the Modoco ROM and pushed to /data/app. It seemed to push fine, but I dont see the app.
What am I doing wrong.
Did you reboot after you pushed it there?
jonnythan said:
Did you reboot after you pushed it there?
Click to expand...
Click to collapse
Yes, a I get a loop at the Sprint logo. I have tried doing a Nandroid Backup 2x and then upgrading to the new Modoco and pushing. Everything works fine until I push an app to the /data/app directory, then I get a loop.
Im going to try pushing to the sdcard and move to data/app using SU file Manager.
What file are you trying to put there?
jonnythan said:
What file are you trying to put there?
Click to expand...
Click to collapse
The "test" app im pushing is the Droid Facebook app. Facebook.apk.
I tried pushing Sprint_TV.apk too, with no success.
Its odd. If I push anything to that directory, it loops the startup at the Sprint logo. I just ended up pushing to /system/app and decided to forget about it. Im a neophyte and was getting ready to throw the phone out the window.
Sprint_TV might need to be in /system/app, which is wher it normally is. The Droid Facebook app might simply not work on the Hero. So...
jonnythan said:
Sprint_TV might need to be in /system/app, which is wher it normally is. The Droid Facebook app might simply not work on the Hero. So...
Click to expand...
Click to collapse
After alot of trial and error, I finally got the apps in the right place and to work correctly.
I pushed to /data/sd/apps
That appears to be where Apps2SD is setup to throw the apps.
Thanks for hanging in there with me on this thread.
Both apps work great in that directory. In fact, I moved alot of the stock apps to that directory and they worked fine. None of them got moved automatically. It seems the only time Apps2SD moves the apps is upon installation, so pushing or for apps that were previously installed, they didnt get moved.
Hey, it works for me, hopefully someone else will find this useful.
Lappie2010 said:
After alot of trial and error, I finally got the apps in the right place and to work correctly.
I pushed to /data/sd/apps
That appears to be where Apps2SD is setup to throw the apps.
Thanks for hanging in there with me on this thread.
Both apps work great in that directory. In fact, I moved alot of the stock apps to that directory and they worked fine. None of them got moved automatically. It seems the only time Apps2SD moves the apps is upon installation, so pushing or for apps that were previously installed, they didnt get moved.
Hey, it works for me, hopefully someone else will find this useful.
Click to expand...
Click to collapse
Apps that are in /data/app (the default location without apps2sd) will get moved to /data/sd/app and then a sym link is created that points from /data/app to /data/sd/app. Anything that is in /system/app (all default system apps) will not get moved. Modaco's rom had moved a few of them there but people were receiving FC's and moving them back.
I am in a frustrating battle trying to keep space free on my phone. I am to the point of deleting apps I really would not want to if I had the space available. So my question is, do any of the ROMS offer more app install space?
And FWIW, I have done apps2sd, cleared all the caches I can clear, and everything else people suggest to do. Thanks for any help!
Not an answer to your question but out of curiosity what apps are you using on a daily basis? I find that my "core" apps that I need plus an extra app here and there all install usually leave me with about 30MB free space. of course at this point i'm not using a lot and I don't have many games installed(just monopoly). I'm using cyanogenmod 6.1
tlogank said:
I am in a frustrating battle trying to keep space free on my phone. I am to the point of deleting apps I really would not want to if I had the space available. So my question is, do any of the ROMS offer more app install space?
And FWIW, I have done apps2sd, cleared all the caches I can clear, and everything else people suggest to do. Thanks for any help!
Click to expand...
Click to collapse
When you say you have done app2sd, so you mean stock Froyo or app2ext?
If you are having this issue with app2ext, then you need to make a larger ext part.
You can also move your Dalvik-Cache to /cache or /sdcard, but only if you have ext part for the /sdcard move to work.
You need to change the partition table (by flashing a custom HBOOT) to get more space on /data, and as far as I know, no-one has done it.
Use good old Apps2EXT aka Apps2SD+ aka DarkTremor's Apps2SD. Read the Wiki to find the link, or just go to Development section and look there. Partition your SD card, make 512MB or larger EXT data partition, and you're done for all the foreseeable future.
How could you avoid reading about it and read all the rest - escapes me.
givathugahug said:
Not an answer to your question but out of curiosity what apps are you using on a daily basis? I find that my "core" apps that I need plus an extra app here and there all install usually leave me with about 30MB free space. of course at this point i'm not using a lot and I don't have many games installed(just monopoly). I'm using cyanogenmod 6.1
Click to expand...
Click to collapse
Here are the top-10 space-hogging apps I have (and some of them are partially moved to /sdcard!):
Google Maps: 10.13 MB
Rock Player: 8.80 MB
SlingPlayer Mobile: 8.64 MB
Facebook: 7.40 MB
Adobe Flash Player: 7.09 MB
Twitter: 5.08 MB
Google Voice Search: 4.44 MB
Google Voice: 3.78 MB
Skyfire: 3.34 MB
Google Goggles: 2.60 MB
That's 61.3 MB in 10 apps alone...
I have 200MB in apps alone, not counting their data or Dalvik cache (together they come up to 380MB). It's not about having "core" apps and "rare" apps, it's about having the apps that I want to use. Some of them I use often, some of them I use rarely, but I don't have apps that I never use.
I am in a Similar situation, using DarkTremors Apps2sd. I havent done cache2sd because i am using a class 2 sd card, and have been advised against it.
I set up a 512mb partition, and have moved all my apps away from apps2fat, but max free space i get is about 32mb, after clearing the cache of both my browsers.
Check the size of your Dalvik cache, and do Dalvik2cache if it's under 80MB.
I have Class2 16GB SD card and I ran out of space on /cache, so I moved Dalvik to SD and didn't notice any performance hits.
liam.lah said:
I am in a Similar situation, using DarkTremors Apps2sd. I havent done cache2sd because i am using a class 2 sd card, and have been advised against it.
I set up a 512mb partition, and have moved all my apps away from apps2fat, but max free space i get is about 32mb, after clearing the cache of both my browsers.
Click to expand...
Click to collapse
I'm in the same boat...
I have about 32m free with Darktremors, which is actually less than if I move apps to SD using Titanium.
Might try moving dalkiv.
How do I check the size?
Sent from my Nexus One using XDA App
efrant said:
Here are the top-10 space-hogging apps I have (and some of them are partially moved to /sdcard!):
Google Maps: 10.13 MB
Rock Player: 8.80 MB
SlingPlayer Mobile: 8.64 MB
Facebook: 7.40 MB
Adobe Flash Player: 7.09 MB
Twitter: 5.08 MB
Google Voice Search: 4.44 MB
Google Voice: 3.78 MB
Skyfire: 3.34 MB
Google Goggles: 2.60 MB
That's 61.3 MB in 10 apps alone...
Click to expand...
Click to collapse
One way to get a bit of space back is to move the updated ROM apps to the /system/app partition, replacing the older versions and deleting the new versions out of /data/app. I've done that with Maps, Voice, Goggles, and YouTube. You should be able to do it with Twitter and Facebook as well--I don't use them and so just removed them from the ROM altogether. You can find details on doing this via a Google search, though I could post my procedure in this thread if anyone's interested.
highvista said:
though I could post my procedure in this thread if anyone's interested.
Click to expand...
Click to collapse
Sound's cool...do post your steps & what filemanager your using.
Jack_R1 said:
Check the size of your Dalvik cache, and do Dalvik2cache if it's under 80MB.
I have Class2 16GB SD card and I ran out of space on /cache, so I moved Dalvik to SD and didn't notice any performance hits.
Click to expand...
Click to collapse
Be VERY careful when moving your Dalvik-Cache to /cache. It's only 90MB and not used if you are running a custom ROM. The /cache partition is only there to stage OTA's from Google. If you are running custom recovery, it won't be used.
Anyway, I would HIGHLY suggest you get yourself a Class 6 Card or better and move it to SD. It will free up a TON more space and stretch out your love of your N1.
I'm running CM, and it looks like the cache also stages apps downloaded from the market...
Sent from my Nexus One using XDA App
danger-rat said:
I'm running CM, and it looks like the cache also stages apps downloaded from the market...
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Well that's stupid.
Oh well, guess /cache is not a very good idea after all.
Just what it looks like. I downloaded 4 apps today, and cache has 4 download.apk type files with today's date...
Sent from my Nexus One using XDA App
Yeah....I had space issues until I moved Dalvik to SD, freed over 80mb space. But if I remember right, I had some issues when doing this and had to wipe and do a fresh install, move dalvik and apps, then restore. Or maybe that was when I tried dalvik to cache.....which would explain why it was bad.
galaxys said:
Sound's cool...do post your steps & what filemanager your using.
Click to expand...
Click to collapse
I've been doing it with an Orange San Francisco this morning, it's easy, just use busybox to cp the .apk files from /data/app to /system/app, the ones in /data/app were automatically removed by the OS.
Yeah, why the hell do you have so much of that those apps in /data/apps when you could just put them in /system/apps which is a different storage.
I could put Facebook there too but i only install about 7-10apps on my phone. Angry Birds being the biggest but that's on the SD card (Froyo A2SD). After all my apps i probably have 170MB free in the DATA. Granted i'm not installing 60apps like some people here but i'm sure if you put Facebook and Google Maps in the system (along with twitter and all that other stuff that come included in the GAPPS zip file) then you'd have more free space. After a clean install i usually have 196MB free to start from.
Rusty! said:
I've been doing it with an Orange San Francisco this morning, it's easy, just use busybox to cp the .apk files from /data/app to /system/app, the ones in /data/app were automatically removed by the OS.
Click to expand...
Click to collapse
So you're not doing anything fancy, just copy the apk's? They are named exactly the same, etc?
I'm going to try this too.. Gonna visit the ole nandroid first though.
derp, wait, this doesn't even matter if you're using Apps2Ext right? Not going to save any space in /data in that case.
BTW, this isn't exactly pretty, but I was having some serious /data space issues since installing Dungeon Hunter.. 6.5m library in /data/data/*gameloft*/lib, so I mkdir /system/sd/gameloft and moved/symlinked the lib. Works great. I have a few other libs in /data/data that I could do, but for now this gets me back to 25M free.
Still fighting moving dalvik to SD but I imagine I'll be doing that eventually.
Right now, I have 109 mb free (16%) in /data. I also have 128 mb free of 146 mb available in /cache.
I applied the dalvik-cache to cache move through recovery and adb and then listed the results of the move:
221 mb (or so) free in /data. Awesome!
21 mb (or so) free in /cache. Not so awesome.
Here's my thinking:
1. Without this mod, I still have 109 mb free for app storage.
2. With this mod, I only have 21 mb left for the dalvik-cache, minus whatever else the system decides to put in there (those annoying Download.apks)
3. Even though it will report that I have 221 mb free after the mod, there is no way the dalvik-cache produced by those 221 mb of apps will be less than 21 mb.
4. Quite possibly, it will leave us with less app space as well as other problems, aka, the phone doesn't like it when the /cache partition is full and can't write anything else to it.
I did not reboot my phone, instead I deleted the dalvik-cache folder from /cache and deleted /data/dalvik-cache. I didn't want to go through the trouble of setting permissions for /cache.
So, is it worth it? It makes sense why HTC didn't increase the /cache partition as well as the /data one. It's not like they have us in mind when they roll out their new phones. I'm just wondering if this mod has reached the end of its rope, so to speak. Is there another directory we could move it to? Moving it to system seems the only possible option, but we would have to have the phone boot with /system as rw. Can we resize the cache partition? Seems rather dangerous. Bottom line: Is it worth it?
Anything downloaded into cache typically clears itself out. If you want to get more space on your cache, switch to an odex rom, will clear up a lot of space from dalvik. But 148 MB of cache is way overkill.
I want to look into modifying firerat's partition mod to work on our phones and move some of that huge unused system space to /data but I am horribly too busy at the moment to mess around
danaff37 said:
Anything downloaded into cache typically clears itself out. If you want to get more space on your cache, switch to an odex rom, will clear up a lot of space from dalvik. But 148 MB of cache is way overkill.
I want to look into modifying firerat's partition mod to work on our phones and move some of that huge unused system space to /data but I am horribly too busy at the moment to mess around
Click to expand...
Click to collapse
Personally, I am okay with the amount of space given for apps. I just wanted to raise the question.
I am new to xda and so am not familiar with all the mods that have been implemented on other phones. When I had the Moment and was involved over at SDX, we were so busy fixing the Moment to make it usable that many mods were never implemented. It's amazing what is being done here at xda, and not to detract from the good folks at SDX, who I love, but it seems the sheer number of quality devs is staggering here. I think I'll be content being an end-user for a while and helping out where I can.
I'll look into firerat's partition mod and though I can't promise I'll be able to apply it here on the Shift, I'll give it a good go. Thank you for pointing me in the right direction, danaff37
I sure do miss fireat's partition mod on the Hero. I have about 50mb left in data on my Shift. I've used a2sd before, but I prefer my apps to run off the phone memory.
I agree with ya. And it annoys me to see over 200 megs free on system, just sitting there!
Sent from my PG06100 using XDA App
qngds said:
I sure do miss fireat's partition mod on the Hero. I have about 50mb left in data on my Shift. I've used a2sd before, but I prefer my apps to run off the phone memory.
Click to expand...
Click to collapse
I'm running most of my larger apps off of the SD card and haven't had any issues.
I'd say give it a try and see what you think.
I'm also running a Class 10 card.
If you don't have one I suggest this one
Ok I had memory issues when I went from the Backflip to the Flipside. But thankfully links2sd made a huge difference and i was able to get all the apps I wanted using that nifty little app. Now however after this update I can't even get half the apps I had on 2.1, and that is with using Links2sd. I've tried getting rid of ATT bloatware, moving some apps to systems apps, and clearing davlik cache using Titanium Backup but it only does so much. Anyone have any solutions to get more internal storage or a better way to get apps onto the SD card because this is making the update almost not worth it...and what's worse is that we cant even revert back to 2.1 without bricking the phone....sad day!
I'm having pretty much the same issues, but I'm wondering how you moved apps to the system apps? This would be helpful to me.
How much internal memory do you have free? I have about 45mb which is less then half of what I had before the update. Im not sure what is taking up the memory. Ive removed what I can and feel is safe with Ti Backup and moved my apps with Link2SD to my SD card.
boazjuggalo said:
I'm having pretty much the same issues, but I'm wondering how you moved apps to the system apps? This would be helpful to me.
Click to expand...
Click to collapse
This is done via titanium backup. Long press on the app and the menu gives you the option to convert to sys app.
pre4speed said:
This is done via titanium backup. Long press on the app and the menu gives you the option to convert to sys app.
Click to expand...
Click to collapse
Yea that's how I moved it to system.
And I have about 20MB after moving a few apps and moving some to system....ugh this is frustrating
I have my wife's phone running on 60mgs free...
HiloDB1 said:
How much internal memory do you have free? I have about 45mb which is less then half of what I had before the update. Im not sure what is taking up the memory. Ive removed what I can and feel is safe with Ti Backup and moved my apps with Link2SD to my SD card.
Click to expand...
Click to collapse
I have 2 or 3 apps installed (Facebook and whatnot) and I have roughly 32mb after clearing davick (or whatever it's called)
telegraph0000 said:
I have my wife's phone running on 60mgs free...
Click to expand...
Click to collapse
Really, how? How many apps do you have? I have about 17 apps
JBallin4life27 said:
Really, how? How many apps do you have? I have about 17 apps
Click to expand...
Click to collapse
Just basics
Adfree
Adobe flash
Adobe reader
Adwlauncher
Fruit ninja
Pandora
Jorte
Jw reader
Lik2sd
Maps
Market
Palmary weatherb pro
Pure messenger widget
Quick boot
Titanium backup
I also added opera, and that brought it down to 50megs
Tadaaaaaa.....
Hey, I just posted the SBF in the Flipside Android Development part of the forum and I flashed that and it appears that this version of 2.2.2 runs better with links2sd and has significantly made a difference in freeing up memory. I'm gonna play around with it some more but it appears to have links2sd running as well as it did when I had 2.1. Some of you may want to consider backing up and reflashing the update. Just something to consider. I'll post an update again soon after I play around with it a bit.
Do you know how much space was available on /data when you fresh flashed it?
(edit)
So, I ended up breaking something, as usual, and had to reflash, so I used the fresh 2.2 sbf. Turns out there's roughly 74mb free on /data when you first flash, although that quickly drops as the system apps (maps, market, and flash offhand) are brought up to date.
You're right!!!
My wife's phone is down to 55 megs!!!
Sorry, I meant to post again after my last post but my phone kept freezing on the red Moto screen everytime I flashed the update and I took my phone back to AT&T 3 times this past weekend only to find out it was my SD card causing the problems. Just FYI if you partition your SD card to use link2sd make sure your second partition is set as primary otherwise the 2.2 Froyo update will completely shutdown as soon as you put your card in and will not let you do ANYTHING!
That being said, you definitely have better memory after flashing the SBF as opposed to the other methods i've tried for the update. I was able to install almost all the apps and games I had previously (some I didn't add just cuz I hadn't been using em). Everything runs smoother for me and I havent had any freezing or anything. Hope this update is running well for you guys
I'm reluctant to move many things over to system apps, personally... Don't forget that link2sd won't link the dalvik-cache of system apps, so you'd actually have more free space in /data by leaving it as a user app and just linking app/dalvik/lib. I'm at roughly 95mb free currently, with a pretty reasonable amount of stuff installed, so I'm much happier now.
Another space-saving trick I've found: Titanium Backup has a folder in /data that it uses as a temp file storage, any time you restore a backup it moves the .apk over there then installs it. It's located at /data/data/com.keramidas.TitaniumBackup/files, and also contains busybox, sqlite3, and your license file. If you're restoring a backup of a large app, this means you need a pretty large amount of space free to do so, which can be difficult on our phones. You can move this folder over to the second sd card partition that link2sd uses and symlink it without problems. Here's a (probably ugly) method:
Code:
cd /data/sdext2
mkdir tbfiles
cp /data/data/com.keramidas.TitaniumBackup/files/* ./tbfiles
rm -Rf /data/data/com.keramidas.TitaniumBackup/files
ln -s /data/sdext2/tbfiles /data/data/com.keramidas.TitaniumBackup/files
Actually....
If you have auto-link on... and move it to system with tibu... it will link the cache...
Why are you linking lib files... when you reboot... they go back to internal... you'll have memory issues at reboot that way...
Sent from my MB508 using Tapatalk
The file I manually link isn't a lib, or at least it doesn't get linked by Link2SD when you link TitaniumBackup's libs. The link stays through a reboot and hasn't caused me any issues so far, it just makes less free space required to restore backups.
As for linking libs in general, while they do tend to get unlinked on reboot, I have plenty of free space to let them exist in /data, and the newest Link2SD has a one-touch option to relink them all again to recover that space. It's not an issue unless you're linking libs and also filling your /data partition near the max.
It appears that HTC made the app storage on this phone limited to ~150 megs and I see a lot of people deleting apps or clearing data from apps to fix. Does any custom partition utility exist for this phone? App so files are killing me. Thx for any pointers.
Sent from my ADR6300 using Tapatalk
notenoughspace if you're feeling risky. learn it before you use it otherwise you'll be SOL if you didn't make a backup. useful to move data to emmc instead of sd. otherwise cleaners like one click or sd maid are for routine cleaning if you wish to be safe
Cool, thx for the tip!
Sent from my ADR6300 using Tapatalk
Check out link2sd on the market. It allows you to move apps dalvik and libraries to a ext2/3/4 extension. It also has a setting to automaticly move new apps to the extension. I have about 55 apps installed and have about 113mb free.
Do these affect the standard apps2sd, or get wiped in a flash? When I ran into this,it was a game with "additional content " , which gave the option of storing on the sd instead.
I was wondering why I was having those low space notifications. I'll try these out.
Sent from my ADR6300 using XDA App
Notenoughspace doesn't work (well) with GB but GB native app2SD moves the app lib folders which I don't remember previous versions doing this. Still I'm low space even though I have 580 megs free on internal storage. Wish there was a way to resize these partitions but I know this is very tricky. Just a pain to deal with space issues when I have so much free internal space that is unused.
Sent from my ADR6300 using Tapatalk
To clarify notenoughspace works for cache/databases/files but doesn't work with lib data on GB since it recreates these on reboot so still a really nice utility.
Sent from my ADR6300 using Tapatalk
I've been using NotEnoughSpace with the Business GingerSense 3.0 ROM with no problems. It's great for those apps that store lots of databases and files in the /data/data partition.
Yeah, moving cache to /cache seems to work with most but moving databases and files seems to break a lot of apps. Also, remember to backup apps if you use this since nandroid backups don't include the /cache partition.
Sent from my ADR6300 using Tapatalk
I eliminated my low space issues by doing the following:
FACEBOOK: Clear cache / Deleted Data
FACEBOOK for HTC SENSE : clear cache / Deleted Data
ADOBE AIR : Uninstalled
ADOBE FLASH: Uninstalled the Updates
HTC MAIL: Clear cache / Deleted accounts / Deleted Data
This solved my problem... I installed K9 mail and allowed Flash to update and the issue has not returned.... yet!
Lego
Yeah, Adobe's a huge culprit. No app2sd and huge lib's. Also, AIR apps are sensitive to even moving cache. If you look you'll see AIR cert/sigs in data cache for these.
Sent from my ADR6300 using Tapatalk