[KERNEL] [Nougat] [Voltage Control] Kawori Kernel for Oneplus 2 (r7, 2017/08/16)

aviraxp

Senior Member
Jun 24, 2016
482
896
0
Beijing
@aviraxp any chance you can include the fix to make better battery stats to show kernel wakelocks in your kernel? I know this workaround works: https://forum.xda-developers.com/on...ncokernel-r1-20th-march-t3576338/post71734617
Your ROM does not mount debugfs properly. Tell your ROM maintainer to fix it.

He need to include this commit:
https://gerrit.omnirom.org/#/c/23888/


I have also included another workaround in my kernel. (Create a procfs entry), but not all apps recognize this path. Check if it works.
 
Last edited:

chxei

Senior Member
Jun 26, 2015
483
117
63
tbilisi
Thanks bro, but the data i is still empty.
ok now i get it whats happening. so you open kernel adiutor, than you open cpu menu, but big cores are turned off by hotplug, so kernel adiutor can't see values and tunables of big cores and it waits until they come online. so you shouldn't open cpu menu first, but rather than that open core control, turn on all cores an than go to cpu tab
 

cloudzhang23

Member
Nov 3, 2016
17
0
0
ok now i get it whats happening. so you open kernel adiutor, than you open cpu menu, but big cores are turned off by hotplug, so kernel adiutor can't see values and tunables of big cores and it waits until they come online. so you shouldn't open cpu menu first, but rather than that open core control, turn on all cores an than go to cpu tab
I also try to open "core control" tab first, but the CPU tab is still loading. And the device is getting hot. Don't know what is wrong. So I just restore the XOS boot
 

aviraxp

Senior Member
Jun 24, 2016
482
896
0
Beijing
I also try to open "core control" tab first, but the CPU tab is still loading. And the device is getting hot. Don't know what is wrong. So I just restore the XOS boot
I guess it is a xos specific issue then. XOS has so-called haloplug which control the cpu hotplug itself.

If you have emulator, try:

su -c pkill -9 haloplugd