[KERNEL][LOS][v3.18.87] The Soda Kernel [15 DECEMBER] + firmware flashables - Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev

{
"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"
}
Introduction
Buying Mi 5 gave me opportunity to spread wings and maintain a (hopefully) better version of Linux kernel for this device.
The idea is to provide two levels of modification, one - the most up-to-date kernel upstreamed with official Linux changes (also Android) repo to provide bug-free and stable experience, second - tweaks and additional features placed in top of upstreamed version to give blazing efficiency and battery friendly experience.
I came with the idea while looking onto linux repo - there are so many fixes and optimizations done to the code which gonna never come up to any Android device. So why not to try and pick some of these changes?
Android device is one of many for which Linux kernel is developed. Adding hardware specific changes will give extra performance and battery backup as it's going to use the phone architecture better instead of generic implementation.
Click to expand...
Click to collapse
Compatibility
It is LOS forked repo so any LOS-based ROM should be compatible (not MIUI compatible).
Do not use it with any custom ROM or additional modifications as I'm not supporting them (and will not).
Of course, you can try flashing, if it works - enjoy.
Downloads
You can use 'Download' tab in the top or download from AFH .
Installation:
- download kernel zip and necessarily check MD5!
- boot into recovery
- flash the zip (always flash on clean ROM!!)
- (optionally you can wipe cache/dalvik)
- reboot to the system and taste the madnesss
Soda-Upstream - stock kernel upstreamed with official repos as much as it is possible.
Features of Soda-Upstream:
- Almost fully updated to v3.18.87
- Compiled with fresh Google's prebuild GCC 4.9
- A lot of official fixes and optimizations
- Updated crypto parts
- Updated lib parts (lots of performance improvements)
- Updated cpuidle
- Updated devfreq
- Updated Android drivers
- Updated pseudo file systems & JBD2
- Updated fs (up to 10% faster I/o)
- Updated arm64 deps
- Updated parts in net
- Miscellaneous scrpits update
- Stock frequency on 32gb model
- Own fix for mitigation task not initialized (testing)
- Other minor updates
Soda Kernel - upstreamed kernel compiled with fresh GCC, arch dependent flags, awesome tweaks and without any useless crap!
Features of Soda:
- All from Soda-Upstream
- Compiled with UBER TC 5.x (can't go higher due to s***ty drivers)
- Added arch optimization flags
- Changes in config
- Enabled by default net governor Westwood
- New IO scheds: ZEN, FIFO, FIOPS, Maple
- New CPU govs: ElementalX, ZZmove, Blu_Active
- Adreno Idler
- Adreno boost
- Disabled CRC
- Mi5 Lite has standard CPU frequency
- Added Frandom
- Backlight Dimmer
- Kcal v2
- Compiled with -O2
- Passing SafetyNet: GREEN
- Optimized functions
- Charge Control
- Boeffla Wakelock Blocker with predefined stuff
- Disabled FG wakelocks: update_sram, update_temp, memaccess, soc_work
- Default noatime mount flag
- Sound Control
- FingerPrint boost (it's not taking a lot of battery, but makes a difference at screen wakeup)
- Higher Slimbus frequencies to provide better sound quality (and truly it's working)
- Gentle Fair Sleepers, Arch Capacity interface
- Dynamic Sync Control 2.0
- USB OTG
- Alucard Hotplug
- IntelliThermal
- PowerSuspend
- Updated CPU boost
- Memory Compaction mechanism
Before you exit:
Don't get dishearten because of 'poor' features list. Main advantage of this kernel is upstream of many parts. Changes in Soda are chosen wisely, I implement thinks that are supposed to benefit. You don't need XYZ, you need Soda
Known issues:
Upstream:
None
Soda:
- Battery idle drain (investigation in progress)
- Speaker gain is broken
FAQ:
Could you add XYZ feature?
I will not add features I personally think are useless or unneeded. I can only promise I'll take it into consideration. If you're so single-minded about that just fork repo and pull request - I'll pick it gladly.
Could you upstream XYZ?
Ok, upstreaming is nice unless you fall into conflicts or totally new code structure. Don't expect me to update the kernel up to 4.13, haha! I'll keep in mind what you're asking me for, but if you're so desperate about this I'm waiting for pull request .
Why should I choose yours upstreamed version?
Don't expect it to change your Mi 5 into S7 edge =)
Think about like that - some time ago Google forked Linux kernel at version 3.18.31 and added their changes, then Qualcomm forked it and added their changes, then Xiaomi forked and added their changes. There are a lot of bugs, memory leaks and other bad stuff in here and probably nobody will take care about it... Oooch, except me! My aim is to keep the code as most up-to-date as possible - so without rewriting a half of proprietary drivers.
Does it make any sense?
In my opinion - yes.
Our phone will be more stable, not vulnerable to newest 0-days and hopefully a bit faster and battery friendlier. The key is bug-free optimized code; magical tweaks do not always take the first place in making a kernel better. As of my experience using upstreamed version gives more battery and smoothness!
"My phone freezees help meeee!!!!!!!11oneoneone..."
Description, logcat, kmesg or GTFO.
Could your changes damage my device?
I don't take any responsibility for broken devices, firing from work or nuclear wars. It's a hobby project maintained in my free time. I carefully pick up changes not to mess up anything and add features that are checked and provided to work correctly. There is a small range of cases when you can loose your phone completely, typically it will just freeze and reboot.
Where is version for MIUI and EAS?
MIUI won't be supported because Xiaomi haven't updated their repo for a long time. Building for MIUI would bring more problems than advantages.
EAS is in testing stage and will be released soon.
Remember to hit like button if you like my work as it motivates me a lot!
Play with it and post your experience please
Firmware:
Now I'm also providing updated firmware flashables.
You can easily download firmware packages from AFH .
Happy flashing!
Telegram:
I created Telegram Group where we talk about everything concerned with Android and kernels. Everyone is welcome!
--- Invite Link ---
Nightlies:
If you want to taste unreleased versions of Soda make sure to join my --- Telegram Channel --- where I post release candidates.
Donation:
I have spent lots of hours on debugging and feature adding. I'm developing this project in my free time but I put my heart and soul into it. I'll be glad to see you appreciate my work!
Buy me a coffee
Thanks to:
All LineageOS team @Lord Boeffla (aka andip71) @ZaneZam @bgcngm @frap129 #engstk @arter97 @jollaman999 @franciscofranco @TheCrazyLex
Special thanks to:
@mlira1 @SkiesOfAzel
XDA:DevDB Information
The Soda Kernel, Kernel for the Xiaomi Mi 5
Contributors
xNombre
Source Code: https://github.com/xNombre/android_kernel_xiaomi_msm8996
Kernel Special Features:
Version Information
Status: Stable
Created 2017-08-20
Last Updated 2017-12-15

The Soda-Upstream Kernel Changelog:
Code:
beta 1.0:
- initial release!
- upstreamed to v3.18.60
- upstreamed crypto section
version 1.1 (no beta anymore):
- upstreamed lib section (it includes a lot of optimizations done to the code)
- minor init fixes
- few block fixes
- updated ZRAM driver (with new LZ4 it's way much faster)
version 1.2:
- updated GCC from google's repo
- updated to linux 3.18.70
- updated cpuidle
- updated a bit in cpufreq
- updated devfreq
- [STRIKE]updated pseudofilesystems (like sysfs, proc etc.)[/STRIKE]
- updated Android drivers (a lot of changes)
- useless Adaptive LMK is removed
- updated sdcardfs
- merged LOS branch
version 1.2.1:
- BIG filesystems update (mainly pseudofilesystems)
version 1.2.2: --IT'S A HOTFIX---
- reverted a lot of crap
- fixed zram issues (need to be updated more carefully)
- minor updates in video, gpu
- minor updates in amba
- merged LOS tree
version 1.3:
- upstreamed to v3.18.84
- upstreamed with base
- updated android drivers (this time it's truly better)
- updated arm64 section
- own fix for broken mitigation task
- now you have stock freqs on 32gb model :)
- updated fs (up to 10% performance spike based on benchmarks)
- updated Linux scripts
- updates in net section (incomplete)
- kernel is now named soda :D
- updated GCC
- minor changes
version 1.3.1:
- fixed problems with F2FS
- fixed problem with kernel name unavailable
version 1.3.2:
- upstreamed with base (fixes potential touchscreen issues)
- upstreamed linux to 3.18.87
- updated AnyKernel2 (smaller package size)
The Soda Kernel Changelog:
Code:
beta 1.0:
- initial release!
- changes in config
- disabled CPU Boost
- disabled useless things
beta 1.1:
- added backlight dimmer
- added Kcal
- added Adreno Idler
- hard disabled CRC
- added frandom
- stock freqs on Mi5 Lite
- added blu active
- deleted LZO
- config changes
- based on newest Soda Upstream
beta 1.2:
- improved square root algo
- added FP boost
- SafetyNet: green
- improved imageblit func
- added parameter to change QC Fast Charge current
- added parameter to change charging current (900mA mod)
- added wakelock blocker
- added Sound Control
- added BL limits parameter
- default to noatime flag
- added Adreno Boost
- merged latest soda-upstream (with LOS changes)
- temporary fix for backlight dimmer (need more investigation)
- passing new flags to compiler
- updated toolchain
- disabled useless stuff in config
- less debugging more power
- higher freqs on slimbus
beta 1.2.1:
- FIXED high ram usage
- enabled bfq and cfq due to requests
- disabled useless wakelocks from FG
- updated blu_active
beta 1.3 (not released yet):
- rebased on top of upstream
added:
- Memory Compaction Mechanism
- Sound control ported to Xiaomi devices
- PowerSuspend
- Alucard Hotplug
- IntelliThermal
- Dynamic Sync Control
- updated and reenabled CPU boost
- removed log spamming
- changes in config (disabled useless things, added OTG support, enabled ondemand, wakelocks garbaging)
- fixed not working AudioFX!!
- tweaks to provide better battery life
- enabled arch capacity
- added knob to manipulate Gentle Fair Sleepers and Arch Capacity
- changed GPU initial power level
- fixed problems with temperature sensor
- introducing own Charging Control module
- minor changes
beta 1.3.1: (not released yet)
- fixed problems with battery drain (finally)
- changed toolchain to ?Linaro? 7.x
- refreshed compiler flags
- updated BFQ to v8r12
- disabled crap from compiling
- frandom is now utilized
- overall random api performance improvement
- c-state aware scheduler
- CFQ and BFQ compiled with hierarchical scheduling
- more silence

Reserved
How to tweak my kernel:
1. Charge control:
Path of all tunables is
Code:
/sys/kernel/fast_charge
You have 3 tunables as follows:
maximum_qc_current (DEFAULT: 2800) - it's very important one, its value controls QC3.0 charging current. Recently there are commons problems with screens and the assumption is that too high current causes that problem. Lowering the value would also make your battery's life longer!
force_fast_charge (DEFAULT: 0) - it's common known knob to force 900mA charging on unknown sources. I tweaked it a bit and now, if it's possible, driver will choose higher values depending on the source.
charge_limit (DEFAULT: 100) - it's very interesting one, its value controls maximum percentage of which your battery will be charged. After given limit charging will be stopped. Lowering this value could benefit in prolonged battery life as capacity wouldn't decrease that fast. Scientific researches recommend charging your battery to 80%.
3.Sound control:
You can tweak it using Kernel Adiutor.
4.Sched features:
I would like to resolve doubts connected with Arch Power. On kernel v3.18 there isn't such a feature. Cherry-picking old interface doesn't change anything in fair scheduler, the only thing you see is magic switch which does... nothing. Our kernel has feature named Arch Capacity which is *let's say* correspondent to previous one so I created two tunables - arch_capacity and arch_power. These are mirrored values so now you can enable/disable it in KA as known Arch Power but please remember that you're changing arch_capacity in fact.
My recommendation is to disable Gentle Fair Sleepers because you can save battery a bit.
You can also tweak it using Kernel Adiutor.

miui support please...

Aosp support ?

Did you add somes cpu governor ? And for you which its the best to have a better battery
Envoyé de mon MI 5 en utilisant Tapatalk

Aleluya! Not much kernel variety on our mi 5, pretty thanks I will test it early dev
cheers

Download link (I've found it, but it would be better in the description)? Governors? SOT?

Great news Sir,
I hope soon we could have good costum kernel with great stability and compability with newer rom.
I wish you could support AOSP based rom too

radnou974 said:
Did you add somes cpu governor ? And for you which its the best to have a better battery
Envoyé de mon MI 5 en utilisant Tapatalk
Click to expand...
Click to collapse
I just started Soda developing so you have to wait sometime for custom tweaks.
According to governors I think the most important thing is to configure it nicely, sth like AKT or GovTuner does. Stock interactive is good.
hans william said:
Great news Sir,
I hope soon we could have good costum kernel with great stability and compability with newer rom.
I wish you could support AOSP based rom too
Click to expand...
Click to collapse
AFAIK AOSP is based on LOS sources, it should work correctly

But some time it doesn't work properly on AOSP based rom, I used DragonXia as default kernel on every rom I flashed, but lately with latest release rom it's doesn't stable.
I hope you could made manually setting on/off the CPU core for better battery life, as hotplugging not save much battery life.
Overclocking was great too
I will test yours beta kernel right now Sir

CPU 0 and CPU 1 are stuck at 1593MHz.
Edit:
It seems like a restart solved it.
Edit2:
setting io scheduler to noop causes freeze.

abyssq said:
Edit2:
setting io scheduler to noop causes freeze.
Click to expand...
Click to collapse
On my phone everything works correctly.
Try typing in terminal/adb:
su
echo noop > /sys/block/sda/queue/scheduler
cat /sys/block/sda/queue/scheduler
If it says noop it's working...

xNombre said:
On my phone everything works correctly.
Try typing in terminal/adb:
su
echo noop > /sys/block/sda/queue/scheduler
cat /sys/block/sda/queue/scheduler
If it says noop it's working...
Click to expand...
Click to collapse
Yes it's working now. The test-iosched scheduler caused the problem.

will you add miui 9 support? miui lack of custom kernel support. thanks for dev gemini kernel.

which features does it have? quick charge? eas ?

"disabled CPU Boost" this is real great, i guess you know what i want. waitinng for a more stable realese and then give it a try

I pushed a first beta of Soda kernel. I added a few useful features, but battery usage reduction should be significant. Try it on your own

Thanks for your work! I will try and report back when possible.

Poor scores

Related

[KERNEL] [INT'L][TW/GE/AOSP - 5.1/5.0/4.4][18/05/2015] Alucard-Kernel-SGS4 - Stweaks

{
"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"
}
Alucard SGSIV Kernel's for GT-I9505
...works with TW KK, Google Edition KK and AOSP ROM's...​
[Introduction]:
These kernel's are built from CyanogenMod KK branch and Samsung KK sourcecode!
CPU UV is supported by STweaks integrated app. CPU OC is not supported.
The kernel can be used with the old and new bootloader and should fix random reboots on Google Edition ROM.
>>>>>>>>>> CM12.1 <<<<<<<<<<
Kernel-Alucard-V1.3ba For 5.1/5.1.1 NEW-CM12.1 version (CM12.1 2015/05/13 AND LATER ONLY)
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.3b For 5.1/5.1.1 AOSP version (CM12.1 before 2015/05/13 or OPTIMIZED CM12.1)
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.3a For 5.1/5.1.1 AOSP version
Kernel-Alucard-V1.X (AFH Mirror)
>>>>>>>>>> CM12.0 <<<<<<<<<<
Kernel-Alucard-V1.1a For 5.0 AOSP version
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.0e For 5.0 AOSP version
Kernel-Alucard-V1.0e-[16-47]-[06-12]-AOSPV2-EUR-LP5.0-SGIV-PWR-CORE.zip (MEGA Mirror)
>>>>>>>>>> AOSP V2 (for AOSP ROMs after 06 August 2014, included CM11 M10) <<<<<<<<<<
Kernel-Alucard-V1.4r For 4.4 AOSP V2 version
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.4qs For 4.4 AOSP V2 version
Kernel-Alucard-V1.4qs-[23-08]-[01-12]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
Kernel-Alucard-V1.4q For 4.4 AOSP V2 version
Kernel-Alucard-V1.4q-[20-56]-[19-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
Kernel-Alucard-V1.4pb For 4.4 AOSP V2 version
Kernel-Alucard-V1.4pb-[20-18]-[11-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V1.4pb-[20-18]-[11-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 403d0069fc2041605cedad0422b29cb0
Kernel-Alucard-V1.4ocm For 4.4 AOSP V2 version
Kernel-Alucard-V1.4ocm-[00-22]-[09-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V1.4ocm-[00-22]-[09-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 95bbb95dfc6b07b24dece5183c1c483f
>>>>>>>>>> GE <<<<<<<<<<
Kernel-Alucard-V1.1a For 5.0 LolliPop
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V2.4d For 4.4 Google Edition
Kernel-Alucard-V2.4d-[21-05]-[11-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.4d-[21-05]-[11-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 40433965298c861fd45ee413a06caae2
Kernel-Alucard-V2.4a For 4.4 Google Edition [BETA]
Kernel-Alucard-V2.4a-[00-01]-[03-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.4a-[00-01]-[03-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (Mediafire Mirror)
MD5 Sum: 1cde545ee25fd5c2bf4008cf6cefd353
>>>>>>>>>> TW <<<<<<<<<<
Kernel-Alucard-V2.3ga For 4.4 TW version
Kernel-Alucard-V2.3ga-[20-41]-[11-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.3ga-[20-41]-[11-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 226b2924cd5be721a8b859a3d74c3863
Kernel-Alucard-V2.3g For 4.4 TW version
Kernel-Alucard-V2.3g-[00-32]-[09-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.3g-[00-32]-[09-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: beb2c9adba5377f997fb818f636b73a8
>>>>>>>>>> AOSP V1 (for AOSP ROMs up to 06 August 2014, included CM11 M9) <<<<<<<<<<
Kernel-Alucard-V2.7.2a For 4.4 AOSP version (Obsolete)
Kernel-Alucard-V2.7.2a-[23-02]-[03-09]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.7.2a-[23-02]-[03-09]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Mediafire Mirror)
MD5 Sum: bbbee2a886f0e7ffd35efe2541411325
Kernel-Alucard-V2.7.1 For 4.4 AOSP version (Obsolete)
Kernel-Alucard-V2.7.1-[14-57]-[19-08]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.7.1-[14-57]-[19-08]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Mediafire Mirror)
MD5 Sum: 830d9533221fc335b2df5698bd8e8eac
>>>>>>>>>> <<<<<<<<<<
Antutu Benchmark (Default Profile):
Quadrant benchmark (Default Profile):
If you like my work, donate with this link:
http://forum.xda-developers.com/donatetome.php?u=4899086
Thread for sharing personal profiles: (Thanks to Jimsilver73, Kantjer, FlanjeUK ......)
http://forum.xda-developers.com/showthread.php?t=2724905
OFFICIAL ALU TEAM TESTERS: smeroni68, Jimsilver73, franzyroy, ronnie498
XDA:DevDB Information
Alucard SGSIV Kernel for GT-I9505, Kernel for the Samsung Galaxy S 4
Contributors
alucard_24, smeroni68, Jimsilver73, franzyroy, ronnie498, AntaresOne
Kernel Special Features:
Version Information
Status: Testing
Current Beta Version: AOSPV2 v1.4pb
Beta Release Date: 2014-11-11
Created 2014-10-06
Last Updated 2014-11-21
Reserved
(CM12.1 ROM LOLLIPOP VERSION):
Code:
Based on my-aospv2-5.1 kernel
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-aospv2-5.1[/url]
Linux version: 3.4.0
v6.1 - 18/05/2015 (Kernel-Alucard-V1.3ba)
cpu governors and hotplug governors updates!
Selinux updates! Thanks to @dorimanx.
General performance improvements!
PS. It works only for CM12.1 roms 2015/05/13 or later!
v6 - 18/05/2015 (Kernel-Alucard-V1.3b)
cpu governors and hotplug governors updates!
Selinux updates! Thanks to @dorimanx.
General performance improvements!
PS. It works only for CM12.1 roms before 2015/05/13 or OPTIMIZED CM12.1!
v5 - 09/05/2015 (Kernel-Alucard-V1.3a)
Upgraded to linux v.3.4.107
A tons of changes regarding FS, NET, CPUFREQ, MM, USB, MACH-MSM, CPU GOVERNORS, HOTPLUG GOVERNORS, ALUCARD TOUCHBOOST, PROFILES, SCRIPTS etc.....
New STweaks version made by @-+BB+- . He works in my/our group
If someone has battery drain problems caused by Google Play Service bug, he should make active an option on STweaks, "OTHER" tab, called googleplayservicefix.....
(Thanks to @dorimanx)
PS. Kernel works on Unofficial and Official CM12.1 :)
(CM12.0 ROM LOLLIPOP VERSION):
Code:
Based on my-aospv2-4.4 kernel
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-aospv2-5.0[/url]
Linux version: 3.4.0
v5 - 15/02/2015 (Kernel-Alucard-V1.1a)
Upgraded to linux v.3.4.106
A tons of changes regarding FS, NET, CPUFREQ, MM etc..... (Thanks to @dorimanx)
BT updated(CM kernel)
PS. Kernel works on Unofficial and Official CM12 :)
v4 - 09/12/2014 (Kernel-Alucard-V1.0f)
alucard, nightmare, darkness governors optimization.
PS. Next AntaresOne release should include this kernel.
I have created new account on AFH, so all last and newer kernels will be uploaded there :)
v3 - 06/12/2014 (Kernel-Alucard-V1.0e)
Upgraded kernel to linux 3.4.105.
Optimized alucard_hotplug.
Improved battery consuming. More than 50% less in deepsleep.
Disabled manually phone wakup by pressing touchkey(BACK, MENU) also when phone is charging!!! So no stress for me anymore :)
v2 - 01/12/2014 (Kernel-Alucard-V1.0d)
optimized alucard hotplug governor.
updated ramdisk to latest @antaresone build.
general optimizations.
PS. Menu and Back touch keys that wake up phone is no related to my kernel. It is a lollipop functionality for Nexus, anyway @AntaresOne will remove it with new build.
v1 - 21/11/2014 (Kernel-Alucard-V1.0b) [BETA]
All last AOSPV2 changes.
Fixed radio part. Big Thanks to @AntaresOne.
PS. I am really glad to have a new contributor working with us. His name is @AntaresOne.
(GE ROM LOLLIPOP VERSION):
Code:
Based on official AOSPV2 5.0 kernel:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-ge-5.0[/url]
Linux version: 3.4.0
v1 - 17/12/2014 (Kernel-Alucard-V1.1a)
It contains all changes of my CM12 kernel.
Sensors fixed.
(GE ROM KITKAT VERSION):
Code:
Based on official samsung kernel version NB8:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-tw-4.4[/url]
Linux version: 3.4.0
v14 - 11/11/2014 (Kernel-Alucard-V2.4d)
Fixed a bug regarding FS SYNC by @Dorimanx. Big Thanks to him
Imported QUICK_WAKEUP module. It give us battery saving during suspend phase and faster wakeup.
Huge updates regarding FS. Big thanks to @dorimanx.
Slimbus overclock to enhance audio quality......
Performance improved.
v13 - 02/11/2014 (Kernel-Alucard-V2.4a)
Look at AOSPV2 Kernel changelog (ver. 1.4oc)
v12 - 05/09/2014 (Kernel-Alucard-V2.2a)
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
General performace optimizations.
Imported bluetooth drivers from CAF.
It is absolutely recommended to delete /data/.alucard folder before flashing.
v11 - 19/08/2014 (Kernel-Alucard-V2.0)
look at AOSP V2 Changelog :)
v10 - 13/08/2014 (Kernel-Alucard-V1.9c)
Same changes of AOSP Kernel ver 2.7.0b.
Fixed IR. There was a file permission wrong in Ramdisk. Now it works well.
Compiled with new Linaro 4.9 2014-08 compiled by [user=2376110]@dorimanx[/user] with optimization flags. It works very well.
Thanks to @HATrED_ for testing :)
v9 - 10/07/2014 (Kernel-Alucard-V1.8)
Same changes of AOSP Kernel ver 2.6.9.
Upgraded to Linux v.3.4.98
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Tune Kernel Flags after checking with GccOptimizationTests. It seems to provide 4~7% boost in cpu performance. Thanks to [user=2376110]@dorimanx[/user]
Enabled config_cma.
Implement optimized percpu variable access.
Optimized mm.
General performance increment.
Compiled with latest Sabermod 4.9.1(compiled by [user=3306843]@kantjer[/user]). Thanks to him.
PS. Delete folder /data/.alucard before flashing new kernel.
v8 - 14/06/2014 (Kernel-Alucard-V1.7f)
Upgraded to Linux v.3.4.93
Optimized cpu governors (alucard, nightmare, darkness, ondemand, interactive)
Optimized hotplug governors (Alucard_hotplug, intelliplug, MSM_Hotplug)
Optimized cpuboost
Made faux sound control configurable by stweaks. (NEW for GE & TW Kernel)
Enhanced AC/USB Fastcharger and made it configurable by stweaks. Thanks to [user=4325945]@ktoonsez[/user] (NEW for TW Kernel)
Imported LED control and made it configurable by stweaks. Thanks to [user=1546289]@googy[/user]anas. (NEW for AOSP & TW Kernel)
Removed cpu hotplugging (SLEEP) tab on stweaks. It was not so useful.
Removed cpu tuning(SLEEP) tab on stweaks. It was not so useful.
IR should be fixed on GE Kernel for GE 4.4.3 Roms.
Charging animation when phone is turned off works on TW, GE, AOSP Kernel.
GE, TW, AOSP kernels are aligned among them. They contain the same features :)
Imported many commits for SMP, MM, timers etc parts.
Many changes have been done on settings so delete /data/.alucard before flashing the new kernel.
.............................
(TW ROM KITKAT VERSION):
Code:
Based on last TW KK official kernel:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-tw-4.4[/url]
Linux version: 3.4.0
v15 - 11/11/2014 (Kernel-Alucard-V2.3ga)
Enabled USB_SAMSUNG_ANDROID_SIDESYNC trying to help some unlucky users for MTP not working. My testers reported that MTP works well. So you all have some problem again, try to fix PC drivers.
Fixed a bug regarding FS SYNC by @Dorimanx. Big Thanks to him
Imported QUICK_WAKEUP module. It give us battery saving during suspend phase and faster wakeup.
Huge updates regarding FS. Big thanks to @dorimanx.
Slimbus overclock to enhance audio quality......
Performance improved.
v14 - 09/11/2014 (Kernel-Alucard-V2.3g For 4.4 TW version)
Fixed permission for int/ext sdcard. Now it works properly.
Huge FileSystem Updates. BIG Thanks to @dorimanx
PM and Suspend updates. BIG Thanks to @dorimanx
Performance improvements.
v13 - 02/11/2014 (Kernel-Alucard-V2.3f For 4.4 TW version)
Look at AOSPV2 Kernel changelog (ver. 1.4oc)
v12 - 23/10/2104 (Kernel-Alucard-V2.3a For 4.4 TW version [BETA])
Kernel based on my AOSPV2 Kernel.
All of last AOSPV2 kernel change.
Updated SCHED.
Optimized all cpu governors.
Optimized alucard hotplug governor.
Optimized all stweaks profiles.
Improved general performance.
v11 - 04/09/2014 (Kernel-Alucard-V2.1a
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
General performace optimizations.
It is absolutely recommended to delete /data/.alucard folder before flashing.
v10 - 19/08/2014 (Kernel-Alucard-V1.9)
Look at AOSP V2 Changelog.
v9 - 13/08/2014 (Kernel-Alucard-V1.8a)
Same changes of AOSP Kernel ver 2.7.0b.
Compiled with new Linaro 4.9 2014-08 compiled by [user=2376110]@dorimanx[/user] with optimization flags. It works very well.
v8 - 10/07/2014 (Kernel-Alucard-V1.7)
Same changes of AOSP Kernel ver 2.6.9.
Upgraded to Linux v.3.4.98
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Tune Kernel Flags after checking with GccOptimizationTests. It seems to provide 4~7% boost in cpu performance. Thanks to [user=2376110]@dorimanx[/user]
Enabled config_cma.
Implement optimized percpu variable access.
Optimized mm.
General performance increment.
Compiled with latest Sabermod 4.9.1(compiled by [user=3306843]@kantjer[/user]). Thanks to him.
PS. Delete folder /data/.alucard before flashing new kernel.
..............
(AOSP VER. 2 ROM KITKAT VERSION):
Code:
Based on last AOSP official kernel:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-aospv2-4.4[/url]
Linux version: 3.4.0
v12 - 09/12/2014 (Kernel-Alucard-V1.4r)
Look at AOSPV5 changelogs :)
v11 - 01/12/2014 (Kernel-Alucard-V1.4qs)
optimized alucard hotplug governor.
general optimizations.
v10 - 19/11/2014 (Kernel-Alucard-V1.4q)
Upgraded workqueue to 3.9Y
Alucard cpu governor optimization.
Cpufreq updates.
Restored some changes for LMK and MM OOM.
Removed I/O scheduler configurable deepsleep mode. It was useless.
General performance increased.
v9 - 11/11/2014 (Kernel-Alucard-V1.4pb)
Fixed a bug regarding FS SYNC by @Dorimanx. Big Thanks to him
Imported QUICK_WAKEUP module. It give us battery saving during suspend phase and faster wakeup.
Huge updates regarding FS. Big thanks to @dorimanx.
Slimbus overclock to enhance audio quality......
Performance improved.
v8 - 09/11/2014 (Kernel-Alucard-V1.4ocm)
Huge FileSystem Updates. BIG Thanks to @dorimanx
PM and Suspend updates. BIG Thanks to @dorimanx
Performance improvements.
v7 - 02/11/2014 (Kernel-Alucard-V1.4oc)
Huge updates regarding "alarm". We have replaced rtc alarm system with a new one. it gives more battery saving during suspend. Thanks to @neobuddy89
BFQ I/O scheduler updated.
Alucard cpu governor tuned. We have two new parameter configurable on stweaks. CPUS_UP_RATE, CPUS_DOWN_RATE.
Alucard hotplug governor enhanced.
Updated SCHED, OOM.
Reverts some changes for LMK. Thanks to @dorimanx
Disabled CMA MEMORY RESERVED. It is useless. Now we have 16MB ram free. Thanks to @dorimanx
Some minor bugfixing.
Improved battery saving on suspend.
General performace improvements.
PS. Thanks to my official testers :)
v6 - 19/10/2014 (Kernel-Alucard-V1.4m)
Fixed msm_thermal control.
General bug fixing on some module.
Imported new wifi drivers from cm kernel but they don't solve wifi bug.
Patched BT drivers. Now BT works like a charm.
Optimized alucard, darkness, nightmare, ondemand cpu governors.
Updated msm_hotplug, alucard_hotplug.
Implemented new module(ALU-T-BOOST) for touch boosting. it is based on cpuboost and it can boost a parametrizable nr of cpus during touching.
Optimized alucard_hotplug and alucard cpu gov sampling time.
Updated Ramdisk scripts. Thanks very much to [user=2376110]@dorimanx[/user].
Fixed a bug on LMK module. Thanks very much to [user=2376110]@dorimanx[/user].
General performance increased!
Added synapse apk into zip flash kernel package. Implemented some status functionalities....... maybe it will replace stweaks in the future...
Thanks to @AndreiLux, [user=2376110]@dorimanx[/user], [user=3795148]@neobuddy89[/user]
PS. we a new official tester. His name is Jimsilver73.
Huge thanks to my official testers(@smeroni68, @jimsilver73) for very good job in testing kernel.
v5 - 04/10/2014 (Kernel-Alucard-V1.4h)
*Merged CPUFREQ fixes that improve performance.
*Merged updates for CPUFREQ and SCHED CORE code.
*Merged HUGE update to Power Manager and QOS Code.
*Replaced old Early Suspend with Power suspend. I am the first one to import this feature for S4. Thanks to [user=3795148]@neobuddy89[/user] and [user=2376110]@dorimanx[/user] for their code.
*Removed DYNAMIC FSYNC. It could cause kernel panic if used with ASYNC FSYNC.
I/O. Performance are reduced but stability is improved :)
*Merged HUGE update to CPUIDLE code.
*Merged HUGE update to Kernel IRQ distribution Domain.
*Merged HUGE update to FileSystem code and Kernel System code.
*Merged NET code update.
*Tuned MSM and Intelli HotPlugs.
*Fixed stuck SuperSU service on boot.
*Added new control to STweaks, that allow to use faster kernel workqueue or more power saver.
*Updated with 3.4.104 main line patches.
*Updated MSM RQ STATS code to better support Default HotPlug
*Merged HUGE update to CPUIDLE code that responsible for CPU sleep and power up on need from IDLE to full power and fast back to idle. Code is very complicated and many bugs are fixed with this huge port from 3.10.y tree.
*Merged HUGE update to Power Mode Domains, this code responsible for powering down drivers on deepsleep and waking them on wakeup.
Many bugs are fixed and many new things added that make this code a lot faster and safe.
*Merged updates to persistent RAM driver.
*Merged code updates to SCHED CORE.
*Merged performance boost code for Cortex A15 CPU that we have!
*Merged serious update from TEGRA 3.10.y kernel for CPUIDLE relaxation. This code will help to save power when CPU is not loaded, so kernel will idle much better and not looping useless CPU cycles. when there is nothing to do.
*Merged SMP and Unalligned patches to speed up the code process.
*Merged CGROUP protection patch.
*Merged updates to Qseecom driver.
*Merged updates to MMC driver. We have new MMC code now.
*Merged latest Seccomp driver.
*Merged updates to android binder.
* Performace improved a lot!
Thanks to [user=2376110]@dorimanx[/user] for part of his changelog. :)
v4 - 20/09/2014 (Kernel-Alucard-V1.4e) [BETA]
Optimized suspend code. (I hope that it fix reboot problem for other users. All works well for me :)
Optimized msm_hotplug.
Optimized msm_rq_stats, needed for msm_mpdecision working.
Optimized blueetooth drivers. Now it doesn't consume battery when phone is in sleep mode and bluetooth is enabled. I tested also exchanging files via bluetooth and all worked well.
Reduced thermal limit temperature to 70°C. So it is sure that phone doesn't reboot while antutu testing....
Some general fixes.
General performance improvements.
It is recommended to delete /data/.alucard folder before flashing new kernel.
PS. Remember this kernel is only for New CM ROM type.
v3 - 11/09/2014 (Kernel-Alucard-V1.4b)
Reverted WORKQUEUE 3.8y updates. They could cause some reboots for someone.
Updated F2FS drivers.
Completely merged with NEW CM KERNEL.
Compiled with Christopher GCC 4.9.2. Thanks to him.
Now we have a new official TESTER for AOSPV2 kernel. His name is @smeroni68. Thanks to him.
Thanks also to @davtse for kernel testing.
v2.2 - 01/09/2014 (Kernel-Alucard-V1.3d)
Added gamma control.
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
General performace optimizations.
It is absolutely recommended to delete /data/.alucard folder before flashing.
PS. Please don't ask porting all of these changes for other roms. I have worked for so many days and I need to have long period of relaxing :)
For all users that continually ask for new changes..... I develop for fun and try port what I think it is necessary.......
Sometime I try to make also happy some users accepting to implement good changes, but It's me that decide to do this.
v1 - 19/08/2014 (Kernel-Alucard-V1.0c)
Added intelliactive cpu governor.
Added slim cpu governor.
Optimized msm_rq_stats for MPDecision.
Added loki_doki binaries(Only for AOSP and AOSP V2). Kernel can be flashed on other S4 devices different from I9505.
Upgraded bluetooth drivers. Let me know if music stutter again or if change something.....
Added io_is_busy parameters for all cpu governors. It can be configured by STweaks.
Added io_is_busy called hp_io_is_busy for all hotplug governors. It can be configured by STweaks.
Added hotplug_suspend parameters for all hotplug governors. It allow to hotplug governor not to suspend.
Hotplug governor can't be suspended when screen is off by default. Change it if you want.... instead, by STweaks.
Updated cpuboost.
Updated intelli_plug, msm_hotplug.
General performance increased.
Updated Ramdisk. Thanks to [user=2376110]@dorimanx[/user]
Compiled by Linaro 4.9.2 toolchain (by Dorimanx)
For AOSPV2 Kernel (it works with new CM. No RR :) )
..............
(AOSP ROM KITKAT VERSION):
Code:
Based on CM 11.0 official version:
[url]https://github.com/CyanogenMod/android_kernel_samsung_jf/tree/cm-11.0[/url]
Linux version: 3.4.0
v35 - 03/09/2014
Added gamma control.
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
Added support for MIUI v5 KK.
General performace optimizations.
It is absolutely recommended to delete /data/.alucard folder before flashing.
v34 - 19/08/2014 (Kernel-Alucard-V2.7.1)
Look at AOSP V2 changelog.
v33 - 14/08/2014 (Kernel-Alucard-V2.7.0d)
Upgraded to Linux v.3.4.103
Optimized interactive governor. Thanks to [user=3795148]@neobuddy89[/user].
Fixed MSM MPDecision hotplug. Now all cores work well when system is resumed from suspended state.
Fixed Default MSM Thermal that should work for all hotplug governors and cpu governors.
Compiled with new Linaro 4.9 2014-08 compiled by [user=2376110]@dorimanx[/user] with optimization flags. It works very well.
v32.1 - 10/08/2014 (Kernel-Alucard-V2.7.0b)
Reverted new MSM GPU drivers imported from official CM Kernel. They caused phone rebooting for someone.
Upgraded to Linux v.3.4.102
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Optimized alucard governor.
Optimized interactive governor.
Optimzed Intelliplug, alucard_hotplug, MSM_hotplug hotplug governor.
BIG Patch regarding sched, rcu. Overall smothness is improved. Thanks to [user=3795148]@neobuddy89[/user], [user=2376110]@dorimanx[/user].
Updated CMA, ARM, MM, Random, CPUFREQ, cpuboost, kernel time etc parts. (about 500 commits including sched patch)
Optimized F2FS part. I took last changes from CM kernel.
Implemented new api function to easy configure scaling_min_freq, scaling_max_freq, scaling_governor for each cpu. Now we can set different governor, min/max frequency for each cores using Stweaks.
Imported script updates from Kantjer Ramdisk branch. Thanks to [user=3306843]@kantjer[/user]. (OFF TOPIC: I find out that you are swedish.... I worked in Gothenburg last year for six Months. I like sweden :))
General performance increment.
Many changes on Profiles so It is absolutely recommended to delete /data/.alucard folder before flashing new kernel.
PS. Kernel is not compatible with new CM Nightly rom because I need to patch kernel again. I don't know if I have to start from zero again using last cm kernel and patching all my commits.(about 3000 commits) or merge only new parts. It will take alot of time.
v31 - 10/07/2014 (Kernel-Alucard-V2.6.9b)
Upgraded to Linux v.3.4.98
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Tune Kernel Flags after checking with GccOptimizationTests. It seems to provide 4~7% boost in cpu performance. Thanks to [user=2376110]@dorimanx[/user]
Enabled config_cma.
Implement optimized percpu variable access.
Optimized mm.
General performance increment.
Compiled with latest Sabermod 4.9.1(compiled by [user=3306843]@kantjer[/user]). Thanks to him.
PS. if you come from last 2.6.9 AOSP kernel, you don't need to delete /data/.alucard folder.
v30 - 05/07/2014 (Kernel-Alucard-V2.6.9)
Upgraded to Linux v.3.4.96
Optimized cpu governors (alucard, nightmare, darkness, ondemand, interactive)
Added pump_inc_step_at_min_freq for alucard_governor.
Made Pump_inc_step_at_min_freq, pump_inc_step and pump_dec_step configurable differently on every cpu by stweaks. Increased also freq for responsiveness to 1134000.
Optimized hotplug governors (Alucard_hotplug, intelliplug, MSM_Hotplug)
Optimized cpuboost
Patched sched, mm, kernel time parts.
Added arch_power configurable by stweaks. (it is on by default)
Reverted commit on sched that caused audio problem when phone is in sleep mode.
Increased default maxcoreslimitsleep to 2 cores and increased scaling_max_freq_sleep to 1242000.
Imported general kernel commits.
Many changes have been done on settings so delete /data/.alucard before flashing the new kernel.
v29 - 14/06/2014 (Kernel-Alucard-V2.6.8)
Upgraded to Linux v.3.4.93
Optimized cpu governors (alucard, nightmare, darkness, ondemand, interactive)
Optimized hotplug governors (Alucard_hotplug, intelliplug, MSM_Hotplug)
Optimized cpuboost
Made faux sound control configurable by stweaks. (NEW for GE & TW Kernel)
Enhanced AC/USB Fastcharger and made it configurable by stweaks. Thanks to [user=4325945]@ktoonsez[/user] (NEW for TW Kernel)
Imported LED control and made it configurable by stweaks. Thanks to [user=1546289]@googy[/user]anas. (NEW for AOSP & TW Kernel)
Removed cpu hotplugging (SLEEP) tab on stweaks. It was not so useful.
Removed cpu tuning(SLEEP) tab on stweaks. It was not so useful.
Charging animation when phone is turned off works on TW, GE, AOSP Kernel.
GE, TW, AOSP kernels are aligned among them. They contain the same features :)
Imported many commits for SMP, MM, timers etc parts.
Many changes have been done on settings so delete /data/.alucard before flashing the new kernel.
v28.1 - 05/06/2014 (Kernel-Alucard-V2.6.7la)
Optimized alucard_hotplug, msm_hotplug, intelli_plug.
Optimized alucard, ondemand cpu governors
Optimized cpuboost.
Enhanced FAST CHARGE and made configurable on stweaks. Many options.... :) Thanks to Ktoonsez.
Added Sound Control configurable on Stweaks. Thanks to googyanas. FIXED BY ME :) Headphon PA Gain has been restored to 12 as default. For people that need more power, change it to 20 :)
Fixed charging when phone is turned off. Pressing power to restart phone when it is turned off and connected to AC/USB cable doesn't cause animation loop. TO Restart phone is necessary to hold power button pressed for 2-3 sec. :)
USB HID Keyboard and mouse is restored. It works properly, I have already tested :):)
Added HYBLA as TCP congestion control. Thanks to Kantjer.
General performace increment.
Improved battery consuming (just a bit more) in sleep mode.
DELETE /data/.alucard before flashing new kernel. I have done many changes to profiles. :)
v27 - 31/05/2014 (Kernel-Alucard-V2.6.7g)
Optimized mm.
Optimized sched.
Enabled VMALLOC_SAVINGS by default.
Optimized alucard, darkness, nightmare, ondemand, interactive cpu governors.
Optimized cpuboost.
Optimized alucard_hotplug govenor.
Optimized intelli_plug governor.
We have a new hotplug governor called "msm_hotplug". It is very good and it can be enabled by stweaks. Thanks to [user=2376110]@dorimanx[/user], [user=3795148]@neobuddy89[/user]
Added tcp congestion control configurable by stweaks. Default is cubic.
Added sched_mc_powersaving configurable by stweaks. Default was 2 but now can be configured.
Added gentle fair sleepers configurable by stweaks.
Removed useless cortex tcp, tcp_ram, ipv6 options.
Fixed a bug in cortex awake/sleep switching. Thanks to [user=2376110]@dorimanx[/user].
Now all settings show "kHz" as unit instead of MHz/Hz in stweaks. Thanks to [user=4129455]@Formhault[/user]
Now Cifs can be enabled and should work. Thanks to [user=2376110]@dorimanx[/user].
Removed "CM" profiles overwriting for who use CM ROM with my kernel.
Added two push buttons on stweaks. 1) My XDA thread kernel link. 2) Donation link :)
General performance improvements.
PS. DELETE /data/.alucard folder before flashing new kernel.
v26 - 24/05/2014 (Kernel-Alucard-V2.6.7a)
Upgraded to Linux v.3.4.91
Removed 162, 270 Mhz step frequency. They were useless.
Removed ZRAM, ZCACHE and ZSMALLOC. We have 2gb ram, so we don't care.....
Optimized all cpu governors.
Optimized alucard hotplug governor.
Optimized intelli-thermal.
Set ROW I/O scheduler as default.
Include tcp congestion control in the kernel but it is not configurable on stweaks. Maybe in the next release :)
Use phone as USB KEYBOARD/MOUSE(Thanks to [user=2376110]@dorimanx[/user]):
Base project: [url]https://github.com/pelya/android-keyboard-gadget[/url]
Required app: [url]https://play.google.com/store/apps/details?id=remote.hid.keyboard.client[/url]
Steps:
* Start ADB Debugging
* Start app
* Connect device to system via USB cable
Known minor issue[OLD BOOTLOADER]: Phone can charge when is off, animation is visible but it is necessary to unplug cable and press power for phone booting.
DELETE /data/.alucard before flashing new kernel (Recommended)
UPDATE: [Compiled with new SaberMod 4.8.3 with O3 and all other optimization flags + hard float flag]
v25 - 18/05/2014 (Kernel-Alucard-V2.6.6o)
Upgraded to linux 3.4.90 version.
Imported about 300 commit regarding sched and mm. General performance improved.
Optimized all cpu governors and alucard_hotplug governor.
Removed DVFS touch interface and replace with CPU BOOST. Parameters are configurable on stweaks.
Phone is now much more fast and smooth.
PS. It is recommended to delete /data/.alucard before flashing.
Thanks to Jimsilver73 for testing:)
v24 - 12/05/2014 (Kernel-Alucard-V2.6.6mm [ OFFICIAL TEST]
Upgraded to linux 3.4.89 version.
Alucard_hotplug optimized. Added new parameters for tweaking.
Optimized my cpu governors. Use Power Efficient workqueue.
Adjusted sampling rate for all governors. Thanks to Dorimanx.
Corrected some descriptions. Thanks to Kantjer, FlanjeUK and Jimsilver73.
Removed cpu governor switching during sleep phase.
Phone is smoother and faster than previous version.
Battery consuming should be better during awake phase.
v23 - 07/05/2014 (Kernel-Alucard-V2.6.6m
Compiled with Sabermod 4.10 O3 flags.
Optimized dvfs touch interface. Inserted descriptions. Thanks to Kantjer.
Corrected some descriptions in stweaks. Thanks to Kantjer.
Corrected switching governor during awake/sleep mode.
Changed gpu clk reset rate 1800000 to 27000000(Default). Solved graphical glitches for some games like PVZ2.
v22.2 - 1/05/2014 (Kernel-Alucard-V2.6.6lb [ 1: Compiled with SaberMod 4.10 O3 flags ]
Now we can support cache, data and system as f2fs file system. We can use one or two or all three of them. Many thanks to dorimanx for precious command for identifying partition type without mounting.
UPDATE: Fixed f2fs partition mounting. I tested on last official cm 11.0 ROMS.
v22 - 29/04/2014 (Kernel-Alucard-V2.6.6l [ 1: Compiled with SaberMod 4.8.3 O2 flags | 2: Compiled with SaberMod 4.10 O3 flags ]
Two version compiled with 2 different compiler. You all can test them and let me know which is the best.
Upgraded to linux 3.4.88 version.
Updated BFQ I/O Scheduler.
Optimized Alucard_hotplug governor.
Implemented cpufreq_limit_manager module for limitting frequency when suspended, on call or gps using.
OLD bootloader charging half solution. Phone can charge (as before) and % is visible but it is necessary to unplug AC charger cable and press power as a normal boot.
Improved battery consuming in sleep mode.
Improved performance just a bit more.
Implemented f2fs, ext4 partition detecting during phone boots. Kernel automatically mounts the proper partitions when EXT4 or F2FS... It always necessary a recovery custom for formatting and obviously "cache" and "data" partitions must be formatted as well. (In the future when a recovery supports both filesystem formatting, you don't need to re-flash kernel).
v21- 21/04/2014 (Kernel-Alucard-V2.6.6f)
Optimized alucard_hotplug and intelli_plug hotplug governors for memory consumptions and performance overall.
General performance overall
Fixed Stweaks app that show "Unexpected error" message. It wasn't an error just a textbox on its background. I also fixed cancelling progress dialog delay that show that message.
Compiled kernel with Sabermod GCC 4.8.3. It seems a bit faster and smoother.
Fixed restoring profiles. [NEW]
v20- 16/04/2014 (Kernel-Alucard-V2.6.6da)
Upgraded to linux 3.4.87 version.
Optimized alucard_hotplug.
v19- 13/04/2014 (Kernel-Alucard-V2.6.6c)
Fixed freezes removing optimzed percpu timer commit.
Updated cpu timing function from Linux 3.14.
Updated kernel smp and cpu parts.
Updated driver cpuidle part.
Imported F2FS. Now the kernel include that FS.
Optimized alucard_hotplug.
Optimized kernel workqueue.
Fixed charged icon while phone, turned off, is charging.
Fixed drivers cpufreq.
Removed SuperSU app and related file inside zip kernel. If you all still have problems with losing root it is not kernel fault. I tested with 4 different roms and I have never lost root.
General improvements.
v18- 07/04/2014 (Kernel-Alucard-V2.6.5ib)
Moved Stweaks, system modules inside zip kernel. Now there will not be problems for anyone.
Reduced default hotplug_sampling_rate to 60 ms. Before was 100 ms.
Implement optimized percpu variable access. It should increase performance just a little bit.
...................................................................................................................................
Reserved
Reserved
great
5 Stars for this good kernel
+1
Thanks for your work but I noticed you repo has a lot of branches. what branch is used for AOSP? my-brood-kk I assumed. but I'm not 100% sure
Is nice to see you have your own thread now .
I'm going to test the new kernel now on jamal's RC2 and report on the usage.
Thanks!
Awesome
broodplank1337 said:
Thanks for your work but I noticed you repo has a lot of branches. what branch is used for AOSP? my-brood-kk I assumed. but I'm not 100% sure
Click to expand...
Click to collapse
You are welcome Yes I have two branch for AOSP. (my-cm-11.0 and my-brood-kk)
I have to test and release kernel also for AOSP KK ROM! I need also to import some commits into
i have not rr since L version ....good kernel and good dev ...i like you
Here is a mirror in MEGA:
http://bit.ly/19z3lfb
Cheers!
Alucard Many Thanks from Portugal for your EFFORT.
No RR anymore..
does this kernel have better performance than stock GE kernel? or same? would be awesome a tweaked linaro GE kernel :good:
Alucard you refer that latest kernel release is v2.3.4lg,
i installed but on my kernel version is 2.3.4l, i do not have "lg"
is it ok?
Jmldsilva said:
Alucard you refer that latest kernel release is v2.3.4lg,
i installed but on my kernel version is 2.3.4l, i do not have "lg"
is it ok?
Click to expand...
Click to collapse
Yes it is I forgot to add "g" character into Kernel config, but I can confirm that it is the last one that i have installed on my phone
alucard_24 said:
Yes it is I forgot to add "g" character into Kernel config, but I can confirm that it is the last one that i have installed on my phone
Click to expand...
Click to collapse
Ok, Thanks..:good:
Alucard thanks for your kernel. Are the Bluetooth problems solved with the latest (lg) version as well?
can anyone else confirm that foldermount is operating as it should?
my folders are still not mounting, i have uninstalled and installed it again and again.
khan1989 said:
can anyone else confirm that foldermount is operating as it should?
my folders are still not mounting, i have uninstalled and installed it again and again.
Click to expand...
Click to collapse
i'm to my folder mount still not working
Where is v3...is it not out yet..

[EOL][KERNEL][STABLE][TW][O][8.0][ERH1][31.08.18][SM-G930F/FD] SuperKernel V3.1.0

SuperKernel for SM-G930F/FD/K/L/S/W8
{
"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"
}
Supports all touchwiz roms 6.0.1 on BPH6 base and higher
IF YOU FOLLOW MY STEPS BELOW, YOU WILL LOSE YOUR WARRANTY, KNOX WILL DISPLAY 0x1! I'M NOT RESPONSIBLE FOR ANY DAMAGED DEVICE!
Please check Question and Answer Thread first!
If you want to take my work and need it somewhere, or do other things with it, please ask me first for the permission. Otherwise you are not allowed to take it! Thank you !
SuperMan-Rom, a Touchwiz based rom made by myself!
Features of this Kernel:
- Build with latest official google toolchain v4.9
- Build with ERH1 kernel source!
- Latest Linux version 3.18.120, is always up to date
- Performance and Batterylife improved
- Choose between different CPU governors: performance, powersave, userspace, ondemand, interactiv (default), conservative, zzmoove, barry_allen, nightmare, darkness, pegasusq, yankactive intelliactive, ondemandplus, intellimm, bioshock, lionheart, smartmax, smartass2, smartmax_eps, alucard, blu_active, cafactive, electrodemand, ondemand_x, hyper and intellidemand
- Built with latest ramdisk sources from samsung (ERG2)
- Frandom Support
- Thunderplug hotplug driver can be selected in aroma (only for advanced users!)
- Gzip compressed ramdisk (supersu, magisk etc will work fine)
- I/O schedulers: CFQ (Default), ROW, No-op, Deadline, BFQ, FIOPS, SIO, VR, ZEN, FIFO, maple and SIOplus
- UKSM (Ultra Kernel Samepage Merging)
- Zram can be set in synapse
- Gentle fair sleeper switch enabled
- StateNotifier included
- HTC's async added
- Fsync toggle
- LED Control
- Charging control
- HMP control
- Full CPU/GPU control in synapse
- DVFS in Synapse
- Many controllable wakelocks
- Underclock: big core to 312Mhz, little core to 338Mhz
- Overlock: depens on your ASV
- GPU OC to 806 Mhz
- Init.d Support
- NTFS file system enabled
- CIFS/NFS file systems enabled
- F2fs supported
- Allow ADB-Insecure
- Wlan Wakelock decreased
- Fully controllable with synapse
- TCP (Network) control: Bic (default), Reno, cubic, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, LP, Yeah and Illinois
- Selinux is set to permissive
- Zen-Tune implemented
- All bad samsung drivers disabled (like tima or rkp)
- Force encryption disabled
- Knox faked to 0x0
- Boeffla wakelock control
Download:
Marshmallow V1.X:
V1.9.7 on AndroidFilehost
Nougat V2.X:
V2.11.0 on AndroidFilehost
Oreo V3.X:
V3.1.0 on AndroidFilehost
Download via GrifoDev
All old releases
Bugs/Problems:
- None
Instructions:
0. Make a backup of your current stock kernel in TWRP, just in case you want to go back
1. Install a custom recovery for your phone, like this one here:TWRP
2. Follow the instructions on the page above, until you get a working recovery
3. Download the Kernel from below and copy it to your external SD Card
4. Reboot to your recovery by pressing volume up, home button and power button at the same time.
5. Install zip/select the kernel
6. Flash supersu, phh's root, magisk and all things that modify your boot.img
7. Wipe cache and dalvik cache (recommand)
8. Reboot
If you wanna join the beta tester group, download yourself telegram and click on the chat link: Telegram Group
Support:
If you like my work, feel free to hit thanks and/or give me a small donation by clicking the link right below. Thank you very much in any way! :good:
PayPal​
Credits/Thanks:
- Samsung for sources
- the great linus for his amazing kernel source
- arter97
- Jesec (for the great FP fix!!)
- dorimanx
- AndreiLux
- halaskz
- neobuddy83
- UpInTheAir for his great Synapse implementation
XDA:DevDB Information
SuperKernel for herolte, Kernel for the Samsung Galaxy S7
Contributors
Tkkg1994
Source Code: https://github.com/GrifoDev/SuperKernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: V3.1.0
Stable Release Date: 2018-08-31
Created 2016-05-30
Last Updated 2018-09-25
Changelog:
Old Changelogs:
SuperKernel V1.0:
- Changes compared to stock:
- updated CPUfreq drivers
- updated to latest stable linux (3.18.34)
- updated zram/zsmalloc and zswap for better ram management
- implemented tasks adj tree
- updated ext4
- updated crypto files
- added UKSM
- updated workqueue and sched features
- added gentle fair sleepers switch
- added new governors, ioscheds and tcp
- backports from 4.0 kernel
- many more things (already over 1000 changes compared to stock!!!)
- detailed history
SuperKernel V1.1:
- fixed fingerprint support, thanks to @Jesse Chan who found the right files to delete!
- arm64: mm: support ARCH_MMAP_RND_BITS
- int_sqrt.c: Correction square root algo with naming
- int_sqrt: Improve 3x faster integer sqrt
- mm: mmap: add new /proc tunable for mmap_base ASLR
- mmc: core: Expose use_spi_crc module parameter in sysfs (and disable it to gain perfomance)
- tima, knox and all "bad" samsung related configs are disabled now!
- over 100 updates in kernel/sched and in kernel/rcu to gain performance and better batterylife
- as always, visit github to see what exactly changed!
SuperKernel V1.2.1:
- Reverted back some changes I made in kernel/sched and kernel/time -> Probably fixed the random reboots (I never had one before, so you need to test this)
- Added the requested ROW iosched
- Added UC/OC frequencies thanks to @Jesse Chan (Kernel detects if you phone is capable or not for OC (jesses work), I added a check that only Grade A phones have full OC)
- added DAX to fs
- Many /mm and filesystem Updates (for ext4, ext3, ext2 and f2fs)
- Applied Jesse's fingerprint lag fix
- updated kernel/locking
- implemented Zen-tune V4.5
- cfq-iosched: fix the setting of IOPS mode on SSD
- More changes on github
SuperKernel V1.2.5:
- changed ramdisk compression from lz4 to gzip (which should fix systemless xposed)
- add a fsync toggle to enable and disable fsync
- added async from HTC
- Use erandom functions
- added wakup toggle for wlan
- mm: Allow for Exynos swap to be enabled
- enabled 2 additional lower CPU steps
- update "mm/zsmalloc: don't fail if can't create debugfs info"
- updated cifs/nfs/nfsd and filesystems
- updated memory management (page_alloc, vmstat, etc)
- added new z3fold driver
- probably made fingerprint scanner a little big faster
SuperKernel V1.3.1:
- Updated ramdisk to APF2
- Updated linux to 3.18.35
- removed the red latter at start up (you really really wanted that )
- Fixed random reboots from 1.3 in superman rom
- added a wakelock fix who should fix some google wakelocks
SuperKernel V1.4:
- completely reworked my w. Wipe cache and dalvik cache (recommand)
hole source code, now available under: Github
- Updated ramdisk with latest supersu patch
- many updates in /base/power/opp
- backports from 3.19 branch
- interactive updates (even more smooth now)
- added kasan for arm64 devices
- overall smoothness improved
- tested over one day, not a single reboot till now
SuperKernel V1.7:
- fixed phone turning on when offline charging
- Updated base and ramdisk to latest BPH6 source, this kernel will only work on BPH6 ROM!!!!
- added full synapse support, thanks to UpInTheAir (I adapted his implementation to work on S7)
- Updated linux to 3.18.39
- added f2fs support for /data
- fixed private mode not working after a reboot
- fully remade the whole source tree to get you the best experience!
- fixed the tcp bug which would otherwise make your phone vulnerable
- some other backports
- updated workqueue
- switched to 7.0 sabermod toolchain
- many more things I may forgot
SuperKernel V1.8.5:
- Started from scratch on BPHJ source code
- No more freezing, not a single problem left anymore!
- Updated to 3.18.42 linux (latest)
- Merged some new linaro patches into kernel
- f2fs should now work (and stay) on partitions you have chosen
- HMP opimizations added (tunable in synapse)
- GPU UC removed for now
- CPU OC/UC enabled, but stock freqs are default on first flash
- Disabled PEWQ (can be enabled in synapse)
- Updated thermal
- Disabled task ADJ tree
- enabled hmp packing
- crypto updated
- cpufreq some small updates
- BPIF ramdisk
- Selinux audit configurable
SuperKernel V1.9:
- Based upon BPJ7 source code
- Updated to linux 3.18.44
- added GPU OC to 806Mhz (thanks to @lyapota)
- updated ramdisk to BPJ7
- fixed some battery settings in synapse
- updated busybox to 1.26
- patched CVE-2016-5195
- changed behavior of cpu on high freqs a bit
SuperKernel V1.9.2:
- Updated to BPJG source drop
- Updated ramdisk to BPJG source
SuperKernel V1.9.5:
- This kernel is only for MM!
- Ramdisk base changed to BPL3 (source base is still the same)
- Updated linux to latest 3.18.45 version
- Backported most crypto drivers form 4.4 mainstream linux
- Enabled new crypto drivers and optimizations
- Updated random drivers
- Updated synapse, hopefully all is up to your needs now
- Added thunderplug hotplug (keep in mind that playing with thunderplug settings may lead to SOD)
- Added a special tab for hotplug drivers: Stock, disabled or thunderplug
- Updated busybox
- Updated script to create an init.d file if not existing
- Fixed LED fading in synapse
- statenotifier enabled again for thunderplug
SuperKernel V1.9.6:
- Based on latest BPL3 source drop release
- Fixed adaptable storage problem
SuperKernel V1.9.7:
- Rebased on latest BPLB Kernel source drop
- Updated ramdisk to latest BPLB
- Updated Linux version to 3.18.46
SuperKernel V2.0:
- Only for NOUGAT and TOUCHWIZ roms
- Rebased on latest DPLT base
- Latest DPLT ramdisk
- Latest f2fs backport from 3.18.y branch
- Maple iosched added (needs testing)
- selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables
- UPSTREAM: capabilities: ambient capabilities
- BACKPORT: full hardened usercopy backported
- mnt: Add filesystem private data to mount points
- New DVFS tab in synapse
- Updated all mcRegistry files to Nougat
- Changed toolchain to selfcompiled GNU 6.3 a53 optimized
- Sqlite binary updated
- Fstrim added
- Busybox changed to sbin/busybox (needs to be at this directory otherwise synapse won't work!)
- Some other things I may forgot
SuperKernel V2.0.1:
- Linux updated to 3.18.47
- busybox detection enhanced (you can now install to /sbin, system/xbin or su/xbin)
- State notifier disabled by default
- Allow all cores to go to highest freq
- People report working deepsleep so if it does NOT work for you, give me your wakelock stats, otherwise that's not helping anyone
SuperKernel V2.0.2:
- Updated ramdisk to DQAS
- Changed some settings in wakelock tabs for synapse (deepsleep issue was produced setting to extreme levels in synapse)
SuperKernel V2.1.5:
- Based on latest DQB3 release
- Updated Linux version to 3.18.48
- Updated ramdisk to DQB3
- Updated all mcRegistries to DQB3
- Added HID gadget keyboard/mouse patch
- Updated android binder driver
- Also one file to flash for all variants
SuperKernel V2.2.0:
- Based on latest DQB7 source drop release
- Updated to latest DQB7 ramdisk
- Fake knox 0x0 (as in superman-rom 2.2 or superstock-rom 2.5) (credits to @lyapota )
- Fixed init.d not working correctly sometimes
SuperKernel V2.4.2:
- Completly rebased on top of superstock kernel
- Based on latest DQCG release
- Updated ramdisk to DQCG release
- Added and reworked scripts to fake knox (should also work with supersu now)
- Updated conservative and ondemand govenror
- Added PWM flicker free patch
- Fixed safetynet failing sometimes
SuperKernel V2.4.3:
- Updated Zen-tune to V4.10 version (only minor changes)
- Fixed thunderplug showing errors in synapse
- killed PWM flicker free due to many broken stuff
- mcRegistry files have been upgraded to DQCG
- Reverted many sched patches, I think general performance is much better now (maybe placebo idk), please let me know your thoughts!
- Fixed some synapse errors here and there, still I haven't had the time to work on cortex brain staying offline, sorry guys
SuperKernel V2.5.0:
- Source updgraded to DQD1 (same as DQD2)
- Ramdisk updated to DQD2
- mcRegistry updated to DQD2
- Fixed external iosched error on Synapse
SuperKernel V2.5.2:
- Ramdisk updated to DQD3
- mcRegistry files updated to DQD3
- Linux version updated to 3.18.51
SuperKernel V2.6.1:
- Updated to DQEF source code
- Updated ramdisk to DQEF
- Added more flags to resetprop (secret mode in browser should work again, at least it did on the s8)
- Updated to most recent f2fs branch from official google supporter
- Updated Linux to 3.18.56
- Updated mcRegistry to DQEF
SuperKernel V2.7.0:
- Based on latest DQFM source code
- Ramdisk updated to latest DQFM
- Updated linux to 3.18.60
- Reverted a patch in one of those linux updates which broke deepsleep in some cases
- Changed code for mcRegistries: they won't get replaced anymore, it just deletes the "bad" file
- Added spectrum support, untested!
SuperKernel V2.7.2:
- Based on latest DQG1 source code
- Ramdisk updated to latest DQG1
- Updated linux to 3.18.66
- Includes GPU libs, so there is no chance after another kernel this will bootloop!
- Since samsung is not updating their kernels very frequently on the s7, I thought I better push out some small updates
SuperKernel V2.8.0:
- DQH8 source drop update
- DQHY ramdisk update
- Linux update to 3.18.70
- Toolchain update to GNU GCC 6.4.0 @djb77
SuperKernel V2.9.0:
- Finally an awesome update to DQIC with a much higher changelist!
- DQIC ramdisk update
- Linux update to 3.18.72
- Updated AIK to V2.9
SuperKernel V2.10.0:
- DQJ1 source drop update
- DQJ1 ramdisk update
- Linux update to 3.18.77
- 6.4.1 toolchain update to @djb77
SuperKernel V2.10.1:
- DQK1 source code shares the same source as DQJ1, that's why it's only a small change
- DQK1 ramdisk update
- Linux update to 3.18.83
- Toolchain updated thanks to @djb77
- Boeffla wakelock control added
SuperKernel V2.10.5:
- DQLF still has the same kernel source code as DQK1
- DQLF ramdisk update
- Linux updated to latest 3.18.91
- Updated toolchain
- F2fs update to latest release
- AIK updated to v3.1
SuperKernel V2.11.0:
- DRAG source code update
- DRAG ramdisk update
- Linux update to 3.18.94
- Toolchain updated thanks to @djb77
SuperKernel V3.0.1:
- This kernel can only be used on OREO stock based roms! (no ports)
- Updated kernel source to most recent ERG2 code
- Updated ramdisk to ERG2
- Changed toolchain to google 4.9 for better compatibility
- Updated AIK to 3.3
- Updated f2fs to most recent available
- Updated linux to 3.18.118
- Added battery store mode
- All previous features are included!
SuperKernel V3.0.2:
- Rebuild from scratch to fix some bugs
SuperKernel V3.1.0:
- Source code based on ERH1
- Updated linux to 3.18.120
- Fixed samsungs mismatch in kernel compilation
Q&A
Below I added some basic Q&A stuff which here so hopefully it will answer most of your questions!
Q: How to get into Download Mode?
A: Power off your phone, than hold: home + volume down + power on button until you see the download mode.
Q: How to get into Recovery Mode?
A: Power off your phone, than hold: home + volume up + power on button until you see the recovery mode.
Q: I get verification failed at start up!?!? My phone is broken now?
A: Yes, you have to buy a new phone now. Just kidding You did not disable force encryption in TWRP (how to do so you will find below in how to decrypt your phone).
Q: I get FRP LOCK? WHYYYYYY???
A: Very simple answer, you did not enable OEM Unlock in developer options. Now you need to flash full rom with odin again and start from scratch. But don't forget to enable OEM Unlock this time!
Q: I got FC's and other Problems with the kernel, what to do?
A: Take a logcat for me, developers use to say: without a log, it never happened . A logcat can be grapped with a PC and ADB installed, simply type: adb logcat > log.txt while your phone is connected and the error is happening.
Q: What kind of logs can I provide to help you?
A: Logcat: This one is for general infos about FC's
DMESG: this is for kernel related things
Last_Kmsg: this can be used after a random reboot
Q: How to get logs?
A: 1. Connect your phone to your pc
2. Make sure you got usb debugging enabled
3. Install Minimal ADB tool
4. After install open it and type: adb logcat > logcat.txt, adb shell dmesg > dmesg.log, adb shell cat proc/last_kmsg kmsg.log
5. Send me the file you got
Q: Which devices are supported at the moment?
A: Current supported devices are: SM-G930F/FD/W8. All other exynos models can work but are UNTESTED
Q: Is this kernel working on Snapdragon 820 variants?
A: No, sadly not.
Q: Help, I never had a code and now after installing the rom my phone asks for a password??
A: Your device is still encrypted, on step 0 it tells you to be sure you're not. So, what do you need to to in case you are still encrypted:
1. Boot into TWRP
2. Select Wipe
3. Select wipe data
4. Then you manually need to type "yes" with the keyboard
5. Confirm the wipe (this will remove the encryption)
6. Reboot your recovery
Q: Is there a way to get rid of encryption which is simpler?
A: Not really, you could also wipe data with stock recovery but this is quite a big hassle so above method works better.
Q: On TWRP there is an error about /data mount, what to do?
A: Your device is encrypted, follow the above steps to get rid of your encryption.
Q: Synapse shows no UCI support!
A: Reflash kernel, a script of you may overwrite my synapse config
Q: I want to switch kernel, how?
A: Since we have systemless xposed and systemless supersu, we have patches in ramdisk of boot.img. This means you have to reflash xposed and supersu after every change of kernel!.
Q: I lost root after installing this rom. What to do?
A: All mods (like supersu, phh's root, xposed and magisk) are stored in /ramdisk of kernel boot.img. So if you flash this rom, and after this another kernel (Which has supersu included by default) you can not do much. You have to stick to the two kernels provided in rom. Also when switching kernel, you need to flash all related zips again after changing it. Last tip: Do not use magisk until you really need it for android pay!
Q: I got random reboots, heeelp!
A: This is most likely from a custom kernel, if you face random reboots please check if you have the latest kernel installed or switch back to the stock kernel included in the rom.
Q: My screen is kind of yellow/orange and the touchscreen doesn't work at all!
A: You have chosen the wrong kernel in aroma selection. Reflash the rom without any wipe selecting the right kernel version.
First! DL now and flashing! Thanks for the hard work!
Sent from the silver bullet 930F Running Superman Rom
Will apps like easyHome (https://play.google.com/store/apps/details?id=com.jamworks.easyhome) work? It uses FP as capactive home button.
Flashed and running awesome so far, haven't messed with any of the settings yet though.
Sent from the silver bullet 930F Running Superman Rom
Quickvic30 said:
Flashed and running awesome so far, haven't messed with any of the settings yet though.
Sent from the silver bullet 930F Running Superman Rom
Click to expand...
Click to collapse
Would you be so kind to show antutu benchmark. I just want to see what it improves
Shuuin said:
Would you be so kind to show antutu benchmark. I just want to see what it improves
Click to expand...
Click to collapse
Benchmark doesn't show any hints of real-world results when it comes to kernels..
Sent from my SGP712 using XDA-Developers mobile app
Shuuin said:
Would you be so kind to show antutu benchmark. I just want to see what it improves
Click to expand...
Click to collapse
Here ya go
Sent from the silver bullet 930F Running Superman Rom
Great!!!!Thank you for your works!!!!
Thanks for this kernel. I like the zzmoove governor. But if i choose him on little my phone freezes and than it reboots. At big it's ok
Black_Focus_X said:
Thanks for this kernel. I like the zzmoove governor. But if i choose him on little my phone freezes and than it reboots. At big it's ok
Click to expand...
Click to collapse
Zzmoove does hotplug, but the little cores can't do hotplugging. So it will reboot
Sent with my SM-G930F powered by SuperMan
Tkkg1994 said:
Zzmoove does hotplug, but the little cores can't do hotplugging. So it will reboot
Sent with my SM-G930F powered by SuperMan
Click to expand...
Click to collapse
Any chance that you will add..
1) ARCH_POWER
2) ROW Scheduler
3) Make Power Efficient WorkQueues user-configurable in next version
4) Trim kernel and remove useless debuggers, bloated kernel drivers and so on for making the kernel as slim and battery / performance friendly as possible
5) (Perhaps) configurable C-States (Idle states) ?
Just as some bonus, useful stuff in v2.0?
Sent from my SGP712 using XDA-Developers mobile app
Destroyedbeauty said:
Any chance that you will add..
1) ARCH_POWER
2) ROW Scheduler
3) Make Power Efficient WorkQueues user-configurable in next version
4) Trim kernel and remove useless debuggers, bloated kernel drivers and so on for making the kernel as slim and battery / performance friendly as possible
5) (Perhaps) configurable C-States (Idle states) ?
Just as some bonus, useful stuff in v2.0?
Sent from my SGP712 using XDA-Developers mobile app
Click to expand...
Click to collapse
1. Arch power has been removed on mainstream kernel
2. ROW was my plan as well
3. It is enabled by default, but isn't it already tuneable?
4. This is always my goal
5. Haven't thought about that until now
Sent with my SM-G930F powered by SuperMan
Finally it's come!Will it be implement the FP function to the future build?
---------- Post added at 07:26 AM ---------- Previous post was at 07:24 AM ----------
krogoth said:
Will apps like easyHome (https://play.google.com/store/apps/details?id=com.jamworks.easyhome) work? It uses FP as capactive home button.
Click to expand...
Click to collapse
i don't think so coz it will totally stop the FP SVC when u flash this kernel
Another question. Can you add undervolting?
Tkkg1994 said:
1. Arch power has been removed on mainstream kernel
2. ROW was my plan as well
3. It is enabled by default, but isn't it already tuneable?
4. This is always my goal
5. Haven't thought about that until now
Sent with my SM-G930F powered by SuperMan
Click to expand...
Click to collapse
PowerEfficient WorkQueues seems to revert itself to "Enabled / On" even though I have tried to disable it..
Sent from my SGP712 using XDA-Developers mobile app
Black_Focus_X said:
Another question. Can you add undervolting?
Click to expand...
Click to collapse
I'm using the KTweaker app and it allows me to undervolt.
Sent from the silver bullet 930F Running Superman Rom
Black_Focus_X said:
Another question. Can you add undervolting?
Click to expand...
Click to collapse
Quickvic30 said:
I'm using the KTweaker app and it allows me to undervolt.
Sent from the silver bullet 930F Running Superman Rom
Click to expand...
Click to collapse
Yes it's already in the kernel but not all kernel apps can detect that. Will add stweaks and/or synapse support for this soon
Sent with my SM-G930F powered by SuperMan
Ok. With Kernel Adiutor i don't see it

[KERNEL][TW & AOSP] PRIME-Kernel v2.1.2

{
"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"
}
​
List of Supported
Variants
SM-G930S/K/L/F/FD/W8
SM-G935S/K/L/F/FD/W8
ROMs
TouchWiz N base all ROMs (Stock, S8 port ROMs, Note 7/8 port ROMs)
AOSP 7.1.2 & 8.x base all ROMs (Lineage, RR, crDroid & AICP & more...)
Main Features
OSRC's latest Note-FE & S7 source code base.
Using the AnyKernel2(Flashing Tool).
Synapse support.
SELinux Permissive / Enforcing switchable (+ Fake Enforcing Mode).
Linux-stable 3.18.y upstream.
Compile with UBERTC 6.4.1 toolchain.
F2FS support (/data, /cache only).
Optimized for Exynos8890 using the Exynos-M1 flag for compile options.
Gametuner-Mod
Game Booster Mode
intelligent performance enhancement mode in conjunction with Samsung-Gametuner.
Fake KNOX.
chacha20 to random (entropy).
Linaro LSK-v3.18-Energy-Aware Scheduler (EAS) port.
EAS simplifies power and performance management through scheduler-driven tuning to manage more efficiently.
Linux-v3.18 already has EAS installed, but with the LSK-v3.18-EAS, the existing EAS has been further improved and the user can choose between tuning power efficiency and performance.
Linaro v3.18/topic/OPPv2 branch merge.
Lazytime mount options
improved storage performance and longevity.
Similar to DynamicFsync, but operates at the file system level and has no risk of data loss.
CPU/GPU UC & OC.
Limit the maximum overclock range according to the device's ASV value (device yield) to prevent excessive overclocking.
CPU/GPU/BUS voltage control.
GPU Performance Tuning.
Performance/balance/battery separated DVFS user settings.
Thunder Hotplug driver port.
HMP tuning Interface.
Detail charging circuit control allows faster charging.
Added I/O Scheduler 'bfq, fifo, fiops, row, sio, maple, tripndroid, zen'.
Enable Westwood tcp/ip congestion control (not default).
LED FADE control.
PWM Flicker free.
boeffla's generic wakelock blocker driver.
Qualcomm interactive (renamed cafactive) cpu governor porting.
Added battery-friendly 'relaxed' governors, and more.
Provides an add-on that keep kernel settings on unrooted devices.
Synapse: System Tweak add-on available.
Synapse: Provides configuration profile separated by performance/battery/stability.
Many other optimization applications.
How many users are there in this kernel and what is it with custom ROM?
* Go to User Statistics.
With this kernel, the following information is sent once to the developer's server at boot time.
variant, android serial number(not device serial), name of current firmware(ROM), country code, kernel version
* This information is Android apps can see without any special permissions.
* If you suspect other information transfer, open the '/res/synapse/actions/addon' file.
Description for AOSP ROMs
If you are using another developer's custom kernel, or if using ramdisk is corrupted kernel, you may encounter a bootloop or an unknown problem.
If you have a bootloop problem, flash the PRIME kernel after first flashing the builtin kernel in your ROM. (Or flash the ROM again)
This kernel is flashed AnyKernel method, for all kinds of AOSP ROM support.
Download
Latest Version | Older Version
Community
Telegram Group: https://t.me/primekernel
Naver Cafe (for Korean): http://cafe.naver.com/primeusers
How do I enable donation-only add-on features?​
Credit (Thanks. to)
@AndreiLux - Perseus8890 kernel.
@tkkg1994 - refer to some Commits.
@arter97 - cafactive & more.
@osm0sis - AnyKernel2.
@jesec - AOSP kernel source.
@Wootever - PWM Flicker Free.
All members of the PRIME-Kernel NaverCafe.
And all of commited in sources & all of xda developers.
XDA:DevDB Information
PRIME-Kernel, Kernel for the Samsung Galaxy S7
Contributors
Hyunwoo AHN
Source Code: https://github.com/dwander/Linaro-base/tree/herolte
Kernel Special Features: Linaro-LSK-3.18-EAS Port, Gametuner-MOD, Intelli-Performance
Version Information
Status: Stable
Current Stable Version: 2.1.2
Stable Release Date: 2017-12-17
Created 2017-09-23
Last Updated 2017-12-17
How do enable donation-only add-on features?
I only receive donations from your heart.
Do not donate if you intend to unlock synapses.
If you are unable to make a donation of 5.0 USD or more due to economic reasons, please do not donate and request me to unlock Synapse. Then you can use all the functions of synapse without donation.
How to request synapse unlock
Please tell [email protected] the following:
- A matter that is difficult for you to donate(eg economically difficult countries, students without money or credit card).
- The first five letters or screenshots of the KeyCode on the Synapse's first screen.
Change Log
v2.1.2
fixed bluetooth issue in AOSP 8.1
Linux upstream to v3.18.88
v2.1.1
Linux upstream to 3.18.87
Add Android O (8.x) support
Add new commit for AOSP support
Changed AOSP build to TouchWiz base (Integrated AOSP and TW kernel source code)
Fixed WiFi-Hotspot issue for N8 porting ROM
Fixed an issue where the charge state switching notification did not work
Note-FE GPU driver (r15p0) build droped
r12p1 GPU driver is built back into the package
Minor bug fixes
v2.0.1
Reuse AutoASV
Over clock limit relaxed
Removing the State Notifier Driver & Using the FB Driver
Fixed a bug where two big cores could not be used (v2.0)
Corrected the overclock value to actually apply when boosting the big core
Synapse: Memory: Z-Swap compression algorithm selection option removed
Synapse: Labs: gms drain patch removed
v2.0.0
base: Re-based on Note-FE source code
linux: upstream to v3.18.83
f2fs: Updated latest from f2fs-stable branch
init: Fixed video playback delay issues reported by some N8 porting users
tcp: Change the TCP congestion control algorithm default to Westwood (stock: bic)
Synapse: Fixed the problem that the Intelli-Performance setting is released after rebooting
GPU: Remove unnecessary ipa update code
exynos: Separate AutoASV in 5 steps
exynos: Changed AutoASV not to participate in overclock value(only used for big Core boosting)
mm: Change Z-Swap compression algorithm default to lzo(stock value)
Synapse: Memory: Added Z-Swap compression algorithm selection option
Synapse: Add Labs tab
Synapse: Storage: Resolve compatibility issues with DualSIM models
installer-zip: Include a RAMdisk for TouchWiz for all supported models in package(no need for stock kernel flashing)
installer-zip: After the kernel flashing is complete, it automatically flashes when Magisk or SuperSU files are found.
v1.9.3
Upstream to Linux 3.18.80
Synapse->Utility: Added Android ID management function
Synapse->Advanced: Added option to switch to Enforcing mode after booting
Synapse Add-on Updated to v6.4.2
selinux, Improved fake Enforcing
Use new random driver functions
Removing Gametuner-MOD from AOSP build
Minor bug fix
v1.9.0
Supported Note 8 Porting ROMs
Backported random(entropy) driver from Linux v4.14.rc7
Updated AnyKernel2 (bug fix)
Updated mptcp(Multipath TCP) driver (0.90.0 → 0.90.3)
installer, Prevent Magisk from being deleted when merging ramdisk
Reduced screen brightness during boot
r12p0/r15p0 GPU driver to separate build, packaged in one
! Please read the 'Attention to the GPU driver' part on the first page.
v1.8.2
Linux upstream to v3.18.78
Merge G935F DQJ1 firmware sources
Merge Note-FE AQI4 firmware sources
Fix SafetyNet bypass issue.
f2fs: fix potential panic during fstrim
selinux: Apply Fake-Enforcing mode
In Enforcing mode, it actually works in Permissive mode.
Thanks to @jesec
Synapse: minor bug fix
v1.8.0
• Linux 3.18.76 upstream.
• fully merged Note-FE AQH3 firmware sources.
- There are very very many improvements(bad sammy!)
- Not applicable for AOSP binaries​• Added boeffla's generic wakelock block driver. by @andip71
• Synapse > wakelock: Add generic wakelock.
• Synapse: Some English translation.
v1.7.0
• Linux 3.18.75 upstream
• Added IPA update for cafactive, ironactive, impulse governors.
• Added relaxed CPU governor
- Conservative based battery-friendly governer, with performance degradation.​• ironactive, impulse governor removal.
• Synapse: Added EAS-Tune tab.
- Boost support separated by global, top-app, background, and foreground items.​
v1.6.0
Linux 3.18.73 upstream.
Selinux: permissive/enforce mode switching support.
Synapse: Improved to work in Enforce mode.
Synapse: Improved the SynapseLoader add-on to work in Enforce mode.
Synapse: Added SELinux Enforce option.
- More complete SafetyNet bypass & KakaoBank compatible.​Synapse: Updated addon (v6.4.0)
Install-zip: Prevent Magisk from reverting kernel init files before.
Install-zip: Added init binary hexpatch to support f2fs conversion of cache partition.
v1.5.2
aosp: Reduce the haptic feedback strength default by 50%.
synapse: misc: Added haptic feedback intensity control to AOSP.
v1.5.1
Enable cgroup_schedtune.
- EAS Schedule tuning (energy or performance) automation support options.
- CFS boost setting is removed accordingly.​install-zip: Fixed some bugs in the flashing process.
v1.5.0
Linux 3.18.72 upstream.
G935F-DQIC firmware kernel source merged.
Support AOSP 7.1.2 based custom ROMs.
- Tested: LineageOS, crDroid, RR​Changed to AnyKernel method.
Updating the f2fs file system on the f2fs-stable branch.
workqueue improvement.
Apply ADJ_RBTREE to LMK.
Using ARM64 logic on SHA256 / 512.
PWM Flicker Free - Thank's to [email protected]
- information: https://forum.xda-developers.com/s7-edge/development/amoled-pwm-s7-edge-t3517739​Synapse - Added WakeLock control.
- Some are not supported in MTweaks, I recommend using Synapse.​Synapse: Added CPU Voltage margin setting.
There are many more minor changes.
v1.4.0
EAS: Adding a missing commit.
- Fixed temperature rise problem in some high-end games.​GPU: DVFS tuning.
Synapse: Correct default settings when selecting maple IO scheduler.
init: cfs_boost Adjust the default value to 0.
zip-installer: Mali-R12P0 & R15P0 Include the GPU driver in the package.
v1.3.2
Linux 3.18.71 upstream.
changed the source code base to G935FXXU1DQH8.
improved crypto.
fs: updated to the latest in the f2fs-stable branch.
f2fs: support for lazytime mounts.
fstab: support f2fs mount (/system not allowed).
ext4: fix fencepost error in lazytime optimization.
ramdisk: unified with G935FXXU1DQHY base without any 'flat/edge/kor/eur'.
v1.3.0
Disable Exynos-Swap, use ZSwap.
- ZSwap's efficiency is better.​Enable zswap_writeback.
Changed the toolchain to gcc-6.4.1 (UBERTC 6.4.1).
Remove the 'perfect C-state residency' related commits.
Back to r12p0 gpu driver.
- Battery efficiency issue of r15p0.​Fix synaps FC issue.
- In the case of genuine firmware, FC occurs at the first execution.​Optimized & bug fixes for old scripts in synapse.
Ramdisk divided build, global model and Korean model.
- Several issues related to global models.​
v1.2.0
Updated with DQH8 firmware source code.
Linux 3.18.15 ~ 70 upstream rework.
NIVIDIA CPU Relax Patch removal.
- In some games, FC or loading loop issue.​XPAD Joystick driver update (from Google AOSP 3.18 kernel)
ZRAM, KSM off
- ZRAM is duplicates with VNSWAP
KSM is inefficient​Synapse: English translation (90%)
Details(Korean): http://enfree.com/prime/?page=changelog&device=G930
New kernel , i'm going to test now
Tried both with my S8 ROM port.
Boots very slow
When devices i booted it takes some seconds till phone freezes and than reboots!
DirkStorck said:
Tried both with my S8 ROM port.
Boots very slow
When devices i booted it takes some seconds till phone freezes and than reboots!
Click to expand...
Click to collapse
Tell me the name of your custom ROM and the name of your device model.
Hyunwoo AHN said:
Tell me the name of your custom ROM and the name of your device model.
Click to expand...
Click to collapse
My device is SM-G930F and I am using BatMan-Rom V1.3.0
After flashing the kernel I have flashed Magsik 13.6
Thanks
DirkStorck said:
My device is SM-G930F and I am using BatMan-Rom V1.3.0
After flashing the kernel I have flashed Magsik 13.6
Thanks
Click to expand...
Click to collapse
Sorry, can you try again with v1.3.0?
Hyunwoo AHN said:
Sorry, can you try again with v1.3.0?
Click to expand...
Click to collapse
Sorry, my fault. MTweaks was still running what interfered.
Flashed v1.4 with stock GPU drivers. running fine so far but boot time is still longer than with other kernels.
Could you add a global slider to under volt CPU and GPU by a certain value?
EDIT:
In Synapse at "Game Tuner MOD" and "Utility" tab the last few settings are not in englisch
DirkStorck said:
Sorry, my fault. MTweaks was still running what interfered.
Flashed v1.4 with stock GPU drivers. running fine so far but boot time is still longer than with other kernels.
Could you add a global slider to under volt CPU and GPU by a certain value?
Will try this kernel now and report back.
EDIT:
In Synapse at "Game Tuner MOD" and "Utility" tab the last few settings are not in englisch
Click to expand...
Click to collapse
The global slider is hard to implement, because of the UI structure of Synapse.
If you are not comfortable with the Voltage setting, you can get the desired result by returning to Synapse after setting in MTweaks. If you do not know what I mean, try it.
What if it takes a long time to boot? If it is a symptom that only takes longer in the first Bootanimation, it will not be a problem from the second since it recreates the dalvik (ART) cache for some reason.
If it takes a long time to boot each time, it may be because used the G935F ramdisk in this kernel. I tried BatmanROM, but I did not have the problem you said.
In the next version, i will separate ramdisks by variant like v1.3.0.
Korean in the Gametuner-MOD and utility tabs are donation-only functions.
I will translate English donors if they say inconveniences.
Hyunwoo AHN said:
The global slider is hard to implement, because of the UI structure of Synapse.
If you are not comfortable with the Voltage setting, you can get the desired result by returning to Synapse after setting in MTweaks. If you do not know what I mean, try it.
What if it takes a long time to boot? If it is a symptom that only takes longer in the first Bootanimation, it will not be a problem from the second since it recreates the dalvik (ART) cache for some reason.
If it takes a long time to boot each time, it may be because used the G935F ramdisk in this kernel. I tried BatmanROM, but I did not have the problem you said.
In the next version, i will separate ramdisks by variant like v1.3.0.
Korean in the Gametuner-MOD and utility tabs are donation-only functions.
I will translate English donors if they say inconveniences.
Click to expand...
Click to collapse
Ok, tried that with MTweaks and noticed that it was already under volted by my previous settings.
Noticed that there is no tab to disable wakelocks. Do you plan to add this?
EDIT: for now I back to my previous kernel...sorry....
Thanks!
DirkStorck said:
Ok, tried that with MTweaks and noticed that it was already under volted by my previous settings.
Noticed that there is no tab to disable wakelocks. Do you plan to add this?
EDIT: for now I back to my previous kernel...sorry....
Thanks!
Click to expand...
Click to collapse
Kernel-level wakelocks work when requested by an Android system or app.
It is not desirable to force such requests to be ignored.
My Note4 kernel has a wakelock tab. However, it was added because of the deep-sleep problem in some variants of Note4.
If there is a deep sleep (wakelock) problem in our S7, I will add a wake-lock tab.
Again briefly, the wakelock control should not be abused. So, if there are no related problems, I will not add them.
update to v1.5.0
Thanks for supporting AOSP! ?
After flashing 1.5.0 I'm still at 1.4.0 :/
MK73DS said:
After flashing 1.5.0 I'm still at 1.4.0 :/
Click to expand...
Click to collapse
If flashing was completed and there were no errors, it is not possible.
If you rooted or unrooted the kernel after flashing, the old kernel would have been restored.
If you do not know, Flash the kernel after rooting.
Hyunwoo AHN said:
If flashing was completed and there were no errors, it is not possible.
If you rooted or unrooted the kernel after flashing, the old kernel would have been restored.
If you do not know, Flash the kernel after rooting.
Click to expand...
Click to collapse
Indeed, I rooted after flashing the kernel, thank you ^-^
you do a fantastic job with all the feature you added in your kernel(thunderplug,eas, pwm flicker free, etc...). v15 is very recommended
Hey man, thanks for this kernel! I tried it on AOSP for RR which boots but I noticed that flashing this kernel, disabled the option to adjust vibrate intensity. The option in Sound is there but Settings Force Closes when clicking on it. The reason I need to adjust it, is the vibration is back to really strong vibration when touching a key. Hope this details helps. On latest Prime 1.5.0
Andrw0830 said:
Hey man, thanks for this kernel! I tried it on AOSP for RR which boots but I noticed that flashing this kernel, disabled the option to adjust vibrate intensity. The option in Sound is there but Settings Force Closes when clicking on it. The reason I need to adjust it, is the vibration is back to really strong vibration when touching a key. Hope this details helps. On latest Prime 1.5.0
Click to expand...
Click to collapse
issue was raised on edge thread.
https://forum.xda-developers.com/s7-edge/development/kernel-prime-kernel-v1-4-0-t3678159/page5

[KERNEL] [9/8.1/7.0-EOL] LoonyKernel - 31 Jul 2019

{
"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"
}
IMPORTANT:
Always make necessary backups before flashing anything. In this case backup your stock boot in recovery before proceeding.
I will only consider issues that includes clear steps to reproduce the bug, a logcat or a console ramoops (in case of random reboots) or a dmesg (for other issues), because it provides more info than just saying something doesn't work.
Features:
Latest linux upstream version 3.10.108
Up to date as per AOSP/kernel-common and CAF
Unlocked frequency steps for CPU and GPU
Advanced color (kcal) control
Fingerprint sensor as power or home button by flar2
Sound control by flar2
Sweep2sleep by flar2
Boeffla wakelock blocker driver
Backlight dimmer
Spectrum app support
Flashing Instructions for custom roms:
Download TWRP recovery from here.
First backup boot in TWRP then flash the latest LoonyKernel zip. Reboot to system.
For magisk users, if you have already flashed magisk once, there's no need to re-flash it again after flashing the kernel. Magisk root will be retained.
Subsequent releases can be flashed over the same kernel's older version.
Flashing Instructions for stock rom:
Use only official TWRP for flashing on stock nougat or oreo rom. If you are using elementalx kernel then first restore the stock boot image or kernel then flash this kernel to avoid any potential issues with module(s).
Download official TWRP.
Backup boot in TWRP.
Flash latest LoonyKernel zip and reboot the device to system.
Subsequent releases can be flashed over the same kernel's older version.
Download Links:
Stock rom: 8.1.0 (mirror) || 7.0-EOL (mirror)
For my 64-bit AOSiP 9.0 builds: Sourceforge || AFH
Other pie/oreo custom roms: 64-bit (mirror) || 32-bit (mirror)
Credits: flar2, om0sis, Nathan and many other devs for their work.
XDA:DevDB Information
LoonyKernel, Kernel for the Moto G4 Plus
Contributors
lCrD512
Source Code: https://github.com/loonycrd/kernel_motorola_msm8952
Kernel Special Features: All mentioned above
Version Information
Status: Stable
Current Stable Version: r17
Stable Release Date: 2019-07-31
Current Beta Version: --
Created 2017-12-28
Last Updated 2019-08-10
Changelogs
May 02, Stock 8.1.0 - Release 2
Add digital tv module (isdbt)
Update wifi driver to latest CAF oreo tag 'LA.UM.6.6.r1-11000-89xx.0'
Disable various debugging for release builds
Exclude debug symbols from release builds (reduced kernel size)
Few updates to interactive governor
Update spectrum profiles
R.I.P sched boost feature
Various other fixes for cpufreq, crypto, memory etc.
Old releases
March 20, stock 8.1.0 Release-1 initial release
Changes over stock sources
Upstream linux kernel version.
Upstream sdcardfs.
Fix 0 bytes fize size while copying or moving.
Upstream interactive governor.
Add all LK features from nougat. Touch-boost and Fsync toggle have been removed.
Drop deprecated GCC 4.8/4.9 and switch to 7.3.0 for code improvements. All relevant code warnings were fixed.
Other misc. but relevant fixes/patches (can be seen on github).
Feb 8, 9/8.1 Release-12 for ARM64
NOTE: Those who are using my AOSiP or PixelExperience builds should flash the kernel update from the attachment in release post HERE
Android binder and sdcardfs updates.
Drop deprecated GCC 4.9 and switch to 7.3.0 for code improvements. All relevant code warnings were fixed.
Drop kernel size optimization flag as per AOSPs recommendation. Associated code warnings fixed.
Fixed some minor memory leaks. These were not detected earlier when size optimization flag was enabled.
Bring back 160mhz level for idle state GPU.
Squash some relevant upstream patches for xpad driver.
Merged sdFAT updates.
Disabled cpu hotplugging at lower battery levels.
Slight improvements in i/o operations.
Updates to cpusets and cgroup.
Remove sweep2sleep defaults as it conflicts with pie's swipe up gesture.
Fix a minor derp in zram initialization.
Jan 14, 9/8.1 Release-11 for ARM64
Regular android sdcardfs updates.
Upstream CFQ i/o scheduler.
Fixed some more memory leaks and slight memory management improvements.
Upstream patches to kernel scheduler, perf, rcu and cpu hot-plugging.
Updates to Wireguard.
Updates to LZ4 algorithm.
Fixed minor derps with fsync (on/off) toggle functionality.
Upstreamed and performance improvements to Interactive governor.
Replaced powersave governor with conservative for spectrum battery mode. Powersave governor has performance regressions.
CVEs addressed for EXT4 file system, bluetooth and crypto drivers.
Fixed various instances of uninitialized variables, false positives have been ignored. We are using CONFIG_CC_OPTIMIZE_FOR_SIZE which suppresses the compiler warning of uninitialized variables which can sometimes lead to undefined behavior e.g. memory corruption and panic.
Dec 02, 9/8.x Release-10
Switched to non-debug wifi/wlan driver.
Binder updated and inline with AOSP/google.
Regular sdcardfs upstream, some relevant backports from higher version (3.18+).
Few updates and fixes to interactive governor updates.
Merged some CVE patches from Lineage (CVE-2016-8399/2017-2647/2017-6951/2017-13080-upstream...)
Fixed memory leak in video device driver.
Added ARM64 CRC32 hw accelerated module
Few security updates to crypto driver.
Fix deadlock in sound-core driver due to duplicate ioctl_lock.
Disabled DEVPORT - it is not used as shown by previous SELinux policy changes to blacklist it. It is being unset to reduce the kernel attack surface.
Nov 11, 8.1.0 Release-9
Note: Non-dts builds are discontinued from this release. If dts builds doesn't boot then consider updating your rom. Should work on 9.0 as well. We are now up to date as per CAF, Linux-stable as well as Google/AOSP's kernel updates
Merged latest CAF tag LA.BR.1.3.7-05010-8976.0 (rb1.11)
Merged updates from Google/AOSP kernel-common.
Removed input-boost in favour of touchboost and interactive boost.
Removed power optimizer push-pop (popp) restrictions from gpu for potential performance improvements.
Updated and switched to CFQ i/o scheduler
Misc. power/performance optimizations.
Nov 11, 7.0 Release-4:
Removed input-boost in favour of touchboost and interactive boost.
Updated and switched to CFQ i/o scheduler
Misc. power/performance optimizations.
Oct 30, 7.0 Release-3:
Enabled usb tethering.
Removed power optimizer push-pop (popp) restrictions from gpu for potential performance improvements.
Updated spectrum profiles w.r.t qcom-post-boot service on stock rom.
Sep 10, 8.1 Release-8 for custom roms:
NOTE: Balanced profile viz. default is now using performance governor for GPU only to improve ux to some extent. Once the performance gets stable/consistent on oreo roms I'll switch it back to msm-adreno-tz. Users can switch to msm-adreno-tz if they want through kernel managers.
Merged relevant updates from NPJS25.93-14-18.
Allow mounting cdrom using apps like drivedroid etc.
Slight performance improvements.
Sep 08, 7.0 Release-2:
Rebased over latest 7.0 CAF tag.
Merged NPJS25.93-14-18 sources from Motorola.
Allow mounting cdrom using apps like drivedroid etc.
Slight performance improvements.
August 02, Release 7:
Oreo custom roms:
Rebased kernel source over CAF tag LA.BR.1.3.6-05410-8976.0 (7.1.2) and NPJS25.93-14-15 by Motorola
Merged relevant updates from CAF tag LA.BR.1.3.7-05010-8976.0 (8.1.0) and kernel-common
Properly up-streamed up to Linux stable 3.10.108
Merged recent kernel side updates to Wireguard
Removed some not so important i/o schedulers (cfq, maple and noop are more than enough)
Removed useless debug options to for cleaner and smaller kernel
Removed ondemand and conservative cpu governors (not suitable for big.LITTLE)
Reworked CPU oc/uc support to 403/499mhz levels (anything more lower shall yield no real benefit)
Updated spectrum profiles
7.0 Stock Release 1:
Some kernels have different workarounds for modules, therefore, it is recommended to flash 7.0 kernel only over your stock rom kernel. Don't flash over any other custom kernels. This is to avoid any issues with important modules such as wlan (wifi). Subsequent releases can be flashed over the same kernel's older version.
Based on NPJS25.93-14-15 sources by Motorola
Properly up-streamed up to Linux stable 3.10.108
Updated wifi/wlan drivers from latest 7.0 sources from CAF
Added all features mentioned in 1st post. (list updated in op)
Applicable updates from r7 oreo changelog were also merged.
June 14, v6.2:
Fixed mobile hotspot for both 32/64 bit
Removed conservative cpu governor
Switched too GCC 4.9 (Higher GCC versions are causing issues with data, wifi and hotspot as witnessed by some users)
Final update to katnap governor
NOTE: Since v6, I recommend using default kernel settings for CPU, GPU, clock speeds and governor profiles rest you can change. Why? read the explanation below properly...
v6 release came with spectrum app support which allows to switch between various user modes which are - Gaming, Battery, Balanced (default) and Performance. Thanks to frap129 a.k.a Joe Maples for spectrum. You can use the spectrum app to switch between various modes as per your needs with just a single tap.
For e.g. before starting a game just switch to "Gaming" mode from spectrum app to improve the game-play. After game-play is over don't forget to switch back to "Balanced" mode which is also the default. You can also choose "Battery" mode when you keep your device idle for maximum savings. If you prefer smooth user experience without worrying about battery then "Performance" mode is for you.
Both "Performance" and "Gaming" modes are battery hungry but will improve the user and gaming experience respectively so use them accordingly. Similarly don't expect great performance or smooth user experience from "Battery" mode.
"Balanced" mode is self-explanatory.
No support from my side if you're using some kind of mods that might conflict with above mentioned kernel settings. Fair enough! don't need any false reports where the problem might be because of any such mod.
Might be bitter but had to say this, don't bother reporting problems if you can't do it properly. Haven't seen a single post reporting wlan issues with logs and surprisingly I'am not a god who can guess issues from nothing. XDA is a community where users shall also contribute to make things better. Just coming here and searching for download links then complaining about stuff not working... it doesn't work this way. We don't expect much from users, we only want that if we're putting some efforts then users should also take at least some effort to give proper bug reports and feedback. For someone who doesn't know how to take logs etc. try google, you'll find tons of guides over internet and here at XDA itself. Thank you.
-------------------------------------------------------------------------
June 10, Release v6.1:
Fixed hotspot for 32-bit
Replaced fsync toggle with automatic Dynamic fsync driver 2.1 by boeffla
Replaced fp-boost driver with generic wake boost interface
Renamed loony governor to katnap
Some performance improvements during and after boot
Merged moto specific wlan/prima changes
Added 2 more potential wakelocks to block list just in case
NOTE: Since v6 (previous) release I recommend using default kernel settings for CPU, GPU, clock speeds and governor profiles. Why? read the explanation below properly...
v6 release came with spectrum app support which allows to switch between various user modes which are - Gaming, Battery, Balanced (default) and Performance. Thanks to frap129 a.k.a Joe Maples for spectrum. You can use the spectrum app to switch between various modes as per your needs with just a single tap.
For e.g. before starting a game just switch to "Gaming" mode from spectrum app to improve the game-play. After game-play is over don't forget to switch back to "Balanced" mode which is also the default. You can also choose "Battery" mode when you keep your device idle for maximum savings. If you prefer smooth user experience without worrying about battery then "Performance" mode is for you.
Both "Performance" and "Gaming" modes are battery hungry but will improve the user and gaming experience respectively so use them accordingly. Similarly don't expect great performance or smooth user experience from "Battery" mode.
"Balanced" mode is self-explanatory.
----------------------------------------------
June 05, Release v6:
Switched to GCC 6.4-stable (only 64-bit)
Compiled with cortex-a53 tune flags
Introduced my own custom Loony governor based on interactive and franco kernel tweaks
Added spectrum app support and tuned profiles for various modes
Added 160mhz for gpu in "Battery" mode (using spectrum app)
Removed adreno idler and powersuspend (took me time to realise that these are not really necessary)
NOTE: From this release I recommend using default kernel settings for CPU, GPU, clock speeds and governor profiles. Why? read the explanation below properly...
v6 release comes with spectrum app support which allows to switch between various user modes which are - Gaming, Battery, Balanced (default) and Performance. Thanks to frap129 a.k.a Joe Maples for spectrum. You can use the spectrum app to switch between various modes as per your needs with just a single tap.
For e.g. before starting a game just switch to "Gaming" mode from spectrum app to improve the game-play. After game-play is over don't forget to switch back to "Balanced" mode which is also the default. You can also choose "Battery" mode when you keep your device idle for maximum savings. If you prefer smooth user experience without worrying about battery then "Performance" mode is for you.
Both "Performance" and "Gaming" modes are battery hungry but will improve the user and gaming experience respectively so use them accordingly. Similarly don't expect great performance or smooth user experience from "Battery" mode.
"Balanced" mode is self-explanatory.
----------------------------------------------
May 04, Release v5.1:
Note: Sources moved to github.
Merged updates from NPJS25.93-14-15 (Feb, 2018) moto kernel sources,
Merged updates for wlan prima driver to bring in-line with latest CAF tag LA.BR.1.3.7-05010-8976.0,
Switch back to single build for 64bits. Made compatible with all roms,
Few kernel-common updates.
April 28, Release v5:
32-bit support added!
Changes merged from CAF branch (1.3.6) and Google kernel-common
Removed CRC enable/disable toggle - We know we want CRC disabled by default to avoid ~30% performance cost. So, it doesn't make sense to have a toggle for it as users may unknowingly enable it which defeats the whole purpose of disabling it by default in the first place.
Enable 320k AAC encoding
Tuned CFQ i/o scheduler
Added touchboost which is disabled by default. Enabling it will significantly improve the performance at the cost of battery life. This feature can be enabled using kernel manager (EX kernel manager recommended)
Replaced wakeup boost with Fingerprint Boost driver.
Removed boot and boostpulse sysfs nodes from interactive governor. Neither we were using it nor it is needed, users can enable cpu-boost if needed.
Updates wlan prima (wifi) driver to latest CAF tag LA.BR.1.3.7-04410-8976.0
Using cpu_relaxed_read_long and defining relaxed version of some arm64 specific macros, and functions to improve power efficiency. (this one is only for arm64)
Some cpu-boost code clean-up. Removed migration related boost from cpu-boost. Handled by scheduler and governor now.
Added display state awareness to msm_adreno_tz gpu governor. This aids adreno_idler by reducing the overhead.
Backlight dimmer toggle (disabled, enabling this would allow to lower brightness even more)
Apr 05, Release v4.1:
Restore default gpu clocks
Sdcardfs space leak fixed,
Updates merged from google android kernel-common,
Enabled ARCH_POWER and added toggle to enable/disable the same through EX Kernel Manager,
Nuked gentle fair sleeper toggle and re-enabled gfs. Disabling it was causing cores getting stuck at max freq for most of the time,
Added wake-up boost to avoid or atleast minimise any potential wake-up delays. I've personally never faced this on Oreo but some people reported it recently,
Added some more potential wakelocks in Boeffla wakelock blocker driver,
Wlan driver updates merged from latest caf release LA.BR.1.3.7_rb1.11,
Some efforts towards improving memory management a bit.
03 March 2018, Release 4:
Added new boeffla wakelock block driver,
Added wireguard support,
Added adreno idler - ramp down GPU on idle,
Reverted stuff: zen-interactive, frandom, hid,
Added sweep2sleep feature by flar2
Enabled fp to sleep by default, can be used as home too,
Enabled kernel samepage merge,
Merged latest changes and fixes from upstream teambutter.
Release 3.1:
Jan 14, 2018:
reverted some pre-configurations to default settings
Jan 08, 2018:
fixed notification led on supported roms
added maple i/o scheduler
Release 3:
Jan 03, 2018:
implement zen-tune: kernel tuning for interactivity
re-added powersuspend driver
zram increased from 512mb->768mb
cpu boost pre-configured
enabled adaptive low memory killer by default
tweaked deadline and row scheduler
tweaked westwood tcp congestion avoidance algorithm
changed default i/o scheduler to zen
added crc check toggle (disabled by default)
added gentle fair sleepers toggle (disabled by default)
slight undervolt and other power efficient optimizations
disabled some debugging
enabled arch power
added suspend_again handler (update for quick wake-up driver)
added led blink support
implement fast idling of cpu on partial system load
optimized console frame buffer to improve performance
other misc. fixes
fixed simple_ondemand crash
Release 2:
Dec 29, 2017:
fixed audio
switched to default google toolchain
Dec 28, 2017:
fixed zram
enabled core control
enabled homebutton driver
added sound control
added gpu overclock/underclock support
power efficient workqueue patches
added fiops, sio and zen i/o scheduler
blocked wakelocks by default
enabled cpu boost
added wake-up boost
added /dev/frandom support
added quick wake-up driver
added hid patch
Release 1:
enabled advance color control
added cpu overclock/underclock support
Reserved
Can you do a version which uses fingerprint sensor to sleep?
vitor.cardoso180396 said:
Can you do a version which uses fingerprint sensor to sleep?
Click to expand...
Click to collapse
You can configure that using kernel manager.
Alternative option is to use button mapper app by flar2.
i have a lag after flash this kernel. but thank you
When I play a song or a video the sound is crashing, something like cutting, I give u a log and thanks for the effort
Turbo charger doesn't work for me charges very slowly and phone heats up quickly! Any work around with kernel auditor?
I'll flash version 2 and let you know if anything changes
kman46 said:
Turbo charger doesn't work for me charges very slowly and phone heats up quickly! Any work around with kernel auditor?
I'll flash version 2 and let you know if anything changes
Click to expand...
Click to collapse
If ur device is at a temp of 42+°c then the turbo charging won't work, let the device cool down and it will work
im already on r1 loony kernal
how to flash r2 ??
is dirty flashing okk????
i have done a dirty flash of r2 over r1 version but ii feel very laggy n i tried reboot couple of time still little laggy
now back to r1 version
im on XT1644 version with magisk 15.1
thanks dev for your hard work????
waiting for a stable release?
RobertMVazquez said:
When I play a song or a video the sound is crashing, something like cutting, I give u a log and thanks for the effort
Click to expand...
Click to collapse
Same problem here
Release 2 update
RobertMVazquez said:
When I play a song or a video the sound is crashing, something like cutting, I give u a log and thanks for the effort
Click to expand...
Click to collapse
Thanks for the logs
I've updated and re-uploaded the new release 2 zip with audio fixed. Links updated in the op.
Also don't forget to enable Mono audio under Settings->Accessibility
Wow 64 bit is getting real ❤❤❤❤
Thanks for the kernel, what is new in loony-r9.1 for nougat?
kevinarol said:
Thanks for the kernel, what is new in loony-r9.1 for nougat?
Click to expand...
Click to collapse
Not released use the attached zip for nougat it is stabler than 9.1 but not updated in the directory. Features are more or less same.
For xt1625 users after flashing updated loony my phone hangs at unlocked bootloader warning for minutes. All you need to do is power and volume down boot into fast or bootloader mode whatever you call it and choose start again loads fine after that.
To add HDR is probably not going to ever work with xt1625 that's were the devices are different the plus has a 16 mp camera and I got a 13 mp I've got the camera to work but no HDR option like on my nexus.
lCrD512 said:
Not released use the attached zip for nougat it is stabler than 9.1 but not updated in the directory. Features are more or less same.
Click to expand...
Click to collapse
Ok, but why recommend me v7 instead of 9.1 for nougat which is available in download section?
kevinarol said:
Ok, but why recommend me v7 instead of 9.1 for nougat which is available in download section?
Click to expand...
Click to collapse
That's not version 7, don't go by the name of zip. It is updated I was using it personally.
lCrD512 said:
That's not version 7, don't go by the name of zip. It is updated I was using it personally.
Click to expand...
Click to collapse
ahhh thank you ?? Happy New Year!
Update: Release 3
Happy New Year to Everyone!!
Release 3 is out. Download links in first post.
Changes:
Jan 03, 2018:
implement zen-tune: kernel tuning for interactivity
re-added powersuspend driver
zram increased from 512mb->768mb
cpu boost pre-configured
enabled adaptive low memory killer by default
tweaked deadline and row scheduler
tweaked westwood tcp congestion avoidance algorithm
changed default i/o scheduler to zen
added crc check toggle (disabled by default)
added gentle fair sleepers toggle (disabled by default)
slight undervolt and other power efficient optimizations
disabled some debugging
enabled arch power
added suspend_again handler (update for quick wake-up driver)
added led blink support
implement fast idling of cpu on partial system load
optimized console frame buffer to improve performance
other misc. fixes
fixed simple_ondemand crash
Reminders:
Do not reflash magisk if already flashed (root shall be retained). Just flash the kernel zip in twrp and reboot.
Lineage users shall enable mono audio under Settings->Accessibility for audio to work.

[Kernel][PELT][EAS][Spectrum]Nameless Kernel[4.4.213][R31][z2_plus]

! This kernel is based on treble tree,so make sure you are on a treble ROM !
【! From R20 , it only support 4.4 compatible ROM since we are having 4.4 kernel !】
! Some profiles from /vendor will be replaced so if you want to fully uninstall this kernel,just dirty flash your current ROM!
If you are coming from other kernels,better to do a dirty flash on your current ROM to avoid any strange problems.
Nameless Kernel Snapshots Telegram Channel
https://t.me/nameless_zukz2
You can get latest test build here
---------Notice-----------
I can say with certain flashing this kernel is safe at all.Kernel will not go on OC freqs if u dont choose OC freqs by using tools like KA.So in fact u can use this kernel as a non-OC kernel Lol.
But the kernel has a lot of settings that could cause unstable like high OC freqs (2.53/2.46/780/2.0),so its strongly recommend to test the freq you want to use before you set it for daily use.Just lock min and max freq to it and see if theres kernel panic or crashes.If everything is fine,you can choose it for daily use.Or u can try to raise voltage for it and test again.
For every device:
OC 2.26+1.68+624 is stable
For most device:
OC 2.34+1.76+710 is stable
For some device:
OC 2.41+2.0(1.86)+780 is stable
For little device:
OC 2.50+2.0+780 is stable
So if this kernel is good at performance or battery depends on ur settings.Default settings(1.8+1.3+624) prefer battery + smooth.
!!!!!Above all,DONT PLAY PUBG ON OC FREQS IF U DONT HAVE WATER COOLER!!!!!
!!!!!UNDERCLOCK FOR PUBG OR U CAN HARDLY EAT CHICKEN LOL!!!!!
-------------------------------
Feature:
-Big cluster OC 2.5GHz
-Little cluster OC 2GHz
-GPU OC 780mHz
-Intellithermal included
-Modified thermal config included
-Sound control added
-A lot of TCP govs
-Ghostpepper from AKT included(Less heat and better performance)
-Sound control added
-Arch power included
-Fsync control added
-A lot of optimization included
-Touch boost can be switch now(disable by default)
-CPU set 2.15+1.59 as default
-Upstream to 3.18.107
-Background tasks can load on both cpu0 and cpu1
I think you neednt do anything about optimization to this kernel because I have already do my best for it XD
Download here:
https://github.com/xzr467706992/Nameless-Kernel-Release(old)
or
https://androidfilehost.com/?w=files&flid=267763 (new)
Spectrum download:
https://play.google.com/store/apps/details?id=org.frap129.spectrum
https://www.coolapk.com/apk/org.frap129.spectrum
(Chinese)
Flash it and reply this thread if ur phone dosent explode(just a joke)(It should be SAFE)
Source:
https://github.com/xzr467706992/android_kernel_zuk_msm8996
Anykernel repo:
https://github.com/xzr467706992/AnyKernel2
Many thanks to:
@mracar (Help me fix audio problem on z2 pro)
@DD3Boh (This kernel is based on his tree)
@Star_king12 (for awsome works on 4.4 kernel)
@kenny3fcb (for awsome works on 4.4 kernel)
And thanks everyone works on z2 (pro)
From R20 , it only support 4.4 compatible ROM since we are having 4.4 kernel. So go to flash a ROM with 4.4 kernel build in(Latest arrow,aex,etc.),or you ll get problem with video playback and usb.
The latest 3.18 kernel is R19.
R31
Changelog:
- Rebase on CAF "LA.UM.8.4.1.r1-00300-8x98.0"
- Linux 4.4.213
- Merge latest kernel/common
- Update qcacld wlan drivers to "LA.UM.7.6.r1-06700-89xx.0"
- Update simple lmk to v2.25.0
- Increase ZRAM size to 750MB
- Build kernel with clang 10.0.2
- Rebalance cpuset
- Update Anykernel3 and fix error on Android Q system-as-root
- Add msm_irqbalance binary from marlin
- (z2_plus) Restore to original zui touchscreen drivers, fixing touchscreen randomly fails on some devices
- Cleanup some useless commits
- Fix network signal guru not working
- Fix spectrum profile reset after booting
- Fix performance drain after locking screen for a while on some ROM
- Remove OC as it may influence EAS energy balance
- Improve smoothness under mobile data
- Improve app launching time
- Fix up PELT with backports from kernel/common android-4.14
- Move to PELT load tracking for EAS
- Enable iptable ttl target support
- (z2_plus) Add display panel refreshing rate overclock
* Need lock and and unlock (turn screen off and on) after booting or OC wont work.
- Add cpu undervolt
* uv1=undervolt slightly
uv2=undervolt extremely (mostly unstable)
* uv2 can bring about 15% power cost drop down for Kryo HP @ 2.15Ghz
R30
Changelog:
- 4.4.184
- Merge latest caf tag
- Merge kernel/common
- Merge latest qcacld wlan drivers
- Update Clang to 9.0.5
- Update Anykernel2 to Anykernel3
- Move to simple_lmk
- Drop ZRAM size back to 512MB
- Update cpu_input_boost drivers
- Fix some more memleaks
- Support disable FP in latest lineage
- Include sultan's iommu,qos,mdss,cpuidle and many other optimizations
- Upstream f2fs and rapid gc changes
- Allow background tasks load on cpu1
- Slightly optimize touchscreen performance
- Drop z3fold and move back to zsmalloc
- Move back to stock lz4 modules
R29
Changelog:
- 4.4.178
- Rebase on caf's kernel.lnx.4.4.r37-rel branch with latest kernel/common changes merged in
- Update to latest qcacld wlan drivers
- Clang update to 9.0.2
- Gcc update to 9.0.1
- Add hall switch driver
- Upstream f2fs
- F2fs rapid gc support
- Bump up framebuffer boost value of performance profile to 1GHz
- Upstream anxiety io scheduler
- Cleanup defconfig
- Fix log spam on ROMs with hmp perf stack
- Upstream EAS
- Fix some memleaks
- Limit the rate of CPU clock-rate changes
* You can edit it at /sys/module/qcom_cpufreq/parameters
- Boost cpu when lmk decide to kill tasks
* You can edit it at /sys/module/boost_control/parameters/lmk_boost_ms
R28
Change log:
- Update to latest qcacld wlan drivers
- Merge latest caf tag
- Improve idle drain slightly
- Fix USB tethering really
- Remove unused livedisplay drivers
- Underclock cpu on suspend
* You can edit the frequencies in /sys/module/cpufreq/parameters
* Underclock 307mhz+307mhz on suspend for battery profile and 1.0ghz+0.8ghz for balance profile
- Add shenqi_nv support
- Clang 9.0.1
- Improve fp speed slightly
- Remove init.qcom.sh in ramdisk patches and move changes into init.nameless.sh
- More cpufreq and io schedulers bring in
- Boost cpu when launch apps (You can edit boost duration at /sys/module/boost_control/parameters/app_launch_boost_ms)
*Default set 500 for balance and 1500 for performance and gaming.
- Move back to old sound drivers so that low sound problem maibe fixed.(Still not sure if this is the real problem)
R27
Change log:
- 4.4.176
- Fix -4℃ in KA
(But the cpu temperature is still not accurate because KA is reading a wrong sensor)
- Improve standby.
- Enable iowait_boost.
- Move to dynamic stune boost(Improve battery slightly)
- Updated thermal config
- Move init.spectrum.sh to /vendor/bin
- Fix broken sound in wechat videoplayback&Tik Tok
- Fix phone's mic when headphoes are plugged in
* Thanks to yaro's source
- Encryption (maibe) fixed(ROM support needed)
- Speaker gain is back
- Applied some upstreams from kernel/common
R26
Change log:
- 4.4.174
- Latest caf tag
- Latest qcacld drivers
- Upstream f2fs
- Update fp drivers with yaro's one
- Add support for spectrum
- Support sultan's boost.And you can control it at /sys/module/boost_control/parameters
- Battery improved a lot (at least for me)(About -12%/h under wifi with performance profile on normal usage)
- Fix broken bt,fp and other sensors on aosip,pe etc.
- Switch to mount factory as vendor.
( If you are on a ROM with vendor mount as vendor,what you need to do is
1. Flash twrp with factory support( https://androidfilehost.com/?fid=11410963190603913223 )
2. Flash vendor2factory ( https://androidfilehost.com/?fid=962187416754475514 )
3. Flash nameless and it ll work.
*Dont flash v2f after flashing the kernel,otherwise spectrum wont work and vendor ramdisk wont be updated.
)
*If you are coming from other kernels,better to do a dirty flash on your current ROM to avoid any strange problems.
Spectrum profiles:
cpubigmax+cpulittlemax+gpumax+gpumin+schedtune.boost-value+sultan-boot-big+sultan-boost-little
Balance(Default):1.8+1.3+510+180+1+0.5+0.8
Performance:2.15+1.59+624+180+10+0.4+0.6
Battery:1.4+1.0+401+180+1+0+0
Gaming:1.6+1.4+510+315+10+0.8+0.8 (For stable pubg experience)
Spectrum download:
https://play.google.com/store/apps/details?id=org.frap129.spectrum
https://www.coolapk.com/apk/org.frap129.spectrum
(Chinese)
* Reep for hmp build because its dead.Switch to R23.1 or R24 if you love it.(I rebase hmp build on eas ,but R25 seems not booting,so its time to stop maintain it)
R25
Change log:
- 4.4.172
- Build with clang 8.0.7+gcc9
- Latest caf tag merged in
- Lastest qcacld wlan driver included
- f2fs upstreamed
- Add some memleaks fixes
- tcp partly backported from mainline
- cfq partly backported from mainline
- z3fold support
- memlat support
- upstreamed eas
- vdso patches included
- Switch to aosp's lmk
- Switch to yaro's fpc1020 drivers
R24
Change log:
- Rebase on 4.4.169 with latest caf tags
- Remove all unnecessary changes and upstreams
- Performance seems better than last build
- Fix booting on z2 pro
R23.1
Change log:
- Fix error when booting on hmp build
- Tweak EAS boost values for longer SOT and less heat
R23
Change log:
- Upstream to 4.4.166
- qcacld drivers updated
- Add support for irq balance
- Switch to android clang 8.0.5 and gcc 8.2
- Frame buffer boost disabled by default on hmp builds for longer SOT
R22
Change log:
- Upstream to 4.4.164
- EAS build available
R21
Change log:
- Enable lz4 for zram
- Sultan's fb boost enabled
- Charging problem fixed
* You can control sultan's boost yourself by editing files under /sys/module/boost_control/parameters
R20.1
Change log:
- Upstream to 4.4.163
- Build with LiuNian clang 8
- See github for more
R20:
Change log:
- Linux version 4.4.162
- Works on 4.4 compatible ROM only (ROMs with 4.4 kernel build in)
R19:
Change log:
-Upstream to 3.18.124
-Latest caf tags merged in
-HZ=300
-Improve stability on high load
-See more on github
R18
Change log:
-Upstream to 3.18.120
-Latest caf tags merged in
-Upstreamed some drivers
-Double click wake up enable by default(Works on P)
-Add support for hugepage but disabled by default
-Add support for ksm but disabled by default
*If your ROM is build with lineage trees in zuk-devs,hugepage will be enabled if your device have 6GB RAM and KSM will be enabled if your device have 3GB RAM.
-You can see gpu go 100mHz when theres no load this time
-Current information update every 5s
-See github for more changes
*If you are on Pie ROM with volte working.Flash R18[Volte] build or you ll lose volte after rebooting.
R17
Change log:
-Upstream to 3.18.115
-Include a safetynet patch (need test)
-Added an interface to adjust cpu max freq after screen off(in interactive gov)
-Interface to turn on/off cpu input boost
-Dynamic fsync included
-Gpu min freq now down to 180mHz
-Wireguard included
-Latest caf tag merged
-Latest qcacld driver merged
-Performance improve
R16
Change log:
-Build with DragonTC
-Performance improve
-Upstream to 3.18.110
-Latest source merged
-Faster boot-up speed(than last build lol)
-Back to use 2.15+1.59 as default
R15
Change log:
-Revert something that can cause unstable
-Undervolt for less heat(May cause panic on some device when benching, use voltage control to raise voltage if u meet that)
-Some upstreams
R14
Change log:
-Upstream to 3.18.108
-A lot of hotplugs included(Not recommend enable it on our kryo but u can have a try)
-Intellithermal removed because seems that it doesnt work.
-Use another sound control driver those problem may fixed
R13
Change log:
-Merge latest caf tag
-Use more proper freq table
-Use more proper values for Gpu
-Check if supported before flashing
-Use stock voltage for cpu to fix panic on some device when benching
R12
Change log:
-Upstream to 3.18.107
-Now cpus will not boost to OC freqs when device is booting and I lock it to a lower freq so there will less heat when booting but a bit slower than last version.So OC is quite safe now,cpu OC only when u select an OC freq,u can use this kernel as a non-OC kernel now Lol.
-Fix panic when booting on some bad devices.
-Big cluster OC 2.53 GHz now(Really unstable,I can only stay seconds on it with raising voltage to 1.25v (using voltage control).Hope some lucky guys could have a bench on it Lol.
!!!And do not use this freq for daily use!!!)
-Little cluster 1.86GHz added.
-“Performance” gov have got no performance now(because of those things before so lock min freq to max if u want to use something like performance gov)
R11
Change log:
-Undervolt a bit
-Upstream to 3.18.106
-Latest source merged
-USB fast charge added
R10.5
Change log:
-Fix voltage problem cause by a oversight
-Really less heat on this build because a ****ing problem is fixed Lol
R10
Change log:
-Fix audio on z2 pro
-Switch to GCC 7
-Underclock 1.8+1.3 as default
-Voltage control added
-Intellithermal added
-Fsync control added
-Sound control works
R9
Change log:
-Fix boot problem on aex0416 build
#Old tree with /factory mounting as /vendor is not supported now#
R8
Change log:
-Darkness added
-maple added
-New thermal conf added with less heat
-LMK back to stock
Nameless Kernel R7
Change log:
-Fix lagging cause by LMK
-Upstream to 3.18.105
-ElementalX added
-Zen I/O gov added
-A lot of network I/O gov enabled (westwood default)
-Set gpu 624mhz as default
-Raise voltage for little cluster 1996mhz and gpu 780mhz,it should be more stable now.
Nameless Kernel R6.5
-Not really a new build
Change log:
-Fix performance on AEX5.4.
Try this if u feel performance on aex5.4 is a ****
Nameless Kernel R6
for z2 plus and z2 pro
change log:
-Sound control added
-GPU now OC 780mHz
-GPU minimal frequency up to 214 mHz so it will be more smooth (Like recent UI)
-Added 1689 mHz for little cluster
-Lower voltage for non-OC frequencies for less heat
-Raise voltage for OC frequencies for stable
-Merge latest source for z2 pro from cosmedd's repo so sound problem should be fixed.
Nice, time to bomb Z2 plus up already its Summer Time Madness lol
Just Kidding, XD
Nice work.. lack of custom kernel for our device is now gone thanks to you.. I'll try when i flash treble rom but thank you anyway..
Am I dreaming? *0*
How is the battery life on this rom?
lolnwl said:
How is the battery life on this rom?
Click to expand...
Click to collapse
It is not a ROM !
It is a kernel .
Can someone give a review of batter performance of this kernel on aex, i am currently on non treble rom can't try the kernel
That 2.4 oc is bad really bad its unstable for the device
MtBlackstar said:
That 2.4 oc is bad really bad its unstable for the device
Click to expand...
Click to collapse
So I lock it down to 2.15 as default.You can choose 2.2/2.3 as you like.
Is voltage control available? And I think there're too little steps above the stock frequencies, and did you modified GhostPepper to include all the OC frequencies?
pipyakas said:
Is voltage control available? And I think there're too little steps above the stock frequencies, and did you modified GhostPepper to include all the OC frequencies?
Click to expand...
Click to collapse
No voltage control.Ghostpepper has modified.
If possible to have sound control would be nice :silly::good:
Can we have a nogut version please?
xzr467706992 said:
! This kernel is based on treble tree,so make sure you are on a treble ROM(AEX,cosmic....) !
! Some profiles from /vendor will be replaced so if u dont trust me,backup /vendor before flashing!
Feature:
-Big cluster OC 2.46GHz
-Little cluster OC 2GHz
-GPU OC 710mHz
(sdm 835 Lol)
-Ghostpepper from AKT included(Less heat and better performance)
-Adreno idler included
-Arch power included
-A lot of optimization included
-Touch boost can be switch now(disable by default)(Merge from A.R.Beast)
-CPU set 2.15+1.59 as default
-Background tasks can load on both cpu0 and cpu1
-Upstream to 3.18.102
I think you neednt do anything about optimization to this kernel because I have already do my best for it XD
Download here:
https://github.com/xzr467706992/Nameless-Kernel-Release
Flash it and reply this thread if ur phone dosent explode(just a joke)(It should be SAFE)
Source:
https://github.com/xzr467706992/android_kernel_zuk_msm8996_plus
Anykernel repo:
https://github.com/xzr467706992/AnyKernel2
Click to expand...
Click to collapse
What do you mean by ghostpepper included, is it active by default or we must activated from kernel auditor?
bordi21 said:
What do you mean by ghostpepper included, is it active by default or we must activated from kernel auditor?
Click to expand...
Click to collapse
1.Ghostpepper is an akt profile.
2.Active by default
xzr467706992 said:
1.Ghostpepper is an akt profile.
2.Active by default
Click to expand...
Click to collapse
Thx for the answer and the kernel, I have tried it and the oc is not stable, 2.5 GHz is a little to much )) at least for my device.
bordi21 said:
Thx for the answer and the kernel, I have tried it and the oc is not stable, 2.5 GHz is a little to much )) at least for my device.
Click to expand...
Click to collapse
For me it is stable Lol.You meet kernel panic?How unstable?
And u can use lower OC freq
xzr467706992 said:
For me it is stable Lol.You meet kernel panic?How unstable?
And u can use lower OC freq
Click to expand...
Click to collapse
I mean force restart

Categories

Resources