| || |
[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: [TWEAK] ICS Specific Tweaks of XPERIA MOD ROM
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
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.
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.
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
right below add
then change windowsmgr.max_events_per_sec = 300
comment out with #