[KERNEL]Lightning kernel for stock roms - Sony Xperia ZL

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

reserved

Is this the same version as your previous thread?

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

JinJK's said:
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
Click to expand...
Click to collapse
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
olegusoshin said:
It will be a kernel on the basis of 292 build? It would be desirable to participate in testing too.
Click to expand...
Click to collapse
You can try this kernel with 292

It will be a kernel on the basis of 292 build? It would be desirable to participate in testing too.

nikhil18 said:
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
Click to expand...
Click to collapse
Nice more kernels
Thanks very much for this

Nice one but getting binary error on Existenz v3. Also on Xperia z it is mentioned that they get this error. Thanks for the hard work.

Black screen on reboot. Had to use flash tool.
Is it because I didn't flash an overclock option?

guys uploaded the boot.img version
installation instructions
first install the boot img version then install the normal version 1 both from recovery

I'll give it a try
---------- Post added at 11:35 AM ---------- Previous post was at 10:47 AM ----------
Didn't work. Black screen.

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

BeatB said:
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
Click to expand...
Click to collapse
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.

Was using twrp recovery. I just flashed the zip from Existenz rom then immediately without reboot the two files from lightning kernel.

Got it to work. Just re-downloaded the files.

nikhil18 said:
guys uploaded the boot.img version
installation instructions
first install the boot img version then install the normal version 1 both from recovery
Click to expand...
Click to collapse
Hi nikhil18, please provide link for the boot.img, I am not able to locate it on this thread.

Kr3i0s said:
Hi nikhil18, please provide link for the boot.img, I am not able to locate it on this thread.
Click to expand...
Click to collapse
Click downloads at the top. Web view.

mrsatan said:
Click downloads at the top. Web view.
Click to expand...
Click to collapse
Thanks....was on 2010 theme so could not see the tab. Changed to 2013 theme and was able to download.

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

Will sweep to wake function be available later? The kernel is super fast. Loving it. Perfect in combination with Existenz rom v3.

Related

[Kernel] [PrimoU] 2013/05/21 Titanium-KISS

Hi
IMPORTANT: Before you continue reading!
At the moment this kernel is only for PrimoU devices
and NOT for PrimoC (CDMA) devices
IMPORTANT for CM users
If you want to use CM or a CM based ROM choose the correct kernel!
CM9 needs a different ramdisk.
With the permission from Adi_Pat I would like to announce my kernel build
All credits to this should go to Adi_Pat cause he did the hard work for
providing me with all I need. Therefore also the name has been
choosen to make this clearly visible.
This is just a first announcement.
I will upload the first image tonight
Principle #1:
Provide a kernel that is as close to stock as possible but provides
additional features that will improve functionality and/or performance
Some Q&A you might have
Q: what stands KISS for?
A: Keep It Simple, Stupid!
My aim is to provide a kernel that is 99.99% stock with just additional features
In the first build you will see
-OC (max 1.5)
-UV
-2 new goveners (lionheart, smartassV2)
-1 new scheduler (sio)
Q:will you provide a kernel with 2.0GHz?
A:No - since I want to provide a stable kernel and
my experiences showed that only using up to 1.5 is reliable
If you like to have higher frequencies you can
1) use Adi_Pats kernel
2) build your own kernel based on my changes and enable higher frequencies
Q:can I build my own kernel based on your changes?
A:sure. I will provide a patch file that can be applied on the original
sources provided from HTC
Q:how "close" is your kernel to stock?
A:actually if you dont use OC, UV and use govener=ondemand and
scheduler=deadline this IS stock kernel
Q:can you include feature "xy" in your build?
A:I will check and if it is not "against" principle #1 -Yes
Q:will you test your kernel builds?
A:yes. I will only provide images that have been tested to
1) boot without problems
2) have run through a basic test trying to include all important features
3) run some benchmarks to confirm that changes are not decreasing basic performance values
Q:how to install your kernel?
A:like titanium kernel
fastboot flash boot
regards
max
I provide a complete folder with all downloads
please look at the following "naming conventions" for selecting
the correct image for your ROM!
Images containing "OC-UV" will have presets
Images containing "CM9" are for CM9
Images containing "CM10" are for CM10
All others are for stock (sense) ROMs
Download:
http://www.mediafire.com/?e1chs7tzcsstc
github:
https://github.com/maxwen/primou-kernel-KISS
Build 201305210014
Changelog:
-reverted to BFQ v5.1 - v6 causes problems
-smartmax update
Build 201305141244
Changelog:
-upgrade to BFQ v6
-added smartmax CPU governor
Build 201305062354
Changelog:
-enabled fauxsound support
-added double tap to wake
allows waking up the device by double tapping on the lower part of the screen - disabled by default
sysfs interface:
Code:
/sys/android_touch/s2w_allow_double_tap
1 -enable 0 - disable
Code:
/sys/android_touch/s2w_double_tap_barrier_y
default 1300 - y-barrier below that taps will be recognized
Code:
/sys/android_touch/s2w_double_tap_duration
default 150 - time in ms for minimal duration between the two taps
Code:
/sys/android_touch/s2w_double_tap_threshold
default 150 - threshold how much longer the duration can be then duration
Build 201302150054
Changelog:
-added fast charge
to enable run
Code:
echo 1 > /sys/class/power_supply/battery/fast_charge
------------------------------------------------------------------------------------
Build 201212251804
Changelog:
-multi touch fix - thanks to d-panja3 for pointing me at this
------------------------------------------------------------------------------------
Build 201212180251
ChangeLog:
-added KSM support - see here how to use it
------------------------------------------------------------------------------------
Build 201212152225
ChangeLog:
-completely new S2W based on the work of nik3r and myself for the HOX+
------------------------------------------------------------------------------------
Build 201212021155
Changelog:
-switched to linaro 4.7 toolchain
-overhaul of compile flags
-improved lowmemorykiller
-added some arm specific fixes and enhancements
------------------------------------------------------------------------------------
Build 201211140025
KISS kernels will from now on only for sense ROMS
CM users use HELLBOY kernel http://forum.xda-developers.com/showthread.php?t=1954967
Changelog:
-added BFQ scheduler
------------------------------------------------------------------------------------
Chanelog Summary for all builds:
-new optimized ARM toolchain used
-some tweaks and fixes in vm
-added Proportional Rate Reduction for TCP - by Google http://research.google.com/pubs/pub37486.html
-added USB host support.
-added two-way call recording - Please consider local laws that prohibit using call recording!
based on patch found here http://forum.xda-developers.com/showthread.php?t=1048182
-added conservative govener
-switched RCU to CONFIG_TINY_PREEMPT_RCU - reduced memory usage
-enabled SFB net scheduler CONFIG_NET_SCH_SFB http://lwn.net/Articles/429449/
-applied patch for optimized sha1 algo https://patchwork.kernel.org/patch/1040902/
-applied patch for arm specific rwsem http://permalink.gmane.org/gmane.linux.ports.arm.kernel/92418
-xz compression - based on this patch http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7001/2
-OC (max 1.5GHz, boot with 1GHz)
-UV
-2 new goveners (lionheart, smartassV2)
-1 new scheduler (sio)
------------------------------------------------------------------------------------------------
The "key" e.g. 201207112231 is the build id.
Actually this is just the timestamp when the image has been created.
When you report issues with a build please also provide this id
You can also find this in
Settings -> About -> Software Information -> More -> Kernel Version
Just some notes on the govener and schedulers:
Stock kernel is using govener ondemand and scheduler deadline
To get more information about all of those see here
http://forum.xda-developers.com/showthread.php?t=1369817
You can get the stock kernel sources from here
http://www.htcdev.com/ (registration required)
Or from here http://www.mediafire.com/?o0uudb56oxawvaw
To create the KISS sources apply the patch supplied with each build
Other Downloads:
Note:
If you download save or edit those scripts on a windows host make sure that
you are not changing the line endings to be DOS "style" (CR/LF) since they will
not work on your device.
So before pushing them to the device check with e.g. notepad++ or any
other windows editor that the line endings are UNIX "style" (LF)
USB host scripts
Contains helper scripts for USB host mode
Flashable from recovery
http://www.mediafire.com/?cj1buyxvwteiyqq
Simply zip file
http://www.mediafire.com/?ao391v55e3f4h7r
getcpuinfo script
Will print current settings like OC, UV and govener
Also works with Titanium kernel
http://www.mediafire.com/?emhetf9ctcb3l0g
01vdd script
For setting UV values
Also works with Titanium kernel
http://www.mediafire.com/?yj11n461vz23l4j
02setcpu script
Will set OC max 1.5GHz and govener smartassV2
with battery "friendly" govener tweaks
Also works with Titanium kernel
http://www.mediafire.com/?i79wlhjomh9bhyf
smartassV2-tune script
Allow setting smartassV2 govener tweaks for battery or performance
Call with argument "b" or "p"
Also works with Titanium kernel
http://www.mediafire.com/?e02s5ej5acacnaj
Swap script
Will enable 130m swap partition
See here for details http://forum.xda-developers.com/showpost.php?p=31441526&postcount=17
http://www.mediafire.com/?i9xc4hnfheztgir
KISS => Keep It Simple, Stupid!
hackworks said:
KISS => Keep It Simple, Stupid!
Click to expand...
Click to collapse
Thanks
hackworks said:
KISS => Keep It Simple, Stupid!
Click to expand...
Click to collapse
LMFAO!=)
Congrats on your kernel maxwen!
I will never forget it.lol
Great, i started with kernel compiling too, recently,, keep titanium tweaker in ur ramdisk, if possible, ill update u with the ramdisk builds, will add kernel specif features if u want, pm me
Hi
Sure. Will contact you after posting the first build.
regards
max
maxwen said:
Hi
Sure. Will contact you after posting the first build.
regards
max
Click to expand...
Click to collapse
Cool
Sent from my Nexus One using xda app-developers app
I like this kernel already!
Hi
First build uploaded
regards
max
Gonna flash this now, thanks for your work=D
Sent from my HTC One V using xda app-developers app
best kernel
Hi ..
im tested this kernel on the ROM myONEv works
kernel is very fast and stable.
best benchmark!
I'll try it once I got on my lappy
Sent from my HTC One V using xda app-developers app
Thanks for a nice kernel. So far the OC/UV is working great fro me.
What is the best recommended governor for wake / sleep ?
ckpv5 said:
Thanks for a nice kernel. So far the OC/UV is working great fro me.
What is the best recommended governor for wake / sleep ?
Click to expand...
Click to collapse
Use only CPUFreq and use smartAssV2 as it has both sleep and wake freqs...UV -50 should be good!
Hi
Actually there are a lot of things that you can tweak in the goveners
using the sys interface to make them perform best under certain "preconditions"
You can read this here which I also posted in the Adi_Pat thread
http://forum.xda-developers.com/showthread.php?t=1369817
This will give you some great insights on this issue.
Also about the "decision" which govener to use a.s.o
Regarding UV:
As already writen above -50 should be safe all the time
-100 works for me if I limit it to max 1.2GHz but not higher
Then I sometimes have freezes e.g. runnung AnTuTu benchmark
I still have to play with the UV settings to find the optimal ones
Regards
max
Hi
ATTENTION!!!!
Dont use sio I/O scheduler at the moment!!!!
I just discovered some strange during testing.
Stay with deadline this is stock
Will keep you informed if sio is really the reason
If it is it will be removed in next build
regards
max
EDIT: Even intensive testing has not given me the proof that the
sio scheduler was the reason.
Running this kernel with stock rom, wil I still get FOTA updates from HTC?
Chris.nl said:
Running this kernel with stock rom, wil I still get FOTA updates from HTC?
Click to expand...
Click to collapse
AFAIK this has nothing to do with the kernel in the first place
but with rooting. Someone may correct me if I am wrong
regards
max

[KERNEL][GEE-HRC-SPR-HRC4G-B][5.X.X, 6.X.X] NitrogenEX 3.0 (24.05.2016)

Technical information:
The kernel of Linux: 3.4.0.
Latest version: 24/05/2016.
Version Nitrogen: 3.0.
Compiled by: Linaro 4.9.4.
Based on: MAKO (occam).
Which devices: E975, E975*, F180*, E977, E987, E973, E971, LS970, E970 | GEEHRC, GEEHRC4G, GEESPR, GEEB.
Sources: https://github.com/nitrogen-devs/android_NitrogenEx_kernel
Download latsets builds: https://github.com/nitrogen-devs/android_NitrogenEx_zips
Acceleration turn on themselves.
For Lollipop and Marshmallow roms​
Features:
Overclock CPU up to 1.7 GHz
Underclock CPU up to 162 MHz
Overclock GPU up to 622 MHz
Add GPU voltage control
Add CPU voltage control
Change 85° as Temp Threshold
Add UKSM
Add FIFO, SIO, VR, ZEN I/O Schedulers
Add abyssplugv2, lionheart, lulzactive, pegasusq, uberdemand, wheatley, ondemandplus, smartmaxV2, smartass, nightmare, darkness, alucard, HYPER, optimax, yankdemand, smartass H3 CPU governors
Add simple GPU governor
Add CPUFREQ limiter
Add MSM hotplug
Add CPU boost driver
Add USB otg support
Add Use Android device as USB keyboard/mouse
Add USB fast charging support
Add Fixes media playback (msm_rotator driver fixes)
Add Faux sound control
Add Faux speaker control
Add Faux gamma control
Add wifi wakelock
Add frandom - 2.4
Add fsync - 2.4
Add DoubleTap2Wake - 2.4
Add Sweep2Wake - 2.4
Add Screen Off Track - 2.4
Add Volume Control - 2.4
Add ZRAM - 2.4
Stock WiFi driver - 2.6
SeLinux permissive - 2.6
Use Linaro 4.9.4 compiler
xz algorithm for compression of a kernel is used and xz fixes
Calibrated gamma and contrast
Read Ahead buffer changed to 3072 kb
CPU Freq default 162 MHz - 1.5 GHz
GPU Freq default 400 MHz
Synched to latest MM sources
And other features & fixes included
Full changelog
Bold - by default
Still thanks to :
Faux123 : https://github.com/faux123
Showp1984 : https://github.com/showp1984
Franciscofranco : https://github.com/franciscofranco
ChangYeoun : https://github.com/ChangYeoun
Jollaman999 : https://github.com/jollaman999
Gu5t3r : http://forum.xda-developers.com/member.php?u=4665716
PsychoGame : http://forum.xda-developers.com/member.php?u=4647521
Christopher83 : https://github.com/Christopher83
Loller79: https://github.com/Loller79
xyyx: http://forum.xda-developers.com/member.php?u=5422618
P. S. Want to help or make a contribution? Accept pull requests on github.
XDA:DevDB Information
Nitrogen Extreme Kernel, Kernel for the LG Optimus G
Contributors
Mr.MEX
Source Code: https://github.com/nitrogen-project
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 3.0
Stable Release Date: 2016-05-24
Created 2015-05-21
Last Updated 2016-05-23
Settings
reserved
Are you aware you didnt include a download link?
The links are in the another thread with the same name of this
OMGMatrix said:
Are you aware you didnt include a download link?
Click to expand...
Click to collapse
http://forum.xda-developers.com/devdb/project/?id=9888#downloads
What is the difference between this and the other topic?
(Sorry for my english)
lucasrods said:
What is the difference between this and the other topic?
(Sorry for my english)
Click to expand...
Click to collapse
This one is for kernel, the other is for a tweaked build of CM with this kernel built in.
nchc said:
This one is for kernel, the other is for a tweaked build of CM with this kernel built in.
Click to expand...
Click to collapse
I mean, from this: http://forum.xda-developers.com/showthread.php?t=3085312
Hi , I've got some troubles after I flash your kernel or your cyanogen released. After I restart, apps crash randomly (ex trebuchet, camera, playstore etc.) or my phone goes to bootloop. I don't have these problems with solid drivers. Do you know why?
Thanks
Aruken said:
Hi , I've got some troubles after I flash your kernel or your cyanogen released. After I restart, apps crash randomly (ex trebuchet, camera, playstore etc.) or my phone goes to bootloop. I don't have these problems with solid drivers. Do you know why?
Thanks
Click to expand...
Click to collapse
You need to put on a clean firmware.
To put the kernel into a kernel - evil.
Do you know where I can find a clean firmware? Like E97520B_00.kdz or I just have to flash aroma v7 rom?
Aruken said:
Do you know where I can find a clean firmware? Like E97520B_00.kdz or I just have to flash aroma v7 rom?
Click to expand...
Click to collapse
http://4pda.ru/forum/index.php?s=&showtopic=420801&view=findpost&p=32742458
http://4pda.ru/forum/index.php?showtopic=420801
/edit
Ok sorry i dont know why there a two threads..
Just flashed this one right here.
I have to flash this after flash the rom and gapps?
(sorry for my english)
0.3.2:
Disabled undervolt.
Added frequency 50, 75 MHz (added system.exe), 2.03 GHz.
CPU frequency: 50 MHz min, max 1.51 GHz.
The GPU frequency: 400 MHz.
Fixed random reboots.
Mr.MEX said:
0.3.2:
Disabled undervolt.
Added frequency 50, 75 MHz (added system.exe), 2.03 GHz.
CPU frequency: 50 MHz min, max 1.51 GHz.
The GPU frequency: 400 MHz.
Fixed random reboots.
Click to expand...
Click to collapse
I'm using AICP build by dadi11, can i flash this kernel? I have to do any wipe?
Sorry i'm noob [emoji14]
You can.
Wipe dalvik and cache.
/edit
Delete me
Will the camera on geeb works in the last version as in Solid?
In the previous one it wasn't working.
Now it boots perfect.... Before, the only version can boot on my phone was 0.28, but now this one also boot... Only sometimes i've got random reboots when i'm using a bluetooth headset, but i don't know if it's kernel or rom, cause with solid kernel i've got the same... Thanks for your work!!!

[KERNEL][Alpha][a8] DragonVibe kernel for Lenovo VIBE Z2 Pro

DragonVibe kernel
for stock ROW Lollipop android
Crappy name, I know...
Main Features:
Based on Lenovo sources (07.07.15) Linux 3.4.0
Compiled with Linaro 4.8.4 Cortex-A15 toolchain
-O3 Optimizations
KCAL - Advanced LCD color control
CPU freq table: 300MHz <-> 2.88GHz
CPU -25mV Linear UV
CPU User voltage control
Ele-Plug - custom in-kernel hotplug driver (mpdecision disabled)
Ele-Thermal - custom in-kernel cpu thermal frequency throttle driver (fully configurable thru sysfs)
Added governors: Intelliactive, Intellidemand
Added schedulers: BFQ
Added TCP congestions: Westwood+
Insecure ramdisk (ro.secure=0)
Force-loading kernel modules with different vermagic
FSync toggle
/proc/config.gz
Default:
CPU freq: 300MHz<->2.45GHz
GPU freq: 200MHz<->578MHz
CPU governor: Interactive
GPU governor: msm-adreno-tz
IO scheduler: ROW
IO read-ahead: 1024kB
TCP congestion: Westwood+
As usual, I am not responsible for your device!
Dont forget to backup boot partition in recovery before flashing!
How to restore to stock:
Restore your backup of boot partition
Mount /system in recovery
Open file manager and go to /system/etc (still in recovery)
Delete init.qcom.post_boot.sh
Rename init.qcom.post_boot.sh.bak to init.qcom.post_boot.sh
Reboot
Use Device Control to configure (most of the) kernel features
Want higher scores in benchmarks?
Put your phone in a plastic bag and then in a freezer for about 5 minutes (be careful about condensation). Now run the benchmark
It is insane how much it throttles, especially in warm environments.
Benchmarks: Outside (ambient 30C) - Proof (@2.45GHz) - Proof (@2.88GHz)
Sysfs tunables location:
KCAL - /sys/devices/platform/kcal_ctrl.0/
Ele_Plug - /sys/devices/virtual/misc/ele_plug_control/
Ele_Thermal - /sys/devices/virtual/misc/ele_thermal_control/
Voltage Control - /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
Downloads:
Alpha 8 (a8)
Alpha 7 (a7)
Alpha 6 (a6)
Alpha 5 (a5)​
Changelog:
a8 (build 24.07.15):
Ele_Plug 1.5 - few bugfixes...
Ele_Thermal 1.0 - Custom thermal throttle driver for Quad-Core SoCs
Added KCAL - Advanced LCD color control
Added CPU user voltage control
Default IO read-ahead is now 1024kB
Added Westwood+ TCP congestion, now also default.
Removed redundant GPU frequency step
a7 (build 15.07.15):
Ele_Plug 1.4:
- Hotplugging Suspend/Resume on screen off/on via Frame Buffer Callback
- Ele-Plug -> Ele_Plug
etc...
a6 (build 13.07.15):
Ele-Plug 1.3: new tunable max_cores, to control maximum online cores
Default scheduler: ROW
Various optimizations...
a5 (build 09.07.15):
Initial XDA release
Source: https://github.com/ElectryDev/android_kernel_lenovo_msm8974_dv
Full Changelog: https://github.com/ElectryDev/android_kernel_lenovo_msm8974_dv/commits/master​
Please report any issues / feature requests below.​
Electry said:
Work in progress.
Source: https://github.com/ElectryDev/android_kernel_kingdom_row
Click to expand...
Click to collapse
any news ? alpha or beta testing? I'am on K920 China with s226 ROW rom unlocked bootloader and TWRP
Thanks for your reply
Try it No promises though
I bought a ROW version with Kitkat.
Updated it for Stock Lollipop.
Rooted it with 0_install_root_K920Pro.bat.
Unlocked bootloader with VibeZ2Pro_ROW_UnLock_BootLoader_L using Qfil
Run (did not flash) TWRP 0_run_twrp_recovery_K920Pro.bat
Backed up my working stock ROM
Flashed DragonVibe8 with TWRP run
Installed XposedInstaller_3.0_alpha4.apk
Flashed xposed-v71-sdk21-arm.zip using TWRP run
Installed GravityBox_Lollipop_5.1.4.apk
Everything on Gravity Box works perfectly on Vibe UI.
Installed Titanium backup, froze unwanted apps.
After I was sure, removed all bloatware which were frozen using Titanium backup.
Installed Device control. Modified CPU and GPU settings.
My K920 is now amazing on performance, power backup, functionalities and features in addition to its lovely Hardware (screen, camera and looks).
Thank you
Hi @Electry, is there a way to make this kernel compatible with cm12.1?
thanks
ganapathyraman_s said:
I bought a ROW version with Kitkat.
Updated it for Stock Lollipop.
Rooted it with 0_install_root_K920Pro.bat.
Unlocked bootloader with VibeZ2Pro_ROW_UnLock_BootLoader_L using Qfil
Run (did not flash) TWRP 0_run_twrp_recovery_K920Pro.bat
Backed up my working stock ROM
Flashed DragonVibe8 with TWRP run
Installed XposedInstaller_3.0_alpha4.apk
Flashed xposed-v71-sdk21-arm.zip using TWRP run
Installed GravityBox_Lollipop_5.1.4.apk
Everything on Gravity Box works perfectly on Vibe UI.
Installed Titanium backup, froze unwanted apps.
After I was sure, removed all bloatware which were frozen using Titanium backup.
Installed Device control. Modified CPU and GPU settings.
My K920 is now amazing on performance, power backup, functionalities and features in addition to its lovely Hardware (screen, camera and looks).
Thank you
Click to expand...
Click to collapse
Hi,
Which options in device control are the best to set?
Not for gaming, just for regular use, surfing , better battery life.
Thanx
Hi, update please
Hi Electry, I would like to test you kernel, now I am only rooted and running the latest (S271) stock ROW. If it is safe to install you kernel over build k920_S271_150907_ROW? If yes, I will unlock the bootloader and install the twrp recovery to test it out. Thank you
medar said:
Hi Electry, I would like to test you kernel, now I am only rooted and running the latest (S271) stock ROW. If it is safe to install you kernel over build k920_S271_150907_ROW? If yes, I will unlock the bootloader and install the twrp recovery to test it out. Thank you
Click to expand...
Click to collapse
im using it with S271 ROW .it works!
Z953RR said:
im using it with S271 ROW .it works!
Click to expand...
Click to collapse
Thanks:good:
It really sppeds up the phone!
But it also cause random crashes on some apps like whatsapp and facebook.
Can't wait to see some improvement! great job!
Wont this work on CM12.1 ROM?
is there a FIX
or a mode to improve Colors
they are very washed out
Yes.
KCAL (Advanced color control for Qualcomm MDSS 8x10/8x26/8974/8084/8939): Info + Download
Kernel Adiutor (Application which manages your kernel parameters - ROOT): Info + Download
c.x
Hey guys, I'm on latest stock ROM. If I will do a root and flash of custom recovery, and afterwards I flash this kernel, how will I be able to flash OTAs, that'll Lenovo release, if any? Thanks.
Will be working on CM13 on CN version of k920?
And what?
Is.this working on CN phones?
Magiskhide can be made to work?
Is there an LED indicator?

[ZIP] Synapse + Universal Kernel Manager R1

Hello and welcome! So I started this because I hated having to have a different app to change some of the kernel settings and having init.d scripts for each kernel was a hassle to me, plus some users were having trouble with so many options available so I created this for all those who like to flash & test different kernels like me. I just ported UKM n added a things i felt most of our kernels had. A huge Thanx to @apb_axel for the awesome work.
So how this works is on every boot the script verifies all the tunable it finds specific for the kernel you have at the moment and generates the necessary files so it can be read & displayed on Synapse. Don't feel bad if you don't see all the listed options, it's just your kernel doesn't have those available.
In time I will be adding more scripts so we can have most, if not ALL tunables I can cram into. Hope you like it!
So what you need:
Download Links:
BusyBox
Universal Kernel Manager R1
Synapse Google Play Link
UKM Uninstaller v2
To install:
Features:
Info
General
Model Number
Android Version
Kernel Version
ROM Description
ROM Version
ROM Build Date
SOC Binning
Last KMSG
Status
Battery Temperature
CPU Temperature
Memory
Uptime
Unused CPU States
Time in state for CPUs
Kernel Wakelocks
CPU
Live CPU Frequency
CPU Min Frequency
CPU Max Frequency
CPU Max Screen Off Frequency
CPU Multicore Power Saving
CPU Governor
CPU Governor Options
CPU Governor Tunables
Hotplug
MPDecision (Qualcomm)
Intelliplug (faux123)
ECO Mode
Snakecharmer
Intellithermal
MSM MPDecision (show-p1984)
Screen off Single Core
Min CPUs
Max CPUs
Idle Frequency
Event Boost
MSM Hotplug (myfluxi)
Min CPUs
Max CPUs
Max CPUs Boosted
Boost Lock Duration
Down Lock Duration
History Size
Update Rate
Fast Lane Load
Offline Load
Suspend Frequency
Auto Hotplug (Thalamus)
Disable Load Threshold
Enable Load Threshold
Enable All Load Threshold
Min Sampling Rate
Sampling Periods
Min Online CPUs
Max Online CPUs
Dynamic Hotplug (stratosk)
Minimum Online CPU
Maximum Online CPU
Up Threshold
Up Timer Control
Down Timer Control
Alucard Hotplug (Alucard)
Hotplug Enable
Sampling Rate
Max Cores Limit
Max Cores Limit Sleep
CPU Down Rate
CPU Up Rate
Hotplug Loads
Hotplug RQs
Hotplug Frequencies
Mako Hotplug (franciscofranco)
Cores on touch
First Level
Suspend Frequency
CPU Boost Driver
Boost
Sync Threshold
Input Boost ms
Input Boost Frequency
CPU Voltage
Global Voltage
Frequency Voltage
AK
Faux
Semaphore
I/O Control
Read-ahead Size
I/O Scheduler
General I/O Tunables
I/O Scheduler Tunables
GPU
Live GPU Frequency
GPU Max Frequency
GPU Governor
Simple Governor Tunables
Interactive Governor Tunables
Gamma
Faux Gamma Profiles
Faux Gamma Tunables
Franco Gamma Tunables
Motley Gamma Tunables
LCD Backlight Tunables
Sound
Faux Sound Profiles
Faux Sound Tunables
Franco Sound Tunables
Speaker
Faux Speaker Profiles
Faux Speaker Tunables
Memory
Z-RAM
Virtual Memory
Wake Control
Apply at init.d
DoubleTap2Wake
Touch Wake
Sweep2Wake
Sweep2Sleep
Power Key Suspend
Miscellaneous
TCP Congestion Control
Temperature Control
Temperature Limit Minimum Frequency
Power Suspend State
FSYNC
Dynamic FSYNC
Vibrator Strength
USB Fast Charge
OTG
Battery Life Extender
Touchscreen Accuracy Filter
LED Control
Advanced
C-States
Kernel Samepage Merging (KSM)
Ultra Kernel Samepage Merging (UKSM)
Gentle Fair Sleepers
Low Memory Killer
Build.Prop
Wifi Scan Interval
VM Heapsize
Allow Purgeable Assets
DNS Tweaks
Tools
Toggle Bootloader Lockstate
Toggle Bootloader Tamper Flag
Toggle SELinux Status his help in getting this started.
Preferred Network Mode
Kernel Image Managment (Backup, Restore)
Log Creation (logcat, dmesg, last_ksmg)
Reboot
Profiles
Changelog:
R1 :
Initial Release for Armani
Thanks:
@apb_axel - for this awesome project.
@ak - for his help in getting this started.
@AndreiLux - for his awesome app Synapse.
@osm0sis - for his ideas on the Galaxy Nexus.
@eng.stk - for his help on the support for Nexus 5.
GitHub is Here:
UKM
Any suggestions, bugs or others settings you need just let me know.
Code:
Please rate the thread and don't forget the THANKS button below! :D
original thread
XDA:DevDB Information
[ZIP] Synapse + Universal Kernel Manager R1, Tool/Utility for the Xiaomi Redmi 1S
Contributors
Tarun93, apb_axel
Source Code: http://forum.xda-developers.com/android/software/zip-synapse-script-universal-kernel-t2736986
Version Information
Status: Stable
Current Stable Version: R1
Stable Release Date: 2015-12-30
Created 2015-12-30
Last Updated 2016-02-18
Reserved
apb_axel said:
F.A.Q.
No UCI support detected? Check the following:
a) Does your ROM support init.d scripts?, IF it doesn't try this,
b) Check in /system/xbin if the uci file exists. IF it doesn't exists you can try reflashing the .zip or run the following in terminal emulator:
Code:
su
ln -s /data/UKM/uci /system/xbin/uci
c) Check the permissions of /system/xbin/uci AND /data/UKM/uci, it should be 755 or 777. IF it isn't you can try reflashing the .zip or run the following in terminal emulator:
Code:
su
chmod 755 /system/xbin/uci
chmod 755 /data/UKM/uci
d) Check the config.json file in /data/UKM/, if the file is blank you can try generating the file again with the following in terminal emulator:
Code:
su
uci reset
uci
IF NONE OF THE ABOVE WORKED FOR YOU send me a screenshot of your terminal emulator running the following command to determine your issue:
Code:
su
uci reset
uci
Some steps to fix most common issues when coming from another kernel and UKM is still installed: (thanks to gorillap)
Step 1 - go to settings>Apps>Synapse - force close - Clear data - ReOpen Synapse
If this doesn't work
Step2 - go to settings>Apps>Synapse - force close - Clear data - Uninstall Synapse. Reinstall Synapse in play store
If this doesn't work
Step3 - go to settings>Apps>Synapse - force close - Clear data - Uninstall Synapse. Delete Synapse folder. Reboot to recovery. Reflash kernel, Reflash UKM. Install Synapse
If this doesn't work, request support in thread.
To use UKM on Lollipop just do this: (Thanks to thereal_bigjake)
1) Flash Permissive boot.img (thanks to ramjet73).
2) Install SELinux Mode Changer and set to permissive.
3) Install Synapse and flash UKM v3.5 or higher (you need busybox installed also)
4) Run a terminal after boot and type su, then type \system\etc\init.d\UKM
5) Enter Synapse and profit.
To restore a profile: (Thanks to apb_axel)
1) Save the profile to the /sdcard/Synapse/saved_profiles folder.
2) Open Synapse, go to profiles tab and press the Restart Synapse button (to make to profile appear).
3) Open Synapse, go to profiles tab and select the profile, click the √ and select Restore Selected Profile.
4) At this moment Synapse will close automatically so give it a few seconds and it will open automatically again.
5) When it opens, click the X button on top, not the √.
6) Done.
Restrictions on config files: (thanks to apb_axel)
1) You can't import settings that don't exist on your current kernel (this is fairly obvious so no explanation needed).
2) Some settings that are not imported/exported for privacy concerns are: buildprop net.hostname, buildprop service.adb.tcp.port.
3) You can't import/export the SELinux status, either Enforcing or Permissive (I've read that some people had issues when restoring profiles that were based on a KitKat ROM and when it was restored on a Lollipop ROM it broke their root, they had to reinstall everything from scratch so I prefer to avoid this at all costs).
4) You can't import/export the Preferred Network Mode (again some people have complained that restoring a profile where their carries have different settings had their phone stopped working).
5) You can't import/export voltage settings (Not every CPU is build the same, so to avoid device shutdown do to low voltages this is disabled).
6) You can't import/export sound settings (This is more of a personal setting and doesn't affect battery/performance).
7) You can't import/export speaker settings (This is more of a personal setting and doesn't affect battery/performance).
8) You can't import/export gamma settings (This is more of a personal setting and doesn't affect battery/performance).
Want to integrate UKM into your ROM?: (thanks to kecinzer)
http://forum.xda-developers.com/showpost.php?p=58054064&postcount=2409
Click to expand...
Click to collapse
Hope that helps
Reserved
Great work
wow..hope this will be updated regularly..bytheway..im seeing two thread 1 title un android dev..why? and how to install this?
and O.T...
will there be carbon MM? can i test? same with aokp MM?
Great
Its working fine with gk r4.
Thanks Tarun ....
Fallen_Knight said:
wow..hope this will be updated regularly..bytheway..im seeing two thread 1 title un android dev..why? and how to install this?
and O.T...
will there be carbon MM? can i test? same with aokp MM?
Click to expand...
Click to collapse
see flash the ukm zip (second one in the list)
install synapse
njoy
about carbon mm its dead it will not come back to live soon so till then i will be handling aokp will release it soon :fingers-crossed: :highfive:
Wowww...working flawlessly..
This is the first time my redmi 1s hv d2w feature since i hv this phone... Thank u so much @Tarun93 for ur ported UKM.
To which version we can use this??
Lollipop or marshmallow??
"I AM BATVIC" WITH REDMI 1S
thanks ,great work
BATVIC said:
To which version we can use this??
Lollipop or marshmallow??
"I AM BATVIC" WITH REDMI 1S
Click to expand...
Click to collapse
It'll work in Kk/Mm/Lp/miui running custom kernel in Redmi 1s
Great ! :thumbup: never seen this much features in any other kernel manager app. Thanks for porting it to our device.
Good work @Tarun93 bro. using in Miui 7 works Great. :thumbup: :thumbup:
Sent from my HM 1S using xda premium
Great works Sir. Hope youll also update Carbon Rc7 please. Thank you
emojhoken said:
Great works Sir. Hope youll also update Carbon Rc7 please. Thank you
Click to expand...
Click to collapse
A request to all carbon kk fans
I M REALLY SORRY BUT I CANNOT RELEASE ANY MORE UPDATES TO ANY KK OR LP ROM ANY MORE
In fact I will be less active in deving as I have my studies(masters) and a job now. Will release a update once in a month may be in the first or last week of every month, both for gk n aokp
Tarun93 said:
A request to all carbon kk fans
I M REALLY SORRY BUT I CANNOT RELEASE ANY MORE UPDATES TO ANY KK OR LP ROM ANY MORE
In fact I will be less active in deving as I have my studies(masters) and a job now. Will release a update once in a month may be in the first or last week of every month, both for gk n aokp
Click to expand...
Click to collapse
No issues bro.!
U doing it that's more than enough..!
Regards,
Biplov ?
using this with GK Kernel R5 on miui, smooth as butter!
Thanks..... [emoji3]
Sent from my HM 1SW using Tapatalk
---------- Post added at 04:49 PM ---------- Previous post was at 04:46 PM ----------
Include it in your kernel bro
.. Don't want patches..alot of users seek convenient.. [emoji19]
Sent from my HM 1SW using Tapatalk
How to active wake lock???
Quite confused... how to configure
I have already flashed God's kernal R9 .... And really rocking on it such a Awesome antutu score around 30000 .... that is OK ...But how to install other requirements of this kernel (synapse + kernel manager ) ,, quite confused cuz ..... No installation method given n how to configure those models ..Need help

[Z00L][KERNEL]Enhancements For Increased Battery Backup

Disclaimer & Notes
I bear no responsibility towards any failure or malfunction of your device, use my kernels at your own risk.
I have no time or resources for support of any kind whatsoever.
The kernels are for my own use, recompiled from original boot images of respective roms, with the objective of prolonging battery backup, not performance.
The kernel features are compiled in only, meaning not optimized at all, you must use Kernel Adiutor to set the right options to achieve desired effect, see post #2
Yes, they work with XPOSED! (marshmallow only), but xposed modules should be enabled & configured ONE-BY-ONE-then-reboot-phone to take effect.
If wireless or sim cards are not detected after enabling some xposed modules, simply restart phone, or turn on-3mins-off airplane mode, or revert your xposed module settings (gravity-smart radio in particular)
Credits & Thank you
abhishekr700 | source
Fabb2303 | source
LuK1337 | source
Z00L & variants only, meaning these kernels are for Asus Zenfone 2 Laser models
- ZE550KL
- ZD550KL
- ZE600KL
Features (added)
- cpu hotplug: autosmp
- tcp-algorithm: westwood
- kernel config.gz at /proc
- filesystem: ntfs
- charging: usb fastcharge
- selinux: set to permissive via kernel
- kernel: samepage merging, frontswap, cleancache
Features (removed)
- cpu: cpu boost
- cpu hotplug: msm performance, including touch boost
- CRC check, in favor of 30% performance boost
Work-in-progress, no ETA
- gpu idler
- more cpu/gpu governor
- i/o scheduler
DOWNLOAD
edit: download link removed, to comply with GPLv3, will reinstate download link once sources are published, no ETA though
before flashing my kernel, read disclaimer at top of this post, make a backup of your phone partitions, imei, running kernel, settings, data etc
unzip & copy to sdcard, flash via fastboot or TWRP
file names & ROMs
ROM BeanStalk-6.25-20160919-Z00L (marshmallow)
kernel boot_m003_BeanStalk-6.25-20160919-Z00L.7z
ROM CM13 snapshot dated 2016-12-21 (marshmallow)
kernel boot_m003_cm13snapshot20161221.7z
ROM Resurrection Remix v5.7.4 dated 2016-09-23 (marshmallow)
kernel boot_m003_RR-M-v5.7.4-20160923-Z00L.7z
ROM Slim-Z00L-6.0.1.b1.7--20161019-1635 (marshmallow)
kernel boot_m003_Slim-Z00L-6.0.1.b1.7--20161019-1635.7z
ROM CM-14.1-20161225-NIGHTLY-Z00L (nougat)
kernel boot_m003_cm-14.1-20161225-NIGHTLY-Z00L.7z
ROM Resurrection Remix v5.8.0 dated 2016-12-22 (nougat)
kernel boot_m003_RR-N-v5.8.0-20161222-Z00L.7z
ROM XOSP-RL7-REV2-UNOFFICIAL-20170109-Z00L
kernel boot_m003_XOSP-RL7-REV2-UNOFFICIAL-20170109-Z00L.7z
New Upload, 2017 Jan 26th, features are the same as previous kernels (nothing new), just a re-compile
ROM aicp_Z00L_n-12.1-UNOFFICIAL-20170122
kernel v05-aicp_Z00L_n-12.1-20170122.7z
ROM aokp_Z00L_nougat_unofficial_2017-01-24_0801
kernel v05-aokp_Z00L_nougat_2017-01-24_0801.7z
ROM XOSP-RL7-REV2-UNOFFICIAL-20170115-Z00L
kernel v05-XOSP-RL7-REV2-20170115-Z00L.7z
ROM RR-N-v5.8.0-20170121-Z00L-OFFICIAL
kernel v05-RR-N-v5.8.0-20170121-Z00L.7z
My settings for reference:
Monitoring tools:
- Settings > Developer options > enable 'Show CPU info' (far bottom) OR
- Trepn Profiler (from Playstore), enable 'CPU Frequency Overlay' OR
- Kernel Adiutor > CPU drawer > CPU Frequency section
Kernel Adiutor Mod | thread | download
Note: After enabling 'Apply on boot', check Start-Up Commands and verify the settings are actually being applied
- I/O Scheduler > Internal Storage > noop | External Storage > noop | Enable 'Apply on boot' | read Recommendations & Benchmark for best settings
- Power and Battery > USB Fast Charge > enable | Enable 'Apply on boot'
- CPU Hotplug > AutoSMP > Downrate Limits 55% | Uprate Limits 75% | Cycle Down 2 | Cycle Up 3 | Delay 500ms | Max CPU 4 (if quad-core) | Min CPU 1 | Enable 'Apply on boot'
- CPU > Max Freq 998MHz | Min Freq 200MHz | Governor Interactive | Governor Tunables >>>
Code:
above_hispeed_delay 20000 100000:60000 200000:150000
(note: its 20 thousand, 100 thousand:60 thousand, 200 thousand: 150 thousand)
align_windows 1
boost 0
boostpulse_duration 80000
(note: its 80 thousand)
go_hispeed_load 99
hispeed_freq 200000
io_is_busy 0
max_freq_hysteresis 0
min_sample_time 40000
(note: its 40 thousand)
target_loads 98 100000:40 200000:80 400000:95
(note: its ninety-eight, 100 thousand:40, 200 thousand:80, 400 thousand:95)
timer_rate 46666
(note: its 46 thousand, 666)
timer_slack 80000
(note: its 80 thousand)
use_migration_notif 0
use_sched_load 0
After applying all settings, reboot phone, then wait for Kernel Adiutor Mod to apply settings, then check your monitoring tool
- during idle, 3 out of 4 cpu cores will be offline/shutdown, the remaining active core should hover between 200-400MHz
- when phone is in use, the offline cores will be activated, scale up the frequency, then slide towards idle state
if using marshmallow, enable xposed, install amplify, greenify to optimize wakelock & hibernate settings
if using nougat, try to edit doze settings
wakelock, hibernate, doze apps & settings, checkout
http://lifehacker.com/how-android-doze-works-and-how-to-tweak-it-to-save-you-1785921957
https://www.reddit.com/r/Android/co...doze_features_in_nougat_have/#bottom-comments
https://forum.xda-developers.com/an...doze-settings-editor-android-t3235130/page136
EDIT: the settings above is not 100% tuned, but it works, there's no stutter either (during idle, 1 core should be 200-400MHz, by right, it should stay 200MHz all the time during idle, this is affected by timer_rate 46666, which does NOT stick at all, may need to set manually each time at boot). To get the proper value of timer rate, increase or decrease by 5000, it's base value is 30000, u can start from there. I simply chose 46666 coz it hovers less.
Follow these guides to tweak further the cpu governor INTERACTIVE
https://forum.xda-developers.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557
https://forum.xda-developers.com/showthread.php?t=2769899 (OLD GUIDE)
reserved also
Thanks for this amazing work. Will flash the kernel right now on cm13. I tried optimising cpu governers with one of the guides in nexus thread, but they all proved vague as a simple touch is boosting all cpu cores to their max. Also 'stop perfd' command in terminal did helped a bit to limit it but then, the performance was stuttering. A big thanks for this kernel. Will flash and post the results.. ??
hotplug autosmp totally disables touch boost by its very nature
Any chance of a CM14 25/12/2016 version for Z00L?
zackwire said:
Any chance of a CM14 25/12/2016 version for Z00L?
Click to expand...
Click to collapse
probably next week, no guarantees though.
I need to work on getting gpu idler functional. the idler works at all screens but not at screen off.
gpu frequencies
200Mhz, 310Mhz, 400Mhz
current gpu idler implementation which I tried:
during idle, the gpu should rest at 200Mhz, yes this works but the moment the screen goes off, it shoots back to 310Mhz and stays there.
try it on your current rom, at adb shell
Code:
cd "/sys/devices/soc.0/1c00000.qcom,kgsl-3d0/devfreq/1c00000.qcom,kgsl-3d0" ; while true; do cat trans_stat ; busybox sleep 0.1 ; done ;
observe the asterisk *, that's the current gpu speed,
then try using the phone, touch menus, launch apps etc, see the * switch to different speeds, then check idle speed
Code:
From : To
:400000000310000000200000000 time(ms)
400000000: 0 61 0 70233
*310000000: 60 0 26 755266
200000000: 1 25 0 43133
Total transition : 173
Thanks for the kernel
Flashed on the 22nd nougat build of RR
Does this kernel works on Resurrection Remix (nougat) and XOSP ROMs ?
ThanveerAliSayed said:
Thanks for the kernel
Flashed on the 22nd nougat build of RR
Click to expand...
Click to collapse
How is the battery performance ? is the kernel is specific batch builds like 22 Dec RR or can we use in any other batch builds too ?
pokipokipxorn said:
hotplug autosmp totally disables touch boost by its very nature
Click to expand...
Click to collapse
Awesome kernel man. Thanks. Been using it on cm13 since yesterday and I must say the battery savings were significantly improved without compromising performance at all. No stuttering at all.
Will try it on RR N today.
BTW, I have a doubt, in above_highspeed_delay and target_loads, the first frequency written in OP is 100Mhz but cpu frequencies in Z00L starts from 200Mhz. So what's the significance of putting these values of 100MHz?
I know little about CPU Gov tuning and I/O scheduling but whatever I found on searching over XDA for I/O schedulers is, Deadline to be better I/O Scheduler with following tunings-
fifo_batch 4
front_merges 1
read_expire 500
write_expire 3000
writes_starved 3
heerarana said:
Does this kernel works on Resurrection Remix (nougat) and XOSP ROMs ?
Click to expand...
Click to collapse
heerarana said:
How is the battery performance ? is the kernel is specific batch builds like 22 Dec RR or can we use in any other batch builds too ?
Click to expand...
Click to collapse
RR Nougat - yes, check 1st post under section file names & roms
The truth about kernels and battery life
Not sure about other roms, you could test the kernel via fastboot
Code:
fastboot boot testkernel.img
This will boot the test kernel one time, your original kernel remains intact, you could check the features & whether it works for you.
kunalchitara said:
Awesome kernel man. Thanks. Been using it on cm13 since yesterday and I must say the battery savings were significantly improved without compromising performance at all. No stuttering at all.
Will try it on RR N today.
BTW, I have a doubt, in above_highspeed_delay and target_loads, the first frequency written in OP is 100Mhz but cpu frequencies in Z00L starts from 200Mhz. So what's the significance of putting these values of 100MHz?
I know little about CPU Gov tuning and I/O scheduling but whatever I found on searching over XDA for I/O schedulers is, Deadline to be better I/O Scheduler with following tunings-
fifo_batch 4
front_merges 1
read_expire 500
write_expire 3000
writes_starved 3
Click to expand...
Click to collapse
I didn't test for optimized settings but just went through these 2 guides below
Follow these guides to tweak further the cpu governor INTERACTIVE
[GUIDE] Advanced Interactive Governor Tweaks; Buttery smooth and insane battery life!
[GUIDE] Advanced Interactive Governor Tweaks; Buttery smooth and insane battery life! (Old Guide)
What I remember: 100MHz is for the transition of sustained cpu loads of at least 60ms before crossing into the next frequency, while 200MHz is the cpu frequency stepping. Honestly speaking, if you go through the 2 guides above, you'll notice our cpu speed range is too small (200MHz > 400MHz > 533MHz > 800MHz > 998MHz).
You could replace it with the standard speed steppings ie 200 > 400 > 533MHz.
If you find better performance of any sort, pls post the settings.
Z00L battery may not be enough for my usage, no matter what I do, and I prefer not to carry a powerbank daily. I might get a Xiaomi Mi Max 4850 mAh and use Z00L as a backup. the Mi Max is just $70 extra, heck a 10,000 powerbank already costs $20, and the Mi Max gives 6.4" IPS, 3GB ram, 2 more power cores, plus the big battery. I could use at least 2 days w/o charging.
heerarana said:
How is the battery performance ? is the kernel is specific batch builds like 22 Dec RR or can we use in any other batch builds too ?
Click to expand...
Click to collapse
Iam using on 22nd build of RR perfomance is gud. And battery also with his given settings in the auto smp
Been using the kernel and suggested settings since yesterday on CM13 Snapshot and the battery life and performance of this is a beast! great work mate...got roughly 3:30hs SOT and lost only 47% of juice.
zackwire said:
Any chance of a CM14 25/12/2016 version for Z00L?
Click to expand...
Click to collapse
added kernels for the following ROMs:
ROM BeanStalk-6.25-20160919-Z00L (marshmallow)
ROM Slim-Z00L-6.0.1.b1.7--20161019-1635 (marshmallow)
ROM CM-14.1-20161225-NIGHTLY-Z00L (nougat)
check 1st post for filename & download link
ThanveerAliSayed said:
Iam using on 22nd build of RR perfomance is gud. And battery also with his given settings in the auto smp
Click to expand...
Click to collapse
can i flash this kernel in XOSP rom ?
heerarana said:
can i flash this kernel in XOSP rom ?
Click to expand...
Click to collapse
You can try. If any prob occur.
Just flash the boot.img from the xosp rom zip file to revert the effect
You should add for stock rom to.
pokipokipxorn said:
RR Nougat - yes, check 1st post under section file names & roms
The truth about kernels and battery life
Not sure about other roms, you could test the kernel via fastboot
Code:
fastboot boot testkernel.img
This will boot the test kernel one time, your original kernel remains intact, you could check the features & whether it works for you.
Click to expand...
Click to collapse
I tested in for XOSP ROM and got "Okay" message at the end. I tried to flash with TWRP Recovery but its not finding Winzip file in directory. I tried to convert into .zip file which came as "boot_m003_RR-N-v5.8.0-20161222-Z00L.7z.zip" and failed while flashing.
Also i tried with this command in fast boot mode: fastboot flash boot_m003_RR-N-v5.8.0-20161222-Z00L.img but it's not working.
can you plz make .zip file ?

Categories

Resources