[Z00L][KERNEL]Enhancements For Increased Battery Backup - Zenfone 2 Laser Android Development

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 ?

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] | WildKernel Build #5 Reloaded 2 | Featurlicous | Tame Companion | Nov 7

WildKernel
for LG Optimus G Pro (E98x & F240x Variants)
Go check out Tame! It goes great with this and it handles OTA updates for this kernel.
Unrelated: Is your Gpro camera buggy?
This is a Linux based (3.4.0) Kernel which is maintained by me, and kept inline with the CyanogenMod Kernel so this is compatible with ALL the latest 5.x AOSP Roms (unless otherwise stated in the ROM).
Please report anything good and bad so that I know what to keep and what not to keep for the next release. This also helps me push out fixes faster when presented with lots of information (such as logs etc.).
Please see changelogs for an in-depth look at features. Also take a look at the screenshots for a sneak peek.
Feeling like a critic? Leave a review!
Link broken? Try one of the mirrors, Still a no go? Goto my signature and click the file backups link, then navigate to what you were looking for.
So what is this mysterious zip file doing to my device?
Code:
[B]Note: Your phone must already have a booting ROM installed for WildKernel to work. If you find yourself not booting
after installing WildKernel, reinstall your ROM zip then reboot. Ensure that it boots now, then try installing WildKernel again.
If it fails a second time, yell at me below in this thread preferably with a log of some sort attached.[/B]
1. Extracts boot partition and de-lokifies it for manipulation.
2. Takes our new file and decompiles a now readable boot image to utilize its ramdisk, the one currently installed in your ROM
3. Then, it fuses my kernel image with your ROM's ramdisk to form a new boot image
4. Our new boot image is loki-fied and flashed to your boot partition
Assuming that these 4 steps were successful, you can now show your new phone off to your friends.
{
"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"
}
There is NO need to clear caches, kernel installer handles everything. Just flash and reboot.
E98x Build #5 Reloaded: Primary | Mirrors: #1 / #2
F240x Build #5 Reloaded #2: Primary | Mirrors: #1 / #2
All Releases: AFH | TRU Mirrors
Thanks:
TeamChopsticks & CyanogenMod
TeamSXL
SultanXDA
mcaserg
TeamDS
faux123
Tamcore
cretin45
showp1984
RomanBB
Mito Takatori
and any others I may have missed
Info on Governors/Schedulers
You may find my source hosted @ Github
What Do I Pack?
Tame (duhh)
CM 12.1 10/2/16 & Minimal Gapps 5.1
Ondemand on 1st core @ 384-1782mhz
Performance on other cores @ 1458mhz
CFQ Scheduler
4th core disabled
Stock Voltage
GPU: 320mhz
Did you read the announcement? (page header)
​
XDA:DevDB Information
WildKernel for the LG Optimus G Pro (E98x & F240x Devices), Kernel for the LG Optimus G Pro
Contributors
Emmanuel U
Source Code: https://github.com/EmmanuelU/wild_kernel_lge_gproj/
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: Build #5
Stable Release Date: 2015-10-28
Created 2015-04-01
Last Updated 2015-11-07
Changelog:
Code:
[B]November 7, 2015 - Build #5 Reloaded #2[/B]
1. Fixed blackouts for [B]F240x[/B] (my changes weren't previously applied in last update)
[B]October 28, 2015 - Build #5 Reloaded[/B]
1. Reverted CM's color adjustment code that created the possibility for blackouts, this is a workaround. There is still a problem with mdp but this will prevent any more blackouts.
[B]September 23, 2015 - Build #5[/B]
1. Mpdecision re-enabled (recommended), intelliplug still available just disabled by default
2. Support for customizing HBLN's pattern style
3. Updates from CM Upstream
4. Misc memory patches
5. Interactive governor updated from upstream
[B]August 16, 2015 - Build #4[/B]
1. Implement DoubleTap2Wake and Sweep2Wake
2. Improve lge_touch_core logic for wake features
[B]June 21, 2015 - Build #3[/B]
1. Touch Boost updates and revamps
2. Added Governors: Adaptive, Intellidemand, Lionheart, SmartassV2 and Wheatley
3. Patch and tweak govenors
4. Added TCP Congestion controllers: Westwood and Veno
5. Made CUBIC the default TCP Congestion Controller
6. Disabled mpdecision
7. Added [URL="https://github.com/EmmanuelU/wild_kernel_lge_gproj/commit/03fd621788eb48a77e88cff990048687ca6e877d"]Intelliplug[/URL]
8. Misc patches for my drivers
[B]April 19, 2015 - Build #2 Reloaded[/B]
1. Synchronized F240x Kernel to include FauxSound (oops heh should've already been added)
2. 5.1 Bootloop issues seem to have been fixed as reported by my testers, but let me know. Thanks SultanXDA for the pointer.
[B]April 16, 2015 - Build #2[/B]
1. Support for the LG F240x Variants
2. Thermald Re-enabled, but [URL="https://github.com/EmmanuelU/wild_kernel_lge_gproj/commit/46ee361bc0023a75a47381ec0cfdc9b341ce6e7c"]limited[/URL].
3. Created the ability to [URL="https://github.com/EmmanuelU/wild_kernel_lge_gproj/commit/dc3f14b3c5a234fe8d83f93bb8a551efe21e5c45"]disable secondary CPUs[/URL], to save power.
4. Added ability to use USB Fast Charge
5. Added FauxSound Support
6. Increased regular charge current max to 1500mA for faster regular charging too
7. [STRIKE]Lollipop 5.1.x is now supported[/STRIKE]
[B]April 1, 2015 - Build #1[/B]
1. Initial Release - Official CM Kernel
2. Home Button: Added Support for Forcing Notification Pulse Intervals
3. Home Button: Added Support for Forcing Notification Pulse Blink Colors
4. Ondemand & Interactive patches
5. Input Boost Driver by SultanXDA
6. My [URL="https://github.com/EmmanuelU/wild_kernel_lge_gproj/commit/42e759fda2d4643334452ddc6866926e510f29a3"]Retain Cpufreq driver[/URL]
7. Thermald HAL disabled, [URL="https://github.com/EmmanuelU/wild_kernel_lge_gproj/commit/1dee7142d398677aa6814d454f1619ebd9244970"]here's why[/URL].
8. Disabled some unneeded debugging
9. ROW patches
10. Voltage Control Support
11. 2.1ghz support (overclock with discretion, no device is built the same)
Things You Should Know:
This kernel supports overclocking of up to 2.1ghz, however don't report instability as no 2 devices are built equal. If you feel the need to overclock, experiment with what your device can handle.
Automatically Disable HW Overlays:
As you know, our ROMs currently have graphical issues caused by our MDP drivers and need HW Overlays disabled as a workaround. Well you can add this to a Run At Boot Script in my app Tame (or your own script, ran with su) to save yourself having to manually re-enable it.
Code:
service call SurfaceFlinger 1008 i32 1
Every custom feature in this kernel can be easily configured with Tame (highly recommended), however here is how you can configure things using your favorite ADB/Terminal shell if you're feeling independent.
CPU Control:
Code:
You should be able to understand what I'm doing here. replace cpu0 with cpu[1-3] to change your secondary cores.
echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1728000"> /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Voltage Control:
Code:
Overvolt CPU by 25mV
echo "+25000" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
Undervolt CPU by 25mV
echo "-25000" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
Note:
Values are complimentary. so to undo voltage changes, reboot or input the opposite of what you had previously input.
Home Button Light Notification Control:
Code:
Force all notifications to pulse red (you must input a RGB value)
echo "FFFFFF" > /sys/class/leds/R/device/led_blink_rgb
Force all notifications to pulse for 300 milliseconds, every 1.5 seconds
echo "300 1500" > /sys/class/leds/R/device/led_blink_interval
Input Boost Control:
Code:
Dynamically raise minimum frequency for touch events (in 3 levels).
Enable
echo 1 > /sys/kernel/cpu_input_boost/enabled
Set the boost levels for CPU #1-3 (CPU #1 is the highest level)
echo "1134000 918000 702000" > /sys/kernel/cpu_input_boost/boost_freqs
GPU Control:
Code:
View available GPU clock frequencies
cat /sys/class/kgsl/kgsl-3d0/gpu_available_frequencies
Set max GPU Clock to 400mhz
echo 400000000 > /sys/class/kgsl/kgsl-3d0/max_gpuclk
USB Fast Charge:
Code:
This only effects non-wall chargers, wall charging is already allowed max current (1500mA)
Enable maximum speed charging (1500mA under best conditions)
echo 1 > /sys/kernel/fast_charge/force_fast_charge
Limit USB charging to 1300mA
echo 2 > /sys/kernel/fast_charge/force_fast_charge
echo 1300 > /sys/kernel/fast_charge/fast_charge_level
CPU Toggler:
Code:
I recommend disabling CPUs in greatest to least order (4-1) to avoid any possible issues, so disable your 4th core before your 3rd etc. Disabling cores can save power, but also be wary that disabling too many with to little power may slow your device down to a point of it being detrimental.
Disable 4th CPU
echo 0 > /sys/devices/system/cpu/cpu3/enabled
Disable 3rd CPU
echo 0 > /sys/devices/system/cpu/cpu2/enabled
Custom Wake Triggers:
Code:
Note: These features prevent your touchscreen from fully entering sleep, which can consume (slightly noticeable) battery
DoubleTap2Wake - Double tap the center of your screen
echo 1 > /sys/android_touch/doubletap2wake
Sweep2Wake - Sweep your finger from the left part of the screen to the right
echo 1 > /sys/android_touch/sweep2wake
TCP Control:
Code:
Note: It's a common misconception that certain protocols are the best for everyone. While this has a small truth, it ultimately depends on your connection speeds and distance. I would disregard what you may have read about reviews of various protocols, and experiment to see which one works the best for you.
See available protocols
sysctl net.ipv4.tcp_available_congestion_control
Change protocol to westwood
sysctl -w net.ipv4.tcp_congestion_control=westwood
How to make your Developer's Day
Bug Reporting:
Things marked in bold are things you should mention in a bug report to any developer, to make our lives easier.
To be clear as I'm writing this, almost all bugs you encounter are unrelated to your kernel. Most issues stem from the ROM/app/mod you're running, however on the rare occasion, I may be at fault
Well first off, let's narrow down the bug. Assuming your phone rebooted at some point, what caused your phone to reboot? Assuming you're running the latest version of my kernel, did your phone reboot when you were using it, or did you notice it reboot by itself when you weren't using.
Were you overlocking or playing a game? - IF SO stop yourself right here. This is your fault haha I win, otherwise keep going down.
Okay, can you reproduce this reboot? If so, this is a major giveaway that it is indeed an issue.
Reproducing your bug, to capture:
So now I'm gonna need 2 files off your device. Note, you need ADB drivers installed on your computer (google it), and your device plugged in.
First: Plug your device into your computer, to prepare to capture your error.
2nd: Logcat.
Once device is plugged, run:
Code:
adb logcat > logcat.txt
While this is running, reproduce your bug. If your phone doesn't reboot, this is probably not a kernel issue, but reboot yourself and keep going anyway.
Next we will retrieve your KMSG, once phone has rebooted run
Code:
adb pull /proc/last_kmsg kmsg.txt
Note: above will retrieve kernel logs right up until your phone powers off, from the LAST session. Battery pulling, or rebooting twice will overwrite this log and make it irrelevant.
You will now have 2 files logcat.txt and kmsg.txt. Attach em to a Pastebin or attach them to your post.
moe coming soon​
Will there be any release in future for Korean versions?
asingha94 said:
Will there be any release in future for Korean versions?
Click to expand...
Click to collapse
most likely yes, but for now I'm sticking with my current device only through beta stages.
Emmanuel U said:
most likely yes, but for now I'm sticking with my current device only through beta stages.
Click to expand...
Click to collapse
Thanx & good luck..
Does this work with android 5.1?
warthog1997 said:
Does this work with android 5.1?
Click to expand...
Click to collapse
Wow that was quick, I didn't even notice there was a 5.1 ROM available for this device. While the kernel most likely won't require any changes on 5.1, the kernel installer will fail when trying 5.1 because it's only set to install on 5.0.x versions.
Awesome!
Nice build dude. Rock solid on ressurection remix 5.3.8 thx to @Alezzander_ . Its first OC capable kernel since android 4.3 time (that rus mcaserg was a real genius too bad he abandoned this phone)
Maybe you two can combine your intelligence and give us something unseen on g pro scene @Snepsts
Didnt checked my pvt but i need +20 mV to get 2GHz stable (on default instant reboot)
And btw faux sound would be nice Thx dev!
Links updated.
Emmanuel U said:
Links updated.
Click to expand...
Click to collapse
Awesome! Thanks for this @Emmanuel U.. I could include it in BlissPop if you wouldn't have a problem with that (with credits to you of course).. It's running so smooth on my latest version..Do you have plans for underclocking?
nerdyblonde said:
Awesome! Thanks for this @Emmanuel U.. I could include it in BlissPop if you wouldn't have a problem with that (with credits to you of course).. It's running so smooth on my latest version..Do you have plans for underclocking?
Click to expand...
Click to collapse
I used to believe that this would be beneficial for the primary core, but after gathering knowledge, now I believe that adding lower clock steps on phones like these (~384mhz) has more harm than good. If the phone is willing to idle, it'll suspend into low power otherwise we shouldnt allow it to scale to such low freqs as it won't be getting any work done at those freqs. I'm working on ideas for battery consumption (I do already get about 7.5 SOT), but I cant see myself adding lower freq steps. Feel free the lower your CPU voltage though.
Oh yea feel free to include this kernel in your ROMs, and this goes for any developer wishing to do the same
Emmanuel U said:
I used to believe that this would be beneficial for the primary core, but after gathering knowledge, now I believe that adding lower clock steps on phones like these (~384mhz) has more harm than good. If the phone is willing to idle, it'll suspend into low power otherwise we shouldnt allow it to scale to such low freqs as it won't be getting any work done at those freqs. I'm working on ideas for battery consumption (I do already get about 7.5 SOT), but I cant see myself adding lower freq steps. Feel free the lower your CPU voltage though.
Click to expand...
Click to collapse
Wow... Is that with a stock battery or the big Zero Lemon batteries?
nerdyblonde said:
Wow... Is that with a stock battery or the big Zero Lemon batteries?
Click to expand...
Click to collapse
Stock, but my phone in general heavily modified though because coming from a kid who's had dual cores all his life, you grow accustomed to cutting down on performance.
Emmanuel U said:
Stock, but my phone in general heavily modified though because coming from a kid who's had dual cores all his life, you grow accustomed to cutting down on performance.
Click to expand...
Click to collapse
Hi. What about quick charge and gpu overclocking?
Sent from my LG-E980 using XDA Free mobile app
please have mercy on the F240k/L users . we barely see any kernel for us
Alezzander_ said:
Hi. What about quick charge and gpu overclocking?
Sent from my LG-E980 using XDA Free mobile app
Click to expand...
Click to collapse
Most likely, just give it time.
ecrum said:
please have mercy on the F240k/L users . we barely see any kernel for us
Click to expand...
Click to collapse
Emmanuel U said:
most likely yes, but for now I'm sticking with my current device only through beta stages.
Click to expand...
Click to collapse
^^
Emmanuel U said:
Most likely, just give it time.
^^
Click to expand...
Click to collapse
can i flash this on stock kitkat rom?
[email protected] said:
can i flash this on stock kitkat rom?
Click to expand...
Click to collapse
No, it's a CM kernel
nerdyblonde said:
No, it's a CM kernel
Click to expand...
Click to collapse
for lollipop only?

[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

[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

[TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU and GPU Tweaks, Misc [Pixel]

More battery life on Google Pixel & XL (sailfish & Marlin) with any custom kernel i.e Elementalx kernel @flar2 ,Flash kernel @nathanchance ,Kiriskura Kernel @Freak07 KingKernel @kingbri and @Sweetie FrancoKernel @franciscofranco
@xFirefly93 and others I forgot to mention
Note: This tweak doesn't do what you like it does what you need
Disclaimer: I am not responsible for any damage or soft/hard brick that may happen to your device...please make sure you know what you are doing and follow the installation instructions below !
Installation 1 :
1) You must be rooted
2) Download the attached ZIP
3) Extract the script
4) Move file i.e(ondemand, Interactive, Conservative ,ElementalX, Sched, Schedutil) depending on the one you downloaded to the following location;
/sbin/.core/img/.core/service.d and give it the following permissions (0755) or rwxr-xr-r using your root browser(explorer)
5) Reboot your phone, let Android boot to the launcher and let Magisk boot service do its crucial magic (takes about 60-65 seconds before the script is fully up and running behind the scenes)
6) Now logs can be found in the logs directory /storage/emulated/0/logs
7) Enjoy!:good:
Join telegram group here's the invite link https://t.me/tweakmypixel
Installation 2:
1) You must be rooted
2) Download the attached ZIP
3) Extract the script
4) Open and Grant the app root access and go the script manager of any kernel app of your choice(SmartPack kernel Manager,Franco Kernel manager FKM(paid),Ex kernel manager(Paid))
5) Then import the extracted script(.sh)
6) Run or Execute
7) You can check apply on boot if you want it to always run after boot.
8) Reboot your phone, let Android boot to the launcher and let Magisk boot service do its crucial magic (takes about 60-65 seconds before the script is fully up and running behind the scenes)
9) Now logs can be found in the logs directory /storage/emulated/0/logs
10) Enjoy!
Join telegram group here's the invite link https://t.me/tweakmypixel
CPU GOVERNORS SUPPORTED
1) Ondemand:
Default governor in almost all stock kernels. One main goal of the ondemand governor is to switch to max frequency as soon as there is a CPU activity detected to ensure the responsiveness of the system.
2) Conservative:
A slower Ondemand which scales up slowly to save battery. The conservative governor is based on the ondemand governor. It functions like the Ondemand governor by dynamically adjusting frequencies based on processor utilization. However, the conservative governor increases and decreases CPU speed more gradually. Simply put, this governor increases the frequency step by step on CPU load and jumps to lowest frequency on CPU idle
3) Interactive:
Can be considered a faster ondemand. So more snappier, less battery. Interactive is designed for latency-sensitive, interactive workloads. Instead of sampling at every interval like ondemand, it determines how to scale up when CPU comes out of idle
4) Schedutil
schedutil is a new EAS governor found in recent versions of the Linux Kernel (4.7+) that aims to integrate better with the Linux Kernel scheduler. It uses the kernel's scheduler to receive CPU utilisation information and make decisions from this input. As a direct result, schedutil can respond to CPU load faster and more accurate than normal governors such as Interactive that rely on timers.
The "schedutil" governor aims at better integration with the Linux kernel scheduler. Load estimation is achieved through the scheduler's Per-Entity Load Tracking (PELT) mechanism, which also provides information about the recent load
5) ElementalX:
By default, it is more conservative than Ondemand as it does not ramp up often for most phone activities. If there is a graphics load detected, the governor will switch to a two-phase Ondemand behaviour where different max frequencies are used depending on the load increase
6) Sched:
This governor is the default governor for the Pixel and XL also allows changing of the frequency tipping point by changing the bit shift value
Features
1) CPU Governors Optimized for better battery saving or more power bias without losing performance
2) GPU: msm-adreno-tz(first Attached Files) and simple_ondemand for GPU default governor and Underclock to 510mhz
3) Disable unnecessary Wake-up
4) Enabled dimmer blacklight to save battery
5) Disabled Fsync
6) Enabled westwood TCP congestion control for faster internet speed
7) Fstrim data,cache,system included
8) Enabled fast charge
9) Completely Stop and Disable performance daemon at boot
10) Killed GAPPS processes that drains battery
11) Added some Battery improvements...and so on
Code:
ChangeLog
-Added Conservative
-Added Interactive
-Added Ondemand
-Added Sched
-Added Schedutil
-Added Elementalx
22/2/2020
-Added these features below to all scripts ;)
1) Network tweaks for slightly reduced battery consumption
2) Disable sysctl.conf to prevent ROM interference
3) Decrease both battery as well as power consumption that is being caused by the screen by lowering how much light the pixels, the built-in LED switches and the LCD backlight module is releasing
4) Changed Schedutil cpu governor down_rate_limit_us for 3000 to 850 for quicker downward ramping
23/2/2020
Made some few changes to all scripts
Removed remount flags from all scripts
25/2/2020
Now logs can be found in the logs directory /storage/emulated/0/logs
29/2/2020
simple_ondemand for GPU default governor(only scripts on page4)
16/3/2020
-Added modified Interactive scripts (InteractiveV2)
22/3/2020
-Made noop default I/O scheduler based on users requests
FAQ
Q: Will these work without Root?
A: NO. you can use magisk or superSu to root your device
Q: Does this work for xyz kernel?
A: Works on xyz kernel just follow the installation Instructions
Q: What are the advantages of this?
A: Better battery life.:good:
Q: How do i check if I have the scripts installed correctly?
A: Check the logs directory /storage/emulated/0/logs
Andriodfilehost and github Links
https://www.androidfilehost.com/?w=files&flid=305634
https://github.com/enweazudaniel
What if my kernel dosent have ondemand?
Hi man, thank you for your tweak, I copy this file to data/adb/service.d folder, is it right folder? P.S. I use Android 7.1.1 with Elemental 1.08 kernel
Upd: man, you did the great tweak, you give my phone second life! Great result for my half died battery! Thanks!
Nandan.R.D said:
What if my kernel dosent have ondemand?
Click to expand...
Click to collapse
What governor do you use I can work on it on my free time... sorry for the late reply
OFFSPRINGER3 said:
Hi man, thank you for your tweak, I copy this file to data/adb/service.d folder, is it right folder? P.S. I use Android 7.1.1 with Elemental 1.08 kernel
Upd: man, you did the great tweak, you give my phone second life! Great result for my half died battery! Thanks!
Click to expand...
Click to collapse
:good:
Nandan.R.D said:
What if my kernel dosent have ondemand?
Click to expand...
Click to collapse
Just updated thread interactive is a common governor you can try it out thanks
Hello everyone our wonderful Thread has been updated with more cpu governors now supported Includes : Interactive, Conservative, Lulzactive and smartassV2 looking forward adding Sched,Schedutil and many more
Latest addition interactive_V1
Updated Thread: Added ondemand_V1 and removed support for lulzactive...Feedback is very well appreciated here to serve in the best way!
enweazudaniel said:
Hello everyone our wonderful Thread has been updated with more cpu governors now supported Includes : Interactive, Conservative, Lulzactive and smartassV2 looking forward adding Sched,Schedutil and many more
Click to expand...
Click to collapse
Finally Schedutil has come
Added ElementalX
enweazudaniel said:
Hello everyone our wonderful Thread has been updated with more cpu governors now supported Includes : Interactive, Conservative, Lulzactive and smartassV2 looking forward adding Sched,Schedutil and many more
Click to expand...
Click to collapse
Thread Updated: Added Sched scripts
Interactive_V3 aka The Ultimate my Favourite script so far download Zip and Enjoy!!!:good:
?
How can use it for pixel 2xl ? Tks pro
LongKaKa said:
How can use it for pixel 2xl ? Tks pro
Click to expand...
Click to collapse
This is just for Google pixel OG and pixel XL... you can PM me anytime so I can help I'll check pixel 2xl but won't post the scripts here since this thread is just for Pixel :good:
LongKaKa said:
How can use it for pixel 2xl ? Tks pro
Click to expand...
Click to collapse
@LongKaKa Test this based on Ondemand governor hope your kernel does support it...follow the same installation instructions :good:
enweazudaniel said:
@LongKaKa Test this based on Ondemand governor hope your kernel does support it...follow the same installation instructions :good:
Click to expand...
Click to collapse
Thanks for the support. I will test and report the results soon
LongKaKa said:
Thanks for the support. I will test and report the results soon
Click to expand...
Click to collapse
You're welcome:good:
Q: This is BS(Bull****) should I use it?
A: This is absolutely not BS(Bull****) this scripts works and should work for you,
something might be wrong...tell me what didn't work and kernel you're using it on provided the installation instructions was followed correctly....Thanks :good:

Categories

Resources