[kernel] Fenix [9/MIUI/10] [4.14.221] [WALT] - Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De

FENIX
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Disclaimer:
use this kernel at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware and any kind of damages/losses.
I make this kernel for my own, and i decided to share it with the community.
The current build it's based on Beast kernel [ link ]
When i will have more time to play, i will re-base to my Als source.
From version 0.5 i m using my own source based on Als 4.14.
What's in:
We have two releases:
- Stable (blue wallpaper): tmgallage miui inbuild kernel, can be flashed on all stock vendor roms (yes, stock rom, crdroid, treble ecc)
- Experimental (red wallpaper) : my personal build, a bit more perf oriented, but with good battery too. It comes with more experimental stuff in, in both Oss \ stock vendor flavour.
Code:
FENIX SNOWFLAKE
STABLE:
- upstreamed to 4.14.221
- oss vendor for stable too
EXPERIMENTAL:
- upstreamed to 4.14.221
FENIX SNOWFLAKE
EXPERIMENTAL:
- upstreamed to 4.14.214
- additional perf critical patches
- additional tcp's
- erased roxirp, as he left mi a3
FENIX WINTER IS COMING
STABLE:
- ALS 4.14.210
- built with proton clang, thinLto + polly
- zram default to lz4
- int128
- selinux patches
- custom dtbo flashed alongside the kernel
- other minor fixes, check git
- new banner
- packed roxirp into a fabulous x-mas present 🎁
FENIX WINTER IS COMING
EXPERIMENTAL:
- Als 4.14.210
- nuked sboost
- stune_assist \ cpu_set_assist
- stune tweaks
- cpu_set tweaks
- efficient freqs
- nuked qcom boosting \ core control drivers
- SultanXda perf critical patches
- SultanXda stack commits
- SultanXda cib\devfreq boost
- crucial task placement
- zram to lz4
- int128
- ThinLto, polly
- new banner
- oss \ prebuild version
- others, check git
- reverted roxirp âȘ
Fenix -0.9.8-Q-Pelt:
-Pelt
-upstreamed to 4.14.185
-updated proton clang 11 version
-dtbo embedded into the kernel: no need to flash it anymore
-compiled with -03, polly, device specific optimizations
-sultanxda simple low memory killer driver
-sultanxda cpu_input_boost driver
-sultanxda devfreq_boost driver
-sultanxda cpu_idle optimizations
-sultanxda performance critical api
-latency improvements
-qcacld: power saving tweaks
-general sched improvements
-gpu latency optimizations
-little cpu boost at touch
-little cpu boost when switching apps
-little cpu boost when pressing the power button
-moderate cpu boost when launching an app the first time
-don't wake gpu when touching the screen
-display tweaks
-schedutil, and up\down limits tweaks
-removed kcal, its not working anymore
-reduced boot times
-stune top-app to 1
-very good battery, performance :3
-many more, check git!
This time you don't need to flash dtbo.
Enjoy
Fenix -0.9.7-Q-stable
-upstreamed to 4.14.184
-disabled sched debug
Fenix-Miui-Als-Stable
-initial bringup
-upstreamed to 4.14.184
-wlan\techpack drivers updated to LA.UM.8.11.r1-03500-NICOBAR.0
-compiled with proton clang 11, o2
-imported laurus defconfig changes
Fenix_10-0.9.6
-upstreamed to 4.14.183
-removed cpu_input_boost
-disabled cpu_boost \ msm_performance \ core_ctl
-back to android low memory killer
-enabled psi
-enabled memcg
-reduced cache pressure
-disabled highmem and profiling
-arm64: lib: optimizations
-camera: fixed memory leak
-some other process to power efficient wq
-updated wireguard to latest version
-schedutil: don't set freq to uint max
-stune assist
-cpuset assist
-stune top app to 5
-jitter and performance improvements
-fixed random reboots
-disabled seccomp
-reverted some commits that needed extensive testing
-other, check git
FENIX_9-0.9.5
For Miui, Android 9 stock, 9 custom roms:
-upstreamed to als 4.14.181
-less aggressive schedutil
-mm: omm_kill tweaks
-little cpu boost at touch
FENIX_10-0.9.5-Q-hotfix
-fixed an issue where unrooted users cannot boot the kernel (stuck on recovery)
FENIX_10-0.9.5
-Merged Caf tag LA.UM.8.11.r1-03500-NICOBAR.0 for Wlan\Techpack\Kernel
-Merged ALS 4.14.181
-Fixed the suspend freeze issues on some devices
-Disabled android low mm
-Added Simple low memory killer by SultanXda for better mm
-Enabled Ntfs R\W
-Correctly imported Xiaomi Clk changes
-mm: omm_kill tweaks
-mm: tweaks
-updated proton clang to latest Kdragon relase
-reverted some schedutil tweaks to make the governor less aggressive
-some sched patches
FENIX_9-0.9.4
- upstreamed to 4.14.176
- built wlan drivers with different flags (check commits)
FENIX_10 0.9.4
- fully compatible with stock 10 \ android 10 custom roms
- merged caf tag LA.UM.8.11.r1-03300-NICOBAR.0 wlan\techpack\kernel
- upstreamed to ALS 4.14.176
- WALT
- disabled cpu boost, msm performance, corectl
- disabled selinux audit
- compiled with proton clang 11 -o3 optimizations, cortex a53 optimizations ,optimize inlining
- improved cache speed
- lz4 Zram, with lz4 module updated
- zram set to 2gb
- fsync on\off
- some log spams disabled
- disabled frame pointers
- goodix FOD improvments
- schedutil patches
- kcal
- bbr default
- anxiety i\o default
- boeffla wakelock blocker
- wireguard
- locked idle freqs while screen off
- something more, check git
FENIX 0.9.3 WALT
- upstreamed to ALS 4.14.175
- WALT
- disabled cpu boost, msm performance, corectl
- disabled selinux audit
- compiled with proton clang 11 -o3 optimizations, cortex a53 optimizations ,optimize inlining
- improved cache speed
- lz4 Zram, with lz4 module updated
- zram set to 2gb
- fsync on\off
- some log spams disabled
- disabled frame pointers
- goodix FOD improvments
- schedutil patches
- kcal
- bbr default
- anxiety i\o default
- boeffla wakelock blocker
- wireguard
- locked idle freqs while screen off
- disabled read ahead
- something more, check git
FENIX 0.9.2 PELT
- reworked from scratch as my main ssd died
- all previous fenix features (more or less)
- built with proton clang 11
- upstreamed to 4.14.171
- meged caf LA.UM.7.11.r1-04700-NICOBAR.0
- silenced some log spams
- anxiety i\o by default
- additional pelt sched patches
- disabled sched autogroup
- disabled sched_boost
- disabled memcg
- enabled optimized inlining
- sched child runs first: faster app opening
- mm: Disable readahead by default
- much, much more on github
FENIX 0.9.1 PELT
-Upstreamed to Als 4.14.167
-zen default
-reverted some commits
-little tweaks on cpu idle
-misc tweaks \ fixes
-bored to write the log as you can see so,
-check git
FENIX 0.9 PELT
-Built with Proton Clang 11
-Upstreamed to Als 4.4.165
-Wireguard (yeah, i ve lost the war)
-Fod improvments (thanks to @Harukey for the findings)
-KLAPSE
-locked min\max freqs
-performance regression fixed :highfive:
-300hz (should give us better smoothness \ bb)
-i\o latency otpimizations
-cache perf improvments
-ufs tweaks
-disabled shed autogroup
-bbr upstreams
-maybe others, check git
FENIX 0.8a PELT
hotfix:
-fix voip bug
FENIX 0.8 PELT
-Upstreamed to als 4.4.163
-Full Pelt instead of Walt
-Alot of sched patches for Pelt
-Advanced Tcp's, Sociopath default (bbr too)
-Disabled all caf boosting drivers (msm_perf \ cpu_boost)
-Cleaned up the sources and fixed derps
-Schedutil Tweaks
-Disabled selinux audit
-SultanXDA Iommu and Ashman drivers
-Tweaked MM for better memory managment
-Fixed high idle drain
-see git history fo others
Always wipe dalvik after flash kernel.
Fenix 0.7
Upstreamed to 4.14.158
re-enabled zram
lz4 compression for zram
new zip, with banner
no need to re-flash magisk after flash (present from 0.5)
fixed exfat driver import, thanks to @HarukeyUA
enabled overlayfs
Fenix 0.6
- enabled exfat driver
- enabled ntfs driver
Fenix 0.5
- fully rebased to my als sources
- upstreamed to 4.4.157 + la.um8.11-01800-nicobar wlan tag
- built with aosp clang 9.0.8 + -o3 optimizations
- kcal color control
- re-enabled audit (for now)
- simple low memory killer driver by Sultanxda
- disabled adreno tracing
- disabled zram
- disabled frame pointers
- some logging disabled (im planning to disable kernel_dubug and debugfs in future)
- alot of Arter cache_pool patches
- Sultanxda dyn allocation patches
- ufs optimizations
- safety net should pass
- boeffla wakelock driver inside
- random linked to urandom
- nuked schedboost
- schedtune assist
- disabled cpu_idle, msm_perf, cpu-boost
- devfreq/kgsl:use high priority workqueque
Fenix 0.3
- Built with Clang 9.0.8 -o3
- Kcal color control
- Seccomp disabled
- Selinux Audit disabled
- Frame_pointer disabled
- Random linked to urandom
- disabled some logging\tracing
- Re-enabled \ tweaked cpu-boost driver
- Simple Low Memory killer instead of standard Android lmk
- some cache optimizations
- Safety net should pass
- Disabled Zram
- Disabled Crc Checks
DOWNLOAD (new releases)
DOWNLOAD (old releases)
note: this is for me an hobby, not a work. If you encounter a problem, send me a logcat i will look into it if i have spare time, but make sure its kernel related. I will not take in consideration logs if you didn't wipe dalvik, or mods like "FedeAi, LKT, exposed" are used.
Enjoy
How to flash:
- reboot into recovery
- make a backup of your original boot.img
- flash fenix zip
- flash magisk if needed
- wipe dalvik (mandatory!)
PAY ATTENTION PLS:
If after flash you're stuck on recovery, flash dtbo.img with fastboot:
fastboot flash dtbo_a dtbo.img
fastboot flash dtbo_b dtbo.img
- enjoy
Source:
Fenix Git
Fenix Gitlab
Image source:
https://imgur.com/R2xjrZ7
Thanks:
@madpausa
@mdeejay
Android Linux Stable team
@xda
and all the other authors of the hundreds of commits in github

If you are on a Caf based rom:
download the attached dtbo.img
flash it trough fastboot "fastboot flash dtbo dtbo.img"
reboot to recovery after the falsh
flash fenix
wipe dalvik
enjoy
No need to reinstall magisk after flash.
Enjoy

reserved #2

great another kernel, gonna try it

I am trying this kernel on Pixel Experience rom latest build and so far looks everything work fine. I don't know if It might be a placebo effect but the all system seems more fluid.
Sent from my [device_name] using XDA-Developers Legacy app

Will this support selinux enforcing??

Rajendran Rasa said:
Will this support selinux enforcing??
Click to expand...
Click to collapse
Selinux audit disabled so it supports selinux
Selinux audit disabled = it doeant look (audit) for an selinux state (disabled)

Hey man, if u can, try to add a sound control to change the gain.
Nice work :}

hello , very thanks for kernel
regards

I know kernel is about boot.img thing but i want to ask Will it encrypt my /data partition . Because i ddecrypted it and dont want to encrypt itself again... and i will fla**** thats all right? Im little bit scared since my storage got encrypted. it took so long time to decrypt again

It is running smoothly on PE latest ROM.
Installed yesterday.

How did you install it? with twrp error 1

iron maiden said:
How did you install it? with twrp error 1
Click to expand...
Click to collapse
Corrupt download, download it again

Unreal_Shogo said:
Corrupt download, download it again
Click to expand...
Click to collapse
hello not working errro 1 twpr thansk
regards

iron maiden said:
hello not working errro 1 twpr thansk
regards
Click to expand...
Click to collapse
Which TWRP please update it to latest twrp.

"Random linked to urandom" ok but why?

chineel said:
Which TWRP please update it to latest twrp.
Click to expand...
Click to collapse
hello what version twrp? thanks
working in rom stock?
regards

iron maiden said:
hello what version twrp? thanks
working in rom stock?
regards
Click to expand...
Click to collapse
No this one is for Q stock not Q yet.

Ok bois, my Als rebase it's ready.
We're on 4.4.157 + latest tag wlan drivers.
In next days i will start working on it. I hope I will have more free time! Cheers

chineel said:
Which TWRP please update it to latest twrp.
Click to expand...
Click to collapse
I tried flashing 0.3 of the kernel with twrp-3.3.1-2 and it popped an "error 1".

Related

[KERNEL] [5.1.1/6.x.y] BIDJI Find-5-CM-based ROM 3.4.y Vanilla Hyb+ (02/03/2016)

Heya, here is my kernel for CM-based (5.1.y) rom, expect similar features on my previous one (OMNI-based). So yes, I still use SYNAPSE to play with the kernel, but I decided to use APB_axel's UKM to play with it, since his UKM gives more complete option than the one I've incorporated in my previous kernel.
And if you decided to use it, please let me know if you find some bugs, since I rebased my old kernel into this one.
SOURCES:
https://github.com/CyanogenMod/android_kernel_oppo_n1
https://github.com/faux123/android_kernel_oppo_n1
https://github.com/oppo-source/Find5-Kernel-Source-4.2
My source
https://github.com/El-Nath/biji-find5-cm
Features :
- Upstream patched to 3.4.110
- SYNAPSE Support (Flash provided UKM to use)
- CPU UC-able down to 81mhz (default [email protected])
- CPU UV-able
- GPU gov : Simple
- CPU gov : Intelliactive, intellimm by faux
- CPUQuiet Power Management from tegra ported to QC's soc by maxwen
- Intelli-Plug by faux/Alucard/DorimanX/NeoBuddy (v.5.4)
- Intelli-Thermal by faux/Alucard/DorimanX/NeoBuddy
Kernel Changelog :
Code:
[B]02 March 2016[/B]
* Kernel now permissive
* Bring back MPdec
* Synapse now working properly
* Almost all green.
[B]01 March 2016[/B]
* Compiled with GCC 5.2 (by Christopher83)
[B]29th February 2016[/B]
* Re-add Fastcharge option (with starting value at 1.5mah, can be customized with faux's app or Synapse)
* Temporarily remove CPUQuiet (some issues with M)
* Synapse still not tested on this build with M
* Disabling CRC still buggy (at least that what I've experienced using kernel Aduitor)
* Intelli-thermal can only be fully tweaked using trickster
* Recommended tweaker for now only Aduitor and Trickster (will work on Synapse later on)
[B]30th October 2015[/B]
* Stopped at v.0.6o for Lollipop build
* Moved to Marshmallow starting v.0.6o-testbuild
[B]27th October 2015[/B]
* Upstream sync to Linux 3.4.110 ( [URL="https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.4.110"]3.4.110 Changelog[/URL] )
* Fix slowdowns / not responding system due the LMK not working as it should be (happened if there's lot of apps running which will eats away the memory and it's not being released/killed properly by LMK)
* Port some LMK optimization from Motorola
* Google Patches
[B]17th October 2015[/B]
* Removed CPU and GPU OC-able freqs
* Removed SoundHax by faux
* Removed MSM-CPU limiter, as we don't need it anymore
* Removed MPDecision
* Tune Intelli-thermal (revert back to orginal and expose some setttings to sysfs)
* Set Intelli-plug min cores online to 1 by default
* Removed Smartmax and Smartmax eps (it will caused sod after reboot while charging)
* Patches from Google and CAF (fix debugfs cannot initialized)
[B]30th September 2015[/B]
* Memutils optimization from Motorola
* Tune Intelli-thermal
* Frandom patch
* Tune Smartmax and Smartmax eps
* Patches from Google
[B]28th September 2015[/B]
* Add CPUQuiet Power Management from Tegra, Modified by maxwenn for Qualcomm's SOC (used in OmniROM)
* Add Smartmax Governor by maxwenn (smartmax eps optimized for APQ8064 SOC)
* Re-add CPU Freq Cap to Cap Max Freq when screen off
[B]26th September 2015[/B]
* Updated to Linux 3.4.109
* Intelli-plug Optimization from Alucard/DorimanX/Neobuddy (v4.0 -> v5.4 adapted for x909)
* Intelli-thermal Optimization from Alucard/DorimanX/Neobuddy (adapted for x909)
* Removed Fast-charge option
* Removed CPU-boost(not needed as for now)
* Removed max-screen off (we are using Optimized Intelli-plug wake-boost now)
* Patches from AOSP
* Fix Rate 266670000 for vcodec_clk is greater than highest Fmax
* Patches from OPPO
* Override Thermal Monitoring w/ Synapse (v3.8.1a)
* Extra free kbyte tuneable ([url]https://source.android.com/devices/t...g/low-ram.html[/url])
[B]20th September 2015[/B]
* CFS tweaks [URL="http://forum.xda-developers.com/show...69&postcount=1"]http://forum.xda-developers.com/show...69&postcount=1[/URL]
* Intelli-thermal ported and merged w/ Alucard and DorimanX's modified msm_thermal
* Add frandom [URL="http://www.billauer.co.il/frandom.html"]http://www.billauer.co.il/frandom.html[/URL]
* Update intelli-plug and use intelli-plug's own screen-off capability
* CRC on/off capability (said can be increase performance by 30%)
[B]11th September 2015[/B]
* Patches from CAF and AOSP (mostly for GPU, can be seen on my git)
* Re-enable log
* Revert L2 down-tune to see if it fix the lag
* A-sync from HTC (thanks to faux123)
* D-sync from faux
[B]30th August 2015[/B]
* Updated Intelli-plug to (3.8 > 4.0)
* Fixes from AOSP
* GPU patches
* Port Motorola 's LMK
* Decoupled UKM installation (so others can freely choose whether to use Synapse or not)
* Tune down L2
* Add westwood TCP and set it as default
[B]24th August 2015[/B]
* Merge with upstream Linux 3.4.108
* Implented Faux-sound
* Fixed FastCharge
* GPU Simple Gov
[B]22nd August 2015[/B]
* Initial Release
UKM/Synapse Changelog :
Code:
[B]3.81.d Modded for X909[/B]
* Add back MPDec
* Add back Option to choose SELinux
* Fixed Live CPU that went on haywire
* Removed CPUQuiet (for now)
[B]3.81.c Modded for X909[/B]
* Add back Hysteresis settings for thermal
* Change Max CPU settings
* Change GPU freq settings
[B]3.81.b Modded for X909[/B]
* Fix CPUQuiet Tuneable governors
* CPUQuiet relabeling
[B]3.81.a Modded for X909[/B]
* Add CPUQuiet Power Management
* Add x909 compatibility
* Changed SeekBar into Option List for easier use
* Synapse Rework :
* Removed Gamma
* Removed Speed Bin Info
* Removed SELinux option
* Remove Radio Band Selection
* Intelli-thermal tuneable modification
* Add Thermal Monitoring Override
* Add CPU Scaling monitoring
* Replaced CPUmax setting (accordance to Intelli-thermal mod)
* Removed stand alone Screeen-off-max-cpu for x909
* Add Option to Disable/Enable Logcat
Credits :
- maxwen
- faux123
- DAGr8
- Christopher83
- AndreiLux
- APB_axel
- Alucard
- DorimanX
- NeoBuddy
Downloads :
- All in One Folders (Includes UKM and my testbuild)
Note :
- AnyKernel mode for all x909 5.1.1 ROM variants, non-AnyKernel mode only for Dirty Unicorn based ROM
- Don't flash anything if you're not sure what you're doing
Great mate!
Will test and report!
Have a nice day!
Downloading! Will report back when I notice anything.
Bidji-cm-v.01 :
- Merge with upstream Linux 3.4.108
- Implented Faux-sound
- Fixed FastCharge
- GPU Simple Gov
Synapse re-work :
- Changed SeekBar into Option List for easier use
- Add Screen Off Max freq for Oppo Specific
Download :
BIDJI-CM-V.01 (24/08)
Some Screenies :
{
"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"
}
Tested the 1st build since upload and v.01 for a few hours now. No stability issues on SlimLP build by Jejecule. :good:
Rotation doesnt work and synaps crashes on startup (this is the same on both kernel versions).
Minor issue that doesnt really bother me: in synaps on the info tab under SOC Binning no actual ACPU PVS or SPEED BIN values are displayed.
Thank you for making your awesome kernel again for Find 5!4
If I have any further issues i will report back.
PS. Those screenies are waaaayyyy too small
Everything going smoothly over here, so far no random reboots or any obvious instability, I'm not testing every single feature though. Really happy that people like you are still here, working to keep our device alive.
fancyclouds said:
Everything going smoothly over here, so far no random reboots or any obvious instability.
Click to expand...
Click to collapse
Could you please specify which ROM you are using?
boertjeg said:
Could you please specify which ROM you are using?
Click to expand...
Click to collapse
crDroid, latest release.
Will try it soon
Enviado do meu Find 5 através de Tapatalk
Experiences so far:
- Autorotation doesnt work even on roms that do have autorotation working with the stock kernel.
- Performance is fine
- Synaps crashes a lot (other experiences??)
- Kernel is more stable than stock kernels, less panics and 0 random reboots until now.
- Battery life isnt noticably better, but I haven't really tested with finetuning with different UV-values, CPU settings etc.
Things not listed are all working fine I even have no more "camara can not be found" errors.
boertjeg said:
Experiences so far:
- Autorotation doesnt work even on roms that do have autorotation working with the stock kernel.
- Performance is fine
- Synaps crashes a lot (other experiences??)
- Kernel is more stable than stock kernels, less panics and 0 random reboots until now.
- Battery life isnt noticably better, but I haven't really tested with finetuning with different UV-values, CPU settings etc.
Things not listed are all working fine I even have no more "camara can not be found" errors.
Click to expand...
Click to collapse
Thank you, for your feedback
- Could you please tell me, which rom that has autorotate working (I'm using Jejecule's crDroid btw)
- Not on my end, but sometimes it crashes when I turn other
kernel tune up setting on-boot.
El-Nath said:
Thank you, for your feedback
- Could you please tell me, which rom that has autorotate working (I'm using Jejecule's crDroid btw)
- Not on my end, but sometimes it crashes when I turn other
kernel tune up setting on-boot.
Click to expand...
Click to collapse
So for me it works like this:
- CrDroid Stock: autorotation doesnt work, CrDroid + BIDJI: autorotation doesnt work.
- DU Stock: autorotation works, DU+ BIDJI: autorotation works.
- SlimLP Stock: autorotation works, SlimLP+ BIDJI: autorotation doesnt work.
Kinda weird if you ask me.
boertjeg said:
So for me it works like this:
- CrDroid Stock: autorotation doesnt work, CrDroid + BIDJI: autorotation doesnt work.
- DU Stock: autorotation works, DU+ BIDJI: autorotation works.
- SlimLP Stock: autorotation works, SlimLP+ BIDJI: autorotation doesnt work.
Kinda weird if you ask me.
Click to expand...
Click to collapse
That's odd, because for me the only rom that has auto-rotate work with stock kernel is DU, and I can assure you that this issue is not kernel related (I've been switching the stock kernel back-and-forth in between those roms), I will try fiddling with the ramdisk later on.
BIDJI v.0.1d :
Updated Intelli-plug to (3.8 > 4.0)
Fixes from AOSP
GPU patches
Port Motorola 's RB Tree
Decoupled UKM installation (so others can freely choose whether to use Synapse or not)
Tune down L2
Add westwood TCP and set it as default
Synapse Rework :
Remove Gamma
Remove Speed Bin Info
Remove SELinux option
Remove Radio Band Selection
Downloads :
- BIDJI-find5-cm-v.0.1d (31/08)
If you decided to use Synapse or clean UKM installation :
- UKM by APB_axel for Find5 (v.3.8.1)
- UKM Uninstaller (v.2)
So I have been using the latest version for >1 day. For some reason it has way more slowdowns and freezes compared to the previous version.
My synapse settings have remained the same: -75 mV, 84-1512 MHz, ondemand, max screen off freq: 594 MHz, Intelliplug (balanced) and Intellithermal. Not mentioned settings are left default.
Most noticable is the lockscreen. Most of the times is responds very laggy or doesnt respond for 5 sec at all.
If you have any suggenstions to try and possibly fix such behaviour, tips are very welcome.
On the very positive side; battery life is a-ma-zing.
I am typing this massage 22:34 and my phone left the charger at 7:10, and it still has 36% left with about 2 hours of screen time. But on the previous version I got even more pleasing results, see attached.
One more thing that caught my eye: when charging while shut down the screen stays on black with full brightness. Stock kernel doesnt do this, maybe that helps.
Thanks again!
boertjeg said:
So I have been using the latest version for >1 day. For some reason it has way more slowdowns and freezes compared to the previous version.
My synapse settings have remained the same: -75 mV, 84-1512 MHz, ondemand, max screen off freq: 594 MHz, Intelliplug (balanced) and Intellithermal. Not mentioned settings are left default.
Most noticable is the lockscreen. Most of the times is responds very laggy or doesnt respond for 5 sec at all.
If you have any suggenstions to try and possibly fix such behaviour, tips are very welcome.
On the very positive side; battery life is a-ma-zing.
I am typing this massage 22:34 and my phone left the charger at 7:10, and it still has 36% left with about 2 hours of screen time. But on the previous version I got even more pleasing results, see attached.
One more thing that caught my eye: when charging while shut down the screen stays on black with full brightness. Stock kernel doesnt do this, maybe that helps.
Thanks again!
Click to expand...
Click to collapse
As for lagging on lockscreen, did it happened on the latest build only ? or do you experienced it on the previous build as well ? Since I do noticed some lagging only when my phone is charging on wall-charger with 1ma/ on windows os (on linux I don't experience any lagging)and if I put fast-charge option on, there will be no lagging at all. ( I use Intelliactive). try change the Intelli-plug profiles
And please check the thermal option, I put 60c as default for cpu throttling and 80c for cpu offline, If you play games like I do and experiences some lagging, try increase 60c into something like 65-68 (I set 60c to make the phone more cooler) and reduce 80c into 75c.
For charging when phone is shutdown, you could push power button once to sleep it.
Thanks for the feedback, I'll try to figure how to resolve the issue you've mentioned.
BIDJI v.0.1l :
- Patches from CAF and AOSP (mostly for GPU, can be seen on my git)
- Re-enable log
- Revert L2 down-tune to see if it fix the lag
- A-sync from HTC (thanks to faux123)
- D-sync from faux
Download :
- BIDJI-find5-cm-v.0.1l(11/09)
BIDJI v.0.1wb :
CFS tweaks http://forum.xda-developers.com/showpost.php?p=24233069&postcount=1
Intelli-thermal ported and merged w/ Alucard and DorimanX's modified msm_thermal
Add frandom http://www.billauer.co.il/frandom.html
Update intelli-plug and use intelli-plug's own screen-off capability
CRC on/off capability (said can be increase performance by 30%)
Download :
- All in One folder
Note :
If you decides to use Synapse, please re-download the UKM inside download folder, some changes are made and the UKM needs to be updated to reflect those changes.
BIDJI v.0.1z :
Updated to Linux 3.4.109
Intelli-plug Optimization from Alucard/DorimanX/Neobuddy (v4.0 -> v5.4 adapted for x909)
Intelli-thermal Optimization from Alucard/DorimanX/Neobuddy (adapted for x909)
Removed Fast-charge option
Removed max-screen off (we are using Optimized Intelli-plug wake-boost now)
Patches from AOSP
Fix Rate 266670000 for vcodec_clk is greater than highest Fmax
Patches from OPPO
Override Thermal Monitoring w/ Synapse (v3.8.1a)
Extra free kbyte tuneable (https://source.android.com/devices/tech/config/low-ram.html)
Downloads :
All in One Folder
Since I've adapted an Optimized Intelli-plug, enabling this hot-plug only viable through Synapse (other kernel tuner needs to update the apps, but I'll try to expose the module so it can be adjusted from other tuner), and I also gonna try to explain more about the option in Synapse so other can get more understanding about it.
Note :
- Please only download AnyKernel flashable zip if you're not using Dirty Unicorn build, and please reflash UKM v3.8.1a to update the changes that was made
Seeing it seems that I'm mostly the only one that post in here, and I don't like how it goes (seeing only my post), I'm not going to post my kernel update anymore, instead I'll just update the changelog on the first post and if you guys want to flash the kernel just read the first post for any changes.
What are the best settings to balance battery life and performance?
Enviado do meu Find 5 através de Tapatalk

[KERNEL][FEB 23] Fusion-Kernel 2.2 [LineageOS]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I am not responsible for bricked devices, dead SD cards, explosions, nuclear wars, alarm applications getting failed
The idea is to take the best from all available kernels like boeffla,blu_spark,franco kernel,elemental x,sultan,arter97,zanezam
to have a single kernel rich of features but at the same time stable and fast.
I will add only those features which don't cause instability and really improve performance or battery life of our device.
Thanks to all the kernel developers for many ideas, references and features, special thanks to andip71 for providing kernel source code ,I have used his kernel as base for my project
Features: (BOEFFLA BASED)
BoefflaConfig App compatible Download Link
Compiled using uber toolchain 6.x
Governor: blu_active ,lionfish,zzmove,elementalx,impulse,interactive,conservative,ondemand,powersave,performance
Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
Dash charging fully supported
The two CPU clusters (big and little cpu) can be configured completely separate in terms of min/max frequencies, governors and CPU core profiles
Additional schedulers: fiops, sio, sioplus, fifo, vr, tripndroid and zen
CPU overclocking
No GPU overclocking, no CPU and GPU voltage interface
USB charge rate bumped up to 900 mA
CPU core profiles to restrict number of CPU cores being used (the OP3 does not hotplug based on load)
Boeffla-Sound engine: Headphone volume and speaker volume (only lowering volumes for speaker)
Dynamic FSync (activated if screen on, deactived if screen off), configurable
Input boost frequencies and duration configurable per CPU cluster, input boost switch
Show CPU frequency usage per CPU and frequency in Boeffla-Config
Show GPU frequency usage per frequency in Boeffla-Config
KCal V2 Color control (not yet fully compatible to msm8996, expect side effects)
Swipe2wake gestures
Swipe2sleep gestures
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
Kernel logger (dmesg) configurable
CIFS support (module, do not mount inside /data, if you rooted with Chainfire SuperSu, make sure you uncheck the namespace separation in SuperSu app)
NFS support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Many additional TCP congestion algorithms available
Entropy values configurable
Hardware touch keys are locked as long as screen is in use (touched) for better usability
Swap supported
Various minor kernel tweaks
Doze mode configurable in Boeffla-Config
Full selinux strict support (switchable to permissive on demand)
Show speedbin information (PVS level) in Boeffla-Config app
init.d support (in /system/etc/init.d - set correct permissions!)
Automatic EFS backup
Integrated full busybox 1.24.2 (own compilation)
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
https://www.androidfilehost.com/?w=files&flid=146109
Installation
1. Flash in recovery ( use the lastone from eng.stk https://forum.xda-developers.com/devdb/project/dl/?id=22668)
Do NOT flash this over other custom kernels!
You should only flash Fusion over the kernel that came with your ROM!!!
Credit
Credit
Credit
* LordBoeffla
* ZaneZam
* Ak
* Yank555
* Hardcore
* Chainfire
* AndreiLux
* Netarchy
* Gokhanmoral
* eng_stk
* Flar2
* Entropy512
* Faux
* bedalus
* FranciscoFranco
* moludo
* Lozo2010
*acuicultor
*Joe Maples
Source code
Source: Github
reserved
wow !!! New Kernel ! Gonna give a try with aosip .
Every time I flash this karnel device gets stuck on OP logo, anyone else experiencing this?
@kenzolo welcome back !
Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
cerealguy said:
@kenzolo welcome back !
Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
Click to expand...
Click to collapse
Thanks mate
Good job man
Thank you!
FUSION 1.5
KERNEL DOWNLOAD LINK
CHANGELOG:
Added relaxed governor
Added chill governor
sync latest boeffla,franco,eng.stk,acuicultor commits
Click to expand...
Click to collapse
FRAP129 suggest to use relaxed governor on little and chill on big
Chill
A conservative based governor by frap129 (Electron kernel). It's aims to provide more aggressive battery savings while screen is off.
Relaxed
governor based on chill, but impliments a boost_ceiling parameter that allows for more gradual boosting. With chill, I noticed that the min and max frequencies were being used the most, and all other frequencies were being barely used at all. Rather than boosting straight to the max frequency, relaxed finds the differenced between boost_counter and boost_ceiling, then boosts to max minus that difference. For example, if boost_count is 8 and boost_ceiling is 12, when boost_counter reaches 8, the cpu freq will boost to 4 (12-8) levels below max, then increase if needed untill boost_counter reaches boost_ceiling. This governor doesn't completely replace chill, but is intended to be used alongside it.
Click to expand...
Click to collapse
Boeffla config app in now compatible with fusion kernel
it is strongly recommended to use this application for proper work of features and kernel compatibility
Boeffla config app download link
note for users coming from fusion 1.0
remove "fusion-kernel-data" folder in your main sd card directory before flash
and 99tweak file from system/etc/init.d
Thanks for the update! Eager to try your kernel :good:
Tried flashing this kernel 1.5 over this ROM: https://www.androidfilehost.com/?fid=457095661767133793
It simply would not boot and hung on the OnePlus symbol?
DarKAngel1234 said:
Tried flashing this kernel 1.5 over this ROM: https://www.androidfilehost.com/?fid=457095661767133793
It simply would not boot and hung on the OnePlus symbol?
Click to expand...
Click to collapse
This rom have maybe not the last commit from LOS or Maybe a Bad download
Work fine on legendrom
ROM is very up to date, also released on the 31. However also found ElementalX and Boeffla's kernels all wouldn't boot the ROM as well, could that have something to do with recovery version? I have Arter97's AOSPA recovery installed version 3.0.2-1.? Any ideas why all three kernels would not boot a particular ROM.
Zarancar said:
This rom have maybe not the last commit from LOS or Maybe a Bad download
Work fine on legendrom
Click to expand...
Click to collapse
Works beautifully with legend rom!!! Good job
Working flawlessly with RR by eliminater
Fusion kernel 1.6
KERNEL DOWNLOAD LINK
CHANGELOG:
kernel completely rebased on lineage nougat version
sync latest boeffla,franco,eng.stk,acuicultor commits
Click to expand...
Click to collapse
Boeffla config app in now compatible with fusion kernel
it is strongly recommended to use this application for proper work of features and kernel compatibility
Boeffla config app download link
note for users coming from fusion 1.0
remove "fusion-kernel-data" folder in your main sd card directory before flash
and 99tweak file from system/etc/init.d
Thanks for your work, trying it and working good
One question: does boeffla pocket mode work with your build?
urgali said:
Thanks for your work, trying it and working good
One question: does boeffla pocket mode work with your build?
Click to expand...
Click to collapse
yes, It should work
@kenzolo any changelog for 1.7?
Inviato dal mio du_oneplus3 utilizzando Tapatalk
Fusion kernel 1.8
KERNEL DOWNLOAD LINK
CHANGELOG:
Code:
[LIST]
[*]Rebased boeffla defconfig
[*]switch to -O2 optimization
[*]add Despair gov
[*]Removed chill & relaxed governor
[*]Squash msm: kgsl: misc fixes
[*]usb: dwc3-msm: Remove indefinite wakeup
[*]sched/deadline: Avoid pointless __setscheduler()
[*]sched/wait: Fix a kthread race with wait_woken()
[*]BACKPORT: audit: consistently record PIDs with task_tgid_nr()
[*]UPSTREAM: fs/proc/kcore.c: Add bounce buffer for ktext data
[*]UPSTREAM: fs/proc/kcore.c: Make bounce buffer global for read
[*]BACKPORT: arm64: Correctly bounds check virt_addr_valid
[*]msm: kgsl: Add unknown property type
[*]writeback: increase bdi_min_ratio to 5 in light of the latest writeback commit.
[*]clockevents: Provide explicit broadcast oneshot control functions
[*]clockevents: Provide explicit broadcast control functions
[*]drivers: cpuidle: lpm-levels: Enable Sleep prediction
[*]cpuidle: lpm-levels: Consider cluster history for LPM selection
[*]cpuidle: lpm-levels: Consider history during LPM selection
[*]lpm-levels: Compute minimum residencies for LPM levels
[*]Disable Add Random
[*]random: sprinkle e/f/prandom in places that deplete entropy often
[*]random.h: declare erandom function
[*]random32: use e/frandom for reseeding, and a merge fixup
[*]char: frandom: initial commit v1.1
[*]random: backport from Linux 4.2
[*]sched/fair: Optimize find_idlest_cpu() when there is no choice
[*]qcom: msm-core: queue work on system_power_efficient_wq
[*]drivers: power: bcl: queue work on system_power_efficient_wq
[*]drivers: wakeup: bypass two WiFi wakelocks
[*]UPSTREAM: PM / sleep: Re-implement suspend-to-idle handling
[*]UPSTREAM: sched/fair: Avoid pulling all tasks in idle balancing
[*]UPSTREAM: sched: Improve load balancing in the presence of idle CPUs
[*]power: bcl: queue work on system_power_efficient_wq
[*]power: wakeup: prevent IPA_WS wakelock from being acquired by default
[*]netdev, sched/wait: Fix sleeping inside wait event
[*]PCI / PM: Avoid resuming more devices during system suspend
[*]PCI / PM: Avoid resuming PCI devices during system suspend
[*]display: add a simple api to query the display state (on/off) at any point in time
[*]CHROMIUM: cpufreq: interactive: calculate load before freq change
[*]cpufreq: interactive: remove hispeed_freq init restriction
[*]block: fix blk_stack_limits() regression due to lcm() change
[*]defconfig: enable powersuspend
[*]kernel/power/powersuspend: fix compile
[*]PowerSuspend: Fix Compile
[*]kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.7 (faux123/Yank555.lu)
[*]kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.6 (faux123/Yank555.lu)
[*]kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.5 (faux123/Yank555.lu)
[*]Revert "display: add a simple api to query the display state (on/off) at any point in time"
[*]sched: Implement lockless wake-queues
[*]kernel: cpu: use cpu_read_relaxed on cpu_down()
[*]arm64: atomic: add missing macros
[*]llist: defining relaxed version of llist_empty
[*]hrtimer: enhance power efficiency
[*]thread_info: enhance power efficiency
[*]arm64: processor.h: remove redundant macros
[*]ARM64: defining macros to optimize power usage
[*]arm64: asm: relaxed.h: defined relaxed.h
[*]arm: asm: relaxed.h: defined relaxed.h
[*]asm-generic: processor.h: remove redundant macros
[*]asm-generic: processor.h: adding new header file
[*]asm-generic: relaxed.h: defined relaxed.h
[*]arm64: atomic.h: defining relaxed atomic_read
[*]asm-generic: atomic.h: relaxed atomic_read
[*]workqueue: fix permissions
[*]qcom: rpm-smd: Remove rpm workqueue initialization
[*]IKSWM-1408: cpufreq: Avoid hardcoding device tree paths for CPU
[*]State_notifier: bring back hook code for state_notifier into mdss_dsi code.
[*]DYNAMIC_FSYNC: added support for STATE_NOTIFIER.
[*]touchscreen: add -Ofast
[*]synaptics: add -Ofast
[*]enable state notifier
[*]state_notifier: enabled by default
[*]state_notifier: add driver
[*]BACKPORT: aio: mark AIO pseudo-fs noexec
[*]Target optimization
[*]cpufreq: cpu-boost: don't boost if input_boost_ms is <= 0
[*]cpufreq: cpu-boost: export input_boost_enable to userspace
[*]Enable quick wakeup
[/LIST]
Boeffla config app in now compatible with fusion kernel
it is strongly recommended to use this application for proper work of features and kernel compatibility
Boeffla config app download link

[KERNEL] [UNIFIED] [CUSTOM 8.1-9.0] [3.18.136] Flash Kernel - R57 - 27 Mar

{
"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"
}
Kernel features:
Upstreamed Linux Kernel version, from v3.18.31 -> v3.18.137
Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-10600-8x96.0
Build -O2 and with Custom Toolchain GCC Linaro 7.3.1 2018.05~dev (Kryo target)
Removed unused Functions & logging options (Speed bootup and also Shrink attack surface)
Enable Kernel hardening features to help mitigate kernel vulnerabilities
General Security Upstream CVEs and CAF and Linux fixes
No OverClock, Set 300HZ ARM base timer frequency
Specific boosting in Performance critical scenarios
Optimized Task Scheduling
Idle Power consumption reduced
Enable & Tweaks Power Efficient Workqueues
Enable & Tweaks CPUset (Improves battery life and Performance)
LMK Enabled by default, Background apps limit up to 60 (from stock 32)
Improved Memory Management (this kernel does not suffer memory leaks)
Improved Touchscreen processing latency
Improverd Fingerprint Scanner processing latency
Improved audio jack detection
Improved app launch performance
Upstream: ARM64, RCU, Crypto, Android Binder, SDCardFS, F2FS, EXT4, CFQ
CPU governors: interactive, conservative, ondemand, performance, powersave (interactive by default)
I/O Schedulers control: CFQ, BFQ, Maple, Noop (CFQ by default)
Enhanced TCP methods: westwood, reno, cubic, dctcp (westwood by default)
Advanced Color Control (KCAL)
Backlight dimmer & High brightness mode
Notification LED & Vibration Control
FSync toggle on/off (on by default)
WireGuard VPN tunnel support
Wakelocks Block Control
SELinux Enforcing
Passes SafetyNet bootloader unlock check
Many other misc. Improvements & Optimizations
Status:
8.1 Oreo Custom Unified : Updated..
8.0 Oreo OxygenOS Unified : Updates are pending (until the Release of OxygenOS Pie)
7.1.x Nougat OxygenOS : No Updates anymore.
Download:
8.1 Oreo Custom Unified : AndroidFileHost
8.0 Oreo OxygenOS Unified : AndroidFileHost
7.1.x Nougat OxygenOS : AndroidFileHost
Installation:
Flash the Kernel zip in TWRP Recovery.
Note: if you come from other Kernel, you should dirty flash your ROM before flashing "FlashKernel.zip"
Donate Me
XDA:DevDB Information
Flash Kernel for OnePlus3, Kernel for the OnePlus 3
Contributors
ahmedradaideh
Source Code: https://github.com/ahmedradaideh/OnePlus3T
Kernel Special Features: Improves Battery Life and Performance
Version Information
Status: Stable
Current Stable Version: R57
Stable Release Date: 2019-03-27
Current Beta Version: R1 - R2
Created 2017-03-17
Last Updated 2019-03-27
Changelog:
Custom R57: 27 Mar (Oreo/Pie) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.133 -> v3.18.136
General Fixes and improvements Codes
Merge F2FS GC improvements
Upstream: Android Binder, F2FS,
CleanUp and More, See My Github
OLD Changelog:
Custom R56: 26 Jan (Oreo/Pie) Unified for OnePlus3/3T
Now Support Android Pie 9 (Tested on LineageOS 16.0)
Upstreamed Linux Kernel version, from v3.18.124 -> v3.18.133
Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-10600-8x96.0
General Fixes and improvements Codes
Merge F2FS GC improvements
Upstream: Android Binder, SDCardFS, F2FS, EXT4
arm: dts: 15801: Apply system early mount
arm: dts: 15801: Remove OnePlus RF Cable
arm: dts: 15801: Cleanup Panels Configuration
arm: dts: 15801: Cleanup Spaces & Duplicates
op3: Disable IPC Router MHI transport
input: synaptics: Cleanup redremote
power: Remove fingerprintd thaw hack
power: qpnp-smbcharger: Clean up PM routines and move them into worker
power: bq27541: Expose full charge capacity and cycle count to userspace
drivers: usb: Re-Apply Missing commits from Linux & android-3.18
CleanUp and More, See My Github
Custom R55: 2 Nov (Oreo/Pie) Unified for OnePlus3/3T
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-01100-89xx.0
General Fixes and improvements Codes
Merge F2FS GC improvements
Merge branch 'Improved-logs'
ANDROID: Remove STRICT_MEMORY_RWX
arm64: alternative: Checkout to android-3.18
arm64: kconfig: Remove duplicate & Cleanup Spaces
Fix merge issue with arch/arm64/kvm/guest.c
pinctrl: qcom: Add irq_enable callback for msm gpio
New WireGuard snapshot 0.0.20181018
CleanUp and More, See My Github
Custom R54: 14 Oct (Oreo/Pie) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.122 -> v3.18.124
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09900-89xx.0
General Fixes and improvements Codes
Merge CAF's improvements
Merge F2FS improvements
Merge SDCardFS improvements
Switch to Upstream BUG_ON_DATA_CORRUPTION
New WireGuard snapshot 0.0.20181007
CleanUp and More, See My Github
Custom R53: 21 Sep (Oreo/Pie) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.120 -> v3.18.122
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09700-89xx.0
Merge F2FS improvements
Merge sched improvements
Merge vdso-32-bit improvements
Merge l2tp improvements
Merge cpu-boost improvements (Boost all CPUs to the max when userspace launches an app)
Revert "cpufreq: introduce cpufreq_driver_is_slow"
msm: mdss: xlog: Disable panic on error by default
ALSA: rawmidi: Undo my 3.18.117 resolution
UPSTREAM: mm/page-writeback: fix dirty_ratelimit calculation
Upstream AnyKernel2 Script
CleanUp and More, See My Github
Custom R52: 31 Aug (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.118 -> v3.18.120
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09600-89xx.0
Merge F2FS improvements
Merge Crypto improvements
General Fixes and improvements Codes
BACKPORT: block: use ktime_get_ns() instead of sched_clock() for cfq and bfq
Anykernel: Support Android Pie 9.0
CleanUp and More, See My Github
Custom R51: 10 Aug (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.117 -> v3.18.118
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09500-89xx.0
Merge Latest f2fs-stable/linux-3.18.y
Merge a couple interesting patches from Marlin/Pie
General Fixes and improvements Codes
kernel: Fix massive cpufreq stats memory leaks
scsi: ufs: call single_release to avoid memory leak
Driver core: wakeup the parent device before trying probe
CleanUp and More, See My Github
Custom R50: 28 Jul (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.116 -> v3.18.117
Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-09300-8x96.0
General Fixes and improvements Codes
Upstream AnyKernel2 Script
CleanUp and More, See My Github
Custom R49: 22 Jul (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.115 -> v3.18.116
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09200-89xx.0
General Fixes and improvements Codes
New WireGuard snapshot 0.0.20180718
[media] uvcvideo: Disable hardware timestamps by default
Upstream AnyKernel2 Script
CleanUp and More, See My Github
Custom R48: 11 Jul (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.113 -> v3.18.115
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09000-89xx.0
General Fixes and improvements Codes
power: Fix Fingerprintd HAL in Oreo
Defconfig: Enable CRYPTO_GCM
New WireGuard snapshot 0.0.20180708
PM / suspend: make sync() on suspend-to-RAM build-time optional (more save power in idle)
Cgroup: Remove Dead codes, Due to the bad merge from the CAF
CleanUp and More, See My Github
Custom R47: 23 Jun (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.110 -> v3.18.113
Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-08900-8x96.0
General Fixes and improvements Codes
Improved touchscreen processing latency (by SultanXDA)
Improved bq27541 Power Driver (by SultanXDA)
i2c-msm-v2: Ensure system is always active for i2c transfers
cpu-boost: Implement Two-Step input boost & Rewrite frequency tunable
oneplus: pn544: Don't hold wakeup source
Upstream: F2FS, SDCardFS, Crypto
Re-Enable ARM64_SW_TTBR0_PAN For Kernel Hardening.
CleanUp and More, See My Github
Custom R46: 25 May (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.110
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-08500-89xx.0
General Fixes and improvements
Specific boosting in Performance critical scenarios
Upstream: ARM64, CPUidle, EXT4, F2FS, SDCardFS
CleanUp and More, See My Github
Custom R45: 29 Apr (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.107
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-08300-89xx.0
Improved scheduling
Back to 100HZ
ion: avoid allocate high order of pages in system heap pools
Replace CPU_BOOST to CPU_INPUT_BOOST (makes the phone feel smooth without destroying battery life)
usb: host: plat: Enable xHCI plat runtime PM
Upstream: ARM64, CPUidle, F2FS, SDCardFS, Sched
Fix Camera, tri_state_key & more
CleanUp and More, See My Github
Custom R44: 16 Apr (Oreo) Unified for OnePlus3/3T
Build with Custom Toolchain GCC Linaro 7.3 2018.04-rc4~dev (Kryo target)
Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.105
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-07400-89xx.0
Merged a couple interesting patches [Spectre v4.4] from Linaro LSK
Fix corrupted images generated by the OnePlus 3/3t camera app/HAL
Tested on LineageOS & RR ROM
CleanUp and More, See My Github
Custom R43: 10 Apr (Oreo) Unified for OnePlus3/3T
Build with Custom Toolchain GCC Linaro 7.3 2018.04-rc2~dev (Kryo target)
Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.104
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-07200-89xx.0
misc: Synchronize codes for OxygenOS OpenBeta 32/23
Merged a couple interesting patches from Pixel 1 P branch
Merged a couple interesting patches [Spectre v4.4] from Linaro LSK
input: tri-state-key: Rewrite and optimize
kernel: Restrict unbound kthreads to little CPU cluster
BACKPORT: USB: core: harden cdc_parse_cdc_header
Specific boosting in Performance critical scenarios
Optimized Task Scheduling
Idle Power consumption reduced
Upstream AnyKernel2 Script
Tested on LineageOS & RR ROM
CleanUp and More, See My Github
Custom R42: 11 Mar (Oreo) Unified for OnePlus3/3T
initial release, Based on LineageOS source
Build with Custom Gnu GCC Toolchain 7.3.0
Upstreamed Linux Kernel version, from v3.18.93 --> v3.18.99
Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-06600-8x96.0
RCU Subsystem Upstream from msm.4.4
CleanUp and More, See My Github
OxygenOS R42: 11 Mar (Oreo) Unified for OnePlus3/3T
Build with Custom Gnu GCC Toolchain 7.3.0
Upstreamed Linux Kernel version, from v3.18.93 --> v3.18.99
ANDROID: sdcardfs: Set num in extension_details during make_item
ANDROID: keychord: Check for write data size
clk: msm: clock-gcc-8996: Add 50 us delay after BLSP1 AHB clock enable
flash_defconfig: add CONFIG_PCI_QUIRKS back
Upstream AnyKernel2 Script
Big Update R41: 17 Feb (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.93 --> v3.18.95
Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-06300-8x96.0
sched/rt: Use container_of() to get root domain in rto_push_irq_work_func()
sched/rt: Up the root domain ref count when passing it around via IPIs
mm,writeback: don't use memory reserves for wb_start_writeback
arm64: Use optimized memcmp
drivers, kernel: Revert OnePlus changes
cpuidle: Add commit left out during CAF merge
cpufreq: stats: Remove unreachable OnePlus code
ANDROID: cpufreq: stats: add uid removal for uid_time_in_state
BACKPORT: xfrm: Fix return value check of copy_sec_ctx
F2FS File System Upstream v4.16-rc1-3.18 + Android Binder Upstream
ASoC: wcd-mbhc: Improve detection speed and accuracy
Revert OPChain Module by OnePlus + Touchboost + haptic feedback control (Causing problems)
Add systemless wlan.ko injection (!dirty flash your ROM (OxygenOS) before flashing!)
CleanUp and More, See My Github
Big Update R40: 31 Jan (Oreo) Unified for OnePlus3/3T
Build with Custom GCC Linaro Toolchain 7.2.1-2018.1 Snapshot
Upstreamed Linux Kernel version, from v3.18.90 --> v3.18.93
Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-05700-89xx.0
Merged a couple interesting patches from Pixel 1+2 Oreo branch
Merged a couple interesting patches from CopperheadOS.
Synchronize codes for OxygenOS OpenBeta 30/21
treewide: Add commits left out during CAF
Applied CPU security patch: CVE-2017-13218
blkdev: Refactoring block io latency histogram codes
ANDROID: ext4: don't put symlink in pagecache into highmem
msm-core: disable userspace access to poll_ms
oneplus3t: remove 'reboot edl' interface for security.
Upstream SDCardFS + ARM64
CleanUp and More, See My Github
Big Update R39: 12 Jan (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.90 --> v3.18.91
Merged a couple interesting patches from Pixel 1+2 Oreo branch
Marge Latest WIFI Driver LA.UM.6.5.r1-05300-8x96.0
Synchronize codes for OxygenOS 5.0.1
ANDROID dm-verity: fix root device init timing issue.
UPSTREAM: arm64/vdso: Fix nsec handling for CLOCK_MONOTONIC_RAW
UPSTREAM: arm64: module: avoid undefined shift behavior in reloc_data()
Upstream F2FS + Fscrypt + EXT4 + SDCardFS + ARM64
F2FS: Fix GC
Input: synaptics: restrict sysfs node write permissions
Defconfig: Remove unused configs for Bluetooth
CleanUp and More, See My Github
R38: 1 Jan (Oreo) Unified for OnePlus3/3T
Synchronize codes for OxygenOS OpenBeta 29/20
Merged a couple interesting patches from CopperheadOS.
UPSTREAM KCOV + mm/slab
BACKPORT: arm64: apply __ro_after_init to some objects
BACKPORT: arm64, vdso: Define vdso_{start,end} as array
Defconfig: Enable ARM64_SW_TTBR0_PAN for Kernel Hardening.
Revert "Defconfig: Change RCU RT Prio to 1"
CleanUp and More, See My Github
Big Update R37: 25 Dec (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.86 --> v3.18.90
Merged a couple interesting patches from Pixel 1+2 Oreo branch
Add Maple I/O Scheduler (and Remove ZEN)
Add state notifier driver
Upstream LZ4 compressor
v4l2: Refactor, fix security bug in compat ioctl32
UPSTREAM: sched/rt: Do not pull from current CPU if only one CPU to pull
ANDROID: scsi: Add segment checking in sg_read
ANDROID: vfs/ext4: finish umount(2) in time and avoid errors=panic by filesystem
input: misc: fpc1020: add haptic feedback control similar to gestures
Make msm_serial_hs RT to improve bluetooth performance
CleanUp and More, See My Github
R35: 30 Nov (Oreo) Unified for OnePlus3/3T
Build with Custom GCC Linaro Toolchain 7.2.1-2017.11~Dev (improvements)
Upstreamed Linux Kernel version, from v3.18.84 --> v3.18.85 (fixing & security)
Marge Latest WIFI Driver LA.UM.6.6.r1-04300-89xx.0
Upstream kernel locking driver from msm-4.4 (Thanks MSF-Jarvis)
ARM64 / Time / Android Binder Upstream
RCU: Restrict nocb kthreads to power cluster
Defconfig: Restrict kswapd to power cluster
Upstream AnyKernel2 Script
CleanUp and More, See My Github
R34: 25 Nov (Oreo) Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.81 --> v3.18.84 (fixing & security)
Marge Latest CAF branch LA.UM.6.6.r1-04300-89xx.0 (fixing & security)
Synchronize codes for OxygenOS 5.0.0
Crypto / F2FS / Android Binder Upstream
UPSTREAM: dm bufio: switch from a huge hash table to an rbtree
UPSTREAM: arm64: dump: Fix implicit inclusion of definition for PCI_IOBASE
cpufreq: Restore policy min/max limits on CPU online
lib: Disable DEBUG_BUGVERBOSE
CleanUp and More, See My Github
R32: 4 Nov (Oreo) Unified for OnePlus3/3T
Now Kernel Unified for OnePlus3/3T
Upstreamed Linux Kernel version, from v3.18.66 --> v3.18.79 (fixing & security)
Marge Latest WiFi Driver & CAF branch LA.UM.6.5.r1-04000-8x96.0 (fixing & security)
Defconfig: remove unused kernel functions & Enable few security requirements
Android Binder / SDCardFs/ EXT4 Upstream
UPSTREAM: arm64: compat: Remove leftover variable declaration
UPSTREAM: fscrypt: fix dereference of NULL user_key_payload
ANDROID: net: xfrm: fix long lines.
msm-tsens: Reschedule work instead of causing uninterruptible sleep
irda: Fix lockdep annotations in hashbin_delete().
AnyKernel2 Script Upstream
CleanUp and More, See My Github
Reserved #1
Nice mate.. another kernel to use!
Reserved #2
thx bro.
Good to see more kernels! Welcome to op3 family!
Is this based on Nathan Chancellor aka @The Flash kernel for Nexus 6p?
Sent from my ONEPLUS A3000 using Tapatalk
jmtjr278 said:
Is this based on Nathan Chancellor aka @theflash kernel for Nexus 6p?
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
No
Just the same name?
Sent from my ONEPLUS A3000 using Tapatalk
jmtjr278 said:
Just the same name?
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
Yes, two completely independent Flash Kernels
The Flash said:
Yes, two completely independent Flash Kernels
Click to expand...
Click to collapse
Please delete
Sent from my ONEPLUS A3000 using Tapatalk
Are you going to implement f2fs support? Or does it already have it?
Sent from my ONEPLUS A3000 using Tapatalk
The thread title as OnePlus 3 but the source name is OnePlus 3T so which one is it? Or is it unified?
EDIT: I guess its for the OnePlus 3 as the zip file name says so
Can I flash this over other custom kernels?
Just tried it for a day and I could say it smooth as my bae's butt cheeks!!! The battery life so far so good... Just reminding that the screenshots I gave is only the first cycle
DragonSlayer240 said:
Just tried it for a day and I could say it smooth as my bae's butt cheeks!!! The battery life so far so good... Just reminding that the screenshots I gave is only the first cycle
Click to expand...
Click to collapse
You think 3:30 (maybe 4 in full charge) is good?
Sent from my ONEPLUS A3003 using Tapatalk
NickosD said:
You think 3:30 (maybe 4 in full charge) is good?
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
It depends... Everyone have different usage so for me this is good but not really that good... But to get this SoT for the first cycle is already good enough
New Update: r4 / 22Mar
Changelog:
*Slightly faster sampling during screen off to offset cases like Android Auto and Viper4Android hi-resolution audio decoding where 60ms was a bit too aggressive. from franciscofranco.
*drivers: wakeup: more thoroughly deactivation of wakelocks. from franciscofranco.
*Merged a patchs from sultanxda to fix memory leaks.
*power: oneplus_fastcg: Silence log spam
*net: ping: check minimum size on ICMP header length
*Add haptic feedback control
*flash_defconfig: Update & Cleanup
*ramdisk: Update & Cleanup
madsponge26 said:
Nice mate.. another kernel to use!
Click to expand...
Click to collapse
bassgenerator said:
thx bro.
Click to expand...
Click to collapse
Konskl said:
Good to see more kernels! Welcome to op3 family!
Click to expand...
Click to collapse
you are welcome guys
jmtjr278 said:
Is this based on Nathan Chancellor aka @The Flash kernel for Nexus 6p?
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
No.
tikizondo94 said:
Are you going to implement f2fs support? Or does it already have it?
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
Support for data partition (Like Stock).
DragonSlayer240 said:
The thread title as OnePlus 3 but the source name is OnePlus 3T so which one is it? Or is it unified?
EDIT: I guess its for the OnePlus 3 as the zip file name says so
Click to expand...
Click to collapse
Not Unified, All of them in his own forum.
Edoardo Avola said:
Can I flash this over other custom kernels?
Click to expand...
Click to collapse
*dirty flash your ROM (OxygenOS)
*flashing "FlashKernel.zip" and SuperSu or magisk If you need.

[Mi5S Plus][KERNEL][HMP/MIUI][Linux 3.18.31] Floppy Kernel [RC1.3][13/01/18]

[Mi5S Plus][KERNEL][HMP/MIUI][Linux 3.18.31] Floppy Kernel [RC1.3][13/01/18]
{
"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"
}
Floppy is kernel for all custom rom based on LineageOS 14.1, 15.1 and Miui , support the Xiaomi Mi5S Plus
Code:
#include <disclaimer.h>
* Your warranty is now void. *
* No guaranteed this'll explode your device, be careful, follow the instructions ! *
*don't point at me if your alarm dies after flashing this kernel ! *
Based on Linux Kernel 3.18.31
Based on LineageOS Kernel
GCC Linaro 7.2.1, UBERTC 8.0, SaberMod 7.0 and Google 4.9
Governors: Impulse, Despair, Zzmove, Darkness, Blu_active, ElementalX, Interactive, Conservative, Ondemand, Powersave, Lionheart, Userspace, Bioshock, Alucard, Hyper, Wheatley, Nightmare, Dancedance, Adaptive, Pegasusq, Chill, Cafactive and Performance.
I/O Schedulers: Noop, Deadline, Cfq, Fiops, Bfq, Zen, Sio, Sioplus, Maple and Tripndroid.
Compiled with -Os
Full Linaro Optimizations ON
Optimized Parameters from L Speed @Paget96
Google Snappy Algorithm
ARM RWSEM Algorithm
Charge Control module - credits : xNombre
Wireless adapter (LIB80211, RTL8180, RTL8187, MAC80211, EEPROM: LEGACY, MAX6875, 93CX6, 93XX46)
Spectrum support
Kexec HardBoot support
Wireguard
Kernel Samepage Merging (KSM)
Dynamic File Sync and Asynchronous FIle Sync - credits : andip71 | Francisco Franco
Passing SafetyNet
[*] Frandom - Entropy Generator
USB OTG NTFS r/w Support
SYSInterface Gentle Fair Sleepers
[*] Some CFLAGS optimizations
Performance enhancements
OC Slimbus frequencies to provide better sound quality
Lazyplug - credits : arter97 | frap129
Backlight Dimmer
Arch Power saving - credits : kirananto | Cl3Kener
Adreno Idler- credits : arter97 | yarpiin
[*] Intelli-Thermal v3.0 - credits : faux123
Support f2fs, exfat, ntfs filesystem
Quick WakeUp Driver and power suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin | Francisco Franco
Support cpu boost, cpu input boost and fingerprint boost
MDSS color control (Kcal v2) - credits : flar2 | andip71
Sysfs interface to Enable/Disable CRC - credits : whyorean
[*] Sysfs interface CPU Vdd levels
Boeffla wl blocker v1.1.0: sensor_ind, msm_hsic_host, wlan_rx, wlan_ctrl, wlan, ipa, qcom rx and more - credits : Francisco Franco | andip71
Vibration Control Intensity
TCP Congestion Algorithms: Westwood (default), Reno, Bic, Highspeed, Hybla, HTCP, Vegas, Scalable, Lp, Yeah and Illinois.
And much more!
First time:
Reboot to recovery
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Update the kernel:
Reboot to recovery
Flash FloppyKernel.zip
Wipe cache e dalvik cache
Reboot
Coming from another kernel:
Reboot to recovery
Flash your ROM
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Floppykernel
FloppyKernel's Autonomous Builds
FloppyTeam
FloppyReleases
Donate here, if you like my work!!!
LineageOS
Mi5Devs
@GreekDragon
XDA:DevDB Information
FloppyKernel, Kernel for the Xiaomi Mi 5s Plus
Contributors
Jonas Cardoso, InsideMuz
Source Code: https://github.com/JonasCardoso/android_kernel_xiaomi_msm8996
Kernel Special Features: A magical support, I am all day here, reading the publications of the posts, ready to help in any doubt (unless you have not read the OP that contains the information that you need).
Version Information
Status: Stable
Current Stable Version: RC1.3
Stable Release Date: 2018-01-13
Created 2017-12-22
Last Updated 2018-08-20
RC1 - 28/11/2017
Changes from source "LineageOS/android_kernel_xiaomi_msm8996"
kernel: support for GCC 5, 6 and 7
cpufreq: added new governor
block: added new iosched
filesystem: add NTFS r/w support
power : power_suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin
sched: Add SysInterface for GENTLE_FAIR_SLEEPERS
int_sqrt: Improve 3x faster integer sqrt
sync: Dynamic Sync Control 2.0
fs: Async I/O latency to a ssd greatly increased, 34% gain (Creds: kl

include: Set 1024KB as Max Read ahead - more performance now
thermal : intelli-Thermal v3.0
ASoC: wcd9335: Sound control
msm8996: all variants same clock
staging: Google Snappy
Power : Add Quick WakeUp Driver
cmdline: Safetynet
fs: add exfat support
cpufreq: show cpu voltages via sysfs 009a6c0
cpufreq: Add CPU Input Boost Driver : SultanXDA
cpufreq: cpu-boost: Optimizations
fs: Dynamic Sync Control 2.0 and MDSS color control
drivers: Slimbus Overclock
gemini: Enable All TCP Congestion Algorithms
OC : Standard MSM8996 Frequency CPU | GPU
devfreq : Add Adreno Idler
cpufreq: add fingerprintboost and lazyplug
drivers: intelli-Thermal v3.0
version: floppykernel RC1
RC1.1 - 10/12/2017
SoundControl: fixed speaker \o/
ramdisk: add tweaks on init.floppy.rc
char: disabled frandom
gemini: enabled ksm
gcc: support gcc 7.x and 8.0 (Linaro and UBERTC)
zip-creator: add spectrum support
drivers: misc: implement usb fast charge mode
version: floppykernel RC1.1 62e569c
zip-creator: delete zip build 8ae3d63
RC1.2 - 27/12/2017
android: binder
ALSA: compress: Add DSD format support for ALSA
ALSA: compress: Add APTX format support in ALSA
firmware: Update synaptic
firmware: Update fte8716
spectrum: don't change clock cpu
kernel: added support to lithium
kernel: added support to natrium
kernel: added support to scorpio
msm8996: Overclocking frequencies
msm: qdsp6v2: Allow 320K AAC encoding
Add Kexec HardBoot Support
Revert "drivers: intelli-Thermal v3.0"
Merge tag 'LA.UM.5.5.r1-06400-8x96.0' into HEAD
drivers: staging: Update qcacld-2.0 driver
version: floppykernel rc1.2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
wakeup: More Wakelocks
RC1.3 - 13/01/2018
zip-creator: update AnyKernel2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
zip-creator: update AnyKernel Setup
wakeup: More Wakelocks
msm: mdss: kcal: Add KCAL support for post processing control [v2] 6b40a22
zram: LZ4 after LZ0
block: Add Maple I/O Scheduler
zip-creator: Patch to remove dm-verity
gcc8: fix warnings
defconfig: Wireless Adapter
net/wireguard: add wireguard importer
zip-creator: device check
dtbTool: now dtbTool will be built
travis: GitHub Release
zip-creator: update patchs
boeffla_wl_blocker: update to wakelock blocker driver v1.1.0 3efdcbf
defconfig: enable lazyplug a9785fe
defconfig: enable adreno idler a5d0558
cpufreq : Add Chill CPU Governor - credits : Joe Maples (@frap129) 6d26826
cpufreq: Add CAF-Active Governer - credits : Jean-Pierre Rasquin 4ba764b
version: floppykernel rc1.3 34479b6
travis: deploy in lineage-14.1 branch e5f4308
Frequently asked questions
Q: Will this conflict with any mod I'm using?
A: As long as it doesn't have any entropy related stuff, its okay. Since the kernel already comes with an inbuilt entropy generator, it will conflict with the ones from mod, causing a poor, stuttered performance!
Q: Deep Sleep isnt working for me, Google Services causing wake-locks, what to do?
A: Go to settings, Privacy, Privacy Guard, All apps, long press Google Services, and deny/disable wake-locks! (Thanks to @Paget96 for the solution)
Q: Which version should I flash?
A: Flash kernel with toolchain that you prefer.
Q: What is the difference between the UBERTC, Linaro, SaberMod and Google toolchain? Which one is the best?
A: It's a good read on the toolchain UBERTC you are wanting to know more about it, this for Linaro, this for SaberMod and this for Google.
Q: What is the difference between the HMP and Miui kernel?
A: Miui folder is for miui roms -> xiaomi.eu, MiuiBR and other derivatives from miui official. HMP folder is for aosp rom and derivatives -> Aosp, Lineage and other derivatives from aosp
Q: Is your kernel secure?
A: You MAY face some issues, but it's safe! My cell phone has not exploded yet.
Q: WiFi doesnt work for me.
A: Reflash ROM and Kernel.
Q: What application can I use to configure the kernel?
A: Use Spectrum, and if you have enough knowledge of what to modify or do in the application use together Kernel Adiutor.
Q: Can I use the kernel source in my ROM?
A: If you want to use my kernel in your ROM, just put my name in the credit, just like I did.
Q: Does your kernel support writing to the NTFS file system?
A: Yeeh, you can use flash drives and HD with NTFS via OTG.
Q: My cpu clock is locked with any governor.
A: Just disable the thermal control in the kernel temperature settings.
Q: I have problems with your kernel.
A: Take a logcat and kmesg, this website and this video should help you
Q: Why does my magisk and root disappear after installing your kernel?
A: The kernel script makes changes that directly interfere with both, reinstall the magisk that it will function normally, follow this installation line always: FloppyKernel -> Magisk -> Reboot system.
Q: Does your kernel support Miui ROM?
A: Yes, support was added in "RC1.2".
Q: Why did your kernel go straight to "RC1.2"?
A: Because it is based on the FloppyKernel for MI5, which is already in RC1.2.
Q: What is the "Battery" profile in the spectrum?
A: Based on Project Zhana & X.A.N.A was made for trying to be as efficient as possible without compromising the performance. Thanks to the discovery on Voltages used by our SD820 I could make a profile that utilizes more the BIG cluster. My first attempt was to move ALL the load to the BIG cluster, it was against anything that I have learned about little. BIG CPU but I tried, it turned really good at first, low usage was just amazing... But on more usage things didn't go that good. So what I did it was to give a twist to things, but not such twist. It kind of works like Nameless and Shotgun, Mostafa Wael and I worked the same idea. #LITTLE cluster will be running on low-mid frequencies but delivers full performance when is needed. # BIG Cluster will help LITTLE ease Load, but in a great way than before. Things can be done faster and more efficient giving us profit in form of battery. It should run smooth on all scenarios, but you guys tell me. You can easily get around 7~9 hours SOT for 24 hours even more If you don't play game. This will, of course, may vary, but it will definitely be better.
Q: What is the "Balanced" profile in the spectrum?
A: Based on GhostPepper was made to uses a quantized, frequency-aligned parametric curve to influence low core clock rates while providing extremely smooth transitions from each clock rate and exceptional battery life. Really well-defined clock speed escalation for a good battery and performance.
Q: What is the "Performance" profile in the spectrum?
A: Based on FusionP this profile brings a more "agressive" way to scale frequencies. It will scale frequencies sooner(regarding load values from cpu) and will use more the big cluster to provide more performance doing the tasks on hands. Battery should not take a big hit but using heavy demanding tasks you can expect a higher drain.
Q: What is the "Gaming" profile in the spectrum?
A: Based on Burnout PR5, this profile's main goal is to provide absolute maximum performance when needed, but lies low quite well. You see, some times I see the CPU hitting some of the high freqs of 1190 while making something as simple as watching YouTube or playing some spotify tracks needlessly, and sometimes I feel it is a bit slower than it should be in things like brute multitasking. Most profiles do aim at bringing a mid-ground to rest on. But with the sensible words of one of my favourite idols Jeremy Clarkson, he says 'Power solves everything' and right he is. By eliminating the mid freqs of the Little cluster and efficiently using some specific frequency steps, you get some power savings by staying on lower freqs as much as possible, and even on brutal tasks you get the job done faster as well, since the CPU will give you all the power to finish the job as fast as it can, and hit back to idle faster.
Q: I want more information about your spectrum profiles.
A: Read this thread.
Q: I want more information about governors, I/O Scheduler, Hotplug, TCP Algorithms and other things.
A: Read this thread.
wifi no work
kuto232 said:
wifi no work
Click to expand...
Click to collapse
I need log and some info
1 - what rom you are using?
2 - what kernel version?
kuto232 said:
wifi no work
Click to expand...
Click to collapse
about viperOS wifi does not work with any kernel:crying::crying:
---------- Post added at 12:44 AM ---------- Previous post was at 12:42 AM ----------
Jonas Cardoso said:
I need log and some info
1 - what rom you are using?
2 - what kernel version?
Click to expand...
Click to collapse
viperOS
I also do not know which is the ideal one or if it is only for miui
kuto232 said:
about viperOS wifi does not work with any kernel:crying::crying:
---------- Post added at 12:44 AM ---------- Previous post was at 12:42 AM ----------
viperOS
I also do not know which is the ideal one or if it is only for miui
Click to expand...
Click to collapse
Which version did you install? HMP or Miui? Linaro, Ubertc, Sabermod or Google?
Jonas Cardoso said:
Which version did you install? HMP or Miui? Linaro, Ubertc, Sabermod or Google?
Click to expand...
Click to collapse
all ... it is necessary twrp 3.2.0 I have the 3.0.2
kuto232 said:
all ... it is necessary twrp 3.2.0 I have the 3.0.2
Click to expand...
Click to collapse
You installed miui version first? In zip have modules for wifi which are for roms miui
Jonas Cardoso said:
You installed miui version first? In zip have modules for wifi which are for roms miui
Click to expand...
Click to collapse
no, I do not come from miui it took a long time without using that rom
kuto232 said:
no, I do not come from miui it took a long time without using that rom
Click to expand...
Click to collapse
Can you test if in lineage 14.1 works wifi?
Jonas Cardoso said:
Can you test if in lineage 14.1 works wifi?
Click to expand...
Click to collapse
ok then I commented, any kernel should serve?
kuto232 said:
ok then I commented, any kernel should serve?
Click to expand...
Click to collapse
Use Linaro-HMP
Jonas Cardoso said:
Use Linaro-HMP
Click to expand...
Click to collapse
no work,it does not work, it searches but it does not find in lineage 14.1
I am on lineage which one should i flash?
walkwitmeinhel said:
I am on lineage which one should i flash?
Click to expand...
Click to collapse
UBERTC - Linaro - Google -SaberMod --HMP
Jonas Cardoso said:
UBERTC - Linaro - Google -SaberMod --HMP
Click to expand...
Click to collapse
I am confused bro in that option which one
walkwitmeinhel said:
I am confused bro in that option which one
Click to expand...
Click to collapse
Linaro-HMP
I flashed your kernel linaro and working like charm everything working for me using lineagee 14.1 ..Thanks you dev for development of this device kernel
Thank you for your kernel. Do you consider adding ROW I/O scheduler?
https://groups.google.com/forum/m/#!topic/bfq-iosched/x9bkvdwUoYQ
Sent from my Xiaomi MI 5s Plus using XDA Labs

[KERNEL]-[STOCK-AOSP]-[Treble/non-Treble]-[Gabriel]-[Stweak]-20180713

Gabriel Kernel for Stock MIUI and AOSP Based Roms
Telegram Channel​
GLOBAL OPTIONS:
Kernel support both MIUI/AOSP
Kernel Supports both Clang & GCC Compilers
Kernel updated up to 3.18.115 build.
Kernel updated up to CAF-LA.UM.6.6.r1-09000-89xx.0
Kernel include advanced binder driver from main line 4.10.y kernel.
Kernel include advanced KSM driver (UKSM, operate with selectable cpu governor/usage).
Kernel has enabled crypto ARM64 CRC32 hw accelerated module and its friends.
Kernel operate in 300HZ
Kernel include Enhanced TCP methods
Kernel include latest F2FS driver for 3.18.y
Kernel include ZEN,NOOP,BFQ,DEADLINE,CFQ,FIOPS,FIFO,ROW,SIO,MAPLE I/O govs tuned for SSD.
Kernel includes Impulse, Cultivation, Lionfish, Interactive, Conservative, Ondemand, Performance CPU GOVS.
Kernel default CPU GOV is patched and tuned Interactive.
Kernel support FSYNC mode for FS. (Off at Screen-On & will be On at Screen-Off)
Kernel support thermal driver tuning.
Kernel includes updated EXFAT drivers.
Kernel includes support for Haptic Feedback (vibrate) tuning (more/less)
Kernel include boost to I/O by mounting partitions with optimized flags.
Kernel has enabled process-reclaim (moving apps to zram without killing them).
Kernel support lz4 compression for zram and max 8 core streams.
Kernel will add advanced busybox binary in /sbin/busybox
Kernel will set power-saving config at Screen-Off and back to normal at Screen-On
Kernel will stop logging drivers at Screen-Off and back to normal at Screen-On
Kernel include state-notifer to say system-state to io/governors to save power.
Kernel has disabled some debugging options to improve the system performance.
Kernel 9.0
*Upstream to 3.18.115
*Merge CAF tag LA.UM.6.6.r1-09000-89xx.0
*Merge Prima Wlan CAF tag LA.UM.6.6.r1-08600-89xx.0
*Merge latest Code update to f2fs
*merge massive update to power, irq, kernel scheduler from msm 4.2.y & 4.4.y
*Merge massive update to cpu driver from msm 4.4.y (cpu 8998/snapdragon 835)
*Merge update to cpuidle from msm 4.4.y
*Merge update to devfreq from msm 4.4.y
*Merge certificate handling from msm 4.4.y
*Merge update to printk from msm 4.4.y
*Merge DTS eagle sound
*Merge update to wireguard
*Merge official charger/battery driver
*Merge few kernel improvement from pixel 2 & sony experia devices
*Merge fix to offline charging led
*Removed VDSO32 (32bit Driver)
*Introducing gabriel/gabriel-plus governor with idle load treshold & timing (based on pixel 2 p-preview interactive Governor)
*Overclock little cluster up to 1.26 MHz
*Overclock gpu up to 575 MHz
*Introduce init process fixer
*Introduce charger current limiter
*Fixed battery stats
*Fixed clock flag no rate cache
*Patch key layout at flashing time
*Add sd card deferred resume (save power wile not using)
*Add target os detector to kernel flasher (anykernel2)
*Treble and non-treble builds combined into one kernel package (AOSP)
*Disable clock scaling for msm sdhci
*Kernel package signed
*Run fstrim at flashing time
*Show kernel version as banner at flashing time
*Add clang support
*Busybox update to latest code changes
*Few improvements in stweak options
*Fixed gpu governor & frequency set
*Fixed setting per governor profile
*Add gabriel memory config
*Reworked profiles
note:
*Compiled with Dragontc 7.0
Kernel 8.0
*Upstream to 3.18.105
*Merge CAF tag LA.UM.6.6.r1-07400-89xx.0
*Merge Prima Wlan CAF tag LA.UM.6.6.r1-07400-89xx.0
*Merge latest Code update to f2fs
*Stweak has control over Performance Daemon
*All Profiles will reset at 1st boot
*Build with 3 different toolchain in 2 different library support (bionic & glibc like past) & 3 different optimization support!
*Gnu gccs compiled by me with latest stable libs & bins
*The regular build like previous builds has no extra character to it's package name (built with hz300 & linaro 7.3 & ofast & graphite gcc flags)
*H3 : Hz300 & o2 & no grapgite flag
*H1 : Hz100 & o2 & no grapgite flag
*B : Bionic toolchain
*7.3 & 6.4 : Gnu gcc 7.3.0 & 6.4.0
*Hz 100 should keeps more battery backup
*You may get better battery backup with Hz100 & gcc 6.4.0
Kernel 7.0
*Kernel Codes Compiled with new Linaro GCC 7.3.1 2018.03(compiled by me)
*Merge Kernel tag CAF-LA.UM.6.6.r1-07200-89xx.0
*Kernel has Reduced "Screen ON" delay (affect on fp unlock)
*Implement Finger Print Boost (boost availalbe cores on fp unlock)
*Kernel has been Disabled Debug Kernel
*Merge Codes Update to Kernel Scheduler
*Merge CPU, CPU_STATS, CPU_IDLE from mainline 4.2.y & 4.4.y
*Merge Interactive & Conservative gov family, Ondemand from mainline 4.4.y
*Remove Lionfish gov
*Kernel Overclocked LITTLE Cluster to 1.34 MHz
*Merge Led driver from Xiaomi Official Source
*Kernel with Official Drivers not Supported for Now
*Stweak has Control over CPUSET
*Stweak has Control over Fingerprint Boost
*Stweak has a Module to Restore Kcal parameters at "Screen ON" state (fix MIUI kcal/panel bug)
Kernel 6.0
*Kernel Updated to 3.18.102
*Kernel Codes Compiled with new Linaro GCC 7.2.1 2018.01(compiled by me)
*Merge Kernel tag CAF-LA.UM.6.6.r1-06700-89xx.0
*Merge Prima WLAN tag CAF LA.UM.6.6.r1-06700-89xx.0
*Merge Codes to ARM64, RCU, Kernel Core & Scheduler Driver from main line 4.4.y
*Merge VDSO32 (32bit Driver) from main line 4.4.y (compiled with GCC Linaro ARM32 7.2.1)
*Busybox Updated to Latest Code Changes (compiled by me)
*Kernel has MIUI F2FS Support & Dtiver Updated to Latest Code Changes
*Kernel codes compiled with Ofast & Graphite Optimization Flags
*Kernel has USB HID gadget suport
*Merge CPU Governor Alucard, Darkness, Nightmare, Chill, Relaxed
*Merge update to SDCARDFS
*Kernel has CPU & GPU Underclock/Overclock
*Kernel Boot UP With Stock CPU Frequencies
*Kernel Flasher will Backup Current Boot (kernel image & ramdisk) and Modules for MIUI Rom in case of Restoring/Uninstalling the Kernel to Previous one
*Add Adreno-Idler support
*Add Stweak Support
*Stweak has 7 Predifined Profile
*Stweak has Control over big.LITTLE Clusters Control
*Stweak has Control over Awake & Suspend state for CPU, GPU, HMP,I/O Scheduler, UKSM, etc
*Stweak has Per Cluster & Governor Profiling
*Stweak has F2FS Searching Boost option
*Stweak has Advance Memory Control options
*Stweak has Auto Clear Ram Cache Switch (affect on multitasking/Performance)
*Stweak has Control over ZRAM & SWAP Disk
*Stweak has Control over WIFI, init.d, ADB, Sound, Battery, Dmesg state
*Stweak has Control over ROM's MIN/MAX backlight value
note:
*Kernel Uploaded into 2 Separate Build with Official & UNOfficial Drivers
*Official Build Has More CPU Overclock Steps
*Official Build Can't Mount OTG Drive at This Time
*To Convert EXT4 to F2FS Follow this Instruction
Kernel 5.0
*Kernel Updated to 3.18.93
*Kernel Codes Compiled with new GNU GCC 7.3.0 (compiled by me)
*Busybox Updated to Latest Code Changes (compiled by me)
*Implement Adreno Idler
*Add 100 & 160 MHz GPU Frequencies
*Adreno Idler & GPU Clock Tuned for Power Saving
*Implement Force Fast Charge (disabled by default)
*Merge Updates to CFQ IO-Scheduler
*Merge Update to BFQ IO-Scheduler (v8r12)
*Merge Updates to Interactive Governor
*Inject SQLITE3 Bin to Rom for DB-Optimization (needs command/script, attached to this post)
*Remove Code Changes to Touchscreen Driver (initial fix for dt2w issue)
*Kernel Boot Script run FSTRIM at Boot
*Fix & Tune Core Control (4 cores online 2 big+ 2 LITTLE)
Kernel 4.0
*Enable 19 MHz GPU Frequency
*Implement Kcal Colour Control (works with non-stock roms)
*Implement Backlight Dimmer
*Different LMK & Zram Config for 2/3/4 GiB Ram Variants
*Cortex Keeps 4 (2 big & 2 Little) Cores online at Sleep State
*Merge MDSS Codes to Avoid Underrun Risk while Changing Clock & Bandwidth
Kernel 3.0
*Merge Advance Zram & Zsmalloc driver from main line 4.6.y
*New Zram driver has 2 new Compression algorithm (lzo, lz4, [lz4hc, deflate])
*New Zram driver has Per-CPU Compression Streams
*New Zram driver use Crypto Compression API
*Merge Workqueue driver from main line 4.4.y
*Merge Random driver from main line 4.4.y
*Implement Sound Control
*Implement FRandom
*Merge update to IPA
*Fix Boot Script Failure with Magisk 15.3
*Tune Interactive Gov
*Merge update to Bitmap Lib
*Merge update to Kgsl, Devfreq, ARM64 & Kernel Scheduler
*Simplified Cortex Script for While Leaving the Sleep State
Kernel 2.0
*Upstream to 3.18.92
*Implement Boeffla wakeock-blocker v1.1.0
*Implement DT2W/S2W
*Cpuset disabled
*Merge update to Kernel Scheduler
*Merge update to RCU (how drivers talks to kernel)
*Disabled extended HMP drivers, use Generic HMP and related drivers
*Merge fixes for high load average and queuing works on power-efficient workqueue
*Merge fixes to led-flashlight
*Merge fixes to Battery/Charger
*Merge IPA fixes from caf-tag LA.UM.5.6.r1-05400-89xx.0 (internet packet accelerator)
*Merge fixes to Xiaomi Colour and Contrast
*Entropy Tweaks at Startup
*Separated to 2 Builds for MIUI and AOSP Based Roms
*Selinux is Permissive for Oreo and Enforcing for Nougat
Kernel 1.0
*All options in the global options list
*Selinux is in enforcing mode, so won't boot current oreo rom.
*Software CRC control is Off
*Doesn't support F2FS for Stock Rom at this time but AOSP.
*Doesn't support LCD Gestures, D2W,D2S,S2S
Instruction
if you came from a custom kernel, please restore your rom's stock kernel then flash.
as always, unlocked bootloader and flash in twrp
Flash at you own Risk !
There is a file named "build.log" in kernel zip file
that says which branch i used for build process.
Download Folder
AFH directory,beta & stable builds
Global Credits!
noyer for kernel source
rainforce279
dorimanx
asiier
sonicron
Cyanogen/LineAge/Code Aurora for many kernel mods
To all my sources in GITHUB!
XDA:DevDB Information
Gabriel Kernel, Kernel for the Xiaomi Redmi 4X
Contributors
mostafaz
Source Code: https://github.com/mostafa-z/Gabriel_msm8940_mi-redmi4x
Version Information
Status: Testing
Created 2018-01-17
Last Updated 2018-01-17
does this support double tap to wake.?
AmirulR said:
does this support double tap to wake.?
Click to expand...
Click to collapse
no, i'll mention
can i use this kernel for Nitrogen OS 8.1 ?
Bang Onik said:
can i use this kernel for Nitrogen OS 8.1 ?
Click to expand...
Click to collapse
I think oreo works with permissive selinux for now. No its enforcing
Wooow ? . . features are awsome but Nougat outdated dude can u plzz make it for Oreo there is no custom kernel supported oreo so plzz look intoit (is any way to change selinux to perm on ur kernel zip??)
Jazakallah brother.
Will it work on MIUI along with VoLTE...?
Because kernels work on MIUI but breaks VoLTE, is it fixed in your kernel?
Ramakrishnan ? said:
Wooow ? . . features are awsome but Nougat outdated dude can u plzz make it for Oreo there is no custom kernel supported oreo so plzz look intoit (is any way to change selinux to perm on ur kernel zip??)
Click to expand...
Click to collapse
After boot yes but it should be native. I mean i dont think so. If u flashed oreo and selinux is permussive so u can wait for next release please
Ali_Waris said:
Jazakallah brother.
Will it work on MIUI along with VoLTE...?
Because kernels work on MIUI but breaks VoLTE, is it fixed in your kernel?
Click to expand...
Click to collapse
Thanks
I don't have it. Cant prove
Does it support in oreo
[email protected] said:
Does it support in oreo
Click to expand...
Click to collapse
Sorry. Won't
Im new to xiaomi
Dont have oreo yet
mostafaz said:
Thanks
I don't have it. Cant prove
Click to expand...
Click to collapse
Which ROM are you currently using? Can you suggest a ROM that works fine with your kernel?
mostafaz said:
Sorry. Won't
Im new to xiaomi
Dont have oreo yet
Click to expand...
Click to collapse
OK.... But nice work dev.......
Ali_Waris said:
Which ROM are you currently using? Can you suggest a ROM that works fine with your kernel?
Click to expand...
Click to collapse
Im with stock 9.1.1.0 global
I just checked aosp boot and dmesg.
mostafaz said:
Im with stock 9.1.1.0 global
I just checked aosp boot and dmesg.
Click to expand...
Click to collapse
If you are on miui global with this kernel, can you please confirm whether VoLTE works on not? (If by any chance you can verify it with a JIO sim, please.)
Ali_Waris said:
If you are on miui global with this kernel, can you please confirm whether VoLTE works on not? (If by any chance you can verify it with a JIO sim, please.)
Click to expand...
Click to collapse
My provider newly have it but i dont have it
Wait some for others
Do I need to reflash my rom to make it work?
Jazakallah my friend
Will test later
Sent from my Redmi 4X using Tapatalk
Kecoe said:
Do I need to reflash my rom to make it work?
Click to expand...
Click to collapse
Stock or AOSP? Both nougat works. No need to do anything. Flash kernel & root method. Done
I'll share for oreo later
Please make a variant with permissive selinux for oreo, and overclocked GPU will be great feature.
I have flash it and my wifi is not working even i flash the wifi fix.. Btw good kernel :good:

Categories

Resources