[KERNEL]Lightning kernel for stock roms

nikhil18

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

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

features
sound control 3.6
gpu overclock to 627mhz
intelli thermal
cpu overclock upto 1836mhz(disable mpdecision)
compiled with linaro 4.9.1
added intelliactive,intellidemand,preservative,hyper,wheatley,lionheart governors
row,fiops,tripndroid io schedulers
undervolting
sweep to wake and double tap to wake
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
exfat support
gpu voltage control
multi rom by Olivier
81mhz lowest cpu frequency
more to come


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

installation instructions
first install the boot img version then install the normal version 1 both from recovery if you want to overclock then flash the overclock zip from 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


credits
Gustavo RD78-for dual recovery ramdisk

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-11-20
Last Updated 2014-11-21
 
Last edited:

JinJK's

Senior Member
Mar 7, 2012
190
139
0
Is this a add-on overclocking over advance stock kernel??

Also need to know,
1) WiFi MAC will change or not.
2) how to disable sweep & double tap to wake.

Thnx
 

nikhil18

Senior Member
May 9, 2012
2,276
4,794
0
bangalore
Is this a add-on overclocking over advance stock kernel??

Also need to know,
1) WiFi MAC will change or not.
2) how to disable sweep & double tap to wake.

Thnx
yes if you want to overclock your cpu and gpu then flash the files in 2nd post

try this to get your original mac
su
mac-update
mv /system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin /system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin.old

cp /data/misc/wifi/prima/WCNSS_qcom_wlan_nv.bin /system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin

in trickster mod screen wake control


It will be a kernel on the basis of 292 build? It would be desirable to participate in testing too.
You can try this kernel with 292
 
Last edited:
  • Like
Reactions: djanser and JinJK's

mrsatan

Senior Member
Jul 12, 2009
1,886
500
143
SLC
Lightning kernel

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

features
sound control 3.6
gpu overclock to 627mhz
intelli thermal
cpu overclock upto 1836mhz(disable mpdecision)
compiled with linaro 4.9.1
added intelliactive,intellidemand,preservative,hyper,wheatley,lionheart governors
row,fiops,tripndroid io schedulers
undervolting
sweep to wake and double tap to wake
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
exfat support
gpu voltage control
multi rom by Olivier
81mhz lowest cpu frequency
more to come


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

installation instructions
flash the zip in recovery
then flash the overclock file you want uploaded in 2nd post


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


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-11-20
Last Updated 2014-11-20
Nice more kernels
Thanks very much for this
 
Last edited:

mrsatan

Senior Member
Jul 12, 2009
1,886
500
143
SLC
I'll give it a try

---------- Post added at 11:35 AM ---------- Previous post was at 10:47 AM ----------

Didn't work. Black screen.
 

BeatB

Senior Member
Sep 24, 2010
299
72
0
Vienna
Works like a charm now. But I had to reinstall the rom again then after flashing .img the v1 flash was successful. Only direct after installing rom.
Very fast now. Thanks again :)
 
Last edited:

mrsatan

Senior Member
Jul 12, 2009
1,886
500
143
SLC
Works like a charm now. But I had to reinstall the rom again then after flashing .img the v1 flash was successful. Only direct after installing rom.
Very fast now. Thanks again :)
Hmm I wonder what is going wrong with mine. Did you use cwm or twrp?

Mine just goes to a black screen on reboot. Can't get into recovery. Had to use flash tool. Maybe I'll try using flash tool to install the new kernel.
 

Aljecama12

Senior Member
Apr 2, 2013
87
6
0
Durango
This kernel looks just amazing, I have an Xperia ZL C6506 Running eXistenZ v3 KitKat 4.4.4 am I able to flash this kernel? If yes, can anybody tell me exactly what to do, step by step please:thumbup:;)

Oh, I have locked Bootloader btw

Sent from my C6503 using XDA Free mobile app