[Q] install apk to sd-ext - Desire Q&A, Help & Troubleshooting

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

Related

adb shell

I have found lots of posts talking about removing stock apps using the adb shell and it all looks very straight forward.
I understand that this will remove the availability of each app on my phone but will it actually free up any phone storage for me to use with new apps?
I need more space to install apps but would rather avoid app2sd so that my phone is still fully functional even if I swap memory cards about.
TIA
No it will not stock apps are stored on the /system partition along with the system, while the storage for user installed apps is on the separate /data partition. Those both have fixed sizes.
mortenmhp said:
No it will not stock apps are stored on the /system partition along with the system, while the storage for user installed apps is on the separate /data partition. Those both have fixed sizes.
Click to expand...
Click to collapse
Thanks, I thought that may be the case. Oh well, I'll either have to uninstall some other apps or start using apps2sd!
You could move some apps from /data/app to /system/app
This could save you some space.
mercianary said:
You could move some apps from /data/app to /system/app
This could save you some space.
Click to expand...
Click to collapse
Could you explain how I'd do that, please?
i thought adb could be used to remove preinstalled aps?
elziko said:
Could you explain how I'd do that, please?
Click to expand...
Click to collapse
well use the shell command:
"mv /data/app/appname.apk /system/app/appname.apk"
this will move the file "appname.apk," which you just change to the file you want to move, to the system partition into the app folder.
i thought adb could be used to remove preinstalled aps?
Click to expand...
Click to collapse
It can please read the topic again. Noone stated otherwise. It just wont free up space for new apps, because they are not installed in the same location.
mortenmhp said:
It just wont free up space for new apps, because they are not installed in the same location.
Click to expand...
Click to collapse
thus it's a bit pointless?
If you have s-off you could just cut and paste the apk's over with estrongs or rootexplorer or something. That's how I did it. I moved flash, maps, and a few other apps that don't update frequently. It's a bit pointless now though as I am using the n1 partition table which I highly recommend if your using an aosp rom.
mercianary said:
If you have s-off you could just cut and paste the apk's over with estrongs or rootexplorer or something. That's how I did it. I moved flash, maps, and a few other apps that don't update frequently. It's a bit pointless now though as I am using the n1 partition table which I highly recommend if your using an aosp rom.
Click to expand...
Click to collapse
does flash work now you moved it? did you not have to move all the .lib files aswell
AndroHero said:
does flash work now you moved it? did you not have to move all the .lib files aswell
Click to expand...
Click to collapse
Apparently it doesn't, I just tried it and no joy...maybe I should just delete it if I didn't notice it wasn't working. lol.
mortenmhp said:
well use the shell command:
"mv /data/app/appname.apk /system/app/appname.apk"
this will move the file "appname.apk," which you just change to the file you want to move, to the system partition into the app folder.
It can please read the topic again. Noone stated otherwise. It just wont free up space for new apps, because they are not installed in the same location.
Click to expand...
Click to collapse
Can I do all these without rooting my phone. I'm on branded O2 froyo HTC desire. Pls tell me.
Sent from my HTC Desire using XDA App
scorror said:
Can I do all these without rooting my phone. I'm on branded O2 froyo HTC desire. Pls tell me.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Oh please.. No of course not. The entire purpose of rooting is to get this kind of control over your phone.
Can I then root and still maintain my ' O2 brandness' or I need to debrand 'cos I don't install a custom Rom
Sent from my HTC Desire using XDA App

[PATCH] serious bug in LeeDroids automatic zipalignment

Hi!
I found a serious bug in LeeDroids automatic zipalignment that potentially damages installed apk files:
The 97zipalign script does not check the return code of zipalign.
So if aligning fails for some reason, the damaged result is used and copied back to /data/app!
This happens for example, if there is not enough free space on /cache.
For Data++ users, /cache is only 5 MB, which is insufficient for quite a few bigger apps like Documents To Go, Angry Birds, Viber or Camscanner!!!
Those apps will be corrupted after the first reboot, causing them to disappear from the laucher!
But also on non-Data++ installations /cache could be full or there could be other reasons for zipalign to fail.
I have added two fixes for that problem:
zipalign-fix.zip contains a patched version, that skips overwriting the original .apk file if zipaligning failed. (The diff is also included.)
cache2sd contains an initscript that bind-mounts /cache to /system/sd/cache. This is necessary for zipalign to work on Data++ installations.
Cheers,
leo
P.S.: I know that this post would better fit to the devel forum but unfortunately I am not allowed to post there... :-(
Hmm, I'm on data++ with a cache of only 5mb. I never get a problem with automatic zipalign, even with big apps like angry birds. In leedroid ROMs the cache is moved to a ramdisk with a few changes in init.rc.
Edit: posted a link to this thread in the leedroid 3.3.x thread...
Sent from my HTC Desire using XDA App
anderl78 said:
Hmm, I'm on data++ with a cache of only 5mb. I never get a problem with automatic zipalign, even with big apps like angry birds. In leedroid ROMs the cache is moved to a ramdisk with a few changes in init.rc.
Edit: posted a link to this thread in the leedroid 3.3.x thread...
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Maybe, however, I've seen a couple of users complaining of missing apps, and their problem being solved by removing the zipalign script, as far as I remember.
It happens on other ROMs too, gonna post the link in related thread. Thanks, I had that issue a couple of times and the only way out was to erase zipalign.
el.mariachi said:
Hi!
***
* zipalign-fix.zip contains a patched version, that skips overwriting the original .apk file if zipaligning failed. (The diff is also included.)
* cache2sd contains an initscript that bind-mounts /cache to /system/sd/cache. This is necessary for zipalign to work on Data++ installations.
Click to expand...
Click to collapse
Please advise:
1. If one has Data++, does one flash zipalign-fix followed by cache2sd, without rebooting in between?
2. Is cache2sd necessary for roms which have ramdisk for cache\ like LeeDroid?
Thank you!
s300pmu1 said:
2. Is cache2sd necessary for roms which have ramdisk for cache\ like LeeDroid?
Thank you!
Click to expand...
Click to collapse
Could it perhaps work on other roms which don't have a ramdisk?
s300pmu1 said:
Please advise:
1. If one has Data++, does one flash zipalign-fix followed by cache2sd, without rebooting in between?
2. Is cache2sd necessary for roms which have ramdisk for cache\ like LeeDroid?
Thank you!
Click to expand...
Click to collapse
Hello!
1. Both zip-files are not flashable. They contain the scripts. If you want to use them, you have to use root explorer... Setting the right permissions should be necessary too...
2. I don't know exactly, but I think not. Init.rc should be executed early enough to prevent us from the described problem. But that's only my guess, could not say exactly - perhaps somebody other know more? If its not as I guess, why my angry birds get zipaligned without problem? ;-)
Sent from my HTC Desire using XDA App
anderl78 said:
Hmm, I'm on data++ with a cache of only 5mb. I never get a problem with automatic zipalign, even with big apps like angry birds. In leedroid ROMs the cache is moved to a ramdisk with a few changes in init.rc.
Click to expand...
Click to collapse
On my LeeDroid V3.3.3 R5, /cache doesn't reside on a ramdisk:
Code:
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)
I think you are mixing this up with /app-cache, which in fact is a ramdisk...
Maybe you remounted /cache yourself and that's why large apps don't cause a problem on your installation.
Or maybe your angrybirds version is already zipaligned, so the zipalign check
Code:
zipalign -c 4 "$apk"
will return true (0) and the if clause won't be executed...
btw every app from the market should be zipaligned...even when i built some android apps with ecplise, the exported apk is already zipalign
why someone should create a non zip aligned apk? maybe some themed app from a bad dev? some framework apk from the uot kitchen??
el.mariachi said:
On my LeeDroid V3.3.3 R5, /cache doesn't reside on a ramdisk:
Code:
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)
I think you are mixing this up with /app-cache, which in fact is a ramdisk...
Maybe you remounted /cache yourself and that's why large apps don't cause a problem on your installation.
Or maybe your angrybirds version is already zipaligned, so the zipalign check
Code:
zipalign -c 4 "$apk"
will return true (0) and the if clause won't be executed...
Click to expand...
Click to collapse
Hello!
Angry birds is from market...
App cache is right, I'm talking from a other thing.
I looked into it a lil bit. The code in init.rc moves the market download (download cache) to a ramdisk - Nothing more.
The 97zipalign script uses /cache to do its work.
Cause of this, I think you are totaly right. The download cache doesn't affect /cache itself. The space there could be to low. If /cache is to low, zipalign could fail. The error caused by this (you described it in op) could end in unusable app...
I could only say, thanks for this! I will try the scripts, even if I have no problems here.
Sent from my HTC Desire using XDA App
andQlimax said:
btw every app from the market should be zipaligned...even when i built some android apps with ecplise, the exported apk is already zipalign
why someone should create a non zip aligned apk? maybe some themed app from a bad dev? some framework apk from the uot kitchen??
Click to expand...
Click to collapse
Yep, but a few user reported issues with installed apps after a restart. Removing the zipalign script cured it. No comment about devs and not zipaligned apps ;-)
Sent from my HTC Desire using XDA App
Just tested it, works as it should.
Is it ok for you, if I post a flashable zip?
Sent from my HTC Desire using XDA App
anderl78 said:
Just tested it, works as it should.
Is it ok for you, if I post a flashable zip?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
This would be great if we can have flashable zip. I know I am facing the problems with few of the apps I installed and they will disappear once rebooted.
Looking forward for the flashable zip files to install them on my desire.
anderl78 said:
Just tested it, works as it should.
Click to expand...
Click to collapse
Glad to hear that.
anderl78 said:
Is it ok for you, if I post a flashable zip?
Click to expand...
Click to collapse
Yes, of course. Feel free to create a zip!
Thanks,
leo
el.mariachi said:
Hi!
I found a serious bug in LeeDroids automatic zipalignment that potentially damages installed apk files:
The 97zipalign script does not check the return code of zipalign.
So if aligning fails for some reason, the damaged result is used and copied back to /data/app!
This happens for example, if there is not enough free space on /cache.
For Data++ users, /cache is only 5 MB, which is insufficient for quite a few bigger apps like Documents To Go, Angry Birds, Viber or Camscanner!!!
Those apps will be corrupted after the first reboot, causing them to disappear from the laucher!
But also on non-Data++ installations /cache could be full or there could be other reasons for zipalign to fail.
I have added two fixes for that problem:
zipalign-fix.zip contains a patched version, that skips overwriting the original .apk file if zipaligning failed. (The diff is also included.)
cache2sd contains an initscript that bind-mounts /cache to /system/sd/cache. This is necessary for zipalign to work on Data++ installations.
Cheers,
leo
P.S.: I know that this post would better fit to the devel forum but unfortunately I am not allowed to post there... :-(
Click to expand...
Click to collapse
Would you kindaly take a look at the ACEMOD007 Rom please, it also suffers from the same bug.. but im not a 100% sure what to change.
I also think where /system/sd is the SD CARD, on ACEMOD its on /SDCARD
It was driving me nuts Apps vanishing, until i saw this post
thanks.
flashable zipfile
flashable zipfile containing the fixed zipalign-script and the new cache2sdext-script. Simple flash it in recovery
thanks to el.mariachi for this!
Thanks. Works like a charm
Problem here!
Zipaligning com...apk FAILED (rc:1)
darkpain said:
Problem here!
Zipaligning com...apk FAILED (rc:1)
Click to expand...
Click to collapse
This is, of course, not a problem of the zipalign script.
com...apk is, according to the garbled filename, most likely not a valid apk file and thus zipalign will fail when trying to process it.
The only difference to the old zipalign is that the error is now detected. The old script just silently ignored the return code.
Cheers,
leo
Thanks so much for this! I was going crazy as my installation of Swype would vanish every time I rebooted my phone... flashing this has solved the problem.

[Q] How to know Data++ is working?

Hi,
I have just flash my desire with Revolution 3.0 ROM.
before that i made the partition on ext4 using Gparted.
I have checked using this info:
D. How to check if it worked?
To check whether A2SD is working once you've flashed your ROM,
1)Download Quick System Info from the Market, and check under A2SD Storage, it should give you enough informations.
2)download the Android Terminal Emulator app from the market and use the following commands
Code:
su
ls -l /data
You should see your app directory pointing to /system/sd/app and app-private pointing to /system/sd/app-private (courtesy of ikkokusenkin)
Click to expand...
Click to collapse
From here: http://forum.xda-developers.com/showpost.php?p=7279872&postcount=3
On the Quick System Info, it shows A2SD Storage with a total 1,95Gb and 1.49Gb free. So i think that is ok.
But, on the terminal, it shows the app directory pointing to /system/sd/app but the app-private does not point to the sd.
Is that normal?
Do i need to worry about the app-private redirection?
Thanks
Hello!
That's ok. You are able to access the content of the SD-ext partition with /system/sd/
The /app-private folder is originally located in /data. But usually it is moved to SD-ext too - but this is a thing the ROM-developer can change like he wants. I think, it would be a good idea to ask him to this.
You don't need to be worried about this. Apps which are located there are simply stored completely in NAND.
Sent from my An-Droid loaded Desire
anderl78 said:
Hello!
That's ok. You are able to access the content of the SD-ext partition with /system/sd/
The /app-private folder is originally located in /data. But usually it is moved to SD-ext too - but this is a thing the ROM-developer can change like he wants. I think, it would be a good idea to ask him to this.
You don't need to be worried about this. Apps which are located there are simply stored completely in NAND.
Sent from my An-Droid loaded Desire
Click to expand...
Click to collapse
Thanks, after a while and after reading a lot i realise that i didn´t change the hboot into Data++ and that is a requirement for the revolution 3.0 version.
So now i am updating the radio, updating the hboot and after i will flash the rom again.
So thats the reason that the rom is not working properly.
I will update this if something goes wrong.

[Q] Manually transfer certain app to the sd-ext (ext3/4) ?

Just wondering is there any way to manually transfer certain app to the sd-ext (ext3/4).
Any hidden setting or tweak in S2E ?
I am using S2E but it moves all your applications to sd-ext and don’t let you choose the applications that you want to move.
I only want to move games,unimportant,less frequent used or non background applications to sd-ext.I think launchers and some other apps just run better or need to be in the internal memory for max performace and to minimize battery drain.
Is there any way to get around ?
if it is moving all your apps and you want to move certain apps back then you could use an app called system cleanup. its a really useful app,once its loaded its as simple as long pressing the desired app and choosing your option. titanium backup also does the same and has a batch mode. not sure if this is what your looking for or not?
edit: miss read your post,so i dont think this will move to sdext? but may come in useful
R.V.3 (MokeeOs)
slymobi said:
if it is moving all your apps and you want to move certain apps back then you could use an app called system cleanup. its a really useful app,once its loaded its as simple as long pressing the desired app and choosing your option. titanium backup also does the same and has a batch mode. not sure if this is what your looking for or not?
edit: miss read your post,so i dont think this will move to sdext? but may come in useful R.V.3 (MokeeOs)
Click to expand...
Click to collapse
As far as i understand "system cleanup" will move certain apps to "/system".That is not what we did MTD partiton for.
The problem is when you install an app,S2E moves it to sd-ext(ext3/4) and don’t let you choose the applications that you want to move.I want to manually transfer the app either to"/sd-ext" or "/sdcard" or just keep it in internal memory(/system).
e.g. App A in system
App B in /sd-ext
App C in /sdcard
optimusodd said:
As far as i understand "system cleanup" will move certain apps to "/system".That is not what we did MTD partiton for.
The problem is when you install an app,S2E moves it to sd-ext(ext3/4) and don’t let you choose the applications that you want to move.I want to manually transfer the app either to"/sd-ext" or "/sdcard" or just keep it in internal memory(/system).
e.g. App A in system
App B in /sd-ext
App C in /sdcard
Click to expand...
Click to collapse
Not sure if you confuse something? Apps on sd?
And yes, you're right: s2e doesn't let you pick individual apps - but... I believe that's a good idea thinking about performance (just my opinion, though).
Any time I have the feeling an app should be in internal I'd push it to system (usually i won't run out of space there as i strip a lot of bloat out). This makes even more sense to me than using two data partitions (what you would have when selectively moving apps to sd or vice versa).
All my user apps and dalvik-cache are on sdext (so there's no need for the OS to search and less possibility to struggle). I use custom mtd partitions, too, but the internal data partition isn't useless as there's still a lot of app data...
But like i said: just my opinion ymmv.
Swyped from my HTC Wildfire (Buzz)
eventcom said:
Not sure if you confuse something? Apps on sd?
And yes, you're right: s2e doesn't let you pick individual apps - but... I believe that's a good idea thinking about performance (just my opinion, though).
This makes even more sense to me than using two data partitions (what you would have when selectively moving apps to sd or vice versa)All my user apps and dalvik-cache are on sdext (so there's no need for the OS to search and less possibility to struggle).
Click to expand...
Click to collapse
Nope,I am not confused.I want to manually move selected apps to
>Internal data partition
>SD-ext(ext3/4)
>SD Card(like APP2SD let you choose the apps you want to transfer to external storage)
In short,moving only select apps to the ext-3/4 partition.
The more system related stuff you move to the SD ext, the more information it needs to pull out from the SD Card.
As i said some critical apps need to be in the internal memory for stability and performance reasons while it's better to keep some heavy apps like Offline maps or Dictionaries to external memory (FAT32 partiton).
Any time I have the feeling an app should be in internal I'd push it to system (usually i won't run out of space there as i strip a lot of bloat out).
Click to expand...
Click to collapse
I don't want to push apps to system as it's size is 140 MB and out of that 23 MB is free i.e you can't push more than 2-3 apps.And if you really want,you will have to change your MTD partiton again and again.
I use custom mtd partitions, too, but the internal data partition isn't useless as there's still a lot of app data.
Click to expand...
Click to collapse
As S2E moves all your apps to sd-ext and don't let you choose whether you want to move or just keep in internal data partition.Whta's the use of internal memory and SD-Card meory.My internal data partition is 310 MB.I don't think the app data can fill even half of it.Moreover 512 MB of SD-ext will get filled very soon.Well,I don't care about running about of space as I can increase the size of ext partiton,I just want it to let me choose the apps that I want to move.
Any idea ?
Thanks
optimusodd said:
Nope,I am not confused.I want to manually move selected apps to
>Internal data partition
>SD-ext(ext3/4)
Click to expand...
Click to collapse
I got that well but this one
optimusodd said:
>SD Card
Click to expand...
Click to collapse
is not a good idea in my eyes (and from my experience).
FAT32 might be good to store some data (nothing db related or where apps are writing onto very often)
optimusodd said:
The more system related stuff you move to the SD ext, the more information it needs to pull out from the SD Card
Click to expand...
Click to collapse
and that's where I think you are at least a bit wrong... an external partition (ext2,3 or 4) is treated just the same way like /data and /system. Of course it might be a bit slower than partitions on the internal drive (and have some faults or instabilities) but it's still a system partition while the FAT32 part of the SD card uses a different format (which will definitely affect performance).
I don't want to push apps to system as it's size is 140 MB and out of that 23 MB is free i.e you can't push more than 2-3 apps.And if you really want,you will have to change your MTD partiton again and again.
Click to expand...
Click to collapse
nah, I don't think so - you just do it once and keep in mind that you want to push a few apps there (me for instance deletes a lot of stuff from the ROM, too... if I'm not mistaken that's more than I push back there)
As S2E moves all your apps to sd-ext and don't let you choose whether you want to move or just keep in internal data partition.Whta's the use of internal memory and SD-Card meory.My internal data partition is 310 MB.I don't think the app data can fill even half of it.
Click to expand...
Click to collapse
My current stats (total/used in MB):
015/001 cache
300/249 data (= 83%)
960/368 ext
150/113 system
But I must confess that I didn't care to clean up my system recently...
Is link2sd something for u? It transfers individuale apps to and from the sd-ext partition.
Verstuurd van mijn HTC Wildfire
Hazou said:
Is link2sd something for u? It transfers individuale apps to and from the sd-ext partition.
Verstuurd van mijn HTC Wildfire
Click to expand...
Click to collapse
I use the same link2sd and it works perfectly: it's easy to decide what applications to move to sd-ext or to keep into the internal memory.
stiven68 said:
I use the same link2sd and it works perfectly: it's easy to decide what applications to move to sd-ext or to keep into the internal memory.
Click to expand...
Click to collapse
Is link2sd something for u? It transfers individuale apps to and from the sd-ext partition.
Verstuurd van mijn HTC Wildfire
Click to expand...
Click to collapse
Yep,link2sd can do the job but it could be better if S2E provides the same feature and let us choose the apps that we want to move.
Well,after a long forum research i have reached a conclusion that link2sd is way better than S2E.
eventcom said:
I got that well but this oneis not a good idea in my eyes (and from my experience).FAT32 might be good to store some data (nothing db related or where apps are writing onto very often)
Click to expand...
Click to collapse
Yep,i did mean dictionary and maps.
And here comes link2sd to your rescue :
It also provides native apps2sd features on Android 2.2 and higher. It can move any non-protected user apps to SD card (force move), with batch moving capability.
me for instance deletes a lot of stuff from the ROM, too... if I'm not mistaken that's more than I push back there
Click to expand...
Click to collapse
Did you use TB to remove bloatwares and other unnecessary stuff ?
optimusodd said:
Yep,i did mean dictionary and maps.
And here comes link2sd to your rescue :
It also provides native apps2sd features on Android 2.2 and higher. It can move any non-protected user apps to SD card (force move), with batch moving capability.
Did you use TB to remove bloatwares and other unnecessary stuff ?
Click to expand...
Click to collapse
nah, most of the time manual edit. Best practice would be to do the testing by removing the apps one by one and if you're done delete them from the ROM zip and use this as your barebone (and remember which apps are safe to remove).
Btw there are a few good hints of Slymobi and me in the LeWa thread (regarding CM7) which could be seen as an update for the barebones entry in the cyanogenmod wiki.
Swyped from my HTC Wildfire (Buzz)
optimusodd said:
Yep,link2sd can do the job but it could be better if S2E provides the same feature and let us choose the apps that we want to move.
Well,after a long forum research i have reached a conclusion that link2sd is way better than S2E.
Click to expand...
Click to collapse
I dont think link2sd is way better. The just do 2 different things.
Link2sd lets u manually push or pull apps to ext. So after each new app install u need to push the app again. It is only useful when u only want a couple of ur apps to ext. It works nice if u dont want to have every app on ext.
S2E will transfer all apps, data and / or dalvik to ext. So u always have enough internal memory. This works especially well when u transfer the apps to ext, but the data not.
They are both very goods apps. U cant compare them to each other, i think. It is just what u want at that moment
eventcom said:
nah, most of the time manual edit. Best practice would be to do the testing by removing the apps one by one and if you're done delete them from the ROM zip and use this as your barebone (and remember which apps are safe to remove).
Click to expand...
Click to collapse
I have never tried barebone install lol.Have you tried one ?I use TB to remove them.Using terminal emulator is another option.
there are a few good hints of Slymobi and me in the LeWa thread (regarding CM7) which could be seen as an update for the barebones entry in the cyanogenmod wiki.Swyped from my HTC Wildfire (Buzz)
Click to expand...
Click to collapse
Can you share the link of your post ?
Hazou said:
Link2sd lets u manually push or pull apps to ext. So after each new app install u need to push the app again. It is only useful when u only want a couple of ur apps to ext. It works nice if u dont want to have every app on ext.
Click to expand...
Click to collapse
It's possible to set link2sd to automatically move every new app to sd-ext just after the installation and then manually move back to the internal memory if necessary.
stiven68 said:
It's possible to set link2sd to automatically move every new app to sd-ext just after the installation and then manually move back to the internal memory if necessary.
Click to expand...
Click to collapse
Yep i know ,
But then i dont see the point of using it, because s2e is already build into CM sort of (just need to download the interface). And with link2sd u get a massive script thats needs to be loaded. Not that it will slow down the device very much.
And with my device, link2sd sometimes wont load all the apps. But that is my experience.
Hazou
Hazou said:
Yep i know ,But then i dont see the point of using it, because s2e is already build into CM sort of (just need to download the interface). And with link2sd u get a massive script thats needs to be loaded. Not that it will slow down the device very much.
And with my device, link2sd sometimes wont load all the apps. But that is my experience.
Click to expand...
Click to collapse
Here is why link2sd is better and we want to use it :
>It let us choose the apps we want to move.
>I don't want to move launchers and some other apps due to stability reasons.
>S2E moves and regenrates too much of a cache.
>S2E works only for CM roms
>link2sd provides better control
>some users have reported the issue that after sometime the apps starts to disappear in S2E.
>S2E doesn't work with Titanium Backup properly.
>S2E creates problems during Nandroid backup.I approve that.
>S2E only supports ext3/ext4
>In worst case scenario (card crash) you are gonna bang your head on the wall as it moves everything to sd ext partition.
>In S2E you can't use any application while your card is mounted as a removable disk on your PC.
Other features of link2sd :
Features:
- Create and remove link for apk, dex and lib files of the applications you select
- Automatically link newly installed apps
- Move any user apps to SD even though the app does not support moving to SD (for Android 2.2 and higher)
- Shows the apps that support moving to SD with native apps2sd (for Android 2.2 and higher)
- Set the default install location of the apps; auto, internal, or external (for Android 2.2 and higher)
- Batch link, unlink, reinstall, uninstall, "move to SD", "move to phone" functions (multi-select mode)
- Uninstall system applications
- Freeze and un-freeze system and users applications
- Convert system apps into user apps
- Convert user apps into system apps
- Integrate "Updated" system apps into system (ROM)
- Clear data and cache of the application
- Clear all apps cache at once (1-tap cache cleaner without being root)
- List applications, show detailed size information and link status
- Sort and filter applications
- Search applications by name
- Display available space information of internal storage, SD card and SD card 2nd partition
Click to expand...
Click to collapse
Guess enough reasons to go with link2sd:silly:
optimusodd said:
Here is why link2sd is better and we want to use it :
>It let us choose the apps we want to move.
>I don't want to move launchers and some other apps due to stability reasons.
>S2E moves and regenrates too much of a cache.
>S2E works only for CM roms
>link2sd provides better control
>some users have reported the issue that after sometime the apps starts to disappear in S2E.
>S2E doesn't work with Titanium Backup properly.
>S2E creates problems during Nandroid backup.I approve that.
>S2E only supports ext3/ext4
>In worst case scenario (card crash) you are gonna bang your head on the wall as it moves everything to sd ext partition.
>In S2E you can't use any application while your card is mounted as a removable disk on your PC
Click to expand...
Click to collapse
nothing wrong using link2sd - everybody has a different setup and different priorities. So just to tell you a different point of view: In my opinion moving apps from the stable and fast internal storage to an external partition is not a good solution at all - but if you aren't satisfied with installing just a hand full of user apps this is the only way to go. In opposite to your opinion i believe (and have the experience) that spreading the user apps onto two partitions (plus the system apps on the system partition) definitely is not more stable than just moving all apps in one place. To me this makes sense as the system needs more information about the app (where to find). It's like having two /data/app directories... I'm pretty much satisfied with my setup (s2e) and didn't have any major issues for one and a half year. I can't confirm any issues regarding cache or "lost apps". The only thing i experienced twice was the system forgot about the ext partition (which could happen with every other solution, too, afaik and hasn't been much trouble to solve).
Furthermore i really believe that the best place for the important stuff, like launcher and file manager, is in /system/app ...
But again: nothing wrong with different prefs...
Swyped from my HTC Wildfire (Buzz)

[Q] Mildwild 4.3 (Oxygen) bind sd-ex

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.

Categories

Resources