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

Search This thread

milouk

Recognized Developer
Nov 7, 2013
1,877
4,974
Athens
milouk.me
1xXnZk3.png
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 dipper 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 dipper 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
  • 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.1 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=1899786940962594236

10/11 - Current
Sphinx v3.6 : https://www.androidfilehost.com/?fid=2188818919693754618


/-----------------------------------------------------------------------------/


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 Mi 8

Contributors
milouk
Source Code: https://github.com/milouk/Sphinx-Dipper

Kernel Special Features:

Version Information
Status:
Stable
Current Stable Version: 3.6
Stable Release Date: 2021-03-13

Created 2018-09-17
Last Updated 2021-03-13
 
Last edited:

milouk

Recognized Developer
Nov 7, 2013
1,877
4,974
Athens
milouk.me
Changelog

Sphinx v1.1
-mac80211 Injection
-WireGuard Support

Sphinx v1.2
-Wifi fixed on Pie Roms
-ADB fixed on Pie Roms

Sphinx v1.3
-Enabled WireGuard
-Added Dynamic Stune Boost v3
-Added AdrenoBoost
-Pass SafetyNet without Magisk/Root (Might fail for other reasons)
-Added Boeffla Wakelock Blocker

Sphinx v1.4
-CRC Check Disabled (30% Performance Boost)
-Makefile Optimizations
-MSM Touchboost
-Added I/O Schedulers: Zen, Fiops, Sio, Maple
-Improved WireGuard

Sphinx v1.5
-Advanced Color Control
-Upstreamed to 4.9.73
-Vibration Control
-Backlight Minimum Birghtness Control
-Power Efficient Workqueues
-Add Support For Atheros 9 Wireless Adapters

Sphinx v1.6
-Upstreamed to Linux Version 4.9.131
-Added IR Drivers
-Update WireGuard
-Support sdFAT Filesystem
-Support exFAT Filesystem
-TTL Target Support
-IP Mangle Support
-Fixed WiFi for MIUI based on Pie 9.0.0
-New Square Root Algorithm 3x faster
-Fsync Control
-Disabled Gentle Fair Sleepers
-Upstream Updates from CAF LA.UM.6.3.r4-05300-sdm845.0

Sphinx v1.6.1
-Fixed IR Camera Face Unlock for MIUI Based Roms

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.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
-Pre-Configured settings optimized 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
-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
-Fixed OIS
-Many ufs (mobile ssd) improvements
-Added Anxiety I/O Scheduler
-Improved Dynamic 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.
-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
-Properly Fixed OIS
-Merged some Camera improvements (not feature improvements...code improvements. Sphinx is not a camera app)
-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 many 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
-Updated Wifi Driver according to 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 [Note 1]
-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.
-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 Disaply 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 devs to compile Sphinx
-Updated TouchScreen Drivers from MIUI 9.6.20
-Merged many GPU fixes
-Updated K-Lapse to Version 5.0
-Fixed some memory leaks and race conditions
-Reverted Simple Thermal Driver
-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
- Added Exposure Adjustment Driver (FlickerFree)
- 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 Mi 8.
- 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
- Zipped up with latest Anykernel3 thanks to @osm0sis
- Updated WireGuard Backend.
- Many Many Many more commits --> Check GitHub.

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 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 v1.1
https://www.androidfilehost.com/?fid=1322778262904015258

Sphinx v1.2
https://www.androidfilehost.com/?fid=1322778262904017280

Sphinx v1.3
https://www.androidfilehost.com/?fid=1322778262904018435

Sphinx v1.4
https://www.androidfilehost.com/?fid=1322778262904020516

Sphinx v1.5
https://www.androidfilehost.com/?fid=1322778262904029873

Sphinx v1.6
https://www.androidfilehost.com/?fid=11410932744536986635

Sphinx v1.6.1
https://www.androidfilehost.com/?fid=11410932744536987341

Sphinx v1.7
https://www.androidfilehost.com/?fid=11410932744536993616

Sphinx v1.8
https://www.androidfilehost.com/?fid=11410963190603845152

Sphinx v1.9
https://www.androidfilehost.com/?fid=11410963190603859064

Sphinx v2.0
https://www.androidfilehost.com/?fid=11410963190603869682

Sphinx v2.1
https://www.androidfilehost.com/?fid=11410963190603876434

Sphinx v2.2
https://www.androidfilehost.com/?fid=11410963190603880151

Sphinx v2.3
https://www.androidfilehost.com/?fid=11410963190603888694

Sphinx v2.4
https://www.androidfilehost.com/?fid=11410963190603903265

Sphinx v2.5
https://www.androidfilehost.com/?fid=1395089523397888776

Sphinx v2.6
https://www.androidfilehost.com/?fid=1395089523397909738

Sphinx v2.7
https://www.androidfilehost.com/?fid=1395089523397929961

Sphinx v2.8
https://www.androidfilehost.com/?fid=1395089523397958905

Sphinx v2.9
https://www.androidfilehost.com/?fid=6006931924117911406

Sphinx v3.0
https://www.androidfilehost.com/?fid=6006931924117935483

Sphinx v3.1 - Final Sphinx for Pie
https://androidfilehost.com/?fid=1899786940962594236

Sphinx v3.2
https://www.androidfilehost.com/?fid=4349826312261759372

Sphinx v3.3
https://www.androidfilehost.com/?fid=4349826312261822093

Sphinx v3.4
https://www.androidfilehost.com/?fid=8889791610682883767

Sphinx v3.5
 
Last edited:

Flawn

Senior Member
Apr 8, 2016
148
22
Ffm 069
Hello Guys,

I am the developer of Sphinx Kernel for Bullhead.
I bought a Mi 8 but it still hasn't arrived , i am expecting it this week or next week.

However, i have managed to compile a Test kernel for Mi 8 (Dipper) from stock sources.
It is very possible that it won't boot. I would like someone to test whether it boots or not. Currently it contains no customizations but once i know it boots i will start adding features.

P.S You take the risk, if you brick your device i bear no responsibility.

Download Link : https://www.androidfilehost.com/?fid=1322778262904007622

XDA:DevDB Information
Sphinx Kernel, Kernel for the Xiaomi Mi 8

Contributors
milouk
Source Code: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/dipper-o-oss

Kernel Special Features:

Version Information
Status: Testing

Created 2018-09-17
Last Updated 2018-09-17

It wont boot for me too. I also tried to build my own kernel and it built successful but it didn't boot too.... I dont know why

---------- Post added at 01:56 PM ---------- Previous post was at 01:52 PM ----------

How far did it go? did it reboot in to twrp? did it go until the boot animation?

Its like going first to this unlocked screen at first then the screen blacks out and it goes to fastboot. Lemme check the logcat
 
  • Like
Reactions: milouk

milouk

Recognized Developer
Nov 7, 2013
1,877
4,974
Athens
milouk.me
It wont boot for me too. I also tried to build my own kernel and it built successful but it didn't boot too.... I dont know why

mmm Interesting, im wondering whether the "bug" is in the source itself or in the Anykernel2 config. If i had to guess i would say both of them are correct hahaha. i might change a thing or two and if it doesnt work im going to wait for my mi 8 to arrive. Also which rom did you flash it on?
 

milouk

Recognized Developer
Nov 7, 2013
1,877
4,974
Athens
milouk.me
It wont boot for me too. I also tried to build my own kernel and it built successful but it didn't boot too.... I dont know why

---------- Post added at 01:56 PM ---------- Previous post was at 01:52 PM ----------



Its like going first to this unlocked screen at first then the screen blacks out and it goes to fastboot. Lemme check the logcat

a dmesg would be great!

by the way which defconfig did you build?
 

Flawn

Senior Member
Apr 8, 2016
148
22
Ffm 069
i used the same... weird..

So here is the log i got from recovery.
The only thing i could see that the boot partition is busy
"No such file or directory
mount: mounting /dev/block/sde48 on /system failed: Device or resource busy"
And one thing.... Maybe the Kernel is for MIUI 9 8.0 (don't know if it exists i am on MIUI 10 Global stable xiaomi.eu)

EDIT:
Excuse me here is the real dmesg
 

Attachments

  • last_log.txt
    63.8 KB · Views: 26
  • last_kmsg.txt
    96.9 KB · Views: 19
Last edited:

milouk

Recognized Developer
Nov 7, 2013
1,877
4,974
Athens
milouk.me
So here is the log i got from recovery.
The only thing i could see that the boot partition is busy
"No such file or directory
mount: mounting /dev/block/sde48 on /system failed: Device or resource busy"
And one thing.... Maybe the Kernel is for MIUI 9 8.0 (don't know if it exists i am on MIUI 10 Global stable xiaomi.eu)

EDIT:
Excuse me here is the real dmesg

ok so from the log you sent me i see this

Code:
[    6.517314] init: [libfs_mgr]Failed to get verity metadata '/dev/block/platform/soc/1d84000.ufshc/by-name/vendor': File exists
[    6.517378] init: Failed to setup verity for '/vendor': File exists
[    6.517415] init: Failed to mount required partitions early ...
[    6.517421] init: panic: rebooting to bootloader
[    6.517433] init: Reboot start, reason: reboot, rebootTarget: bootloader
[    6.517446] init: android::WriteStringToFile open failed: No such file or directory
[    6.517460] init: Shutdown timeout: 6000 ms

could you please locate the fstab file of Mi 8 and send it to me? i want to see the boot block name. Also if i had to guess about the kernel not booting id say it has to do with the kernel requiring encryption (?) im not sure ill dig into it
 

Top Liked Posts

  • There are no posts matching your filters.
  • 98
    1xXnZk3.png
    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 dipper 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 dipper 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
    • 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.1 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=1899786940962594236

    10/11 - Current
    Sphinx v3.6 : https://www.androidfilehost.com/?fid=2188818919693754618


    /-----------------------------------------------------------------------------/


    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 Mi 8

    Contributors
    milouk
    Source Code: https://github.com/milouk/Sphinx-Dipper

    Kernel Special Features:

    Version Information
    Status:
    Stable
    Current Stable Version: 3.6
    Stable Release Date: 2021-03-13

    Created 2018-09-17
    Last Updated 2021-03-13
    36
    Changelog

    Sphinx v1.1
    -mac80211 Injection
    -WireGuard Support

    Sphinx v1.2
    -Wifi fixed on Pie Roms
    -ADB fixed on Pie Roms

    Sphinx v1.3
    -Enabled WireGuard
    -Added Dynamic Stune Boost v3
    -Added AdrenoBoost
    -Pass SafetyNet without Magisk/Root (Might fail for other reasons)
    -Added Boeffla Wakelock Blocker

    Sphinx v1.4
    -CRC Check Disabled (30% Performance Boost)
    -Makefile Optimizations
    -MSM Touchboost
    -Added I/O Schedulers: Zen, Fiops, Sio, Maple
    -Improved WireGuard

    Sphinx v1.5
    -Advanced Color Control
    -Upstreamed to 4.9.73
    -Vibration Control
    -Backlight Minimum Birghtness Control
    -Power Efficient Workqueues
    -Add Support For Atheros 9 Wireless Adapters

    Sphinx v1.6
    -Upstreamed to Linux Version 4.9.131
    -Added IR Drivers
    -Update WireGuard
    -Support sdFAT Filesystem
    -Support exFAT Filesystem
    -TTL Target Support
    -IP Mangle Support
    -Fixed WiFi for MIUI based on Pie 9.0.0
    -New Square Root Algorithm 3x faster
    -Fsync Control
    -Disabled Gentle Fair Sleepers
    -Upstream Updates from CAF LA.UM.6.3.r4-05300-sdm845.0

    Sphinx v1.6.1
    -Fixed IR Camera Face Unlock for MIUI Based Roms

    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.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
    -Pre-Configured settings optimized 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
    -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
    -Fixed OIS
    -Many ufs (mobile ssd) improvements
    -Added Anxiety I/O Scheduler
    -Improved Dynamic 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.
    -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
    -Properly Fixed OIS
    -Merged some Camera improvements (not feature improvements...code improvements. Sphinx is not a camera app)
    -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 many 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
    -Updated Wifi Driver according to 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 [Note 1]
    -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.
    -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 Disaply 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 devs to compile Sphinx
    -Updated TouchScreen Drivers from MIUI 9.6.20
    -Merged many GPU fixes
    -Updated K-Lapse to Version 5.0
    -Fixed some memory leaks and race conditions
    -Reverted Simple Thermal Driver
    -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
    - Added Exposure Adjustment Driver (FlickerFree)
    - 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 Mi 8.
    - 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
    - Zipped up with latest Anykernel3 thanks to @osm0sis
    - Updated WireGuard Backend.
    - Many Many Many more commits --> Check GitHub.

    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 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 v1.1
    https://www.androidfilehost.com/?fid=1322778262904015258

    Sphinx v1.2
    https://www.androidfilehost.com/?fid=1322778262904017280

    Sphinx v1.3
    https://www.androidfilehost.com/?fid=1322778262904018435

    Sphinx v1.4
    https://www.androidfilehost.com/?fid=1322778262904020516

    Sphinx v1.5
    https://www.androidfilehost.com/?fid=1322778262904029873

    Sphinx v1.6
    https://www.androidfilehost.com/?fid=11410932744536986635

    Sphinx v1.6.1
    https://www.androidfilehost.com/?fid=11410932744536987341

    Sphinx v1.7
    https://www.androidfilehost.com/?fid=11410932744536993616

    Sphinx v1.8
    https://www.androidfilehost.com/?fid=11410963190603845152

    Sphinx v1.9
    https://www.androidfilehost.com/?fid=11410963190603859064

    Sphinx v2.0
    https://www.androidfilehost.com/?fid=11410963190603869682

    Sphinx v2.1
    https://www.androidfilehost.com/?fid=11410963190603876434

    Sphinx v2.2
    https://www.androidfilehost.com/?fid=11410963190603880151

    Sphinx v2.3
    https://www.androidfilehost.com/?fid=11410963190603888694

    Sphinx v2.4
    https://www.androidfilehost.com/?fid=11410963190603903265

    Sphinx v2.5
    https://www.androidfilehost.com/?fid=1395089523397888776

    Sphinx v2.6
    https://www.androidfilehost.com/?fid=1395089523397909738

    Sphinx v2.7
    https://www.androidfilehost.com/?fid=1395089523397929961

    Sphinx v2.8
    https://www.androidfilehost.com/?fid=1395089523397958905

    Sphinx v2.9
    https://www.androidfilehost.com/?fid=6006931924117911406

    Sphinx v3.0
    https://www.androidfilehost.com/?fid=6006931924117935483

    Sphinx v3.1 - Final Sphinx for Pie
    https://androidfilehost.com/?fid=1899786940962594236

    Sphinx v3.2
    https://www.androidfilehost.com/?fid=4349826312261759372

    Sphinx v3.3
    https://www.androidfilehost.com/?fid=4349826312261822093

    Sphinx v3.4
    https://www.androidfilehost.com/?fid=8889791610682883767

    Sphinx v3.5
    23
    Version 1.8

    Ahoy Ladies & Gentlemen!

    New Version is Up!

    Changelog:
    -First EVER Kernel built with Custom Uber Toolchain 9.0.0 specially tuned for A75 - A55 (Snapdragon 845). -System Performance/Battery-
    -Tuned-Up Westwood TCP -Network Performance-
    -Added Simple Low Memory Killer -System Performance/Battery-
    -Replaced Cpu_Boost with Cpu_Input_Boost -System Performance/Battery-
    -Adapted Dynamic Schedtune Boost v3 to cpu_input_boost -System Performance/Battery-
    -Added devfreq_boost -Gaming Performance/Battery-
    -Added alucard_schedutil -Balanced Governor-
    -Added darkness_schedutil -Performance Governor-
    -Added pwrutilx_schedutil -Battery Governor-
    -Zram Upstream Updates -System Performance/Stability-
    -Crypto: Compiled with armv8.2-a Flag -System Performance-
    -Added DCTCP TCP Congestions Algorithm -Network Performance-
    -Added Google's BBR TCP Algorithm -Network Performance-
    -Added a much quicker Random Generator called "Frandom" -System Performance- (Note 1)
    -Updated WireGuard
    -Updated Sphinx default settings
    -Many other improvements - check GitHub

    Notes
    Note 1: Frandom: for benchmarks against other Random Generator Drivers see here https://github.com/milouk/Sphinx-Dipper/commit/fa37b2692480d95510fb0ae0328380f1ce90e147


    As always i have tried to listen to everyone's feedback and spent countless hours developing Sphinx, so if you like Sphinx 1.8 and generally my work don't forget to buy me a coffee or a meal! :highfive:

    Cheers :D
    23
    Version 2.5

    Hello everyone.

    Did you miss me?

    I know you all have been waiting very patiently for a new update. I also know some of you thought this project my be dead. (lol no)

    My exams are over and it's about time for a maaaaassive update to catch up with everyone and everything.

    This update compared to 2.4 has OVER 1.000 commits added and more than 10.000 changes.

    Changelog:

    -Upstreamed from 4.9.151 to 4.9.155
    -Merged CAF Tag LA.UM.7.3.r1-06700-sdm845
    -Properly Fixed OIS
    -Merged some Camera improvements (not feature improvements...code improvements. Sphinx is not a camera app)
    -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 many 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

    Notes:
    If you come from another kernel flash your stock boot image first and then Sphinx. If you are on any other Sphinx Version you can dirty flash.


    So...you like it...and you don't know how to say thanks. Well, click here and get me a Big Mac - i will deeply appreciate it :D
    21
    Version 2.8

    Ahoy everyone :)

    Time for a maaaaaassive Update ;)

    Changelog:
    -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

    Installation:

    If you are coming from another CUSTOM kernel then dirty flash your ROM and then flash Sphinx.
    If you are coming from Sphinx Kernel , just dirty flash Sphinx.
    If you are on a Rom that uses a custom kernel as STOCK , dirty flash Sphinx.


    FAQ:
    [/B]
    -I'm having a huge drain what to do?
    -Make sure your bluetooth is turned of and reboot.


    -I'm Not entering deep sleep what to do?
    -It is a known R O M issue. You need to turn off bluetooth and reboot, then turn it on again and never reboot again with bluetooth ON.


    -My phone gets very warm when i play PUBG what to do?
    -It's just physics. You cannot do much.

    If you have any other questions join our telegram group t.me/SphinxKernel

    Finally:

    If you enjoy Sphinx kernel and would like to support me, Click Here to buy me a coffee
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone