[EOL][KERNEL][ido][CAF][v3.10.107] Chtolly Kernel - r16 (23-09-2017) - Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other

[SIZE=+1]Welcome to the new thread! KudKernel is now Chtolly Kernel and starts the release from r7.[/SIZE]​
[SIZE=+1]About -or- What is this?[/SIZE]​A minimal, yet optimized custom kernel based off my modified LineageOS kernel source with my own additions and features that will be impossible to include into the main kernel.
[SIZE=+1]Disclaimer[/SIZE]​
First of all, all builds here are my personal builds.
Not all features included are my work. And therefore, credits to all used works are available on the bottom of this post.
I'm not responsible for any damage caused by flashing my kernel. You're at your own discretion.
Sharing policy: Please share link to this thread instead of direct download link if you want to share my work elsewhere. Thank you.
I won't provide support for those who're flashing my kernel with zips other than ones provided in OP.
[SIZE=+1]Features[/SIZE]​
Freshly compiled from Acer Aspire E5-475-37KP running Manjaro Linux 17.0.1 Gellivara and Linux kernel 4.9.44.
Based off my modified LineageOS kernel source, always updated with latest LineageOS kernel changes.
Included all changes from CAF LA.BR.1.2.9-03610-8x16.0 release tag.
Linux kernel updated to latest LTS release: Linux 3.10.107.
WLAN (prima) driver release lnx.1.0-00156.
Compiled using Linaro GCC 7.2.1 (link to the TC is at additional sources section).
Built with -Ofast optimization flags, targetting Cortex-A53 CPU platform.
Powered by AnyKernel2 backend (osm0sis).
Now with Spectrum support! Download Spectrum from Play Store.
Included latest Busybox NDK from osm0sis (v1.27.1), along with all symlinks into /sbin.
Adaptive LMK settings restored, allowing you to enjoy full potential of it.
Hacked thermal engine, throttle at 60'C with maximum clock while throttling is 960 MHz.
doubletap2wake support for FocalTech panels. (flar2, ariafan)
CPU minimum frequency is reduced to 200 MHz for both CPU clusters.
CPU governors available: performance (at boot), powersave, interactive (default), ondemand, nebula, elementalx, zzmoove, cyan.
I/O schedulers available: noop, deadline, ROW, CFQ, BFQ, FIOPS (default at boot), sioplus, zen.
TCP congestions available: reno, cubic, westwood, vegas, veno (default), illinois.
Wakelock Blocker to block most well-known Qualcomm wakelocks. (franciscofranco)
Power Suspend driver version 1.5 - power management kernel driver for Android without early suspend.
core_ctl backported from Linux 3.18. (Aviraxp)
Hardware wakelock suppressor v2. (nutcasev1.5)
Userspace controls for SW CRC check, Gentle Fair Sleepers, and Arch Power.
Stack protector enabled to prevent buffer overflow.
Other additional features: TTL target support, NTFS read/write support, Yama security, SECURITYFS, SECURITY_PATH support.
Most of unnecessary features are removed from the kernel for smaller size. Removed features are on 2nd post.
[SIZE=+1]Compatibility[/SIZE]​
IMPORTANT! Recoveries without built-in busybox support aren't supported by default. It may make your device unbootable after flashing. Chinese-made TWRP recoveries are known to be affected.
Xiaomi Redmi 3S/X isn't supported.
KudKernel v1.0-rc1 until v1.1 are only for 6.0.1/7.1.1 AOSP/CAF based ROMs without SECCOMP support.
KudKernel v1.2 is only for 6.0.1/7.1.1 AOSP/CAF based ROMs with(out) SECCOMP support.
Chtolly Kernel r7 and newer are only meant for 7.1.2 AOSP/CAF based ROMs with rebased kernel source.
[SIZE=+1]Downloads[/SIZE]​Hosted with love on AndroidFileHost.
No mirrors are permitted.
[SIZE=+1]Installation[/SIZE]​
Make sure you're using the latest version of TWRP Recovery.
Reboot your device into recovery mode.
Tap "Install".
Select Chtolly Kernel zip (chtolly-rx-ido-yyyymmdd.zip).
Enable "Zip signature verification" to make sure you're not flashing a broken package!
Swipe flash button.
Enjoy KudProject release!
[SIZE=+1]Uninstallation[/SIZE]​Just flash stock boot.img from your ROM, or just dirty flash your ROM. Re-apply systemless mods that you've.
[SIZE=+1]Special Thanks and Credits[/SIZE]​
The Linux Foundation (seriously)
CodeAurora Forum (CAF)
LineageOS
@Anik_khan, HighwayStar and ariafan from 4PDA
@thewisenerd - Extending kernel tree support to ferrari
@The Flash, @frap129, and @USBhost - The awesome GCC build script!
@franciscofranco, @arter97, @flar2
Other developers who I can't mention them all or I might get this section bigger than everything else. Credits for them are on commit identities.
XDA:DevDB Information
Chtolly Kernel (ido), Kernel for the Xiaomi Redmi 3
Contributors
krasCGQ
Source Code: https://github.com/KudProject/android_kernel_xiaomi_msm8916/tree/chtolly-n
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: r16
Stable Release Date: 2017-09-23
Created 2017-03-06
Last Updated 2017-09-23

[SIZE=+1]Known Issues[/SIZE]​
HDR in some camera apps might not work.
For some reason, pstore files are generated even when there's no kernel panic on previous boot.
A random reboot might be expected during usage, but it's fine because nothing I can really do on this since LineageOS stock kernel has the same problem.
[SIZE=+1]To-Do Lists[/SIZE]​
None yet.
[SIZE=+1]Removed Features[/SIZE]​
System V IPC support
CPU boost
dev/mem support
conservative, userspace, and powersave CPU governors
All TCP congestions except westwood, cubic, and reno
Parts of debug and tracing stuffs
Everything else marked as disabled in this commit
[SIZE=+1]Additional Sources[/SIZE]​
AnyKernel2 template used in my kernel
Toolchain used to compile release 15 and newer. (credits to The Flash!)

[SIZE=+1]Changelogs[/SIZE]​Only list brief changes. Complete changes could be viewed here at anytime.
r16 - 23-09-2017 (UTC+8) - EOL
Included Blueborne vulnerability fix.
Compiled with newer toolchain.
r15 - 29-08-2017 (UTC+8)
Merged CAF tag LA.BR.1.2.9-03610-8x16.0.
Up-to-date SDcardFS changes.
Compiled with Linaro GCC 7.2.1. (link to toolchain is in 2nd post)
r14 - 15-08-2017 (UTC+8)
doubletap2wake support for FocalTech panels.
Credits to flar2 for wake gestures driver and ariafan for porting it to Redmi 3.
Laptop mode is enabled by default.
Compiled with newer toolchain. (GCC 7.2.1 20170815)
Various tweaks and improvements.
r13 - 06-08-2017 (UTC+8)
Back to BusyBox NDK from osm0sis and updated to v1.27.1. Fixes SuperSU not detecting root.
Roll back WLAN (prima) driver to lnx.1.0-00156.
Spectrum: Reset kernel profile back to Balanced every reboot.
Fixed some internal conflicts between init scripts and Spectrum profiles.
r12 - 03-08-2017 (UTC+8)
Quick update to (really) enable ZZMoove CPU governor.
r11 - 02-08-2017 (UTC+8)
Initial Spectrum support! Download Spectrum from Play Store.
Merged CAF release LA.BR.1.2.9_rb1.23.
Updated WLAN (prima) driver to lnx.1.0-00160.
Switched BusyBox binary to YDS-v1.27.1. (YashdSaraf)
Added FIOPS I/O scheduler and set it as default on boot.
Added ElementalX (flar2) and ZZMoove (ZaneZam) CPU governors.
Merged tweaks for CFQ, BFQ, and deadline I/O schedulers for non-rotational devices.
Reduced debugging and security hardening.
Compiled with newer toolchain (GCC 7.1.1 20170802).
Various fixes and improvements.
r10 - 14-07-2017 (UTC+8)
Updated WLAN (prima) driver to lnx.1.0-00156.
Enabled all new features on latest prima driver.
Fixed ramdisk files permissions.
Killed powersave and cyan (unstable!) CPU governors.
Included Busybox NDK 1.26.2 (osm0sis) into /sbin & symlink all applets.
Picked most of cherry-picks from msm8916 common kernel tree. (may also include CVE patches...? Who knows?)
Restored Adaptive LMK settings that was removed on device tree level. Default is still disabled and not tested.
Bring SDcardFS into latest android-3.10 changes per 14 July.
Compiled with newer toolchain (GCC 7.1.1 20170714).
AK2: Bring latest arm64 mkbootimg and unpackbootimg binaries.
r9 - 06-07-2017 (UTC+8)
General customization of kernel features. See all changes here cause it'll make this changelog no longer as brief as it should.
Added and enabled experimental cyan CPU governor (emre3461) ported from exynos5410 kernel platform over MSM interactive.
Switchover to -Ofast optimization flags. Expect more bloated zip!
Compiled with newer toolchain.
r8 - 29-06-2017 (UTC+8)
Updated CAF base to LA.BR.1.2.9_rb1.22.
Updated Linux kernel base to 3.10.107.
Updated WLAN (prima) driver to lnx.1.0.c4-00039.
Compiled with newer toolchain.
Re-enabled /dev/kmem support.
Restored core_ctl with modified parameters; hotplug only performance cluster.
Backported core_ctl from Linux 3.18. (Aviraxp)
Devfreq governor whitelist. (Sultanxda, Aviraxp)
Hardware wakelock suppressor v2 (nutcasev1.5)
Default entropy values are now 512 (read) and 256 (write). Fixed a stupid bug with entropy that causes high CPU load by system.
Some improvements (?)
Cosmetic updates to the updater-script. (lel)
r7 - 17-06-2017 (UTC+8)
Brief changes:
Kernel that you might know as KudKernel, is now Chtolly Kernel. Old KudKernel builds however, are still archived for those who need them.
Rebased and updated CAF base to LA.BR.1.2.9_rb1.18.
Updated Linux kernel base to 3.10.106.
Updated WLAN (prima) driver to lnx.1.0.c4-00036.
Compiled using GNU GCC 7.1.1 toolchain.
Properly optimized for Cortex A53 CPUs.
Removed core_ctl.
As KudKernel:
v1.2 - 11-04-2017 (UTC+8)
Compatibility against next LineageOS Nightly build and some ROMs built after April 5th.
v1.1 - 29-03-2017 (UTC+8)
Untested build, but it should be as stable as v1.0.
Updated CAF base to LA.BR.1.2.9_rb1.14
Merged two latest LineageOS changes, which are sound fix. Use it with latest LineageOS to avoid problems.
Enabled NetFilter TTL support
v1.0 - 18-03-2017 (UTC+8)
Added exFAT driver 1.2.24
Added nebula and smartmax CPU governors
Added FIOPS and zen I/O schedulers
Added KCAL control, LiveDisplay to KCAL interface
Updated F2FS driver to v4.11-rc1
Updated sdcardfs
Backported random driver from Linux 4.2
Enabled 2A charging current
Disabled Intel governor
Disabled stack protector (should fix some performance issues with some users)
Fixed cpuinfo reporting msm8916 instead of msm8939
Removed -funsafe-math-optimizations (already enabled by -ffast-math)
Boot with FIOPS I/O scheduler
Reduced minfreq to 400MHz on both clusters
Reduced thermal limit to 60°C
More fixes and improvements (check GitHub repo for details)
v1.0-rc2 - 11-03-2017 (UTC+8)
Compiled using Linaro GCC 6.3.1 2017.01
Updated CAF base and prima driver to LA.BR.1.2.9_rb1.12
Reduced maximum frequency to 960MHz (performance) / 800MHz (powersave) after boot
Added Intel governor
Some improvements
v1.0-rc1 - 06-03-2017 (UTC+8)
Initial release on xda-developers

[SIZE=+1]FAQ - Frequently Asked Questions[/SIZE]​What do you recommend for kernel tuning app?
EX Kernel Manager; or
Kernel Adiutor OR Kernel Adiutor-Mod built by @apophis9283 (mirrored by @Legitsu) (credits still go to Yoinx anyway).
PS: You need to uninstall the previous version of Kernel Adiutor-Mod (if installed) before installed this one, since it's signed with different signature algorithm.
What are these governors/schedulers for?
Check this thread by @Saber. Everything you want should be there.
Why my performance cluster doesn't go deep sleep and/or always on high workloads?
1. If you use KA/-Mod, force close and clear data of the app then reboot.
2. Make sure you're tuning it right.
Help, seems like the profile doesn't apply.
Make sure you've run Spectrum for the first time at least once.
Can I flash this kernel on MIUI?
Yes, but Wi-Fi won't work. Don't blame me for this.
Can I share this to the xyz local forum?
Take a look at sharing policy in OP.

[SIZE=+1]Miscellaneous[/SIZE]​
KudProject Official Channel on Telegram - Get info regarding my projects outside XDA-Developers!
KudProject Discussion Group on Telegram
Old KudKernel thread template in case someone needs it.
[SIZE=+1]Off-topics?[/SIZE]​Off-topics on my thread are permitted. However, please:
Keep the thread civil.
Take your fights privately. (please)
No discussion of other kernels, nor comparing between them.
No discussion of everything that is against XDA rules.
Here we go!

Congratulation mastah

wow, nice work @krasCGQ... thanks for your work bro! i will test soon as possible

{
"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"
}
Working on CypherOS too

Sorry but I can't see the DL Link, am I juste dumb ?
---------- Post added at 06:27 PM ---------- Previous post was at 06:24 PM ----------
Nvm XDA labs fault

Good to see it out, will try for sure.

Work on last lineage

Work in RR 5.8.1. Thanks for you support.
Greetings from Mexico.
Enviado desde mi Redmi 3 mediante Tapatalk

Is this a war about "show your About phone section with my kernel installed"? :silly:
Sent from my Redmi 3 using XDA Labs

Nice, anyway, why would you plan to report permissive selinux as enforced on your planned list? Isn't it better if we know the true status instead?

khnoizer said:
Nice, anyway, why would you plan to report permissive selinux as enforced on your planned list? Isn't it better if we know the true status instead?
Click to expand...
Click to collapse
Some are enjoying Permissive SELinux instead but don't want SafetyNet to be triggered; that's why I'm planning that. Magisk Hide does that actually tho.
Sent from my Redmi 3 using XDA Labs

krasCGQ said:
Some are enjoying Permissive SELinux instead but don't want SafetyNet to be triggered; that's why I'm planning that. Magisk Hide does that actually tho.
Sent from my Redmi 3 using XDA Labs
Click to expand...
Click to collapse
Oh, I see. But that's an optional feature, right? I personally prefer enforcing as I am a silly paranoid about security issues :laugh::laugh:.

khnoizer said:
Oh, I see. But that's an optional feature, right? I personally prefer enforcing as I am a silly paranoid about security issues :laugh::laugh:.
Click to expand...
Click to collapse
Dunno. Anything can happen :silly:
Sent from my Redmi 3 using XDA Labs

Confirmed working with crdroid.. But the default io is still bfq. Thumbs up!
Edit: my bad its bfq default. I didn't finish reading kernel features sorry..

Known issues updated, especially for Russians. Kindly check back 2nd post.
Sent from my Redmi 3 using XDA Labs

krasCGQ said:
Dunno. Anything can happen :silly:
Sent from my Redmi 3 using XDA Labs
Click to expand...
Click to collapse
One more question, Mr. @krasCGQ (sorry, a newbie question ), it was said that it based on CAF (code aurora) with patches from LOS. If I'm not wrong, CAF is either made or supported by Qualcomm (CMIIW), our chipset brand. As we knew that Xiaomi gave us broken kernel source, so we currently not able to compete adequately with MIUI because we don't have all the sources needed to maximize the performance of our hardware. So, with the existence of CAF (I might not completely understand the whole situation and what actually CAF is), in your opinion, how are our chances to emulate the power of MIUI on our device using LOS based roms?

Related

[KERNEL][UBERTC 4.9.3][Blu_active] Crystal Kernel [03/04/15]

Features:
Based on Chroma Kernel (special credit for TomorrowLand_Ace work)
Blu_active Default Governor
Blu_plug - CPU Hotplug (removed Franco hotplug)
FIOPS I/O Scheduler
Enabled Overclocking CPU & GPU
Undervolted GPU
Build on Ubuntu 14.10
Kernel is secure
Compiled with lastest UBERTC 4.9.3, -O3 flags (GPU included), Graphite, hardfloat, and many other otimizations
FauxSound
PowerSuspend Driver
MSM Sleeper
Battery Life eXtender
LCD KCAL (Last version from @savoca, can't be tuned from any kernel manager for now)
Init.d Support
USB OTG
LZ4 (for a faster boot)
S2W / DT2W
Wake Gestures (huge thanks to @flar2)
Stereo Call Recording
Removed a lot of debug
Some Features from 3.7+ linux kernel
Upstream with Linux kernel .00
Full F2FS support (need to mod ramdisk to make it work, will make it automatic later)
Lots of optimizations from CAF, CM, and other kernels around xda
Main idea: Greatly patched kernel with the best governor, I/O scheduler and hotplug built with UBER toolchain.
Download for Lollipop 5.1
MOD EDIT, Download removed, rule 12 @gregbradley
Credits:
@TomorrowLand_Ace
@eng.stk
@franciscofranco
@faux123
@flar2
@show-p1984
@neobuddy89
@savoca
@RIPng
Source
If you want to support student and his work:
​
XDA:DevDB Information
Crystal Kernel, Kernel for the Google Nexus 5
Contributors
mastero9017
Source Code: https://github.com/mastero9017/hammerhead
Kernel Special Features:
Version Information
Status: Stable
Created 2015-04-03
Last Updated 2015-04-03
Reserved.
Where is the download link.? Can't open
Zonkoprince said:
Where is the download link.? Can't open
Click to expand...
Click to collapse
Fixed, link is under clickable Mediafire.
What app i should use to customise?
Zonkoprince said:
What app i should use to customise?
Click to expand...
Click to collapse
I suggest Kernel Auditor.
Kinda wondering could you maybe add some features from this kernel thread?
http://forum.xda-developers.com/showthread.php?t=2845768
It has nexus 5 kernel too but the devs mainly focused on n4 so maybe you could make the n5 version of it especially the 5.1 version. If it is allowed by the devs. Since the last commit is 2 months old and no new updates for 2 months
JJsevol said:
Ah makes sense now.
@mastero9017 are there any other changes you made from chroma besides the blu changes and toolchain? Liking the kernal so far :good:
Click to expand...
Click to collapse
Everything is listed in OP. I'm not sure yet about future of this kernel. TomorrowLand_Ace will provide great patches for kernel itself and i will try to port changes to blu modules from shamu and tweaks some values, flags, etc
Thread temporarily closed whilst I look in to the multiple reports made
@eng.stk has explicitly said that you have not got permission to share his work.
Download removed, thread remains closed

[KERNEL][UNOFFICIAL][LINARO/UBER]DorimanX KK 4.4.4

{
"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"
}
Unofficial DorimanX builds by Saber (formerly gsstudios)​(The resurrection of kitkat kernels)​
Development has been discontinued due to commitment to lollipop roms​
The Background:
DorimanX development has stopped for a while now. I've been a long term dorimanx user, but I felt that a lot of features need to be implemented into the kernel. As of a result, I decided to make my own personal builds! Please note that I'm no way as good as the master himself, Dorimanx, but I try to implement features to the best of my abilities. Also, I'm not going to be a proper maintainer of dorimanx kernel, this is just what I've done in my spare time.
If you have problems or if anything goes wrong, you can flash latest build by Cybernetus
You can download from his official website:
http://dorimanx.cybernetus.com/
The Mission:
To continue giving support for the much loved kernel. New features and additions will be added to improve flexibility and speed to the already amazing kernel. My goal is to improve DorimanX kernel as much as I can, without sacrificing stability.
NO LOLLIPOP SUPPORT HERE. JUST 4.4.X KITKAT ONLY!
DISCLAIMER:
ONLY FOR AOSP BASED ROMS
I'm not responsible for bricked devices or wrong version flashing
You are using this kernel at your own responsibility​
——— !!!!!!!! YOU HAVE BEEN WARNED !!!!!!!! ———
FEATURES:
This kernel includes the following additional features over stock dorimanX kernel:
- CPU Governors: HYPER, Ondemand, pegasusQ, Intellidemand, neoX, darkness, nightmare, zzmoove, sleepy, conservative (Default: HYPER)
- IO Schedulers: ROW, Tripndroid, FIOPS, SIO, BFQ, CFQ, Noop, ZEN, Deadline (Default: ZEN)
- TCP Algorithms: Cubic, Reno, BIC, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, Lp, Yeah, Illinois (Default: Westwood)
- Updated SuperSU
- Built with Latest Optimized Linaro 4.9 Toolchain (Smooth, fast and fluid) - Main toolchain
- Built with Latest UBER 6.1 Toolchain (Smooth, fast and fluid) - Secondary toolchain
- Built-in Stweaks profiles updated (All profiles suit needs for most people now)
- Trim support (Be careful if you have brickbug affected chip!)
- Updated FPBug fix is already included in this kernel!
- Updated Linux Kernel version to 3.15.0 stable!
- Freezefix is already included in this kernel!
- Isorec support
THINGS TO DO:
- Why don't you tell me what to do
THINGS I WILL NOT ADD:
Code:
- LZ4 Compression (Our Boot partition is way too small to support this)
- Useless CPU governors such as Userspace
- Colour tuning support (Unless someone helps me with this)
- Recovery version (WIll only consider doing this if working on LP kernel)
- Higher thermal limits (We all know what happens if we do this)
- Higher overclocking/Lower underclocking capabilities (So you want less stability and more SODs?)
- Synapse support (Stweaks is the only app that can fully support this kernel)
- Linux Kernel version updates (My skills need to improve first before taking on something this big)
CREDITS:
Dorimanx (the real master of the kernel)
Gokhanmoral (Siyah Kernel)
Voku1987(This Kernel)
Alucard_24(This Kernel)
STANTRC(This Kernel)
Entropy512 (CyanogenMod)
Tungstwenty (On screen gestures addon)
Torvalds (Kernel 3.6.Y maintainer)
Computoncio (This Kernel)
cybernetus (This Kernel)
stelistcristi (Contents of this post)
chhapil (For helping me with all of the issues, thanks man)
Chet Kener (For UBER toolchain)
Christopher83 (For Linaro custom toolchain)
Lanchon (For TRIM fix and Isorec for Dorimanx)
Zeitferne (For FP Bug/Music Bug fix and freezefix)
Realex-fire (Linux Kernel Updates and other ramdisk fixes)
DOWNLOAD:
Refer to third post
CHANGELOG:
Refer to second post
KERNEL SOURCE:
Source code of the kernel can be found here:
https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel
https://github.com/gsstudios/initramfs3
ISSUES:
- All dorimanx bugs
USEFUL LINKS
- CPU Governor and I/O Scheduler Guide
- DorimanX tuning guide
TCP Algorithm guide
HAVING PROBLEMS?
Read post 4 before posting questions!
And please if you can, also log an issue here: https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel/issues
GOT QUESTIONS?
Click here for Q&A Thread
HOW TO FLASH?
Check the troubleshooting guide
​
XDA:DevDB Information
DorimanX Unofficial 4.4.x, Kernel for the Samsung Galaxy S II
Contributors
gsstudios
Source Code: https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel
Kernel Special Features: See post #1
Version Information
Status: No Longer Updated
Current Stable Version: 10.50v009
Stable Release Date: 2017-01-14
Current Beta Version: 10.50v004
Beta Release Date: 2016-02-06
Created 2015-06-03
Last Updated 2017-01-13
Changelogs:
--UNRELEASED VERSIONS (KERNEL UNDER TEST) --
Code:
No more build from me :)
--RELEASED VERSIONS (GENERAL AVAILABILITY) --
Code:
[B]DorimanX 10.50 v009 (STABLE)[/B]
- Additional security updates from LineageOS kernel source
- Force Deadline to be used as the default scheduler while not in OS
- Updated stweaks descriptions from previous commits
- Re-enabled Software CRCs. DorimanX kernel does experience corruption issues so it is better to keep this enabled.
[B]DorimanX 10.50 v008 (STABLE)[/B]
- Security updates from LineageOS (formerly Cyanogenmod) kernel source
- Change default I/O scheduler to ZEN - CFQ better for hard disks, ZEN is good for flash storage
- Remove UKSM - The kernel needs to be more in-line with the linux kernel
- Remove toggle for Software CRCs and disable by default - Tested safe by other devs so why not?
- Remove power saving workqueues control - Had little to no effect
- Remove Powersave and Performance governors - I don't keep garbage :)
[B]DorimanX 10.50 v007 (STABLE)[/B]
- Fixed TRIM on /data partition - Looks like I forgot to remove discard option, hence TRIM wasn't working properly in all previous builds. My bad :(
- Stweaks profiles will be reset
- Synced many updates from MM kernel
- zzmoove will now use alucard hotplug as the default hotplug
- UKSM support with tuning support in stweaks
- Software CRCs re-enabled and toggle added to stweaks
- General stability fixes and performance improvements
- Cleanup to initramfs
- UBER 6.1 support
- Updated UBER and Linaro toolchain
[B]DorimanX 10.50 v006 (STABLE)[/B]
[COLOR="Red"]I found that I have missed some changes in the previous build, so this build aims include them[/COLOR]
- Synced most updates from LP kernel
- UBER 6.0 support. UBER 5.3 builds discontinued.
- Reverted VM tweaks
- Updated Stweaks descriptions, synced reorganized hotplug tab
- General performance improvements and fixes
- CFQ is the default I/O scheduler for all profiles
- Added missing optimizations from LP kernel
- LMK profiles now properly enforced
- zzmoove will now use intelliplug as the default hotplug method
[B]DorimanX 10.50 v005 (STABLE)[/B]
- This is just a little treat to all the people who still use my KK kernel :) I'm releasing this because I'm not truely satistfied with the experience on KK.
- Added MDNIE changing support
- Removed VFS cache tuning
- Updated HYPER, SIO updated to SIOPlus, plus many more changes from LP kernel.
- General performance improvements and fixes
- Synced most updates from LP kernel
[B]DorimanX 10.50 v004 (BETA)[/B]
[COLOR="Red"]- This is a kernel end of life build mainly built to fix some kernel issues that still exist after the last official kernel release. No additional features will be added to these releases.[/COLOR]
- Freezefix has been implemented from LP branch. Evidence shows that earlier versions of android are also affected by the 150mhz bug. This will solve some rare random freezing and will provide additional stability. I didn't add this in earlier builds because I thought there was no need to for an already stable kernel :)
[B]DorimanX 10.50 v003 (BETA)[/B]
[COLOR="Red"]- This is a kernel end of life build mainly built to fix some kernel issues that still exist after the last official kernel release. No additional features will be added to these releases.
[/COLOR]- Low latency audio fix will be applied on boot. DorimanX doesn't support low latency audio which causes games using recent unity versions to sound horrible. Thanks to @dualjoe. If you want to re-enable low latency audio, reflash rom and use different kernel!
- NON-TRIM builds and UBER 4.9 builds will not be released!
[B]DorimanX 10.50 v002 (BETA) - LAST NON-TRIM AND UBER 4.9 BUILD[/B]
- sched: Set MC (multi-core) sched domain's busy_factor attribute to 1. This will increase CPU performance.
- fixed compilations warnings thanks to @chhapil
- Changed swappiness drop down to slider. Allow users to select a more precise percentage.
- Limit boot booster frequency to a max of 1.4Ghz. Anything higher will cause many devices not to boot :) Plus there are very few CPUs out there that can run higher than this config.
- Added lowmem_reserved_ratio tuning to stweaks thanks to @dorimanX. A higher ratio will give you more free RAM if you see that your free RAM is always loaded and device LAG, but it's also uses more battery to gain more free RAM with loaded system. Please don't use the relaxed setting as you will run out of RAM very easily.
- Isorec recovery support. Many thanks to lanchon who has been working with me for the past few days. If you require to dualboot, don't use isorec recovery. I have linked the isorec disabler for people who want dualboot/dorimanx recovery. Also, TWRP can't mount USB storage so you won't be able to transfer files between PC, go back to CWM to fix this. We have isorec on DorimanX :) However this is still a WIP.
- zzmoove will now use alucard as the default hotplugging driver.
- Add toggle for power efficient workqueues. Enable to save power, disable for performance. Fixed parameter permissions. If you disable this, Cortexbrain will automatically switch on this during sleep state to save battery. Avoid using Kernel Adiutor to set this value as stweaks can do this properly.
- Set profiles with "medium" OOM values to "default"
- Synced some VM and memory tweaks from LP branch
- Minor fixes to some stweaks descriptions
[B]DorimanX 10.50 v001 (BETA)[/B]
- GCC 5.x support. Starting from this build, we will see UBER 5.3 experimental builds for those who want the best performance they can get. Thanks @chhapil
- Toolchain GCC Version is also included now in zip file name so we don't get confused
- Synced missing futex updates from Linux 3.15 stable
- UBER toolchain updated to 2016-01-11 build
- This build will be built with Linaro and UBER (From now on, I will be naming builds with the selected toolchain)
- tick: Fix a bug which impacts CPU frequency scaling
[B]DorimanX 10.45 v040 (BETA)[/B]
- Upstreamed kernel version to 3.15.0 stable! Lots and lots of fixes for various parts of the kernel, once again, thanks to realex-fire for contributing! ;)
[B]DorimanX 10.45 v039 (STABLE)[/B]
- Various updates to net, ipv6 and futex
- Change the VM_MAX_READAHEAD value to 512KB for best throughput
[B]DorimanX 10.45 v038 (STABLE)[/B]
- Updates to net, ipv4 and TCP Cubic
- Linaro 4.9 toolchain from Christopher83 is being used on all future builds starting from this build
- Last build using UBER toolchain
[B]DorimanX 10.45 v037 (STABLE) - Linaro[/B]
- This build is built with latest Linaro 4.9 from Christopher83
- Comes with all changes from original v037 release
[B]DorimanX 10.45 v037 (STABLE)[/B]
- Updated UBER toolchain to 20151031 build
[B]DorimanX 10.45 v036 - SCREEN TWEAK BUILD[/B]
[COLOR="Red"]NOTE: This build might give launcher FC's for some odd reason, doesn't happen with non-tweak build[/COLOR]
- All updates from v036 is included in this build
- MOVHYSTI/vitalij value changed to 0 (Super sensitive, suitable for gamers and people who want really responsive screen)
[B]DorimanX 10.45 v036 (STABLE)[/B]
- Reverted I/O scheduler updates
- Tuned I/O scheduler fifo batch and other tweaks
[B]DorimanX 10.45 v035 (STABLE)[/B]
- Updated UBER toolchain to 20151025 build
- Fixed derp in Samsung WL Bug patch (Doesn't make a difference since our phone is not affected anyway. Looks like I will have to recreate the patch files again :) )
[B]DorimanX 10.45 v034 (STABLE)[/B]
- Removed interactive and lionheart CPU governor (Should fix all, if not most, SOD issues)
- Fixed zzmoove fast scaling variable number range (should be from 0 to 5, not 0 to 8)
[B]DorimanX 10.45 v033 (BETA) - Changed to BETA because of issues with SODs[/B]
- Added lionheart CPU governor from chhapil's source
[B]DorimanX 10.45 v032 (BETA) - Changed to BETA because of issues with SODs[/B]
- Fixed all zzmoove tunables in stweaks. I'm not adding more tunables for zzmoove since it will cause stability issues.
- proper zzmoove profile switching has been added (previous solution was more of a workaround).
- Allow tunable mode for zzmoove (It's just no profile set, this is required if you want to manually adjust zzmoove values)
[B]DorimanX 10.45 v031 (BETA) - Changed to BETA because of issues with SODs[/B]
- Added back interactive CPU governor from slimsaber source
[B]DorimanX 10.45 v030 (STABLE)[/B]
- Reverted updates to zzmoove tunables (fixes broken zzmoove tuning of some variables in stweaks)
[B]DorimanX 10.45 v029 (STABLE)[/B]
- Changed toolchain back to UBER 4.9 and updated to latest version
[B]DorimanX 10.45 v028 (STABLE)[/B]
- Revert Custom profiles 1, 2 and 3 and related fixes
- Revert GPU changes
- Updated default profile
- Revert Partitions and Root tab
- Updated UBER 4.8 toolchain to latest
[B]DorimanX 10.45 v027 (STABLE)[/B]
- We're moving back to UBER 4.8 toolchain (should be more battery friendly than linaro)
[B]DorimanX 10.45 v026 (STABLE)[/B]
- Updated zzmoove to 1.0 beta 8
[B]DorimanX 10.45 v025 (STABLE)[/B]
- Restore Linaro 4.9 toolchain
[B]DorimanX 10.45 v024 (STABLE)[/B]
- Reverted WiFi driver
- Reverted Linaro toolchain to 4.8 for the time being
[B]DorimanX 10.45 v023 (BETA)[/B]
- More work on Wifi-driver to get Ad-hoc networks working (Still not working yet)
- Many minor changes to stweaks descriptions and updates to default profile again
- Updated kernel update check function (Doesn't work yet, I think it's because there is 2 'v' in the kernel version and build version, in other words it is a WIP!)
- We're moving back to Linaro 4.9 (Less bugs, more performance!)
[B]DorimanX 10.45 v022 (BETA)[/B]
- Updated to latest UBER toolchain
- Switched to UBER 4.9 toolchain instead of 4.8
- Revert: "allowed IO Read Ahead up to 4096KB"
- Allow mod of vfs cache pressure - This is used by cortex background service, don't modify if you don't know what you are doing
[B]DorimanX 10.45 v021 (BETA)[/B]
- Wifi drivers updated to 1.141.44 thanks to @stelistcristi
- Now this kernel surpasses stelistcristi's builds
[B]DorimanX 10.45 V020 (STABLE)[/B] - Tweak your GPU beyond belief :)
- More overclocking and underclocking of GPU! (All steps can have higher or lower frequencies and voltages)
- Revert boot boost limits
- Fixed file permissions
[B]DorimanX 10.45 V019 (STABLE)[/B]
- Added back powersave governor
- Rearranged root actions in ROOT tab to prevent accidental installation/deletion of root
- zzmoove tunables fixed
[B]DorimanX 10.45 V018 (BETA)[/B]
- Revert AES updates (this fixes the installation issues)
[B]DorimanX 10.45 V017 (BUGGED) - REMOVED[/B]
[COLOR="Red"]- Please note that there are some installation issues with this build for some users. The kernel itself is fine, I will have to investigate what is the root cause. [/COLOR]
- zzmoove profile support
- moved zzmoove tunables into awake section (why was it in sleep???)
[B]DorimanX 10.45 V016 (BUGGED) - REMOVED[/B]
- arm/aes update NEON AES module to latest OpenSSL version
- Added zzmoove 1.0beta7a to replace zzmanX! No profile switching for now.
[B]DorimanX 10.45 V015 (STABLE)[/B]
- Separated CRON tasks into own tab in stweaks
- Separated partitions fixes into own tab in stweaks
- Separated root actions into own tab in stweaks
[B]DorimanX 10.45 V014 (BETA)[/B]
- Updated profiles once again (this should help with battery drainage)
- Fixes to wifi module (thanks to ruleh)
- Re-add performance governor to stweaks
- Allow users to debug stweaks again
- Fixes to custom profile reset (in recovery)
[B]DorimanX 10.45 V013 (STABLE)[/B]
- Reverted busybox version (This should fix all of the app incompatibilities and errors)
- Updated BFQ to v7r8 (Bug fixes, speed improvements, etc.)
[B]DorimanX 10.45 V012 (BUGGED)[/B]
- Added 3 user profiles to stweaks
- Added descriptions to all profiles
- Apps that require busybox may not work properly in this build
[B]DorimanX 10.45 V011 (BUGGED)[/B]
- I/O Schedulers updated
- Busybox updated to 1.23.2
- Apps that require busybox may not work properly in this build
[B]DorimanX 10.45 V010 (STABLE)[/B]
- Updated FPU Bug fix thanks to [user=4913978]@oberon0[/user]0
- Stweaks TCP algorithm cleanup and allowed IO Read Ahead up to 4096KB (Better than the weird option of 2548KB)
[B]DorimanX 10.45 V009 -TRIM (STABLE)[/B]
- Trim now fixed thanks to [user=4354573]@chhapil[/user]
[B]DorimanX 10.45 V008[/B]
- [COLOR="Red"]TRIM is apparently broken in my builds. I will have to fix this in the next build. Thanks chhapil for telling me![/COLOR]
- TCP Algorithm settings fixed now
- Westwood now set as the default algorithm
[B]DorimanX 10.45 V007[/B]
- Added options in stweaks to choose tcp algorithm (NOTE: The next time stweaks opens, it will ask to discard or apply settings, select DISCARD. In other words, Cubic is set in app everytime the app is reopened)
- TRIM is broken on this release
[COLOR="Red"][B]DorimanX 10.45 V006[/B]
- TRIM is broken on this release
- TRIM is still enabled and will be for all future builds - Use this at your own RISK![/COLOR]
- TCP algorithms finally fixed!!!! You can change TCP algorithms with apps like trickstermod
[COLOR="Red"][B]DorimanX 10.45 V005[/B]
- TRIM Enabled - Use this at your own RISK![/COLOR]
- TRIM is broken on this release
- Reuploaded with extra safety measures for trim
[B]DorimanX 10.45 V004 (STABLE)[/B]
- Built with Latest UBER toolchain 4.8
- VR and FIFO I/O schedulers removed (As per DorimanX G2 changes)
- All built in profiles have been tuned! Make sure to reset stweaks settings if you can.
- Max boot frequency limited down to 1.2Ghz
- Multiple changes to stweaks (Update tab, etc)
[B]DorimanX 10.45 V003[/B]
- Tripndroid and FIOPS can be set now
- Default profile has been tweaked for better stability and performance
[B]DorimanX 10.45 v001[/B]
- Added Tripndroid scheduler. Fiops scheduler was also readded. Can't be set in stweaks yet.
- SuperSU 2.46
- Forgot what else I added XP
Downloads
I test most of these builds to make sure they are stable. There may be some cases where I might not test out a build before releasing it. Kernels marked with '(STABLE)' are safe for everyday use, but only take this as a indication.
--IMPORTANT, PLEASE READ--
CAUTION: All builds marked with 'TRIM' at the end has TRIM enabled. If you have brickbug affected emmc chip, avoid downloading it if you don't know what you are doing! For more information about the trim brickbug, visit Lanchon's guide here: http://forum.xda-developers.com/gal...ives/rom-brickbug-aftermath-speeding-t2843238
All builds without 'TRIM' (marked as 'NON-TRIM') have trim disabled. These kernels are safe on brickbug affected chips.
MAKE SURE YOU'RE DOWNLOADING THE RIGHT KERNEL. OTHERWISE YOU COULD BRICK YOUR DEVICE!
For TRIM users:
To use TRIM, you can download an app on the app store called trimmer or use terminal commands as directed in the troubleshooting guide.
And finally, I always see the question on whether to use TRIM or NON-TRIM builds. I recommend using TRIM builds on all devices, even if you have brickbug affected chip. This is because TRIM builds are safe from brickbug as they have been correctly patched up and so it has been used by many users. However, when in doubt, use NON-TRIM builds.
Isorec (Isolated Recovery)
Starting from build v002, I have introduced isorec into dorimanX kernel. CWM works perfectly, whereas TWRP can't mount USB storage. More work will need to be done to get TWRP fully working.
Download for isorec recoveries:
https://www.androidfilehost.com/?w=files&flid=47550
If you have a dualboot setup or if you want to set up dualboot, you should stay on StanTRC recovery. If you want to return to StanTRC recovery, flash the isorec disabler:
https://www.androidfilehost.com/?fid=24369303960682947
Forgot to download backup/older kernel/isorec disabler after flashing TWRP?
Go to download mode and flash a kernel .tar file OR wait until OS boots and copy required files to your phone
Which build should I use?
Linaro 4.9: Use this build for best stability. Battery life is not as good as UBER 4.9. This build should only be used as a fallback if all other builds fail to meet expectations or when the other builds give problems.
UBER 6.1: Use this build for best performance. Performance difference is small and battery life is slightly worse than Linaro 4.9. This build should only be used by advanced or more experienced users (beta testers).
Main download link:
https://www.androidfilehost.com/?w=files&flid=43488
Mirror download link:
https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel/releases
​
Beta builds and stable builds will only be uploaded on AFH and github.
Troubleshooting
(Probably one of the most detailed troubleshooting guides for kernels on XDA)
For general help, please use the Q&A thread
Take me to the Q&A Thread
Q: Why flash your kernel? - For new users of DorimanX kernel
This applies to dorimanx kernel in general. Dorimanx kernel is an aftermarket kernel (or custom kernel) that is designed to allow users to tweak their phone at the kernel or near-hardware level side of things. In other words, users get more fine-grained control over their phone, this includes overclocking, underclocking, changing behavior of CPU/GPU etc. Adjusting such settings isn't for the faint-hearted since there is soooo many things to understand, but you aren't required to understand all of the settings. Ultimately, if you want to improve your phone experience, try dorimanx kernel!
Q:How do I flash your kernel?
A: You flash kernels like flashing roms, except you don't have to factory reset your phone. If you can't flash the kernel for some reason, you can either flash philz recovery then flash the kernel OR you can just make your own kernel .tar file and flash via ODIN by following this guide: http://forum.xda-developers.com/galaxy-s2/development-derivatives/convert-kernel-zip-to-tar-t2994381
Q: Can I use isorec recovery on DorimanX kernel?
A: Yes you can. All important information was covered in the OP already!
Q: Why should I flash your builds when the last 'real' unofficial build was v008?
A: If you don't want to enjoy awesome features that improve the experience of dorimanx kernel, then it doesn't worry me. Real or not, I don't build kernels to have bad battery life, bad stability and etc. This is my personal build of dorimanx kernel!
Q: Which kernel version build should I flash?
A: Flash the latest stable version if you want the most stable experience. Builds that have not been marked with 'Stable' are mostly stable, or haven't been tested enough to earn a stable tag. Either way, it's up to you which one you want to flash. Read the changelog for any important changes that might have occurred in a particular build.
Q: Wifi doesn't work after I flash this kernel
A: There are two main causes to this issue, either there is a problem with your:
- Partitions OR
- Permissions OR
- Gapps OR
- ROM OR
- Compatibility with your wifi hardware
Don't use a pit with modded preload! It will just cause issues with ROMs and Kernels. Use stock pit or use a pit with unmodded preload. Sometimes, the gapps package you flash somehow breaks compatibility with the kernel. You can fix this by flashing a different gapps (making sure to clean cache and dalvik). If you have permissions problem, you can fix this by repartitioning your internal sd card or by reflashing back to stock rom. Sometimes, the ROM doesn't fully support the wireless drivers in the kernel, this can be solved by flashing a different ROM or different kernel. But if your wifi hardware is not compatible (a way to tell this is when you have tried everything and failed), there is nothing you can do but reflash the rom or flash a different kernel.
Q: My sd cards don't mount after I flash dorimanX kernel!
A: Please check the format (or file system) of your sd cards. DorimanX kernel doesn't support ext4 formatted sd cards and hence you can't see them. You will need to format the sd cards to fat32 or other format.
Q: I came from a different custom kernel that used Stweaks, now the app has issues
A: Every time you come from a different custom kernel with stweaks support, make sure to wipe cache and dalvik cache after install dorimanx kernel
Q: My battery life sucks after flashing this kernel!
A: Download and install Betterbatterystats and see what is the culprit to your problem. If it is kernel related, have you made sure you have wipe cache and dalvik and reset stweaks settings? If yes, it would be nice if you posted a logcat.
Q: How do I get a logcat for the kernel?
A: In stweaks, go to BUG-REPORT and tap on KERNEL-BUG.
Q: Why do I get bootloops with this kernel?
A: If you were on a working version on dorimanx kitkat before, there is probably something wrong with the installation. If you are on a ROM that is not kitkat, you flash the wrong kernel! You need to flash the right kernel for your android version. Sometimes, bootloops can occur due to corruption of the kernel zip file (usually from bad download) or from corrupted partitions.
Q: What do all of the settings mean? They are all confusing!
A: Please note that DorimanX kernel isn't for users who have just rooted their device. Before jumping into the custom kernel world, try playing around with other kernels first. Once you think you have some experience, read the stweaks beginners guide I made and then attempt to tweak the kernel using stweaks.
Q: How do I trim my partitions?
BEWARE: Make sure you have read all of the precautions before attempting to trim your partitions!
A: install the trimmer app from the playstore. App link . Check for all 3 partitions, and tap on run. grant root access. the 3 fstrim operations should be successful ("partition was trimmed" means success).
alternatively, instead of using trimmer you can run one of these commands (these are better because they also trim /preload):
# on the phone in the terminal app:
su -c "fstrim -v /system; fstrim -v /data; fstrim -v /cache; fstrim -v /preload"
# on your PC if you are connected to the phone via adb:
adb shell su -c "fstrim -v /system; fstrim -v /data; fstrim -v /cache; fstrim -v /preload"
reboot.
Click to expand...
Click to collapse
Q: My device is (hard) bricked after flashing your kernel!
A: Have you read all of the precautions before installing the kernel? You made the decision to flash the kernel and now you've stuffed up your phone.
Q: I get constant FCs after flashing your kernel!
A: Have you wiped your cache partition, dalvik cache and reset stweaks settings? If you've done all of these already, a logcat would be nice
Q: How do I use dual boot?
A: There are many guides on how to dual boot roms using dorimanx kernel. Just use the search function on XDA or GOOGLE it!
Q: What's a good combination for CPU governor and I/O scheduler?
A: Have a look at the default settings, they are optimised for our phone
However, here are some settings I personally like:
1. Governor: HYPER/Ondemand I/O scheduler:SIO/SIO
2. Governor: PegasusQ/Nightmare I/O scheduler: SIO/SIO
3. Governor: NeoX/Ondemand I/O scheduler: SIO/SIO
4. Governor: Nightmare/Nightmare I/O scheduler: SIO/SIO
Q: Why does the screen turn blank after the dorimanx logo appears during the boot process?
A: If your kernel doesn't bootloop, but the screen remains blank, there is a good chance that the ROM that you've used uses an older version of GPU drivers (Mali). This kernel only support ROMs with Maliv3 support. If you flash this kernel on MaliV2 or MaliV1 only roms, you will get a blank screen after flashing. To fix this, flash to the kernel the corresponds to your mali driver version and you should get your display back.
Q: What is a TCP algorithm?
A: Congestion control strategies (or algorithms) are used by TCP, the data transmission protocol used by many Internet applications. The main goal of a TCP algorithm is to avoid sending more data than the network is capable of transmitting, that is, to avoid causing network congestion.
Q: What is a toolchain?
In software, a toolchain is the set of programming tools that are used to create a product (typically another computer program or system of programs). The tools may be used in a chain, so that the output of each tool becomes the input for the next, but the term is used widely to refer to any set of linked development tools.
A simple software development toolchain consists of a compiler and linker to transform the source code into an executable program, libraries to provide interfaces to the operating system, and a debugger. A complex product such as a video game needs tools for preparing sound effects, music, textures, 3-dimensional models, and animations, and further tools for combining these resources into the finished product.
Click to expand...
Click to collapse
Q: What is UBER?
A: After years of using different custom toolchains like Linaro and SaberMod, I found there were things I liked about both of them but also things that didn't sit quite as well with me. SaberMod always seemed to have UI lag (especially in scrolling) but opened apps well and Linaro always seemed to be buttery smooth but had terrible app opening speed. Linaro battery was also worse for me than SaberMod. After going back and forth between toolchains I finally had this epiphany! Why not just take all of the best parts of all toolchains and merge them into one? So I began bringing up my own toolchain from gnu.org. At first I patched in all of the AOSP toolchain pactches (much like how SaberMod did it originally however it is important that you realize that No! I did not copy and paste SaberMod into my source I'm simply stating that I used their idea of merging aosp into gnu.org) to my source. Then I went through and added all of the linaro patches that I could to the source. I also made sure that I had the very latest of every toolchain component. I then made very minimal changes to the aosp toolchain build folder to allow for building with these newer toolchain components and UBERTC was born!!! (Note: both Linaro and SaberMod both made lots of modifications to the toolchain build folder, UBERTC is the closest to the aosp build process)
Click to expand...
Click to collapse
Q: What is Linaro?
Linaro is the place where engineers from the world's leading technology companies define the future of Linux on ARM. The company is a not-for-profit engineering organization with over 120 engineers working on consolidating and optimizing open source software for the ARM architecture, including the GCC toolchain, the Linux kernel, ARM power management, graphics and multimedia interfaces.
Click to expand...
Click to collapse
thanks
will give a try as usual
Green light, all is go. There are issues where new scheduler or algorithm can't be set yet, but no major issues
gsstudio, dorimanx kernel was my kernel for kk for a very long time until LP appear. But for now I just can't go back again for KK...it's way behind LP in performance and speed. I left a private message for you, if you have time answer me. Thanks gsstudio. Cheers.:good:
gsstudios said:
Green light, all is go. There are issues where new scheduler or algorithm can't be set yet, but no major issues
Click to expand...
Click to collapse
Nice work! Keep it up!
Very hopeful here bro, reallly really looking forward to a dori like lp kernel its realllly really needed, get good soon
Tripndroid and FIOPS should be fixed now. Was missing a few strings to add
Will fix problem with tcp algorithm later.
What do you guys think about the default io scheduler? Should I change it to zen (like in dorimanx g2), tripndroid or something else? I've been testing tripndroid for a while now, very smooth and fast.
If you wanted to know the specific changes to the default profile, I changed threshold values so they are slightly higher (screen on up threshold 60-->70 and screen off up threshold 60 --> 75). LMK for screen on changed to medium, io schedulers changed to SIO. I might remove zzmanx and put zzmoove so that it is up to date. Possible add an option to change profiles if possible.
I have successfully built dorimanX with Uber toolchain. Lots of new improvements and adjustments made to the kernel. Look at post 3 for changelogs: Link
Keep up the good work
I love your work gsstudios! I pm you. Are you needing any help? Has the pool is clear, Lollipop support is the way now. Of course there's people that likes KK, but imho kk has many probs in RAM management. Are you going to work full in KK and then convert it to lollipop? It's that the way?
Have some questions:
1. Does this have the Fuse Bug Fix? Well... since no one updates latest Dori and such...
2. Is the "Speedup Key Resume" feature on Apolo added here as well? This makes S2W more responsive, so I like it...
3. Is Swap feature enabled? I'm trying to Swap from /preload but Apolo and Gustavo doesn't have one. Forgot wether Dori has it...
4. Will you add the screen-color-changing feature from Gustavo to here as well?Or is it already in here?
Thanks for the continuing the development, man... :good:
:good:
I simply just wanted to post a "thanks you", instead of just hitting the thanks button, which I 've done many times, for keeping alive and updating the best (for me) kernel ever developed for S2.
V005 works great with trim enabled.:thumbup:
And UBER makes it even smoother lets see how the battery will go...
Sent from my GT-I9100 using XDA Free mobile app
souler456 said:
Have some questions:
1. Does this have the Fuse Bug Fix? Well... since no one updates latest Dori and such...
2. Is the "Speedup Key Resume" feature on Apolo added here as well? This makes S2W more responsive, so I like it...
3. Is Swap feature enabled? I'm trying to Swap from /preload but Apolo and Gustavo doesn't have one. Forgot wether Dori has it...
4. Will you add the screen-color-changing feature from Gustavo to here as well?Or is it already in here?
Thanks for the continuing the development, man... :good:
:good:
Click to expand...
Click to collapse
Fusebug and screen color changing is big thing I want them too. But I did not notice anything about speedup key resume on apolo. It's just like old builds
Latest DorimanX v10.44 v008 has fusebug fix.
TCP algorithms finally fixed. Can be changed in apps like trickstermod.
Edit: You can now select TCP algorithm in others tab.

[KERNEL] [N6] [7.0] [3.10.104] [UBER 6.3.1] Flash Kernel - v1.8 - December 25th

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
Hello everyone, this is my kernel for the Nexus 6, based on my kernel for the Nexus 6P. I aim to add enough features to matter while keeping it lean and stable. Hopefully you enjoy! Please read this entire post, most of your questions will be answered in here!
Features
Here are the major features of the kernel (feel free to explore Github)
Upstream Linux versions 3.10.41-3.10.104
Updated to the December security patch
Patches for some CVEs
Upstream patches from CAF
Support for overclocking to 2880 MHz (stock values by default)
CPU governors: barry_allen, blu_active, chill, conservative, darkness, elementalx, impulse, interactive (default), nightmare, ondemand, performance, smartmax, userspace, zzmoove
Hotplugs: blu_plug, mako_hotplug, msm_sleeper, zen_decision (default - mpdecision is disabled)
High brightness mode and backlight dimmer
KCAL color control
Adreno Idler
Wake gestures (sweep2wake, doubletap2wake, sweep2sleep, and camera launch gesture)
Voltage control
Franco sound control and high performance audio
Adaptive low memory killer
UKSM (disabled by default)
I/O schedulers: bfq, cfq, deadline, fiops, maple, noop, sioplus (default), tripndroid, and zen
USB fast charging
Wakelock controls
BCL disabled
TCP algorithms: bic, cubic, highspeed, htcp, hybia, illinois, lp, reno, scalable, vegas, veno, westwood (default)
Kexec patch for MultiROM support
Full F2FS support
Compiled with an Uber-based 6.3.1 toolchain located here
Forced encryption and dm-verity disabled
Built with AnyKernel2 thanks to @osm0sis
Downloads
7.0/7.1/7.1.1 (1.x): Main
Installation
If you are on stock:
If you are on the stock kernel: flash the kernel zip and reboot
If you are on a custom kernel: flash the stock boot image matching your build number, flash the kernel zip, and reboot
If you are on a custom ROM:
If you are on the kernel that came with your ROM: flash the kernel zip and reboot
If you are on a custom kernel: dirty flash your ROM zip, flash the kernel zip, and reboot
Upgrading from one Flash version to the other:
Just flash the kernel zip and reboot
Changelog
Nougat 7.0
Code:
[B]1.8[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=70246281]release post[/URL])
[LIST]
[*]Toolchain bumped to 6.3.1
[/LIST]
[B]1.7[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=70112925]release post[/URL])
[LIST]
[*]December security update
[*]Upstream F2FS commits
[*]Improvements to cpuidle
[*]Double tap to wake now works when either halfscreen or fullscreen is selected in KA
[*]Fix tethering on 7.1.1 ROMs
[*]Add Live Display (work with KCAL thanks to [user=4684315]@flar2[/user])
[/LIST]
[B]1.6[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69873175]release post[/URL])
[LIST]
[*]Revert an interactive governor patch that was introducing lag
[/LIST]
[B]1.5[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69859780]release post[/URL])
[LIST]
[*]Fixes for sdcardfs on certain ROMs like CM 14.1
[*]Upstream patches from CAF and Linux
[*]Interactive governor improvements
[*]Detect when kernel is flashed on an unsupported Android version
[*]Add support for FK Updater's performance profiles
[/LIST]
[B]1.4[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69526781]release post[/URL])
[LIST]
[*]November security update
[*]Chill governor updates (thanks to [user=5051294]@frap129[/user])
[*]Fixed Mako Hotplug (thanks to [user=4231562]@Yoinx[/user])
[*]Updated BCL commits (thanks to [user=3292224]@franciscofranco[/user])
[*]Fixed some compiler warnings (thanks to [user=4231562]@Yoinx[/user])
[/LIST]
[B]1.3[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69264556]release post[/URL])
[LIST]
[*]Upstream Linux patches for vmstat and libgcc
[*]Backported MDSS and GPU patches from Marlin (thanks to [user=3292224]@franciscofranco[/user])
[*]Low memory killer improvements
[*]Removed cmdline patch from 1.2
[/LIST]
[B]1.2[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69247056]release post[/URL])
[LIST]
[*]Linux version 3.10.104
[*]Move back to a constant tickrate of 300HZ
[*]Add a patch to hide bootloader unlock from SafetyNet
[/LIST]
[B]1.1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69183164]release post[/URL])
[LIST]
[*]Add smartmax governor
[*]Add full F2FS support
[*]Add Motorola quick wakeup driver
[*]Fix simple_ondemand GPU governor
[*]Add [URL="http://kerneldedup.org/en/projects/uksm/introduction/"]UKSM[/URL] (disabled by default)
[*]Set default I/O scheduler to zen and readahead to 128kb
[*]Start kernel at stock frequencies
[/LIST]
[B]1.0[/B]
[LIST]
[*]Initial release
[*]List of features above
[/LIST]
Frequently asked questions
1.1 Q: I am having an issue, can you help me?
1.1 A: I am not a superstar kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue. With that, I'll do my best to assist you.
Code:
adb logcat -d > logcat.txt
adb shell dmesg > dmesg.txt
1.2 Q: Can you add xyz feature?
1.2 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not go digging super hard for commits and I will ignore requests that don't include this information. I won't promise that I will merge every request but I will always take it into consideration.
1.3 Q: How do I control the kernel?
1.3 A: I'd recommend using either @flar2's EX Kernel Manager or @Yoinx's Kernel Adiutor-Mod; both are extremely solid and have given me no issues.
1.4 Q: I am having Wi-Fi disconnects on a 5GHz network, what's up?
1.4 A: Try increasing the wakelock divider on the following sys paths in a terminal emulator (can also be done in EXKM in the Miscellaneous section):
Code:
echo 8 > /sys/module/bcmdhd/parameters/wlrx_divide
echo 8 > /sys/module/bcmdhd/parameters/wlctrl_divide
Thank you to @Buckmarble for pointing this out!
Thanks to:
@REV3NT3CH for showing me what a good developer and kernel looks like
The various developers for their patches (@ak, @Buckmarble, @flar2, @franciscofranco, @frap129, @imoseyon, and @Yank555 to name a few)
@osm0sis for AnyKernel2
@DespairFactor for helping me with some kernel compilation issues and the Linaro source of the toolchains I use
@kantjer for pointing me to Linaro in the first place and being a beta tester along the way!
@malybru for my nifty new signature and thread banner!
All of you guys for viewing the thread
A note about donations
Quite a few people have asked to donate to me in the past and I have turned them down. I am not in this for the money, this is my hobby, something I truly enjoy. If you truly want to donate to something (it is not expected in the slightest), I recommend an entity like the Open Source Initiative, XDA, or any one of the people I have thanked in the OP. Additionally, you are free to copy any and all of my work; the only thing I request is that you not ask for donations as well (though I can't really enforce this lol). Thank you.
Kernel source links
7.0: https://github.com/nathanchance/shamu
DISCLAIMER: I openly welcome off topic in my threads. Mods, please do not clean off topic discussion and users, do not complain about off topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
XDA:DevDB Information
Flash Kernel, Kernel for the Nexus 6
Contributors
The Flash
Source Code: https://github.com/nathanchance/shamu
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.8 - Nougat 7.0/7.1
Stable Release Date: 2016-12-25
Created 2016-10-11
Last Updated 2019-07-02
Reserved
Reserved
First
Amazing
Excellent kernel, and a welcome addition to the Shamu!
Hi,
Thank you Nathan!
I know MultiRom isn't working very good with N yet but still:
Does you kernel have the kexec patch inside please?
Droidphilev said:
Hi,
Thank you Nathan!
I know MultiRom isn't working very good with N yet but still:
Does you kernel have the kexec patch inside please?
Click to expand...
Click to collapse
Looking at the source, I do believe kexec is present in Flash Kernel. Multirom manager also reflects that is built in.
rebel1699 said:
Looking at the source, I do believe kexec is present in Flash Kernel. Multirom manager also reflects that is is built in.
Click to expand...
Click to collapse
Thank you! Soon time to flash
Droidphilev said:
Hi,
Thank you Nathan!
I know MultiRom isn't working very good with N yet but still:
Does you kernel have the kexec patch inside please?
Click to expand...
Click to collapse
Yes, as previously mentioned. OP has been updated to reflect this
Can you allow f2fs compatibility ?
many people use such partitions...
Thank you anyhow!
Nautilus74 said:
Can you allow f2fs compatibility ?
many people use such partitions...
Thank you anyhow!
Click to expand...
Click to collapse
Already queued up for the next update.
very good kernel
Kernel is sweet so far. Been rock solid stable in the few days I have been running it - def check this one out guys!
@The Flash
running great with PN 7.0 here.
although kernel manager doesn't show all hotplugs...kernel-aduiter shows only 2 i think and elementalX-manager doesn't show 1.....sorry forgot specifics coz i removed both and have no managers install now.
anyway, quick question:
u have better knowledge in this area than I do...whats the diff between interactive from this kernel and interactive from lean kernel...I have heard great things abt leankernel but never got the chance to run it coz by the time i bought nexus 5 he already moved to nexus 6...by the time i bought nexus 6 he already moved to nexus 6P...lol
[email protected] said:
@The Flash
running great with PN 7.0 here.
although kernel manager doesn't show all hotplugs...kernel-aduiter shows only 2 i think and elementalX-manager doesn't show 1.....sorry forgot specifics coz i removed both and have no managers install now.
anyway, quick question:
u have better knowledge in this area than I do...whats the diff between interactive from this kernel and interactive from lean kernel...I have heard great things abt leankernel but never got the chance to run it coz by the time i bought nexus 5 he already moved to nexus 6...by the time i bought nexus 6 he already moved to nexus 6P...lol
Click to expand...
Click to collapse
LeanKernel uses InteractiveX - Imoseyon's own version of Interactive with a screen off max freq. Interactive is a stock governor. This thread is GREAT for learning about all the awesome governors in this and other kernels - I personally use Darkness. http://forum.xda-developers.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957 Hope this helps bud!
@The Flash
Your kernel runs really great with Tesla! It seems like a rocking solid beast!
Gesendet von meinem Nexus 6
@The Flash Looks great, will it improve battery? And what kernel settings do you recommend for a 4 hrs sot?
spevil07 said:
@The Flash
Your kernel runs really great with Tesla! It seems like a rocking solid beast!
Gesendet von meinem Nexus 6
Click to expand...
Click to collapse
Glad to hear!
Yasharkhan said:
@The Flash Looks great, will it improve battery? And what kernel settings do you recommend for a 4 hrs sot?
Click to expand...
Click to collapse
It should, I've added a lot of optimization packages. The default settings should be getting you more than 4 hours of SOT but you may try tweaking the governor and hotplug settings.
Running & sleeping well on the 10/10 build of Uberstock. Thanks for sharing your work!

[KERNEL] [CLARK] [LOS 7.1.2] HandBag Kernel - v2.3.5

HandBag Kernel
"Every single feature" Held together with duct tape and magic
Development for the Moto X Style/Pure seems a little quiet, so I decided to patch together my own kernel. I think this is the perfect chance to learn git and the build system for android. Feature requests are welcome!
Disclaimer
Please note that this is my first kernel and that stability and battery life are not guaranteed. Actually, nothing is guaranteed. I am not responsible for bricked devices or lost data. Flash at your own risk.
You will most definitely have to adjust the default settings. Expect lags and fun stuff.
Also note that this kernel is meant for LineageOS based roms. Tested and running daily on XT1575.
Features
Based on Lineage OS source
Additional CPU Governors (Alucard, ElementalX, Despair, Chill, IntelliActive, Lionheart, BioShock, BluActive, Wheatley, ZZMove, Impulse, Relaxed)
Additional I/O Schedulers (Deadline, NOOP, Maple, Row FIOPS, SIO, SIOPlus, TripNDroid, VR, Zen)
Additional Hotplug Drivers (Alucard Hotplug, Autosmp, Bricked Hotplug, MSM Hotplug, Lazyplug) Causes laggy wakeup
Additional TCP congestion algorithms (Default westwood)
KSM/uKSM
Overclock/Underclock
Voltage control
Wake Gestures by flar2
Fsync, Inputboost, Touchboost, and Wakelock Toggles
Kexec Not needed yet
Ofast Actually Os for now (Kernel gets too big and there's no decompression for aarch64)
UBER Toolchain 6.0 Linero Toolchain 6.3.1
Dynamic Fsync
Adreno Idler/Boost
AnyKernel2 Installer
Backlight Dimmer
Color control (KCal)
To-Do
I dunno, you tell me.
Installation
Flash in recovery
Note: AnyKernel2 will use your existing ramdisk. It's recommended to flash over the kernel that came with your rom or a previous version of my kernel. Refer to AnyKernel2 for restoring after a bad flash.
Downloads
See Downloads Tab under thread title: https://forum.xda-developers.com/devdb/project/?id=20678#downloads
There are two branches:
msm - Uses the stock msm_core_ctl to handle hotplugging
hotplugs - Uses custom hotplugging solutions (Currently only bricked_hotplug)
Special Thanks and Credits
flar2
franciscofranco
nathanchance
frap129
dirtyhank
showp1984
engstk
faux123
neobuddy89
ZaneZam
yank555-lu
HashBang173
varunchitre15
Cl3Kener (UBERTC)
osm0sis (AnyKernel2)
trashy111 (For build server hardware)
... and various other helpful developers!
If I missed someone who should be on here,
please feel free to let me know.
XDA:DevDB Information
HandBag Kernel, Kernel for the Moto X Style (Pure)
Contributors
XDleader555
Source Code: https://github.com/XDleader555/HandBag-Kernel-Clark
Kernel Special Features:
Version Information
Status: Testing
Created 2017-05-15
Last Updated 2018-02-27
Changelog
02/27/18 - v2.3.5
handbag-msm:
Added more overclock values
Separated voltage control to upper and lower bounds for fine tuning
Merged Security commit for WPA exploit
07/31/17 - v2.3.3
handbag-msm:
Forgot to re-enable msm_core_ctl hotplug (oops)
Older Changelogs:
07/30/17 - v2.3.2
Add voltage control
07/28/17 - 4:59PM - msm branch - v2.3.1
Bring back alucard governor
Bring back power efficient workqueue
Bring back Dynamic fsync
Bring back uKSM and patches
Add LCD Notifier
Disable trace_printk
Disable sched_hrtick
07/28/17 - 12:39AM - msm branch - v2.3
Re-enable msm_performance (Default Kernel Hotplugging)
Update Zen Tune from 4.5 to 4.10
Enable Partial Resume
Revert Stack Protection from Strong to Normal
Add Software CRC toggle
Revert Alucard, Autosmp, bricked, msm_hotplug, lazyplug Hotplugs
Revert Dynamic fsync
Revert powersuspend and state_notifier
Temporarily Revert power efficient work queues
Revert KEXEC patches until someone complains
Temporarily Revert uKSM
A lot of other various cherry picks reverted
06/23/17 - 3:23PM - v2.2
Add Alucard Hotplug and Autosmp Hotplug
Add Alucard CPU Governor
Set some cpu defaults on boot from frap129's electron kernel
Cherry-pick f2fs patch to avoid syncing kernel panics
Increase thermal threshold from 46C to 60C. Light load happens around 55C, so we're always throttling
Disable thermal core control (You can re-enable it if you like)
Dynamic Fsync
Add CIFS support
REVERT: wrong vibe control commit
06/15/17 - 11:41PM - v2.1
REVERT: Merge F2FS changes up to May 20th 2016
REVERT: Small updates to msm mdss
REVERT: Switched to bricked_hotplug as default
REVERT: Show cpu voltages (Not actually useful)
REVERT: Update linux from 3.10.102 -> 3.10.105
REVERT: zRam, zSwap, zMalloc Updates
REVERT: linux/random backport from linux 4.1.40
REVERT: Those various "optimizations"
REVERT: Anything relating to state_notifier and system_wq
Bring back PowerSuspend. Why fix what ain't broke.
Add patch to avoid f2fs kernel panic/bootloop when downgrading/upgrading (sidegrading?) to v2.1
05/31/17 - 12:50AM - v2.0
Merge F2FS changes up to May 20th 2016
Small updates to msm mdss
Switched to bricked_hotplug as default
This should really be 1.9.1, but I already made it 2.0. Too lazy to fix ¯\_(ツ)_/¯
05/30/17 - 1:37AM - v1.9
Switch toolchains from UberTC 6.0 to Linero 6.3.1
Add relaxed cpu governor
Show cpu voltages (No editing unfortunately)
Slimbus overclock
UNREVERT: zSwap, zMalloc Updates
Removed powersuspend (not needed)
linux/random backport from linux 4.1.40
Various optimizations I probably missed
05/26/17 - 3:38AM - v1.8
UNREVERT: Update linux from 3.10.102 -> 3.10.105
UNREVERT: zRam updates
disabled zSwap (I don't think anyone uses this, correct me if I'm wrong)
converted msm_hotplug to use state_notifier
converted bricked_hotplug to use state_notifier
05/25/17 - 8:14PM - v1.7.1
Fixed overclock frequency not showing
Fixed enabling/disabling of state_notifier in tuning apps (turns off hotplug suspend)
converted msm_hotplug to use state_notifier I need to touch up on C
05/24/17 - 10:16PM - v1.7
Cleaned source code tree
REVERT: Update linux from 3.10.102 -> 3.10.105
REVERT: Moved msm_hotplug to system_wq
REVERT: Interactive CPU governor pulled from Pixel source
REVERT: zRam, zSwap, zMalloc Updates
REVERT: Overclocking/Underclocking (Just temporary, ran out of time)
05/24/17 - 3:16AM - v1.6
Update linux from 3.10.102 -> 3.10.105
Added Lazyplug
Moved msm_hotplug to system_wq
Avoided boot issue caused by msm_hotplug by setting Lazyplug as default. (msm_hotplug still works if set by user)
05/22/17 - 2:37AM - v1.5
Wake Gestures: Fixed touchscreen not responding when enabling gestures with the screen off
Wake Gestures: Fixed touchscreen not responding in ambient display
Wake Gestures: Phone call detection
Set msm_hotplug as default
Tweaked msm_hotplug defaults slightly
Increased default idle frequency for bricked_hotplug to 600mhz
05/21/17 - 7:38AM - v1.4
Added Wake Gestures by flar2 (DT2W, S2W, S2S)
Added uKSM
Interactive CPU governor pulled from Pixel source (Seems to have fixed our crashing issue)
Added Despair and Chill CPU governors
Power efficient work queue mode (wq_power_saving)
KEXEC
Updated zmalloc and zram
Adreno Boost
Overclocking/Underclocking
05/17/17 - 7:50PM - v1.3
Removed msm_core_ctl to prevent conflicts with bricked hotplug
Renamed bricked_hotplug to prevent confusion
Added msm_hotplug v2.4
Fixed touchboost for those who actually like that
Added color calibration (KCAL)
05/17/17 - 5:57AM - v1.2
Added Governors (IntelliActive, Lionheart, BioShock, BluActive, Wheatley, ZZMove, Impulse)
Added Adreno Idler
Small optimizations
Disabled Touchboost by default
Added Kernel PowerSuspend
05/16/17 - 12:33PM
Fixed backlight dimmer
Removed userspace governor
05/15/17 - 3:29AM
Initial Release
It's highly recommended that you apply your own settings with a kernel manager until I add bootup scripts
Frequently Asked Questions
Q: How do I logcat?
A: You'll need adb or root
Through adb:
Code:
adb logcat -b all -d > %userprofile%/Desktop/logcat.txt
Through your phone:
Download a terminal app
Code:
su
logcat -b all -d > /sdcard/logcat.txt
It'll take about 10 seconds for the command to work. Preferably catch the log as soon as you boot.
Upload the logcat found at the output directory as an attachment.
Q: Where is hybrid mode for powersuspend?
A: https://forum.xda-developers.com/showpost.php?p=72405702&postcount=92
Q: Which Roms work with this kernel? Does it work on CAF Roms?
A: Lineage OS. No guarantees for other Roms, but users have reported that it works on:
Mokee OS
Resurrection Remix
Dirty Unicorns (CAF?)
AICP
CrDroid
Q: What app should I use to tune this kernel?
A: I prefer EX Kernel Manager, but Kernel Adiutor works well too.
Q: Can we get X feature?
A: Working on it.
Nice
Will give it a try!
Great work
---------- Post added at 12:39 PM ---------- Previous post was at 12:38 PM ----------
aakashverma0007 said:
Nice
Will give it a try!
Click to expand...
Click to collapse
Waiting for your new video on this kernal's reviews
Nice work! I was gonna do something similar but I never had time. If I do I might do it for caf-aosp roms. I will flash this kernel with resurrection remix and give some feedback! Very nice job
confirmed working on Mokee OS nightly for 20170514
This won't work with something like CypherOS which is AOSP based right?
you can try... backup your boot.img in recovery, if anything goes wrong you can always recover from that
Confirmed working on Resurrection remix latest weekly.
Bro please include KCAL support if possible. The piece I have does not render good colors. It would be awesome then. Thanks for your efforts.
Bwangster12 said:
This won't work with something like CypherOS which is AOSP based right?
Click to expand...
Click to collapse
I get massive bluetooth battery drain on CypherOS. Trying a different kernel MAY be something that could fix that?
Bwangster12 said:
I get massive bluetooth battery drain on CypherOS. Trying a different kernel MAY be something that could fix that?
Click to expand...
Click to collapse
The Bluetooth drain is just cypher os itself. Other people said they had that problem even on they're Google plus page. Just use a different room like crdroid- resurrection remix, or just plain old lineage, or mokee. You got some nice options.
Curlyfry2121 said:
The Bluetooth drain is just cypher os itself. Other people said they had that problem even on they're Google plus page. Just use a different room like crdroid- resurrection remix, or just plain old lineage, or mokee. You got some nice options.
Click to expand...
Click to collapse
First of all... I feel like no one has recognized the BT drain on CypherOS... so thank you for that. Trying other roms is what I've been doing. I'm currently on Tesla and like it a lot... but have desparately wanted a rom thats as similar to a Google Pixel as possible. Pure Nexus hasn't been updated to Nougat and CypherOS seemed to be what I wanted. Things like Lineage, Tesla, RR, Dirty Unicorns all have their own things. At least with Tesla, I installed Substratum and pixel themes... just not exactly like the Pixel-ness of CypherOS.
Any plans for hotplugging? I'm not really requesting it just wondering what you have in store for the future.
Curlyfry2121 said:
Any plans for hotplugging? I'm not really requesting it just wondering what you have in store for the future.
Click to expand...
Click to collapse
I plan on packing in as many features as possible. Hotplugging is on the list after I get the CPU Governors and boot up scripts in.
Bwangster12 said:
I get massive bluetooth battery drain on CypherOS. Trying a different kernel MAY be something that could fix that?
Click to expand...
Click to collapse
You can try disabling Bluetooth scanning under location setting or disable one of the relevant wakelocks using my kernel with your favorite kernel manager. (I prefer EX Kernel Manager)
XDleader555 said:
I plan on packing in as many features as possible. Hotplugging is on the list after I get the CPU Governors and boot up scripts in.
You can try disabling Bluetooth scanning under location setting or disable one of the relevant wakelocks using my kernel with your favorite kernel manager. (I prefer EX Kernel Manager)
Click to expand...
Click to collapse
Nice, will test any new versions released as soon as possible. Keep up the good work ?
Works on dirty unicorns, which is a caf based rom, so I'm surprised this is working and there's nothing really wrong except in ex kernel manager and I tried kernel auditor I enable backlight dimmer and when I turn the screen off and back on the brightness is much higher than what I have it set as. Anyone else have that?
Same thing on Resurrection remix
XDleader555 said:
I plan on packing in as many features as possible. Hotplugging is on the list after I get the CPU Governors and boot up scripts in.
You can try disabling Bluetooth scanning under location setting or disable one of the relevant wakelocks using my kernel with your favorite kernel manager. (I prefer EX Kernel Manager)
Click to expand...
Click to collapse
YAY thanks! really and truly this phone needs better hotplug to manage the battery better.
Curlyfry2121 said:
Works on dirty unicorns, which is a caf based rom, so I'm surprised this is working and there's nothing really wrong except in ex kernel manager and I tried kernel auditor I enable backlight dimmer and when I turn the screen off and back on the brightness is much higher than what I have it set as. Anyone else have that?
Same thing on Resurrection remix
Click to expand...
Click to collapse
I haven't cherry picked the code for backlight-dimmer yet. Currently having some issues with getting Ofast to work. I'll probably keep Ofast disabled and work on adding features.
EDIT:
Apparently, I did cherry pick it. I'll look into it.
EDIT2:
Fixed, seems like flar2 did something different for the Nexus 5x backlight. Check the downloads tab for the most recent kernel.

[KERNEL] Sphinx Kernel [10/11] [4.9.261] [Clang 11] [13.03.2021] v3.6

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
Ahoy everyone,
I decided to share my personal custom kernel with all of you. The main reason i started developing this kernel is to balance performance / battery / security and also add features.
I believe i have included most of the usually requested features. If your feature is not included you can ask for it and i will try to include it as long as you don't ask for ETA's. I am a student and i do this on my spare time.
Pie kernel is based on LineageOS 16.0 sources for beryllium and is compiled
with SdClang which is Qualcomm's LLVM Compiler for extra performance. [EOL] - Final Version is 3.1
10 kernel is based on LineageOS 17.1 source for beryllium and is compiled
with latest sources from LLVM for Clang 11.
So let's jump to the interesting part!
Sphinx Pie Kernel Features - v3.1
Sphinx Pie Kernel Features
Compiled with Dragon Toolchain based on Clang 9.0.0 with GCC 10 and optimized for SnapDragon 845
Upstreamed to 4.9.194
Merged CAF Tag LA.UM.7.3.r1-07900-sdm845.0
Merged Latest Lineage 16.0 commits
Makefile Optimizations
Novatech 9.6.20
WireGuard Support
Dynamic Stune Boost v3
GPU Underclock to 180 Mhz
CRC Check Disabled
Pass SafetyNet without Magisk / Root
Boeffla Wakelock Blocker
AdrenoBoost v2.2 Support
Adreno 630 Nap Mode
Pixel 3 Energy Model
Hight Brightness Mode Support
Sound Control
IR Camera for MIUI based Roms
Support sdFAT Filesystem v2.1.8
Support exFAT Filesystem
Support F2FS File System
Support NTFS File System
Frandom Random Generator
TTL Target
IP Mangle
Fsync Control
DriveDroid Support
DTS X Eagle Driver
Exposure Adjustment Driver (FlickerFree)
Reduced Latency
Config HZ -> 300
Disabled Gentle Fair Sleepers
Atheros 9 Wireless Cards Support
Ralink 27xx / 28xx / 30xx Wireless Cards Support
Kcal Advanced Color Control
K-Lapse v5.0
Vibration Control
LED Notification Control
USB Fast Charge up to 900 mAh
LZ4 Compression Algorithm by default
Backlight Minimum Brightness Control
Power Efficient Workqueues
mac80211 Injection (Kali Nethunter Support)
I/O Schedulers: Zen v2, Maple, Fiops, Sio, Noop, Deadline, Cfq, tripandroid, Anxiety, bfq
TCP Congestion Algorithms : cdg, westwood, bbr, sociopath
Pre-Configured Flash and Forget
Zipped up with AnyKernel2
Sphinx 10/11 Kernel Features - v3.2+
Compiled with latest Clang 11
Upstreamed to Linux 4.9.261
Merged latest CAF tag
Rebased on Lineage 18.0 sources
Merged Latest Lineage 17.1 commits
WireGuard Support
GPU Underclock to 180 Mhz
CRC Check Disabled
Latest Patches for SafetyNet Flags
Boeffla Wakelock Blocker
AdrenoBoost v2.2 Support
Adreno 630 Nap Mode
Sound Control
Support sdFAT Filesystem v2.1.8
Frandom Random Generator
TTL Target
IP Mangle
Expose FPS interface
Fsync Control
DriveDroid Support
DTS X Eagle Driver
Exposure Adjustment Driver (FlickerFree)
Reduced Latency
Simple Low Memory Killer
Disabled Gentle Fair Sleepers
Atheros 9 Wireless Cards Support
Ralink 27xx / 28xx / 30xx Wireless Cards Support
Kcal Advanced Color Control
K-Lapse v5.0
Vibration Control
USB Fast Charge up to 900 mAh
LZ4 Compression Algorithm by default
Backlight Minimum Brightness Control
Power Efficient Workqueues
HID Patch for 4.9 Kernels
mac80211 Injection (Kali Nethunter Support)
I/O Schedulers: Noop, Deadline, Cfq, tripandroid, Anxiety, bfq
TCP Congestion Algorithms : cdg, westwood, bbr, sociopath
Pre-Configured Flash and Forget
Zipped up with latest AnyKernel3
Notes
I bear absolutely no responsibility. If you brick your device. If you are not sure what a kernel is, how to flash it or how to restore your phone in case something goes wrong then do NOT proceed.
Moreover, you should flash this kernel only over the stock kernel that came with your Rom.
Downloads -
Pie EOL - Final Version 3.1
Sphinx 3.1: https://www.androidfilehost.com/?fid=1899786940962594232
10/11 - Current
Sphinx v3.6 : https://www.androidfilehost.com/?fid=2188818919693754613
/-----------------------------------------------------------------------------/
I have dedicated countless hours developing this kernel so if you like my work consider buying me a coffee to help me stay awake and keep improving Sphinx.
Click Here for Coffee
/-----------------------------------------------------------------------------/​
For Support, Updates, Questions, Releases regarding Sphinx join t.me/SphinxKernel
XDA:DevDB Information
Sphinx Kernel, Kernel for the Xiaomi Poco F1
Contributors
milouk
Source Code: https://github.com/milouk/Sphinx-Beryllium
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 3.6
Stable Release Date: 2020-03-13
Created 2018-11-02
Last Updated 2020-03-13
Pocoooooooooo F1 - Donations
If you see your name and not your xda name PM me
Donations made by:
@JJ111
@tnicko
Jerzy Gawryluk
Georgios Bitloglou
@tnicko
@bla.blub
@reg66
@Lazy Rich
@BakaPhoenix @Mrdream94
@emmanuelo7
Pascal Bourasseau
@niccio67
Ramgonda Desai
@MP2005
 @2WildFirE
@Dan_Jacques
@Bonz
@rodries
@fwb1973
@Lycidias
@dodjob
@makimac
@_phil07_
Arge_Canna
@SSmanBuraQ
@fmcheetah
@Migueliyo98
Andrea Nastro
Joao Martinho
Thanks again guys!
Changelog
Sphinx v1.7
-Upstreamed to Linux Version 4.9.135
-Merged ext4 upstreamed commits
-Merged Lineage 16.0 Upstream commits
-Now Compiling with Uber Toolchain 6.4.1
-Added Zen v2 I/O Scheduler
-Added TCP Congestion Algorithms (bic, cdg, cubic, westwood, htcp, hstcp, hybla, vegas, scalable, lp, veno, yeah, illinois) default is cdg
-Improved msm_performance
-Enabled USB Fastcharge up to 900 mAh
-Added blu_schedutil
-Makefile Optimizations
-Added LED Notification Control
-Enabled LZ4 Compression Algorithm for Zram
-Now Sphinx comes Pre-Configured out of the box for balance
-Support F2FS File System
Sphinx v1.8
-Compiled with Uber Toolchain 9.0.0 tuned for Snapdragon 845
-Added Adreno Idler
-Added Frandom Random Generator
-Tuned-Up Westwood TCP
-Added Simple Low Memory Killer
-Replaced Cpu_boost with Cpu_Input_Boost driver
-Adapted Dynamic Schedtune Boost to Cpu_Input_Boost
-Added Devfreq_boost driver
-Added alucard_schedutil
-Added darkness_schedutil
-Added pwrutilx_schedutil
-Zram Upstream Updates
-Crypto: Now compiling with armv8.2-a flag
-Updated WireGuard
-Added DCTCP TCP Algorithm
-Added BBR TCP Algorithm
Sphinx v1.8.7
-Removed Adreno Idler
-Compiled with GNU GCC 8.2.1
-Removed Simple Low Memory Killer
-Removed Cpu_Input_Boost / Devfreq_Boost
-Fixed ALL Reboot Issues
-Improved KCAL Control
Sphinx v1.9
-Now Building with Custom Uber Toolchain 9.0.0 with various optimizations for SnapDragon 845
-Upstreamed from CAF to 4.9.136 , 4.9.137, 4.9.138, 4.9.139 and 4.9.140
-Added Tripandroid I/O Scheduler
-Added Sociopath TCP Algorithm
-Massively Tuned Up Westwood and set it as default
-Improved Wakelock Blocker
-Reduced a lot Latency
-Upgraded to AdrenoBoost v2.1
-Updated WireGuard
-Merged CAF Tag CAF LA.UM.6.3.r4-05800-sdm845.0
-Set the Kernel's Base Frequency to 500 HZ
-Support NTFS File System
Sphinx v2.0
-Upstream to 4.9.141, 4.9.142, 4.9.143
-Updated TouchScreen to 8.12.6
-Underclocked GPU to 180 MHz
-Set Initial GPU Frequency to 180 MHz
-Improved Memcpy spped by 15%
-Added Sound Control (Only Headphones and Mic)
-Updated LZ4 Module
-Fixed ExFAT and NTFS File Systems
-Decreased the Time the GPU needs to enter Idle Module
-Improved Battery Drop Issue (NOT fixed, just improved)
-Merged some SnapDragon 845 Patches
-Removed Pwrutilx, Alucardsched, Darkness_Sched and Blu_schedutil as they were Unstable.
-Blocked Some extra Wakelocks
-Now Sphinx comes PRE-CONFIGURED out of the box. Just Flash And Forget (You need Magisk)
-Updated WireGuard
-Merged Lineage Latest Changes
-Some Battery Saving Patches
-Much more minor things --> Check GitHub
Sphinx v2.1
-Upstreamed to 4.9.145
-Re-Based Sphinx Kernel tree from scratch based on CAF Pie Tag
-Wifi working on all Roms
-Touch Firmware from 8.12.10
-Pre-Configured settings optimized a bit more
-Merged Latest Lineage Changes
-Updated WireGuard
-Many more bug fixes and Optimizations --> GitHub
Sphinx v2.2
-Upstreamed to 4.9.147
-Updated WiFi Driver from CAF Tag LA.UM.7.3.r1-0660-sdm845.o
-Merged Latest Lineage OS Changes
-Built with SdClang for maximum optimization and performance
-Merged Touch Firmware 8.12.20
-Updated AnyKernel2
-Updated Schedutil Governor
-Merged some cpufreq patches from Upstream
-Merged a commit for smoother Frequency downscaling
-Cleaned and Improved pre-configured Settings
-Fixed the bug during Installation for users with 9.0 and not 9
-Updated WireGuard
-Many more bug fixes and Optimizations --> GitHub
Sphinx v2.3
-Linux Upstream to 4.9.148
-Merge CAF Tag 'Merge tag ''LA.UM.7.3.r1-06600-sdm845.0' into kernel.lnx.4.9.r11-rel ~8.000 Changes
-Merge Lineage OS Changes
-Compiled with LATEST sdClang 6.0.9 from Qualcomm
-Merged 8.12.27 Touch Firmware
-Many ufs (mobile ssd) improvements
-Added Anxiety I/O Scheduler
-Improved Dyanamic Schedtune frequency scaling
-Patched some memory Leaks
-Some Battery improvement commits
-Updated WireGuard
-Many more changes --> check GitHub
Sphinx v2.4
-Upstream CAF/Linux version to 4.9.151
-Merged some commits for performance improvement
-Added High Brightness Support
-Merged some commits that improved wakelocks
-Enabled Nap Mode for Adreno 630 GPU
-Adjusted Energy Model to be inline with Pixel 3
-Added BFQ I/O Scheduler v8r10
-Fixed issue with stuck frequencies
-Massive refinement of pre-configured settings. (Note 1)
-Removed TouchBoost control from userspace
-Merged many Scheduler commits
-Merge Some EAS improvement commits
-Merged Touchscreen Drivers from Official Xiaomi's Pie Kernel release.
-Merge Lineage 16.0 Changes
-Update WireGuard
-Many more commits --> Check GitHub
Sphinx v2.5
-Upstreamed from 4.9.151 to 4.9.155
-Merged CAF Tag LA.UM.7.3.r1-06700-sdm845
-Merged some Camera improvements (not feature improvements...code improvements. Sphinx is not a camera app)
-Updated Touch Firmware to 9.1.24
-Update display panel drivers from MiCode/dipper-p-oss release
-Updated Wifi drivers
-Updated Sound drivers
-Updated SdFat Driver to v2.1.8 and merged some upstream commits from 4.13
-Updated BFQ I/O Scheduler to v8r12 and also merged mnany fixes
-Improved Cpu-Boost driver
-Reduced the log spam to improve performance
-Merged a commit for entering sleep state quicker
-Merged a commit that will make face unlock much quicker
-Merged a commit that will fix frequency scaling. So now governor's frequency change requests will be followed.
-Added Toggle for disabling newly added devices
-Disabled some TCP Congestion Algorithms to make the image lighter
-Enabled Support for Ralink 27xx / 28xx / 30xx external wifi adapters.
-Merged some Power Efficient Workqueue Changes that can save some battery.
-Fixed a stupid warning that was in dmesg.
-Cleaned the script and also now you do NOT need Root (Magisk) for pre-configured settings to apply. (thanks to @rodries)
-Updated WireGuard Backend
-Merges Lineage's latest sources.
-Many more changes --> Check GitHub
Sphinx v2.6
-Upstreamed to Linux 4.9.162
-Merged CAF TAG LA.UM.7.3.r1-06900-sdm845.0
-Fixed Carrier Video Calling
-Now compiling with Dragon Toolchain based on Clang 9.0.0
-Merged some upstream F2FS commits
-Fixed F2FS Verity.
-Merged some Power Efficient Workqueue commits to save some battery
-Improved Sociopath TCP Algorithm
-Merged some TCP improvement commits
-Enabled MIN_CAPACITY_CAPPING feature
-Added an extra option for Dynamic Schedtune Boost Duration in /sys/module/cpu_boost/parameters/dynamic_stune_boost_ms and improved the code.
-Merged some more Dynamic SchedTune Boost improvement commits.
-Fixed HDR Issue after watching Youtube
-Added K-Lapse Feature
-Merged Lineage 16 Branch
-Updated WireGuard
-Improved Default Settings and fixed some of them not sticking.
-Many More --> Check GitHub
Sphinx v2.7
-Upstreamed to Linux 4.9.166
-Improved Frequency switching
-Improved Bluetooth performance
-Improved K-Lapse
-Added some more Power Efficient Workqueues
-Merged some ufs improvements
-Checked out ion to Android Q Developer Preview 1
-Fixed usb tethering.
-Merged some wakelock power saving commits
-Merged Lineage 16 Branch
-Updated WireGuard
-Many More --> Check GitHub
Sphinx v2.8
-Upstreamed to Linux 4.9.172
-Merged CAF Tag LA.UM.7.3.r1-07400-sdm845.0
-Added MSM Thermal Driver
-Fixed many Clang warnings
-Enabled Ultra Power Saving Mode for the Display Panel
-Increased CMA Memory from 200 MB to 296 MB
-Improved Boot Speed
-Merged many f2fs improvement commits
-Merged some UFS improvement commits
-Merged some Camera driver commits
-Exposed Drop Caches
-Merged Lineage 16 Branch
-Updated WireGuard
-Many More --> Check GitHub
Sphinx v2.9
-Upstream to Linux 4.9.184
-Merged CAF Tag LA.UM.7.3.r1-07900-sdm845.0
-Merged all the latest Security Patches
-Updated Wifi Drivers
-Adapted Some Compilers Flags to make it easier for other developers to compile Sphinx
-Updated TouchScreen Drivers from MIUI 9.6.20
-Merged some GPU fixes
-Updated K-Lapse to Version 5.0
-Fixed some memory leaks and race conditions
-Reverted Simple Thermal Driver (too many issues)
-Fixed random reboots issues
-Fixed Big Cluster stuck at 825 Mhz
-Merged Xbox Controller Drivers and more Gamepad Drivers
-Updated WireGuard Backend
-Merged Lineage 16.0 Branch
Sphinx v3.0
- Upstreamed to Linux 4.9.189
- Now compiling with my Custom GCC-10 Toolchain, built with optimization flags.
- Added Many SDM 845 specific optimization flags
- Merged Lineage 16.0 latest changes
- Merged Many SchedTune Commits
- Added VMStat and set it to 10
- Further Reduced Dirty Rations
- Merged Some UFS upstream Commits
- Improved Random Driver
- Turned off a lot of useless debug info
- Enabled RCU Boost
- Merged CFQ and other I/O improvement Commits
- Merged a bunch of sched Commits
- Added and Enabled SchedTune Assist Driver
- Added and Enabled CPUSet Assist Driver
- Merged some Workqueue commits.
- Added DTS X Eagle Driver.
- Added PSI.
- Fixed Phone rebooting into Fastboot Mode on MIUI Beta.
- Added DriveDroid Support for the first time for Pocophone.
- Added Pocket Judge Driver (this driver determines whether your phone is in your pocket and saves some extra battery)
- Merged a bunch o memory upstream commits.
- Updated WireGuard Backend.
- Many Many Many more commits --> Check GitHub.
Sphinx v3.1
- Upstreamed to Linux 4.9.194
- Merged Lineage 16.0 and 17.0 latest changes
- Updated my GCC 10 Toolchain to yesterdays commits
-Fixed Random Reboot issue
-Android 10 Support
- Added HID Mouse and Keyboard Support (you might need to set kernel to permissive for this to work)
-Zipped up with latest Anykernel3 thanks to @osm0sis
-Updated WireGuard Backend.
Sphinx v3.2
- Now Supporting only Android 10 (Q)
- Upstreamed to Linux 4.9.217
- Compiled with latest Clang 11
- Merged Latest Lineage 17.1 Sources
- Updated Wireguard backend
- Add Simple Low Memory Killer
- Zipped up with latest Anykernel3
- Applied new patches for SafetyNet Flags
- Many Many Many more commits --> Check GitHub.
Sphinx v3.3
- Upstream to Linux Kernel 4.9.225
- Merged Latest Lineage Changes
- Add initial HID Patch (I have NOT tested it)
- Update to latest Q Xiaomi Sources
- Fixed Auto Brightness and other display issues
- Memory and Cache Optimizations
- Merged latest updates for Simple Low Memory Killer Driver
- Updated Wireguard Kernel Backend
- Many Many Many more commits --> Check GitHub.
Sphinx v3.4
- Upstream to Linux Kernel 4.9.229
- Merged Latest Lineage Changes
- Fixed touch issues with FTS Panels
- Fixed High Auto Brightness
- Merged latest updates for Simple Low Memory Killer Driver
- Updated Wireguard Kernel Backend
- Many Many Many more commits --> Check GitHub.
Sphinx v3.5
- Upstream to Linux Kernel 4.9.237
- Merged Latest Lineage Changes
- Merge tag 'LA.UM.8.3.r1-08100
- Merge tag 'LA.UM.8.3.r1-08500-sdm845.0
- Rebase lineage 18.0
- Support for Android 11
- Improve power efficient workqueues
- Expose interface for showing FPS on compatible roms
- Merge latest LOS changes
- Remove some ethernet drivers and added usb ethernet drivers
- Merged latest updates for Simple Low Memory Killer Driver
- Updated Wireguard Kernel Backend
- Many Many Many more commits --> Check GitHub.
Sphinx v3.6
- Better Android 11 support
- Use WireGuard from Upstream 5.4
- Upstreamed to Linux 4.9.261
- Merged latest CAF tags
- Merged latest Lineage Sources
- Picked some LMK Driver update commits
- Many Many Many more commits --> Check GitHub.
Previous Versions
Sphinx 1.7:
https://www.androidfilehost.com/?fid=11410932744536993761
Sphinx 1.8:
https://www.androidfilehost.com/?fid=11410963190603845145
Sphinx 1.8.7:
https://www.androidfilehost.com/?fid=11410963190603854120
Sphinx 1.9:
https://www.androidfilehost.com/?fid=11410963190603858063
Sphinx 2.0:
https://www.androidfilehost.com/?fid=11410963190603869686
Sphinx 2.1:
https://www.androidfilehost.com/?fid=11410963190603876440
Sphinx 2.2:
https://www.androidfilehost.com/?fid=11410963190603880155
Sphinx 2.3:
https://www.androidfilehost.com/?fid=11410963190603888715
Sphinx 2.4:
https://www.androidfilehost.com/?fid=11410963190603903270
Sphinx 2.5:
https://www.androidfilehost.com/?fid=1395089523397888802
Sphinx 2.6:
https://www.androidfilehost.com/?fid=1395089523397909716
Sphinx 2.7:
https://www.androidfilehost.com/?fid=1395089523397929964
Sphinx 2.8:
https://www.androidfilehost.com/?fid=1395089523397958919
Sphinx 2.9:
https://www.androidfilehost.com/?fid=6006931924117911422
Sphinx 3.0:
https://www.androidfilehost.com/?fid=6006931924117935490
Sphinx v3.1 - Final Sphinx for Pie
https://www.androidfilehost.com/?fid=1899786940962594232
Sphinx v3.2
https://www.androidfilehost.com/?fid=4349826312261759378
Sphinx v3.3
https://www.androidfilehost.com/?fid=4349826312261822112
Sphinx v3.4
https://www.androidfilehost.com/?fid=8889791610682883785
Sphinx v3.5
Sphinx-v3.5.zip | Kernel by milouk for Poco F1
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Version 1.7
Ahoy Ladies and Gentlemen.
Time for new version!
Changelog:
1) Upstreamed to Linux Version 4.9.135 - Better Security / Stability / Performance
2) Merged ext4 upstreamed commits - Better System Performance
3) Merged Lineage 16.0 Upstream commits - Better Stability / Battery / Performance
4) Now Compiling with Uber Toolchain 6.4.1 - Better Battery/System Performance
5) Added Zen v2 I/O Scheduler - Better I/O Performance
6) Added TCP Congestion Algorithms (bic, cdg, cubic, westwood, htcp, hstcp, hybla, vegas, scalable, lp, veno, yeah, illinois) default is cdg - Better Internet Performance
7) Improved msm_performance - Better Performance
8) Enabled USB Fastcharge up to 900 mAh - Note (1)
9) Added blu_schedutil - Note (2)
10) Makefile Optimizations - Better Performance
11) Added LED Notification Control- Note (3)
12) Enabled LZ4 Compression Algorithm for Zram - Better Battery / Performance
13) Now Sphinx comes Pre-Configured out of the box for balance
14) Support F2FS File System - If Rom Supports it -
Notes:
Note 1: This is USB Fast Charge which means it works ONLY when you charge from a computer. The default output was 500 mAh and now it's 900 mAh (which is the maximum a usb port can support)
Note 2: This is a new EAS Governor ported from blu_spark Kernel for OnePlus 6. Currently it is almost the same with the schedutil governor from Pixel 3
Note 3: Many of you made some comment about the LED Notification being brighter etc. Now you can configure it yourself. THOUGH there is not interface for that in ANY App, you need to do it yourself.
Specifically:
Code:
* /sys/class/leds/white/device/led_fade (rw)
0 : blink
1 : fade (default)
* /sys/class/leds/white/device/led_intensity (rw)
0 : stock intensity
1-100 : 0% to 100% of stock intensity
Note: Does only work for static led, not fading/blinking !!!
* /sys/class/leds/white/device/led_speed (rw)
0 : stock speed
1 : continuous notification light
2-12 : 2 = very slow to 20 = very fast
I have listened to your requests to bring Sphinx to Poco and did everything in my powers to satisfy most of you and ensure this version is stable so if you enjoy this version don't forget to buy me a coffee
Cheers :highfive:
Wow, Amazing. Can i flash this on stock miui beta 8.11.1 also
Great work.
Edit :
Just installed , super smooth. Everything works great so far. Antutu 291328. Not sure if it is placebo but face unlock seems to be faster, haven't been able to see lock screen in the trials I have done so far.
Rom is stock beta 8.11.2 and no root yet.
Will root and tweak with suggested ex kernel manager and report
sanjay0501 said:
Wow, Amazing. Can i flash this on stock miui beta 8.11.1 also
Great work.
Click to expand...
Click to collapse
Of course you can mate
frequency on big cluster is max on blu schedutil whilst on omnirom
thanks sounds really good gonna try it right after i flashed 8.11.1
Skinpipe said:
frequency on big cluster is max on blu schedutil whilst on omnirom
Click to expand...
Click to collapse
Its how it works. It maxes the big but it lowers little cores. Currently its almost a direct copy from Pixel's 3 schedutil. If you dont like this behaviour i would suggest regular schedutil. Regarding blu_schedutil you can read more on its original thread "blu_spark kernel for OnePlus 6"
milouk said:
Its how it works. It maxes the big but it lowers little cores. Currently its almost a direct copy from Pixel's 3 schedutil. If you dont like this behaviour i would suggest regular schedutil. Regarding blu_schedutil you can read more on its original thread "blu_spark kernel for OnePlus 6"
Click to expand...
Click to collapse
ill check it out im familiar with eng.stk' work
Skinpipe said:
ill check it out im familiar with eng.stk' work
Click to expand...
Click to collapse
Awesome. Its a direct port from his kernel.
milouk said:
Awesome. Its a direct port from his kernel.
Click to expand...
Click to collapse
you absolutely sure its supposed to stay at 2803mhz constantly that is a huge power drain and makes no sense?
Skinpipe said:
you absolutely sure its supposed to stay at 2803mhz constantly that is a huge power drain and makes no sense?
Click to expand...
Click to collapse
What im saying is that i picked the code EXACTLY like it is. Its 99% the same as Pixel 3 schedutil. Also youll notice that the battery drainisnt at all as huge as you think.
Morever while merging there wasnt even one conflict the code is 100% correct and exactly as eng.stk wrote it. Ifnyou have questions about the code im not the person to ask no offense. Im not taking the credits nor the blame for someone elses work. I just think its a nice addition especially for users that need performance.
Also as you may have noticed its not the default gov for that exact reason.
**Also of course there is always the possibility to remove a feature if i see no one finds it usefull.
Btw i always listen to feedback and try to satisfy most of you.
Cheers
milouk said:
What im saying is that i picked the code EXACTLY like it is. Its 99% the same as Pixel 3 schedutil. Also youll notice that the battery drainisnt at all as huge as you think.
Morever while merging there wasnt even one conflict the code is 100% correct and exactly as eng.stk wrote it. Ifnyou have questions about the code im not the person to ask no offense. Im not taking the credits nor the blame for someone elses work. I just think its a nice addition especially for users that need performance.
Also as you may have noticed its not the default gov for that exact reason.
Cheers
Click to expand...
Click to collapse
understood, my apologies
Skinpipe said:
understood, my apologies
Click to expand...
Click to collapse
Hahaha didnt mean to offend you at all what i was tryin to say is that its not my code so i cant guarantee what its supposed or not supposed to do. Apologies if i offended you mate
milouk said:
Hahaha didnt mean to offend you at all what i was tryin to say is that is not my code so im cant guarantee what is supposed or not supposed to do. Apologies if i offended you mate
Click to expand...
Click to collapse
i was sincere not sarcastic no offence taken, honest:good:
Foourck yesssss ? you are in the Poco team ???? really really looking forward to your awesomeness on the S845 ??.
dodjob said:
Foourck yesssss ? you are in the Poco team ???? really really looking forward to your awesomeness on the S845 ??.
Click to expand...
Click to collapse
Oooouuu heello my friend. Nice to see you here i hope i wont let you down
Introduction post looks AWESOME, this is what I've been waiting for - great kernel. Flashing right away.

Categories

Resources