[KERNEL][v500]CM12.1] mani.Kernel v28 (17.08.15)

ckret

Senior Member
Sep 22, 2010
594
538
123
thanks to
@sleekmason for his tutorial
@franciscofranco for his sources and hotplug algorithm
@oubeichen for msm_kcal_ctrl port

Features:
-franco hotplug algorithm
-custom thermal throtteling
-cpu: interactive
-uv: table exposed
-faux123 gamma control
-various fixes and optimizations

changelog:
v28: 17.08.2015
-updated to newest changes
-removed synapse (flash it yourself)
-governor is conservative now
-reverted some changes to hotplug
-scheduler: noop
-updated toolchain
-livebump instead of loki
-official CM only

how to change hotplug values

the values are located in
Code:
/sys/class/misc/mako_hotplug_control/
there you have

cpufreq_unplug_limit
Code:
if frequency is higher than this cores wont be offlined for a period
max_load_counter
Code:
maximal samples counted to offline cores (higher values = longer time to offline core)
high_load_counter
Code:
- info missing yet -
load_threshold
Code:
threshold to online a core
min_time_cpu_online
Code:
minimum time a core stays online
timer
Code:
samples per second (1 = 10 samples; higher values = less samples)
brightness

If you experience brightness issues it is because you are using base 4.2.2
to avoid issues flash 4.4.2 base

you can find a flashable zip here:
http://forum.xda-developers.com/showthread.php?t=2762526


reboot or crash?

send me last_kmsg


BACKUP BOOT AND SYSTEM FIRST!
Download !!!OFFICIAL CM ONLY!!!: https://www.androidfilehost.com/?fid=24052804347795577

XDA:DevDB Information
mani.Kernel, Kernel for the LG G Pad 8.3

Contributors
ckret
Source Code: https://github.com/drbeat/kernel_lge_v500

Kernel Special Features: franco hotplug, UV table, gamma adjustment, custom thermal throtteling

Version Information
Status: Stable

Created 2015-01-23
Last Updated 2015-08-17
 
Last edited:

ckret

Senior Member
Sep 22, 2010
594
538
123
Generic touchboost is a generic driver for boosting up the CPU in touch
Franco has this in his kernels but i couldnt make it work
So i implementend the touchboost in the existing lge touch driver
Shouldnt be an issue for usage since i am using this kernel myself as daily driver
 
  • Like
Reactions: Barracuda77777

pjdick

Senior Member
Oct 24, 2007
134
20
0
I tried running this on the following ROM:

[ROM][v500][KK][4.4.4][LINARO/SABERMOD] AOKP [WEEKLY BUILDS][20140705]

The first issue I ran into was that the screen brightness was locked at the highest level. I have read that you need to have the 4.4.2 base when running these 4.4.4 ROMs in order for screen brightness to work. It looked to me like installing this kernel upgraded to the 4.4.4 base, which would explain why that became broken.

Is it therefore safe to assume that this kernel is only for ROMs running the 4.4.4 base and not the 4.4.2 base?

Thanks
 

Mercvtio

Senior Member
Jul 29, 2011
227
70
0
Montpellier
Well, no problem with autobrightness for me, and I have switched to 4.2.2 base to avoid the dim screen at startup. Been running it for the biggest part of the day, and found no real issue for now. Good work.

As for what doesn't seem to work, I was thrilled to see the gamma option in trickster mod, and thought I would be able to calibrate my screen correcly for the first time. Sadly, it seems the changes are registered (Trickster mod says they are saved allright), but there is no evolution whatsoever : the screen stays the same (and believe me, I have tried the most extreme settings to be sure I would notice the subtlest of changes).
 

ckret

Senior Member
Sep 22, 2010
594
538
123
i dont know about the bases
i think i have the 4.2.2 base but i am not sure

and currently gamma is not working. i am looking into that, but it seems quite hard
 

Mercvtio

Senior Member
Jul 29, 2011
227
70
0
Montpellier
i dont know about the bases
i think i have the 4.2.2 base but i am not sure

and currently gamma is not working. i am looking into that, but it seems quite hard
Well at least, the option shows up in trickster mod, so I guess you're not so far from it. Anyway, your kernel seems to run very well. Thanks!
 

Cal

Senior Member
Dec 25, 2013
366
152
0
For sure opened the brightness...in fact ALL the way & no way to lower more.

Also, I lost sound.(Not for sure now about that one) All else fine, but NO gama control, and no 'on demand' - only 'interactive & 2 others'...

So giving it up for now, but thank you for the compiling & I'm sure you'll get it right next time! :)
 
Last edited:

ckret

Senior Member
Sep 22, 2010
594
538
123
For sure opened the brightness...in fact ALL the way & no way to lower more.

Also, I lost sound.(Not for sure now about that one) All else fine, but NO gama control, and no 'on demand' - only 'interactive & 2 others'...

So giving it up for now, but thank you for the compiling & I'm sure you'll get it right next time! :)
i am aware of the brightness problem

gamma control not yet given, since i cant find the gamma address

interactive is optimized so its selected as default in this kernel
 
  • Like
Reactions: Cal

Cal

Senior Member
Dec 25, 2013
366
152
0
I was testing v3 and brightness is fixed and wont change for me. I'm using CM11 M8.
The brightness seems to be *the* big issue with all the kernel builds. But when mentioned to other kernel builders or porters, they don't understand the 'why' of the need for more brightness. I feel the same way...I would like to be running at 40% brightness and see everything OK, but just so I could possibly save some battery 'time'. But frankly I really don't know why - 5 or more hours is long enough in one day on a tablet for me. Seems to be enough for Oubeichen, who I think is a fine kernel analyzer or porter.

What I would like to see is what Oubeichen put into this kernel found here and which I'm running but is v3.4.xxx (can't remember! and am on a computer now):

http://forum.xda-developers.com/showpost.php?p=54153699&postcount=196

Even though this is early version kernel, I'm running it with no problems - it has about 7 or 8 Processor settings such as Progressive, Conservative...etc. and several I/O's such as Noop and all the others that are not shown on the later 3.4.0 kernels. Nice settings to have to play around with IMO.
 
  • Like
Reactions: RaiderWill

ckret

Senior Member
Sep 22, 2010
594
538
123
As aicjofs said brightness is a BASE issue
If you run the kernel on the 4.4.2 base you will have no Problem
I can compile it for your 4.2.2 base but i dont just geht why you dont upgrade

Having 1000000 options isnt as good as having optimized options

If you want to know what the issue is you have to look jnto the AIC thread. He stated the difference for autobrightness on the bases
 
  • Like
Reactions: Cal
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone