[KERNEL][7.x 8.x 9.x] ICEY-S 1.0.1 [Z00L][Z00T] - Zenfone 2 Laser Android Development

{
"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"
}
Do You Want Lineage16 kernel features? tired of lineage 16 bug and want to use nougat like groovy or oreo like RR? here use my forked lineage16 kernel compiled using latest toolchain alongside with your rom for better performances and more features than rom built-in minimal kernel~
TESTED WORK PROPERLY IN GROOVY AND POSSIBLY OTHER ROM AS WELL
Kernel Feature:
CPU Governor: interactive,conservative,powersave,performance,ondemand,userspace
I/O Scheduler: cfq,bfq,deadline,noop,row,sioplus,maple
TCP Congestion Algorithm : cubic, bic, htcp, reno, westwood
F2FS Support(i am using /data f2fs)
ZSWAP,Z-RAM (lzo,lz4,deflate)
Fsync (Enabled by default)
Software CRC Control (disabled by default)
Gentle Fair Sleepers (enabled by default)
Adreno Idler (enabled by default)
Arch Power (enabled by default)
wq_power_saving (enabled by default)
[*]WireGuard VPN
What is New?:
CPU Governor: blu_active sakura_active
I/O Scheduler: zen,anxiety
few patch for improved performances
Kernel name (obviously xD)
Tested Rom:
GroovyAndroid (Nougat) (Z00T)
Lineage16 (obviously lol)
ResurrectionRemix (Pie) (Z00T)
Patched to get more performances without root
(patch zip included below)
AOSP-Extended
Download:​
CLICK/TAP HERE
FAQ:
Q: Z00L?
A: i only have Z00T,but i did built it for you, if something goes awfull dont blame me and specify what kinda things happen (if possible, with logs too)
Q: If i've install this on my rom, does it will cause same bug that happen under lineage16?
(For example you're using RR-6 or GroovyAndroid 7.0)
A: No, that was rom bug under Pie custom rom we currently have that unfortunately i couldn't fix unless i find it, fix it and test whole things, i build this kernel for my personal uaage
(For example RR-7.0, Lineage16,AOSPExtended V6.0)
Q: I Want this FEATURE
A: sure, i'll think about it and try merge it later if i have time
Q: Help, There is something WRONG
A: send me your log in proc/kmsg or from log apps
Q: What are you gonna add next?
A: More IO, Governor, Patch, Filesystem Fixes, etc.. if i forgot something please remind me
Q: MSM-Thermal was bugged, it keep enabling itself
A: Dont ask me, i dunno why too.. just delete thermal.conf in system/etc/ to disable them FOREVER
Q: Can I Use F2FS?
A: You can, if your rom support it and also our fstab only support /data f2fs, i might modify it to support cache and system too but for me /data was enough, or you could try messing with that~
Q: When you're gonna release kernel updates?
A: As long i have time to do it and there is something i want to merge, since i also use this kernel as daily driver (My Phone was Z00T).
Known Issues:
My Unity Games Freeze after a slight Stutters!
Fix: " I/O Stats" and " add_random" set to 1 if they're 0
Fixed Issues in this kernel:
Z00T Device Now Show Properly "Snapdragon615" "MSM8939"
(Just Try devcheck/aida64/etc if you didnt believe me)
fixed gpu/cpu hwmon error in kernel (causing loop)
Unity Workaround(add_random,I/O stats) for user who didnt install any root solution(example:magisk)
Information:
Linux kernel version: 3.10.108
Based from:Lineage16-unnoffical mg712702 minimal-branch
Compiler Used
GCC Experimental (ARM64) (Aarch64-ELF)
Kernel Source:Here
Note: i am very new at xda, i apologize for this kinda awfull template for thread
Thanks:
mg712702 for maintaining lineage16-Z00L/Z00T
theimpulson for firekernel
osm0sis for anykernel
and lot of people that i couldnt mention here that actually contribute to kernel

Changelogs:
2019-08-30
ICEY-Zephyr 0.1
Initial Builds (Fresh fork from Lineage16)
2019-08-30
ICEY-Zephyr 0.1a
Build Z00T and Z00L Together
Added CPU Governor : blu_active
Added I/O Scheduler : Anxiety, Zen
Merged Some Improvements
2019-08-31
ICEY-Zephyr 0.1b
Builds Using Newer Compiler Linaro-8.3.0
2019-09-02
ICEY-Zephyr 0.1c
Specific Unity-based games issues workaround applied
(by default enable I/O Stats and add_random, if any of this two still 0, please change it to 1)
Show Correct CPU
silenced some Kernel Error log
(this error was caused by bw_hwmon gpu governor)
2019-09-17
ICEY-eXperimentalZephyr 0.2
Switched to latest GCC-Experimental
Added two variant builds:
-XZ (linux-gnu)
-Yata-No-Kagami(bare-metal-elf)
0.2a:
-boot faster, fixes for tcp(ipv4), and other things
(buggy lz4hc disabled, lz4 zram was fine if you want to use this gimmick as you wish)
0.2ab:
-clean up
-migrate to AnyKernel3
2020-05-27
ICEY-S 1.0.0 :
Forked from latest (basically rebase maybe?)
Compiled Using GCC11
2020-05-29
ICEY-S 1.0.1 :
Added back ANXIETY, ZEN
Disabled Governor sakuractive
2020-05-30
ICEY-SC 1.0.1a NO_CC :
Disabled several stuffs, faster but it wasn't recomended
Z00T Only so i could find out what went wrong if someone report any issues with this builds
Planned Updates
Nothing, i am busy~

Patch List
GroovyAndroid (Nougat) :
No need, run perfectly fine
ResurrectionRemix (Pie) :
-tune vm
-disabled zswap,zram
-Unity freeze workaround
Note: this patch mean for Z00T user
userdebug_fixes :
bypass annoying "user" check on certain apps

Does it improve battery life on lineage 16?

joelchris said:
Does it improve battery life on lineage 16?
Click to expand...
Click to collapse
if you install it, and change CPU Governor to blu_active it will save more battery than interactive/ondemand while retaining good performance, it also have "fastlane" mode in governor option to scale faster (good for gaming), i recomend to use it and set min cpu to 200mhz.
You could also try Zen if Maple didnt work really well for you~ other than that,this kernel also have performance improvement than your lineage16 because i fork it and apply various change that will accumulate from now.
if you want a very good battery life Try This Kernel Configuration:
Disable MSM Thermal by deleting/moving every thermal-engine.conf you could find under system/etc/
Set min cpu 200mhz and max 1,1ghz(big),800mhz(little), change governor to blu_active or use powersave for extreme low power usage since it scale very slowly
(Note:not recomended, i rather use blu_active)
Also disable perfd to make sure your system didnt change anything on your CPU settings
if your phone was Z00L variant, 800mhz was better than making your phone goes higher
(higher than this will use more voltage and cause more heat, even thermal lock your phone into maximum 800mhz most of times)
Set CPU core big min 0, max 4, little min 4, max 4
Disable any touchboost if you had any configured
Use Maple>Zen>SIOPlus (try any of this three)
Set GPU Max 400mhz, Target 400mhz, min 200mhz, for extreme battery saving measure change governor from msm-adreno-tz to powersave
Disable Zswap,Zram
Reduce Entrophy Amount to 64/128
(Also your choice to disable or enable add random)
Disable Gentle Fair Sleepers
Enable I/O Stats
(some apps maintain performance and usage by using this especially mobile games that use Unity)
I might add hotplug later for better battery usage and see if that can be merged also work, hotplug function was managing core better (on/off itself) than system especially since our device usually have 4 little core allways online.
(it wont scale automatically, dunno maybe bugged that's why i've said little core min 4 to make sure there is no lose in performance caused by system for using power-efficient little core less than 4)

Where is the kernel source link? Can't find it in first post.

TheImpulson said:
Where is the kernel source link? Can't find it in first post.
Click to expand...
Click to collapse
added, sorry~ its my first time posting a thread and i kinda forgot to mention source.

ReikaRin said:
added, sorry~ its my first time posting a thread and i kinda forgot to mention source.
Click to expand...
Click to collapse
Thanks
That commit history seems to be a mess. Are you trying to get travis set up for kernel repo?

TheImpulson said:
Thanks
That commit history seems to be a mess. Are you trying to get travis set up for kernel repo?
Click to expand...
Click to collapse
i am very sorry, i am doing this on git-web instead of pull and push commit like everyone else did, its really bad right.. and yes, its build using travis instead locally.. currently im pushing new build using linaro-8.3.
Edit: Build pass, everyone can try if they want it

Okay, enjoy 0.1c~ do tell me if you run into problem especially Z00L because i've only test run Z00T.
Note: do read .zip name properly so you didnt flash wrong variant for your phone

For Every Z00T User, i heavily recomend you to flash new 0.1c build for fixing your cpu display and minor kernel error silent

Z00L 0.1c was available now
What Changes Included:
Restored CPU Info
Fix kernel error loop caused by bw_hwmon
(it barely have effect, but why not?)

ReikaRin said:
Z00L 0.1c was available now
What Changes Included:
Restored CPU Info
Fix kernel error loop caused by bw_hwmon
(it barely have effect, but why not?)
Click to expand...
Click to collapse
I try change to bw_hwmon, my phone suddenly restart. I change with kernel adiutor.

What app do you use to tweak kernel? (I'm new)

joelchris said:
What app do you use to tweak kernel? (I'm new)
Click to expand...
Click to collapse
try kernel adiutor from playstore

Z00l?

andy_dch said:
I try change to bw_hwmon, my phone suddenly restart. I change with kernel adiutor.
Click to expand...
Click to collapse
it wasnt mean to be used, i only fixed kernel error that caused by this.. just use msm-adreno-tz or simple-ondemand/performance

joelchris said:
Z00l?
Click to expand...
Click to collapse
Z00L too, just download .zip with Z00L name

joelchris said:
What app do you use to tweak kernel? (I'm new)
Click to expand...
Click to collapse
EX KERNEL, SMARTPACK KERNEL MANAGER (Basically improved Kernel Adiutor made by Smartpack kernel author for smartpack kernel but usable with other kernel as well), LHANTANUM SYSTEM TOOLBOXES, 3C ALL IN ONE

Download link?

Related

[Kernel][All Quark]BHB27-Kernel android [5.1.1] to [10.x]. For Custom and Stock ROM's

{
"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"
}
I have start this project to bring a more features and updates to Quark Kernel, and put the user on the control of the Kernel configuration
ROM Support:
This will work on any CM/LOS Custom ROM that is up to date to CM/LOS Repo or my custom ROM repo (in doubt check with the ROM developer) And latest Motorola Stock Marshmallow ROM for all devices (for the stock ROM use Kernel V3.5 and up only)
TWRP will display what is flashing during installation if the TWRP screen show something odd print the screen and post on the thread
SuperSu support on Stock ROM:
Link for BETA-SuperSU-v2.62-3-20151211162651_3
If you never flash SU on Stock ROM first Flash that version reboot then go back to recovery and Update using the latest from SU thread
This Kernel has safetynet verification Support on unlocked bootloader of course without ROOT, if you wanna ROOT checks latest hide root support threads use XDA search for that
Main features:
I will bring any featuring and improves that is possible to Quark, but the main point is provide the better experience balance battery vs performance, keep a update kernel and full user control.
Kernel is a slow process to improve I will take my time and will make updates when I can, every update will be tested before release, any bug found please let me know.
Some of the below features can only be see on the app when using this thread Kernel, the below are just some of many featuring of this app/kernel...
CPU and GPU - Over and under clock;
Linux Kernel always update to the latest version;
Many custom CPU GOV optimized for Krait 450;
CPU optimizations;
CPU Per core control;
CPU Per core Frequency control;
CPU Per core Governor control;
CPU Schedule workqueues;
CPU Boost ;
CPU Wakeup Boost and Hotplug Boost;
CPU voltage control;
Custom CPU Hotplug;
Custom Thermal control;
Ram control;
GPU optimizations;
GPU idling algorithm;
Wake gestures Doubletap2wake and Sweep2wake ;
KCAL - Advanced color control;
Sound control module;
Power and suspend Improves;
I/O Scheduler optimizations;
Many custom I/O;
Wake Locks controler;
KSM kernel same-page merging;
Virtual Memory;
Zram;
Network optimizations;
Many custom TCP Cong algorithm;
Custom Kernel Adiutor app with special features just for Quark (to better support my kernel I make my on Kernel adiutor check Downloads)
Check Changelog L, Changelog M, Changelog M and N, Changelog O, Changelog P and Mod Kernel adiutor changelog for full list of features.
Installation instruction Kernel:
Download the latest version
Take a TWRP backup (system, boot and data)
Flash the zip using latest TWRP recovery (wipes are't necessary)
Reboot
Enjoy!
On Oreo, will take two tries to finished the boot process after the update, first is slow and reboot at the end second is fast and after all must work OK
Installation instruction app:
Just Install the apk like anormal app on any ROM it need's ROOT access to work.
Installation Files
Download Kernel Oreo, Nougat and Marshmallow (Marshmallow only version 3.5 and up, Oreo 9.5 and up):
Main:
Gdriver Mirror Click Here (This contains current and previously version)
Secondary:
AFH Mirror Click Here (This contains all old versions)
Download Kernel Lollipop click here
Download App Mod Kernel adiutor for Quark:
XDA Labs Click Here or use XDA Labs app to install update and received updates warning (search for KA27)
AFH Mirror Click Here (This contains all old versions)
TWRP For Quark click here
To go back to Stock ROM kernel:
Oreo:
Is possible in Oreo to just restore or reflash the Stock ROM boot.img, if you did not made a backup of the boot partition, you can extract the boot.img from the ROM zip and install it over TWRP the process is the same as any .zip flash but you must chose "images (is in the bottom right of the install screen) after select the image and image type "boot"
Older than Oreo OS::
As quark kernel is not just a boot.img before Oreo, it has some modules that are on the system partition, to restore is need to re-flash yours ROM zip (a dirty flash) it will re-flash the stock kernel + all the modules of that ROM, but will erase any modification that you made to system like xposed or gapp so is need to re-flash any zip that changes the system partition. Make a TWRP backup first just in case, the dirt flash may bootloop, in that case clean install.
Thanks:
@Skrilax_CZ for his hard work on CyanogenMod for this device.
Big thanks:
A big thank for those that donating to thanks for my work on this kernel
Developer donation link:
To donate via paypal click here
No other donation option is available.
XDA:DevDB Information
BHB27-Kernel, Kernel for the Motorola XT1225, XT1250 and XT1254 -- Moto Maxx, Moto Turbo and DROID TURBO.
Contributors
baybutcher27
Source Code:
Kernel: fgl27/BHB27Kernel/tree/N_c
Toolchain: UBER from matthewdalex/arm-eabi-4.9
How to Build: how_to_build_this.sh
Mod Kernel Adiutor app: fgl27/KA27
Kernel Special Features: Check Changelog L, Changelog M,Changelog M/N Unified, Changelog O, Changelog P/Q
Version Information
Linux: 3.10.x
Status: Stable
Created: 2015-09-21
Last Updated: Check Changelog L, Changelog M,Changelog M/N Unified, Changelog O, Changelog P/Q
Below is some help for the most know problems.
Random Power off or reboots?
To identify if the device random reboot or simply power it self off there is two ways.
1) If after the device goes black you can't power it up again without plunging the charger, then is because the battery is dead, even if yours battery had good % left before it shutdown yours battery is probably damage doesn't matter if the device/battery is new a battery can go bad simply by charging the device wrong, a wrong way to do it is let the device constantly go bellow 20% as low you let it get worse yours battery will be with time.
2)Check the boot reason prop "ro.boot.bootreason" if it is like the example bellow set to power_key_press the device didn't reboot it sled power off.
Code:
[ro.boot.bootreason]: [power_key_press]
Check the prop using :
Kernel Audiutor app > logs section > search in a log > mark getprop > search key word "reason".
If the Random power off are related to battery, BCL can help mitigate the problem.
BCL can be controlled via BHB27 kernel adiutor Power and battery section.
Lowering the BCL Max frequency or Making the number of hot unplugged core higher will help to mitigate the CPU power.
But if the problem persist is necessary to change the BCL low and high voltage threshold to higher values to make BCL to start sooner, the recommendation is to set they to 3700mV (Low) and 4000mV(High) and if the problem is resolved after that, the device stops randomly power it self off, lower the values 100mv it until you find a perfect value, or if the problem persist make the values 100mV higher.
Is also recommended to set the battery "Automatic power saver" from default 15% to a higher value, with is today max at 25%
If the device did just reboot just share a log as recommended on next post.
There is a help like this on the ROM's I share it may help as some problem are ROM related and not kernel so they are not here, so try to check there for more .
This kernel is tested and is fully working.
Bug report are welcome, make with in the most accurate description possible, do not spare words, screens and logs, a bug that I can't understand and can't be reproduced, I can't fix.
Always start a post with a bug report with @fgl27 and always attached a log .zip
fgl27 Kernel Adiutor > Logs > One click all Logs to a ZIP
If is a Reboot/Power off related bug make the log as soon the device finishes boot up
Bugs without logs, without @fgl27 will probably not be read, there is too much posts on the thread sometimes and I don't have time to read it all, anyone can post as much as is need of course as long is a things related to this thread
Feature request are welcome too, but understand not all feature that exist is possible to bring to quark.
What's difference between this and kernel of NX?
----
Moto Maxx - XT1225
Xposed NXRom 5.1.1
Flashed, looking forward to seeing if it makes a difference during class and such tomorrow, thanks!
RSDamasceno said:
What's difference between this and kernel of NX?
----
Moto Maxx - XT1225
Xposed NXRom 5.1.1
Click to expand...
Click to collapse
Never used, can find source dev does not seem to publish, can look.
Will ask him for the source.
baybutcher27 said:
This kernel is tested and is fully working.
Bug report are welcome, make with in the most accurate description possible, do not spare words, screens and logs, a bug that i can't understand can't reproduce I can't fix.
Feature request are welcome too, but understand not all feature that exist is possible to bring to quark.
Click to expand...
Click to collapse
One request, if possible? "Westwood Plus" TCP congestion control. I know "Cubic" is the Android default, but many tests show Westwood Plus (also written Westwood+) is better under lossy conditions. (Not to be confused with the original "Westwood", Westwood + is a newer version. ) Many custom ROMs include it in their kernels, and some custom kernel devs make it the default over Cubic.
Yes, there is debate over which one is better -- Cubic or Westwood Plus. But isn't choice a good thing?
http://androidmodguide.blogspot.com/p/tcp-algorithms.html
Westwood/Westwood+:
A newer version of Reno, and another commonly used one. It controls parameters better, helping out streaming and overall quality of browsing the internet. One of the most 'fair' algorithms out there, and is one of the most efficient algorithms to date.
Click to expand...
Click to collapse
If it's not possible to include it, I can live with Cubic. Just a request. :good:
ChazzMatt said:
One request, if possible? "Westwood Plus" TCP congestion control. I know "Cubic" is the Android default, but many tests show Westwood Plus (also written Westwood+) is better under lossy conditions. (Not to be confused with the original "Westwood", Westwood + is a newer version. ) Many custom ROMs include it in their kernels, and some custom kernel devs make it the default over Cubic.
Yes, there is debate over which one is better -- Cubic or Westwood Plus. But isn't choice a good thing?
http://androidmodguide.blogspot.com/p/tcp-algorithms.html
If it's not possible to include it, I can live with Cubic. Just a request. :good:
Click to expand...
Click to collapse
Yes The + i did not find because did not know about, i will search, I have included some already in the test version that i'm using, check the pic.
I know how to make things work for quark Kernel, but i don't now all the things that exist, so keep me inform, i will search and if is possible to port to quark i will.
will try to release a new version later today 6 to 8 hours from now, test is very good.
@ChazzMatt the Westwood in the next build is already the Westwood+
check the C file in here
The file is name just westwood but you can read in the file description that is the +... Test kernel is really stable, will released today, let all test and see what is the best for it use...
baybutcher27 said:
Never used, can find source dev does not seem to publish, can look.
Will ask him for the source.
Click to expand...
Click to collapse
You want some screenshots of Kernel Adiutor?
----
Moto Maxx - XT1225
Xposed NXRom 5.1.1
Kernel update! BHB27-Kernel-V1.0.2
Download-Kernel
Changelog-Kernel
Change:
====================
09-22-2015
====================
* V.1.0.2
* Implemented KSM
* Add TCP-CONG Westwood, bic, Highspeed, Hybla, Htcp
* Implemented CPU otimizations Flags to the Kernel (more otimizations to come in next build)
Test and let me know...
Bug report are welcome, make with in the most accurate description possible, do not spare words, screens and logs, a bug that i can't understand can't reproduce I can't fix.
BTW try to implemented DT2W and S2W but quark doesn't accepted it (the config is ok but noting happen ), maybe i future update. Can be a conflict with moto screen wave and pick i disable it but not work...
Will try if success will release a separated version with DT2W because it can be a wakealock.
Removed the last update something is wrong on my device will check.
baybutcher27 said:
Removed the last update something is wrong on my device will check.
Click to expand...
Click to collapse
Working fine here
goalando said:
Working fine here
Click to expand...
Click to collapse
I tested it over 24h, It may work well but from noting it start to produce bugs. maybe a none kernel related i looking
Making a new build remove a wrong entry to see if help.
Kernel update! BHB27-Kernel-V1.0.3
Before install it, uninstall or clean data of any kernel control app you're using.
Download-Kernel
Changelog-Kernel
Change:
====================
09-22-2015
====================
* V.1.0.3
* Remove incompatibility (CPU optimizations flags and Remove per-cpu workqueue) To find a bug will add improves latter.
Test and let me know... I test this, i remove some improves that may cause bugs, is more to stock as possible, but still have, CPU gov, KSM and TCP govs.
Bug report are welcome, make with in the most accurate description possible, do not spare words, screens and logs, a bug that i can't understand can't reproduce I can't fix.
Gpu governor > simple ondemand = freeze and reboot. In v.1.0.3
Edit for requests:
1) add mako hotplug
2) GPU frequency minimum to 27MHz
3) volume and microfone gain
----
Moto Maxx - XT1225
Xposed NXRom 5.1.1
Thanks for all your hard work man
RSDamasceno said:
Gpu governor > simple ondemand = freeze and reboot. In v.1.0.3
Edit for requests:
1) add mako hotplug
2) GPU frequency minimum to 27Hz
3) volume and microfone gain
----
Moto Maxx - XT1225
Xposed NXRom 5.1.1
Click to expand...
Click to collapse
Yes it does, did not have time to go over gpu_gov, I recommend to leave as default msn-adreno-tz. Will remove or fix simple ondemand. :good:
Implemented, now I'm testing new features that user's ask... No new hotplug, mako is not ported right now to MAXX, will try to port other improved hot plug or improve msm
Voltage, sound, FS and screen control. FS can only be change with some kernel app (like trickster mod ).
All is good bu twill test longer to make shore.

[Kernel][GPL][K-N][Titan][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP]

READ ALL BEFORE ANYTHING!
ATTENTION
Code:
/*
I'm not (yet) a developer , I'm taking effort to put more choices of kernel for our great community.
This kernel is tweaked for best balance possible, if you want a feature quote me and i will see what i can do,
I will build this kernel when possible on my free time and because of it is a nightly and I will use this thread as a worklog too.
Thank you for using this kernel.
*/
Disclaimer
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Adapt, improve and evolve!​
Info:
Guys I created this kernel to Moto G 2013 (Falcon/Peregrine) and Moto G 2014 (Titan/Thea) in other words MSM8226 Motorola SoC baseds to learn, adapt some "unstable and unsafe" things as well to give a new life to my device, the plan is to support all Android versions avaliable for our device, I plan to do a better kernel with time and help of the comunity. This kernel is a nightly I will do it when I have a freetime or LineageOS update their sources or I add new features, it aims to be a rich feature kernel and a "perfection balance" between battery life and performance, this can be a UNSTABLE kernel, my routine will be build,upload and test, so stay tuned! I am open to suggestions. This is a kernel that don't work out-of-the-box the objetive of this kernel is give power to the user.
This kernel DO NOT WORK WITH STOCK MOTOROLA/GOOGLE PLAY EDITION ROM or IDCRISIS or AOSPARADOX.
On post 1:
#1 - Features and installation instructions
#2 - Downloads and kernel Source
#3 - Buglist and to do's
On post 2:
#1 - Changelog
​
Features (By now and latest one):
Based on 3.4.113 LTS Linux kernel and latest LOS/AOSP/CM/Motorola sources
Kexec hardboot patch (MultiROM support)
Governors: Interactive,Ondemand,Performance,Userspace,Conservative,Powersave
Hotplugs: AutoSMP and Alucard Hotplug
Overclocks and Underclocks (Attention this can be dangerous to your device! you have been warned!):
Overclocked CPU (up to 1.6Ghz),Overclocked GPU (up to 600Mhz) Overclocked RAM and Overclocked Slimbus for better audio
Intellithermal v2 to protect our device from heating
Sound: High performance Headset,Low latency playback Support,24 bits Playback Support,Enabled additional Moto G Exclusive Audio Channels TPA-a6165a2
Screen: DT2W and S2W/S2S, KCAL
GPU:Simple GPU Algorithm and AdrenoIdler
Misc: Init.d support, Fsync on/off, ARCH_Power, Gentle Fair Sleepers, Toggle for some wakelocks, Stereo Call Recording Support, Reclaim RAM from loggers, Powersuspend, State Notifier .
For full features list check my github.
Compiled with Arch Linux up-to-date and UBER Toolchain 4.9 and optimize flags[/COLOR]
Bootlogos
PREVIEWS ONLY CHECK DOWNLOADS SECTION FOR LINKS
Created by me and the others two by @Mattwmaster58:
Silver
{
"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"
}
Blue
Red
Downloads
(Folder on AFH) (Please DO NOT MIRROR, if one is down just post in the thread or pm me and i will repair!):
Cyanogenmod/AOSP for Falcon:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Peregrine:
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
Cyanogenmod/AOSP for Titan/Thean (Same defconfig):
CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1
CM12.1 - CM12.1
CM11 - NOT YET
NOTE:ALWAYS CHECK LAST PAGES TO SEE WHAT IS GOING ON!!!
LSpeed Profiles (OLD! LSpeed envolved too fast!) - Balance
Bootlogos: ZER0 Byte Bootlogo
Old releases of ZER0 and ZER0 Byte (Reborn) Kernel : AFH
Mirror: Github mirror and how to download
​
How to install
If you're on other kernel please at least DIRTY FLASH you ROM, thanks.
The kernel:
By recovery:
Using TWRP (Please use the latest one)
1. Put the zip at /sdcard > Reboot to recovery > Install > Chose the kernel zip > Confirm to flash > (optional) Wipe caches > Reboot.
or
By app:
2. Flash it using Flashify or similar app from Playstore.
The kernel scripts backup your current boot.img so if you want to restore just use Flashify or TWRP.
The Bootlogo:
Using TWRP (Please use the latest one)
1. Reboot to recovery > Install > Chose the bootlogo zip > Confirm to flash > Reboot and enjoy.
2. Flash it using Flashify or similar app from Playstore.
3. Extract the zip and on mfastboot (or just fastboot) enter this command: fastboot flash logo logo.bin
Recommendations/Tweaking
Gov Tuner a mod to tune govs based on profiles for better battery life, better performance, or a balance., I have added a lot of sound patchs but A.R.I.S.E. will blow your mind! so if you want a better sound on your Moto G I suggest you A.R.I.S.E the best one in my opinion or just Viper+Dolby. And the best of the best tweaks app LSpeed just download and select a profile from main screen and fell it! or tune it by yourself!
To tweak use Kernel Adiutor from Playstore (or XDA Link), the Kernel Adiutor-Mod (fork with more experimental features) at XDA or Synapse You will need this zip and download Synapse app from Playstore.
Info about tweaking kernel The best guide to it!
Better RAM management for FALCON/PEREGRINE/TITAN/THEA thanks to @Pupet_Master
-Download "Kernel Auditor" from the "Play Store" and open it
-Once inside, Swipe from left to right to show the side menu.
-Tap on "Low Memory Killer"
-Change to these custom settings:
Code:
Foreground Applications: 29mb
Visible applications: 61mb
Secondary Server: 157mb
Hidden Applications 227mb
Content Providers: 87mb
Empty Applications 191mb
-Swipe from left to right again and tap at the option "Virtual Memory"
-Change those settings from there:
Code:
dirty_ratio: 20
dirty_background_ratio: 5
dirty_expire_centisecs: 100
dirty_writeback_centisecs: 300
min_free_kbytes: 4096
oom_kill_allocating_task: 1
overcommit_ratio: 100
swappiness: 100
vsf_cache_pressure: 53
laptop_mode: 0
extra_free_kbytes: 24576
Z-RAM Disksize: 470mb
-Swipe from left to right again and tap at the "Profile" section
-Click at the "+" button and save the current settings on a new profile
-Holdon the new profile and choose the option "apply on boot"[/QUOTE]
This kernel does not ships with a default config, so here it is how to config (an example) a profile for battery/balance/performance:
Battery
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz or 1094Mhz
Multicore power save - Aggressive
Alucard Hotplug - ON
On GPU
GPU max freq. - 450Mhz or 320Mhz (if dont play use 320Mhz)
GPU Gov - simple_ondemand or msm_adreno_tz with tweaked adreno idler
On I/O Scheduler
Scheduler - ROW or SIO
-
Balance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1190Mhz
Multicore power save - Enabled
AutoSMP - ON
On GPU
GPU max freq. - 450Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ROW or ZEN
-
Performance
Code:
On CPU
CPU Gov - Interactive
Max freq. - 1593Mhz
Multicore power save - Disabled
AutoSMP - ON
On GPU
GPU max freq. - 600Mhz
GPU Gov - msm-adreno-tz
On I/O Scheduler
Scheduler - ZEN
Note about some features
Display types WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_inx_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_cmi_720p_video_v2 (FALCON/PEREGRINE)
Display types NOT WORKING with DT2W/S2S/S2W:
mdss_dsi_mot_jdi_720p_video_v1 (TITAN/THEA)
mdss_dsi_mot_jdi_720p_video_v0 (TITAN/THEA)
mdss_dsi_mot_lgd_720p_video_v0 (FALCON/PEREGRINE)
If you don't have a working DT2W/S2S/S2W or don't like it you can disable it and/or use AcDisplay app or Anbient Display of your ROM instead.
To check which display type you have by going into terminal and type:
su
cat /proc/cmdline
Bugs
None by now, if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG. A simple how to help me debug.
To do
Undervolt and Userspace Voltage Controller
OC of 1.8Ghz
More Hotplugs
More Govs
More I/O's (SIOplus,FIFO)
Added all features to all variants
Vibrator Intensity Control
Ram Underclock
Sched & Mutex Tweaks
Stock and GPE variants
WQ_POWER_EFFICIENT
LZO Compression image (Fast boot)
DOLBY_DAP dependency fix
Frandom
Filesystems support:
NTFS Support / EXT 2/3/4 support / F2FS (Most roms only support it at /data)
Optimized ARM RWSEM algorithm
Silence some logs
NEON in kernel mode
Misc Crypt tweaks
LMK tweaks and adaptive
More Security Patchs
Yankactive (Cause reboot at the moment),Yankdemand,Smartmax,Lionhert,Impulse,DanceDance,Bioshock
I/O's: ROW,NOOP,Deadline,CFQ,FIOPS,BFQ,SIO,VR,ZEN
All avaliable TCPs congestions on Android
How to git and build
Setting up and building
Basics of GIT
- How to build my kernel:
Code:
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=/path/to/toolchain/bin/arm-eabi-
make mrproper (cleans config files)
make clean (cleans already builded files)
make falcon_defconfig (or you device_defconfig)
make menuconfig (if you want to tweak the config)
make (I use this too -o2 -j4 CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_NO_ERROR_ON_MISMATCH=y)
How to cherry pick commits
Basically to cherry pick a commit you have to have it source and branch, this is a simple how to do it
First of all you need to set your upstream since it is a fork of CM/LOS or STOCK source:
Code:
git remote add upstream linkingithub.git
For example
Code:
git remote add upstream https://github.com/CyanogenMod/android_kernel_motorola_msm8226.git
so if you want to cherry pick a commit from me
Code:
git remote add bryanbytez mysourcelink.git
and after that you need to have my source locally but stay calm this wont mess you source
Code:
git fetch -all
To merge upstream changes (From CM/LOS or Motorola)
Code:
git merge upstream/cm-13.0
This will merge upstream cm branch cm-13.0 in your source code.
Misc help:
http://forum.xda-developers.com/showthread.php?t=2319018 (about boot.img, ramdisk and others)
https://stackoverflow.com/questions/2816715/branch-from-a-previous-commit-using-git (Unlike me you can just revert or create another branch based on the commit and not delete the whole source code )
https://stackoverflow.com/questions/4410091/github-import-upstream-branch-into-fork (Import a upstream branch on your fork)
And to revert a git: git revert sha1, example git revert eab5c8fef098548f0f00085196bbf40f41bf8ba1
​
Source/Credits
If you want to post this on your site or other forum it's okay just post a link to this thread too and the correct credits and if you can, pm me with link so i can see it too, thanks.
The GNU General Public License is a free, copyleft license for software and other kinds of works.
The GPL permits use, share, study and modify.
But this does not mean you should not give the deserved credit to the previous author.
So if you use my source code under GPL you must share with GPL too and quote me in the credits.
CM/LOS/AOSP Based Source
Stock/GPE Based Source
Thanks to:
GOD
The Real Dev's:
Motorola/Lenovo
LineageOS/CyanogenMod/AOSP/CAF Teams
A special thank you to @Kamin4ri to be answering questions from a noob
@hurtsky @pinkflozd @zakee94 @TeamMex (not a team ) @RenderBroken @alin.p @Flashhhh @Shivam Kuchhal @RolanDroid @attack11 @DC07 @frap129 @-decipher- @bedalus @MetalPhoenix45 @srisurya95 @para94 @chijure @Aayushya @neonkat and @faux123 for inspiration and commits (i guess that everyone that i pick a single commit is here... since i don't know yet to pick commits (picking commits automatically add the credits) a big thanks to all !)
@kwoktopus, for the tutorial how to build
And you the user!
If I forget someone please contact me and I will add here! [/FONT]​
XDA:DevDB Information
[Kernel][GPL][K-N][Titan][UBER TC]ZER0 Byte Kernel[Nightlys][CM/AOSP], Kernel for the Moto G 2014
Contributors
BryanByteZ
Source Code: https://github.com/BryanByteZero/android_kernel_motorola_msm8226
Kernel Special Features: OC/UC/DT2W/S2W/S2S/Sound Patchs and a lot more, check it!
Version Information
Status: Nightly
Current Stable Version: R3
Stable Release Date: 2017-02-22
Current Beta Version: R4
Beta Release Date: 2017-04-29
Created 2017-04-30
Last Updated 2017-05-01
Changelogs for CM/LOS/AOSP K/L/M/N
Changelogs for CM/AOSP K/L/M/N:
For Falcon and Peregrine
19/11/2016
No more MPDecision and CM PowerHAL
DT2W and S2W/S2S
Optimization Flags
Overclock and Underclock
Alucard Hotplug
AutoSMP Hotplug
Faux Sound 3.5
KCAL v2
High performance and low latency audio headset
KEXEC Hardboot patch
04/02/2017
Up-to-date with LOS source and Linux (now it's 3.4.113 the LTS version)
Intelliplug, AutoSMP and Alucard Hotplugs
Intellithermal
MSM-Limiter (you will need KernelAdiutor-MOD to use this feature)
Toggles for some wakelocks
ARCH_power
Gentle fair sleepers
Stereo call recording support
Reclaim RAM from loggers
Dynamic management of dirty page writebacks, expire and cache pressure
Some GPU patchs
SIO,VR,ZEN and Tripndroid I/O's
Powersuspend, LCD notify and state notifier
Dynamic FSYNC
CPU, GPU and RAM overclock
Simple GPU algorithm and AdrenoIdler
Enhanced audio with Faux Sound and low latency drivers and high performance mode
KCAL
KEXEC Hardboot patch
DT2W/S2S/S2W
Make optimizations
Powered by UBER STOCK Toolchain 4
22/04/2017
LATEST SOURCES
CPU OC/UC
GPU OC/UC
CPU boost
KCAL
faux Sound
High perf headset mode
OC RAM and slimbus
Intellithermal
Simple GPU Algorithm and AdrenoIdler
State notifier and Powersuspend
Alucard and AutoSMP hotplugs
Stereo call recording
Custom I/O's
Stock GOVS
KEXEC Hardboot patch
wakelock blocks
Fsync on/off
Power efficient workqueue
29/4/2017
DT2W/S2S/S2W
Bugs:
None by now,if you encounter one please make a post in this thread with steps to reproduce and if possible a LOGCAT and DMESG.
Reserved
Reserved
DT2W doesn't work, my phone is compatibile as in older kernels it worked
Just installed it on Titan, Ressurrection Remix. 1.6 ghz !!!
Zenzfum000 said:
DT2W doesn't work, my phone is compatibile as in older kernels it worked
Click to expand...
Click to collapse
Did you enabled on KA? It give some error? Which kernel DT2W worked? Which is you display? check note section in OP, please. I used the same "formula" for falcon,peregrine and titan/thea but maybe this last need some special atention.
Thanks.
BryanByteZ said:
Did you enabled on KA? It give some error? Which kernel DT2W worked? Which is you display? check note section in OP, please. I used the same "formula" for falcon,peregrine and titan/thea but maybe this last need some special atention.
Thanks.
Click to expand...
Click to collapse
I've used ex kernel manager, i don't think the problem is on the software side. In marshmallow kernel dt2w worked, is not a fault of yours, i think is nougat
In devolution kernel is not working too
When i try to unlock screen i had a soft reboot
Zenzfum000 said:
I've used ex kernel manager, i don't think the problem is on the software side. In marshmallow kernel dt2w worked, is not a fault of yours, i think is nougat
In devolution kernel is not working too
When i try to unlock screen i had a soft reboot
Click to expand...
Click to collapse
Well sound like that is not supported, in MM you used evolution kernel? Can you grab the output of cat /proc/cmdline in terminal? Thanks!
Sent from my Xiaomi Redmi 4A using XDA Labs
BryanByteZ said:
Well sound like that is not supported, in MM you used evolution kernel? Can you grab the output of cat /proc/cmdline in terminal? Thanks!
Click to expand...
Click to collapse
I'm not a beginner, i know what i'm saying
Dt2w has problems on nougat kernels
Sent from my Moto G 2014 using XDA Labs
Zenzfum000 said:
I'm not a beginner, i know what i'm saying
Dt2w has problems on nougat kernels
Click to expand...
Click to collapse
I'm just asking because I don't own a Titan/Thea/Peregrine but since it have the same SoC same features should work in all.
BTW you can test in a MM?
Sent from my Xiaomi Redmi 4A using XDA Labs
BryanByteZ said:
I'm just asking because I don't own a Titan/Thea/Peregrine but since it have the same SoC same features should work in all.
BTW you can test in a MM?
Click to expand...
Click to collapse
Not now but i think it will don't work on mm too
Sent from my Moto G 2014 using XDA Labs
Zenzfum000 said:
Not now but i think it will don't work on mm too
Click to expand...
Click to collapse
So basically any kernel that have DT2W is not working on N right?
Can you grab me a dmsg and lastkmsg? Maybe I can debug it.
Thanks!
Sent from my Xiaomi Redmi 4A using XDA Labs
BryanByteZ said:
So basically any kernel that have DT2W is not working on N right?
Can you grab me a dmsg and lastkmsg? Maybe I can debug it.
Thanks!
Click to expand...
Click to collapse
Ok, i'll try
Sent from my Moto G 2014 using XDA Labs
Here you are the logs @BryanByteZ
Zenzfum000 said:
Here you are the logs @BryanByteZ
Click to expand...
Click to collapse
Can you say something about the general performance and stability? Does CPU overclocking work without overheating or other issues?
Sent from my Moto G 2014 using XDA Labs
Here You are thanks for working on titan too!
I'm on RR MM at the moment, when trying dt2w/s2w my phone reboots.
Wolfcity said:
Can you say something about the general performance and stability? Does CPU overclocking work without overheating or other issues?
Click to expand...
Click to collapse
General performance is great, i'm using interactive with alucard at maximum 1401mhz, never faced overheating issues :good:
Sent from my Moto G 2014 using XDA Labs
Does OC actually work?
Other developers have tried it before, and realized it was a placebo soon after.
Kernel working great!
But one thing, if I select Dt2w/S2w from kernel auditor.. After that, the device got reboot automatically & settings are changed itself to default settings n kernel auditor..
So pls, implement/improve/repair Dt2w features..
Sent from my Moto G 2014 using Tapatalk
I use Conservative governor, no heating problems.
DT2W crashes/reboots device. I would not bother with DT2W, it just drains battery.

[20/12/18]Prototype Kernel [DTC][4.4.x]

{
"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"
}
​
Code:
#include <disclaimer.h>
* Your warranty is now void. *
* No guaranteed this'll explode your device, be careful, follow the instructions ! *
*don't point at me if your alarm dies after flashing this kernel ! *
Introduction
Hello all!
So this is Prototype™ Kernel for Lenovo Z2 Plus on which i was working.Main Purpose of the kernel is to provide balance performance to the user in daily life while giving full freedom to users to control the kernel.So this a short contribution to zuk community from my side hope you all will like it!
Thanks.
*Please read FAQ and installation instructions carefully.
Features
msm 3.18
Kernel rebased over als.
Upto date with linux stable (3.18.128)
Compiled with DTC+GCC9
Governors: Impulse, Darkness, Interactive, Conservative, Ondemand, Powersave, Userspace, Alucard, Nightmare, Chill, Blueactive
Relaxed, and Performance.
I/O Schedulers: Noop, Deadline, Cfq, ROW, Fiops, Bfq, Zen, Sio, Maple and Tripndroid.
F2FS Support
Advance TCP Congestion Control
Dynamic FSync
Boeffla WakeLock Blocker
Sound Control
Power Efficient Work Queue for major drivers and enabled by default.
commits to make cpuboost efficient
Faster app installation time
Simple GPU algorithm
PowerSuspend Drivers
Interactive and tuned for balance performance
State Notifier
Ships with Aroma installer
msm_thermal_simple instead msm_thermal
VDSO implementation
Spectrum supprt
Adreno idler
Fingerprint boost
And Much more.
msm 4.4
Rebased on linux stable tree
Current Kernel version is 4.4.168
Latest CAF tag merged is LA.UM.7.2.r1-05500-sdm660.0
Toolchain used is DTC8+GCC9
Features
EAS
Clang Support
CFQ updates from upstream
Power Efficient WQ
Brought back msm_thermal_simple instead msm_thermal
Fingerprint Boost
Boosting is done through CPU-Boost+Dynamic Schedtune Boost
UC to 1.4 and 1.9
IO schedulers available:cfq,bfq,noop,fiops,sio,zen,deadline
Fsync on/off toogle
Advance TCP Algorithms
Spectrum support
USB Fast charge
Installation instructions
First time:
Reboot to recovery
Flash Prototype kernel.zip
Reboot
Update the kernel:
Reboot to recovery
Flash Prototypekernel.zip
Reboot
Coming from another kernel:
Reboot to recovery
Dirty flash your current ROM
Flash Prototypekernel.zip
Reboot
Download
Sourceforge Folder
FAQ
1. Why the kernel zip is so large?
-> Treble Pie and Treble Oreo version of the kernel are packed in single file.You have to choose your version during installation so choose carefully.
2. How frequently it will get updated?
->Well its not fixed ,most probably it will be updated after every 15 days.But if some major bug is there then there can be quick updates.
3.Do you have any telegram release channel where we will be updated about the news about this kernel?
-> Yes we have telegram channel-https://t.me/prototypereleases
4.Can we request features?
-> Yes you can request features and ill try my best to implement it but no promise
5.I dont have any knowledge about governors and schedulers?
-> Dont worry if you dont have any knowledge just select next in aroma installer
6.Which ROMS are supported ?
-> Treble ROMS of pie and oreo are supported.Further compatibility will expand.
6.My phone heating after booting the kernel ?
-> Yes as the phone boots CPU carries out various tasks which lead to increase load on cpu and thus heating.So it is recommended that after flashing the kernel keep the phone idle for 10 mins and then see the magic
Thanks To/Credits
Code:
@amog787 (My Master)
@dmitrikudas (Helped me to boot my first kernel)
@DD3Boh (Master Dev)
@faizauthor
@davidvinavil
@frap129
@SultanXDA
@yarost
@davidevinavil
@andip71
@Kenny3fcb (Cleared Some Major Doubts)
@Cosmedd
@Flar2
@amarulz
@franciscofranco
@sanketp60 (For thread banner)
@movzx (For aroma installer)
@Pavan_Paps,@Gmp KV,@omkarmodgi and @lonelystag(For testing builds)
And all the authors of commit in my sources
[If i Forgot you by mistake please remind me]
Telegram Channel
@prototypereleases
XDA:DevDB Information
Prototype™ Kernel, Kernel for the Lenovo ZUK Z2 (Plus)
Contributors
Danish1999
Source Code: [url]https://github.com/Danish1999/msm-4.4 [/URL]
Kernel Special Features: Just Special
Version Information
Status: Stable
Current Stable Version: v4
Stable Release Date: 2018-10-29
Created 2018-10-04
Last Updated 2018-12-20
Screenshots
Reserved
Thanks for the kernel! Looking forward to flash it. Will review post few day usage
Interesting. I will try it soon. Hope it suitable with my daily use.
I have flashed it. Let us see how it performs
Sent from my z2_plus using XDA Labs
Why so slow in pubg?
takes forever to start...
Please give faster updates, that's the only hearty request.
---------- Post added at 06:23 PM ---------- Previous post was at 06:21 PM ----------
Sir, can you please add Spectrum app support,it is easy switching between profiles...... ?
Will it work for pe pie??
Pavan420 said:
Will it work for pe pie??
Click to expand...
Click to collapse
Ofcourse
Okay, initial impression.
-Charging rate is fine.
-Pubg gameplay is smooth and this is amazing that it stayed at 40°C for me. I was shocked cuz this was only possible before in Cardinal Rom. Great work dev
-Battery consumption is 13-14% per full length classic match.
- Though the phone doesn't heats as such, but the idle temps are higher than stock Arrow and Moxie ie. >36°C
I haven't done a full charge, so can't really comment in battery.
But this is Greta for initial build. Thanks for this kernel.
Finally a pie kernel. Well managed thermals undoubtedly. Although it is too early to comment. I hope battery lasts. Please move the thread to development section. Also kernel lacks hotplugs, wakelocks, and thermal controls. Also please list the work of each governors as listed on aroma on the thread for easy governor handling. One major missing is option to overclock gpu and cpu both.
PUBG not working
Super fine performance but while on pubg it's taking too long just to load (About 3 mins) then it hangs up at loading screen. I'm on AEX 5.8 rooted.
Kindly Suggest something to resolve this issue. I tried reflashing kernel but it didn't workout.
Thanks again for this Super thing.
I'll add battery backup as soon as possible.
Edit- I have checked with cpu float GPU freq. are not going up.
If this is using aroma for install, can something like ElementalX where you pick the default cpu & gpu clock speeds before installing the kernel possible? Of course setting everything after booting into rom with a kernel manager is fine, but a option to run without a manager would be appreciated
Will try this later today on ArrowOS Pie, as for features Im looking forward to overclocking, thermal and voltage control to be implemented
edit: early benchmark result, with all battery-oriented choice from aroma (darkness governor, noop i/o sched, "No" at playing games). Adreno driver v328 rev3
about the same as a snapdragon 625 according to gb. Gpu performance doesn't seems to be hobbled much
pipyakas said:
If this is using aroma for install, can something like ElementalX where you pick the default cpu & gpu clock speeds before installing the kernel possible? Of course setting everything after booting into rom with a kernel manager is fine, but a option to run without a manager would be appreciated
Will try this later today on ArrowOS Pie, as for features Im looking forward to overclocking, thermal and voltage control to be implemented
edit: early benchmark result, with all battery-oriented choice from aroma (darkness governor, noop i/o sched, "No" at playing games). Adreno driver v328 rev3
about the same as a snapdragon 625 according to gb. Gpu performance doesn't seems to be hobbled much
Click to expand...
Click to collapse
Yep that frequency selection are possible in aroma installer but I not going oc cpu.I'll think about oc gpu
Danish1999 said:
Yep that frequency selection are possible in aroma installer but I not going oc cpu.I'll think about oc gpu
Click to expand...
Click to collapse
Well with how the little cluster's missing 1.56ghz frequency I guessed that asking for cpu oc would be hard although it's obviously the main performance bottleneck and the adreno 530 on a 1080p screen is already fast enough.
Pre-baked undervolting and voltage though would make it I hope? Can predefined uv level be implemented in aroma as well?
pipyakas said:
early benchmark result, with all battery-oriented choice from aroma (darkness governor, noop i/o sched, "No" at playing games). Adreno driver v328 rev3
about the same as a snapdragon 625 according to gb. Gpu performance doesn't seems to be hobbled much
Click to expand...
Click to collapse
Its a known issue. When you upgrade GPU drivers from 2xx on z2, geekbench fails to properly benchmark the device, GPU performance isn't considered. Antutu benchmark doesn't have this issue.
after dirty flashing my rom then flashing the kernel all is going good performance is great but when i play pubg if i try to raise or lower the volume i get flashes in the background of the volume panel . i think its something related to the gpu drivers .
im on aex 6.0 latest
guyz_ahead said:
Finally a pie kernel.
Click to expand...
Click to collapse
Moxie and Nameless are there too!
ahh988 said:
after dirty flashing my rom then flashing the kernel all is going good performance is great but when i play pubg if i try to raise or lower the volume i get flashes in the background of the volume panel . i think its something related to the gpu drivers .
im on aex 6.0 latest
Click to expand...
Click to collapse
Atleast your game is starting mine is just not loading mainscreen. I'm on AEX 5.8.

[12/09/19][kernel] FENIX [4.4.191][HMP][EAS][Pie/10][CLANG][OC ]

FENIX
{
"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"
}
Disclaimer:
use this kernel at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware and any kind of damages/losses.
I make this kernel for my own, and decided to share with community.
The goal of this kernel is to maintain stability over performance, and extend for what possible the battery backup. Enjoy.
What's in it:
Code:
-Cpu little cluster overclock to 1.8ghz
-Cpu big cluster overclock to 2.2ghz
-Gpu Underclock to 160mhz
-Latest Caf Tag
-Latest wlan drivers
-Kcal, display color full control
-Sound Control
-PowerEfficientWq
-F2fs
-Vibration Control
-Compiler Optimizations
-Battery Tweaks
- Sultan Drivers
-EAS
-Performance tweaks
-Refer to changelog or to git to all the tons of features
-Some other patches, check github
Download this file, reboot to bootloader and do:
fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta.img
Flash Twrp
Then Reboot to Twrp
Changelog-HMP-:
Code:
12/09/2019--LoveEdition--
- Android 10 ready
- Drg: Overclocked big cores too, like sdm660: 2.2ghz
- rebased again to new cleaned sources with latest nikki merges
- upstreamed to 4.4.191 + LA-UM-0074 wlan drivers, built inline
- Sultan's Ion, Iommu, ashman drivers, for improved performances
- Goodboi governor: an impulsed tweaked by me for battery
- kgsl: dispatch commands by using a master ktrhead: to reduce jitter by alot
- pl2: set gpu idle timeout to 64ms (like b2n\drg)
- ddrbus: changed governor to avoid 100% freq stuck
- allowed deeper idle cores\cluster
- source cleaned, keeped only the useful commits
- and alot, alot more. Check git.
13-07-2019-1644:
- rebased all to drg lastest sources to avoid any kind of source corruption
- camera drivers fully reverted to stock source to avoid any kind of problems (i will not touch nothing there in future)
- builded with gcc9 with alot of fixes
- upstreamed to 4.4.185 + LA.UM-0072 wlan drivers, built inside the kernel
- we are module free
- sdm636 have now only little cpu freqs like sdm660: we cant afford 2.2ghz on 3000mah battery
- sdm630 fully supported
- nokia b2n fixed rotation bug
- cpu input boost
- disabled debugfs, tracing, loggings, debugs, i mean, not all of them but TONS OF THEM
- deleted most of unused drivers, like dvd players, cassette drivers (wtf nikki)
- disabled nikki usless drivers
- alot of workloads on power efficient workqueques
- vibration control (maybe not in b2n)
- sound control , with no metallic sound
- 160mhz initial gpu freq to save power + -50v undervolt for better power consumption
- sdFat driver, lastest version
- KCAL fixed, updated and optimized for sdm660 family processors
- zram lz4 compression for better perf
- disabled crc check
- blocked ipa and other wakeloks (but no boeffla wkl blocker for now)
- gpu will wake up only if there is a ioctl rather then a touch input, to save power
- reduced the max voltage allowed for the panel
- lowered cpu\gpu thermals to avoid device damage
- new fenix banner for recovery
- console framebuffer optimizations for 70% better perf
- 3 x faster integer than stock
- interactive optimizations
- idle lite changes
- don't need to flash magisk after flash
- and other tons of optimizations, but carefully cherry picked from the best devs around here
-refer to build date as build number
Changelog-EAS-:
Code:
-basically, all the feats of Fenix HMP
-EAS energy model by @nysadev (fantastic)
-some governors, blu_schedtuil, schedutil,
-dont let gcam and settings waste power on background
-removed some other logspams\debugs
-cpuidle lpm prediction tuning, for better idle battery saving
-removed dsboost\dynamicstune boost, to save power
-builded with Ofast
-alot of tasks uses interrutible w8s , for better idle
-100hz otpimizations
-backported PELT from 4.14 , for better power consumption/performance
-alot of sched patches
-alot of gpu performance improvements
-enabled ram ECC for faster reboots (this is awesome)
-aligned strcmp to 64kb cache line
-alot of cache optimizations by Sultan
- rewrited iommu/Ashman from sultan
- optimized for armv8
- increased kgsl priority: more smoothness
-boot speed optimizations
-cpu idle further optimizations
- PELT optimizations
- Foxed snapdragon 630 EAS bootloop
- updated my energy model for 630 by porting nysadev capacity based one for sdm660: this will give more battery and smoothness
- suppress debug verbose and disabled exp rcu like in sdm660
- removed the usless tz_log, that was spamming and yelling in the background (tx to bielfiboi to discover this)
- builded with gcc 9.1 -ofast
- very good battery backup, performance
DOWNLOAD-HMP-
DOWNLOAD-EAS-
ALWAYS wipe dalvik cache after flashing the kernel, or you will encounter bugs.
Enjoy,
feedback is appreciated.
Thanks to:
@madpausa, without him I would never have approached a linux distro
@hmd
@xda
and all the other authors of the hundreds of commits in github !
XDA: DevDB Information
Fenix kernel for NokiaDRG\B2N\PL2
Compiler: GCC-9.1
Branch: Android 9.0
Kernel Version: 4.4
defconfig: nokia_defconfig
Source Code:
FENIX
Image source:
http://i.imgur.com/R2xjrZ7.jpg
reserved
reserved
hi, first need bootloader unlocked ?
blademetal said:
hi, first need bootloader unlocked ?
Click to expand...
Click to collapse
Of course
As I think you're may a GSI fan, is this kernel compatible with GSIs too?
X1111 said:
As I think you're may a GSI fan, is this kernel compatible with GSIs too?
Click to expand...
Click to collapse
Yes, of course. Currently running the oc version with pixel dust GSI.
Btw this kernel is for android 9.0.
Feels good to see Nokia Dev community getting started.
Does this root method work on stock pie, December patch, even without flashing the kernel?
And also do you have gapps on your gsi? If so, how did you flash them? I was trying to install aex gsi, but it's a bit unstable and also no gapps
bbcastro said:
Does this root method work on stock pie, December patch, even without flashing the kernel?
And also do you have gapps on your gsi? If so, how did you flash them? I was trying to install aex gsi, but it's a bit unstable and also no gapps
Click to expand...
Click to collapse
Yes. For Gsi you need to resize system partition after installing it, so you can install gapps.
Or just flash pixeldust gsi.
paul89rulez said:
Of course, check your pm.
Click to expand...
Click to collapse
Can I get one of those PM's regarding unlock? Thanks
Is it posible to overclock the GPU to snapgradon 660 level? AS far as I know, the SD636 is exactely the same chip, only underclocked.
_joaocampos said:
can i get one of those pm's regarding unlock? Thanks
Click to expand...
Click to collapse
need your pm for unlock stuff too
bbighouse said:
Is it posible to overclock the GPU to snapgradon 660 level? AS far as I know, the SD636 is exactely the same chip, only underclocked.
Click to expand...
Click to collapse
dunno, i don't really care about this, as i don't play with my phone. Anyway, if you want to play, disable adreno idler.
But, i will check it.
majenun123 said:
need your pm for unlock stuff too
Click to expand...
Click to collapse
Pls don't make post like this!
KEEP THE TRHEAD CLEAN!!!
Search internet or telegram for bt unlock , but STOP searching it here.
paul89rulez said:
dunno, i don't really care about this, as i don't play with my phone. Anyway, if you want to play, disable adreno idler.
But, i will check it.
Click to expand...
Click to collapse
Thanks in advance!
I have found this kernel for the Redmi 4x (snapgradon 435) in which the GPU was successfully overclocked. Maybe this can help?
https://forum.xda-developers.com/xi...kernel-redmi-4x-simplekernel-santoni-t3743975
bbighouse said:
Thanks in advance!
I have found this kernel for the Redmi 4x (snapgradon 435) in which the GPU was successfully overclocked. Maybe this can help?
https://forum.xda-developers.com/xi...kernel-redmi-4x-simplekernel-santoni-t3743975
Click to expand...
Click to collapse
New build 0.6 rebased on caf is up. Gpu oc for now is not stable for our phone, i ve tryed. I will include it when it will be stable.
1.3 relase update:
-removed sound control (will re-add it when i have time)
-re enabled Bcl (for better battery backup)
-upstreamed to LA.UM.7.2.r1-06500-sdm660.0
Could Be Anyone said:
Tested and working great.
Just wondering, is there a mod to increase the speaker volume?
Click to expand...
Click to collapse
Not for now kernel side. I ve removed Mic gain and Headphone gain for now. I will re add it later (had some problem with mic, but it wasn't the commits). Install ainur audio from Magisk if you want better audio (installation takes time).
Who want to test -80mv Gpu Uv can flash this:
https://mega.nz/#!VhFVFYpZ!QBOan6WuHJMzRr0N5uI9MZJAkbhTZMyjgcKGqXppqrk
In this relase there are also other battery saver tweaks. Let me know if the uv its stable. Thanks.

[KERNEL][7.x - 10.x] Tsurara-QZ 1.3d [Z00L][Z00T]

{
"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"
}
Custom Kernel for Lineage 17.0, tested only on Android Q (LineageOS 17).
Kernel Features (Whats New?):
CPU Governor : BLU_ACTIVE
I/O Scheduler: anxiety,sioplus,maple,zen
TCP Congestion Algorithm : cubic, bic, htcp, reno, westwood
F2FS Support
ZSWAP,Z-RAM (lzo,lz4,lz4hc,deflate)
Fsync
Software CRC Control
Gentle Fair Sleepers
Adreno Idler
Arch Power
wq_power_saving
Minor Optimization and Patches
Compiled Using Latest GCC11.1
Tested ROM:
LineageOS 17
Downloads:
Older Version :
V.1.0
V.1.2a
V.1.3a
V.1.3c
Latest:
V.1.3d
Note: Due a change on some system related stuff, it's required to clear your dalvik-cache after flashing this v.1.3d
FAQ:
Is this kernel going to be updated frequently?
Answer: probably, if i am not busy.. it'll just mostly follow Lineage17 commits
I Want this FEATURE
Answer: will probably add, not sure
what about TCP Westwood?
Answer: sometimes later on, i'll probably add it or if Lineage 17 unnofficial author doing it
Known Issues:
My Unity Games Freeze after a slight Stutters!
Fix: " I/O Stats" and " add_random" set to 1 if they're 0
Information:
Linux kernel version: 3.10.108
Based from:Lineage17-unnoffical markkiths Z00L-ten branch
Compiler Used
GCC 11.1 Experimental (ARM64) (Aarch64-ELF)
Kernel Source:Here
Thanks:
markkiths for maintaining lineage17-Z00L/Z00T
mg712702 for maintaining lineage16-Z00L/Z00T
YaAlex3 for maintaining Z010ED
Roker2 for maintaining Z00RD Z00ED
maxmesa for maintaining Z00RD Z00ED
HyperTeam
theimpulson for firekernel
osm0sis for anykernel
and lot of people that i couldnt mention here that actually contribute to kernel
Changelogs :
-Tsurara v.1.0a
Rebase to Lineage17 kernel sources
Added Zen Scheduler and BLU_ACTIVE
Minor Cortex A53 Related optimization
Added Z00L Builds
-Tsurara v.1.2a (Ported ICEY-S)
Ported ICEY-S
Bunch of other stuff from ICEY-S
-Tsurara v.1.3 (ICEY-QZ)
Latest Lineage17 Commits:
Bluetooth Improvement
msm_performance changes
arm64/lib improve copy_page
Core_Ctrl changes
-Tsurara V.1.3a (ICEY-QZ)
Revert Core_Ctrl changes
GPUOC 650mhz for msm8936/msm8939
-Tsurara V.1.3b (ICEY-QZ)
cgroup fixes
sched fixes
lz4 fixes
additional core_ctrl changes/fixes
-Tsurara V.1.3c (ICEY-QZ)
Core_ctrl changes
Optimize Sched and Fork
-Tsurara V.1.3d (ICEY-QZ)
uid_sys_stats fix
Specific Patches :
Lineage17 Z00T Fixes
-Limit dex2oat to 1 and set filter to speed-profiles
for better experience and SOC temperatures
-better lz4 configuration for playing games
-set default compiler to "speed-profile"
-Configure IO Stats and add_random to be enabled
Lineage 17 03-09 Z00T Fixes
-Same with above but updated to 03-09 updates
userdebug fixes
-for games that refuse to launch
(Magisk Modules) selinux_permissive_v2 (Source Here)
-Fix chrome crashing issues in Q
(only in older version, 03-09 doesnt need this)
How to use:
Flash on TWRP
Hi,
good job.
From the title it follows that this kernel can be used from Android 7 up to 10; it's correct?
I would like to test it on an Asus ZE550KL Z00LD with Aosp 5.8 Android 8.1.
Thanks so much
jimjack12 said:
Hi,
good job.
From the title it follows that this kernel can be used from Android 7 up to 10; it's correct?
I would like to test it on an Asus ZE550KL Z00LD with Aosp 5.8 Android 8.1.
Thanks so much
Click to expand...
Click to collapse
its should be, its ICEY-S modified to work with Q.. if you can kindly share your experience on older rom such as 7.x / 8.x / 9.x, that'll be great for other user to check and consider wether not or will they use this kernels.
Hi ReikaRin and thanks for the great work.
Today I tried to install the Kernel "ICEY-QZ-1.0.3a-02-03-2021-11-29-Z00L-Q.zip" on Asus ZE550KL Z00LD 16/2 Gb Android 8.1 AOSP Extended 5.8 and the installation goes successful without any errors.
I can't do all the tests on the device as I don't play with it, I don't use bluetooth headsets, etc ...
However, I can confirm that the device is working properly.
We are waiting for some other members of the Forum who do other tests.
Thanks so much
Avoid using Zen scheduler for now if you're using 1.0.3b
Edit: currently pushing new builds, zen should be disabled properly now
Edit2: Fixed
any fix for the freeze in unity game? i hope there is a fix.. first tiem use this my phone is cool af idk if it bcoz this kernel or weather lol.... but my game is freeze and got banned bcoz afk... hope it
Zero 2wo said:
any fix for the freeze in unity game? i hope there is a fix.. first tiem use this my phone is cool af idk if it bcoz this kernel or weather lol.... but my game is freeze and got banned bcoz afk... hope it
Click to expand...
Click to collapse
it depend on the rom but some of them have it configured using script (you can modify it using root then find it or have some Kernel Manager do it automatically for you everytime your phone boot, i'll just copy the notes here :
My Unity Games Freeze after a slight Stutters!
Fix: " I/O Stats" and " add_random" set to 1 if they're 0
ReikaRin said:
it depend on the rom but some of them have it configured using script (you can modify it using root then find it or have some Kernel Manager do it automatically for you everytime your phone boot, i'll just copy the notes here :
My Unity Games Freeze after a slight Stutters!
Fix: " I/O Stats" and " add_random" set to 1 if they're 0
Click to expand...
Click to collapse
ok i will try it.. thanks for gpu oc kernel..... im flash the latest stable.. and i hope the unstable will be stable soon.. thank alot to you i think asus z00ud is already forgoten lol.... so just enable the i/o stats and add random to fix game freeze?
ReikaRin said:
it depend on the rom but some of them have it configured using script (you can modify it using root then find it or have some Kernel Manager do it automatically for you everytime your phone boot, i'll just copy the notes here :
My Unity Games Freeze after a slight Stutters!
Fix: " I/O Stats" and " add_random" set to 1 if they're 0
Click to expand...
Click to collapse
just enable the i/o stats and add random? but why it still freeze
anyone play any unity game with this kernel? i hope there is a real fiz.. bcoz this kernel is nice.. but the freeze is happen... or any recommendation rom to fix this?
Zero 2wo said:
just enable the i/o stats and add random? but why it still freeze
Click to expand...
Click to collapse
what game you're talking btw?, also EX Kernel Manager does not expose it.. try using Lanthanum Toolboxes or Smartpack kernel manager then check on I/O Section, it help mitigate the freeze but not entirely.. it happen when the Storage is Busy or when your CPU Usage spiked to 100% for short duration, it just a known behaviour of Unity's IL2CPP/Mono backend. this does not affect any recent phone mainly because what we're using (in this case MSM8916/MSM8939) is really just that old.
ReikaRin said:
what game you're talking btw?, also EX Kernel Manager does not expose it.. try using Lanthanum Toolboxes or Smartpack kernel manager then check on I/O Section, it help mitigate the freeze but not entirely.. it happen when the Storage is Busy or when your CPU Usage spiked to 100% for short duration, it just a known behaviour of Unity's IL2CPP/Mono backend. this does not affect any recent phone mainly because what we're using (in this case MSM8916/MSM8939) is really just that old.
Click to expand...
Click to collapse
im playing mobile legend... i change i/o stat and add random with spkm... but its freezing... so im just use stock from from los q
Zero 2wo said:
im playing mobile legend... i change i/o stat and add random with spkm... but its freezing... so im just use stock from from los q
Click to expand...
Click to collapse
i don't really play Mobile Legends, so can't really say much about that freezing issues.
Thanks for reporting anyway~
i can probably install lineage 10 tomorrow. we got a new build today.
is "ICEY-QZ-1.0.3-02-03-2021-04-52-Z00T-Q" stable enough? can i have a modified V.1.3c if you're not busy?
Hi ReikaRin, great job, thanks.
One question: I installed the latest LineageOs 17.1 build from 09.03.2021, after installing your kernel, 1.3c, it completely muted the audio. is it a kernel or rom problem? Asus ZE550KL Z00LD 16/2 Gb. Thanks so much
i have got error:1 when try install selinux_permissive_v2 . any one ?
markkiths said:
Can you Try go to settings > system > system profile turn off then restart device and test audio again?
For new build you must to do wipe system because we have much change with library
Click to expand...
Click to collapse
Thank you so much markkiths,
I had forgotten this detail ....
However with the default kernel, the rom works very well.
Thank you
str4610 said:
i have got error:1 when try install selinux_permissive_v2 . any one ?
Click to expand...
Click to collapse
that is magisk module, i forgot to mention it.. sorry

Categories

Resources