Related
I noticed some threads for different phones with regard to this but didn't see an answer for the EVO so I'll ask here.
I would like more space on my phone as I'm tired of seeing the little low space hard drive icon. I've already moved all the apps to SD via app2SD. I was thinking of installing the latest rooted stock Sprint ROM (3.70.651.1) and then deleting the stock apps that I do not use but I have read elsewhere that this will, in fact, not free up any more space for applications. Is this true?
If so, can I get a recommendation for the "most stock" ROM that's stripped of the Sprint added apps. If it has some ubiquitous and useful add-ons than that is OK
Thanks!
There's a couple of ROMs in the Dev section that are optimized for speed, and I'd recommend those. A lot of them have them already removed, but you can remove the ones that aren't
Thanks for the response... I apologize if I didn't state my question correctly. I understand that I can remove the apps that I want if I'm rooted, what I'm not sure about is if that space will be made available for other applications when I do remove the programs (in ROM) that I do not want.
Hope that clarifies the question.
Wayno-san said:
Thanks for the response... I apologize if I didn't state my question correctly. I understand that I can remove the apps that I want if I'm rooted, what I'm not sure about is if that space will be made available for other applications when I do remove the programs (in ROM) that I do not want.
Hope that clarifies the question.
Click to expand...
Click to collapse
A small amount of space will be freed. If you move Dalvik Cache to the Cache partition this will free up a lot more space than removing apps.
leenypost said:
A small amount of space will be freed. If you move Dalvik Cache to the Cache partition this will free up a lot more space than removing apps.
Click to expand...
Click to collapse
That sounds intriguing... can you point me to a "how-to" link or someplace where I can learn more about how to do this?
Wayno-san said:
That sounds intriguing... can you point me to a "how-to" link or someplace where I can learn more about how to do this?
Click to expand...
Click to collapse
Search on XDA for "move dalvik to cache". There should be a zip file you can download that will do it for you.
Thanks again for the info. I did as you suggested and now have 266 MB left where before I had less than 50. Using ap2sd with Azrael ROM and do far have not run into any issues. Keeping my fingers crossed.
Note, however, that most of the stock apps are in your system partition. The free space you care about for installing apps is in the data partition. So removing them doesn't free up the space you care about. Even on ROMs that have removed them, I'm not sure if they actually do (or can) resize the partitions to give you the space where it counts (/data).
You can, however, move apps to the system partition if you want. I've done this with some of the updates to stock apps -- GMail, Qik, and Flash, for example. That's freed some space up.
bkrodgers said:
You can, however, move apps to the system partition if you want. I've done this with some of the updates to stock apps -- GMail, Qik, and Flash, for example. That's freed some space up.
Click to expand...
Click to collapse
This sounds like it is worthwhile to learn how to do. Is there a thread or program that you could point me to for some guidance on how to do this?
I've also read that ap2sd can move programs that have not yet been modified to enable the regular android 2.2 "move to SD" function to work; but after flashing that app and using it to move the Dalvik cache I do see any obvious front-end for it.
Wayno-san said:
This sounds like it is worthwhile to learn how to do. Is there a thread or program that you could point me to for some guidance on how to do this?
I've also read that ap2sd can move programs that have not yet been modified to enable the regular android 2.2 "move to SD" function to work; but after flashing that app and using it to move the Dalvik cache I do see any obvious front-end for it.
Click to expand...
Click to collapse
Basically you just move the APK file from /data/app to /system/app using ES File Explorer (need to enable root mode in prefs) or Root Explorer. Or you can do it with adb or even terminal emulator on the phone if you prefer. I think Titanium Backup Pro (the paid version) has an ability to do this too. You also want to look in /system/app and see if there's an older version under some other name that should be deleted. Titanium Pro may handle this part for you automatically as well. I haven't bought it yet, so I'm not sure (though I plan to, the free version is great and the paid version adds some nice things). I think you can still get updates from the market after you've done this, but the update will go to /data/app. You'd need to move it and delete the prior version again after receiving such an update.
I haven't enabled a2sd yet. My understanding is that it's not so much something you need a front end for. Once you set it up, that's just where your apps go. You don't move your apps to the sd card manually. I could be wrong. I used whatever form of a2sd was available for XDAndroid on my old Touch, but that's been a little while and the DarkStar A2SD that people use might be a little different than that method. I haven't done it at all yet on the evo.
Thank you sir, that's very good info and I'll give it a shot.
hi guys,
i would just like to ask if it is possible to install apk and will automatically moved to sd-ext and not on data\app?
i'm currently on aurora v4.1. Any ideas? Thanks!
The Rom thread says it you need an ext for a2SD so this should already be happening
Sent from my HTC Desire using xda premium
jhannbernas said:
hi guys,
i would just like to ask if it is possible to install apk and will automatically moved to sd-ext and not on data\app?
i'm currently on aurora v4.1. Any ideas? Thanks!
Click to expand...
Click to collapse
It is already on your sd-ext. Check sd-ext/app
thanks for your replies...
i think i got a problem here...
i tried to install an apk (download from pc and transfer to phone and then install) but when i visit the /data/app the apk i install was there.. and when i also visit the /sd-ext/app it was also there with the same size on what is in /data/app..
anyone can help me? do i need to flash some add-ons to make it automatically installed on /sd-ext? i just want to install apps which is automatically installed on /sd-ext and not mind the size of my /data.. what i'm i done wrong??
my details:
ROM: Aurora v4.1
16GB microsd card
sd-ext: 1GB ext4
sdcard is the rest
hboot: cm7/r2
partition via gparted
Thanks!
Not sure about that, Maybe an issue or duplication in the scriopt? Would only expect to see it in one or the other. May be best asking this in teh rom thread to be honest.
I think it's more likely that he's missing the symlink. Do an ls -l, to see the symlink
Droidzone said:
I think it's more likely that he's missing the symlink. Do an ls -l, to see the symlink
Click to expand...
Click to collapse
thanks sir. sorry but what is symlink? where can i do that?
jhannbernas said:
thanks for your replies...
i think i got a problem here...
i tried to install an apk (download from pc and transfer to phone and then install) but when i visit the /data/app the apk i install was there.. and when i also visit the /sd-ext/app it was also there with the same size on what is in /data/app..
anyone can help me? do i need to flash some add-ons to make it automatically installed on /sd-ext? i just want to install apps which is automatically installed on /sd-ext and not mind the size of my /data.. what i'm i done wrong??
my details:
ROM: Aurora v4.1
16GB microsd card
sd-ext: 1GB ext4
sdcard is the rest
hboot: cm7/r2
partition via gparted
Thanks!
Click to expand...
Click to collapse
That just means a2sd is working. The reason you are seeing the app in both data/app and sd-ext/app is because the sd-ext/app folder is symlinked to data/app. In short, what you are seeing in data/app are actually the files in sd-ext/app. Hence, the similar data size of the app.
Sent from my HTC Original Desire using Tapatalk
itachi1706 said:
That just means a2sd is working. The reason you are seeing the app in both data/app and sd-ext/app is because the sd-ext/app folder is symlinked to data/app. In short, what you are seeing in data/app are actually the files in sd-ext/app. Hence, the similar data size of the app.
Sent from my HTC Original Desire using Tapatalk
Click to expand...
Click to collapse
thanks. i got much clearer vision on it.
Ooooh. I thought you said sd-ext/app and sd-ext/data/app.
Silly me
Sent from my HTC Desire using xda premium
so this symlink thing will still occupy space on the data? am i right? thanks!
No. Its symlinked to sd-ext so thats where the space is taken up, however if you browse to /data/app, you can still see the file, even though its on /sd-ext/app
Thats what Symlinking is. Symbolic link. As far as android is concerned, the app will only run from /data/app so it must appear to be in /data/app
rootSU said:
No. Its symlinked to sd-ext so thats where the space is taken up, however if you browse to /data/app, you can still see the file, even though its on /sd-ext/app
Thats what Symlinking is. Symbolic link. As far as android is concerned, the app will only run from /data/app so it must appear to be in /data/app
Click to expand...
Click to collapse
thanks for the brief explanation but i don't understand why my /data size is decreasing as well when i install my app even the app go directly to /sd-ext/data..
Because some app-data is still stored in internal memory. That's how it is. The only thing to "solve" this is using a data2sd rom, which moves completely everthing from internal /data partition to a sd-ext partition.
MatDrOiD said:
Because some app-data is still stored in internal memory. That's how it is. The only thing to "solve" this is using a data2sd rom, which moves completely everthing from internal /data partition to a sd-ext partition.
Click to expand...
Click to collapse
thanks for the advise. i really consider that option.
just to add up, is data2sd different from data2ext?
jhannbernas said:
thanks for the advise. i really consider that option.
just to add up, is data2sd different from data2ext?
Click to expand...
Click to collapse
yes its better
ooppss. my bad.. i really forgot the other thread. please disregard.
Don't ask a question two times:
http://forum.xda-developers.com/showthread.php?t=1320341
how do I symlink an apk that is already installed in data\app
i don't want to use apps like link2sd
Hello fellow I9000 users.
tl;dr - This fixes your low storage notification problems just by flashing it on CWM.
Disclaimer
First of all, I'd like to inform you that this post is a compilation of the work done by drafnel on the CyanogenMod forums, revthanki on the XDA-Developers forum, and as such I take little to no credit in it, as all I've done was ask for drafnel to help me in the cleanup code for me to put it in a flashable zip.
Sources:
http://forum.cyanogenmod.com/topic/39718-workaround-for-small-datadata-partition/
http://forum.xda-developers.com/showthread.php?t=1444333
Also, as you should know, you take full responsability should data loss or other kinds of damage occur.
Introduction
Lot's of people have encountered the problem where their /datadata partition fills up and then apps begin force closing. This is often confusing since there is usually a lot of space available on the internal 2GB storage partition. But these are two different partitions on cyanogenmod. The created the datadata partition on the fast internal memory so that apps would start up and run faster (i.e. less lag), but it is only about 170MB (which can't be helped).
One thing that can be done is to move the contents of /datadata onto the 2GB /data partition. That will solve the space problem, but then you have the lag problem. So, what we need is for the files that take up a lot of space to reside on the 2GB partition and the files that are accessed frequently by an app to reside an the fast 170MB partition. The files that are accessed often, or that affect app startup speed are the sqlite database files and the xml preferences files. These reside in the databases and shared_prefs sub-directories in each app directory. Drafnel has written a script to perform these operations.
Requirements
Samsung Galaxy S based phone (GT-I9000, Vibrant, Fascinate, Captivate, etc.)
Kernel that supports init.d scripts
How to use it?
As you would flash a ROM update or a Kernel:
Download the file to your sdcard.
Reboot your phone into CWM.
Choose 'install zip from sdcard', and choose the script from there.
It will run on boot everytime. It's pretty light so your total boot time shouldn't suffer. It will only do the operations if they are needed, and it will clean up after itself. No need to worry about broken links or stale resources.
What it actually does?
On every boot:
Runs a check to see if /data/data is still symlinked to /datadata/
Moves everything that isn't performance critical from /datadata/ to unlinked /data/data/
Cleans up old databases from uninstalled apps
Other stuff to watch out for
Titanium Backup users should tick the Preferences > Troubleshooting settings > Follow all symbolic links option
SlimICS users should follow this procedure
Changelog
11032012 - First working release.
LOL. I posted a request for exactly this script in the mintberry thread a few days ago!
Good work fella, Cheers.
OMG yeah! Was waiting for something like that . Will give it a try next time I'll encounter this problem .
Thanks mate.
Just flashed it. Cheers!
Sent from my GT-I9000 using xda premium
I had HUGE problems with Titanium Backup.
I lose all by backups some weeks ago because symlinked were corrupted after restore!
Njcki said:
I had HUGE problems with Titanium Backup.
I lose all by backups some weeks ago because symlinked were corrupted after restore!
Click to expand...
Click to collapse
According to this post, you can now force TB to follow all symbolic links for backup and restore.
what if i already moved all my apps data to sdcard? do i move it back to internal memory then flash the script, or just flash the script then move the data to internal memory? which is the correct way?
naTrium said:
According to this post, you can now force TB to follow all symbolic links for backup and restore.
Click to expand...
Click to collapse
Thanks! I'll try
AFAIK, if you have moved your apps to the SD card using the regular method (Apps2SD), the script will still work. This is because there's always leftover data on the phone, which then points to /.android_secure/ on the sdcard.
This script only changes the location of some data, but it's transparent to the phone.
If you don't feel safe about it, a full nandroid backup will restore the system to whatever setup you have now. (it also backs up what's mounted on the sdcard)
Well done! I knew I was never going to get round to this I'll close my old thread and redirect people here. Before I do so:
1) does the stock CM9 kernel support init.d scripts? If not stock kernel users will have to follow the manual method.
2) maybe it's worth putting a capitalised warning in your post to get people to set the option in Titanium Backup to follow all symbolic links
I flashed this script already but the low on space notification is still shown. It's definitely not working.
Do I have to create .nodatadata file inside /datadata and reboot now?
Sent from Ice-Cream flavored SGS GT-I9000 using Tapatalk
Free space in datadata folder,
Before flashing the script = 25mb
After flashing the script = 146mb
Definitely works without any lags.. one might experience lags on the first boot but after another reboot all gonna be super smooth like before!
Thanks a lot!!
It deleted some of my apps like Dolphin HD. I'm running CM9, with IcyGlitch Kernel. Oh well, restored.
Gr8 work
Many Thanks,
i have been waiting for this script ever since Darktremor Apps2SD (2010 !!! )
thank you!!!!!!!!!!!!!!
Great Job!
Excellent, it's very smooth like before, thanks a lot.
aha! that's the reason why all my apps suddenly began to lag like hell and some time after that force close. had only 1MB free space on /datadata partition lol. script works like a charm! thx
Sent from my GT-i9000 using xda premium
stfudude said:
I flashed this script already but the low on space notification is still shown. It's definitely not working.
Do I have to create .nodatadata file inside /datadata and reboot now?
Sent from Ice-Cream flavored SGS GT-I9000 using Tapatalk
Click to expand...
Click to collapse
I heard some kernels don't load init.d scripts on ICS, might be related to that.
finally......
before script 11mb and after got 168mb free space! thanks!
really nice stuff
Hello Folks,
I have just moved from MW CM 5.0 to MW 4.3 (Oxygen) due to some call-delay issue of the first one.
MW 4.3 is quick and with no major bugs. the only bad surprise is the memory availability. Making a Titanium restore of all the previouse app+dada I crashed in the annoying "not enough memory" message.
I imagine that the fact that the M2SD is managed internally change the performance of it (true?). By the way I was playing with the different option trying to gain some space and I came across a new functionality (new for me) such as "bind /data/data to sd-ext/app-data" not really sure what it does but it increased my free internal memory from 12mb to 89mb. GREAT !! the only problem is that the overall speed of the system went drastically down. I guess it s normal as application will read their data from the SD instead of the quicker internal memory. Unfortunately with this option on the whole gsm was not usable anymore.
My question is: Is there any way to free more memory using this ROM? (with a decent GSM's response time)
Thanks for your help
Stefano
stegal said:
Hello Folks,
I have just moved from MW CM 5.0 to MW 4.3 (Oxygen) due to some call-delay issue of the first one.
MW 4.3 is quick and with no major bugs. the only bad surprise is the memory availability. Making a Titanium restore of all the previouse app+dada I crashed in the annoying "not enough memory" message.
I imagine that the fact that the M2SD is managed internally change the performance of it (true?). By the way I was playing with the different option trying to gain some space and I came across a new functionality (new for me) such as "bind /data/data to sd-ext/app-data" not really sure what it does but it increased my free internal memory from 12mb to 89mb. GREAT !! the only problem is that the overall speed of the system went drastically down. I guess it s normal as application will read their data from the SD instead of the quicker internal memory. Unfortunately with this option on the whole gsm was not usable anymore.
My question is: Is there any way to free more memory using this ROM? (with a decent GSM's response time)
Thanks for your help
Stefano
Click to expand...
Click to collapse
Well... that's the only option available on that rom, is to enable and mount sdext, that way it will move apps to the sdcard. I don't think it moves dalvik. Either way, what's your sdcard and class? Usually moving only apps doesn't really slow nothing important unless it's a class 2 card or some card with slower speeds. Even moving dalvik the rom should stay fast IMO. There's a slowdown but not that much.
MidnightDevil said:
Well... that's the only option available on that rom, is to enable and mount sdext, that way it will move apps to the sdcard. I don't think it moves dalvik. Either way, what's your sdcard and class? Usually moving only apps doesn't really slow nothing important unless it's a class 2 card or some card with slower speeds. Even moving dalvik the rom should stay fast IMO. There's a slowdown but not that much.
Click to expand...
Click to collapse
I think that option I used "bind" move app and data to sd-ext. my sd is a class 4.
stegal said:
I think that option I used "bind" move app and data to sd-ext. my sd is a class 4.
Click to expand...
Click to collapse
if u check the attachments for the rom in the development thread, there should be a dalvik2sd.zip there, i think i posted it there ages ago. just flash it in recovery.
Sent from my HTC Desire
dalvik2sd
jmcclue said:
if u check the attachments for the rom in the development thread, there should be a dalvik2sd.zip there, i think i posted it there ages ago. just flash it in recovery.
Sent from my HTC Desire
Click to expand...
Click to collapse
Jm,
I have a comment for you. First while I was looking for you post (could not find it though) I came across something that goes against your post, please read the following
<<
Do a clean installing!
Tips:
To enable Apps2Sdext and/or Data2SdExt visit Settings|Applications|Development.
To set the default installation partition go to Settings|Applications.
To move applications from sd-ext|sdcard|internal Settings|Applications|Manage Applications.
There is no Dalvik2SdExt because .dex will follow the location of the apk, so if you install an application on sd-ext the dex will be on sd-ext, the same applys for internal or sdcard.
Do not use A2sd scripts. >>
So where is the truth. Do I need this script or not. If you can explain me why could you also provide a link to this script?
Thanks in advance
Stefano
il post it later if u want it, im on my phone. u will get more memory
Sent from my HTC Desire
jmcclue said:
il post it later if u want it, im on my phone. u will get more memory
Sent from my HTC Desire
Click to expand...
Click to collapse
The part that confuse me is that "There is no Dalvik2SdExt because .dex will follow the location of the apk, so if you install an application on sd-ext the dex will be on sd-ext, the same applys for internal or sdcard."
I do not understand .. what he is saying, there is not dalvik2Sd and there is not need to have one (something like the A2SD) or there is not dalvik2sd so go ahead to install one.
if you know that the dalvik2sd script can free some space without side effects...pls post it
thanks
stegal said:
The part that confuse me is that "There is no Dalvik2SdExt because .dex will follow the location of the apk, so if you install an application on sd-ext the dex will be on sd-ext, the same applys for internal or sdcard."
I do not understand .. what he is saying, there is not dalvik2Sd and there is not need to have one (something like the A2SD) or there is not dalvik2sd so go ahead to install one.
if you know that the dalvik2sd script can free some space without side effects...pls post it
thanks
Click to expand...
Click to collapse
basically if u check the box to install apps in sd-ext, from "now" on apps will install on sd-ext, but there is aready dalvik cache on ur phone before u check the boxes and thats what the dalvik2sd.zip moves(i think). iv used the zip and has no effect on performance or anything, it just free's up a wee bit of space.
il post the zip in bout 2 hours coz im busy. if u look at the OxyZM thread, click the attachments, the file is there.
Sent from my HTC Desire
jmcclue said:
il post it later if u want it, im on my phone. u will get more memory
Sent from my HTC Desire
Click to expand...
Click to collapse
hi Jmcclue,
I tried to find your post...without result. I found one where you say that it was possible to download "click the wee paper clip", ok now I sound really silly but...where should I click? (no..I am not a blondie even if I sound like it )
F1, F1!!
Stefano
stegal said:
hi Jmcclue,
I tried to find your post...without result. I found one where you say that it was possible to download "click the wee paper clip", ok now I sound really silly but...where should I click? (no..I am not a blondie even if I sound like it )
F1, F1!!
Stefano
Click to expand...
Click to collapse
lol il just upload it
Sent from my HTC Desire
Dalvik to sd for MildWild Oxygen and where the "wee paper clip" is lol (attachments).
md5 - d7ba5d384a78d14e57d293cd877eef7b
jmcclue said:
lol il just upload it
Sent from my HTC Desire
Click to expand...
Click to collapse
...hello jm just coming back to thank you for your support. Finally I have a stable situation. Nevertheless after installing the script you have uploaded nothing changed. I had to factory reset, reinstal CM 4.3, install your script and everthing went smooth. Now it s 2 weeking I am keeping installing new apps and my free memory stay basically stable uner 80mb free space.
I have just one curiosity..if I go to Settings--> storage I see SD-ext "unavailable". After all I do not care much but if it is unavailable...where my apps have been stored so far? ps I reserved 1Gb of SD-ext .
Cheers
ps I just installed another apps of 3mb...no changes in the free space, so cool I feel like "no-limits"
stegal said:
...hello jm just coming back to thank you for your support. Finally I have a stable situation. Nevertheless after installing the script you have uploaded nothing changed. I had to factory reset, reinstal CM 4.3, install your script and everthing went smooth. Now it s 2 weeking I am keeping installing new apps and my free memory stay basically stable uner 80mb free space.
I have just one curiosity..if I go to Settings--> storage I see SD-ext "unavailable". After all I do not care much but if it is unavailable...where my apps have been stored so far? ps I reserved 1Gb of SD-ext .
Cheers
ps I just installed another apps of 3mb...no changes in the free space, so cool I feel like "no-limits"
Click to expand...
Click to collapse
not sure if it's been mentioned, but you should also be on cm7r2 hboot to maximise space (need to be s-off).
then follow the instructions on the first page of the thread to enable sd-ext. this will move user apps + user app dalvik cache to sd-ext. in other words, most of the dalvik cache should already be on sd-ext.
the dalvik2sd script should only move system dalvik cache to sd-ext, which will save you a little space.
to check everything is working, use an app like 'diskusage' to browse your partitions.
Hello guys!
I've recently tried to install a better android version.
Tried different CM10 ROMs. Most of them worked, but discovered that i can't fully use A2SD, Link2SD or Mounts2SD, which turned out to be a big disappointment, so i went back to CM 7.2.0.1.
What's the point of having 4.2.2 if i can only install maximum 10 apps?
A2SD seemed to be pretty good untill I've noticed that i have to reboot every time after i install an app, and on top of that, it would move to ext only a part of the new app..
Question 1:
Am i doing something wrong or what? Is there a way to move the system apps on the ext4 partition like i am doing with the help of Mounts2SD on CM7.2?
Question 2:
I'm using a Class 10 32GB Sandisk Extreme. Is it ok to use 8192kb on CFQ? What do u guys think i should use for the I/O scheduling?
Question 3:
I'm also using V6 Supercharger Script which is awesome!! But sometimes i get lags or the phone freezes. Do u think that this is a script conflict or the I/O schedule is wrong?
Thanks in advance!
My configuration in the ss bellow..
moved to Q&A.
Please do not post in the dev forum unless you are releasing development work.
Sorry, i thought that this was the correct section for my questions.
For app space stuff, see my replies in this similar thread http://forum.xda-developers.com/showthread.php?t=2573306
- Check your sd partition
- You should be on cm7r2 hboot for more efficient use of space