Laggy Desire while opening apps - Desire Q&A, Help & Troubleshooting

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.

Related

[Q] Leedroid HD v3.3.3-port-r5 speed issue

Hello everyone, hope some of you can help me out..didn't find something with the forum search.
I'm running the a2sd+ version of the Leedroid HD port after I was fully happy with the Leedroid 2.x ROM.
The ROM itself is very good but the system is laggy many times..well, not rly laggy, but many actions have a delay, e.g. when I drop down the notification bar, a few seconds nothing happens and after that it goes down smoothly...same goes for the weather animation after lock screen is unlocked, it takes some time till it appears..and also the weather lock screen is very laggy.
I'm running on smartass cpu gov, but on performance it's all the same.
Restart doesn't bring any effects too, also I've tried to wipe dalvik cache but still the same..
And..I don't know if it has anything to do with it but I only have 20mb internal storage left..in the beginning it was definitely more! Normally, all user apps are installed to the ext4 partition on SD card, or am I wrong?
Hope one of you guys have some good ideas for me
Sent from my HTC Desire using XDA App
Yep!
This was exactly happened with me! but i used a app called MOVE2SD enabler and moved all(literally all) applications.
and just one advice don't use SetCpu instead of this use CpuTuner It doen the trick.
but as you said weather lag is still there. i mean weather animation starts like 10-12 seconds later unlocking screen. but otherwise all problems solved.
Only the application apks are moved to the sd-ext partition with A2SD+. the app data remains on the internal memory. Did you check if your dalvik cache is on sd-ext on the off chance that it isn't?
curiously, after the last restart all works fine for me now it seems...
also I have now over 60mb internal memory left...I rly don't know what was different to the last times I rebooted lol
itachi1706 said:
Only the application apks are moved to the sd-ext partition with A2SD+. the app data remains on the internal memory. Did you check if your dalvik cache is on sd-ext on the off chance that it isn't?
Click to expand...
Click to collapse
how do I look up where my dalvik cache is? maybe there's something wrong with it..
have looked up now with root explorer...
dalvik cache is on /data/dalvik-cache, can I move it somehow to sd-ext?
and on /sd-ext there's absolutely nothing??? but titanium says that there're 400mb left of the 1gb sd-ext partition...
its a know problem that GB 2.3.3 is laggy on some devices after cca weak or two without restart, you should restart you phone just once in a while
this is what i read somewhere
AssassinSvK said:
its a know problem that GB 2.3.3 is laggy on some devices after cca weak or two without restart, you should restart you phone just once in a while
this is what i read somewhere
Click to expand...
Click to collapse
but Ive had the problems from the beginning, not after a week or so...
I rly wonder about the dalvik-cache, maybe thats the problem..
Try OnDemand governor instead of SmartAss.
justcause91 said:
have looked up now with root explorer...
dalvik cache is on /data/dalvik-cache, can I move it somehow to sd-ext?
and on /sd-ext there's absolutely nothing??? but titanium says that there're 400mb left of the 1gb sd-ext partition...
Click to expand...
Click to collapse
Enter the /data/dalvik-cache/, if the disk space stated at the top says something like 400.xx MB free its on sd-ext. It is just symlinked to the data partition, thus will appear in the /data/ folder no matter what as Android sees it.
Sent from my HTC Original Desire using Tapatalk

Apps2sd

my ROM is a apps2sd ROM. Ext sd is reporting use, i.e. I set 1g of ext and storage says 658mb of ext is free. But in applications my apps give me the choice to Move to SD! ?
I used TB pro to batch move apps to SD but altho my apps now report they are on SD. Ext usage actually went down after the move. Am I confusing Apps on Sd / ext ? So on roms with default apps2sd you ignore in applications that they appear to be on internal mem?
Sent from my HTC Desire using XDA App
Yes ignore it. You've just moved your apps from ext to fat. Read the root memory faq in my signature
Sent from my HTC Desire using XDA App
I've some A2SD questions as well. I'm on CM7 with several apps already installed. My 4GB SD card has already been partitioned to 3GB FAT32 and 1GB ext4.
I was getting low memory warnings so I applied the darktremors script (stable, not nightly) expecting it to automatically move my apps to the sd card like your a2sd guide said it would. However, I still got low memory warning, so I manually moved the app to sd card using manage applications. This however moved the apps to the FAT32 partition, and several of my apps suh as my clock widget and swype no longer work.
How to I get my existing apps to move to the SD card's ext4 partition?
They need to all be moved to phone.
The apps should automatically move to ext download quick system info to check a2sd is working.
If its not try "a2sd reinstall" from terminal emulator.
Dalvik-cache is not moved by default and takes up a whole load of space so don't forget "a2sd cachesd" too
Sent from my HTC Desire using XDA App
OK, I thought the a2sd would move existing apps as well, didn't know I needed to "a2sd reinstall". Can I do the reinstall through an adb shell or do I need to download a terminal emulator?
I don't have a Class 4 card, it's a generic card and I don't know what class it is, so should I move the dalvik-cache to the cache partition using "a2sd cachepart" rather than "a2sd cachesd"?
Do I need to wipe cache and dalvik-cache before running any a2sd commands such as reinstall and cachesd/cachepart?
Lastly, do I need to reboot the phone after running these commands?
Thanks.
goister said:
OK, I thought the a2sd would move existing apps as well, didn't know I needed to "a2sd reinstall". Can I do the reinstall through an adb shell or do I need to download a terminal emulator?
I don't have a Class 4 card, it's a generic card and I don't know what class it is, so should I move the dalvik-cache to the cache partition using "a2sd cachepart" rather than "a2sd cachesd"?
Do I need to wipe cache and dalvik-cache before running any a2sd commands such as reinstall and cachesd/cachepart?
Lastly, do I need to reboot the phone after running these commands?
Thanks.
Click to expand...
Click to collapse
Ive never seen any performance issues even on class 2 cards. Keeping dalvik on NAND may give a miniscule performance increase, but I think its so negligible, you wont notice. But put it where you want. I recommend card though as you need the cache partition for downloads and as it fills with dalvik, it will limit the size of apps you can download from the market.
a2sd reinstall is for if it doesn't work properly. Its always the first thing to try. Then move dalvik. The way dalvik move works is that it wipes dalvik, moves the location then reboots the phone (rebuilding dalvik so expect delays when booting up the first time). For this reason its best to use "terminal emulator" from the market.
Hope this helps.
Alright, thanks! Will try reinstall and moving dalvik cache to the sdcard. Might get a new faster card since 4GB is getting tight anyway.
Tried the reinstall and it seemed to work. I had to move my apps back to the internal memory in 2 batches since I was running out of internal memory. So here's what I did
1. Move batch 1 of apps from sdcard back to internal memory
2. Run a2sd check in adb shell
3. Run a2sd reinstall in adb shell
4. After phone rebooted, checked my storage to find about 50MB of internal space left (woohoo!)
5. Move batch 2 of apps from sdcard back to internal memory
6. checked my storage to find still about 50MB of internal space left. I guess this means a2sd automatically moved them to the sd-ext partition?
When I ran a2sd check in step 2, the output showed that my ext partition type was ext2 rather than ext4 which I formatted the sd-ext partition to. Is this a mistake?
Will try moving dalvik-cache perhaps this weekend.
Are there any benchmarks I can run on the sdcard to make sure it's fast enough for dalvik-cache? Perhaps HDTach/CrystalDiskBench/ATTO/AS-SSD Bench/etc? There aren't any markings on the sdcard that indicates its class. It's a generic HP 4GB sdcard. Will a "dd if=largefile of=/dev/null" for read and a "dd if=largefile1 of=largefile2" for write work?
I've never known a card too slow for dalvik. Just move it. You can move it back again
Sent from my HTC Desire using XDA App
I believe the ext2 is due to some error with a2sd check. I encountered it too when i used the command and i was using an ext4 partition.
As for dalvik, try moving it. If it too slow then move it back.
itachi1706 said:
I believe the ext2 is due to some error with a2sd check. I encountered it too when i used the command and i was using an ext4 partition.
As for dalvik, try moving it. If it too slow then move it back.
Click to expand...
Click to collapse
Sorry, yes its a bug, fixed apparently in the latest BETA.
Don't think I'll be playing with the phone for a while - it's my wife's phone, and it took almost a week for me to figure things out and start from stock to CM7 with A2SD...now it's relatively stable with quite a bit of internal memory available, so I think I'll keep it that way for a while.
Thanks for all the help!
Hello rootsu,
i installed a Data++ rom and now some applications that i install, not from market, disappear after a reboot. From the market it is fine but if i put a .apk in the card and install it, disappear after reboot. Not all of them. Only some of them.
I have a aura sygic gps and this is one of them that disappear after install. The only way that doesn't is to move to the card. And another one, that doesn´te have the option to move to the card, disappear after reboot.
I already wipe dalvik cache, wipe everytnhig, rom install again, etc...
What's the problem? Do you now? I've searched a lot but i cant find anything.
That's a new one on me.
Install, take titanium backup, boot recovery, factory reset, format /data, titanium restore?
Sent from my HTC Desire using XDA App
Thanks, rootsu.
And when i go to install again, say that this will replace another application.
I already made a backup, when i have stock, and restore it and happens the same.
What to do?
Edit: I do a backup, only the application, with titanium, and when restore it and say error and dont restore the application.
Hello rootsu,
i modify de hboot to sense and all problems gone. Its good now. I think thats a problem with a Hboot Data++.
Thanks.
Ah maybe yes. Good work
Sent from my HTC Desire using XDA App
Hello rootsu,
i install hboot sense and Leedroid 3.3.3 and works fine, but i have a question about cache file system. Why my cache system space is 202mb? In the AlphaRev 1.8 page the hboot sense as 40 mb. I dont understand.
The cache system space is from sdcard memory or memory phone?
Thanks
Although I am not rootSU, I feel free to answer:
I am pretty sure it uses space of SD Card. Using internal memory would be a little strange, especially we are talking about 160 MB here.
SwiftKeyed from CyanogenMod with Transparent XDA App
MatDrOiD said:
Although I am not rootSU, I feel free to answer:
I am pretty sure it uses space of SD Card. Using internal memory would be a little strange, especially we are talking about 160 MB here.
SwiftKeyed from CyanogenMod with Transparent XDA App
Click to expand...
Click to collapse
Thanks MatDrOiD.

Link2SD - Whats the fastest way?

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.

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!

Desire on CM7 slowing down...

I ran my old desire for a year or so on the Supernova Rom, but got bored with the serious lag, It got better from time to time when I cleared the dalvik cache, and reformatted the SD card. But Igave up in the end, wiped everything, reformatted the card again, and loaded Cyanogenmod 7.
It was a revelation.Everything was really snappy, and the Desire was like a new phone again.
But the troubles are returning. I started getting some lag opening apps a week or so ago, and now I am starting to get forced closures too, and the lag is getting worse.
What's going on? Is there anything I can do to stop this from happening?
Don't bother wiping dalvik, it simply rebuilds afterwards which is why it takes so long to boot...
Are you using the ROM with an sd partition, how did you create it? Any particular A2SD script?
Max 2GB ext4 partition should be done using gparted or 4EXT recovery only, not clockworkmod or minitool partition wizard.
(Remember also that your hardware is starting to age, and there are limits / apps which the Desire was never designed to handle)
eddiehk6 said:
Don't bother wiping dalvik, it simply rebuilds afterwards which is why it takes so long to boot...
Are you using the ROM with an sd partition, how did you create it? Any particular A2SD script?
Max 2GB ext4 partition should be done using gparted or 4EXT recovery only, not clockworkmod or minitool partition wizard.
(Remember also that your hardware is starting to age, and there are limits / apps which the Desire was never designed to handle)
Click to expand...
Click to collapse
Thanks
Yes, Iam using an SD partition created with gparted - my laptop runs Linux. I am using S2E.
What's puzzling me is that it ran really fast and snappy to start with, but is now slowing down again. I am getting regular timeouts -but if I choose "wait" its usually OK. But sometimes I get a forcedclose. I don't want to have to keep reinstalling the ROM to keep it fresh!
Trogladyte said:
Thanks
Yes, Iam using an SD partition created with gparted - my laptop runs Linux. I am using S2E.
What's puzzling me is that it ran really fast and snappy to start with, but is now slowing down again. I am getting regular timeouts -but if I choose "wait" its usually OK. But sometimes I get a forcedclose. I don't want to have to keep reinstalling the ROM to keep it fresh!
Click to expand...
Click to collapse
So the partition is made correctly, which is good :good:
Check your S2E settings, what have you moved to the partition?
It works best if you only move apps and dalvik cache to sd-ext. You should keep app data (e.g. saved gaems and app preferences) on your actual internal memory for speed and stability.
You should also be s-off and on cm7r2 hboot to maximise your internal memory if you have many apps. This will work best with the above, and applies regardless of your A2SD setup.
If S2E is already set to move apps and dalvik only, not sure what else it could be. Any other 'tweaks' / scripts / memory managers / task killers which can do more harm than good? Does it happen with any particular app?
Thanks.
Sorry to be so long to reply. Had to take some time out as I snapped the tendon that operates my left thumb. Yes,really.
Anyway. The problem - which is getting worse - may be that I have application data on the SD partition.And S2E won't let me change it - greyed out. Why would that be?
Trogladyte said:
Thanks.
Sorry to be so long to reply. Had to take some time out as I snapped the tendon that operates my left thumb. Yes,really.
Anyway. The problem - which is getting worse - may be that I have application data on the SD partition.And S2E won't let me change it - greyed out. Why would that be?
Click to expand...
Click to collapse
Well at least we're narrowing down the issue. I believe app data on sd-ext is almost certainly the cause of slowdowns. It works much better when stored on your actual internal memory, as nand flash is faster than your sdcard.
No idea why it won't let you change it back, I've never used it myself. I've looked at the Play Store first screenshot. Should be a case of unticking, and rebooting. Do you remember when you first configured it? Did you tick everything?
You may not be able to move it back to internal if you are on stock hboot and you have more than 150MB of app data. i.e. there's not enough free space to move it back?
It may be a case of full wiping and starting from scratch:
- Titanium backup of all apps
- Flash cm7r2 hboot using fastboot
- Full wipe, flash ROM
- Install and configure S2E
- (If above doesn't work, use another app like Darktremor A2SD, tick apps and dalvik only)
- Reboot
- Restore apps
- Check all your partitions using an app like DiskUsage. You should have much less free wasted space on /system, 287MB internal memory (/data) filling up with app data, and your sd-ext filling up with apps and dalvik.
Take it easy with the thumb!

Categories

Resources