32m VM heap - myTouch 4G Q&A, Help & Troubleshooting

In /system/build.prop you can change the VM heap to 32mb from 24. It seems to make the phone run even better, such as the gallery thumbnails loading quicker. Try it and let me know if you notice any difference.
I am on stock rom/kernel
[via XDA app]

There's also an app called vm heap tool that allows you to change it without messing with the build.prop

ronin178 said:
There's also an app called vm heap tool that allows you to change it without messing with the build.prop
Click to expand...
Click to collapse
and Cyanogen has a native settings options for this.

Thanks for the heads up on the VM heap app. As for CM, I'm aware, infact that's where I learned about heap settings on mt3g. But as stated I have stock rom/kernel, and I believe there are plenty of people out there likes modded stock(ish) roms.
[via XDA app]

Related

[GUIDE] About Android and Optimizing Sony Xperia X10

Since Sony Xperia X10 is now running on 2.1, topics related to 1.6 is not mentioned here.
This thread are created based on compilation of other threads related to optimization, and meant as an entry point for user interested in optimization.
Understanding your Android
Just to put something short, so we can understand our Android and some points related to optimization better.
Android is an open source operating system owned by Google that is maintained by Android Open Source Project (AOSP). The operating system is based on modified Linux kernel, where most of the application is written in Java language and running on DalvikJVM.
Android do things differently than old generation OS like Symbian, and below is the explanation related to performance.
Unlike Symbian, Android designed to have as many as application loaded and running in the OS, it maintain list of least used application that will be unloaded when a requests for more memory is made when the free OS memory is already low.
These are the nature of JVM, where allocation and deallocation of memory is managed by garbage collector as doing things in bulk is faster then working with small chunks. So you don't have to be alarmed when you open a memory viewer application and see your Android is running on low memory. Freeing RAM with task killer is only momentarily, as you uses the phone again, the free memory will goes down again.
Android phones stores system application, data and files internally in NAND flash area and stores user data in internal memory storage or external storage such as SD cards. This memory is different than your operating sytem memory.
Operating system memory is memory allocated for the kernel, native application and most application you download from market. Installing a lot of application will not directly reduce free RAM, nor uninstalling or removing files will increase free RAM directly. Action such as removing ringtones, wallpaper and even Sony PC Companion ISO will not free your RAM
In general there are two type of android application. One is a standalone application that only run if you open the application, and the other one is running even you haven't open the application which called service.
By design, guideline and suggested practice, application should not continue to run lengthy processing when it get pushed to background via home button, back button or switching to other application; properly build application will just go idle. Which means you should be less paranoid about application eating you processing power.
But service is meant to run lengthy operation as they don't have user interface and runs in background. Some service meanth for pushing or pulling data from internet, reading your files and do processing like playing songs, or just doing something then update the widget just to make you happy. Unnecessary services are the things that you should be aiming if you want to optimize your Android.
General FAQ about Optimizing Sony Xperia X10 2.1
I just updated to 2.1 and my phone really feel slower than 1.6
Since you had been using 1.6 for quite some time, your SD card should have quite a lot of photo and media. Just after you updated to 2.1, and add your Google and maybe Facebook account, the new Face Recognition service is actually already starting to scans all your photo, then when your Google and Facebook contact arrived, it will try it best to match photo and contact. This new Face Recognition really kicks hard in your processor, then after a while your phone will be as fast and even better than old stock 1.6.
I still feel that the phone is slow, is there any simple and quick way to optimize
The simple and quick to optimize your phone instantly is by changing the 2.1 dalvikvm to JIT capable dalvikjvm. You can read and apply them by reading the thread referred below, but before you do that open the below link in background tab and please do read more first.
Android 2.1 OPTIMISER V002 by Jerpelea
2.1 Customizer v0.99.1 by ttxdragon
Both optimizer contains script that will erase your "junk/unused" application from your phone, be sure to read them first before executing. My suggestion is you apply JIT modification first, before going optimizing by remove your "junk/unused" application.
Please do remember that you have to Root your X10 first.
How to root the phone
You can root the phone using methods below.
OneClick z4root Android Application
SuperOneClick Windows Application
Is [INSERT APP NAME] here is save to remove?
By removing unused application, you will gain certain amount of performance gain. Below are the links with app list.
2.1 Customizer v0.99.1 by ttxdragon
Official List of Apps that Can be Removed from a 2.1 x10 by exekias
And still a lot more in other Sony Ericsson X10 forum section but those two is quite complete
And in case you forgot to make backup you can go to
2.1 System Apps - In Case You've Deleted Them by XperiaX10iUser
After doing all that my Quadrant Benchmark is still low
You should run Quadrant as least two or three time or until you get best score, the first one usually yield low score, because a lot of memory allocation process to Quadrant happening during the first run.
Tuning Utilities
Memory Usage - Application to see how much memory used by your application and services
Advanced Task Manager - Application to see is your application running on foreground, background or idle and its memory usage
Quadrant Standard - General benchmarking tools to see if your changes make improvement
Linpack - Processor benchmarking
Titanium Backup Pro - Back up application, the paid version can freeze your app rather then uninstalling it.
Fine Tuning Guide
About Widget, Application shortcut and Live Wallpaper
Even though widgets looks really good in your phone, some widgets required simple periodic process for updating its display, some have a full blown service running to support it. A very instant example that you can see in your phone is the Power Control widget and the new Status Switch widget.
Power Control widget update triggered by configuration change such as wifi on and off, while Status Switch widget which have a battery level is triggered by a running service. Just put Status Switch widget then go to Settings -> Application -> Running Services. Then you will see there a Status Switch Update service running in background to update the battery level.
By selectively put widgets on your home screen, you can gain extra processing and memory. Timescape widget is even worse, it have three service running to support it.
Application shortcuts also uses extra memory in your home screen app and your home screen app is usually system persistent, reducing number of shortcut will give extra RAM and reducing the required rendering process during scroll.
Live Wallpaper just as the name said looks really nice and require extra memory and process of course.
Tuning via build.prop
Some value can be added and modified into build to increase the performance of X10.
dalvik.vm.heapsize=32m
This will change the maximum memory size per application. If you decrease the value, smaller application starts faster, but big application like games will prone to crash, if you increase the value too much, smaller application takes longer to start, but big application will extra gain benefit from less garbage collecting.
Reference: Test: How changing the max amount of memory per VM Heap can effect your ROM (Cyanogen)
windowsmgr.max_events_per_sec=60
This will change the maximum number of touch screen gesture events per second, the bigger the value, the smoother the scrolling will be
There still some more build.prop tweaks that you can do, but not all of them will be processed by X10 as each device behave differently.
reservation for more article to go
Nice clean guide, should help newcomers. Good work!
synlar said:
Nice clean guide, should help newcomers. Good work!
Click to expand...
Click to collapse
Thanks, but i am quite depressed after reading it my self and found that i make a lot of typo. Had to revise and revise again.. lol.
Nice piece of work there Xeviro..
Can you post your build.prop please i cant find the windowsmgr.max_events_per_sec=60 one in mine.
Wolfbreak said:
Can you post your build.prop please i cant find the windowsmgr.max_events_per_sec=60 one in mine.
Click to expand...
Click to collapse
That one you add by your self to you build.prop. If you look further in google, there still a lot of other build properties that you can set to Android.
There is another way to add and test build.prop instantly by using adb shell command "setprop key value" and "getprop key". Some property will take effect immediately, some require you to reboot.
How do you prove that the windowsmgr.max_events_per_sec=60 actually works? After applying that I tried input benchmark and it still showed 33hz.
ooidort said:
How do you prove that the windowsmgr.max_events_per_sec=60 actually works? After applying that I tried input benchmark and it still showed 33hz.
Click to expand...
Click to collapse
Ok, i just checked, that for this build.prop property to take effect, you need to reboot the device first. I just test on my, giving 10 and 200 in value. With 10, the input benchmark showing less then 20hz most of the time, while with 200 it gives me 40hz+.
Also you can see if you scroll the app list with 10 and 200 value, you can see the difference.
xeviro said:
Ok, i just checked, that for this build.prop property to take effect, you need to reboot the device first. I just test on my, giving 10 and 200 in value. With 10, the input benchmark showing less then 20hz most of the time, while with 200 it gives me 40hz+.
Also you can see if you scroll the app list with 10 and 200 value, you can see the difference.
Click to expand...
Click to collapse
I definitely notice the difference between 10 and 200, but it still doesn't go above 33hz... Maybe it's the framerate cap doing it's thing?
xeviro said:
Thanks, but i am quite depressed after reading it my self and found that i make a lot of typo. Had to revise and revise again.. lol.
Click to expand...
Click to collapse
Good write up! I was actually going to say something about the typos/errors, because I'm a jerk, but, you noticed them too, so I feel satisfied.
I hope people will read your little intro about RAM and realize a task killer's real purpose is to kill rogue services that kill battery.
xeviro said:
That one you add by your self to you build.prop. If you look further in google, there still a lot of other build properties that you can set to Android.
There is another way to add and test build.prop instantly by using adb shell command "setprop key value" and "getprop key". Some property will take effect immediately, some require you to reboot.
Click to expand...
Click to collapse
But where do i need them to add? At Beginning or at End or Middle?
iead1 said:
Good write up! I was actually going to say something about the typos/errors, because I'm a jerk, but, you noticed them too, so I feel satisfied.
I hope people will read your little intro about RAM and realize a task killer's real purpose is to kill rogue services that kill battery.
Click to expand...
Click to collapse
Please forgive my typo and grammars, i life in country where people simplify their way of communication. I cannot talk proper now. hahaha
Wolfbreak said:
But where do i need them to add? At Beginning or at End or Middle?
Click to expand...
Click to collapse
Anywhere
xeviro said:
Please forgive my typo and grammars, i life in country where people simplify their way of communication. I cannot talk proper now. hahaha
Anywhere
Click to expand...
Click to collapse
If i add this to the end of my build.prop my phone does not accept SIM unlock code anymore .... ??
EDIT: Strange, second time it worked ... btw. what is the default value ?
Ive added dalvik.vm.heapsize=32m to see what diff it will make and well..
wow.. it killed my phone.
It will show sony ericsson on the screen when you turn it on and just stay there!
So yeah... how can i fix this?
It's bricked, you'll need to reflash the software!
:-(
OP- Great thread, thank you!
Post on my Rooted 2.1 X10i using Tapatalk Pro and Swype
Yeah i knida noticed...
fixed now but im not trying that heapsize thing again..
Anyone here have the original/untouched nordic build.prop? I'm really appreciate it if you share it here. ^_^
Sent from my Xperia X10i (2.1 and rooted) using XDA app
Seansmit17 said:
Ive added dalvik.vm.heapsize=32m to see what diff it will make and well..
wow.. it killed my phone.
It will show sony ericsson on the screen when you turn it on and just stay there!
So yeah... how can i fix this?
Click to expand...
Click to collapse
Seansmit17 said:
Yeah i knida noticed...
fixed now but im not trying that heapsize thing again..
Click to expand...
Click to collapse
Its working correctly in my phone, and this heapsize settings is the most common one in android modding. you go check google and see the results.
I also attached build.prop from my phone.

00Ring_Lag_v2. Updated 09/26/2011

Thank to Workshed for finding the errors!
Universal Script for Android Phone No more RING lag phone rings by the 2nd ring and screen and caller ID pops right up.
There are a few vers to test I am uploading my ver of it now it has a few tweaks removed for the CPU and kernals. But added a few thats it works much better now and it will get along with other Twaeks like supercharger.
All Zips from this post are flashable from recovery.
Here is the link to the OP I found it on. http://forum.xda-developers.com/showthread.php?t=1205259
This Is VER 2 there where errors in the 1st ver and also on the OP that i found this on.
I patched it up and also tested it and the file is running great without any errors as far as I can see.
By the end of the 2nd ring the phone lights right up with caller ID and rings even with custom ringtone. The dialer when placing a call is so much faster when it opens it just POPS.
#!/system/bin/sh
#00Ring_lag_v2 computerfreek#
MAX_PHONE() # remove lag when answering phone calls
pidphone=`pidof com.android.phone`;
if [ $pidphone ];
then
echo -17 > /proc/$pidphone/oom_adj; # exclude com.android.phone from oom-killer;
renice -20 $pidphone; # set highest nice level for com.android.phone;
log -p i -t ScreenState "*** MAX phone *** set oom_adj(-17) and nice(-20) for com.android.phone";
exit;
else
sleep 1;
MAX_PHONE;
# Background process to check screen state;
(while [ 1 ];
do
cat /sys/power/wait_for_fb_wake;
AWAKE_MODE;
cat /sys/power/wait_for_fb_sleep;
SLEEP_MODE;
then
# One-time process to optimize com.android.phone;
(while [ 1 ];
sleep 10;
MAX_PHONE;
; \ fi
Click to expand...
Click to collapse
Here is the Links
http://dl.dropbox.com/u/17779317/New%20folder/00Ring_Lag_v2.sh
http://dl.dropbox.com/u/17779317/00Ring_Lag_v2 Raw TEXT to place in a file and add it to your init.d folder.
http://dl.dropbox.com/u/17779317/ringlagv2/00ring_lag_v2.zip Flashable Ver 2
If you are runing the v4.0 of worksheds GSB then here is a Patch that will replace the One on ROM with V2 http://dl.dropbox.com/u/17779317/ringlagv2/00ring_lag_v2_GSB_patch.zip
computerfreek said:
OH that sucks ! Download prankdial from market and prank your self! lol it will call you.
If you pm me your number and I can call you from my gv.
Hows the phone runing with other things after adding the script?
Click to expand...
Click to collapse
Sorry to jump threads on you, I didn't want to clog up CondemnedSoul's thread with questions/comments specifically about this script....
After loading & rebooting, I didn't notice any problems. The phone seems a bit snappier with this in general, although I still haven't tested the incoming calls thoroughly yet. I am running this script on Comndemned v17 S2h in combination with the v6 SuperCharger, and the 3G & Kernel Tweaks. Based on a recommendation from CS, I also modified the following line in the build.prop from
ro.telephony.call_ring.delay=500
to
ro.telephony.call_ring.delay=0
I haven't noticed any conflicts or issues yet, but I wouldn't necessarily classify myself as a heavy user.
I have another question for you. Since it was easy enough to modify the CPU speed, if I change the governor in the following line
GOVERNOR_SCALE="ondemand";
to smartass so that it will match my CM7 performance settings, will that cause any issues? Does this script need to be set to ondemand in order to work correctly?
computerfreek said:
I found this Universal Script for Android Phone it just ROCKS I am testing it on GSB3.8 workshed and now when I call my cell it starts ringing after just 1 ring! I tested it on Gin-sen-tazz but I don't think it is working on GINGER SENSE ROMS
Here is the link to the fourm I found it on. http://forum.xda-developers.com/showthread.php?t=1205259
The only thing I changed on the it was the MAX CPU from 800 to 710 and it all seems to be working great. I will see in a few hours after leting the phone sit and then calling it.
Hope this will help Others on CM7 GB roms.
Here is the one I am useed on my phone. http://dl.dropbox.com/u/17779317/00tweaks
Click to expand...
Click to collapse
So all you have to do is copy 00tweaks and put it in your init.d folder???
PillClinton said:
Sorry to jump threads on you, I didn't want to clog up CondemnedSoul's thread with questions/comments specifically about this script....
After loading & rebooting, I didn't notice any problems. The phone seems a bit snappier with this in general, although I still haven't tested the incoming calls thoroughly yet. I am running this script on Comndemned v17 S2h in combination with the v6 SuperCharger, and the 3G & Kernel Tweaks. Based on a recommendation from CS, I also modified the following line in the build.prop from
ro.telephony.call_ring.delay=500
to
ro.telephony.call_ring.delay=0
I haven't noticed any conflicts or issues yet, but I wouldn't necessarily classify myself as a heavy user.
I have another question for you. Since it was easy enough to modify the CPU speed, if I change the governor in the following line
GOVERNOR_SCALE="ondemand";
to smartass so that it will match my CM7 performance settings, will that cause any issues? Does this script need to be set to ondemand in order to work correctly?
Click to expand...
Click to collapse
That shouldn't cause any issues at all. It should just default your governor to smartass instead of ondemand.
CondemnedSoul said:
That shouldn't cause any issues at all. It should just default your governor to smartass instead of ondemand.
Click to expand...
Click to collapse
Done, & no issues to report yet. I also changed
GOVERNOR_FREQENCY_MIN="245760"; to GOVERNOR_FREQENCY_MIN="480000"; for the purpose of matching my CM7 settings.
bigdaddyblues said:
So all you have to do is copy 00tweaks and put it in your init.d folder???
Click to expand...
Click to collapse
Well you chave to copy and set the permissions.
Or use flashable ver of the 710MHZ for eris http://dl.dropbox.com/u/17779317/00tweaks.zip
PillClinton said:
Done, & no issues to report yet. I also changed
GOVERNOR_FREQENCY_MIN="245760"; to GOVERNOR_FREQENCY_MIN="480000"; for the purpose of matching my CM7 settings.
Click to expand...
Click to collapse
I don't think matching it matters so much as it is set to RUN the the CPU speed set 1 time on start up be for cm7 sets it's speed. CM7 looks like it will override it after it's booted. So even if you load the 710MHZ ver and have cm7 set at 600mhz it will drop to 600 after cm7 is fully loaded.
I think there may be a conflict between this script & zeppelin's v6 supercharger. I had 3 screen redraws today for the first time in ages. When I was using the supercharger by itself, I had no problems.
I removed the 00tweaks & rebooted for now.
Sent from my Condemned Eris
One other question about the 00tweaks. I looked through the script & noticed it has some tweaks built in for dialer one. Since I don't use dialer one, could it be modified to tweak go contacts ex instead?
Sent from my Condemned Eris
PillClinton said:
One other question about the 00tweaks. I looked through the script & noticed it has some tweaks built in for dialer one. Since I don't use dialer one, could it be modified to tweak go contacts ex instead?
Sent from my Condemned Eris
Click to expand...
Click to collapse
I was thinking the same thing I don't see why not it looks like it will work for any service app I don't know if contacts is a service or not. You can PM tazz811 on the OP. And see if you can help you with that. Link to OP If you get it working for other apps please post back here so we can all use it. http://forum.xda-developers.com/showthread.php?t=1205259
PillClinton said:
I think there may be a conflict between this script & zeppelin's v6 supercharger. I had 3 screen redraws today for the first time in ages. When I was using the supercharger by itself, I had no problems.
I removed the 00tweaks & rebooted for now.
Sent from my Condemned Eris
Click to expand...
Click to collapse
I have been testing it with and without supercharger and it seems fine for me. However it be nice if we can just make a new script for just rintone lag so there will be no conflicts at will even if your just OC with CPUboost.
I think we will see soon DEV apping just the phone LAG stuff into there ROMS. This way we can just boost or OC with any other apps or scripts.
I don't think they are playing well. I don't usually use the super charger script, but had applied multi tasker setting after a few apps were killed by system that I wanted running in background. First, I notice extremely poor battery life - some service kept the phone awake all night so it didn't fully charge. This also happened yesterday with xda app, but don't know what did it last night. Also, notice that the super charger minfree values did not stick, so the 00tweaks must over ride them at startup. I was having the background app problem before the tweaks, so I suspect that the super charger kernel tweaks conflict with the 00tweaks. Undid both for now
Sent from my ERIS using XDA App
Getting rid of the 00Tweaks seems to have solved my screen redraw issue for the moment. I was also having some issues with lag after leaving certain apps, and that is gone too.
klobkelosh said:
I don't think they are playing well. I don't usually use the super charger script, but had applied multi tasker setting after a few apps were killed by system that I wanted running in background. First, I notice extremely poor battery life - some service kept the phone awake all night so it didn't fully charge. This also happened yesterday with xda app, but don't know what did it last night. Also, notice that the super charger minfree values did not stick, so the 00tweaks must over ride them at startup. I was having the background app problem before the tweaks, so I suspect that the super charger kernel tweaks conflict with the 00tweaks. Undid both for now
Sent from my ERIS using XDA App
Click to expand...
Click to collapse
What desktop launcher are you rinning ? I am running launcherpro plus with no redraws.
Adw stock with cm7.
Sent from my ERIS using XDA App
klobkelosh said:
Adw stock with cm7.
Sent from my ERIS using XDA App
Click to expand...
Click to collapse
Maybe it the laucher or the ROM your on mine is working great, But has also been the same with or without supercharger is I do not get redraws or any teaking. I am Runing worksheds last release 3.8 and it is working great. I never use ADW so can't tell you if it is that or not. As if I test or use a rom and it has ADW or any other lanucher on it I always add lancher pro on it and resign the rom befor I even install it.
Maybe you can talk to TAZZ811 on the like from the OP. and see if he can help use out with just the phone lag tweak with no mem or kernals tweaks. Thats what I think we need.
I am sicking with it on my phone I hate missing calls And with this tweak my phone lights right up with the caller ID and it's ringing just as the 2nd ring starts. I hope others try this out and see if they get the same thing.
It maybe as easy as just removing or #out the kernal and mem tweaks on the script.
The 00tweaks universal script does a lot of things I'd rather control elsewhere or not muck with. So, I isolated the portion of the script that pertains to the ring lag. I pushed the attached file to the init.d folder.make sure you remove the .txt part. No adverse effects that I notice yet. Phone sounds on the second ring. Good luck.
klobkelosh said:
The 00tweaks universal script does a lot of things I'd rather control elsewhere or not muck with. So, I isolated the portion of the script that pertains to the ring lag. I pushed the attached file to the init.d folder.make sure you remove the .txt part. No adverse effects that I notice yet. Phone sounds on the second ring. Good luck.
Click to expand...
Click to collapse
Nice, I did the same thing. I tried leaving in a few of the other tweaks to see if I notice any difference (either way). If I start running into problems again, I'll check your version out.
klobkelosh said:
The 00tweaks universal script does a lot of things I'd rather control elsewhere or not muck with. So, I isolated the portion of the script that pertains to the ring lag. I pushed the attached file to the init.d folder.make sure you remove the .txt part. No adverse effects that I notice yet. Phone sounds on the second ring. Good luck.
Click to expand...
Click to collapse
Nice I was testing with that also. I hope it all works out for you with your setup. I can make a flash .zip ver of each one to make it easy for others.
Thanks for testing this out. I hope DEV's just start rolling it in there roms.
klobkelosh said:
The 00tweaks universal script does a lot of things I'd rather control elsewhere or not muck with. So, I isolated the portion of the script that pertains to the ring lag. I pushed the attached file to the init.d folder.make sure you remove the .txt part. No adverse effects that I notice yet. Phone sounds on the second ring. Good luck.
Click to expand...
Click to collapse
klobkelosh, sorry for the newbie question... how do i get to the init.d folder? and i tried deleting the extension in file manager with no luck

Made my g1 a LOT LOT faster

Hey. I am running froyo by lazlo. recently i had an idea to use development setting to kill activity immediately leave them and limit the app processes to 4. I am using lightning launcher as my main home launcher and increase vm heap to 48 and enabled JIT(sometimes its faster and sometimes slower) and enabled gpu rendering. Now my phone is flying. Apps open very fastly and according to taskkiller i have 50 mb free ram.
Bad Part. Multitasking is Dead. Sometimes playstore needs to be opened twice. mailing attachment takes longer because gmail is killed when gallery opens
buggatti said:
Hey. I am running froyo by lazlo. recently i had an idea to use development setting to kill activity immediately leave them and limit the app processes to 4. I am using lightning launcher as my main home launcher and increase vm heap to 48 and enabled JIT(sometimes its faster and sometimes slower) and enabled gpu rendering. Now my phone is flying. Apps open very fastly and according to taskkiller i have 50 mb free ram.
Bad Part. Multitasking is Dead. Sometimes playstore needs to be opened twice. mailing attachment takes longer because gmail is killed when gallery opens
Click to expand...
Click to collapse
Questions:
How did you do this?
I found the settings for JIT enabling, but all the others are not in the standard FBL rom, unless it's REALLY hidden...
same here, cant find any of those settings except for jit and vm(my vm can only go to 32m), changing those 2 my first boot locked up on the home screen , 2nd boot started ok, dont c much change though, lazlo was pretty fast as it was, but after a while was laggy, backing it up and then using superwipe then restoring the backup seems to help
If I remember correctly, those options are in Gingerbread Roms, not FBL.
i got to the other setting using dev tools. i downloaded the apk from the Internet and the setting are there in the development setting in the app
buggatti said:
i got to the other setting using dev tools. i downloaded the apk from the Internet and the setting are there in the development setting in the app
Click to expand...
Click to collapse
That little bit of info would have REALLY helped.
From your OP, you made it sound like it was FBL without anything added.
TY. Will check it out.
I don't know what you got. The Development APK I have (from Android SDK) doesn't change vm size, or any or the other settings you have.
As I said, it ain't FBL.
cwwilson721 said:
I don't know what you got. The Development APK I have (from Android SDK) doesn't change vm size, or any or the other settings you have.
As I said, it ain't FBL.
Click to expand...
Click to collapse
I used the build.prop to change the vmheap size. also there is an app to that too..enabled gpu rendering by adding debug.sf.hw=1 in build.prop. You can do that by using Bladebuddy app. Both the vmheap and bladebuddy are in the playstore
i enabled jit from extra settings menu in setting
the app limit and close app when user leave are in development setting menu in dev tools
buggatti said:
I used the build.prop to change the vmheap size. also there is an app to that too..enabled gpu rendering by adding debug.sf.hw=1 in build.prop. You can do that by using Bladebuddy app. Both the vmheap and bladebuddy are in the playstore
i enabled jit from extra settings menu in setting
the app limit and close app when user leave are in development setting menu in dev tools
Click to expand...
Click to collapse
Wheres the development settings and dev tools?
iEmDan said:
Wheres the development settings and dev tools?
Click to expand...
Click to collapse
It's an app called Dev tools.
http://www.mediafire.com/?j6yye9803i00i2y
Lightning Launcher makes the phone a bit faster. You have to spend some time customizing your shortcuts. I use this and Autokiller and I'm pretty happy on Froyo by lazlo.

It's not smooth !

Hello,
I'm using JB rom. I love ICS but there is one problem : scrolling screens aren't smooth. I mean everything is (settings, options, etc ...) except the screens that scroll.
I hate that because I've the impression my phone is lagging
What can I do to correct that ?
Thanks.
Try enable 16bit transparency, disable surface dithering and enable purging of assets in performance settings, I get the best performance with this setup. Also make sure its a clean install of the rom and you haven't undervolt too much as this can cause lag and reboot, hope I helped
Sent from the real world by hacking into the matrix
One more thing, I use ram manager pro on "hard gaming (less aggressive)" setting and it smooths performance, however apps will close more often in background, you can also try "v6 supercharger" if you know what you're doing to achieve the same
Sent from the real world by hacking into the matrix
Do these settings will not consume my battery too much ?
Also I flashed a 2.2 CEE Froyo Rom, installed a kernell but it said that it failed (dunno why), and then installed the rom et the apps. Of course I did wipes.
Also, I found an app called Jelly Bean Launcher. It's really really smooth. But I know it's a fake and if it is possible I prefer running the true one.
Edit : Your settings didn't change anything. Scrollings screens aren't smooth. I'm sad because everything is perfect except that :'(
Trying your app
Unkk said:
Do these settings will not consume my battery too much ?
Also I flashed a 2.2 CEE Froyo Rom, installed a kernell but it said that it failed (dunno why), and then installed the rom et the apps. Of course I did wipes.
Also, I found an app called Jelly Bean Launcher. It's really really smooth. But I know it's a fake and if it is possible I prefer running the true one.
Edit : Your settings didn't change anything. Scrollings screens aren't smooth. I'm sad because everything is perfect except that :'(
Trying your app
Click to expand...
Click to collapse
Maybe its just the build, I've never tried cm10 but people say its smoother than cm9 so maybe try a different build, my suggestions are based on what I find in cm9, default settings has choppy scrolling for me, only other cause I can think of is too many apps installed running in background or low CPU speed, try overclocking if you haven't, I run at 1.1ghz
Sent from the real world by hacking into the matrix
I use apex launcher and its very smooth on CM10!
Ahh yes maybe its as simple as a launcher change, I use go launcher but apex looks more authentic as its based on stock
Sent from the real world by hacking into the matrix
Unkk said:
Hello,
I'm using JB rom. I love ICS but there is one problem : scrolling screens aren't smooth. I mean everything is (settings, options, etc ...) except the screens that scroll.
I hate that because I've the impression my phone is lagging
What can I do to correct that ?
Thanks.
Click to expand...
Click to collapse
Hey!
First of all make a backup (at least from /system).
It happened the same to me: it was too slow! No matter what, CPU settings, RAM MAnager profile, task killer, etc until I changed my dalvik vm settings. Now my Defy is amazing!
I read this article https://ryanolson.wordpress.com/2010/07/13/test-how-changing-the-max-amount-of-memory-per-vm-heap-can-effect-your-rom-cyanogen/ and found that my dalvik vm heap was wrong.
First I tried 16m with "RAM manager free" and had a bootloop, I had to restore a backup for that
Then I tried 32mb and I still had a bootloop.
Finally I tested again 32mb and forced in the build.prop the same 32mb and it finally booted. (I used this app to edit it)
Resuming:
1) Set 32m in RAM Manager Free
2) Set dalvik.vm.heapgrowthlimit=32m & dalvik.vm.heapsize=32m
3) Be aware with the Settings menu, it's a memory killer app (try to kill it whenever you can)
If you have any problem you can always restore the system backup.
Greetings!
elnacho12 said:
Hey!
First of all make a backup (at least from /system).
It happened the same to me: it was too slow! No matter what, CPU settings, RAM MAnager profile, task killer, etc until I changed my dalvik vm settings. Now my Defy is amazing!
I read this article https://ryanolson.wordpress.com/2010/07/13/test-how-changing-the-max-amount-of-memory-per-vm-heap-can-effect-your-rom-cyanogen/ and found that my dalvik vm heap was wrong.
First I tried 16m with "RAM manager free" and had a bootloop, I had to restore a backup for that
Then I tried 32mb and I still had a bootloop.
Finally I tested again 32mb and forced in the build.prop the same 32mb and it finally booted. (I used this app to edit it)
Resuming:
1) Set 32m in RAM Manager Free
2) Set dalvik.vm.heapgrowthlimit=32m & dalvik.vm.heapsize=32m
3) Be aware with the Settings menu, it's a memory killer app (try to kill it whenever you can)
If you have any problem you can always restore the system backup.
Greetings!
Click to expand...
Click to collapse
thanks for the info
BTW There is a app for that now , http://forum.xda-developers.com/showthread.php?t=803470

Help fix your Droid X lag

For all those fans out there still using a stock rooted Droid X.
Here is a nice simple tweak to help elimiate lag and spontanious reboots on the X.
Download "VM Heap Tool (root only) from the market OR edit your built.prop manually if you know how.
Set your heap size to 36mb (Default is 32mb).
Q:
Why does this work?
A:
The Blur system process rides at about 31mb even after a reboot. This causes almost constant garbage collection by "system".
It just needs a little bit more room.
Q:
Why not just set it real high like 40, 44, 48, etc (Some third party ROM do this)?
A:
The X only has 512mb of ram, if you set your heap size high it may run out of ram and terminate apps instead of doing garbage collection.
36 is the sweet spot on the X.
Q:
I have my Heap size set lower than 32mb and my phone works good and it shows lots of free ram.
A:
The free RAM is because of the constant garbage collection, usually at the cost of major lag, hangs and reboots.
It is your phone and your setting.
Thanks brother
Sent from my Galaxy Nexus using xda app-developers app
greedj said:
Set your heap size to 36mb (Default is 32mb).
Click to expand...
Click to collapse
Noob here. You are referring to the Dalvik heap, correct, and not some other heap I am not seeing in build.prop?

Categories

Resources