- 07-09-2012, 02:51 PM
Thread Author #1
[GUIDE] Disable CPU rendering
I found this tweak while trying to look for a loopy smothness tweak made for ICS, but I ended up finding something better than loopy smoothness, a guide to disable CPU rendering. With this tweak you can take full advantage of your device's GPU. In other words you disable software rendering and enable hardware rendering instead (correct me if I'm wrong).
Original thread where I found the tweak:
If you end up adding this tweak into a custom rom you are sharing, please don't forget to give credit for it. You can thank me and mrg666 for it
Confirmed working on:
- BobZhome CM9 [VM670]
- quattrimus CM9 [VM670]
- mrg666 MiRaGe IHO [VM670]
- BobZhome IHO [VM670]
- any device with working adreno200 drivers (in this case my LG myTouch 4G is a good example, it worked marvelously and more noticeably on this device)
It should work on any rom.
What might you benefit from? So far this is what I noticed.
- performance boost
- speed boost
- increased responsiveness
- better audio quality
- apps such as Facebook that would become slow and unresponsive are suddenly blazing fast
I forgot to mention this before, I recommend you use Root Explorer or another file browser that has root support to install the tweak. Also set the permission to rw-r--r-- for the egl.cfg file.
Disable CPU rendering
Code:It removes the entire soft-rendering pathway, hence good performance. Download the attachment and put it under system/lib/egl and delete libGLES_android.so from egl folder. That's all. P.S. It's flashable via CWM recovery now with the eglpatch, it just got easier. But if you would like to do it manually for whatever reason, this guide will still remain here.
I didn't develop this tweak, I came across it and tested it with my LG Optimus V and my LG myTouch 4G both on GB and ICS roms for both devices and it works and I'm not entirely sure about this but it should work on some other devices. I'm not responsible for anything that goes wrong with your device, you know the risks of flashing files to root. Make a backup first.
Enjoy
Update! mrg666 compiled a flashable zip, the link to his post is right here
Another update! It's been confirmed that this tweak doesn't seem to work on Froyo based roms, it causes an endless bootloop. Although it's been confirmed to work on Harmonica. So from what I know it will work best on GB and above.
Edit: try out this build.prop tweak, it speeds things up a bit more.
Open build.prop and add the following
change dalvik.vm.dexopt-flags=m=y TO
dalvik.vm.dexopt-flags=m=y,o=v,u=y
right below add
dalvik.vm.execution-mode=int:jit
then change windowsmgr.max_events_per_sec = 300
comment out with #
then saveLast edited by LeoLawliet; 09-08-2012 at 04:05 PM.
Thanked by 29:+ Show/Hide list of the thanked -
Badboytoast, bigsupersquid, BukuBacon, cole2kb, Conrail16, D33z, daffy_duck_nj, dingermtb, irish-68, kalaniboy, lebooo, LeetMiniWheat, Liimon, mablake184, mlson, mrg666, niftypixel, notown, pbailey212, poweredge99, r00t, scotti1111, Shady24, shawne11, speakxj7, ThatGuyLurkin, thewaywardgeek013, tli, zoidberg_md
- 07-09-2012, 03:40 PM #2
- 07-09-2012, 03:42 PM
Thread Author #3
- 07-09-2012, 03:45 PM #4
Didn't work for me. Soft bricked my phone. On bobzhome cm7 5-20
Sent from my LG-VM670 using Tapatalk - 07-09-2012, 03:48 PM
Thread Author #5
- 07-09-2012, 03:54 PM #6
- 07-09-2012, 03:57 PM #7
Soft brick meaning bootloop? I get confused with meanings. :P
Sent from my LG-VM670 using Tapatalk 2 - 07-09-2012, 03:57 PM
Thread Author #8
- 07-09-2012, 03:58 PM #9
- 07-09-2012, 03:59 PM
Thread Author #10
- 07-09-2012, 04:13 PM #11
Re: [GUIDE] Disable CPU rendering
Another confirmation of this working using Bobzhome cm9 rom. I do feel everything is a bit more responsive. Any idea it fixes some of the other issues like white screen on gmail and related apps? thanks
edit: I use twitter primarily on browser. Previously between touch and trying to scroll there was a lag, and now its smooth and fast.Last edited by zoidberg_md; 07-09-2012 at 04:21 PM. Reason: confirm improvement.
- 07-09-2012, 04:26 PM
Thread Author #12
Re: [GUIDE] Disable CPU rendering
- 07-09-2012, 04:50 PM #13
- 07-09-2012, 05:00 PM
Thread Author #14
- 07-09-2012, 05:05 PM #15
Re: [GUIDE] Disable CPU rendering
instead of removing the original .cfg and .so, i renamed em with an added .old extension in case i had to put em back

i haven't noticed any differences yet myself, but it's only been a half hour or so of testing.....**.../\…•^•…/\...**....
|..................................| - 07-09-2012, 05:09 PM #16
- 07-09-2012, 05:17 PM
Thread Author #17
Smart man, if I knew how to make scripts I may have actually considered compiling an install script for this that would install the tweak, set the right permissions, and backup the old one, like you just mentioned. Kinda also like V6 Supercharger backs up the old build.prop
Sent from my LG-E739 using Tapatalk 2 - 07-09-2012, 05:33 PM #18
- 07-09-2012, 05:38 PM #19
- 07-09-2012, 05:44 PM #20
Re: [GUIDE] Disable CPU rendering
I have attached here a flashable zip file that will do the trick for you. Like bigsupersquid, I am not sure if there is any difference and Antutu is giving exactly the same 2D/3D GPU scores. Anyway, it is good to have one less library in the ROM as long as we can do without it.
Thanked by 26:+ Show/Hide list of the thanked -
A-android-B, Badboytoast, bigsupersquid, bornagainpenguin, BuggerZ, clodfelterac, Conrail16, daffy_duck_nj, flapjack.fiasco, jspina, kalaniboy, lebooo, LeoLawliet, loFreaQ, MasterTec, pandulce1, pbailey212, poweredge99, pozdzik2, r00t, Ryuk6666, scotti1111, smokenbiskits, SsJ_Vasto, ThatGuyLurkin, tli
- 07-09-2012, 05:58 PM #21
- 07-09-2012, 06:05 PM #22
Re: [GUIDE] Disable CPU rendering
mrg, it will be a sad day indeed when you finally get the banned today/not banned tomorrow Galaxy Nexus (damn that rotten fruit). I know that you'll still have OVs around, but that new toy will take most of your dev time.
I think that the flashable zip posted by mrg right above your post will prevent that from happening by setting the permissions for you. However, make a backup before hand.Last edited by pandulce1; 07-09-2012 at 06:12 PM.
Thanked by 2: - 07-09-2012, 06:13 PM #23
- 07-09-2012, 06:24 PM #24Thanked by:
- 07-09-2012, 06:24 PM #25
Re: [GUIDE] Disable CPU rendering
boot into recovery from powered off state (hold home, vol down, and power) and restore the nandroid that you made, or wipe and reflash rom, tweak, gapps, reboot?...
Last edited by clodfelterac; 07-09-2012 at 06:32 PM.
Thanked by:




Reply





































