Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,079 Members 54,177 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE][GPU Hardware Acceleration][p720/p920]

Tip us?
 
bagwithshi7
Old
(Last edited by bagwithshi7; 12th March 2014 at 09:36 AM.) Reason: final edit
#1  
bagwithshi7's Avatar
Member - OP
Thanks Meter 37
Posts: 32
Join Date: Oct 2012
Location: Sofia
Angry [GUIDE][GPU Hardware Acceleration][p720/p920]

READ CAREFULLY - WRONG OR MISSED STEP LEADS TO BRICK!

I was searching for some improvements for my other phone L7,
when accidental i`d found a simple method how to enable the GPU rendering instead of software.

You must have rooted phone and at last root explorer.
So here are the steps:

1. Enter /system/lib/egl/ and tab the [Mount /R/W].



2. Open egl.cfg with Text Editor.

3. The output should be like:
0 0 android
0 1 POWERVR_SGX540_120
You have to remove the first line and leave only 0 1 POWERVR_SGX540_120 in the file.
Save and exit.




4. Edit the permissions of /system/lib/egl/egl.cfg to looks like this:
X X 0
X 0 0
X 0 0
" -rw-r--r-- "



5. Rename the libGLES_android.so to libGLES_android.so.bak and tab [Mount R/O] up in right corner.

6. Reboot the phone.

What is the benefit of this?
From that moment the rendering will be made only by GPU.
The CPU is not on the same pressure and we gain more performance on simply browsing the desktops, menus, opening websites and etc.
Well the battery life is reduced by 10% to 15%, but guess all of us prefer smooth ride instead of 2 more hours battery life!

So far no problems on my Optimus 3D MAX, even on GB still happy ^^
The Following 19 Users Say Thank You to bagwithshi7 For This Useful Post: [ Click to Expand ]
 
bagwithshi7
Old
#2  
bagwithshi7's Avatar
Member - OP
Thanks Meter 37
Posts: 32
Join Date: Oct 2012
Location: Sofia
Default bump

bump
 
Delux9364
Old
#3  
Delux9364's Avatar
Senior Member
Thanks Meter 35
Posts: 126
Join Date: Nov 2009
Incredible, everything is smoother on cm10!! I feel like using a galaxy nexus!
Anyone could try this on v30a?
 
stobias_ah
Old
#4  
stobias_ah's Avatar
Senior Member
Thanks Meter 103
Posts: 120
Join Date: Apr 2012
Location: Hamburg
It seems to work on V30B
 
botson71
Old
#5  
Senior Member
Thanks Meter 45
Posts: 276
Join Date: Jul 2007
Is that different from enabling the "GPU rendering" in the developer options?
 
defcomg
Old
#6  
defcomg's Avatar
Senior Member
Thanks Meter 1,831
Posts: 2,405
Join Date: Dec 2006
Location: Port Elizabeth

 
DONATE TO ME
Quote:
Originally Posted by Delux9364 View Post
Incredible, everything is smoother on cm10!! I feel like using a galaxy nexus!
Anyone could try this on v30a?
Already set this on my V30a rom
 
kupuku
Old
#7  
kupuku's Avatar
Member
Thanks Meter 25
Posts: 84
Join Date: Jan 2012
Location: Brussels
tested on V30A works fine, thanks for sharing this
 
Dr. Mario
Old
#8  
Dr. Mario's Avatar
Senior Member
Thanks Meter 229
Posts: 806
Join Date: Sep 2012
This forced GPU tweak along with NAND TRIM clean-up (fstrim utility) turned the painfully slow phone into something I could seriously appreciate.

Sent from my LG Thrill 4G (PAC-man 4.1) using XDA app
 
bagwithshi7
Old
#9  
bagwithshi7's Avatar
Member - OP
Thanks Meter 37
Posts: 32
Join Date: Oct 2012
Location: Sofia
Quote:
Originally Posted by botson71 View Post
Is that different from enabling the "GPU rendering" in the developer options?
Yes its different. The "GPU rendering" in the developer options is using moderated software rendering as i know.
The Following User Says Thank You to bagwithshi7 For This Useful Post: [ Click to Expand ]
 
bagwithshi7
Old
#10  
bagwithshi7's Avatar
Member - OP
Thanks Meter 37
Posts: 32
Join Date: Oct 2012
Location: Sofia
I'm glad that's working for you and helped to the community as well!
Now you know what to hit *(if you know what i mean )

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes