[ZIP] Synapse + Universal Kernel Manager R1 - Xiaomi Redmi 1S

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

Related

[KERNEL][3.4.107][AOSP/CM][GCC5.0]Spirit.Kernel r13[21/4/2015]

Spirit Kernel
This kernel is ONLY for AOSP based ROMs. This will NOT work on the stock Moto roms.
I will update this regularly as I have time and will add new features and fixes as well.
If you have any feature requests or ideas that haven't been seen before, don't hesitate to post it here!!​
PLEASE READ
How to report a bug?
Include the following in your bug report:
The ROM you are currently using + a link to the ROM's thread
A log, preferably dmesgs or kmsgs (use Google to find out how to pull these from your device)
The version of SpiritKernel you use (=rx, e.g.r3)
Bug reports not meeting these requirements will be ignored.
NO BUG REPORTS ON EXPERIMENTAL BUILDS!​
Features
This Hybrid kernel contains features from great kernel devs with like faux,franco and neobuddy,optimized for titan to make it work.Initially there are less features but I will add much more soon
[*]Based on the Latest CyanogenMod sources
[*]Patched 3.4.106 kernel
[*]Governors: ondemand/userspace/powersave/performance/interactive/IntelliMM/inteliidemand/intelliactive/smartmax/pegasusQ
[*]Hotplug: MPDecision/MSM Hotplug/Intelliplug(default)
[*]Intellithermal v2
[*]DT2W/S2W/S2S Wake controls
[*]CPU Underclocking 192Mhz
[*]GPU OC 533Mhz | UC 100Mhz
[*]Add MSM Hotplug Driver
[*]Asynchronous Fsync extracted from HTC
[*]Sweep2Sleep driver
[*]Dynamic management of timer slack
[*]Slimbus OC thanks to neeobuddy89 and poondog
[*]increase Torch power 20mA
[*]Dynamic management of dirty page writebacks
[*]IO: BFQv7r7/FIFO/SIO/FIOPS/ZEN/VR IO Schedulers
[*]Faux Sound Control 3.2
[*]KCAL v2 by @savoca
[*]USB forced fast charge
[*]Stereo call recording support by skvalex
[*]Powersuspend from Faux and yank555-lu *updated to 1.8 after r8*
[*]Kernel Compression: XZ
[*]psx2usb controller
[*]Use Android device as USB keyboard/mouse
[*]optimized ARM RWSEM algorithm.
[*]Ultra Kernel Samepage Merging {UKSM}
[*]FRandom
[*]Dynamic FSync Control
[*]Added Simple GPU Algorithm
[*]WQ_POWER_EFFICIENT for bettery battery life. Hello Battery!!
[*]ANY Kernel
[*]Kexec hardboot patch for Multirom support
[*]TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD
Optimizations
[*]Compiled Using UBER 5.0.1 SaberMod 4.8 Optimized toolchain for better performance | UBER 4.9 Toolchain after r4
[*]Added optimized ARM RWSEM algorithm.
[*]Disable add_random
[*]Pocketmode and deepsleep for dt2w/s2w
[*]Optimized VFP Module
[*]FIx integer-overflow in veno,vegas
[*]Add sysinterface for GENTLE_FAIR_SLEEPERS
[*]NOATIME and NODIRATIME as default
[*]New 99LMK script by @Pizza_Dox
[*]Nvidia Patches to enhance power efficiency.
[*]Sched optimizations
[*]Increase battery level check interval
[*]writeback: increase bdi_min_ratio to 5
[*]block: cfq: merge tweaked tunables.
[*]Wait just 1 second for other CPU to halt
[*]net: combat buffer bloat
[*]PM: Introduce suspend state PM_SUSPEND_FREEZE
[*]Disable -fconserve-stack on ARM v2
[*]Enable power efficient workqueues by default
[*]do not use msm_run_queue_stats
[*]enable/disable cpu-boost via sysfs
[*]softirq: reduce latencies
[*]Built with Ofast flags
[*]Force SELinux permissive
[*]LowMemoryKiller management of non killable processes
[*]Headset High Performance Mode
[*]Allow CPU-supported unaligned accesses
[*]Enable UNALIGNED_ACCESS
[*]enable ARCH_POWER
[*]lower swappiness
[*]vfp: remove double entries
[*]Disable disable crc check for 30% extra performance in IO
[*]Optimized SLUB memory allocator
[*]Optimize Sfck Compression
[*]set sched_mc_power_savings to 2 (moar powarrrrrrr! saving)
[*]readahead to 256
[*]Built with Graphite flags
[*] Enabled Pipe Flag
TO-Do List
IntelliMM-intelliminmax
New Govs and I/Os
Intelliplug 4.0
GPU OC and UC
* Recommended app for tweaking the kernel: FauxControl,Kernel Auditor or TricksterMod
Recommended settings :
Governor: Intelliactive
I/O Scheduler: Fiops or row
TCP Congestion : Westwood
GPU Governor : Simple Ondemand Or Msm-adreno-tz
Hotplug : Intelliplug ( Keep screen off frequency to 787 MHz )
Powersuspend : Hybrid
Simple GPU Algorithm : On​
How DO I flash this?
Reboot to recovery.
Install zip from SD Card.
Choose the SpiritKernel-Rx-titan.zip
Insatll and Reboot.
Changelog:
Click Me
Downloads:
Basketbuild
Source:
Github(branch:spirit)
Wiki containing changelogs,settings and more
Antutu Score: http://forum.xda-developers.com/showpost.php?p=59736983&postcount=136
Credits goes to these SUPERHUMAN for Inspiration and support (In no specific order)
faux123
Cl3Kener
slukk
luca020400
savoca
Anas Karbila
hurtsky
pinkflozd
YoshiShaPow
Flashhhh
flar2
vigneshrajagopalan
And more
XDA:DevDB Information
Spirit kernel for titan, Kernel for the Moto G 2014
Contributors
DC07
Source Code: https://github.com/DC07/spirit_msm8226
Kernel Special Features: Powersuspend,Ultra KSM,FRandom,Faux Sound,LCD KCAL,DT2W/S2W,Fastcharge and More
Version Information
Status: Stable
Current Stable Version: r13
Stable Release Date: 2015-04-21
Created 2015-03-16
Last Updated 2015-04-21
F.A.Q. - Read this before complaining!
1. My phone exploded, HALP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: Doesn't work with ROMs having different ramdisk or any derivates due to their irresponsibility of using a different ramdisk which needs patches that break stock rom users. Use a different rom and don't bother me.
3. OMG BETTARY SUCKZ, IT DEAD IN 45 MINUTAS, HALP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Reading the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
Settings recommended by our users
metalrules321 said:
Heres what I use and it gives me exceptionally good battery life and perfomance (may differ for others) /using faux-clock app
1.CPU Hotplug
-Intelliplug (I use fauxclock, so cant find the msm hotplug)
-Touch boost on
-Screen off frequency 787 mhz
-Hysterisis value : 8
-Profile : Ecoconservative
-Threshold value 350
2.Thermal Manager
-Intellithermal
-Frequency Throttle temp; 70
-Core throttle temp: 65
3.GPU manager
-Governor: msm-adreno-tz
-simple gpu algorithm
-gpu clock:320
-Simple governor (laziness); 5
-Ramp Threshold: 5
4. IO scheduler
-ROW (for both emmc and sd)
-Read ahead :1024
-Entropy: off
5.Memory Manager
-Zram: Off
-All the other options on
- Swappines:80
-VFS cache pressure : 120
-Dirty ratio:20
-background ratio:5
6.Same page merge
-Intelli ksm enable
-Activation treshold :24
-Cycles per activation 3
-Pages to scan:400
-Scan delay interval :500
7.Battery Control
-Throttling - On
-Temperature threshold :45
-Throttle frequency:787
8.Miscellaneous
- Powe suspend mode: Userspace
-powesuspend: On
-Dynamic file sync: on
-TCP congestion control:Westwood
*Sorry for an awfully long post *:silly:
Click to expand...
Click to collapse
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
luca020400 said:
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
Click to expand...
Click to collapse
The kernel just works fine with the trees I'm using ATM.
DC07 said:
The kernel just works fine with the trees I'm using ATM.
Click to expand...
Click to collapse
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Yeah... Thankssss
luca020400 said:
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Click to expand...
Click to collapse
Oh,I'll rebase it in the next build then.
Thanks for pointing it.
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
YEa I'm sure
When I tested lp kernel on kk media was broken
And new lp kernel is a way better
Eager to use it on latest Builds and requesting to add kexec support if possible
Sent from my XT1033{LP} using TAPATALK
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
For me, sometimes it works, but then other times won't.
In blisspop video works for a day...then well i moved to stock 4.4.4 for some testing and optimisation on it btw i'm on xt1068
Hello Guys,
After working off to a new base fixed everything in the new build.
Get it https://s.basketbuild.com/devs/DC07/Spirit/titan
Steps and feature list are on the OP.
Enjoy!!
Help
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
MotoGUser69 said:
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
Click to expand...
Click to collapse
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Anas Karbila said:
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Click to expand...
Click to collapse
Second gen
What
Sent from my Moto G 2014 using XDA Free mobile app
I did not think the new governors nor Min Freq: 96000
Is there anyway to disable the cpu being clocked at 19000 whenever I touch the screen? It's a feature of CM12, however is there anyway to disable this? I tried putting off mpDecision through Faux123 but it still goes to 19000 even with intelliplug and the user defined option. Any help appreciated!
Thanks,
iG0tB00ts
MotoGUser69 said:
Second gen
Click to expand...
Click to collapse
How the hell you have a Moto G 2nd Gen and flashed Franco Kernel? Franco Kernel is for 1st Gen. lol man you need new eyes, even glasses don't help in this case.
Sent from my Moto G 2014 using XDA Free mobile app

[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?

[KERNEL] [ROOT] [SM-G928* Exynos 7420] [19 Feb] SkyHigh TW 5.1.1 Kernel [v4.5]

[KERNEL] [ROOT] [SM-G928C / F / G / I / 7C Exynos 7420] [19 February] SkyHigh TW 5.1.1 Kernel [ v4.5 ] [Synapse ++]
**** Development & support is ceased FOR 5.1.1 ****
WARNING
Code:
[COLOR="Red"]PLEASE SHOW RESPECT TO ACTUALLY [COLOR="PURPLE"][B]READ POSTS #1-3[/B][/COLOR]
[URL="http://forum.xda-developers.com/announcement.php?a=81"][B]XDA RULE #1 "SEARCH BEFORE POSTING"[/B][/URL] (GOOGLE, XDA & THREAD),
IF YOU DON'T LIKE A UP-FRONT "MATTER OF FACT" APPROACH,
[B]THEN DON'T BOTHER POSTING[/B]. [/COLOR]
FEATURES
Code:
* Based on official Samsung source: [URL="http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=n920"]Samsung OSRC[/URL]
* ramdisk source:
[INDENT][B]G928F[/B]XXU2APA3[/INDENT]
* Compiled with Linaro gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu
* Linux 3.10.96
* [COLOR="red"]AUTO-ROOT binary v2.52[/COLOR] & Install busybox v1.24.1-Dorimanx
* [COLOR="Red"]KNOX WARRANTY VOID: 1[/COLOR]
* [COLOR="red"]SELinux PERMISSIVE[/COLOR] (for Titanium Backup and other apps to work correctly)
* adb insecure
* stock dt.img
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* [COLOR="red"]DEEP SLEEP FIX[/COLOR]
* [COLOR="red"]IN-CALL REBOOT BUG "FIX"[/COLOR]
* Possible Screen Mirroring / AllShare Cast fix
* Secure storage = false (should prevent WIFI settings & passwords wiping on reboots)
* RAM management tweaks
* GearVR [U]reported[/U] working (depends on ROM/firmware version installed)
* [B]Synapse app support[/B] for many kernel configurations + more !!
* Many descriptions are in the app ! If you require more info, don't be lazy, please [B]SEARCH[/B] like I did ;)
SYNAPSE FEATURES
ABOUT
PayPal Donation link
SkyHigh kernel thread link
Up time
Total
Sleep
Awake​
A57 CPU
A57 big Cores Frequency Scaling
live frequency
MAX: 2400 MHz (stock 2100 MHz is default)
MIN: 500 MHz (stock 800 MHz is default)​
A57 VOLT
HPM voltage control
A57 big Cores voltage control
A53 CPU
A53 LITTLE Cores Frequency Scaling
live frequency
MAX: 1600 MHz (stock 1500 MHz is default)
MIN: 200 MHz (stock 400 MHz is default)​
A53 VOLT
HPM voltage control
A53 LITTLE Cores voltage control
CPU GOV
CPU governors
interactive (default)
on-demand
conservative
ktoonservative (hotplug)
userspace
performance​
Interactive governor live load at current frequency (A57+A53)
Interactive governor tuning (profiles)
Default
Battery
Performance​Turbo Mode​
A57 GOV
A57 governor tunables
A53 GOV
A53 CPU governor tunables
MULTICORE
HMP threshold tuning profiles
Default
Performance
Battery​
HMP threshold controls for up/down migration
Power Aware Scheduling control
HMP LITTLE Packing
PEWQ (Power-efficient Workqueues) control
Exynos Core Control Interface (choose 5 > 8 cores online)
CPU STATS
CPU0 time in state
CPU4 time in state
BOOST
Input-Booster profiles
key
touchkey​
GPU
GPU stats
Current clock freq
Live Frequency Utilization (load)
Time in state​
GPU power policy control
coarse_demand (default)
demand
always_on​
GPU frequency scaling
Max freq control to 852 MHz (700 MHz is default)
Min freq control to 100 MHz (stock 266 MHz is default)​
GPU Governor
Default
Interactive (default)
Static
Booster (more graphic and benchmark performance)​
GPU Interactive Governor tunables
highspeed clock
highspeed load
highspeed delay​
GPU VOLT
HPM voltage control
GPU voltage control
THERMAL
Sensor temperatures
A57
A53
GPU
ISP​
CPU thermal control
normal temp
critical temp​
GPU thermal control
On/Off thermal manager
temp levels 1 > 5
throttling freq levels​
Memory thermal control
normal temp
critical temp​
ISP (Image Signal Processor) thermal control
temp levels 1 > 5​
BUS
Memory Bus HPM voltage control
Memory Bus voltage control
Internal Bus voltage control
ISP (Image Signal Processor) voltage control
IO
I/O Schedulers
BFQ (tweaked for SSD)
DEADLINE (tweaked for SSD)
FIOPS
CFQ = default (tweaked for SSD)
NOOP
ROW (tweaked)​
Storage read-ahead (256 KB)
General IO tuneable
Add random
IO stats
Rotational
No merges
RQ Affinity
NR requests​
I/O scheduler tunables
MEMORY
Memory state
Total
Free​
Low Memory Killer Profiles
Low
Medium
Custom (recommend)
Default (default)
Aggressive
Exterminate​
Low Memory Killer minfree tuning (OOM LMK)
Adaptive Low Memory Killer
vmpressure_file_min​
Samsung SPCM Service control (Enabled = default/stock)
Ultra Kernel SamePage Merging (UKSM)
UKSM stats
Scan Delay Interval
UKSM Governor
Max CPU consumption​
Dynamic FSYNC control (enabled)
Dynamic dirty page writeback control (enabled)
Dirty writeback active
Dirty writeback suspend​
Virtual Memory
Virtual NAND Swap control (VNSwap)
ZSwap memory pool
Adaptive Dirty Background Ratio on suspend / resume
Adaptive Dirty Ratio on suspend / resume
Drop caches (Clear VFS cache after boot)
Laptop Mode
Swapiness
Adaptive vfs_cache_pressure on suspend / resume​
ADVANCED
Entropy (max 4096)
Gentle Fair Sleepers control (disabled)
Arch Power control (enabled)
randomize_va_space control
pm_freeze_timeout control
Google Play Services Battery Drain Fix
Driver wakelock controls
SensorHub
ssp_sensorhub​SSP
sig_motion_sensor
pickup_gesture
grip_sensor
tilt_detector
proximity_sensor​bcm4773
bcm4773_gps​
POWER SUSPEND
Modes:
Autosleep
Userspace
Display Panel
Hybrid (Autosleep + Display Panel) = default​
PowerSuspend State (enable only with Userspace mode set)
Version push button
AUDIO
(Sound Control by AndreiLux)
Jack media volume control
L/R channel volume
mono mixer​
Speaker volume control
Earpiece volume​
Main Equalizer
Advanced Stereo Equalizer
SCREEN
Live panel brightness
sweep2sleep control
NETWORK
TCP congestion control
All available enabled.
Default = westwood+​
Screen mirror/allshare cast fix control (enabled)
Clean WIFI Lease
WIFI Passwords
Save
Restore​
WiFi Power Mode While Screen-On/Off
Force Off
Off
Fast (default = screen ON)
Max (default = screen OFF)
WiFi DTIM Interval While Screen-On/Off​
RX wakelock timeout control
TCP/IP network security
3G DNS speed & security tweak
Google
OpenDNS
Comodo, Level3
Norton_DNS
Smart_Viper​
GPS time-zone
Original
Asia
Europe
Oceania
North America
South America
Africa​
IPV6-protocol
IPv6 Test push button
IPv6 enable / disable
optimistic detection​
SECURITY
KNOX control
NO_ACTION (default)
Disabled
Enabled​
SELinux
Live status​
BATTERY
Battery info
Charging controls
HV power supplies
A/C Mains
A/C Mains (screen-on)
Standard downstream port
Dedicated charging port
Charging downstream port
Accessory charging adapter
MHL power
Wireless power​
Store Mode
enable / disable (master control)
Store Mode Maximum
Store Mode Minimum​
Battery SCALING calibration (fuel gauge reset)
LED
LED disable control
LED Fade-in/out Time Period
LED Fade control
Fade-in
Fade-out​
Test notification push button
Stop notification push button
FS (File System)
Display FS Type
FS Controls
remount System r/w r/o
remount RootFS r/w r/o​
Scrolling cache control
Optimise Databases (SQLite3)
FSTrim lagfix
Wipe options
cache reboot
dalvik-cache reboot
cache & dalvik-cache reboot​
Clean up
clipboard cache
/data/tombstones
/data/anr logs
/data/dropbox logs
lost+found​
CORTEXBRAIN
Live status
Cortexbrain-Background-Process (Master Switch)
CortexBrain Functions
WiFi Auto
Media Manager
System-Tweaks
Kernel-Tweaks
nmi_watchdog​
CRONTAB
Live status
CronTask (Master Switch)
Cron Tasks
Clean RAM cache (every hour)
Google Service restart (every 3 hours)
Clean app cache & junk (every day at 4:30AM UTC)
clipboard cache
/data/tombstones
/data/anr logs
/data/dropbox logs
lost+found​Optimize databases (every day at 4:40AM UTC)
File system trim (every day at 4:50AM UTC)
Battery scaling calibration (every Sunday at 5:00AM UTC)​
Test Cron Task jobs
USB
USB status
USB mode selection
MTP
PTP
CD_ROM (drivedroid support)
USB_Keyboard-Mouse​
MODULES
CIFS
NTFS
ISO9660_FS
UDF
XPAD
BACKUP & RESTORE
Name - Restore - Delete - Backup
profiles
kernel image​
LOGS
Android Logger control (enabled)
LogCat​
Kernel Logger control (enabled)
dmesg
last_kmsg​
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data & Reboot
Restart Synapse
INFO
Reduced logging
exFAT FS support
NTFS R/W support with app
CIFS support (not tested)
ISO 9660 CDROM & UDF FS support
Frandom
mount partitions NOATIME and NODIRATIME by default
FSTrim on boot (ensure consistent IO throughput)
Entropy tweaks
Increased boot frequency
Power-efficient workqueue (PEWQ) efficiency patches
CLEANCACHE & ZCACHE
Microsoft X-BOX gamepad controller module (updated)
LZO de/compression algorithm
Slub tweaked
Much more - check source commits & Synapse
CREDITS
My family !!
@Chainfire - root & SuperSU / @Manh_IT - auto-root method
@AndreiLux - years of support for Exynos development and his various kernel features + Synapse app and UCI code
@halaszk88 - patches and Synapse code I adapted to many of my kernels
@dorimanx - BusyBox and various ramdisk tweaks/ideas
@apb_axel - I adapted and used many of the Synapse controls to suit my kernels
@arter97 - various source fixes/patches
@ktoonsez - ktoonservative hotplug governor
@LuigiBull23 - ktoonservative profiles I've adapted
XDA
Samsung OSRC
and many others!
check github source credits
IF I'VE FORGOTTEN ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SkyHigh S6 Edge+ Exynos 7420 Kernel, Kernel for the Samsung Galaxy S6 Edge+
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/SM-N920
Kernel Special Features: Synapse ++ | EXT4 | exFAT | NTFS | CIFS
Version Information
Status: Stable
Current Stable Version: 4.5
Stable Release Date: 2016-02-19
Created 2015-12-01
Last Updated 2016-03-05
Warning - ChangeLog - Requirements - Installation - Download - Source
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
Code:
[COLOR="Red"]* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !![/COLOR]
CHANGE-LOG
Open GitHub Change-Logs
Tap/click "Full Change log" under the latest version (i.e. v4.5)
Example: ALL commits (changes) for v4.4 > v4.5 are visible at the top section
Tap/click any commit and will display all comments in the top section and code changes in the bottom section for particular commit
REQUIREMENTS
Variant support for:
SM-G928C / F /G / I / C7​
Watch >>> THIS <<<
IF YOU WISH TO BUG REPORT: Stock UNMODIFIED TouchWiz (TW) 5.1.1 ROM (I DO NOT HAVE YOUR DEVICE !! )
Custom recovery i.e.. TWRP or Philz
INSTALLATION
If you have systemless root installed, then you must REMOVE it as this kernel will auto-root a proven and stable 2.52 binary into system.
Open SuperSU app
Select "Full unroot" option
Reboot (or flash kernel)
Re-install SuperSU app​
Uninstall any CPU control apps, tweaks and init.d scripts etc.
Recommend: Disable or remove KNOX (you can disable with Synapse once kernel is flashed)
Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
Device Settings:
Enable Developer Options > OEM UNLOCK
If flashing from previous SkyHigh kernel > Device settings > Applications > Synapse > Force Stop > clear data​
If not installed > Install SuperSU from Google Play:
Boot into custom recovery and flash SkyHigh_kernel____.zip FOR YOUR DEVICE and reboot
After boot:
a) wait at least 120 secs to stabilize
b) Open Synapse
c) Tap "Understood"
d) DO this step so some defaults are set !!
1. tap the square menu button top right hand corner
2. tap the three dots button
3. "select all globally"
4. tap the back button next to it
5. apply​
DOWNLOADS
Mod Edit: Links removed
SOURCE
ALL KERNELS COMPILED WITH SAME SkyHigh SOURCE !!
Github
.
Help & FAQ
THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:
I might not have your device variant and or able to reproduce your "issue". With this in mind, without providing as much information as possible, and resetting your device to a stable unmodified baseline, any potential troubleshooting or logs could be meaningless. So please follow the guidelines set out below. Thanks
BY POSTING YOUR ISSUES IN THIS THREAD, YOU ARE AGREE TO HELP YOURSELF FIRST BY PROVIDING INFO REGARDING:
Code:
1. DEVICE MODEL ?
2. ROM and firmware version (build number, boot-loader etc) ?
3. EXACT steps taken to reproduce YOUR issue
4. Screen-shots (if applicable)
5. Did you read Posts #1-3 completely?
6. Did you search the thread, XDA or GOOGLE?
7. Did you follow the install instructions EXACTLY?
8. What was your previous kernel?
9. Do you have any other known kernel tweaking apps, scripts or mods? ([B]remove them[/B]). [COLOR="Red"]This includes Xposed etc[/COLOR]
10. Try older kernel (if available)
11. Factory reset ?
12. Try latest stock [B]UNMODIFIED[/B] firmware (without custom ROM - if you have installed) and factory reset
13. Delete your ROM BusyBox (kernel uses it's own in /sbin)
ONLY IF YOU HAVE TRIED SUGGESTIONS ABOVE:
Turn on logging in Synapse and save logs AT TIME OF ERROR. AND post together with ALL the above information.
ELSE, DON'T WASTE MY TIME, YOU WILL BE IGNORED AND/OR POST REPORTED !!
THANK YOU :good:
NO FAST CHARGE
If using the pathetic original cable, try disconnect and reconnect the USB cable whilst power is still turned on to the charger
Use a thicker / better cable, will work every time (ie. Note4 OEM cable)
CAN I BUILD A KERNEL FOR YOUR __XX DEVICE ?
I will not build for any device that I can not compile using SAME source, personally test method or debug. Some device variants can compile with same source.
Sorry. I don't have the spare time for any more variant support.
"NO UCI SUPPORT"
It's a ROM busybox compatibility issue
Three choices:
Device > settings > applications > Synapse > force close & wipe data and REBOOT
OR
Remove your ROM busybox from /system xbin and /system/bin (Synapse will use the kernel busybox in /sbin).
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
OR
Try install a different busybox
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
Synapse or BACKUP/RESTORE ISSUES
It's a ROM busybox or sqlite3 compatibility issue
Remove both your ROM busybox & sqlite3 from /system xbin and /system/bin (Synapse will use it's own from kernel /sbin).
Device > settings > applications > Synapse > force close & wipe data
Reboot or re-flash kernel as per Installation Instructions
BACKUP & RESTORE
DO NOT restore profiles from different kernel version
Refer to THIS post for "how-to" screen-shots
Refer to THIS post for a "how-to" video (thanks @aldoblaga )
LOADABLE MODULES AREN'T WORKING
Check your /system/lib/modules directory. Are any ____.ko present?
Did you flash a ROM or wipe the system partition at any point? Doing this will remove them !
Re-flash the kernel will install the modules.
If modules aren't installed after flash, then re-flash and manually mount system in recovery first.
You can check running modules in terminal with:
Code:
lsmod
KTOONSERVATIVE GOVERNOR
Some info from the author: http://forum.xda-developers.com/showpost.php?p=60223338&postcount=3
DT2W & COLOUR CONTROL
No, I cannot make it work properly with single source for all supported variants
CPU POWER CONSUMPTION
The Samsung Exynos 7420 Deep Dive - Inside A Modern 14nm SoC (by ANANDTECH - Andrei)
F2FS SUPPORT
It's not needed. You wouldn't see any difference or measure much, if anything. Not worth the potential trade-off. This is not eMMC anymore
http://bgr.com/2015/03/17/galaxy-s6-storage-benchmarks/
STUCK ON SAMSUNG BOOT LOGO AFTER FLASH
Ensure you flashed the correct kernel for your device model
Ensure your download is not corrupted. Check MD5 hash or re-download
Your current base firmware (ROM, boot-loader version etc.) may be incompatible - UPDATE to latest with Odin and try again.
CM SUPPORT
Read Post #12
"Unauthorized actions have been detected, reboot to undo changes"
As it's a common warning found with all KNOX enabled android devices, you would have found the answer by Google search and also that it is actually unrelated to kernel and also unrelated to this kernel development..............
It is caused by the process of rooting/modifying your device. Unless you use KNOX, don't worry.
[Q] How to disable
[A] Freeze or delete your KNOX & Security related apps/processes manually (using root explorer or titanium backup (pro) or use Synapse > Security > disable KNOX
CAN I USE OTHER KERNEL CONTROL APPS
No, many features and options won't be available. Remove all other control apps to avoid conflicts !
Synapse is the recommended and has everything you need
BATTERY TIPS
Try some (or combination) of the CPU MULTICORE features in Synapse:
HMP profile = Battery
Power Aware Scheduling (slight performance cost) = Enabled
HMP LITTLE Packing (slight performance cost) = Enabled
PEWQ (power-efficient workqueue) (slight performance cost) = Enabled​
Set A57 & A53 Interactive governor profile = Battery
Set Input-Booster for key/touchkey profile = Battery
Multi-tasking: enable UKSM & "low" or "quiet" profile (slight performance/battery cost)
Set all Advanced wake-lock controls to 1, except GPS. Set it to 4
Set WiFi wakelock control to 2 or 3
PERFORMANCE TIPS
Set A57 & A53 Interactive governor profile = Performance
Set A57 & A53 Interactive governor = Turbo Mode (battery cost)
Once in a while:
Optimize Databases
FSTrim​
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
Use a stock UNMODIFIED ROM for your device variant
No tweaks, Xposed or other CPU control apps installed
ASV_GROUP (ALL DEVICES ARE NOT CREATED EQUAL)
This is an example from my Exynos5420 source. Similar idea for Exynos420
http://forum.xda-developers.com/showpost.php?p=61579949&postcount=202
CAN I INCLUDE SkyHigh KERNEL IN MY ROM
Although I do appreciate your contribution here, if you could please do not include my kernel in any ROM package etc. This policy goes for anyone.
Having my kernel distributed outside my development thread just removes a lot of credit and more importantly, constructive user feedback that could be helpful to my development or user issue.
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Disable any CPU MULTICORE options in Synapse
Disable any Battery profiles in Synapse. Set to default or Performance.
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS
* [Christopher83]
This feature allows to have two different intervals for dirty page
writebacks and to dynamically manage them when the system has been
resumed (it's active) or when has been suspended.
Three new procfs parameters are exposed inside /proc/sys/vm path:
- dynamic_dirty_writeback is the activation status of this feature,
set 1 to enable it, set 0 to disable it and use the standard behaviour
- dirty_writeback_active_centisecs is the interval for the dirty page
writebacks when the system is active (screen on)
- dirty_writeback_suspend_centisecs is the interval for the dirty page
writebacks when the system is suspended (screen off)
This feature is in part inspired on Francisco Franco's patch:
https://github.com/franciscofranco/mako/commit/34d79548cf16b69c7d0154836018e7f258a22947
Click to expand...
Click to collapse
TCP/IP NETWORK SECURITY
* Thanks to zeppelinrox & V6SuperCharger
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
CHROMECAST - STREAMING PROBLEMS
* Thanks to @AtLmd Post
Lock screen MUST be enabled (simple screen lock swipe) I don't know why but it breaks the chromecast app's ability to resume smoothly if switched off
Synapse > Network > DTIM (both screen ON & OFF) = 1
Synapse > Network > WIFI Power Mode (screen OFF) = FAST
.
Here you are... Thank you for coming man.
Note: (G928C) This kernel is amazing. I have been using for long time. 95K antutu 6b5 score, 75k antutu 5.7.1 score, 6H sot with non-stop usage And see my other other comments, post #352 in:
http://forum.xda-developers.com/tmo...ernel-skyhigh-tw-5-1-1-kernel-t3217967/page36
First of all, astonishing description and presentation of "how to"
Feedbacks later [emoji106]
Sent from my Darkside of Edge plus
Tried after one day. The kernel is amazing, have a lot of features and the Battery was good.
I got more than 4 hrs sot, 3 hrs of gaming and still have 22% left
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
dkido said:
Tried after one day. The kernel is amazing, have a lot of features and the Battery was good.
I got more than 4 hrs sot, 3 hrs of gaming and still have 22% left
View attachment 3562581
Click to expand...
Click to collapse
What is you versione? F C etc..
sartan said:
What is you versione? F C etc..
Click to expand...
Click to collapse
I think it works with C -which is my current- and F, I, G. Back up and have an another kernel in ur phone then give a try man. What was yours?
Konsstantine34 said:
I think it works with C -which is my current- and F, I, G. Back up and have an another kernel in ur phone then give a try man. What was yours?
Click to expand...
Click to collapse
Mine is F version.. As soon as i try this kernel i'll give a review..
sartan said:
Mine is F version.. As soon as i try this kernel i'll give a review..
Click to expand...
Click to collapse
Did it work on your F mate?
Sent from my SM-G928F using Tapatalk
Installed on G-928F With kossiewossie's excellent Rom.
n33 said:
Installed on G-928F With kossiewossie's excellent Rom.
Click to expand...
Click to collapse
@sartan @tatoo069sv thats it.
n33 said:
Installed on G-928F With kossiewossie's excellent Rom.
Click to expand...
Click to collapse
I will give it a wirl then lol. Cheers
Sent from my SM-G928F using Tapatalk
tatoo069sv said:
Did it work on your F mate?
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
Didn't tried yet..
sartan said:
Didn't tried yet..
Click to expand...
Click to collapse
I have flashed it on my F and it's great
Sent from my SM-G928F using Tapatalk
tatoo069sv said:
Did it work on your F mate?
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
928F, it works perfect mate
Anyone know if this would work on G9287?
pmorales said:
Anyone know if this would work on G9287?
Click to expand...
Click to collapse
On the second post there is a change log spoiler, you can see that there's support for the F C G I variants only, nothing mentioned about T or 7, most probably won't work as these are quite different
-=-=-
The kernel performs perfectly, I'm not keen to adjust any of the settings in synapse for now, default is rock stable and smooth, battery drainage looks great as well
Sent from my Darkside of Edge plus
v2.5 released
v2.5 update for SM-G928-C / F / G / I device variants
Check out the change-log in Post #2.
NOT TESTED. I DO NOT HAVE YOU DEVICE !
XDA RULE #1 'SEARCH BEFORE POSTING". Please READ Posts #1-3 BEFORE flashing !!
Please CLEAR SYNAPSE DATA before flash: device settings > Applications > Application manager > Synapse > force stop > clear data
Have fun
Cheers
UITA
Works great on my 928F
Gesendet von meinem SM-G928F mit Tapatalk

[KERNEL] [ROOT] [SM-G928P Exynos 7420] [19 Feb] SkyHigh TW 5.1.1 Kernel [v4.5]

[KERNEL] [ROOT] [SM-G928P] Exynos 7420] [19 February] SkyHigh TW 5.1.1 Kernel [ v4.5 ] [Synapse ++]
WARNING
Code:
[COLOR="Red"]PLEASE SHOW RESPECT TO ACTUALLY [COLOR="PURPLE"][B]READ POSTS #1-3[/B][/COLOR]
[URL="http://forum.xda-developers.com/announcement.php?a=81"][B]XDA RULE #1 "SEARCH BEFORE POSTING"[/B][/URL] (GOOGLE, XDA & THREAD),
IF YOU DON'T LIKE A UP-FRONT "MATTER OF FACT" APPROACH,
[B]THEN DON'T BOTHER POSTING[/B]. [/COLOR]
FEATURES
Code:
* Based on official Samsung source: [URL="http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=n920"]Samsung OSRC[/URL]
* ramdisk source: [B]G928P[/B]VPS2AOK3
* Compiled with Linaro gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu
* Linux 3.10.96
* [COLOR="red"]AUTO-ROOT binary v2.52[/COLOR] & Install busybox v1.24.1-Dorimanx
* [COLOR="Red"]KNOX WARRANTY VOID: 1[/COLOR]
* [COLOR="red"]SELinux PERMISSIVE[/COLOR] (for Titanium Backup and other apps to work correctly)
* adb insecure
* stock dt.img
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* [COLOR="red"]DEEP SLEEP FIX[/COLOR]
* [COLOR="red"]IN-CALL REBOOT BUG "FIX"[/COLOR]
* Possible Screen Mirroring / AllShare Cast fix
* Secure storage = false (should prevent WIFI settings & passwords wiping on reboots)
* RAM management tweaks
* GearVR [U]reported[/U] working (depends on ROM/firmware version installed)
* [B]Synapse app support[/B] for many kernel configurations + more !!
* Many descriptions are in the app ! If you require more info, don't be lazy, please [B]SEARCH[/B] like I did ;)
SYNAPSE FEATURES
ABOUT
PayPal Donation link
SkyHigh kernel thread link
Up time
Total
Sleep
Awake​
A57 CPU
A57 big Cores Frequency Scaling
live frequency
MAX: 2400 MHz (stock 2100 MHz is default)
MIN: 500 MHz (stock 800 MHz is default)​
A57 VOLT
HPM voltage control
A57 big Cores voltage control
A53 CPU
A53 LITTLE Cores Frequency Scaling
live frequency
MAX: 1600 MHz (stock 1500 MHz is default)
MIN: 200 MHz (stock 400 MHz is default)​
A53 VOLT
HPM voltage control
A53 LITTLE Cores voltage control
CPU GOV
CPU governors
interactive (default)
on-demand
conservative
ktoonservative (hotplug)
userspace
performance​
Interactive governor live load at current frequency (A57+A53)
Interactive governor tuning (profiles)
Default
Battery
Performance​Turbo Mode​
A57 GOV
A57 governor tunables
A53 GOV
A53 CPU governor tunables
MULTICORE
HMP threshold tuning profiles
Default
Performance
Battery​
HMP threshold controls for up/down migration
Power Aware Scheduling control
HMP LITTLE Packing
PEWQ (Power-efficient Workqueues) control
Exynos Core Control Interface (choose 5 > 8 cores online)
CPU STATS
CPU0 time in state
CPU4 time in state
BOOST
Input-Booster profiles
key
touchkey​
GPU
GPU stats
Current clock freq
Live Frequency Utilization (load)
Time in state​
GPU power policy control
coarse_demand (default)
demand
always_on​
GPU frequency scaling
Max freq control to 852 MHz (700 MHz is default)
Min freq control to 100 MHz (stock 266 MHz is default)​
GPU Governor
Default
Interactive (default)
Static
Booster (more graphic and benchmark performance)​
GPU Interactive Governor tunables
highspeed clock
highspeed load
highspeed delay​
GPU VOLT
HPM voltage control
GPU voltage control
THERMAL
Sensor temperatures
A57
A53
GPU
ISP​
CPU thermal control
normal temp
critical temp​
GPU thermal control
On/Off thermal manager
temp levels 1 > 5
throttling freq levels​
Memory thermal control
normal temp
critical temp​
ISP (Image Signal Processor) thermal control
temp levels 1 > 5​
BUS
Memory Bus HPM voltage control
Memory Bus voltage control
Internal Bus voltage control
ISP (Image Signal Processor) voltage control
IO
I/O Schedulers
BFQ (tweaked for SSD)
DEADLINE (tweaked for SSD)
FIOPS
CFQ = default (tweaked for SSD)
NOOP
ROW (tweaked)​
Storage read-ahead (256 KB)
General IO tuneable
Add random
IO stats
Rotational
No merges
RQ Affinity
NR requests​
I/O scheduler tunables
MEMORY
Memory state
Total
Free​
Low Memory Killer Profiles
Low
Medium
Custom (recommend)
Default (default)
Aggressive
Exterminate​
Low Memory Killer minfree tuning (OOM LMK)
Adaptive Low Memory Killer
vmpressure_file_min​
Samsung SPCM Service control (Enabled = default/stock)
Ultra Kernel SamePage Merging (UKSM)
UKSM stats
Scan Delay Interval
UKSM Governor
Max CPU consumption​
Dynamic FSYNC control (enabled)
Dynamic dirty page writeback control (enabled)
Dirty writeback active
Dirty writeback suspend​
Virtual Memory
Virtual NAND Swap control (VNSwap)
ZSwap memory pool
Adaptive Dirty Background Ratio on suspend / resume
Adaptive Dirty Ratio on suspend / resume
Drop caches (Clear VFS cache after boot)
Laptop Mode
Swapiness
Adaptive vfs_cache_pressure on suspend / resume​
ADVANCED
Entropy (max 4096)
Gentle Fair Sleepers control (disabled)
Arch Power control (enabled)
randomize_va_space control
pm_freeze_timeout control
Google Play Services Battery Drain Fix
Driver wakelock controls
SensorHub
ssp_sensorhub​SSP
sig_motion_sensor
pickup_gesture
grip_sensor
tilt_detector
proximity_sensor​bcm4773
bcm4773_gps​
POWER SUSPEND
Modes:
Autosleep
Userspace
Display Panel
Hybrid (Autosleep + Display Panel) = default​
PowerSuspend State (enable only with Userspace mode set)
Version push button
AUDIO
(Sound Control by AndreiLux)
Jack media volume control
L/R channel volume
mono mixer​
Speaker volume control
Earpiece volume​
Main Equalizer
Advanced Stereo Equalizer
SCREEN
Live panel brightness
sweep2sleep control
NETWORK
TCP congestion control
All available enabled.
Default = westwood+​
Screen mirror/allshare cast fix control (enabled)
Clean WIFI Lease
WIFI Passwords
Save
Restore​
WiFi Power Mode While Screen-On/Off
Force Off
Off
Fast (default = screen ON)
Max (default = screen OFF)
WiFi DTIM Interval While Screen-On/Off​
RX wakelock timeout control
TCP/IP network security
3G DNS speed & security tweak
Google
OpenDNS
Comodo, Level3
Norton_DNS
Smart_Viper​
GPS time-zone
Original
Asia
Europe
Oceania
North America
South America
Africa​
IPV6-protocol
IPv6 Test push button
IPv6 enable / disable
optimistic detection​
SECURITY
KNOX control
NO_ACTION (default)
Disabled
Enabled​
SELinux
Live status​
BATTERY
Battery info
Charging controls
HV power supplies
A/C Mains
A/C Mains (screen-on)
Standard downstream port
Dedicated charging port
Charging downstream port
Accessory charging adapter
MHL power
Wireless power​
Store Mode
enable / disable (master control)
Store Mode Maximum
Store Mode Minimum​
Battery SCALING calibration (fuel gauge reset)
LED
LED disable control
LED Fade-in/out Time Period
LED Fade control
Fade-in
Fade-out​
Test notification push button
Stop notification push button
FS (File System)
Display FS Type
FS Controls
remount System r/w r/o
remount RootFS r/w r/o​
Scrolling cache control
Optimise Databases (SQLite3)
FSTrim lagfix
Wipe options
cache reboot
dalvik-cache reboot
cache & dalvik-cache reboot​
Clean up
clipboard cache
/data/tombstones
/data/anr logs
/data/dropbox logs
lost+found​
CORTEXBRAIN
Live status
Cortexbrain-Background-Process (Master Switch)
CortexBrain Functions
WiFi Auto
Media Manager
System-Tweaks
Kernel-Tweaks
nmi_watchdog​
CRONTAB
Live status
CronTask (Master Switch)
Cron Tasks
Clean RAM cache (every hour)
Google Service restart (every 3 hours)
Clean app cache & junk (every day at 4:30AM UTC)
clipboard cache
/data/tombstones
/data/anr logs
/data/dropbox logs
lost+found​Optimize databases (every day at 4:40AM UTC)
File system trim (every day at 4:50AM UTC)
Battery scaling calibration (every Sunday at 5:00AM UTC)​
Test Cron Task jobs
USB
USB status
USB mode selection
MTP
PTP
CD_ROM (drivedroid support)
USB_Keyboard-Mouse​
MODULES
CIFS
NTFS
ISO9660_FS
UDF
XPAD
BACKUP & RESTORE
Name - Restore - Delete - Backup
profiles
kernel image​
LOGS
Android Logger control (enabled)
LogCat​
Kernel Logger control (enabled)
dmesg
last_kmsg​
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data & Reboot
Restart Synapse
INFO
Reduced logging
exFAT FS support
NTFS R/W support with app
CIFS support (not tested)
ISO 9660 CDROM & UDF FS support
Frandom
mount partitions NOATIME and NODIRATIME by default
FSTrim on boot (ensure consistent IO throughput)
Entropy tweaks
Increased boot frequency
Power-efficient workqueue (PEWQ) efficiency patches
CLEANCACHE & ZCACHE
Microsoft X-BOX gamepad controller module (updated)
LZO de/compression algorithm
Slub tweaked
Much more - check source commits & Synapse
CREDITS
My family !!
@Chainfire - root & SuperSU / @Manh_IT - auto-root method
@AndreiLux - years of support for Exynos development and his various kernel features + Synapse app and UCI code
@halaszk88 - patches and Synapse code I adapted to many of my kernels
@dorimanx - BusyBox and various ramdisk tweaks/ideas
@apb_axel - I adapted and used many of the Synapse controls to suit my kernels
@arter97 - various source fixes/patches
@ktoonsez - ktoonservative hotplug governor
@LuigiBull23 - ktoonservative profiles I've adapted
XDA
Samsung OSRC
and many others!
check github source credits
IF I'VE FORGOTTEN ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SkyHigh S6 Edge+ Sprint Exynos 7420 Kernel, Kernel for the Sprint Samsung Galaxy Note5
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/SM-N920
Kernel Special Features: Synapse ++ | EXT4 | exFAT | NTFS | CIFS
Version Information
Status: Stable
Current Stable Version: 4.5
Stable Release Date: 2016-02-19
Created 2016-01-31
Last Updated 2016-02-19
Warning - ChangeLog - Requirements - Installation - Download - Source
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
Code:
[COLOR="Red"]* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !![/COLOR]
CHANGE-LOG
Open GitHub Change-Logs
Tap/click "Full Change log" under the latest version (i.e. v4.5)
Example: ALL commits (changes) for v4.4 > v4.5 are visible at the top section
Tap/click any commit and will display all comments in the top section and code changes in the bottom section for particular commit
REQUIREMENTS
Variant support for: SM-G928P
Watch >>> THIS <<<
IF YOU WISH TO BUG REPORT: Stock UNMODIFIED TouchWiz (TW) 5.1.1 ROM (I DO NOT HAVE YOUR DEVICE !! )
Custom recovery ( i.e.. TWRP or Philz )
INSTALLATION
If you have systemless root installed, then you must REMOVE it as this kernel will auto-root a proven and stable 2.52 binary into system.
Open SuperSU app
Select "Full unroot" option
Reboot (or flash kernel)
Re-install SuperSU app​
Uninstall any CPU control apps, tweaks and init.d scripts etc.
Recommend: Disable or remove KNOX (you can disable with Synapse once kernel is flashed)
Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
Device Settings:
Enable Developer Options > OEM UNLOCK
If flashing from previous SkyHigh kernel > Device settings > Applications > Synapse > Force Stop > clear data​
If not installed > Install SuperSU from Google Play:
Boot into custom recovery and flash SkyHigh_kernel____.zip FOR YOUR DEVICE and reboot
After boot:
a) wait at least 120 secs to stabilize
b) Open Synapse
c) Tap "Understood"
d) DO this step so some defaults are set !!
1. tap the square menu button top right hand corner
2. tap the three dots button
3. "select all globally"
4. tap the back button next to it
5. apply​
DOWNLOADS
SM-G928P [ v4.5 ]
________________________________________________________________________
SM-G928C / F / G / I thread > HERE
________________________________________________________________________
SM-G928T / W8 thread > HERE
SOURCE
ALL KERNELS COMPILED WITH SAME SkyHigh SOURCE !!
Github
.
Help & FAQ
THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:
I might not have your device variant and or able to reproduce your "issue". With this in mind, without providing as much information as possible, and resetting your device to a stable unmodified baseline, any potential troubleshooting or logs could be meaningless. So please follow the guidelines set out below. Thanks
BY POSTING YOUR ISSUES IN THIS THREAD, YOU ARE AGREE TO HELP YOURSELF FIRST BY PROVIDING INFO REGARDING:
Code:
1. DEVICE MODEL ?
2. ROM and firmware version (build number, boot-loader etc) ?
3. EXACT steps taken to reproduce YOUR issue
4. Screen-shots (if applicable)
5. Did you read Posts #1-3 completely?
6. Did you search the thread, XDA or GOOGLE?
7. Did you follow the install instructions EXACTLY?
8. What was your previous kernel?
9. Do you have any other known kernel tweaking apps, scripts or mods? ([B]remove them[/B]). [COLOR="Red"]This includes Xposed etc[/COLOR]
10. Try older kernel (if available)
11. Factory reset ?
12. Try latest stock [B]UNMODIFIED[/B] firmware (without custom ROM - if you have installed) and factory reset
13. Delete your ROM BusyBox (kernel uses it's own in /sbin)
ONLY IF YOU HAVE TRIED SUGGESTIONS ABOVE:
Turn on logging in Synapse and save logs AT TIME OF ERROR. AND post together with ALL the above information.
ELSE, DON'T WASTE MY TIME, YOU WILL BE IGNORED AND/OR POST REPORTED !!
THANK YOU :good:
NO FAST CHARGE
If using the pathetic original cable, try disconnect and reconnect the USB cable whilst power is still turned on to the charger
Use a thicker / better cable, will work every time (ie. Note4 OEM cable)
CAN I BUILD A KERNEL FOR YOUR __XX DEVICE ?
I will not build for any device that I can not compile using SAME source, personally test method or debug. Some device variants can compile with same source.
Sorry. I don't have the spare time for any more variant support.
"NO UCI SUPPORT"
It's a ROM busybox compatibility issue
Three choices:
Device > settings > applications > Synapse > force close & wipe data and REBOOT
OR
Remove your ROM busybox from /system xbin and /system/bin (Synapse will use the kernel busybox in /sbin).
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
OR
Try install a different busybox
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
Synapse or BACKUP/RESTORE ISSUES
It's a ROM busybox or sqlite3 compatibility issue
Remove both your ROM busybox & sqlite3 from /system xbin and /system/bin (Synapse will use it's own from kernel /sbin).
Device > settings > applications > Synapse > force close & wipe data
Reboot or re-flash kernel as per Installation Instructions
BACKUP & RESTORE
DO NOT restore profiles from different kernel version
Refer to THIS post for "how-to" screen-shots
Refer to THIS post for a "how-to" video (thanks @aldoblaga )
LOADABLE MODULES AREN'T WORKING
Check your /system/lib/modules directory. Are any ____.ko present?
Did you flash a ROM or wipe the system partition at any point? Doing this will remove them !
Re-flash the kernel will install the modules.
If modules aren't installed after flash, then re-flash and manually mount system in recovery first.
You can check running modules in terminal with:
Code:
lsmod
KTOONSERVATIVE GOVERNOR
Some info from the author: http://forum.xda-developers.com/showpost.php?p=60223338&postcount=3
DT2W & COLOUR CONTROL
No, I cannot make it work properly with single source for all supported variants
CPU POWER CONSUMPTION
The Samsung Exynos 7420 Deep Dive - Inside A Modern 14nm SoC (by ANANDTECH - Andrei)
F2FS SUPPORT
It's not needed. You wouldn't see any difference or measure much, if anything. Not worth the potential trade-off. This is not eMMC anymore
http://bgr.com/2015/03/17/galaxy-s6-storage-benchmarks/
STUCK ON SAMSUNG BOOT LOGO AFTER FLASH
Ensure you flashed the correct kernel for your device model
Ensure your download is not corrupted. Check MD5 hash or re-download
Your current base firmware (ROM, boot-loader version etc.) may be incompatible - UPDATE to latest with Odin and try again.
CM SUPPORT
Read Post #12
"Unauthorized actions have been detected, reboot to undo changes"
As it's a common warning found with all KNOX enabled android devices, you would have found the answer by Google search and also that it is actually unrelated to kernel and also unrelated to this kernel development..............
It is caused by the process of rooting/modifying your device. Unless you use KNOX, don't worry.
[Q] How to disable
[A] Freeze or delete your KNOX & Security related apps/processes manually (using root explorer or titanium backup (pro) or use Synapse > Security > disable KNOX
CAN I USE OTHER KERNEL CONTROL APPS
No, many features and options won't be available. Remove all other control apps to avoid conflicts !
Synapse is the recommended and has everything you need
BATTERY TIPS
Try some (or combination) of the CPU MULTICORE features in Synapse:
HMP profile = Battery
Power Aware Scheduling (slight performance cost) = Enabled
HMP LITTLE Packing (slight performance cost) = Enabled
PEWQ (power-efficient workqueue) (slight performance cost) = Enabled​
Set A57 & A53 Interactive governor profile = Battery
Set Input-Booster for key/touchkey profile = Battery
Multi-tasking: enable UKSM & "low" or "quiet" profile (slight performance/battery cost)
Set all Advanced wake-lock controls to 1, except GPS. Set it to 4
Set WiFi wakelock control to 2 or 3
PERFORMANCE TIPS
Set A57 & A53 Interactive governor profile = Performance
Set A57 & A53 Interactive governor = Turbo Mode (battery cost)
Once in a while:
Optimize Databases
FSTrim​
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
Use a stock UNMODIFIED ROM for your device variant
No tweaks, Xposed or other CPU control apps installed
ASV_GROUP (ALL DEVICES ARE NOT CREATED EQUAL)
This is an example from my Exynos5420 source. Similar idea for Exynos420
http://forum.xda-developers.com/showpost.php?p=61579949&postcount=202
CAN I INCLUDE SkyHigh KERNEL IN MY ROM
Although I do appreciate your contribution here, if you could please do not include my kernel in any ROM package etc. This policy goes for anyone.
Having my kernel distributed outside my development thread just removes a lot of credit and more importantly, constructive user feedback that could be helpful to my development or user issue.
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Disable any CPU MULTICORE options in Synapse
Disable any Battery profiles in Synapse. Set to default or Performance.
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS
* [Christopher83]
This feature allows to have two different intervals for dirty page
writebacks and to dynamically manage them when the system has been
resumed (it's active) or when has been suspended.
Three new procfs parameters are exposed inside /proc/sys/vm path:
- dynamic_dirty_writeback is the activation status of this feature,
set 1 to enable it, set 0 to disable it and use the standard behaviour
- dirty_writeback_active_centisecs is the interval for the dirty page
writebacks when the system is active (screen on)
- dirty_writeback_suspend_centisecs is the interval for the dirty page
writebacks when the system is suspended (screen off)
This feature is in part inspired on Francisco Franco's patch:
https://github.com/franciscofranco/mako/commit/34d79548cf16b69c7d0154836018e7f258a22947
Click to expand...
Click to collapse
TCP/IP NETWORK SECURITY
* Thanks to zeppelinrox & V6SuperCharger
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
CHROMECAST - STREAMING PROBLEMS
* Thanks to @AtLmd Post
Lock screen MUST be enabled (simple screen lock swipe) I don't know why but it breaks the chromecast app's ability to resume smoothly if switched off
Synapse > Network > DTIM (both screen ON & OFF) = 1
Synapse > Network > WIFI Power Mode (screen OFF) = FAST
.
Intitial release v3.9+ beta
Intitial release v3.9+ beta for SM-G928-P device
Check out the gitHub Change-log (link in Post #2).
Not personally tested > I have a SM-N920C
(If installed) Please CLEAR SYNAPSE DATA before flash: device settings > Applications > Application manager > Synapse > force stop > clear data
DO NOT restore profiles from older versions or other kernels !
XDA RULE #1 'SEARCH BEFORE POSTING". Please READ Posts #1-3 BEFORE flashing !!
BUGS:
Disabling "Turbo Mode" will screw up frequency scaling. So if you have disabled any time, you need to REBOOT !!
Changing Interactive governor profiles when Interactive is not used, will result in Synapse display errors. Nothing to worry, no need to change the profile if Interactive it not used !
Have fun
Cheers
UITA
http://forum.xda-developers.com/spr...nt/kernel-skyhigh-tw-5-1-1-kernel-t3305173got it working.
Boots and working perfectly for me, thank you for this
Also been on it since early this morning, all so far working proper. Thank you for this @UpInTheAir
Beandip-Javier said:
Also been on it since early this morning, all so far working proper. Thank you for this @UpInTheAir
Click to expand...
Click to collapse
Same here, battery seems a little better and phone seems snappier.
This kernel is legit i likes it thanks for your support
tjw62091 said:
Boots and working perfectly for me, thank you for this
Click to expand...
Click to collapse
Beandip-Javier said:
Also been on it since early this morning, all so far working proper. Thank you for this @UpInTheAir
Click to expand...
Click to collapse
GamerOnOne said:
Same here, battery seems a little better and phone seems snappier.
Click to expand...
Click to collapse
aznxstylez said:
This kernel is legit i likes it thanks for your support
Click to expand...
Click to collapse
Thanks for reporting boot ok first go.
You know where that "button" is.
Works great thank you for support
Finally an Original Development, it must be Legit
v4.0.1 released
release v4.0.1 for SM-G928-P device
Check out the gitHub Change-log (link in Post #2).
Not personally tested > I have a SM-N920C
(If installed) Please CLEAR SYNAPSE DATA before flash: device settings > Applications > Application manager > Synapse > force stop > clear data
DO NOT restore profiles from older versions or other kernels !
XDA RULE #1 'SEARCH BEFORE POSTING". Please READ Posts #1-3 BEFORE flashing !!
BUGS:
Disabling "Turbo Mode" will screw up frequency scaling. So if you have disabled any time, you need to REBOOT !!
Changing Interactive governor profiles when Interactive is not used, will result in Synapse display errors. Nothing to worry, no need to change the profile if Interactive it not used !
Have fun
Cheers
UITA
This is even better. Alot more snappier
Thank you so much for this @UpInTheAir this has got my phone running sooooooooooo much smoother and better!!!!! I love it!!!!
v4.2 released
release v4.2 for SM-G928-P device
Check out the gitHub Change-log (link in Post #2). I did not release v4.1_BETA for your device, so you might wish to check that Change-log too !
Not personally tested > I have a SM-N920C
(If installed) Please CLEAR SYNAPSE DATA before flash: device settings > Applications > Application manager > Synapse > force stop > clear data
DO NOT restore profiles from older versions or other kernels !
XDA RULE #1 'SEARCH BEFORE POSTING". Please READ Posts #1-3 BEFORE flashing !!
BUGS:
Disabling "Turbo Mode" will screw up frequency scaling. So if you have disabled any time, you need to REBOOT !!
Changing Interactive governor profiles when Interactive is not used, will result in Synapse display errors. Nothing to worry, no need to change the profile if Interactive it not used !
Have fun
Cheers
UITA
Has anybody tried with Gear VR? Does it work???
Athossss said:
Has anybody tried with Gear VR? Does it work???
Click to expand...
Click to collapse
I have not personally tried it but i have read in a couple areas that it has worked. Do a little digging and you should find some answers
Hi, I found some comments, but with other ROMs, not this one. Could you let me know who said it? I would like to contact them..
Thanks!!
Athossss said:
Hi, I found some comments, but with other ROMs, not this one. Could you let me know who said it? I would like to contact them..
Thanks!!
Click to expand...
Click to collapse
This isn't a ROM. Or was that a typo

[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