Link2SD - Whats the fastest way? - Desire General

Hey,
I have cm7. 2 and use link2sd.
I have moved anything to sd (apk, lib, dalvik) and now i have 80mb free.
Which of them should be on internal to make the apps starting fastest? Libs, apk or dalvik?
Metin

It would be dalvik cache and libs i believe.

And which is better??

s2e script/app work very well with CM rom, why are youn using link2sd? I think it's better to move to s2e, and in app menu choose not to move /data/data. Everything else is ok. If your phone doesn't work smooth enough move back on internal memory dalvik-cache.

On cm7. 2 it doesnt worked, ok i move dalvik back

Qizami said:
s2e script/app work very well with CM rom, why are youn using link2sd? I think it's better to move to s2e, and in app menu choose not to move /data/data. Everything else is ok. If your phone doesn't work smooth enough move back on internal memory dalvik-cache.
Click to expand...
Click to collapse
I've used s2e and now I'm using Link2SD so I can have more control of what goes to the EXT partition. Unlike S2E which moves ALL apps to the ext partition by default, with link2sd I can choose what apps I wanted to reside on the internal that means I can have my frequently used app's dalvik files on the internal while having my other apps dalvik on the ext. You can't do that with s2e. It's basically all or nothing.
If you would want something that you have to set up once and forget, s2e would be the best choice.

Related

[Q] How to move Dalvik-Cache to SD ?

guys, how can i move my dalvik-cache to my sd card?
my rom rom supports a2sd+ but for some reason it's still in the phones internal memory.
thanks
i need help too..
aycynokia said:
i need help too..
Click to expand...
Click to collapse
i need help with this too
just instal AceS v1 from coolex and free internal phone mem is only 28MB
casca said:
guys, how can i move my dalvik-cache to my sd card?
my rom rom supports a2sd+ but for some reason it's still in the phones internal memory.
thanks
Click to expand...
Click to collapse
have you partitioned your sd card correctly?
http://forum.xda-developers.com/wiki/index.php?title=SD_card_partitioning
check your roms original thread to see what sort of partition you need.
which ROM do you have... and was A2SD+ part of the ROM, or sth you added?
I think I read somewhere that some A2SD+ implementations don't move the Dalvik cache over to SD. The (easiest) method to add dalvik to SD likely depends on the A2SD implementation.
Use S2E , download it from Market.
thanks.
what is better for a2SD, ony ext3 or ext3 and swap???
The a2sd script in Cool's AceS v1 does move the dalvik cache to the sd card, so most likely the card isn't formatted correctly. I suggest you use gparted or a similar tool to format your card like this: first the FAT partition, then the ext 2/3 one (note that some roms require you to have an ext 4 partition, but this is not the case of AceS; anyway, make sure you read the thread thoroughly before flashing). Also, make sure the ext partition is no larger than 2048 MB (i.e. 2 GB), since you might experience market problems. Swap is not used by most roms you'll want to flash these days, so don't worry about it too much, unless the thread mentions so.
Just to mention, S2E is only for cyanogen mod, as it's stated in the app's description, so don't use it with other roms (which have other a2sd scripts). Also, before formatting, don't forget to backup your data
Good luck!
Warm up
Hello guys!
i'm new here just want to say that it's probably the best site for modding.
I have a desire with Ginger sense ROM.
Link2sd is free on the market. Uses ext and fat partitions. I have link2sd on my Kyocera Zio m6000 which only has a total of 180mb in data and I have 137mb free. Link2sd allows you to create a symbolic link for app data dalvik-cache and lib files of the app you want to move to SD. Plus with the symbolic links you get to keep your Widgets.
Sent from my Zio using XDA Premium App
Dalvik Cache will take up space on "Internal storage" by default on some A2SD + ROMs, but it can be moved
You can move this by running "terminal emulator" from the market and typing:
Code:
su
a2sd cachesd
or with adb:
Code:
adb shell
a2sd cachesd
Click to expand...
Click to collapse
please note that davebugyi's suggestion only works if you're using the Darktremor a2sd script

Laggy Desire while opening apps

Hey,
I have extremely annoying issue on my Desire. Everytime I am opening an app there is a delay between tapping the icon and displaying app (full loaded screen of the app). Sometimes it takes 3-5 seconds. You can imagine how bothering it is. I found out that when I do full wipe it is great again but it takes less then two three days and lags are back. The biggest dealy has Handcent, Gallery, etc. Sometimes opening settings is laggy too.
Any idea how to get rid of this lags? I think it started some time after rooting my phone. Could be the problem the number of apps installed on a2sd storage? I have currently 106 apps.
I am really desperate! I love Android but this is not the user experinece I would expect from such a system and such a smartphone!!
I use GingerVillain 2.7 based on CM7. I used CM7 before and it was the same.
Do you use software like setcpu to control the cpu frequency or using scripts/software to control the voltage?
MatDrOiD said:
Do you use software like setcpu to control the cpu frequency or using scripts/software to control the voltage?
Click to expand...
Click to collapse
I used JuiceDefender but I had this problem before I use it. There is also some performance settings in CM7-settings. Do you think the problem is somewhere in CPU settings?
I don't think so. Given the fact that after a wipe it works fine, I'd put my money on your davlik cache. As it grows bigger in size, combined with probably low class sd card, it gets slower. You have some tips&tricks how to move davlik to /data in the development section. Or simply buy a faster sd card.
erklat said:
I don't think so. Given the fact that after a wipe it works fine, I'd put my money on your davlik cache. As it grows bigger in size, combined with probably low class sd card, it gets slower. You have some tips&tricks how to move davlik to /data in the development section. Or simply buy a faster sd card.
Click to expand...
Click to collapse
I have Kingston 16GB class4. I know that class4 is not the biggest number but I read that Kingston is as fast as some other cards class6 and that in fact it is not necessary to have so speed card This is a new want I don't really want to pay for another one...
Move dalvik to /data? Do you think this helps? And a2sd storage will work the same way?
devcager said:
I have Kingston 16GB class4. I know that class4 is not the biggest number but I read that Kingston is as fast as some other cards class6 and that in fact it is not necessary to have so speed card This is a new want I don't really want to pay for another one...
Move dalvik to /data? Do you think this helps? And a2sd storage will work the same way?
Click to expand...
Click to collapse
Moving dalvik cache to internal /data partition often solves perfomance problems. That's why some developers do not move it to sd.
It won't disturb the working of a2sd, because has two different versions:
A2SD: All apps you install will be automatically moved to sd-ext
A2SD+: All apps you install plus dalvik cache will be automatically moved to sd-ext.
So when you move dalvik cache to /data, you are using "only" a2sd, but it's still working the same way.
But before this I would try wether wiping dalvik cache in recovery solves your problem.
MatDrOiD said:
Moving dalvik cache to internal /data partition often solves perfomance problems. That's why some developers do not move it to sd.
It won't disturb the working of a2sd, because has two different versions:
A2SD: All apps you install will be automatically moved to sd-ext
A2SD+: All apps you install plus dalvik cache will be automatically moved to sd-ext.
So when you move dalvik cache to /data, you are using "only" a2sd, but it's still working the same way.
But before this I would try wether wiping dalvik cache in recovery solves your problem.
Click to expand...
Click to collapse
Oh. Thanks! I will try! But I am afraid that I tried an app moving dalvik in the past and my phone got extremely laggy and buggy. Maybe it was not compatible app with my ROM
As I said when I do full wipe (so wiping dalvik as well) it is quick several days but then it gets back to laggy phone.
GV 2.7 - I have dalvik cache on Internal memory with Cm7r2 Hboot - no delays like you have, instead instant opening.
You can move it easily by using any terminal (I have better Terminal Emulator Pro).
Commands:
a2sd cachesd - moves Dalvik to SD
a2sd cachesdreset - moves Dalvik to SD, but firstly it wipes it.
a2sd nocache - moves Dalvik to Internal NAND.
a2sd nocachereset - moves Dalvik to Internal, but firstly it wipes it.
Personally, I prefer the "reset" commands.
davebugyi said:
GV 2.7 - I have dalvik cache on Internal memory with Cm7r2 Hboot - no delays like you have, instead instant opening.
You can move it easily by using any terminal (I have better Terminal Emulator Pro).
Commands:
a2sd cachesd - moves Dalvik to SD
a2sd cachesdreset - moves Dalvik to SD, but firstly it wipes it.
a2sd nocache - moves Dalvik to Internal NAND.
a2sd nocachereset - moves Dalvik to Internal, but firstly it wipes it.
Personally, I prefer the "reset" commands.
Click to expand...
Click to collapse
And when it is not enough space on internal??
devcager said:
And when it is not enough space on internal??
Click to expand...
Click to collapse
Change your partition table. With aosp rom you waste almost 150mb on /system. That is one hefty davlik with 110 apps approximately.

ROM for app junkies?

looking to install over 150 apps, any ROM recommendations?
Sent from my HTC Desire using Tapatalk 2
You can do it with pretty much every ROM which supports cm7r2 hboot + a2sd solution. (apps + dalvik on SD)
Or basically any ROM with int2ext+ though it has some impact on performance.
k3lcior said:
You can do it with pretty much every ROM which supports cm7r2 hboot + a2sd solution. (apps + dalvik on SD)
Or basically any ROM with int2ext+ though it has some impact on performance.
Click to expand...
Click to collapse
@k3lcior: I do not understand the difference between a2sd (apps + dalvik) and int2ext+. They both would free up the same amount of space I guess. Is the diff in internal implementation? Is there a diff in performance?
A2sd + dalvik2sd only moves apps and dalvik cache to sd-ext, leaving data on internal, therefore being faster.
Int2sd+ mounts sd-ext as /data, and moves all data to sd, being slower, depending on your sd-card. Usually class 4 or above cards recommended here.
abaaaabbbb63 said:
A2sd + dalvik2sd only moves apps and dalvik cache to sd-ext, leaving data on internal, therefore being faster.
Click to expand...
Click to collapse
It is dalvik cache that impacts performance. Whether you leave app-data on internal or no matters not.
Sent from my HTC Desire using Tapatalk 2
Yea...but still, int2sd+ is slower.
Almost every rom can do that. Latest rom based on oxygen like Nikez have all on ext except data, so you have 2 GB internal memory if proper pre-configured, no need to move anything to SD just install them and don`t touch. how to do that:
To enable Apps2Sdext and/or Data2SdExt visit Settings|Applications|Development. ((((My suggestion is don`t enable Data2SdExt! that can be slow)))
To set the default installation partition go to Settings|Applications. (set SD-EXT) If you already installed some soft just wait on next boot until phone move them to ext...
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.
and yes widgets, launchers and all can be installed to SDEXT....
Than use some app to disable programs you don`t want to start on boot or you memory will be low after you install 100+ apps..
When you do all that you can have easy 250+ apps with no memory lag in your phone. Just don`t install too many resident background programs like FB, Whatsup Viber etc, than your battery will be drained in ~24 hours... Install just what you need, but games you can install like unlimited
robertsu said:
Latest rom based on oxygen like Nikez
Click to expand...
Click to collapse
Nikez's JB rom is not based on Oxygen. The only thing Oxygen and that rom have in common is that they are both made on a computer.
ok. got it.. What is int2ext+ then? I did get a class 10 card to try these things out, but various threads give differing opinions about what is best.
Is there a consensus?
abaaaabbbb63 said:
A2sd + dalvik2sd only moves apps and dalvik cache to sd-ext, leaving data on internal, therefore being faster.
Int2sd+ mounts sd-ext as /data, and moves all data to sd, being slower, depending on your sd-card. Usually class 4 or above cards recommended here.
Click to expand...
Click to collapse
Class 2-2mb/s *<Sequential>* write speed
Class 4-4mb/s
And soo on
Class 10-10mb/s
abaaaabbbb63 said:
write speed
Click to expand...
Click to collapse
Sequential write speed.
Sent from my HTC Desire using Tapatalk 2
What I meant is.. is there consensus on whether to use a2sd, int2sd+, int2ext+, etc... There seem to be so many ways to save space.
Every script does a different thing. It depends on how much space you need.
Roms from Droidzone have many internal memory!

low storage (dalvik cache vs Android 4.1.2 vs MIUI ROM)

Hi,
I was thinking about how to solve low storage problems on my HTC Desire, I have a question about Link2SD in relation to MIUI ROM and Android 4.1.2
To increase the available storage, in my previous ROM (CM7.1 on Android 2.3.7) I used Link2SD in order to move to the SD-EXT partition either apk, libs and dalvik cache.
I installed Link2SD even on my new MIUI ROM on Android 4.1.2.
I'm able to move either apk, libs and dalvik cache to SD_EXT as expected BUT (!) as soon as I restart the phone I'm prompted with a screen saying "optimizing apps" and if I open again Link2SD I see that:
apk and libs are still on the SD-EXT partition
dalvik cache has been moved back to internal memory.
Sincerely I don't know if this has to be addressed to Android 4.1.2 or MIUI ROM
Any suggestion about how to actually move dalvik cache to EXT ??
Thanks in advance for your support
Don't use Link2sd.
Use this script. It will move app and dalvik to sd-ext.
http://db.tt/m4sQLDOI
abaaaabbbb63 said:
Don't use Link2sd.
Use this script. It will move app and dalvik to sd-ext.
http://db.tt/m4sQLDOI
Click to expand...
Click to collapse
thanks for your reply.... but what does this script do?
will it move only user app?
will t let me choose which apps must be moved? or does it move in a massive way?
The problem is not that Link2SD cannot move dalvik to EXT but the problem is that MIUI/Android move back dalvik to internal memory after reboot.
Does this script solve that too?

[Q] [CM7 + INT2EXT+] How to move apps to internal memory for the widgets to work?

I have an HTC Desire (GSM) with CM 7.2.0.1 and INT2EXT+ script installed from a fresh ROM flash. The sd-ext partition is in EXT4 format and it has a capacity of 1GB.
The phone and the script is working perfectly, but I need some apps to be moved to the internal memory for the widgets to work (among other things).
Basically I would need to move the Swiftkey keyboard, ADW EX launcher (otherwise, at every reboot the stock keyboard and launcher are used), Extended controls and Beautiful Widgets... (for the widgets to appear in the launcher).
I have tried to move the apks as system apks (with Root Uninstaller Pro), but it did not work (widgets do not appear, and launcher and keyboard are reset after every reboot). I guess this is the same as doing it via terminal emulator:
su
#mv /system/sd/nameofapp.apk /system/app
Will the adb way do the trick then?
adb to push the file to system/app
adb remount
adb push (location of file in pc) /system/app
Thanks a lot in advance!
jfromeo said:
I have an HTC Desire (GSM) with CM 7.2.0.1 and INT2EXT+ script installed from a fresh ROM flash. The sd-ext partition is in EXT4 format and it has a capacity of 1GB.
The phone and the script is working perfectly, but I need some apps to be moved to the internal memory for the widgets to work (among other things).
Basically I would need to move the Swiftkey keyboard, ADW EX launcher (otherwise, at every reboot the stock keyboard and launcher are used), Extended controls and Beautiful Widgets... (for the widgets to appear in the launcher).
I have tried to move the apks as system apks (with Root Uninstaller Pro), but it did not work (widgets do not appear, and launcher and keyboard are reset after every reboot). I guess this is the same as doing it via terminal emulator:
su
#mv /system/sd/nameofapp.apk /system/app
Will the adb way do the trick then?
adb to push the file to system/app
adb remount
adb push (location of file in pc) /system/app
Thanks a lot in advance!
Click to expand...
Click to collapse
When moving them to the system apps folder, you have to change their permissions too to rw-r--r--.
I'm unfamiliar with the script but I think you're over complicating the process.
You shouldn't need to move them to /system at all to get them to work, just make sure all your apps are on sd-ext.
- You should be s-off with cm7r2 hboot to maximise space.
- You don't need to 'move to sd' with any of your apps if you have the script installed. If you do this you are moving your apps to the fat32 partition of the sdcard not the sd-ext. this also breaks widgets.
- Do you have the option to 'move to phone' ? This should already trick the app to sd-ext as originally intended.
eddiehk6 said:
I'm unfamiliar with the script but I think you're over complicating the process.
You shouldn't need to move them to /system at all to get them to work, just make sure all your apps are on sd-ext.
- You should be s-off with cm7r2 hboot to maximise space.
- You don't need to 'move to sd' with any of your apps if you have the script installed. If you do this you are moving your apps to the fat32 partition of the sdcard not the sd-ext. this also breaks widgets.
- Do you have the option to 'move to phone' ? This should already trick the app to sd-ext as originally intended.
Click to expand...
Click to collapse
Thanks a lot.
With Appmgr Pro III I could "move to phone" the apps I needed and everything worked correctly, thanks!
But now I feel all the phone in general really takes its time to execute any action (open an app, keyboard takes some seconds to appear, unresponsive sometimes, system process hangs...). I do not have many apps installed (~40), only 1 screen with 3 widgets, and I check regularly with a task killer that I have enough free memory (always more than ~100MB).
Could it be because the sd-card (Transcend 32GB class 4) is "slower" than the internal memory? I guess there is no fix for this, as if I want the extra space it is the tax to pay.
jfromeo said:
Thanks a lot.
With Appmgr Pro III I could "move to phone" the apps I needed and everything worked correctly, thanks!
But now I feel all the phone in general really takes its time to execute any action (open an app, keyboard takes some seconds to appear, unresponsive sometimes, system process hangs...). I do not have many apps installed (~40), only 1 screen with 3 widgets, and I check regularly with a task killer that I have enough free memory (always more than ~100MB).
Could it be because the sd-card (Transcend 32GB class 4) is "slower" than the internal memory? I guess there is no fix for this, as if I want the extra space it is the tax to pay.
Click to expand...
Click to collapse
As long as you're not actually using the task killer to constantly kill apps then it's ok...
I wouldn't worry too much about the free memory, remember Android memory works differently. It's meant to be full, learn to stop monitoring it constantly. Therefore you might as well uninstall the task killer anyway.
sd card speed will be generally slower yes, but depends how the script works, like I say I'm not sure. If it moves any app data to sd-ext, this can cause slow downs.
It's best to keep app data (saved game data, app settings etc) on your actual /data partition, both for speed and stability. Use the sd-ext for app apks and dalvik cache.
You could check with something like 'DiskUsage' how the script works.
For app space with CM7 personally I would full wipe, install the ROM on cm7r2 hboot, and use a different app/script like S2E or Darktremor A2SD. Use one of them to automatically move apps and dalvik cache to sd-ext, keep app data on internal (/data). It won't necessarily look your internal memory has increased (will read only 287MB), but the sd-ext will be working as it should.
eddiehk6 said:
I'm unfamiliar with the script but I think you're over complicating the process.
You shouldn't need to move them to /system at all to get them to work, just make sure all your apps are on sd-ext.
- You should be s-off with cm7r2 hboot to maximise space.
- You don't need to 'move to sd' with any of your apps if you have the script installed. If you do this you are moving your apps to the fat32 partition of the sdcard not the sd-ext. this also breaks widgets.
- Do you have the option to 'move to phone' ? This should already trick the app to sd-ext as originally intended.
Click to expand...
Click to collapse
eddiehk6 said:
As long as you're not actually using the task killer to constantly kill apps then it's ok...
I wouldn't worry too much about the free memory, remember Android memory works differently. It's meant to be full, learn to stop monitoring it constantly. Therefore you might as well uninstall the task killer anyway.
sd card speed will be generally slower yes, but depends how the script works, like I say I'm not sure. If it moves any app data to sd-ext, this can cause slow downs.
It's best to keep app data (saved game data, app settings etc) on your actual /data partition, both for speed and stability. Use the sd-ext for app apks and dalvik cache.
You could check with something like 'DiskUsage' how the script works.
For app space with CM7 personally I would full wipe, install the ROM on cm7r2 hboot, and use a different app/script like S2E or Darktremor A2SD. Use one of them to automatically move apps and dalvik cache to sd-ext, keep app data on internal (/data). It won't necessarily look your internal memory has increased (will read only 287MB), but the sd-ext will be working as it should.
Click to expand...
Click to collapse
Thanks again. I will stays some days with this INT2EXT+ script, and change to any of the ones you recommend if I am not satisfied with the speed/stability :good:

Categories

Resources