Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
leolawliet
Old
(Last edited by leolawliet; 25th September 2012 at 04:54 AM.)
#1  
leolawliet's Avatar
Senior Member - OP
Thanks Meter 438
Posts: 1,464
Join Date: Aug 2011
Location: New York, NY
Default [GUIDE] Disable CPU Rendering

I started this thread over at the LG-VM670 forums at Android Central. I thought maybe it was about time I share it over here on XDA since it's a pretty great tweak and it works without any added issues.

But keep in mind, if your phone doesn't have adreno200 gpu drivers, this won't work and could probably cause an endless bootloop. Now that that's covered, read up and do this carefully, this will not work on every device and is only meant for adreno200. I may have another tweak up my sleeve, but I need a device with something other than adreno200, such as tegra, to test it out on, which I don't have at the moment. Anyway, this worked out quite well for the Optimus V users, I believe it works on Xperia devices as well and it's been confirmed to work on Galaxy SIII. I'll try my very best to keep this thread updated, I don't have a ton of devices to test this on so I'd really appreciate some feedback so I can update the main post and list whatever devices this tweak works with (nobody wants a endless bootloop, so let's inform each other) oh and before I forget.. MAKE A NANDROID BACKUP!! Just in case





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]
- Galaxy SIII
- Xperia devices
- 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, just as long as it has adreno200. You can figure that out by using a file browser like Root Explorer and browse /system/lib/egl/


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 adreno200 drivers, this tweak is a simple change to the egl.conf file, 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.

Yet another update! This info is for anyone who doesn't have adreno200 on their device. Instead of flashing the cwm patch, edit your egl.cfg file manually with Root Explorer or whatever root file browser you use, and edit out the first line, which is pretty much the default CPU rendering. I hope I'm correct about this, if not then I apologize in advance. This is what others reported working for them.


build.prop edits: 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
then save
My roms:

- E739 -

PenberRom2
The Following 135 Users Say Thank You to leolawliet For This Useful Post: [ Click to Expand ]
 
BoostRoid
Old
#2  
Member
Thanks Meter 16
Posts: 85
Join Date: May 2012
Gunna try it now and report back

Sent from the best smartphone in the world!

---------- Post added at 06:36 PM ---------- Previous post was at 06:03 PM ----------

OK well I copied over the file and set permissions. It booted up fine, as you van tell by me posting here lol. Gunner use the phone and see if I noticed any difference


Sent from the best smartphone in the world!
 
R99DLO
Old
#3  
Junior Member
Thanks Meter 1
Posts: 7
Join Date: Sep 2012
any chance this could work on LG Thrill 4g?
 
vasiaeva
Old
(Last edited by vasiaeva; 9th September 2012 at 07:08 AM.)
#4  
vasiaeva's Avatar
Senior Member
Thanks Meter 46
Posts: 445
Join Date: Jan 2011
Try it on Evo 4g........
Thnx bro. Its work. Its became real smooth.
I'm on Deck Reloaded GB
Kernel ; Mason
Sent from my PC36100 using Xparent ICS Tapatalk 2
 
broodplank1337
Old
(Last edited by broodplank1337; 10th September 2012 at 12:10 AM.)
#5  
broodplank1337's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 4822
Posts: 3,079
Join Date: Nov 2011
Location: Nijmegen

 
DONATE TO ME
Working on Galaxy S Plus i9001 (tested GB)
Testing results...

edit: Hmm, it actually lowered my 3d antutu score with almost 200 points, so I guess for the i9001 this tweak isn't going to help
Samsung Galaxy S Plus (i9001)

Latest Roms:

broodROM Jellybean
- Powerful, smooth, stable, personalized, awesome battery life (1% per hour) and open source
-- Github here

Android Barebone Packages (ABP)
- Probably currently one of the smallest ROMS of the universe (33mb)
-- Github here


For sources you can visit my Github. Or take a look at all my projects

 
leolawliet
Old
#6  
leolawliet's Avatar
Senior Member - OP
Thanks Meter 438
Posts: 1,464
Join Date: Aug 2011
Location: New York, NY
Quote:
Originally Posted by broodplank1337 View Post
Working on Galaxy S Plus i9001 (tested GB)
Testing results...

edit: Hmm, it actually lowered my 3d antutu score with almost 200 points, so I guess for the i9001 this tweak isn't going to help
Different hardware, I guess different results. I'm gonna run some benchmarks when I have free time.

Sent from my LG-E739 using Tapatalk 2
My roms:

- E739 -

PenberRom2
The Following User Says Thank You to leolawliet For This Useful Post: [ Click to Expand ]
 
wilderckw
Old
#7  
wilderckw's Avatar
Senior Member
Thanks Meter 47
Posts: 833
Join Date: Apr 2011
You think I can flash it with TWRP?

Sent from my SPH-L710 using xda premium
 
antiochasylum
Old
#8  
antiochasylum's Avatar
Recognized Contributor
Thanks Meter 7086
Posts: 3,725
Join Date: May 2010
Location: Arlington TX

 
DONATE TO ME
This will work with any device.

I just did it to my Nexus 7, Euro Galaxy S3, American Galaxy S3 and Euro Galaxy note.

Its just editing the config file to read only the GPU. You will notice a huge improvement in day to day tasks. However benchmarks will go down.

But that just proves how benchmarks don't mean crap.

Thanks for this!



Click below to see my teams work
 
Team Asylum CM 10.1 for the Galaxy Note 2 LTE
Team Asylum CM 10.1 for the Galaxy Note 2 HSPA
Team Asylum CM 10.1 for the Nexus 4(mako)
Team Asylum CM 10.1 For the N7000
AsylumCore kernel, my variant of the Note2Core kernel by g.lewarne for the AT&T Note 2


Nexus One < Tab 7 < Xoom < Tab 10.1 < Nexus S < Galaxy S II < Tab 7 Plus < Galaxy Nexus < Galaxy Note N7K < Nexus 7 < Galaxy S III < AT&T Galaxy S III < AT&T Galaxy Note II < Nexus 4
The Following 3 Users Say Thank You to antiochasylum For This Useful Post: [ Click to Expand ]
 
leolawliet
Old
#9  
leolawliet's Avatar
Senior Member - OP
Thanks Meter 438
Posts: 1,464
Join Date: Aug 2011
Location: New York, NY
I go based on how the phone responds to my everyday needs, not benchmarks. That's just a number to show an estimated score based on a bunch of other devices out there. If it gets everything I need done taken care if, I'm satisfied. If it responds faster, even better.

Sent from my LG-E739 using Tapatalk 2
My roms:

- E739 -

PenberRom2
The Following User Says Thank You to leolawliet For This Useful Post: [ Click to Expand ]
 
Mrheartlockar
Old
#10  
Mrheartlockar's Avatar
Senior Member
Thanks Meter 6
Posts: 113
Join Date: Apr 2011
Location: Dehradun
Works on galaxy mini...
.
.
But now my mini bcaming hot..
.
.
.

Idk why but it really became hot from back.. :?


Sent from my GT-S5570 using xda premium

---------- Post added at 09:24 AM ---------- Previous post was at 09:20 AM ----------

And with... this..
..
Gta works very welll

Sent from my GT-S5570 using xda premium

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...