Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Page 1 of 8 1234 ... LastLast
Results 1 to 25 of 190
Like Tree21Likes
  1. Thread Author  Thread Author    #1  
    LeoLawliet's Avatar

    Posts
    713 Posts
    ROM
    CM7.2/MiRaGe kernel

    Default [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

    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
    Attached Files Attached Files
    Last edited by LeoLawliet; 09-08-2012 at 04:05 PM.
    Thanked by 31:
    + Show/Hide list of the thanked
  2. #2  

    Default Re: [GUIDE] Disable CPU rendering

    So how exactly do use this on my V?
  3. Thread Author  Thread Author    #3  
    LeoLawliet's Avatar

    Posts
    713 Posts
    ROM
    CM7.2/MiRaGe kernel

    Default Re: [GUIDE] Disable CPU rendering

    Root Explorer or a file browser that has root support.
  4. #4  
    sellers86's Avatar

    Posts
    1,840 Posts
    ROM
    CNA/CM9/Mirage

    Default

    Didn't work for me. Soft bricked my phone. On bobzhome cm7 5-20

    Sent from my LG-VM670 using Tapatalk
  5. Thread Author  Thread Author    #5  
    LeoLawliet's Avatar

    Posts
    713 Posts
    ROM
    CM7.2/MiRaGe kernel

    Default Re: [GUIDE] Disable CPU rendering

    Quote Originally Posted by sellers86 View Post
    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.
  6. #6  
    sellers86's Avatar

    Posts
    1,840 Posts
    ROM
    CNA/CM9/Mirage

    Default

    Quote Originally Posted by LeoLawliet View Post
    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
  7. #7  

    Default

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

    Sent from my LG-VM670 using Tapatalk 2
  8. Thread Author  Thread Author    #8  
    LeoLawliet's Avatar

    Posts
    713 Posts
    ROM
    CM7.2/MiRaGe kernel

    Default Re: [GUIDE] Disable CPU rendering

    Quote Originally Posted by sellers86 View Post
    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.

    Quote Originally Posted by ThatGuyLurkin View Post
    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
  9. #9  
    sellers86's Avatar

    Posts
    1,840 Posts
    ROM
    CNA/CM9/Mirage

    Default

    Quote Originally Posted by LeoLawliet View Post
    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
  10. Thread Author  Thread Author    #10  
    LeoLawliet's Avatar

    Posts
    713 Posts
    ROM
    CM7.2/MiRaGe kernel

    Default Re: [GUIDE] Disable CPU rendering

    Quote Originally Posted by sellers86 View Post
    Just booted up. It runs great. No keyboard lag, better performance. Thanks.

    Sent from my LG-VM670 using Tapatalk
    Awesome! You're welcome
  11. #11  

    Default 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.
  12. Thread Author  Thread Author    #12  
    LeoLawliet's Avatar

    Posts
    713 Posts
    ROM
    CM7.2/MiRaGe kernel

    Default Re: [GUIDE] Disable CPU rendering

    Quote Originally Posted by zoidberg_md View Post
    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.
  13. #13  
    r00t's Avatar

    Posts
    171 Posts
    ROM
    CM7.2-IHO-MiRaGe

    Default Re: [GUIDE] Disable CPU rendering

    So all it is is extracting the egl.cfg to /system/lib/egl then delete /system/lib/egl/libGLES_android.so and reboot?
  14. Thread Author  Thread Author    #14  
    LeoLawliet's Avatar

    Posts
    713 Posts
    ROM
    CM7.2/MiRaGe kernel

    Default Re: [GUIDE] Disable CPU rendering

    Quote Originally Posted by r00t View Post
    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!
    Thanked by:
    r00t 
  15. #15  
    bigsupersquid's Avatar
    o_O

    Posts
    1,765 Posts
    ROM
    bigsuperROM_os2sd

    Default 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.
    keep the wife happy with my dev time:
    donate!
    the THANKS button is quite acceptable if you're as stingy as me, too.
    java007 and glarepate like this.
  16. #16  
    r00t's Avatar

    Posts
    171 Posts
    ROM
    CM7.2-IHO-MiRaGe

    Default Re: [GUIDE] Disable CPU rendering

    Yup, I do feel the difference in performance. Much more faster!

    I wish I could've done a before and after benchmark though.
  17. Thread Author  Thread Author    #17  
    LeoLawliet's Avatar

    Posts
    713 Posts
    ROM
    CM7.2/MiRaGe kernel

    Default

    Quote Originally Posted by bigsupersquid View Post
    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
  18. #18  
    atrain2324's Avatar

    Posts
    202 Posts
    ROM
    BobZ CM10

    Default Re: [GUIDE] Disable CPU rendering

    how is the battery life using this tweak?
  19. #19  

    Default

    Thanks! Noticeable difference in scrolling for sure
  20. #20  
    mrg666's Avatar

    Posts
    734 Posts
    ROM
    CM7.2-IHO-MiRaGe

    Default 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.
    Attached Files Attached Files
    Thanked by 29:
    + Show/Hide list of the thanked
  21. #21  

    Default Re: [GUIDE] Disable CPU rendering

    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?
  22. #22  
    pandulce1's Avatar

    Posts
    15 Posts
    ROM
    IHO MiRaGe

    Default 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.

    Quote Originally Posted by aimlessanomaly View Post
    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.
    Last edited by pandulce1; 07-09-2012 at 06:12 PM.
    Thanked by 2:
  23. #23  

    Default Re: [GUIDE] Disable CPU rendering

    Quote Originally Posted by pandulce1 View Post
    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
    Last edited by aimlessanomaly; 07-09-2012 at 06:29 PM.
  24. #24  
    mrg666's Avatar

    Posts
    734 Posts
    ROM
    CM7.2-IHO-MiRaGe

    Default Re: [GUIDE] Disable CPU rendering

    Quote Originally Posted by aimlessanomaly View Post
    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.
    Thanked by:
  25. #25  
    clodfelterac's Avatar
    Samurai Dev

    Posts
    736 Posts
    ROM
    IllusionB / OM

    Default 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:
Page 1 of 8 1234 ... LastLast

Posting Permissions