[KERNEL]Lightning kernel cm11

nikhil18

Senior Member
May 9, 2012
2,276
4,794
0
bangalore
Lightning kernel

this kernel is made for cyanogenmod 11 roms and i take no responsibility if you brick,destroy your device due to this kernel

features
sound control 3.2
gpu overclock to 533mhz
intelli thermal
cpu overclock upto 1836mhz(disable mpdecision)
compiled with linaro 4.9.1
added intelliactive,intellidemand and preservative governors
row,fiops io schedulers
undervolting
sweep to wake and double tap to wake
fast charge
auto mpdecision (turn off stock qcom mpdecession)
sound stuttering fixed(zzz sound while hearing music)
Motorola MSM memcpy enhancements
cpu unallingnment access
kernel mode neon
fast charge
more to come


source code https://github.com/nikhil18/android_kernel_sony_apq8064

installation instructions
flash the zip in recovery


for extreme overclocking disable qcom mpdecision

Setting custom GPU Voltages via sysfs

NB:
- Safe lock is present on MIN/MAX values:

Quote:
#define GPU_MIN_VDD 900000
#define GPU_MAX_VDD 1200000
The default GPU voltages are:
Quote:
+ [VDD_DIG_NONE] = 0,
+ [VDD_DIG_LOW] = 975000,
+ [VDD_DIG_NOMINAL] = 1075000,
+ [VDD_DIG_HIGH] = 1175000
Verify the actual settings:
Quote:
cat /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table

975000
1075000
1175000


Adjust to desired values and verify:

Quote:
echo "930000 1000000 1100000" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table


compatible roms
carbon rom
beanstalk rom
AICP kk rom
aokp rom
cm11 rom
more testing needed


credits
doomlord for kernel building instructions
jeroenqui for meow kernel
cyanogenmod for kernel source
Tommy-Geenexus
faux123 - For almost all kernel features


XDA:DevDB Information
Lightning kernel, Kernel for the Sony Xperia ZL

Contributors
nikhil18
Source Code: https://github.com/nikhil18/android_kernel_sony_apq8064

Kernel Special Features:

Version Information
Status: Testing

Created 2014-07-29
Last Updated 2014-11-20
 
Last edited:

nikhil18

Senior Member
May 9, 2012
2,276
4,794
0
bangalore
sony 233 blobs.
version 1-added intelliplug,gpu overclocking,linux patch to 103,kernel mode neon,motorola memory optimizations(paranoid android experimental builds) .
version 2(new blobs)-removed intelliplug.added autosmp,627mhz gpu overclock
version 6-added row sched,500ma charging for unknown chargers,fast charge,disabled some debugging for better performance,fixed sound stuttering if its there,intellithermal and multirom patch.

stock rom .283
version 1 released for stock roms .283 based on same source and same features from cm11 and you need to be on stock kernel before installing this kernel
 
Last edited:

sualfred

Senior Member
Sep 14, 2010
87
18
0
Is booting without any problems. Underclocked to 196 and everything seems to be working.

And the best thing: The annoying soundbug is gone!

Where can I buy u a beer? :)
 

owlwood

Senior Member
Jan 18, 2013
136
36
0
Awesome, nice to see a new kernel for ZL!

Wi-Fi doesn't work for me and there are some visual glitches when scrolling, though.
 

sualfred

Senior Member
Sep 14, 2010
87
18
0
wifi is working and no glitches while scrolling @cm11 nightly.

I dont know if its possible but do u think that implementing whitebalance display settings is possible? Remember there was a setting to adjust mdnie on my recent mobile and the stock roms also provides a feature like that.

And I wisg my notification LED could pulse instead of just blinking :)
 

nikhil18

Senior Member
May 9, 2012
2,276
4,794
0
bangalore
wifi is working and no glitches while scrolling @cm11 nightly.

I dont know if its possible but do u think that implementing whitebalance display settings is possible? Remember there was a setting to adjust mdnie on my recent mobile and the stock roms also provides a feature like that.

And I wisg my notification LED could pulse instead of just blinking :)
its already implimented but you need faux clock app