02-07-2017 04:18 PM
192 123 ...
tools
  1. LeoLawliet's Avatar
    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

    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.
    
    egl.zip 
    
    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 save
    07-09-2012 02:51 PM
  2. aimlessanomaly's Avatar
    So how exactly do use this on my V?
    07-09-2012 03:40 PM
  3. LeoLawliet's Avatar
    Root Explorer or a file browser that has root support.
    07-09-2012 03:42 PM
  4. sellers86's Avatar
    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:45 PM
  5. LeoLawliet's Avatar
    Didn't work for me. Soft bricked my phone. On bobzhome cm7 5-20

    Sent from my LG-VM670 using Tapatalk
    Did you set the right permissions for the egl.cfg? Do that and restart.
    It should be rw-r--r--

    Sorry about that, I should've mentioned it on the first post, the original post didn't mention anything about that.
    07-09-2012 03:48 PM
  6. sellers86's Avatar
    Did you set the right permissions for the egl.cfg? Do that and restart.
    It should be rw-r--r--

    Sorry about that, I should've mentioned it on the first post, the original post didn't mention anything about that.
    I didn't even think of that lol. I'll try again

    Sent from my LG-VM670 using Tapatalk
    07-09-2012 03:54 PM
  7. ThatGuyLurkin's Avatar
    Soft brick meaning bootloop? I get confused with meanings. :P

    Sent from my LG-VM670 using Tapatalk 2
    07-09-2012 03:57 PM
  8. LeoLawliet's Avatar
    I didn't even think of that lol. I'll try again

    Sent from my LG-VM670 using Tapatalk
    I hope it works for you this time, if anything I can confirm that it works on mirage.

    Soft brick meaning bootloop? I get confused with meanings. :P

    Sent from my LG-VM670 using Tapatalk 2
    I think that's what he meant lol
    07-09-2012 03:57 PM
  9. sellers86's Avatar
    I hope it works for you this time, if anything I can confirm that it works on mirage.
    Just booted up. It runs great. No keyboard lag, better performance. Thanks.

    Sent from my LG-VM670 using Tapatalk
    07-09-2012 03:58 PM
  10. LeoLawliet's Avatar
    Just booted up. It runs great. No keyboard lag, better performance. Thanks.

    Sent from my LG-VM670 using Tapatalk
    Awesome! You're welcome
    07-09-2012 03:59 PM
  11. zoidberg_md's Avatar
    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.
    07-09-2012 04:13 PM
  12. LeoLawliet's Avatar
    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.
    I'm pretty sure you still have to move those apps over to system instead of data to get it working without the white screen issue. And thanks for confirming that it works, I may make a list of roms it's confirmed to be working on, tho that may not be necessary.
    07-09-2012 04:26 PM
  13. r00t's Avatar
    So all it is is extracting the egl.cfg to /system/lib/egl then delete /system/lib/egl/libGLES_android.so and reboot?
    07-09-2012 04:50 PM
  14. LeoLawliet's Avatar
    So all it is is extracting the egl.cfg to /system/lib/egl then delete /system/lib/egl/libGLES_android.so and reboot?
    Don't forget to change the permission for the egl.cfg file before rebooting. It's that simple!
    r00t likes this.
    07-09-2012 05:00 PM
  15. bigsupersquid's Avatar
    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.
    java007 and glarepate like this.
    07-09-2012 05:05 PM
  16. r00t's Avatar
    Yup, I do feel the difference in performance. Much more faster!

    I wish I could've done a before and after benchmark though.
    07-09-2012 05:09 PM
  17. LeoLawliet's Avatar
    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.
    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:17 PM
  18. atrain2324's Avatar
    how is the battery life using this tweak?
    07-09-2012 05:33 PM
  19. Mack07018's Avatar
    Thanks! Noticeable difference in scrolling for sure
    07-09-2012 05:38 PM
  20. mrg666's Avatar
    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.
    07-09-2012 05:44 PM
  21. aimlessanomaly's Avatar
    So any idea what I should do if I forget to set the permissions and end up with a black screen and unable to boot?
    07-09-2012 05:58 PM
  22. pandulce1's Avatar
    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.

    So any idea what I should do if I forget to set the permissions and end up with a black screen and unable to boot?
    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.
    aimlessanomaly and mrg666 like this.
    07-09-2012 06:05 PM
  23. aimlessanomaly's Avatar
    I think that the flashable zip posted by mrg right about your post will prevent that from happening by setting the permissions for you. However, make a backup before hand.
    What I'm trying to say is I forgot to set the permissions and cannot boot :/

    Edit: Thanks, I'm all fixed :P
    07-09-2012 06:13 PM
  24. mrg666's Avatar
    What I'm trying to say is I forgot to set the permissions and cannot boot :/
    You can wipe cache/dalvik-cache and reflash the ROM in recovery.
    aimlessanomaly likes this.
    07-09-2012 06:24 PM
  25. clodfelterac's Avatar
    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?...
    aimlessanomaly likes this.
    07-09-2012 06:24 PM
192 123 ...
LINK TO POST COPIED TO CLIPBOARD