[KERNEL] Pepsy Kernel AOSP-v0.3 [equuleus] - Xiaomi Mi 8 Pro Guides, News, & Discussion

FEATURES​
Compiled with SnapDragon LLVM 6.x
Compatible with android 9.x
Upstream to latest 4.9 kernel tag from kernel.org
Synced with latest changes from LineageOS
Synced with latest changes from CodeAuroraForum
Boeffla's Wakelock Blocker
Backlight Dimmer
KCAL Post Processing Control
WireGuard
Disabled CRC check
Swappiness 0
Bic, Cubic, Westwood, Hstcp, Hybla, Htcp, Vegas, Reno, Scalable, Lp, Yeah and Illinois advanced TCP
Disabled various logspam of various drivers
Optimized cpu-idle
... and much more to come
Please refer to GitHub for a complete features list

alinjeb54 said:
FEATURES​
Compiled with SnapDragon LLVM 6.x
Compatible with android 9.x
Upstream to latest 4.9 kernel tag from kernel.org
Synced with latest changes from LineageOS
Synced with latest changes from CodeAuroraForum
Boeffla's Wakelock Blocker
Backlight Dimmer
KCAL Post Processing Control
WireGuard
Disabled CRC check
Swappiness 0
Bic, Cubic, Westwood, Hstcp, Hybla, Htcp, Vegas, Reno, Scalable, Lp, Yeah and Illinois advanced TCP
Disabled various logspam of various drivers
Optimized cpu-idle
... and much more to come
Please refer to GitHub for a complete features list
Click to expand...
Click to collapse
Source
t.me/pepsykernel/187​

alinjeb54 said:
FEATURES​
Compiled with SnapDragon LLVM 6.x
Compatible with android 9.x
Upstream to latest 4.9 kernel tag from kernel.org
Synced with latest changes from LineageOS
Synced with latest changes from CodeAuroraForum
Boeffla's Wakelock Blocker
Backlight Dimmer
KCAL Post Processing Control
WireGuard
Disabled CRC check
Swappiness 0
Bic, Cubic, Westwood, Hstcp, Hybla, Htcp, Vegas, Reno, Scalable, Lp, Yeah and Illinois advanced TCP
Disabled various logspam of various drivers
Optimized cpu-idle
... and much more to come
Please refer to GitHub for a complete features list
Click to expand...
Click to collapse
Thank You! At last some development for our device (Apart of course from fanix-uk LineagoOS)
Is this kernel for AoSP ROMs or MIUI ROMs (AoSP I guess, but not specified).
I look forward to testing and I will come back to you with feedback.

nealed said:
Thank You! At last some development for our device (Apart of course from fanix-uk LineagoOS)
Is this kernel for AoSP ROMs or MIUI ROMs (AoSP I guess, but not specified).
I look forward to testing and I will come back to you with feedback.
Click to expand...
Click to collapse
Experimented with Android 10
It works fine
And soon a lot of rom

alinjeb54 said:
Source
t.me/pepsykernel/187​
Click to expand...
Click to collapse
Better standby battery life: 19% lost in 21 hours, this is consideraby better than stock kernel on LineageOS.
No adverse effects - buttery smooth without glitches.
I will provide feedback once I have tested more (screen on time etc.).

nealed said:
Better standby battery life: 19% lost in 21 hours, this is consideraby better than stock kernel on LineageOS.
No adverse effects - buttery smooth without glitches.
I will provide feedback once I have tested more (screen on time etc.).
Click to expand...
Click to collapse
Yes it works perfectly anyway i have tried it on android 10 working closely

does this work on Miui V10.3.5.0.PECMIXM?

Related

[KERNEL][CM-based] Pimped Kernel (F2FS|SoundControl|DT2Wake|CPU & GPU OC|Color Control|Voltage|FastCharge|Intelliplug...)

[KERNEL][CM-based] Pimped Kernel (F2FS|SoundControl|DT2Wake|CPU & GPU OC|Color Control|Voltage|FastCharge|Intelliplug...)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
THIS KERNEL IS ONLY FOR AOSP/CM BASED ROMS
(= NOT COMPATIBLE WITH SONY FIRMWARES)​
All the kernel features are controllable through my Pimp My Z1 app, (thread here).​
Features
Sound Control: Faux123's GPL Sound Control 3
Color Calibration Control: LCD_KCAL interface ported to the Z1 by @DooMLoRD, gives full control over the RGB channels of the display
GPU OC: 200MHz / 320MHz / 389MHz / 487.5MHz / 533MHz / 600MHz frequency scaling steps
CPU OC: up to 2.26GHz
CPU Voltage Control: use TricksterMod for the moment
DoubleTap2Wake: double-tap the screen to wake-up the device
Intelliplug: Faux123's latest intelliplug hotplugging driver with eco mode (v5.0)
[*]MPDecision: showp1984's open-source & customizable msm_mpdecision hotplugging driver
Dynamic Fsync: Faux123's Dynamic File Sync v1.5
PowerSuspend: Faux123's power_suspend driver (replacing early_suspend)
Snake Charmer: Faux123's msm_cpufreq_limit CPU frequency limiter driver
Fast Charge: Faux123's fast_charge driver, allowing to set the amperage of the charger or USB port your device is plugged-in to
CPU Boost: Faux123's CPU Input Boost module (will soon add controls for it in Pimp My Z1)
GPU Wake-on-touch: allows touch events to wake the GPU if it was previously in slumber
KSM: Kernel Same-page Merging enabled
F2FS Support: Samsung's F2FS nand-optimized file system support
exFAT Support: Samsung's open-source exFAT driver
zRam Support: support for zRam memory compression
CPUPower: Linaro's cpupower PM driver
Async Fsync: Asynchronous file sync
MSM_Sleeper: Support for setting the max CPU frequency when screen is off through sysfs
Kernel mode NEON: NEON-accelerated XOR framework & support for NEON instructions in kernel mode
Overall Stats: CPU overall stats on a per-core basis
Compression: XZ Compressed & LZ4 compression algorithm support
Sched MC: Multi-Core Power Savings support
Sched SMT: Multi-Thread Power Savings support
Arch_Power: arch-specific power sched features enabled
Workqueue: backported from kernel 3.7, allows CPU hotplug to keep idle workers (learn more)
Toolchain: Built with Linaro GCC 4.8.3 toolchain from 14.02 release
Optimizations: Built with -O2 and many optimization flags
Kexec-hardboot ?: attempted to port @Tassadar's kexec-hardboot patches from the nexus 5, needs testing and confirmation that it works
Additional Governors:
Intellidemand
Intelliactive
Pegasusq
Nightmare
Hyper
Alucard
InteractiveX2
SmartassV2
Lagfree
Wheatley
Lionheart
Badass
Additional I/O Schedulers:
SIO (SImple Ondemand)
FIOPS (Fair Input/Output Per Second)
BFQ (Budget Fair Queueing)
VR
Additional TCP Congestion Algorithms:
BIC
Westwood
HSTCP
Hybla
HTCP
Vegas
Veno
Scalable
LP
YeAH
Illinois
Click to expand...
Click to collapse
Download
Latest builds: Regular version: 2014-06-08 || Light version: 2014-07-27​
Light Version: http://d-h.st/gyD
[*]Regular Version: http://d-h.st/La1 (doesn't work with 4.4.4 ROMs)
Click to expand...
Click to collapse
Disclaimer
Code:
# Neither me or any contributors to this kernel can nor will be held
# responsible for any damage or any kind of problem related to its use.
# You are using this piece of software AT YOUR OWN RISK.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
Sources
The sources are obviously covered by the General Public License, and are available on my github at:
https://github.com/PimpedKernel/android_kernel_sony_msm8974
Click to expand...
Click to collapse
Credits
Thanks to faux123 for all his contributions to the android kernel community, many of which are implemented here
Thanks to showp1984 for his msm_mpdecision hotplug driver
Thanks to DooMLoRD for all the cherry-picked features from his DoomKernel
Thanks to krabapel2458 for the inital port from DoomKernel of features like GPU OC, some governors and more.
Thanks to MohammadAG for the DoubleTap2Wake port
And of course, thanks to FreeXperia and Kali- in particular, for the device bring-up
Click to expand...
Click to collapse
XDA:DevDB Information
Pimped Kernel, Kernel for the Sony Xperia Z1
Contributors
Androguide.fr
Kernel Special Features: Sound Control, GPU OC, Intelliplug, PowerSuspend, Dynamic Fsync, exFAT, F2FS, KSM, Intellidemand, Intelliactive, SmartassV2, InteractiveX2, Lionheart, Wheatley, Badass, Lagfree, BFQ, SIO, FIOPS, Westwood, Hybla, HSTCP, HTCP, Veno, Illinois, LP, BIC...
Version Information
Status: Beta
Created 2014-02-25
Last Updated 2014-07-29
Changelogs
Changelogs
2014-04-24
Updated to Linux kernel version 3.4.86
Re-added GPU OC up to 600MHz and hopefully fixed the issues some people had with it
Added zRam support (thanks to DooMLoRD)
Added msm_sleeper (thanks to DooMLoRD), controls coming to Pimp My Z1 soon
Added memutils optimizations (thanks to DooMLoRD)
Merged a lot of slimbus/slim-ngd/slim_msm/qdsp6v2/wcd9xxx & other audio-related optimizations from franciscofranco's nexus 5 kernel
Merged some OOM, ocmem & other memory-management-related optimizations from franciscofranco's nexus 5 kernel
Merged a fix for msm_z180 memory leak from franciscofranco's kernel
Some other random cherry-picks
2014-04-15
Re-added all the previous features except GPU OC
Added Async Fsync
New I/O Scheduler: VR
Added support for PAC rom
2014-03-21
Added workqueue backported from kernel 3.6 + its 3.7 updates
Reduced CPU retention voltage
Fixed & enabled F2FS (now all we need is an f2fs-compatible TWRP, or at least cross-compiled mkfs.f2fs & fsck.f2fs binaries)
Enabled VMALLOC savings
Switched back to TWRP
Prepared initial support for amami (Z1 Compact)
2014-03-18
Reverted back to Qualcomm's mpdecision from showp1984's mpdecision
Made the flashable zip backup of the original wlan.ko module (to /system/lib/modules/wlan.ko.bak)
2014-03-17
Included wlan.ko module built with the kernel
Fixed SnakeCharmer max freq & intelli min/max inactive frequencies
2014-03-16
Replaced Qualcomm's closed-source mpdecision with showp1984's open-source & customizable mpdecision driver
Implemented faux123's msm_cpufreq_limit driver (a.k.a SnakeCharmer)
Added Linaro's cpupower pm driver
Enabled SCHED_SMT
Enabled arch_power sched feature
KSM: skip page if it has already been scanned
Made intellidemand the default governor
Enabled power_suspend by default
Enabled KSM by default
2014-03-14
Fixed intelliplug
2014-03-13
Added 389MHz GPU frequency step
Lowered GPU voltage constraints
Overclocked SLIMbus: rootfreq from 11 (24.526MHz) to 31 (27+MHz, the maximum) & clock-gear from 7 to 10 (max).
This means SLIMbus will use its maximum potential to give the best audio quality for the hardware.
Re-added kernel NEON mode & NEON-accelerated XOR framework
Added word-at-a-time kernel interface
Re-added epoll performance tweaks (increased from 35k jOPS to 125k jOPS on a 16 sockets benchmark run)
Re-added futex tweaks
Re-added softirq latency tweaks
Enabled Sched_MC power savings at level 1 (= moderate) by default
Various ext4 & net performance tweaks
Merged upstream CM commits
2014-03-10
Added F2FS support
Added camera fix
Re-added exFAT support
Re-added GPU wake on touch
Re-added intellidemand's touch input boost
Re-added my attempt at porting kexec-hardboot
Re-added RNGD tweaks
Re-added CPU hotplugging tweaks
Re-added writeback tweaks
2014-03-06
Fixed kernel panics introduced in previous build
Added data writeback optimizations
Added random number generator optimizations
Enabled multi-core power savings by default, with a value of 1 (= moderate)
2014-03-04
Intellidemand: added CPU boost (boosts the CPU frequency when touch inputs are received)
Added GPU Wake-on-touch (allows touch events to wake the GPU if it's in slumber)
Added support for kernel mode NEON
Attempted to port @tassadar's kexec-hardboot patches for the nexus 5 (needs testing)
Input: Send events one packet at a time (reduces irqsoff latency of ~ 50 micro seconds)
Softirq: reduce latencies (significantly reduces network irq latencies)
Added Samsung's open source exFat module version 1.2.4 (= exFat support)
Enabled Kernel Same-page Merging (KSM)
Epoll optimizations (performance went from 35k jOPS to 125k jOPS on a 16 socket benchmark)
Many hotplug logic optimizations
Built with latest Linaro gcc 4.8 toolchain (2014-02)
Built in the CM tree so there should be no more compatibility issues with other roms
2014-03-03
Added new intelliactive governor from faux123's nexus 5 kernel
Added faux123's msm_cpufreq_limit driver
Added the following TCP congestion algorithms (will add control in Pimp My Z1 soon, meanwhile you can use Pimp My Rom):
BIC
Westwood
HSTCP
Hybla
HTCP
Vegas
Veno
Scalable
LP
YeAH
Illinois
2014-03-02
Added InteractiveX2 CPU Governor
Added SmartassV2 CPU Governor
Added Lagfree CPU Governor
Added Test I/O Scheduler
Updated Linaro toolchain to 2013-01 gcc 4.7 release
Fixed missing features in previous build
Uncapitalized lionheart CPU Governor
2014-02-25
Merged upstream CM commits
2014-02-24
Initial release
Reserved
Instructions for switching to F2FS
/!\ WARNING: This operation will wipe all your data as well as your internal storage /!\
Download an F2FS version of Pimped Kernel
Flash it in recovery
Reboot recovery, you should now be in the included modified CWM
Go to 'mounts & storage' and select 'format /data and /data/media (/sdcard)'
Go to 'mounts & storage' and select 'format /cache'
Reboot & Enjoy
Why using F2FS?
I recently compared ext4 & f2fs in a series of benchmarks, and F2FS clearly provides better performance than ext4.
You can read the full comparision & benchmark results here: http://forum.xda-developers.com/showthread.php?t=2697069
Please note that f2fs might be more prone to data corruption or otherwise be less stable, although I have not encountered any issue at the moment.
Great, flashed it. Works like last one, but still can't disable MP-decision
And can't CPU OC yet.
I don't know if Honami control will fix these issues.
Thanks, great anyway!
Subscribed. Cannot wait for this to be an awesome "pimped" kernel for CM11.
Will you have a flashable zip?
I fastboot flashed the boot.img, however no more root / superuser.
Update: flashed supersu zip - now have root.
Kernel is working fine, however getting random soft reboots every now and then.
FIOPS / 2048 readahead / Intellidemand / ECO on / intelliplug on / mpdecision off
min 300 / max 1267200 / multicore power saving 1
Thank you for your hard work, @Androguide.fr , you are making awesome things.
Testing the kernel now.
[OT Mode ON]
Also, a little bit OT, but.. does omnirom support theme chooser?
[OT Mode OFF]
Is there any possibility of including gamma control like as in Xperia Z??
Could you add pegasusq governor?
CappyT said:
Thank you for your hard work, @Androguide.fr , you are making awesome things.
Testing the kernel now.
[OT Mode ON]
Also, a little bit OT, but.. does omnirom support theme chooser?
[OT Mode OFF]
Click to expand...
Click to collapse
Thanks for your support.
Omni currently does not include the theme chooser, but I hear a revamped one is on its way.
pranii23 said:
Is there any possibility of including gamma control like as in Xperia Z??
Click to expand...
Click to collapse
I will look into it but I don't think I'm a good enough kernel dev to do the port, if DooMLoRD ports it to DoomKernel then I will probably merge it.
Ahki767 said:
Could you add pegasusq governor?
Click to expand...
Click to collapse
If you have a link to its implementation on an other msm8974 device's kernel, please send it to me and I'll take a look.
InteractiveX2, SmartassV2 & Lagfree are merged but not enabled as they cause build errors when enabled in defconfig , I will try and fix those when I got time.
Same for the VR I/O Scheduler, it's merged but not enabled in defconfig atm.
Nice, there has been an avalanche of commits merged on the CM kernel, apparently related to the remaining camera & hardware overlays bugs, I merged those and I'm building right now.
EDIT: here's a link for the flashaholics, this one has the Omni boot logo as I'm at work and I forgot to commit the Pimped Kernel boot logo, but otherwise it's the same kernel with the new CM commits included.
I'll rebuild it tonight with the correct bootlogo and version name.
Download: http://d-h.st/kZ1
MD5: b44957069fbeb431ccb0e2e5b7772e72​
Great kernel! runs great with Omni Honami ROM (latest build) :good:
Can someone make a flashable zip of the new kernel? Iam @ work and want to flash this "on the fly"
Ty for your awesome work
Gesendet von meinem Xperia Z1 mit Tapatalk 2
@Androguide.fr there is a problem with your kernel, I get strange random reboots and sleep of death...
I tried to set governor to interactive, but no luck at all...
Inviato dal mio Xperia Z1 utilizzando Tapatalk
Any chance this week have tap to wake feature??
Cheers!
Sent from my Xperia Z1
CappyT said:
@Androguide.fr there is a problem with your kernel, I get strange random reboots and sleep of death...
I tried to set governor to interactive, but no luck at all...
Inviato dal mio Xperia Z1 utilizzando Tapatalk
Click to expand...
Click to collapse
I won't be able to help unless you provide me with more infos such as which rom you're running and a logcat of you trying to set the governor for example.
A kmsg of the random reboots would be nice, too.
I suspect the issue is with the ramdisk as none of the above issue seem to occur on Omni.
Androguide.fr said:
I won't be able to help unless you provide me with more infos such as which rom you're running and a logcat of you trying to set the governor for example.
A kmsg of the random reboots would be nice, too.
I suspect the issue is with the ramdisk as none of the above issue seem to occur on Omni.
Click to expand...
Click to collapse
Ok, today i will switch to aosb and then if it happens i will provide logcat an kmsg... Any app to use for that? (Apart of echo from terminal?)
Inviato dal mio Xperia Z1 utilizzando Tapatalk
Nice...wow...cool!
I am running this kernel on the new cm11 4.4.2 rom AOSB. Without problems. Now I can run my *.flac Music whith more GAIN...YEAH!
Only thing is that for example Bard´s Tale wont save the data to sd-card. Can it be solved with the kernel? I just heard in the AOSB thread its a Android 4.4 related problem. In this moment I am saving my sd-data and try to partitioning it. Or maybe this is useless? Can I get the apps to save to sd-card with this kernel maybe?
CappyT said:
Ok, today i will switch to aosb and then if it happens i will provide logcat an kmsg... Any app to use for that? (Apart of echo from terminal?)
Inviato dal mio Xperia Z1 utilizzando Tapatalk
Click to expand...
Click to collapse
For the logcat you can use the "Catlog" app.
For the kmsg I don't think there are any apps, you'll need to use adb or the terminal:
Code:
cat /proc/kmsg > /sdcard/kernel-message.txt
or, after a random reboot to get the kmsg from before the reboot:
Code:
cat /proc/last_kmsg > /sdcard/last-kernel-message.txt
Ry Chy® said:
I am running this kernel on the new cm11 4.4.2 rom AOSB. Without problems. Now I can run my *.flac Music whith more GAIN...YEAH!
Only thing is that for example Bard´s Tale wont save the data to sd-card. Can it be solved with the kernel? I just heard in the AOSB thread its a Android 4.4 related problem. In this moment I am saving my sd-data and try to partitioning it. Or maybe this is useless? Can I get the apps to save to sd-card with this kernel maybe?
Click to expand...
Click to collapse
Did you have this issue with the CM kernel or the previous kernel you were running ?
If you didn't then it's probably due to the mass storage support for sdcard commits included in the ramdisk, it might not be compatible with other roms.
I will rebuild the kernel with the stock CM ramdisk tonight.
Androguide.fr said:
Did you have this issue with the CM kernel or the previous kernel you were running ?
If you didn't then it's probably due to the mass storage support for sdcard commits included in the ramdisk, it might not be compatible with other roms.
I will rebuild the kernel with the stock CM ramdisk tonight.
Click to expand...
Click to collapse
Was on stock rom before (Monx´s Rom for Z1 and DooM´s Kernel), no problem at all. Since I´ve flashed AOSB yesterday, with stock cm-kernel or this one, I have this problem.
~~~~~~~~~~~~EDIT~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Didn´t had success with partitioning sd-card in any way. Neither with Win7 Software or TWRP. Bad thing. Is there any patch or workaround for Android 4.4 ?

KERNEL | Nougat CM / AOSP | 7th Jan | HalogenKernel R31 | UBER | 3.4.42

{
"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"
}
EXPERIENCE HALOGEN | EXPERIENCE AWESOMENESS​
For Changelogs please see POST #2.
For FAQ please see POST #3.
DISCLAIMER :-​
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will simply laugh at you.
*/
NOTE :-​This kernel is ONLY meant for AOSP/CM ROMs.
This IS NOT MEANT for STOCK ROMs.
Upto R14 Kernel supports Lollipop.
From R15 onwards Kernel supports ONLY Marshmallow.
From R18 onwards Kernel supports Doze + Marshmallow.
From R30 onwards Kernel supports ONLY Nougat.
WHAT IS THIS KERNEL ?​This kernel is built especially for these 3 things :- 1. Audio, 2. Performance, 3. Battery Life.
The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do. Go ahead and try this kernel, and it should make your device much better.
FEATURES :-​(features of ONLY the latest version is mentioned)​
Based on Linux Kernel 3.4.42
Updated with the latest CM14.1 sources
Built with UBER Toolchain GCC-4.9
Any Kernel 2 script used
Kexc Hardboot patched
Built with optimization flags for enhanced performance
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam (thanks to @attack11)
Faux Sound Control v3.5
Headset in high performance profile
Slimbus overclocking for superior audio quality
Enabled CPU boost
Add Frandom
Power effecient work queues enabled by default
Reclaim RAM from loggers
Disable gentle_fair_sleepers for increased I/O
Enable advanced unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
intelliactive, intellidemand, zzmoove cpu governors
intelliplug v4.0 cpu hotplug
enabled advanced tcp congestions
Ability to use your device as USB Keyboard / Mouse
Stereo call record support
psx2usb
KCAL v2 by Savoca
Dynamic FSync
Added optimized square root algorithm
Added optimized ARM_RWSEM algorithm
NEON kernel mode
Ex-FAT support
LONG TERM SUPPORT :-​
This kernel will be supported for a long time with updates directly streamed from CM kernel sources i . e . as long as CM keeps publishing updates to its base, this kernel will also be updated.
DOWNLOADS :-​(do not mirror my links)​[ Latest Version ]​[ Older Versions ]​
INSTALLATION INSTRUCTIONS :-​
Reboot into recovery.
Make a nandroid BackUp.
Select Install zip from SD Card.
Select the Downloaded zip.
Then Reboot to System.
Leave your phone untouched for 2-3 minutes after first reboot to allow the kernel to spread it's wings.
RECOMMENDED APPS FOR KERNEL TWEAKING :-​
Kernel Adiutor
Faux123 Kernel Enhancement Pro
I do not support any other apps.
CREDITS:-​~~Google
~~Motorola for kernel sources
~~Flashhhh
~~hurtsky
~~Luk & Luca -for various fixes
~~Thecrazyskull, DC07 -for cherry-picks
~~Faux123
~~Savoca
~~YoshiShaPow
~~attack11
~~many more.......
Please don't start a war here if I forgot to mention someone. PM me and I will add him / her.
XDA:DevDB Information
HalogenKernel, Kernel for the Moto G 2014
Contributors
zakee94
Source Code: https://github.com/zakee94/halogen_kernel/
Kernel Special Features: Faux sound, Kexec, KCAL, Intelliplug
Version Information
Status: Stable
Current Stable Version: R31
Stable Release Date: 2017-01-07
Created 2015-06-11
Last Updated 2017-01-07
Changelog
CHANGELOG​(simplified changelog, for full changelog please look at my GitHub commits.)​​​
R31 --> 07/01/2017​
Merged CM Updates
For older changelogs :-​
R30 --> 30/10/2016​
First Nougat release
For changes please see post #670
R29 --> 24/07/2016​
Merged CM Updates
R28 --> 08/06/2016​
Merged CM Updates
AROMA installer
Added tripndroid IO Scheduler
CPU optimizations
ARM tweaks and updates
R27 --> 12/05/2016​
Merged CM Updates
R26 --> 10/04/2016​
Merged CM Updates
R25 --> 16/03/2016​
Merged CM Updates
R24 --> 18/02/2016​
Reverted the following :-
CPU OC/UC - 1593/96 MHz
CPU UV
LMK tweaks + Agressive LMK mode
Following CPU govs --> lionheart, dancedance, bioshock, alucard
Following Hotplugs --> Mako, Auto-smp
Added the following -->
Merged CM Updates
Built with UBER Toolchain GCC-6.0
R23 --> 19/01/2016​
Merged CM Updates
Overhauled boot script
R22 --> 11/01/2016​
Rebased kernel on android 6.0.1_r10
Rebuilt kernel from scratch
Merged a lot of CM updates
Added futex updates
Cpu UV added (hardcoded values)
Added 2 new hotplugs :- Auto-smp & Mako
Removed Alucard Hotplug
Overhauled updater script
R21 --> 30/12/2015​
Add CPU OC/UC - 1593/96 MHz
Adapt cpu_govs for CPU OC/UC
Merged CM Updates
R20 --> 29/12/2015​
Merged CM Updates
R19 --> 23/12/2015​
Added 3 new cpu_govs: Lionheart, DanceDance & Bioshock
Enabled CPU boost
Added optimized ARM RWSEM algorithm
ARM updates merged directly from CAF (See Git)
Mutex updates (See Git)
LMK updates (See Git)
Add agressive LMK
Build using -O3 & -graphite flags for enhanced performance
Cortex-A7 optimizations in Makefile
block: Disable add_random
Implemented LoUIS cache
Made bioshock as default gov. in boot script
Many other optimizations (smp, rcu, vfs, vfp, etc... See Git)
R18 --> 20/12/2015​
Merged latest CM Updates (support for Doze)
R17 --> 17/12/2015​
Merged latest CM Updates
Made interactive as default gov. in boot script
R16 --> 03/12/2015​
Fixed FM Radio not working
Fixed Section Mismatches
Enabled pipe flag
R15 --> 27/11/2015​
Build Kernel from scratch based on cm-13.0 kernel base
Compiled using Hyper-Linaro 5.1 Toolchain
Kernel version brought down to 3.4.42 temporarily
Revert SE Linux force permissive
Revert use Modulo sched & strict alias flags
Enabled Simple GPU Algorithm
R14 --> 11/10/2015​
Merged latest updates
Updated kernel to v3.4.109
Updated bfq to v7r8
R13 --> 6/09/2015​
Brought back the following :-
SE Linux tweaks
msm:kgsl tweaks
Enable unaligned_access
DOLBY dap dependency fix
Removed the following :-
Simple GPU Algorithm
New features :-
Update with latest CM sources
Implement Adreno Idler
R12 --> 26/08/2015​
Removed the following :-
CPU UC to 96MHz
SE Linux tweaks
USB Fast Charge v2
Added optimized ARM_RWSEM algorithm
msm:kgsl & wcnss tweaks
Optimize square root algorithm
Enable unaligned_access
DOLBY dap dependency fix
Ultrasound & ASoC : qdspv2 tweaks
Changed the following :-
Update 'zzmoove' cpu_gov to v1_beta-8
Set 'zzmoove' as the default CPU Gov
R11 --> 22/08/2015​
Merged latest CM updates
R10 --> 13/08/2015​
Once again rebuilt the whole kernel !
Updated with latest CM sources
Possibly fix interactive deep-sleep issues
R9 --> 25/07/2015​
Updated with the latest CM sources
Rebased and built whole kernel from SCRATCH
Removed useless tweaks
Updated cpu_hotplugs & cpu_govs
Optimized zzmoove profiles again
R8 --> 11/07/2015​
Updated with the latest CM sources
Reverted RAM OC to 566MHz
Reverted some power hogging tweaks
Updated hotplugs :- intelliplug, msm-hotplug (neobuddy89 versions)
Added Bricked Hotplug
Optimized zzmoove profiles
R7 --> 30/06/2015​
Disabled msm_limiter
zzmoove : add back zzopt & zzmod, zzopt unstable for now.
Introduce kernel cooker
Bug fixes
R6 --> 24/06/2015​
Updated kernel version to 3.4.108
Enabled kernel_config_neon
zzmoove : remove profiles 'zzopt' & 'zzmod'
Add strict_aliasing & modulo_sched flags
Add msm:kgsl & wcnss tweaks (see GitHub)
Add MSM Frequency Limiter driver v3.6
Add Ultrasound & ASoC : qdspv2 tweaks (see GitHub)
RAM OC to 566 MHz
And many more I can't fit in here, so please checkout GitHub.
R5 --> 20/06/2015​
Added USB Fast Charge v2
Enabled NEON mode
Added Ex-FAT support
SE Linux tweaks (see GitHub)
zzmoove : set default profile to 2
tune up some governors
Enable intelliplug by default
Random / entropy tweaks
R4 --> 17/06/2015​
CPU UC to 96 MHz
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam
Reclaim RAM from loggers, increasing default ram to 883 Mb
Disable gentle_fair_sleepers for increased I/O
Enable unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
Many tick, clockevents & timer tweaks (see GitHub)
Lower swappiness from 60 --> 45
Added optimized ARM_RWSEM algorithm
Force SE Linux permissive
Added state notifier driver
Enabled quick wakeup
NOATIME and NODIRATIME as default
R3 --> 14/06/2015​
CPU Govs removed :- wheatley, nightmare, HYPER, darkness, pegasusq, ondemandplus
Added simple GPU Algorithm
3 new CPU Hotplugs added :- intelliplug, alucard, msm-hotplug.
Power effecient Wqs enabled by default
Reclaim RAM from loggers
devfreq:Add conservative governor
devfreq tweaks (see GitHub)
Dynamic FSync added
Intellithermal v2 added
R2 --> 13/06/2015​
New CPU Govs added :-
intelimm, intellidemand, intelliactive, smartmax, pegasusq, alucard, impulse, ondemandplus, wheatley, yankactive, nightmare, HYPER, darkness, zzmoove.
New TCP Congestions enabled :-
westwood, cubic, reno, hstcp, hybla, vegas, veno, scalable, lp, yeah, illinois, hctp, advanced, highspeed.
New I/O Schedulers added :-
fiops, vr, zen, sio, bfq, cfq, deadline, noop, tripndroid, fifo
Added KCAL v2 by Savoca
Optimized slub memory allocation
Increase torch power by 20 mA
Added stereo call recording support
psx2usb
Added NVIDEA Power effecient patches
Changed CFlags = Ofast
Optimize sfck compression
Many sched tweaks and optimizations (see GitHub)
R1 --> 12/06/2015​
Initial Release
FAQ
FAQ​
This kernel does not have X, Y or Z feature. Please add it !
No such requests shall be entertained.
For this device the closer to stock we are, the better it is. Hence no need for "fancy" useless features/tweaks. The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do.
AND if you really want this or that feature which is not there in halogen, please feel free to compile your own builds.
Oh no ! I encountered a BUG !
Upload the file named last_kmsg that located in /proc/last_kmsg. It contains kernel logs. Clearly state the bug / what you experienced along with your current kernel settings. Bug reports without logs will be ignored.
Recommneded settings ?
Halogen is pre-configured for best. For custom settings please google, do some research and you are encouraged to post your own settings in this forum. You can start here.
My battery drained overnight !! Look at these screenshots...
Not a halogen fault. The kernel does not “drain” battery. On Android devices, the kernel provides a mechanism for keeping the phone awake, called a wakelock. Processes running on the device (e.g. apps and services) can ask the kernel for a wakelock, and the kernel will oblige. So yes, the kernel is technically keeping the phone awake, but only because an app or service has asked it to. It is these apps and services that are misbehaving and causing drain, not the kernel. Doze mode, introduced in Android Marshmallow, is designed to limit the time that apps and services can wake up the device.
All thanks to @flar2 for his excellent post.
Wow,
What is better setting for this Kernel ?
legendsbr said:
Wow,
What is better setting for this Kernel ?
Click to expand...
Click to collapse
There is not much to set in this kernel at present. Leave it as it is. Tweak sound to your hearts desire !
What governors & I/O schedulers are already included? Just the "basic" AOSP kernel ones for now?
Yes...
But updates will come soon !!!
You simply did it! Thank you so much!
There is a long way to go but I hope you can add more stuff, not forgetting the DoupleTap to wake up the screen
Testing
NEW BUILD IS UP !!!
[ 12 June, 2015. Version --> R2 ]
New features added :-
** 14 new cpu govs added !!!(check changelog for their names) **
** New I/O schedulers added (added tripndroid) **
** New TCP Congestions added **
** Stereo call recording **
and MUCH, much more......................CHECK CHANGELOG.
Did you know ? :-
With the release of R2, Halogen Kernel becomes the ONLY kernel with maximum number of cpu govs !!! (among all kernels for stock/cm of titan/falcon).
This kernel has around 20 cpu govs !!!
NOTE :-
Try reading this guide by @gsstudios before selecting out among the many CPU Govs.
E _N_J_O_Y !!!
This kernel really works for battery life... Smooth and fast and also improves battery life. Appreciate you're work!
giannis_mathiou said:
This kernel really works for battery life... Smooth and fast and also improves battery life. Appreciate you're work!
Click to expand...
Click to collapse
Thanks for review...
More updates will come soon !
This kernel mainly focuses on audio and battery life.
zakee94 said:
Thanks for review...
More updates will come soon !
This kernel mainly focuses on audio and battery life.
Click to expand...
Click to collapse
Thank you so much for the updates!
Can you make a post with the recommended settings for battery life and the best performance possible?
TiGuy82 said:
Thank you so much for the updates!
Can you make a post with the recommended settings for battery life and the best performance possible?
Click to expand...
Click to collapse
Of course I will....
zakee94 said:
Of course I will....
Click to expand...
Click to collapse
there is something terribly wrong... at boot maximum cpu frequency is set to 384MHz, this give terribly long boot time, stuttery bootanimation and longer time for apps optimization after a rom update
EDIT: temporarily solved with an init.d script, here it is if someone has the same problem https://www.dropbox.com/s/qmcdlljjj0klzaf/cpufreq.zip?dl=0
ktulu84 said:
there is something terribly wrong... at boot maximum cpu frequency is set to 384MHz, this give terribly long boot time, stuttery bootanimation and longer time for apps optimization after a rom update
Click to expand...
Click to collapse
Even I had been facing the bug...BUT I fixed it out and the BUG IS NO MORE !!!
I will be soon releasing the update ! The problem was with some improperly adapted CPU governors which limited the max cpu freq to 384 at boot. I have removed them and now the cpu clocks @ 11190 during boot.
I appreciate your work with the script. Its good, and I hope you will keep supporting my kernel in the future.
 @ktulu84
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Sent from my Moto G 2014 using Tapatalk
Is the kernel stable? i'm using cm12.1 for daily use and some of the kernels i've tried always gave me the problem where the logcat is spammed with something liek "failed to acquire lock" everytime i touched the screen, can someone report?
xeraphael said:
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
Yes I m aware... It will be improved in future versions.
However it does not matter much, Linux handles memory in a different way and will release appropriate ram when required. What really matters is whether you are getting a smooth experience or not.
xeraphael said:
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Click to expand...
Click to collapse
Yes, there are changes in that. As the OP said, it depends on the kernel. Since our device has 1024MB RAM, the remaining RAM gets allocated to Graphics, audio processing, etc. If you are familiar with it, its very similar to Intel & AMD's allocation of RAM to Graphic memory in computers.

[Kernel][CAF][7.1] Neon kernel v23

Neon kernel for Oneplus One (bacon)
Disclaimer:
use this kernel at your own risk. Flashing it the wrong way might brick your device. I'm not responsible for any software/hardware damage.
Features/changelog:
v23 (June 8th)
kernel code base updated to Linux 3.4.32
DCACHE_WORD_ACCESS optimization for ARM devices
old releases:
v22 (May 13th)
AutoSMP hotplug
support for wakelock blocker (by franciscofranco)
code base updated to Linux 3.4.18
minor fixes & improvements
v21.1 (May 6th)
a couple of fixes for the GPU drivers
v21 (May 3rd)
CPU undervolting & overclocking
kexec-hardboot patch
zen I/O scheduler
impulse CPU governor
msm_limiter v5.4
sound control interface
miscellaneous fixes, tweaks & improvements
v20 (April 21st)
added State Notifier
added bricked hotplug
many miscellaneous improvements and fixes
a few security fixes
v19 (April 15th)
built from scratch on top of Sultan's latest sources - read this post for more info
built with QUVNTNM-TC (based on GCC 7)
f2fs backported from Linux 3.10
sdcardfs support
many architecture-specific improvements, tweaks and optimizations
many of the latest CVE fixes have been implemented
CPU underclocking (268,8 MHz)
unaligned memory access enabled
zen-tune scheduler tweaks
lots of minor updates, fixes and improvements (check Github for more details)
v18.5 (27th February)
security fixes
v18.4 (17th February)
minor updates & fixes for cpufreq and f2fs
v18.3 (14th February)
adreno crashes are possibly fixed
v18.2 (February 10th)
cpufreq governor tweaks
minor updates & fixes
v18.1 (February 4th)
cpufreq governor improvements & fixes
a few security updates
zen-tune scheduler tweaks
v18 (20th January)
lots of source updates (among which, spi & qseecom backports from 3.10)
minor optimizations and improvements
v17.1
a couple of security fixes
fixed some issues with the getrandom syscall
v17 (8th January)
f2fs driver backported from Linux 3.10
random number generator driver backported from Linux 4.1
several updates & optimizations for the ARM platform and our MSM8974 SoC
some security fixes
improved memory management parameters (might provide better battery life)
up-to-date with Sultan's kernel
new (and default) TCP congestion control algorithm: "ascarex" by Klozz
ZRAM, zcache, zsmalloc are supported (they are disabled by default)
v16.2 (27th December)
a few source updates
swap support
improved power consumption during suspension
v16.1 (24th December)
compiled with more GCC optimizations
fix for issues with Magisk modules
minor updates and improvements
v16 (21st December)
additional GCC optimizations
loads of source updates applied to: locking, cpuidle, binder and other parts of the kernel
AutoSMP has been re-added and updated
added & implemented quickwakeup
other minor, miscellaneous changes
v15 (December 15th)
improved memory compaction routine
some security fixes
patches by Nvidia to improve power usage
v14.1
minor security & bug fixes
improved automatic memory compaction algorithm
v14 (4th December)
up-to-date with Sultan's kernel
removed zzmoove governor, added ondemandplus and impulse
removed AutoSMP, added intelliplug by faux123
kernel/workqueue and cpufreq backports from Linux 3.10
directIO patches ported from Linux 3.16
random number generator improvements
CPU overclocking (disabled by default) and underclocking
max CPU freq. set to 1,9 GHz during the booting process
task scheduling algorithm updates & improvements
kexec-hardboot patch fixed
KCAL color control interface updates
binder updates
hundreds of minor security fixes, improvements, and optimizations
v13 (12th November)
Efficient unaligned memory access & dcache word access
random number generator driver backported from Linux 3.16
several backports for the kernel's task scheduling algorithm
memory management/lowmemorykiller source updates & backports
zzmoove CPU governor added
minor source updates, fixes and backports
v12 (5th November)
Spectrum support (profiles will be perfected in the next releases)
added the possibility to block certain wakelocks (thanks to franciscofranco)
UKSM v0.1.2.3 added and enabled by default
maple I/O scheduler tweaks
minor miscellaneous improvements and fixes
v11 (23rd October)
code base updated to Linux 3.4.113
I/O schedulers: maple
built with the most appropriate set of compiler optimizations for Krait CPUs
hundreds of source updates & backports, mainly related to the kernel's task scheduler
completely renewed and up-to-date sdcardfs driver
smarter AutoSMP hotplug
v10 (6th October)
kernel code base updated to Linux 3.4.108
I/O schedulers: fiops
built with an up-to-date gcc-5 based UBER Toolchain
v9.1
performance improvements (?)
v9 (27th September)
built with up-to-date GCC 5 UBER toolchain
kernel code base updated to Linux 3.4.83
v8 (21st September)
kernel code base updated to Linux 3.4.60
minor improvements (more details on Github)
v7 (9th September)
kernel code base updated to Linux 3.4.45
several minor optimizations and security fixes (see Github for more details)
f2fs driver updated
I/O schedulers: added cfq and zen (default)
kexec-hardboot fix (still not working)
v6 (28th August)
kexec-hardboot patch (not working at the moment)
support for charging at up to 2,5 A
up-to-date with Sultan's kernel
v5 (26th August)
kernel code base rolled back to 3.4.27
CPU memory bandwidth overclock & tweaks
added new compiler optimizations as suggested by the Linaro team
security updates & fixes
v4 (15th August)
kernel code base updated to Linux 3.4.64
minor improvements, fixes and optimizations
v3.1 (7th August)
rebased on top of Sultan's latest updates
"impulse" CPU governor
v3 (5th August)
CPU undervolting
battery charging limiter (learn how to use it here: https://forum.xda-developers.com/showpost.php?p=73126071&postcount=2)
kernel base updated to Linux 3.4.27
built with O3 optimizations
other misc improvements/fixes
v2 (2nd August)
built with krait and neon vfpv4 optimization flags (for Krait CPUs)
KSM is available
source updated to Linux 3.4.8
Gentle fair sleepers and Arch power toggles
Power-efficient workqueues
optimized Krait memcopy libraries
frandom support
other minor tweaks/improvements/fixes
v1 (22nd July)
built with UBER gcc 4.9 toolchain
no CPU underclocking
async fsync
sdcardfs support
franciscofranco's sound control
state notifier with PM suspension hooks
AutoSMP hotplug by mrg666 and neobuddy89
other minor improvements and optimizations (check commits on Github)
Compatibility
The kernel is fully compatible with Sultanxda's LineageOS 14.1. It should be compatible with all the other CAF/"sultanized" ROMs. If you decide to try it on any other ROM please report if it's working or not. The kernel is obviously not compatible with non-CAF ROMs.
Download
The kernel can be download from AFH: Neon kernel on AndroidFileHost
Credits to:
@franciscofranco
@neobuddy89
@faux123
@AdrianDC
@dorimanx
XDA:DevDB Information
Neon kernel for Oneplus One, Kernel for the OnePlus One
Contributors
Tomoms
Source Code: https://github.com/Tomoms/neon_kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 23.0
Stable Release Date: 2018-06-08
Created 2017-07-22
Last Updated 2018-06-08
Reserved
Not supported as of v19.
How to tweak the parameters that are not shown in Kernel Adiutor
battery charging limiter:
open
Code:
/sys/kernel/charge_levels/charge_level_ac
or
Code:
/sys/kernel/charge_levels/charge_level_usb
and write the maximum charging current you want (measured in mA). Obviously the -ac file applies the limit when charging via the wall charger, the -usb file when charging via USB. 0 = stock settings.
Reserved
Bugs:
in v19 there are no major bugs or known issues.
Does this kernel have LCD KCAL?
aocboe said:
Does this kernel have LCD KCAL?
Click to expand...
Click to collapse
Yes, indeed.
Fast charge
pankspoo said:
Fast charge
Click to expand...
Click to collapse
Is that a question or a feature request or whatnot? This kernel hasn't got fast charging and I'll probably add it soon.
Ok thanks. I just used sdcardfs with u r kernel and RRM sutenized rom is running snappiest ever. Thanks your kernel is really amazing.
pankspoo said:
Ok thanks. I just used sdcardfs with u r kernel and RRM sutenized rom is running snappiest ever. Thanks your kernel is really amazing.
Click to expand...
Click to collapse
Thank you! Yeah, I've noticed too that with this kernel and sdcardfs the phone really flies.
Tomoms said:
Thank you! Yeah, I've noticed too that with this kernel and sdcardfs the phone really flies.
Click to expand...
Click to collapse
Your kernel will work with aosp-caf?
Mr.Ak said:
Your kernel will work with aosp-caf?
Click to expand...
Click to collapse
I have no idea. I'm still a beginner in the world of OPO's ROM's. If AOSP-CAF uses Sultan's camera, my guess is that the whole kernel will probably work. If you try, let me know the result.
Autosmp was developed by mrg666.
Which thermal driver? And a way to use sdcardfs instead of fuse on sultan's los? And thank you for sharing this with us.
DerRomtester said:
Autosmp was developed by mrg666.
Click to expand...
Click to collapse
Thanks for the clarification. I'll correct the first post as soon as possible.
Lisko said:
Which thermal driver? And a way to use sdcardfs instead of fuse on sultan's los? And thank you for sharing this with us.
Click to expand...
Click to collapse
Sultan's thermal driver. To use sdcardfs on ROMs that normally use fuse, just add ro.sys.sdcardfs=true at the end of your build.prop and reboot.
Tomoms said:
I have no idea. I'm still a beginner in the world of OPO's ROM's. If AOSP-CAF uses Sultan's camera, my guess is that the whole kernel will probably work. If you try, let me know the result.
Click to expand...
Click to collapse
I don't think aosp-caf ROM that I'm using,is using sultan's camera.Here's the ROM that I'm using,
https://forum.xda-developers.com/oneplus-one/development/rom-aosp-caf-t3584633
I'll give your kernel a try and let you know what works and what not.Thanks for your work!
Mr.Ak said:
I don't think aosp-caf ROM that I'm using,is using sultan's camera.Here's the ROM that I'm using,
https://forum.xda-developers.com/oneplus-one/development/rom-aosp-caf-t3584633
I'll give your kernel a try and let you know what works and what not.Thanks for your work!
Click to expand...
Click to collapse
I don't think it will work.
Meanwhile i created video how to use sdcardfs with this kernel
MOD EDIT: YOUTUBE LINK REMOVED
But video recording is upside down in RRM CAF rom is it bug?
pankspoo said:
Meanwhile i created video how to use sdcardfs with this kernel
MOD EDIT: YOUTUBE LINK REMOVED
But video recording is upside down in RRM CAF rom is it bug?
Click to expand...
Click to collapse
Please take permission from OP before creating such videos,or,otherwise noted in OP.
---------- Post added at 04:49 PM ---------- Previous post was at 04:46 PM ----------
Tomoms said:
I don't think it will work.
Click to expand...
Click to collapse
The camera or the whole kernel?
Mr.Ak said:
Please take permission from OP before creating such videos,or,otherwise noted in OP.
---------- Post added at 04:49 PM ---------- Previous post was at 04:46 PM ----------
The camera or the whole kernel?
Click to expand...
Click to collapse
Only camera screen while taking video. But saved video is playing ok.
And regarding OPs permission if he is not Ok with my work he will tell me about that, but he don't. So nothing is wrong man! I ak just spreading his work so most of peoples will get in touch, i am not copying anything.
pankspoo said:
Only camera screen while taking video. But saved video is playing ok.
And regarding OPs permission if he is not Ok with my work he will tell me about that, but he don't. So nothing is wrong man!
Click to expand...
Click to collapse
It's a ROM bug. On my phone it doesn't happen.
Yeah no problem with the video, asking for permission is right when you need to mirror a file, or publish it somewhere etc. To show my work in a simple video is totally fine!

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

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Floppy is kernel for all custom rom based on LineageOS 14.1, 15.1 and Miui , support the Xiaomi Mi Note 2
Code:
#include <disclaimer.h>
* Your warranty is now void. *
* No guaranteed this'll explode your device, be careful, follow the instructions ! *
*don't point at me if your alarm dies after flashing this kernel ! *
Based on Linux Kernel 3.18.31
Based on LineageOS Kernel
GCC Linaro 7.2.1, UBERTC 8.0, SaberMod 7.0 and Google 4.9
Governors: Impulse, Despair, Zzmove, Darkness, Blu_active, ElementalX, Interactive, Conservative, Ondemand, Powersave, Lionheart, Userspace, Bioshock, Alucard, Hyper, Wheatley, Nightmare, Dancedance, Adaptive, Pegasusq, Chill, Cafactive and Performance.
I/O Schedulers: Noop, Deadline, Cfq, Fiops, Bfq, Zen, Sio, Sioplus, Maple and Tripndroid.
Compiled with -Os
Full Linaro Optimizations ON
Optimized Parameters from L Speed @Paget96
Google Snappy Algorithm
ARM RWSEM Algorithm
Charge Control module - credits : xNombre
Wireless adapter (LIB80211, RTL8180, RTL8187, MAC80211, EEPROM: LEGACY, MAX6875, 93CX6, 93XX46)
Spectrum support
Kexec HardBoot support
Wireguard
Kernel Samepage Merging (KSM)
Dynamic File Sync and Asynchronous FIle Sync - credits : andip71 | Francisco Franco
Passing SafetyNet
[*] Frandom - Entropy Generator
USB OTG NTFS r/w Support
SYSInterface Gentle Fair Sleepers
[*] Some CFLAGS optimizations
Performance enhancements
OC Slimbus frequencies to provide better sound quality
Lazyplug - credits : arter97 | frap129
Backlight Dimmer
Arch Power saving - credits : kirananto | Cl3Kener
Adreno Idler- credits : arter97 | yarpiin
[*] Intelli-Thermal v3.0 - credits : faux123
Support f2fs, exfat, ntfs filesystem
Quick WakeUp Driver and power suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin | Francisco Franco
Support cpu boost, cpu input boost and fingerprint boost
MDSS color control (Kcal v2) - credits : flar2 | andip71
Sysfs interface to Enable/Disable CRC - credits : whyorean
[*] Sysfs interface CPU Vdd levels
Boeffla wl blocker v1.1.0: sensor_ind, msm_hsic_host, wlan_rx, wlan_ctrl, wlan, ipa, qcom rx and more - credits : Francisco Franco | andip71
Vibration Control Intensity
TCP Congestion Algorithms: Westwood (default), Reno, Bic, Highspeed, Hybla, HTCP, Vegas, Scalable, Lp, Yeah and Illinois.
And much more!
First time:
Reboot to recovery
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Update the kernel:
Reboot to recovery
Flash FloppyKernel.zip
Wipe cache e dalvik cache
Reboot
Coming from another kernel:
Reboot to recovery
Flash your ROM
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Floppykernel
FloppyKernel's Autonomous Builds
FloppyTeam
FloppyReleases
Donate here, if you like my work!!!
LineageOS
Mi5Devs
@GreekDragon
XDA:DevDB Information
Floppy Kernel, Kernel for the Xiaomi Mi Note 2
Contributors
Jonas Cardoso, InsideMuz
Source Code: https://github.com/JonasCardoso/android_kernel_xiaomi_msm8996
Kernel Special Features: A magical support, I am all day here, reading the publications of the posts, ready to help in any doubt (unless you have not read the OP that contains the information that you need).
Version Information
Status: Stable
Current Stable Version: RC1.3
Stable Release Date: 2018-01-13
Created 2018-01-08
Last Updated 2018-08-20
RC1 - 28/11/2017
Changes from source "LineageOS/android_kernel_xiaomi_msm8996"
kernel: support for GCC 5, 6 and 7
cpufreq: added new governor
block: added new iosched
filesystem: add NTFS r/w support
power : power_suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin
sched: Add SysInterface for GENTLE_FAIR_SLEEPERS
int_sqrt: Improve 3x faster integer sqrt
sync: Dynamic Sync Control 2.0
fs: Async I/O latency to a ssd greatly increased, 34% gain (Creds: kl…
include: Set 1024KB as Max Read ahead - more performance now
thermal : intelli-Thermal v3.0
ASoC: wcd9335: Sound control
msm8996: all variants same clock
staging: Google Snappy
Power : Add Quick WakeUp Driver
cmdline: Safetynet
fs: add exfat support
cpufreq: show cpu voltages via sysfs 009a6c0
cpufreq: Add CPU Input Boost Driver : SultanXDA
cpufreq: cpu-boost: Optimizations
fs: Dynamic Sync Control 2.0 and MDSS color control
drivers: Slimbus Overclock
gemini: Enable All TCP Congestion Algorithms
OC : Standard MSM8996 Frequency CPU | GPU
devfreq : Add Adreno Idler
cpufreq: add fingerprintboost and lazyplug
drivers: intelli-Thermal v3.0
version: floppykernel RC1
RC1.1 - 10/12/2017
SoundControl: fixed speaker \o/
ramdisk: add tweaks on init.floppy.rc
char: disabled frandom
gemini: enabled ksm
gcc: support gcc 7.x and 8.0 (Linaro and UBERTC)
zip-creator: add spectrum support
drivers: misc: implement usb fast charge mode
version: floppykernel RC1.1 62e569c
zip-creator: delete zip build 8ae3d63
RC1.2 - 27/12/2017
android: binder
ALSA: compress: Add DSD format support for ALSA
ALSA: compress: Add APTX format support in ALSA
firmware: Update synaptic
firmware: Update fte8716
spectrum: don't change clock cpu
kernel: added support to lithium
kernel: added support to natrium
kernel: added support to scorpio
msm8996: Overclocking frequencies
msm: qdsp6v2: Allow 320K AAC encoding
Add Kexec HardBoot Support
Revert "drivers: intelli-Thermal v3.0"
Merge tag 'LA.UM.5.5.r1-06400-8x96.0' into HEAD
drivers: staging: Update qcacld-2.0 driver
version: floppykernel rc1.2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
wakeup: More Wakelocks
RC1.3 - 13/01/2018
zip-creator: update AnyKernel2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
zip-creator: update AnyKernel Setup
wakeup: More Wakelocks
msm: mdss: kcal: Add KCAL support for post processing control [v2] 6b40a22
zram: LZ4 after LZ0
block: Add Maple I/O Scheduler
zip-creator: Patch to remove dm-verity
gcc8: fix warnings
defconfig: Wireless Adapter
net/wireguard: add wireguard importer
zip-creator: device check
dtbTool: now dtbTool will be built
travis: GitHub Release
zip-creator: update patchs
boeffla_wl_blocker: update to wakelock blocker driver v1.1.0 3efdcbf
defconfig: enable lazyplug a9785fe
defconfig: enable adreno idler a5d0558
cpufreq : Add Chill CPU Governor - credits : Joe Maples (@frap129) 6d26826
cpufreq: Add CAF-Active Governer - credits : Jean-Pierre Rasquin 4ba764b
version: floppykernel rc1.3 34479b6
travis: deploy in lineage-14.1 branch e5f4308
Frequently asked questions
Q: Will this conflict with any mod I'm using?
A: As long as it doesn't have any entropy related stuff, its okay. Since the kernel already comes with an inbuilt entropy generator, it will conflict with the ones from mod, causing a poor, stuttered performance!
Q: Deep Sleep isnt working for me, Google Services causing wake-locks, what to do?
A: Go to settings, Privacy, Privacy Guard, All apps, long press Google Services, and deny/disable wake-locks! (Thanks to @Paget96 for the solution)
Q: Which version should I flash?
A: Flash kernel with toolchain that you prefer.
Q: What is the difference between the UBERTC, Linaro, SaberMod and Google toolchain? Which one is the best?
A: It's a good read on the toolchain UBERTC you are wanting to know more about it, this for Linaro, this for SaberMod and this for Google.
Q: What is the difference between the HMP and Miui kernel?
A: Miui folder is for miui roms -> xiaomi.eu, MiuiBR and other derivatives from miui official. HMP folder is for aosp rom and derivatives -> Aosp, Lineage and other derivatives from aosp
Q: Is your kernel secure?
A: You MAY face some issues, but it's safe! My cell phone has not exploded yet.
Q: WiFi doesnt work for me.
A: Reflash ROM and Kernel.
Q: What application can I use to configure the kernel?
A: Use Spectrum, and if you have enough knowledge of what to modify or do in the application use together Kernel Adiutor.
Q: Can I use the kernel source in my ROM?
A: If you want to use my kernel in your ROM, just put my name in the credit, just like I did.
Q: Does your kernel support writing to the NTFS file system?
A: Yeeh, you can use flash drives and HD with NTFS via OTG.
Q: My cpu clock is locked with any governor.
A: Just disable the thermal control in the kernel temperature settings.
Q: I have problems with your kernel.
A: Take a logcat and kmesg, this website and this video should help you
Q: Why does my magisk and root disappear after installing your kernel?
A: The kernel script makes changes that directly interfere with both, reinstall the magisk that it will function normally, follow this installation line always: FloppyKernel -> Magisk -> Reboot system.
Q: Does your kernel support Miui ROM?
A: Yes, support was added in "RC1.2".
Q: Why did your kernel go straight to "RC1.2"?
A: Because it is based on the FloppyKernel for MI5, which is already in RC1.2.
Q: What is the "Battery" profile in the spectrum?
A: Based on Project Zhana & X.A.N.A was made for trying to be as efficient as possible without compromising the performance. Thanks to the discovery on Voltages used by our SD820 I could make a profile that utilizes more the BIG cluster. My first attempt was to move ALL the load to the BIG cluster, it was against anything that I have learned about little. BIG CPU but I tried, it turned really good at first, low usage was just amazing... But on more usage things didn't go that good. So what I did it was to give a twist to things, but not such twist. It kind of works like Nameless and Shotgun, Mostafa Wael and I worked the same idea. #LITTLE cluster will be running on low-mid frequencies but delivers full performance when is needed. # BIG Cluster will help LITTLE ease Load, but in a great way than before. Things can be done faster and more efficient giving us profit in form of battery. It should run smooth on all scenarios, but you guys tell me. You can easily get around 7~9 hours SOT for 24 hours even more If you don't play game. This will, of course, may vary, but it will definitely be better.
Q: What is the "Balanced" profile in the spectrum?
A: Based on GhostPepper was made to uses a quantized, frequency-aligned parametric curve to influence low core clock rates while providing extremely smooth transitions from each clock rate and exceptional battery life. Really well-defined clock speed escalation for a good battery and performance.
Q: What is the "Performance" profile in the spectrum?
A: Based on FusionP this profile brings a more "agressive" way to scale frequencies. It will scale frequencies sooner(regarding load values from cpu) and will use more the big cluster to provide more performance doing the tasks on hands. Battery should not take a big hit but using heavy demanding tasks you can expect a higher drain.
Q: What is the "Gaming" profile in the spectrum?
A: Based on Burnout PR5, this profile's main goal is to provide absolute maximum performance when needed, but lies low quite well. You see, some times I see the CPU hitting some of the high freqs of 1190 while making something as simple as watching YouTube or playing some spotify tracks needlessly, and sometimes I feel it is a bit slower than it should be in things like brute multitasking. Most profiles do aim at bringing a mid-ground to rest on. But with the sensible words of one of my favourite idols Jeremy Clarkson, he says 'Power solves everything' and right he is. By eliminating the mid freqs of the Little cluster and efficiently using some specific frequency steps, you get some power savings by staying on lower freqs as much as possible, and even on brutal tasks you get the job done faster as well, since the CPU will give you all the power to finish the job as fast as it can, and hit back to idle faster.
Q: I want more information about your spectrum profiles.
A: Read this thread.
Q: I want more information about governors, I/O Scheduler, Hotplug, TCP Algorithms and other things.
A: Read this thread.
Hi! I tried the new version of the kernel on mi-globe 7.12.21 rom with twrp 3.2.1 .
I think i am doing something wrong as it does not boot, even if i install the latest magisk v15.
It gets to the boot image and then it shuts down the phone.
Then i reinstall mi-globe rom that comes with the stock kernel and it is fine.
alexmanu1 said:
Hi! I tried the new version of the kernel on mi-globe 7.12.21 rom with twrp 3.2.1 .
I think i am doing something wrong as it does not boot, even if i install the latest magisk v15.
It gets to the boot image and then it shuts down the phone.
Then i reinstall mi-globe rom that comes with the stock kernel and it is fine.
Click to expand...
Click to collapse
Try with version 7.11.19
Jonas Cardoso said:
Try with version 7.11.19
Click to expand...
Click to collapse
Pretty strange. It was from the mi-globe rom . I installed xiaomi.eu's version 7.12.21 and it's working. Testing it and i'll come back with feedback if needed.
none of the versions dont work on miuipro , would be nice if it worked,.. thanks
nofx161 said:
none of the versions dont work on miuipro , would be nice if it worked,.. thanks
Click to expand...
Click to collapse
Can you get log?
Jonas Cardoso said:
Can you get log?
Click to expand...
Click to collapse
Doesn't even start the rom..
@Jonas Cardoso I've a question, could you compile WiFi monitor mode with your kernel? Its a tool which let's you capture wifi packages, and enables to use tools like pcap for android.
Thanks in advance.
UnknowenDev said:
@Jonas Cardoso I've a question, could you compile WiFi monitor mode with your kernel? Its a tool which let's you capture wifi packages, and enables to use tools like pcap for android.
Thanks in advance.
Click to expand...
Click to collapse
Do you have the necessary changes for this? I do not know this feature
Thanks for the custom kernel!
Is it overclocked?
Control with kernel auditor, or can you suggest a better app?
Knz7777 said:
Thanks for the custom kernel!
Is it overclocked?
Control with kernel auditor, or can you suggest a better app?
Click to expand...
Click to collapse
Yeeh, is with OC in CPU, can you get a screen the table clocks with kernel adiutor for me?
Use spectrum for configure kernel, have four profiles and kernel adiutor if necessary
Jonas Cardoso said:
Yeeh, is with OC in CPU, can you get a screen the table clocks with kernel adiutor for me?
Use spectrum for configure kernel, have four profiles and kernel adiutor if necessary
Click to expand...
Click to collapse
Im currently waiting for the device, when it will be in my hands, i will do it. Im planning to use miui.pro with your kernel.
---------- Post added at 02:36 PM ---------- Previous post was at 02:32 PM ----------
And i tried to read about different types of compiling, still i cant understand what to download) ubertc, linaro?) Is there any difference for thr enduser?
Jonas Cardoso said:
Do you have the necessary changes for this? I do not know this feature
Click to expand...
Click to collapse
Here you go: https://null-byte.wonderhowto.com/h...android-device-with-wireless-adapter-0162943/
UnknowenDev said:
Here you go: https://null-byte.wonderhowto.com/h...android-device-with-wireless-adapter-0162943/
Click to expand...
Click to collapse
build with this feature
Knz7777 said:
Im currently waiting for the device, when it will be in my hands, i will do it. Im planning to use miui.pro with your kernel.
---------- Post added at 02:36 PM ---------- Previous post was at 02:32 PM ----------
And i tried to read about different types of compiling, still i cant understand what to download) ubertc, linaro?) Is there any difference for thr enduser?
Click to expand...
Click to collapse
miui pro dont work with my kernel
Jonas Cardoso said:
build with this feature
Click to expand...
Click to collapse
Thank you very much, I'm usually to lazy to rebuild a kernel by myself and since I love your kernel I asked you.
Thank you! ?
UnknowenDev said:
Thank you very much, I'm usually to lazy to rebuild a kernel by myself and since I love your kernel I asked you.
Thank you!
Click to expand...
Click to collapse
I await feedback if the feature worked
Jonas Cardoso said:
miui pro dont work with my kernel
Click to expand...
Click to collapse
Will you fix it?

[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 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
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
Sphinx-v3.5.zip | Kernel by milouk for Mi 8
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Donations - Hall Of Fame
@JJ111
@pro4329
@xdamami
@Malle355
@argraur
@powergo
@Maciej21
@chediak
진성 김
@kaizer hanz
Lefteris Nikolopoulos
Thanks a lot guys for supporting my work. I really appreciate it! You are the best! :highfive:
Aosp kernel or MIUI ? Good work !
Glad to see you here @milouk !
SPOCK_VULKAN said:
Aosp kernel or MIUI ? Good work !
Click to expand...
Click to collapse
MIUI sources from MiCode.
Tested : not boot on miui 10 (xiaomi.eu 8.9.13)
argraur said:
Glad to see you here @milouk !
Click to expand...
Click to collapse
Good to see you man we are gonna do some nice s**t for mi 8 hahahah
exmeaw said:
Tested : not boot on miui 10 (xiaomi.eu 8.9.13)
Click to expand...
Click to collapse
How far did it go? did it reboot in to twrp? did it go until the boot animation?
milouk said:
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
Click to expand...
Click to collapse
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 ----------
milouk said:
How far did it go? did it reboot in to twrp? did it go until the boot animation?
Click to expand...
Click to collapse
Its like going first to this unlocked screen at first then the screen blacks out and it goes to fastboot. Lemme check the logcat
NightScap3 said:
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
Click to expand...
Click to collapse
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?
NightScap3 said:
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
Click to expand...
Click to collapse
a dmesg would be great!
by the way which defconfig did you build?
milouk said:
a dmesg would be great!
by the way which defconfig did you build?
Click to expand...
Click to collapse
I used the dipper_user_defconfig, the one which is also supposed to use (is written in commit at github from xiaomi staff)
milouk said:
How far did it go? did it reboot in to twrp? did it go until the boot animation?
Click to expand...
Click to collapse
Stuck here at the Mi logo
NightScap3 said:
I used the dipper_user_defconfig, the one which is also supposed to use (is written in commit at github from xiaomi staff)
Click to expand...
Click to collapse
i used the same... weird..
exmeaw said:
Stuck here at the Mi logo
Click to expand...
Click to collapse
thanks mate , sorry for the inconvenience
milouk said:
thanks mate , sorry for the inconvenience
Click to expand...
Click to collapse
No Problem , thanks for your work :good:
milouk said:
i used the same... weird..
Click to expand...
Click to collapse
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
milouk said:
i used the same... weird..
Click to expand...
Click to collapse
Something in the kmsg...
Failed to setup verity for '/vendor'
Click to expand...
Click to collapse
This was something which also happened when i used my kernel with magisk, something in vendor did make problems
NightScap3 said:
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
Click to expand...
Click to collapse
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

Categories

Resources