So far for the past two months or so we have been having the wonderful devs build some pretty awesome ICS Roms. I have been lucky enough with the rest of those on the g2x threads to benefit from Owains awesome ICS builds especially the latest linaro build. Now the one issue with ICS lately is the memory leaks and the lag that slows the phone down to a crawl. The lag on my phone especially got me looking through the internet and doing research on why it could be happening. I first found out that the implementation of Zram on ICS did not work correctly with our devices. This around the time I decided to disable the Zram on the ICS build from OWAin which at first when disabled it worked a little while but then it would start to slow down again. This is when I started messing with the build.prop and started messing around with the dalvik dexopt flags. I could probably go on and on but i will cut it short here. Now I am proud to present to you the lag free -dalvik fix. I obtained the following script with permission from batoo and his thread from the ATP forums. Link: http://xdaforums.com/showthread.php?t=1721799
. The dalvik dexopt flag change were found through research of android and the internet. Below is the procedure to get some serious butter melted from our G2x along with a smooth ride. There are two files you need: 1.modified build.prop or do manual fix 2.tune.sh script (script manager recommended)
NANDROID-BACK UP- YOU HAVE WARNED
Step 1: Download lagfree.zip below
Step 2: Extract to sdcard or internal storage
Step 3: assuming your using a rooted file browser. back up your current build.prop
Step 4: place the extracted build.prop in system folder and set permissions to RW-R-R
Step 5: reboot into reocvery and wipe dalvik cache
Step 6: reboot, dalvik cache will rebuild
Step 7: use Script manager or whatever app and run the tune.sh make sure you run with SU permissions. Reboot will disable script, run at every boot or set it with script manager
Step 6: Enjoy the buttery smooth g2x
-Manual Mode --
Open build.prop and add the following
change dalvik.vm.dexopt-flags=m=y TO
dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n
right below add
dalvik.vm.execution-mode=int:jit
then change windowsmgr.max_events_per_sec = 300
comment out with #
dalvik.vm.heapgrowthlimit
then save
then goto step 5 above.
Please provide feedback nd enjoy....
now im off to get drunk...
Sent from my Transformer Prime TF201 using xda premium
. The dalvik dexopt flag change were found through research of android and the internet. Below is the procedure to get some serious butter melted from our G2x along with a smooth ride. There are two files you need: 1.modified build.prop or do manual fix 2.tune.sh script (script manager recommended)
NANDROID-BACK UP- YOU HAVE WARNED
Step 1: Download lagfree.zip below
Step 2: Extract to sdcard or internal storage
Step 3: assuming your using a rooted file browser. back up your current build.prop
Step 4: place the extracted build.prop in system folder and set permissions to RW-R-R
Step 5: reboot into reocvery and wipe dalvik cache
Step 6: reboot, dalvik cache will rebuild
Step 7: use Script manager or whatever app and run the tune.sh make sure you run with SU permissions. Reboot will disable script, run at every boot or set it with script manager
Step 6: Enjoy the buttery smooth g2x
-Manual Mode --
Open build.prop and add the following
change dalvik.vm.dexopt-flags=m=y TO
dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n
right below add
dalvik.vm.execution-mode=int:jit
then change windowsmgr.max_events_per_sec = 300
comment out with #
dalvik.vm.heapgrowthlimit
then save
then goto step 5 above.
Please provide feedback nd enjoy....
now im off to get drunk...
Sent from my Transformer Prime TF201 using xda premium
Attachments
Last edited: