Welcome to the New XDA-Developers Portal!

You may recall that a few weeks ago, we opened up the XDA-2015 forum themesto intrepid users … more

An Android Enthusiast’s Apple iPhone 6 Challenge

The media has gone batty again over Apple “revolutionizing” smartphones. … more

Sony to Extend its AOSP Program to Other Devices

Sony will be offering its users the possibility to use AOSP ROMs as an alternative to the … more

Project Ara: Modified Android L and Hot Swapping

Project Ara is a very exciting topic–both for hardware and software enthusiasts. The … more
Post Reply

Custom kernel with gram

5th January 2014, 10:26 AM   |  #1  
OP Senior Member
Thanks Meter: 40
 
918 posts
Join Date:Joined: Jan 2007
Hi to all,please could someone explain me how to get gram working with custom kernel?
Is it possible?
Which files we need?
Big thanks

Gesendet von meinem LG-D802 mit Tapatalk
5th January 2014, 01:22 PM   |  #2  
bachera's Avatar
Senior Member
Thanks Meter: 391
 
1,594 posts
Join Date:Joined: Sep 2013
it's supposedly full hardware, so no integration software's needed, but cannot confirm it.

Sent from my LG-D802 using xda app-developers app
5th January 2014, 03:43 PM   |  #3  
OP Senior Member
Thanks Meter: 40
 
918 posts
Join Date:Joined: Jan 2007
Thanks for replay.but i guess its not activate inside cm.Look at dot stock and cm.With stock you get dot 10 hours, cm only 4.How could this be?

Gesendet von meinem LG-D802 mit Tapatalk
5th January 2014, 04:20 PM   |  #4  
bachera's Avatar
Senior Member
Thanks Meter: 391
 
1,594 posts
Join Date:Joined: Sep 2013
what is dot?

many reasons why difference in battery life, analyse battery life and you find out. I get 6 hours of full charge screen on time.

Sent from my LG-D802 using xda app-developers app
5th January 2014, 06:50 PM   |  #5  
OP Senior Member
Thanks Meter: 40
 
918 posts
Join Date:Joined: Jan 2007
Now it would realy interessting, if we have to activate this feature with kernel.
But how?
There are no technical documents about with device, driver etc?
What we have to change inside kernel source code?
5th January 2014, 07:07 PM   |  #6  
Senior Member
Thanks Meter: 41
 
212 posts
Join Date:Joined: Feb 2008
Quote:
Originally Posted by djsven

Now it would realy interessting, if we have to activate this feature with kernel.
But how?
There are no technical documents about with device, driver etc?
What we have to change inside kernel source code?

I don't know if it's a kernel feature, but you can check to see if it's active on your device with dumpsys. I did it in terminal:

su
dumpsys SurfaceFlinger

Look for Qualcomm HWC State section. If you see DisplayPanel=9, your device is using GRAM or self panel refresh.

Edit: I'm using PAEK v5.2, and it's DisplayPanel=9. I won't be surprised if it's this way on every G2 kernel.
Last edited by sdrawkcab3; 5th January 2014 at 07:11 PM.
5th January 2014, 08:08 PM   |  #7  
matheus_sc's Avatar
Senior Member
Flag Olimpia-SP
Thanks Meter: 308
 
1,290 posts
Join Date:Joined: Mar 2011
Donate to Me
I think is on, because i see some screen With 11 hrs screen on time

Sent from my LG-d801 using XDA Premium 4 mobile app
5th January 2014, 08:32 PM   |  #8  
OP Senior Member
Thanks Meter: 40
 
918 posts
Join Date:Joined: Jan 2007
But not with Cm11!
I only get 4 hours screen on!
But big thanks for this info!

Qualcomm HWC state:
MDPVersion=500
DisplayPanel=9
HWC Map for Dpy: "PRIMARY"

Great!
But why i get with stock near 9 hours display on and with cm11 only 4??
Last edited by djsven; 5th January 2014 at 08:36 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in G2 Q&A, Help & Troubleshooting by ThreadRank