Custom kernel with gram

Search This thread

switchgott

Senior Member
Jan 22, 2007
1,238
120
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
 
B

bachera

Guest
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
 

switchgott

Senior Member
Jan 22, 2007
1,238
120
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
 
B

bachera

Guest
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
 

switchgott

Senior Member
Jan 22, 2007
1,238
120
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?
 

sdrawkcab3

Senior Member
Feb 18, 2008
252
72
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:

matheus_sc

Senior Member
Mar 27, 2011
2,346
620
38
Barretos-SP
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
 

switchgott

Senior Member
Jan 22, 2007
1,238
120
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: