[KERNEL][4.14.198][MIUI/AOSP] ?Quantic Kernel ? [MIUI WORKS][23/09/20] - Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev

Welcome to Quantic-Kernel, builded specially for Xiaomi Mi 9 codename: Cepheus​
/* I'm not responsable for any damage on your device, for X or Y reason, also I'm not responsable if you loose your alarm and got fired, anything like that, installing this kernel you renounce to make me responsable of any unwanted behavior of your device */
/*Compatible ONLY with Android 10*/
Hi everyone, I want to introduce you my new kernel named Quantic-Kernel, this is my personal build kernel with my prefered features. Hope everyone enjoy it and I'll be maintaining it so people can used it with their preferred AOSP ROM and MIUI ROM(See details below)
/*
* HALL OF DONATORS
* @Kris Chen
* @mitjat (Mitja Tavcar)
*/
FEATURES
Added Underclock down to 180MHz and Overclock up to 825MHz with a 735MHz step and official 675MHz step by CAF (Overclock isn't recommended only when using emulators suchs as Dolphin Emulator)
wq_pwer_saving toggle unlocked (Only visible in EX kernel Manager)
Kernel can be updated using FK Manager or Smartpack manager (see info below on how to add the .json)
Wireguard VPN core support
Added K-Lapse v5.0 module by tanish2k09
Added Sound Control (Thanks to @TeamMex for the fresh implementation)
Added Boeffla Wakelock Blocker v1.1.0
Upstreamed to Linux-4.14.172
Fsync toggle (Use only when your F2FS is your current filesystem)
Dynamic Fsync
Simple Low Memory Killer by Sultan Alsawaf (@kerneltoast)
sched backports from mainline 4.19 kernel
Lates CAF tag of sm8150, SDX55, SD6XX.
KCAL Reimplemented
INSTALLATION PROCEDURE
Flash magisk (If not flashed previously)
Make a TWRP backup of BOOT and DTBO partitions
Flash Quantic-Kernel_rX.zip
Flash Magisk-v20.4
Reboot to system
Enjoy it
BUGS:
Working on all MIUI ROM with broken DC-Dimming (Anti Flicker screen)
AOSP with no bugs
DOWNLOAD HERE
https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases
TELEGRAM CONTACT
https://t.me/Ayrton990 <-- Personal TG
https://t.me/QuanticKernel <-- Discussion group for support
https://t.me/ayrton990mods <-- My update channel
THANKS LIST
Huge thanks to @TeamMex for the help when making some codes
Thanks to @LOswaldoRO for a lot of testing
Thanks to @Giton22 for testing
SCREENSHOTS ATTACHED BELOW
XDA: DevDB Information
Quantic Kernel, Xiaomi Mi 9 (Cepheus)
Contributors
Ayrton990
Source Code: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/
Kernel Special Features:
Version Information
Status: Stable
Created 2020-03-08
Last Updated 2020-07-12

Releases and Changelog
Quantic-Kernel reborn
What's this kernel:
It's a new concept kernel as the usual, this is focused on a improved UI experience to feel the smoothness of a Pixel device.
It's based on latest CAFEST base of sm8150 with clean code, including a several backports from 4.19 CAFEST kernels into the scheduler, making the optimum approach to low jank and jitter experience.
Working over WALT scheduler following the recommendations of CAF:
- CONFIG_HZ=100 instead of 300 used on most custom kernels out there
- SchedTune predictions.
- No AOSP overlayed code
- No riced code inside.
Quantic puts it's enhancements on:
- Backported Wireguard module to July
- ExFAT compatible OTG Devices
- LZ4 Crypto upgraded
- 2GB ZRAM for the best multitask experience
- heavily adapted scheduler aligned with CAF recommendations.
- CAF energy management by default instead of Xioami's.
- GPU OC Temporary disabled (will be ready next update until upstream arrives)
- Recalculated EAS Capacity in DTS
- Latest Long Term Support 4.14.193
- Latest tag for sm8150
- In kernel boosting drivers rather than common CAF Boost that causes massive task migration impacting performance and battery life.
- Battery life improved drastically
NOTES:
- BUGS: NONE SO FAR.. (You tell me?)
- Flash over the ROM stock kernel.
- This kernel works perfect aligned with my latest AOSiP build ?
- Screen OC will be added on next build
- Edit : Added Hotfix version
Download:
- http://quantic.carlosayrton.com/Quantic/Cepheus/AOSP/Quantic-Kernel-REBORN-Fixed.zip
OLD RELEASES
Quantic-Kernel r22
Changelog:
- Fixed BSD (Black Screen of Death while device locked)
- Switched to PELT Scheduler (New reworked sched, same as MIUI variant)
- Implemented turbocharge by wloot (To use generic chargers with 3A+ of flow)
- Bringed back GPU Overclock up to 810MHz
- Fixed performance regression (Geekbench: 761 single core, 2618 Multi-Core)
- Bringed back Sound Control
- Jitter with less disparity
BUGS: None so far
Battery Consumption: Acording to my weak test battery drain on simple task should be arround 9.80%/h and idle arround 0.36% please report back if you see high consumption
Download AOSP and MIUI: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases
Quantic-Kernel r21
Changelog for AOSP | Download here
Changelog for MIUI | [URL="https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r21-MIUI"]Download here
MIUI Users, Disable DC-Dimming or Anti-Flicker before flashing, else you will have a bootloop.
Join to my telegram group for support or to my channel to get faster updates
Quantic-Kernel r17
Changelog for AOSP:
- Upstreamed to LTS: 4.14.186
- Upstreamed Low Memory Killer by Sultan Alsawaf @Kerneltoast
- FOD Improvments (Use qcom drm notifier for event blanks)
- disp: msm: sde: prevent CPU from sleeping while processing display IRQ
- soc: qcom: smp2p: keeping inbound entry on freeze
- ARM64: dts: sm8150-common: Disable all PCIe and MHI nodes
- cpufreq: Only block min freq setting for booster processes
- qos: Don't allow userspace to impose restrictions on CPU idle levels
NOTE: Kernel version remains on r16 because I forgot to change it
NOTE: Userspace is the plain where rom and user can tamper in kernel settings by a good or bad way
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r17
Changelog for MIUI- Initial Release
- Upstreamed to LTS: 4.14.186
- Upstreamed to CAF: LA.UM.8.1.r1-15100-sm8150.0
- FOD Fixed by @sekaiacg
- FOD Improvments by @laulan56
- AOD and FOD on AOD Fixed by @official-Ayrton990
- GPU Overclock to 835MHz
- Fsync toggle and Dynamic fsync
- Disabled all qcom boost
- Use qcom drm notifier and all fingerprint and touch drivers and objects
- PELT Scheduler
- Scheduler backports for general performance and baterry consumption
BUGS: Anti screen flickering not working and dont try to enable or your would never be able to boot the rom
BUGS: Since I'm using magisk to solve some issues of FP coming from M.O.D Kernel or Evira Kernel will bootloop your device, be aware.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r17-MIUI
Quantic-Kernel r14
Fod Improvments in accuracy and speed according to
Changed interpolation method from linear to non-linear using logarithms (base 2) for a better accuracy and response in brightness (see: f8658e8)
Fixed high birghtness after unlocking device using fod.
avoid atomics to trigger drm_notifier
Massive improvments in performance and battery consumption, according to
Custom Implementation of cpu_input_boost
Selected minimum optimal frequencies for sm8150 (Thanks to kdrag0n)
Boosting DDR Bus when a new frame is ready to be commited.
Boost when memory pressure becomes high
Upstreamed CAF to: LA.UM.8.1.r1-15100-sm8150.0
Upstreamed LTS: 4.14.183
Scheduler improved, reduced Jank and Jiter (UI)
WALT Dropped
Idle improved (Tweaked s2idle)
Minor battery improvments in general.
OC restored back (recommended default 675MHz)
NOTE: Improvments on FOD are only avaliable in the FOD-IN-KERNEL version
FOD-IN-KERNEL only compatible with: LOS, PE, P-404, Syberia, Descendant and crDroid.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r14
Quantic-Kernel r12
rebuilt FOD changes from the ground up to avoid flickering (kernel side changes obviously, requires updated trees)
Enable lz4 zRAM compressor for PELT version
wakeup logging under new s2idle flow
Improve general performance of the scheduler
sched/fair: don't migrate stune boosted tasks to little cores
sched/tune: remove WALT support from stune assist (performance improved, because this enable full stune assist on PELT)
Upstreamed to 4.14.18 from kernel.org
Latest CAF Tags
For FP, there will be 2 versions, one for updated roms with optimized fod by Demon000, such as Pixel Experience and LOS, other version [PELT(2)] will work on other roms like derpfest based and crDroid.
Some little performance improvments and idle consumption lowered
ExFAT added to PELT(2)
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r12-PELT
Download here (Optimized FOD): https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r12-PELT_DERP
Quantic-Kernel r10
Upstreamed to 4.14.181 from android-linux-stable
Embedded dtbo.img into the kernel, this will let modders to alter the dtbo partition without messing with fp.
Updated sched_energy driver
Checkout to sched_energy to common kernel android 4.14
Idle drain improved (please don't use meme apps such as greenify, naptime and GMS Doze, because aren't compatible with sleep2idle)
New complementary build with PELT Scheduler (NO GPU OC, NO KLAPSE and NO Boeffla Wakelock Blocker)
Upstreamed osm0sis Anykernel3
HEX-PATCHED boot.img support on anykernel.sh to support no-root users
Added schedION (See info below) optimized for PELT mechanism
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here WALT Version: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r10
Download here PELT Version: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r10-PELT
Quantic-Kernel r9
Enabled sleep2idle
Fix excessive packing on the max capacity CPU
updated LZ4 decompressor module
tcp: up initial rmem to 128KB and SYN rwin to around 64KB
Enable simple_lmk (Simple low memory killer upstreamed)
Updated vmpressure
Code cleaned at 80%
Introduce devfreq_boost
Boost CPU DDR bus when commiting a new frame
Forced ULPS on dsi_panel instead of my dtsi forced method
Nuked Dynamic_schedboost since it was making a lot of jitter while navigating on the UI and draining battery so fast
Merge tag 'LE.UM.3.3.2-0800-SDX55'
Merge tag 'LA.UM.8.9.r1-09200-SM6xx.0'
Upstreamed to latest AOSP 4.14-q tag
Added some flags optimization to Makefile (NOTE: I know that Linus Torvalds disapproves using -O3 optimizations but I'm compiling with clang instead of gcc)
Nuked default up|down_rate_limit_us values
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r9
Quantic-Kernel r7 and r8
Upstreamed to Linux 4.14.180 of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux
Enabled exposure adjustment and also changed some minor values (DC Dimming or Flicker Free, also tunned to avoid visual artifacts)
Merge tag 'LE.UM.4.2.2.r1-01000-SDX55'
Merge tag 'LA.UM.8.1.r1-14900-sm8150.0'
Merge branch 'android-4.14-q' of https://android.googlesource.com/kernel/common
Backported features that will help CPU to distribute the loads on the cores
Nuked some useless boost from CAF
Tunned thermals zones
Imported binder changes from 4.19
Leds: class: ensure workqueue is initialized before setting brightness
Nuked sched_boost feature
Tweaked schedutil
Avoid thermal_core to not throttle prime core
reserve prime core for high_cap tasks only
disallow taking down big and prime cores by userspace
avoid 100% CPU usage during compaction when a task is killed
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r8
Quantic-Kernel r6
Partially fixed dt2w, some users reporting not working on PA but the rest of the ROMs works
Upstreamed to **linux stable 4.14.178**
Added a new CFS thread for freeing GPU memory. Improves performance when tearing down processes and lets UI to submit work to the GPU. (more info here: 24c27d8)
Offload mementry destroy work to separate thread, this is done to reduce the time spent by user applications in waiting for memory to be freed. (more info here: 0dc7bcd)
Use optimized spinning loop for arm64, this makes about 20% performance improvement on the CPU multithread load. (more info here: 9abedaf)
Fix race between runtime distribution and assignment (more info here: 0d521cd)
Align rq->avg_idle and rq->avg_scan_cost, The only difference between the two is that rq->avg_scan_cost is computed using a pure division rather than a shift (more info here: f3721e1)
Get rid of the big mutex lock on ashmem (more info here: 3ec8f26)
Enable ZRAM to 3GB and use z4 as compressor.
Most of the new features were backported.
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r6 or use FK Manager/smartpack to Update
Quantic-Kernel r4
Merge tag 'LA.UM.8.11.r1-03300-NICOBAR.0'
Merge tag 'LE.UM.4.2.2-00800-SDX55'
Added dynamic schedtune boost
Tweaked cpufreq_schedutil.c again
By consequence of the prior changes, performance is better than last r3 without loosing battery backup.¿t
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r4 or use FK Manager/smartpack to Update
Quantic-Kernel r3
paranoid kernel base by @markakash now deprecated, thanks to him to let this project start
New base build from scratch synced with demon000 fp changes
DDR4 2133MHz OC
Enabled Ultra Low Power State (UPS)
Enabled LZ4 on ZRAM
Enabled CONFIG_IP_NF_TARGET_TTL requested by Vladislav Polyakov this let the user to change TTL by their own value in safe way
Tuned schedutil to reach better performance without damaging the battery life
Use PELT instead of WALT
MIUI not compatible at the moment
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r3 or use FK Manager to Update
Quantic-Kernel v2.1-HF
Fixed tethering, this means that modded TTL to avoid tethering on carries has been reverted. Check: 8b8ef87
Synced with Demon000 changes
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v2.1-HF or use FK Manager to Update
Quantic-Kernel v2.1
Merge tag **'LA.UM.8.1.r1-14700-sm8150.0'** of https://source.codeaurora.org/quic/la/kernel/msm-4.14
Merge tag **'v4.14.176'** of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux
IMPORTANT NOTE: Upstreams could downgrade battery performance, I don't test and review every single commit of an upstream (Takes a lot of hours) so this is likely the price to pay to have an Up to date Kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v2.1 or use FK Manager to Update
Quantic-Kernel v2.0
Merge tag 'LE.UM.3.3.2-07400-SDX55' from CAF
Merge tag 'LE.UM.4.1.2.r1-03500-qcs405.0' from CAF
Avoid tethering carrier detection (EXPERIMENTAL) changing TCP time to live (TTL) packages to 64 (ISP dettects tethering when a value of TTL is dfferent than 64)
Use power efficient workingqueues on GPU
Sycned doze changes from Demon000
Disable readahead by default; could improve performance and power consumption by 70% (sequential; 60% for random).
dtbo regenerated (please test this could break the fingerprint)
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v2.0 or use FK Manager to Update
Quantic-Kernel v1.9
Merge tag 'LE.UM.4.2.2-00500-SDX55'
Added Demon000 screen doze implementation for battery savings
Disabled all debuggers and loggers
Testing new cpu mask to set idle frequencys.
Wireguard is enabled by default
should see better screen off drain
Added the necessary commits for the new flicker-free implementation on PE+ to work
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.9 or use FK Manager to Update
Quantic-Kernel v1.8
Upstreamed to 4.14.175 from https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux
Changed frequency bus (max and min) to achieve better efficiency on GPU OC, this means: Less heat, less battery consumption
IMPORTANT NOTE: Upstreams could downgrade battery performance, I don't test and review every single commit of an upstream (Takes a lot of hours) so this is likely the price to pay to have an Up to date Kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.8 or use FK Manager to Update
Quantic-Kernel v1.7
Support for MIUI (Custom ROMs that doesn't support avb) with broken fp
Force idle 403MHz frequency to silver core (https://github.com/Official-Ayrton9...mmit/49b531db5b553aaac1a42ed6852e4a34ba714190)
Merge tag LE.UM.4.2.2-00400-SDX55.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.7 or use FK Manager to Update
Quantic-Kernel v1.6
Tweaked schedutil governor, now better consumption and battery drain achieved
Removed Spectrum profiles, not necessary now with this tweak on schedutil
Now kernel is upgradable with Franco Kernel Manager and smartpack just adding the following url: https://www.carlosayrton.com/kernel.json
Overclock downgraded to 825MHz, this because some reports about antutu failing on benchmark and lower results, also a lot of shuttering on the UI
Underclock down to 96MHz to idle the gpu and save energy, when watching videos or static images.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.6
Quantic-Kernel v1.5
Upstreamed to 4.14.174 from linux-stable (See my github to review changes)
IMPORTANT NOTE: Upstreams could downgrade battery performance, I don't test and review every single commit of an upstream (Takes a lot of hours) so this is likely the price to pay to have an Up to date Kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.5
Quantic-Kernel v1.4 (Birthday update! :victory
Synced with akash changes
schedION governor added (Battery Friendly ONLY and see INFO Post for details)
Updated Spectrum profiles
IMPORTANT NOTE: Upstreams could downgrade battery performance, I don't test and review every single commit of an upstream (Takes a lot of hours) so this is likely the price to pay to have an Up to date Kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.4
Quantic-Kernel v1.3
Upstreamed to 4.14.173
Spectrum profiles reverted
Kernel updated to LA.UM.8.1.r1-14500-sm8150.0
Flashing method:
Backup stock boot and dtbo
Flash Kernel
Flash Magisk v20.3
Reboot
Notes:
Fingerprint on Screen should be fixed since I'd made a dtbo.img to avoid that issue, however because of the lack of testers I can't guarantee fingerprint working since I reimplemented spectrum profiles again.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.3
Quantic-Kernel v1.2
Deleted Spectrum as fingerprint still not working (sorry for that)
Added houston library from OnePlus 7 PRO
Added blu_schedutil, a governor created by @eng.stk extracted from his kernel implementation on blu spark. (This governor saves battery and unleash power when needed)
Removed several log instructions from defconfig to avoid unnecessary charge on the system.
Added Device_Tree_blob_overlays to completely solve the issue of missing fingerprint in some devices and ROMs (Like crDroid and ArrowOS)
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.2
Quantic-Kernel Hotfix-v1.1
Temporary removed Spectrum, as is the known bad guy that is causing trouble with some people dissapearing fingerprint on display
People that doesn't have problems with fingerprint can stay on v1.0 without problem, this update is made to restore fingerprint.
Please restore your boot and dtbo partition backup made on twrp and then flash the kernel (no need to reflash magisk as I'm not touching ramdisk anymore because no spectrum)
Thanks to Peter Jakson for testing the fixed version Apologizes to everyone for the inconvenience
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/Hotfix-1.1
Quantic-Kernel v1.0
Updated K-Lapse to v5.0 this fixes FK Manager force close issue when activating it
Reimplemented KCAL from scratch, that fixes a lot of shutterings and adds color control to the screen
Added missing header (display_state.h) that causes issues with KCAL
Performance improved massively
Added Spectrum profiles support to the kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.0

Kernel Modules INFO
Introducing schedION governor
schedION is a governor developed by me, it's main purpose is to save battery with PELT Scheduler, you can play game with lower drain and heat, performance still better than stock kernel. This is governor is activated selection "schedion" on the tree clusters and ONLY on PELT edition.
Introducing Spectrum profiles
Spectrum is a simple kernel manager app created by @frap129 in 2017 supporting kernels since Android 5.0 Lollipop, its very special because allows the kernel dev to ship a kernel with preconfigured profiles, with balance, battery, performance and gaming mode, so you can try the best setup made for the kernel without manipulating any kernel variable using others kernel managers.
Spectrum is shipped with Quantic-Kernel since version 1.0, prior versions doesn't support it: like pre-releases and RC.
Spectrum profiles can be applied using Spectrum from Playstore
Spectrum profiles can be applied using smartpack from Playstore

This kernel is going really good and some other good features are coming on next builds. All should try rn.

Thank you, it's working as expected.

Thank you. Tried with latest 11.0.5 stable and worked fine

karrouma said:
Thank you. Tried with latest 11.0.5 stable and worked fine
Click to expand...
Click to collapse
Hey thanks for the testing, did you found issues with fingerprint scanner? :highfive:

Gj mate
Sent from my Xiaomi Redmi Note 7 using XDA Labs

i installed on aosp crdroid and i lost my fingerprint, how can i solve it? thank you

Ayrton990 said:
Hey thanks for the testing, did you found issues with fingerprint scanner? :highfive:
Click to expand...
Click to collapse
Not working
FP not found in security .

TeamMex said:
Gj mate
Click to expand...
Click to collapse
Hey thanks mate, appreciate all your help

baggino said:
i installed on aosp crdroid and i lost my fingerprint, how can i solve it? thank you
Click to expand...
Click to collapse
That's because stock crDroid kernel hasn't the newest changes of fp made by markakash, please try to delete your saved fingerprint and add it again, should work normally.

karrouma said:
Not working
FP not found in security .
Click to expand...
Click to collapse
I expected that, fp scanner differs between AOSP and MIUI, I'll try to make something to let fp work but big chances are that it would not work.

Ayrton990 said:
That's because stock crDroid kernel hasn't the newest changes of fp made by markakash, please try to delete your saved fingerprint and add it again, should work normally.
Click to expand...
Click to collapse
fingerprint is gone and there is no possibility to insert it again because the menu "device security> fingerprint" no longer exists

Another bug
Speed meter all time is 0.0KB/s

karrouma said:
Another bug
Speed meter all time is 0.0KB/s
Click to expand...
Click to collapse
Thanks for feedback, I have bad news, xiaomi changed the FP implementation on 11.0.5 and source code hasn't released, so I can't make anything to make it work until xiaomi release the sc, you can try with another version such as 11.0.2

Using pixel experience but fingerprint disappeared after flashing this

Ty Mate. Kernel is so good working.

Hello
The smoothness and battery on this kernel + pixel experience are fantastic (10-11% screen on drain and 0.3-0.6% screen off) but I've got a problem with the 835mhz oc of the GPU.
On 835 it crashes on 3d apps right away (games and AnTuTu) while on 735 it is smooth and stable.
Is it because if the aosp rom or just the fact that the gpu is not stable at 835? Thanks.

Using the kernel along with Pixel Experience ROM, FP works well, no random reboot. And this kernel has something that I'm looking for, 735 MHz GPU. Sometimes my phone stuttered using the 835 MHz, that's why the 735 is really important instead of the 675 MHz ones. Thank you dev!

Related

[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 Edge
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
Donation
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.
Changelog
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
reserved
Thank You, I'm going to test this release!!
New Thread ? Good , Question: You not planning to do a Version with new GPU Driver?
Deleted
truenitos said:
New Thread ? Good , Question: You not planning to do a Version with new GPU Driver?
Click to expand...
Click to collapse
I just added it and you can download it now.
Thanks alot
I can not Uninstall synapse. I use mtweak an in not use synapse. After restart is the synapse app back.
I have use titanium Backup an root Uninstaller but everyone cant Uninstaller this app.
Matze6989 said:
I can not Uninstall synapse. I use mtweak an in not use synapse. After restart is the synapse app back.
I have use titanium Backup an root Uninstaller but everyone cant Uninstaller this app.
Click to expand...
Click to collapse
Create the '/sdcard(internal storage)/Synapse/do_not_force_install' file.
* MTweak can not support all the features of this kernel.
* Synapse is somewhat unstable, but it is the best solution for a custom kernel.
I have deleted the synapse file with root from the intern sd but there is coming back.
An when i install this kernel the i have no volte icon in the statusbar.
Matze6989 said:
I have deleted the synapse file with root from the intern sd but there is coming back.
An when i install this kernel the i have no volte icon in the statusbar.
Click to expand...
Click to collapse
if you create a 'do_not_force_install' file in /sdcard/Synapse folder, Synapse does not install automatically.
the problem with voLTE is that my device is G930K(Korean variant). i can not test for the carriers in all countries.
please try to use v1.3.0 and tell me if it is voLTE.
Sent from my Galaxy S7 using XDA Labs
With 1.3.0 i have volte
What file must i deleted for synapse?
This kernel is perfect when i can Uninstall synapse
Big Thanks
Matze6989 said:
With 1.3.0 i have volte
What file must i deleted for synapse?
This kernel is perfect when i can Uninstall synapse
Big Thanks
Click to expand...
Click to collapse
Just use Synapse.
I hate to say more.
@Hyunwoo AHN
One wish, can you make all 4 big cores reach 2.6GHz?
Like in TGP kernel?
Ubimo said:
@Hyunwoo AHN
One wish, can you make all 4 big cores reach 2.6GHz?
Like in TGP kernel?
Click to expand...
Click to collapse
It is not the best because it causes other(high temperature) problems.
I did this kernel, but I chose another way. Just trust me.
Matze6989 said:
With 1.3.0 i have volte
What file must i deleted for synapse?
This kernel is perfect when i can Uninstall synapse
Big Thanks
Click to expand...
Click to collapse
you must first,CREATE a file in 'synapse' folder...
then,after,you can delete synapse/ install kernel/reboot/whatever...
rebooting in decent ultra Life rom
On Civato rom systemless rebooting after install manualy magisk.

[KERNEL][Z017/Z012][TREBLE][P5] Advanced Kernel for Custom ROMs

Code:
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
This kernel should be compatible to all up to date Pie/Oreo custom ROMs. Its goal is to further improve battery life and to offer as many features as possible while maintaining perfect stability. All battery tweaks are toggleable so you can decide whether you prefer performance or battery life.
Every release will be tested with the latest LineageOS 16.0 build before release.
Compatibility to other custom ROMs is very likely but cannot be guaranteed.
Advanced Kernel for Oreo is now discontinued. The non-treble Pie version should work fine with Oreo ROMs.
Features
Built with bleeding edge GCC 10.0.0 toolchain, optimized for Cortex-A53
Linux 3.18.140, CAF Tag LA.UM.7.6.r1-05500-89xx.0
Treble ROM support.
Spectrum
WireGuard VPN
KCAL v2 color control
Sound control
Intellithermal v3
USB keyboard support
Arch power
Adreno idler
Adreno boost
Slimbus OC
Fingerprint boost
State notifier
Boeffla wakelock blocker
CPU wake boost
Vibration intensity control
Force fast charge to enforce maximum charging speed on any charger. (Use at your own risk! Disabled by default.)
Qnovo driver for better charging temperatures
Powersuspend
Toggleable touchboost
Powersaving work queue by default
Tuned interactive governor
Additional lower frequencies: 307MHz and 480MHz
Additional overclocking frequencies: 2208MHz and 2150MHz - Only selectable in OC version.
Disabled CRC check for up to 30% faster I/O, toggleable
Fsync switch
Improved zram with lz4 compression
Native CIFS and BTRFS filesystem support
Support for SMB2 and SMB3
SdFat for FAT and exFAT support
Support for rtl8812au and rtl8814au usb wifi adapters.
CPU governors: relaxed, chill, electron, elementalx, impulse, zzmoove, alucard, darkness, nightmare, yankactive, intelliactive, blu_active, interactive, conservative, ondemand, powersave, performance, userspace
Hotplug governors: alucard_hotplug, thunderplug, blu_plug, msm_hotplug, intelli_plug, lazyplug, autosmp, AiO_hotplug (Pie only)
I/O schedulers: noop, deadline, cfq, bfq, sio, fiops, zen, maple
TCP congestion algorithms: westwood, reno, bic, cubic, highspeed, htcp, vegas, veno, scalable, lp, yeah, illinois
Countless additional improvements
Overclocking
With every version of Advanced Kernel two files are released: One with overclocking support and one without. Be aware that overclocking may physically damage your phone! If you still want to use it, download and install the kernel zip from the "Overclocking" subfolder. The default zip from the main folder doesn't allow overclocking and is "safe".
The overclocked kernel will first boot with 2.2GHz, then the maximum frequency is lowered by the active spectrum profile. To enable overclocking after booting you have to use a kernel manager app to select a higher maximum cpu frequency. The tradeoff is that higher frequencies also come with higher CPU-voltages so your battery level will drop faster while OC frequencies are in use.
Force fast charge:
Available on the OC and non-OC kernel. This feature overrides the detected charging current with the maximum possible current for the Zenfone 3 (1910ma) so that every charger is fully utilized. Please be especially careful when using this feature as possible safety measures are disabled! It's disabled by default and can be enabled by enabling "USB fastcharge" at KernelAdiutor's "Battery" section or in EX Kernel Manager under "Miscellaneous".
Installation
Simply flash the provided zip file via TWRP over your custom ROM installation. No need to wipe anything!
Before flashing you may want to backup the "Boot" partition. Restore it to revert any changes.
Flashing a ROM will overwrite this kernel: You'll have to flash the kernel zip again after updating your ROM.
In order to use all of the features you'll need some additional apps and root:
Spectrum: Offers some easily selectable profiles. These are still WIP and in no way comprehensive!
A kernel manager like EX Kernel Manager (paid) or Kernel Adiutor (free).
Spectrum profiles
Battery: Very battery friendly profile. It sacrifices performance for battery life.
Balanced: As close to stock as possible with only minor tweaks.
Performance: Tuned for CPU performance.
Gaming: Everything always runs as fast as possible. Burns away your battery!
Reporting issues
Before reporting an issue please check that it only occurs when having this kernel installed. Otherwise it may be an issue with the ROM.
The above also applies the other way around: Don't report issues to the maintainer of a ROM unless they also occur without this kernel.
Be aware that performance issues are very likey related to your personal settings. Don't blame me for your decision to run only one core at 307 MHz
Always use the latest Advanced Kernel release with the latest build of you ROM of choice. If the kernel is much newer than the ROM or the other way around weird issues may arise.
Download
All zip files support both the ZE520KL and the ZE552KL.
The treble version is only compatible to treble ROMs using APD as the vendor partition.
The non-treble version is compatible to non-treble Pie ROMs and SHOULD be compatible to Oreo ROMs too.
Flashing the wrong version won't harm your device but will prevent your ROM from booting! This can be easily fixed by flashing the right version or re-flashing your ROM.
Download: https://drive.google.com/drive/folders/1cel2AB59-6kOaLkk7dK6uBPwejdw6s4C
Additional credits
Due to the sheer amount of features it's not possible to list all of the contributors here. Please check the commit history for a comprehensive list.
XDA:DevDB Information
Advanced Kernel for Custom ROMs, Kernel for all devices (see above for details)
Contributors
planet9
Source Code: https://github.com/Planet-X/android-kernel-zenfone3_advanced
Kernel Special Features: Overclocking, Force Fast Charge
Version Information
Status: Stable
Created 2019-07-19
Last Updated 2019-07-19
Changelog
P5 - 2019-07-19:
Updated Toolchain to GCC 10.0.0 (experimental).
Updated AnyKernel2 to AnyKernel3.
Updated rtl88XXau kernel module.
Updated kernel to Linux 3.18.140, CAF Tag LA.UM.7.6.r1-05500-89xx.0.
P4 - 2019-04-19:
Now compatible to latest Treble ROMs! (APD partition only!)
Check the release post for compatibility information: https://forum.xda-developers.com/showpost.php?p=75805766&postcount=100
Updated rtl88XXau kernel module.
Updated kernel to Linux 3.18.138, CAF Tag LA.UM.7.6.r1-04500-89xx.0.
P3 - 2019-02-20:
Added adreno boost.
Updated rtl88XXau kernel module.
Updated toolchain to GCC 9.0.1 (experimental).
Updated kernel to Linux 3.18.135, CAF Tag LA.UM.7.6.r1-04100-89xx.0.
P2 - 2018-12-01:
New rtl88XXau kernel module for usb wifi adapters.
Check the post below for more information.
Updated AnyKernel installation scripts.
Updated spectrum balanced profile to use elementalx with maple.
Added AiO_hotplug.
Updated kernel to Linux 3.18.127, CAF Tag LA.UM.7.6.r1-03600-89xx.0.
P1 - 2018-11-02:
Initial release of Advanced Kernel for Pie
Kernel source has been fully rebased.
New version labels: Releases for Pie ROMs start with a P followed by the release number.
Updated kernel to Linux 3.18.124, CAF Tag LA.UM.7.6.r1-03100-89xx.0.
V 1.1 - 2018-10-11:
Added USB keyboard support.
Added support for SMB2 and SMB3.
Updated kernel to Linux 3.18.123, CAF Tag LA.UM.6.6.r1-09900-89xx.0.
V 1.0 - 2018-08-11:
The zip file is now signed with my release-key.
Added CPU wake boost driver.
Removed asusdebug for a lighter kernel.
Updated BFQ I/O scheduler.
Updated F2FS driver.
Added SdFat for FAT and exFAT support.
Imported many more misc fixes and improvements.
Updated Toolchain to GCC 8.2.1.
Updated kernel to Linux 3.18.118, CAF Tag LA.UM.6.6.r1-09500-89xx.0.
Thanks to @makorn645:
Modifications for "Swipe up to wake".
Misc improvements of the defconfig for more performance.
V 0.9 - 2018-06-11:
Added elementalx cpufreq governor.
Updated Toolchain to GCC 8.1.1.
Updated kernel to Linux 3.18.112, CAF Tag LA.UM.6.6.r1-08600-89xx.0.
V 0.8 - 2018-05-21:
The wifi mac can now be changed by specifying a wlan_mac.bin file.
Check the release post for more information: https://forum.xda-developers.com/showpost.php?p=76580561&postcount=44
Updated kernel to Linux 3.18.109, CAF Tag LA.UM.6.6.r1-08500-89xx.0.
V 0.7 - 2018-05-10:
Updated blu_plug defaults.
Fixed lazyplug display state detection.
Rebased and cleaned up the kernel.
Updated kernel to Linux 3.18.108, CAF Tag LA.UM.6.6.r1-08300-89xx.0.
V 0.6 - 2018-04-25:
Added AutoSMP hotplug. (May be unstable, please report any crashes when using it.)
Added force fast charge feature - Thanks to @Saktis_STi for helping!
Important: Check the main post for more information before using force fast charge. This is NOT QC.
Updated kernel to Linux 3.18.106, CAF Tag LA.UM.6.6.r1-07400-89xx.0.
V 0.5 - 2018-04-06:
Added vibration intensity control.
Added fsync switch.
Imported many other improvements.
Updated compiler to Linaro GCC 7.3.1.
Updated kernel to CAF Tag LA.UM.6.6.r1-07200-89xx.0.
V 0.4 - 2018-03-25:
Updated kernel to Linux 3.18.102.
V 0.3 - 2018-03-23:
Added (optional) overclocking support for up to 2.2GHz.
Advanced Kernel version now visible in settings, with OC indicator.
Updated kernel to Linux 3.18.101, CAF Tag LA.UM.6.6.r1-06700-89xx.0.
V 0.2 - 2018-03-11:
Updated spectrum profiles: See main post for more detailed descriptions.
Updated kernel to Linux 3.18.99.
V 0.1 - 2018-03-07:
Initial release.
Kernel Modules
Here you'll find a description of every currently available kernel module for Advanced Kernel for Pie. (The oreo version is not currently supported.)
Kernel modules are drivers that can be loaded into the kernel in order to use hardware that would otherwise not work. A kernel module comes as a .ko-file and is only fully compatible to the kernel version it was released for. Modules can be loaded by executing "insmod [module].ko" within a terminal as root on the phone.
Every new Advanced Kernel release will come with a new version of all available modules.
The modules can be downloaded from the "Kernel Modules" subfolder (here).
Available modules:
RTL88XXau/RTL8814au
The rtl88XXau module allows you to use usb wifi adapters with the rtl8812au or rtl8814au chipset with your phone.
This driver was forked from aircrack-ng and features monitor mode and frame injection. TX-power can be tweaked too.
Check the readme on github (still WIP) on how to use it: https://github.com/Planet-X/rtl8812au/blob/v5.3.4/README.md
I only ported the driver to this kernel. Check the module's sources for credits: https://github.com/Planet-X/rtl8812au/tree/v5.3.4
I feel like my device is lagging. Even when I set everything to Performance.
So many features...
ra.ndy said:
I feel like my device is lagging. Even when I set everything to Performance.
Click to expand...
Click to collapse
It's all about finding the right settings
Just take your time to find them - I do admit that default settings are very conservative/battery friendly...
However I can assure you that this kernel can be just as fast or even faster than stock kernel. It's actually based on it so with exact stock settings you should get at least stock performance. The real problem is just tuning all these features which is why my spectrum profiles are still very basic ... too many variables take time for testing.
The next kernel version will move the current "Balance" profile to "Battery" and change "Balance" to be very stock-like. The current "Balance" and especially "Battery" profiles may be a little too extreme... :silly:
The system wide mic gain is working perfectly for whatsapp voice messages,but unfortunately it is not applied to video recording it seems... I tested it with Lineage Camera App and Whatsapp camera
Great, that I dont have to fiddle around with mixer_paths.xml, but can you adjust the kernel to let the mic gaion also apply to the video recordings? Many thanks!
kreutzfeldt_808 said:
The system wide mic gain is working perfectly for whatsapp voice messages,but unfortunately it is not applied to video recording it seems... I tested it with Lineage Camera App and Whatsapp camera
Great, that I dont have to fiddle around with mixer_paths.xml, but can you adjust the kernel to let the mic gaion also apply to the video recordings? Many thanks!
Click to expand...
Click to collapse
Mic gain worked for me with Lineage and stock asus camera videos
planet9 said:
Mic gain worked for me with Lineage and stock asus camera videos
Click to expand...
Click to collapse
Well, i guess i Flash your new Rom Update and kernel and test it again
Maybe the videos are Sounding low volume to me, because they need more Gain Boost than pure sound records?
The slider for the kernel is raising the gain equally for all inputs in general, but maybe the video recording gain is less sensitive then pure volume.
hey whem I use cell my mic and speaker can't Normal movement.
edouwu said:
hey whem I use cell my mic and speaker can't Normal movement.
Click to expand...
Click to collapse
I don't understand but...
If you're talking about the speakerphone, it's a known bug.
It is compatible with XenonHD Rom? (because it's based on lineage 15.1)
rafael_gavarron said:
It is compatible with XenonHD Rom? (because it's based on lineage 15.1)
Click to expand...
Click to collapse
It somehow is and isn't: Currently there should be no problems and it should work fine.
I can't guarantee, however, that it'll stay this way in the future. Just be aware that issues may arise due to kernel incompatibility.
I can only assure that my kernel is fully compatible to LOS 15.1. With every LineageOS update a new advanced kernel version will be released. As Xenon kernel improvements get merged into LOS and vice versa it should stay compatible but, again, I can't guarantee it...
planet9 said:
It somehow is and isn't: Currently there should be no problems and it should work fine.
I can't guarantee, however, that it'll stay this way in the future. Just be aware that issues may arise due to kernel incompatibility.
I can only assure that my kernel is fully compatible to LOS 15.1. With every LineageOS update a new advanced kernel version will be released. As Xenon kernel improvements get merged into LOS and vice versa it should stay compatible but, again, I can't guarantee it...
Click to expand...
Click to collapse
Thanks, I'll try it
How do i go back to stock kernel on LOS ?
vaidhy2007 said:
How do i go back to stock kernel on LOS ?
Click to expand...
Click to collapse
To go back to the stock kernel you simply have to reflash the LOS zip file in twrp, then reboot. You don't need to wipe any partitions.
0.3 version is out. Read the OP.
Advanced Kernel V0.4
Advanced Kernel V0.4 has arrived.
It's just a minor update to accompany the release of LineageOS build 2018-03-25.
Changelog:
Updated kernel to Linux 3.18.102.
Advanced Kernel V0.5
Advanced Kernel V0.5 is now available.
Changes:
Added vibration intensity control.
Added fsync switch.
Imported a load of other improvements.
Updated compiler to Linaro GCC 7.3.1.
Updated kernel to CAF Tag LA.UM.6.6.r1-07200-89xx.0.
Awesome work buddy

[KERNEL][TREBLE] HeliosPro Kernel v2.7 For J600X

Welcome to The HeliosPro Kernel Thread for Galaxy J600X
Built with Various Oreo 7870 Source.
Linaro GCC 7.4.1​
Warning : Me nor XDA Are responsible for any damage that might be caused after flashing any file provided here. Please take caution and be aware of what you are doing. And Always backup !
-- Features --
[x]GSI with Oreo Vendor and Samsung Oreo Roms Both Supported
[x]Fake Enforcing (Permissive and shows enforcing)
[x]Various Compiler Optimisations
[x]Compiled with Linaro 7.4.1
[x]ADB Insecure
[x]Fake KNOX
[x]Private Mod support
[x]MultiCPU Governors
[x]Multi I/O Schedulers
[x]Multi TCP Algorithms
[x]Limited Wakelocks
[x]Dynamic Fsync 2.0
[x]Fsync
[x]PowerSuspend 1.5
[x]UKSM V1.23
[x]Boeffla wakelock blocker v1.1.0
[x]StateNotifier & SysfsHelper
[x]Optimized ZSwap
[x]Optimized Deadline I/O
[x]Working MTP and Wifi Hotspot
[x]Better Input Booster
[x]Quicker Doze entry
[x]Other improvments for Batterylife and performance
[x]Support Android 8.0/8.1
[x]WireGaurd Support
[x]CPU VoltageControl
[x]CPU OC upto 1700MHz
[x]GPU OC Upto 1146MHz
[x]GCC 6/7 Support
[x]CRC Disabled by default
[x]Reduced Wakelocks
[x]GPU/CPU Voltage dropped
[x]Improved GPU Utilization
[x]Improved standby
[x]Adoptable SD patched
[x]Deodex oreo support
[x]Many ram improvments
[x]No sim breaking with 8.1 rooting
[x]Encryption Support for StockRoms
[x]And many more listed in changelogs below
[x]Pre-Rooted
--How to install--
If you have flashed Root through any means other than magisk, Please uninstall it (SuperSU>Full unroot)
Open developer options (Press aboutphone > build number 7 times) Enable OEM Unlock
Flash TWRP Recovery that can be found in J701 Section
Fully Wipe internal storage and format data (Must for first time flashing TWRP)
Copy Kernel to your desired Location
Install Zip > Select kernel.zip
Reboot and wait
First time rooting, Open magisk app Once to ensure root is working
--Basic Info --
This kernel is mainly for users who want more than just root, As permissive allows for more flexibility with some of the mods found on xda
You are free to use this kernel in any future rom aslong as you Link this thread / Github Source
-- Credits --
@ananjaser1211 for this golden kernel
@BlackMesa123 and @corsicanu for working with my projects
@topjonhuw For Magisk
@geiti94 For Wifi password Fix
@Noxxxious For general help
@JaskaranSM for Building it For J600X
@mohitmallick17 for his zip template
And my Elite-Team for their contributions to my projects and being Awesome.
Download <> Changelog <> More info In second Post
Github Source :http://github.com/jaskaranSM/Helios_7870
XDA:DevDB Information
HeliosPro Kernel Treble 2.7, Kernel for the Samsung Galaxy J
Contributors
JaskaranSM, JaskaranSM, Ananjaser1211
Kernel Special Features:
Version Information
Status: Testing
Current Stable Version: 2.7
Stable Release Date: 2019-06-12
Created 2019-06-12
Last Updated 2019-06-11
HeliosPro V2.7 Update​This is TOUCHWIZ only. The new compiler greatly improves performance on both 8.0 and 8.1 Based roms.
Enjoy, i know im not making any roms due to time and My potato PC , but i can support this kernel.
Changelog :-
- Compiled with Linaro 7.4.1 Compiler
- Performance and battery greatly improved with new compiler
- IO Schedular Driver Optimisations
- Added hKtweaks app for kernel tuning. (Thanks @corsicanu)
- More Speedier.
- Added NVS Hibernation Driver for better power management.
- Semi-OFast Optimsations for proper balance between performance and battery backup.
- Added Newer Boefolla Wakelock Blocker
- Added Newer Xpad (Joystick Controller) Drivers for Better Compatibilty.
- Added State Notifier Driver
- Fixed MTP on GSIs
- Fixed WLAN (WiFi) Hotspot on GSIs
- Added F2FS Filesystem Support.
- Memory driver using FIFO Queue and crypto optimisations
- Updated Wireguard VPN driver.
- Enabled IP tunneling for IPv6 Networks with TCP and UDP ports Support.
- Hotplugging with Real Time Scheduling
- Reduced Wakelocks for WLAN (WiFi) driver
- Added a lot of new TCP congestion Algorithms.
- Initial TCP window size is set to 64k for better caching
- More precise cpu frequency control
- Magisk Included
- New Cool AROMA theme
Follow the Full change log on the Github source.
Download : Google Drive
Size : 34MB
Tested and working thanks bro !
danicadanicadanica said:
Tested and working thanks bro !
Click to expand...
Click to collapse
...
danicadanicadanica said:
Tested and working thanks bro !
Click to expand...
Click to collapse
Can you tell me which rom and gapps do you use
And what bug is there so far
Ty
danicadanicadanica said:
Tested and working thanks bro !
Click to expand...
Click to collapse
hey.what is the rom that you're using?

Hardrock Kernel V3.7 For POCO X2 [MIUI][4.14.200]

{
"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"
}
THIS KERNEL IS FOR POCO X2​
Thread rules :
bug reports that do not include clear steps to reproduce, a logcat or a dmesg ARE NOT ALLOWED.
Features:
fsync toggler
slimbus OC audio tweaked(full hardware audio capability)
maple IO SCheduler
anxiety ioscheduler (better than maple in terms of battery saving)
Latest Boeffla Wakelock blocker
ADreno Idler
Added awesome PIxel and EAS governors like : pixelutil, smurfutil,pixel_smurfutil, lightning util governor
KERNEL UPSTREAMED TO 4.14.175
WIREGUARD SUPPORT
** will be Pushing out more features soon
Downloads:
MOD EDIT: DOWNLOAD LINK REMOVED
Mtweaks
Installation:
go to twrp recovery and flash rom
or
flash rom using FKM
**I strongly recommend to use mtweaks for kernel settings(Provided github link) or you can use FKM.
Credits :
@akhilnarang
@arter97
Nathan Chancellor
@TheDemon12
Thanks to them for all support
TELEGRAM:
MOD EDIT: LINK REMOVED
for support and to speak directly with me
Source:
Github
Version:
Latest release 0.4.3
XDA:DevDB Information
Hardrock Kernel V0.4.3 For POCO X2 [UC], ROM for the Xiaomi Poco X2
Contributors
Hard_Rock83
ROM OS Version: 2.3.x Gingerbread
Version Information
Status: Stable
Created 2020-04-27
Last Updated 2020-04-27
Hardrock kernel v3.7 changelogs
added latest wireguard
some more optimizations..
Hardrock kernel v3.6 changelogs:
upstreamed to 4.14.200
misc improvements
Hardrock Kernel v3.5 changelogs:
Upstreamed to 4.14.199
Build with latest proton clang 20200929
TCP congestion BBR v2
Battery backup improvements
Hardrock kernel v3.3 changelogs:
performance and optimizations
misc improvements
Hardrock kernel v3.2 changelogs:
Upstreamed to 4.14.198
enabled and optimized vbswap
configured optimized defaults post boot process
some more changes..
Hardrock Kernel v3.1 Changelogs:
Upstreamed Kernel to 4.14.197
Many optimizations
Fixed fast charging by adding power changes from old xiaomi tag (test by users) , thanks to @GtrCraft
Hardrock kernel v3 changelogs:
- Build with latest proton clang 20200906
- Kernel Address Sanitizer updates (KASAN)
- other optimizations
- media related issues fixed for stock vendor roms
**Note please download stock vendor kernel having zip filename prefix with stock_*
Hardrock Kernel V2.7 Changelogs:
Upstreamed to 4.14.196
Dt2w fixed
Faster FP unlock
Performance and Battery improvements
optimizations
**Working for Custom roms with stock vendor**
Note: For custom roms with stock vendor like RR, AOSIP etc Please download Zip with prefix stock_*
Hardrock kernel v2.6
Fixed DT2W Permanently for all panels
optimizations
Hardrock Kernel v2.5 changelogs:
- idle drain fixes
- silent some wakelocks
- improves deep sleep
- cleanup logs and traces/spams
- Memory management improvements
- reverted msm thermals
- sched utilization fixes
- more optimizations
Hardrock kernel v2.4 changelogs:
USB OTG fix
reduced battery cutoff voltage (previously using some higher values probably..)
Hardrock kernel v2.3 changelog
Upstreamed kernel to 4.14.195
Hardrock kernel v2.2 changelog
- Build with latest proton clang( 20200825)
- optimisations and improvements
Hardrock kernel v2.1 :
Fixed FP speed in new base (faster as ever)
performance improvements
Charging speed improvements
Hardrock kernel v2 changelogs :
Build with proton clang
No more black screens
rebased to sm6150
Booted on PE rom
Hardrock kernel v1.3 changelogs:
Upstreamed to 4.14.194
Hardrock kernel v1.2 update:
- Optimized Console FrameBuffer
- enable BPF JIT to speed up BPF byte code execution with more secure and protected environment
- fixed some safetynet issues occuring for some programs
- silent some more logging
- memory optimizations and reduce memory overhead
- many optimizations
Hardrock kernel v1.0 changelogs:
Faster Fingerprint unlock
android binder upgrade from 4.19
Better performance
Fixed Msm-thermal throttling values (better thermals)
more optimizations
reset battery stats or data (Hopefully contribute towards calibration)
Hardrock kernel v0.9 changelogs:
Introduce Cpu_assist
Configure and revamp cpu sets for audio apps, background tasks, system process and other different categories
fix memory manipulation and potential buffer undersizing
lot of optimisations under-hood
Hardrock kernel 0.8.3 MIUI version
- upstreamed to 4.14.193
- improved sched and cpu utilization
- cleanup
- battery and performance improvements
Hardrock kernel 0.8.3 changelogs:
- Much more improved cpu utilization
- better sched operations and much cooler device
- dealt with some sleep or idle drains issues
- upstreamed to linux 4.14.192 obviously
- cleanup
Hardrock kernel 0.8.2
- Improved scheduler latency for multitasking and response
- Fast charging permanent fix( 1 hr full charge, maybe better than miui)
- many optimization for battery improvements
Hardrock kernel 0.8.1 changelogs:
-upstreamed to 4.14.191
- Introducing simple MSM thermal solution
- Cleanup and optimizations
Hardrock kernel 0.8 changelogs:
-Upstreamed kernel to 4.14.190
-Introducing Dynamic SchedTune Boost v3
-cleanup memory leaks and optimizations
-Power saving tweaks
Hardrock kernel 0.7.3 for custom rom:
- Still old base and boots on all custom roms
- upstreamed to 4.14.189
- optimizations
Hardrock kernel 0.7.2
LLVM Polly optimizations
Some more optimizations..
Hardrock kernel 0.7.1 changelogs:
-Improved spectrum profiles
Hardrock kernel 0.7 is up :
upstreamed to 4.14.188
Hardrock kernel v0.6
Bring back LMK in custom rom
Spectrum profiles : battery, balance, performance and gaming (Install spectrum from play store)
MIUI support added (zip with prefix- MIUI)
upstreamed to kernel 4.14.187
Hardrock Kernel v0.5 Changelogs (Only for custom roms):
Build with clang 11.0.3
Upstreamed kernel to latest 4.14.185
Deep sleep improved
Less Idle drain
Fast charging improvements and balanced thermals
Cpu frequency switch to 100mhz only when idle
Removed all previously added governors
Cleanup
*Note : Please don't try flashing on Miui ..It might not work.
Hardrock Kernel V0.4.5
Updated xiaomi touch drivers (Better touch response)
Gpu nap
Gpu reach idle state very soon
Fixed some reboot issue happening in custom roms due to cpu sched
better cpu management and idle state.
Better process handling( better task management)
Hardrock Kernel Change logs v0.4.4
upstreamed kernel to 4.14.181
Performance improvements
Improved deep sleep and optimizations
Hardrock Kernel Change logs v0.4.3
upstreamed kernel to 4.14.177
Performance improvements (Check OTA changelog for more details)
Removed unnecessary wake calls for cpu (some Unnecessary ufs wakeups)
Cpu goes to idle state very soon
Thermals improvements
no lagging due to thermal throttle( if temp is throttling, there still wont be lagging)
** REMEMBER TO SWITCH TO SCHEDUTIL GOV AND MIN VALUE FOR BOTH CLUSTERS TO 100MHZ
Hardrock Kernel Change logs v0.4.2
reverted overclock(Shdn't be doing it)
Kept underclock to 100mhz
added improved interactive governor
Hardrock Kernel Change logs v0.4.1
First kernel to support UC and OC for snapdragon 730G
UNDERCLOCK TO 100MHZ (set min freq to 100mhz from FK)
OVERCLOCK Little core to 2 ghz and big cores to 2.4 GHZ ( please set it from FKM)
Upstreamed kernel 4.14.176
Dynamic fsync
Singlequeue io-scheduler: bfq-sq
ZRAM improvements and used LZ4 as default compression algorithm to improve Memory Managment.
Gpu performance improvements
**Note PLease let kernel settle for 5 mins due to improvements in schedutil ..
Hardrock Kernel Change logs v0.3
exfat support
kcal
klapse
gpu optimizations and performance improvements( no gpu wakeup on unneeded touches)
wireguard: update to version 1.0.20200401
low latency
disabled gentle fair sleepers and cpu
improved bbr tcp congestion algorithm (by default selected)
ufs optimizations
improved power saving
thermal power effiecient workqueue
removed unnecesary logging and traces to reduce unnecessary overhead
fixed youtube playback issues maybe occuring on custom roms
added steam valve controller support
improved schedutil governor
** GUys its recommended to hold kernel for few cycles and let it settle..have patience lol
Hardrock Kernel Change logs v0.2
Applied Sultan simple LMK
Memory optimizations
Sched optimizations
memory utilities optimizations(memcpy and memmove)
Sound Enhancements
**Note: Please let kernel settle for few mins .Its not good to be impatient lol.
one more reserved
Hard_Rock83 said:
one more reserved
Click to expand...
Click to collapse
Thanks for this.
Great! Awaiting more features...
Guys Hardrock kernel 0.3 is up..check second post for change logs
Guys hardrock kernel 0.4.1 is up with major changes..
Also let device settle for 5-10 mins for adjustments since added overclock and improved schedutil..so wait for se time before it truly settle.
Also please set min to 100 mhz and max to 2 ghz for small cluster and 2.4 ghz for big.
REMEMBER TO SET IT AND LEAVE..IT WILL TAKE SOME TIME TO SETTLE..AFTER SOME TIME IT WILL FULLY UTILIZES CLOCK SPEEDS
Hardrock Kernel Change logs v0.4.2
reverted overclock(Shdn't be doing it)
Kept underclock to 100mhz
added improved interactive governor
grab it guys
Hardrock Kernel Change logs v0.4.2
reverted overclock(Shdn't be doing it)
Kept underclock to 100mhz
added improved interactive governor
grab it guys
OK guys , I have fixed kernel reboot issues on custom roms. PLease download latest 0.4.2 from download links
The hardrock kernel is too great. Thank you for your hard work. good health Very good kernel
Can i apply on miui 11.07 rom or its work on only custom rom?
fromjeet said:
Can i apply on miui 11.07 rom or its work on only custom rom?
Click to expand...
Click to collapse
Works on MiUi flawlessly.
FKM OTA SUPPORT ADDED (everyone will recive OTA)
................................
STEPS:
1) open your FKM and fro menu please select flasher
2) now at top there is option "import a kernel configuration"
3) please click on that and add this link : https://raw.githubusercontent.com/rakeshraimca/OTA/master/fkm.json
4) save.
now FKM will popup the latest kernel available and you can even see changelogs or download or flash directly from there.
After trying every kernel out there, I can surely say this is the best Kernel for Poco X2. Thanks for the hard work OP.
Is there any way to backup current kernel and then flash this?
eagle06 said:
Is there any way to backup current kernel and then flash this?
Click to expand...
Click to collapse
there are many ways...
TWRP
Kernel apps( kernel auditor , FKM)
Essential tools (root essential from playstore etc)
After flashing this kernel and changing couple of settings, i.e. min freq for both big/small set to 100 Mhz and CPU governor set to interactive (and apply these settings on boot), do I need to have KFM/Mtweaks apk installed or I can uninstall (or freeze them or disable) them?
Edit: Seems like this wont work if I remove/disable the app, as on boot settings enforcer itself is these apps. App is required.
Thanks for your great job
This kernels works on both miui and AOSP rom?
wewe2000 said:
Thanks for your great job
This kernels works on both miui and AOSP rom?
Click to expand...
Click to collapse
Am running this kernel on Miui 11.0.7.0 without any issues.

[KERNEL][GSI/OneUI][06.09.2020][4.4.232] Kintsugi 1.1.6

Kintsugi
Kintsugi is the first custom kernel project I've worked on and I am proud to finally release it. Its name comes from the Japanese art of repairing broken pottery using powdered gold or silver, and I would say that it fitted the philosophy of my work. It wouldn't have come to life without my use of several developers' contributions. Finally, I aimed for a balance between performance and battery life in order to offer a stable user experience.
Features:
- Built with the latest Linaro prebuilt toolchain and compiled with -O2 and GCC Graphite optimizations
- Upstreamed to the latest linux-stable kernel version
- Updated the kernel source code to BTF6 from Samsung.
- Upstreamed CFQ I/O scheduler
- Disabled several Samsung security and debugging related configs
- All the CPU clusters' are undervolted (by -75mV) and have their minimum frequencies underclocked
(343Mhz for the little clusters and 520Mhz for the big clusters)
- Implented CPUfreq backports by celtare21 @KuranKaname)
- Increased the timer frequency to 300Hz for fewer jitters
- Enabled power-efficient workqueue mode by default for improved power consumption
- Disabled Kernel Samepage Merging by default for less CPU usage
- Implented different memory and filesystem related changes by @Sultanxda and @arter97
- Westwood is set as the default TCP Congestion algorithm
- Built-in SafetyNet patches by @Sultanxda are included (with @tbalden rootless approach)
- Built-in Boeffla Wakelock Blocker by @andip71 with pre-configured wakelock blocklist
@evdenis and @diepquynh)
- Built-in State Notifier driver by @neobuddy89
- exFAT and vFAT support
- Implented sdFAT mount options by cocafe
- Numerous other fixes, tweaks and under-the-hood optimizations
Installation:
The boot image can either be flashed via Odin or TWRP. I can add instructions if that would be necessary.
Download:
GSI
OneUI
Credits:
I thank the following persons for their respective contributions. If I forgot someone, their name is properly credited on GitHub.
@arter97
@cocafe
@evdenis
@farovitus
@Freak07
@ianmacd
@idkwhoiam322
@kdrag0n
@KuranKaname (celtare21)
@nathanchance
@neobuddy89
@nr7777
@osm0sis
@pascua28
@pkgnex
@Sultanxda
@tbalden
@tytydraco
@wrongway213
XDA:DevDB Information
Kintsugi, Kernel for the Samsung Galaxy A30
Contributors
BlackGunZ
Source Code: https://github.com/BlackGunZ/Kintsugi
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.1.6
Stable Release Date: 2020-09-06
Created 2020-08-01
Last Updated 2020-09-06
Really nice!
nice job!
Support Treble?
hacker812c said:
Support Treble?
Click to expand...
Click to collapse
The first users from Telegram reported that the kernel worked on HavocOS. You could give it a try.
New update is up!
Changelog:
- Increased the timer frequency to 300Hz for fewer jitters
Kintsugi #1.0.2
Second update of the day! Thanks to the contributors on Github.
Changelog:
- staging: samsung: argos: remove hmp boost
- mm: page-writeback: Subtract min_free_kbytes from dirtyable memory
- PM / Wakeup: Use rcu callbacks for better performance
- Revert "CHROMIUM: cpufreq: interactive: calculate load before freq change"
- include: asm-generic: do not hard code HZ to 100
- sched: use custom LOAD_FREQ for each HZ
- mm: Increase vmstat interval
- fbdev: decon: Disable logging
Kintsugi #1.0.3
New update! Thanks to the contributors on Github.
Changelog:
- Disable dm-verity and avb
- MTP bug fix for GSI ROMs
Kintsugi #1.0.4
New update! Thanks to the contributors on Github.
Changelog:
- Upstreamed to the 4.4.210 kernel version
- arm64: dts: Remove the reserved block of memory for CONFIG_TIMA (the driver was already disabled, so it makes sense)
- exynos-dm: Wrap exynos-ss debugging parts
- defconfig: Disable exynos-dm debugging for exynos-ss
- workqueue: Add system wide power_efficient workqueues
- Changes and updates to some other kernel parts (lib: sort and int_sqrt; rcu)
for setting the kernel, what must i can use the app name?
ican2703 said:
for setting the kernel, what must i can use the app name?
Click to expand...
Click to collapse
Use the app you prefer!
Can you make the kernel support permissive too? I tried to make it permissive with hktweaks but it won't work it only work in enforcing mode
Jake4lvas said:
Can you make the kernel support permissive too? I tried to make it permissive with hktweaks but it won't work it only work in enforcing mode
Click to expand...
Click to collapse
No, I kept the kernel's SElinux mode in enforcing state by default for security reasons.
Kintsugi #1.0.5
New update! Thanks to the contributors on Github, and to my testers (ilina-tatyana, RiccoS and Moneer).
Changelog:
- Upstreamed to the latest linux-stable kernel version (4.4.232)
- Fixed fast charge support for GSI ROMs
- boeffla_wl_blocker: Add more wakelocks (14860000.decon_f, umts_ipc0 and umts_ipc1) to the blacklist (thanks to ilina-tatyana for the logs)
- arm64: dts: Properly disable the reserved block of memory for CONFIG_TIMA
- Reverted "workqueue: Add system wide power_efficient workqueues"
- Reverted the changes and updates to some other kernel parts (lib: sort and int_sqrt; rcu)
- kernel: add a few patches for avoiding unnecessary skb reallocations - significantly improves ethernet<->wireless performance
- Other under-the-hood changes (that are available on Github).
Kintsugi #1.1.0
New update! Thanks to the contributors on Github and to my testers on Telegram.
Speaking of Telegram, I had to factory reset my phone and I lost most of my data. Reach out to me on XDA.
Changelog:
- Updated the kernel source code to BTE3 from Samsung.
- ZSWAP uses now ZSTD as its compression algorithm (instead of LZ4).
- Enabled Mass Storage USB file transfer mode for GSI ROMs.
Can it necessary to install Disable dm-verity and avb.
Tayyab Sohail said:
Can it necessary to install Disable dm-verity and avb.
Click to expand...
Click to collapse
Hello,
No, you don't have to. You can install the custom kernel without it.
What about a version for the A40? They even have the same SoC
Can you add instructions for how can the .img be flashed with Odin?
ponces said:
What about a version for the A40? They even have the same SoC
Click to expand...
Click to collapse
Indeed. I want to do make that in the future!
spicy_fox said:
Can you add instructions for how can the .img be flashed with Odin?
Click to expand...
Click to collapse
Have you found them or do you still need those instructions?

Categories

Resources