Github Tutorial App Shows You How to Use… Github

Github can get pretty complicated and using it can become quite daunting, especially … more

Google Glass-like Clip-On For Regular Glasses Developed by Sony

For the price of $2,000, a pair of glasses that can run apps, take pictures, … more

Micromax Takes OnePlus to Court! Android Wear Receives Lollipop – XDA TV

Android 5.0 Lollipop is available officially for the Moto 360! … more

Google Invites Selected Devs to Buy Project Tango Development Kit

Just about a month ago, the curious Project Tango development kit was … 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
 
922 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: 473
 
1,777 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
 
922 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: 473
 
1,777 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
 
922 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
 
219 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: 339
 
1,416 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, 09:32 PM   |  #8  
OP Senior Member
Thanks Meter: 41
 
922 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