CM12 Nightlies Hit the Note 4!

If you are eager to get nightly ROM fun on your Note 4, the latest Nightly build of CM12 has just arrived! … more

Pushbullet Available for iPad, Mac and Safari

One of the most useful tools for Android – Pushbullet – found its way to Mac OS X. … more

CyanogenMod 12 Dark Gray Theme

XDA Forum Memberprashantdrewshared one of his awesome themes. Change the look of your CyanogenMod 12 to gray … more

Runhex Runner

Got good reflexes? Check your skills with this classic jump and survive game by XDA Forum Memberdreamhex. Get your fingers … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Custom kernel with gram

OP djsven

5th January 2014, 11:26 AM   |  #1  
OP Senior Member
Thanks Meter: 41
 
924 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, 02:22 PM   |  #2  
bachera's Avatar
Senior Member
Thanks Meter: 523
 
1,900 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, 04:43 PM   |  #3  
OP Senior Member
Thanks Meter: 41
 
924 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, 05:20 PM   |  #4  
bachera's Avatar
Senior Member
Thanks Meter: 523
 
1,900 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, 07:50 PM   |  #5  
OP Senior Member
Thanks Meter: 41
 
924 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, 08:07 PM   |  #6  
Senior Member
Thanks Meter: 52
 
222 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 08:11 PM.
5th January 2014, 09:08 PM   |  #7  
matheus_sc's Avatar
Senior Member
Flag Barretos-SP
Thanks Meter: 353
 
1,479 posts
Join Date:Joined: Mar 2011
Donate to Me
More
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, 09:32 PM   |  #8  
OP Senior Member
Thanks Meter: 41
 
924 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 09:36 PM.

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

Advanced Search
Display Modes