[Kernel][CAF][7.1] Neon kernel v23 - ONE Original Android Development

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!

Related

[KERNEL] [INT'L][TW/GE/AOSP - 5.1/5.0/4.4][18/05/2015] Alucard-Kernel-SGS4 - Stweaks

{
"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"
}
Alucard SGSIV Kernel's for GT-I9505
...works with TW KK, Google Edition KK and AOSP ROM's...​
[Introduction]:
These kernel's are built from CyanogenMod KK branch and Samsung KK sourcecode!
CPU UV is supported by STweaks integrated app. CPU OC is not supported.
The kernel can be used with the old and new bootloader and should fix random reboots on Google Edition ROM.
>>>>>>>>>> CM12.1 <<<<<<<<<<
Kernel-Alucard-V1.3ba For 5.1/5.1.1 NEW-CM12.1 version (CM12.1 2015/05/13 AND LATER ONLY)
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.3b For 5.1/5.1.1 AOSP version (CM12.1 before 2015/05/13 or OPTIMIZED CM12.1)
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.3a For 5.1/5.1.1 AOSP version
Kernel-Alucard-V1.X (AFH Mirror)
>>>>>>>>>> CM12.0 <<<<<<<<<<
Kernel-Alucard-V1.1a For 5.0 AOSP version
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.0e For 5.0 AOSP version
Kernel-Alucard-V1.0e-[16-47]-[06-12]-AOSPV2-EUR-LP5.0-SGIV-PWR-CORE.zip (MEGA Mirror)
>>>>>>>>>> AOSP V2 (for AOSP ROMs after 06 August 2014, included CM11 M10) <<<<<<<<<<
Kernel-Alucard-V1.4r For 4.4 AOSP V2 version
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.4qs For 4.4 AOSP V2 version
Kernel-Alucard-V1.4qs-[23-08]-[01-12]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
Kernel-Alucard-V1.4q For 4.4 AOSP V2 version
Kernel-Alucard-V1.4q-[20-56]-[19-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
Kernel-Alucard-V1.4pb For 4.4 AOSP V2 version
Kernel-Alucard-V1.4pb-[20-18]-[11-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V1.4pb-[20-18]-[11-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 403d0069fc2041605cedad0422b29cb0
Kernel-Alucard-V1.4ocm For 4.4 AOSP V2 version
Kernel-Alucard-V1.4ocm-[00-22]-[09-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V1.4ocm-[00-22]-[09-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 95bbb95dfc6b07b24dece5183c1c483f
>>>>>>>>>> GE <<<<<<<<<<
Kernel-Alucard-V1.1a For 5.0 LolliPop
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V2.4d For 4.4 Google Edition
Kernel-Alucard-V2.4d-[21-05]-[11-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.4d-[21-05]-[11-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 40433965298c861fd45ee413a06caae2
Kernel-Alucard-V2.4a For 4.4 Google Edition [BETA]
Kernel-Alucard-V2.4a-[00-01]-[03-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.4a-[00-01]-[03-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (Mediafire Mirror)
MD5 Sum: 1cde545ee25fd5c2bf4008cf6cefd353
>>>>>>>>>> TW <<<<<<<<<<
Kernel-Alucard-V2.3ga For 4.4 TW version
Kernel-Alucard-V2.3ga-[20-41]-[11-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.3ga-[20-41]-[11-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 226b2924cd5be721a8b859a3d74c3863
Kernel-Alucard-V2.3g For 4.4 TW version
Kernel-Alucard-V2.3g-[00-32]-[09-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.3g-[00-32]-[09-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: beb2c9adba5377f997fb818f636b73a8
>>>>>>>>>> AOSP V1 (for AOSP ROMs up to 06 August 2014, included CM11 M9) <<<<<<<<<<
Kernel-Alucard-V2.7.2a For 4.4 AOSP version (Obsolete)
Kernel-Alucard-V2.7.2a-[23-02]-[03-09]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.7.2a-[23-02]-[03-09]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Mediafire Mirror)
MD5 Sum: bbbee2a886f0e7ffd35efe2541411325
Kernel-Alucard-V2.7.1 For 4.4 AOSP version (Obsolete)
Kernel-Alucard-V2.7.1-[14-57]-[19-08]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.7.1-[14-57]-[19-08]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Mediafire Mirror)
MD5 Sum: 830d9533221fc335b2df5698bd8e8eac
>>>>>>>>>> <<<<<<<<<<
Antutu Benchmark (Default Profile):
Quadrant benchmark (Default Profile):
If you like my work, donate with this link:
http://forum.xda-developers.com/donatetome.php?u=4899086
Thread for sharing personal profiles: (Thanks to Jimsilver73, Kantjer, FlanjeUK ......)
http://forum.xda-developers.com/showthread.php?t=2724905
OFFICIAL ALU TEAM TESTERS: smeroni68, Jimsilver73, franzyroy, ronnie498
XDA:DevDB Information
Alucard SGSIV Kernel for GT-I9505, Kernel for the Samsung Galaxy S 4
Contributors
alucard_24, smeroni68, Jimsilver73, franzyroy, ronnie498, AntaresOne
Kernel Special Features:
Version Information
Status: Testing
Current Beta Version: AOSPV2 v1.4pb
Beta Release Date: 2014-11-11
Created 2014-10-06
Last Updated 2014-11-21
Reserved
(CM12.1 ROM LOLLIPOP VERSION):
Code:
Based on my-aospv2-5.1 kernel
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-aospv2-5.1[/url]
Linux version: 3.4.0
v6.1 - 18/05/2015 (Kernel-Alucard-V1.3ba)
cpu governors and hotplug governors updates!
Selinux updates! Thanks to @dorimanx.
General performance improvements!
PS. It works only for CM12.1 roms 2015/05/13 or later!
v6 - 18/05/2015 (Kernel-Alucard-V1.3b)
cpu governors and hotplug governors updates!
Selinux updates! Thanks to @dorimanx.
General performance improvements!
PS. It works only for CM12.1 roms before 2015/05/13 or OPTIMIZED CM12.1!
v5 - 09/05/2015 (Kernel-Alucard-V1.3a)
Upgraded to linux v.3.4.107
A tons of changes regarding FS, NET, CPUFREQ, MM, USB, MACH-MSM, CPU GOVERNORS, HOTPLUG GOVERNORS, ALUCARD TOUCHBOOST, PROFILES, SCRIPTS etc.....
New STweaks version made by @-+BB+- . He works in my/our group
If someone has battery drain problems caused by Google Play Service bug, he should make active an option on STweaks, "OTHER" tab, called googleplayservicefix.....
(Thanks to @dorimanx)
PS. Kernel works on Unofficial and Official CM12.1 :)
(CM12.0 ROM LOLLIPOP VERSION):
Code:
Based on my-aospv2-4.4 kernel
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-aospv2-5.0[/url]
Linux version: 3.4.0
v5 - 15/02/2015 (Kernel-Alucard-V1.1a)
Upgraded to linux v.3.4.106
A tons of changes regarding FS, NET, CPUFREQ, MM etc..... (Thanks to @dorimanx)
BT updated(CM kernel)
PS. Kernel works on Unofficial and Official CM12 :)
v4 - 09/12/2014 (Kernel-Alucard-V1.0f)
alucard, nightmare, darkness governors optimization.
PS. Next AntaresOne release should include this kernel.
I have created new account on AFH, so all last and newer kernels will be uploaded there :)
v3 - 06/12/2014 (Kernel-Alucard-V1.0e)
Upgraded kernel to linux 3.4.105.
Optimized alucard_hotplug.
Improved battery consuming. More than 50% less in deepsleep.
Disabled manually phone wakup by pressing touchkey(BACK, MENU) also when phone is charging!!! So no stress for me anymore :)
v2 - 01/12/2014 (Kernel-Alucard-V1.0d)
optimized alucard hotplug governor.
updated ramdisk to latest @antaresone build.
general optimizations.
PS. Menu and Back touch keys that wake up phone is no related to my kernel. It is a lollipop functionality for Nexus, anyway @AntaresOne will remove it with new build.
v1 - 21/11/2014 (Kernel-Alucard-V1.0b) [BETA]
All last AOSPV2 changes.
Fixed radio part. Big Thanks to @AntaresOne.
PS. I am really glad to have a new contributor working with us. His name is @AntaresOne.
(GE ROM LOLLIPOP VERSION):
Code:
Based on official AOSPV2 5.0 kernel:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-ge-5.0[/url]
Linux version: 3.4.0
v1 - 17/12/2014 (Kernel-Alucard-V1.1a)
It contains all changes of my CM12 kernel.
Sensors fixed.
(GE ROM KITKAT VERSION):
Code:
Based on official samsung kernel version NB8:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-tw-4.4[/url]
Linux version: 3.4.0
v14 - 11/11/2014 (Kernel-Alucard-V2.4d)
Fixed a bug regarding FS SYNC by @Dorimanx. Big Thanks to him
Imported QUICK_WAKEUP module. It give us battery saving during suspend phase and faster wakeup.
Huge updates regarding FS. Big thanks to @dorimanx.
Slimbus overclock to enhance audio quality......
Performance improved.
v13 - 02/11/2014 (Kernel-Alucard-V2.4a)
Look at AOSPV2 Kernel changelog (ver. 1.4oc)
v12 - 05/09/2014 (Kernel-Alucard-V2.2a)
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
General performace optimizations.
Imported bluetooth drivers from CAF.
It is absolutely recommended to delete /data/.alucard folder before flashing.
v11 - 19/08/2014 (Kernel-Alucard-V2.0)
look at AOSP V2 Changelog :)
v10 - 13/08/2014 (Kernel-Alucard-V1.9c)
Same changes of AOSP Kernel ver 2.7.0b.
Fixed IR. There was a file permission wrong in Ramdisk. Now it works well.
Compiled with new Linaro 4.9 2014-08 compiled by [user=2376110]@dorimanx[/user] with optimization flags. It works very well.
Thanks to @HATrED_ for testing :)
v9 - 10/07/2014 (Kernel-Alucard-V1.8)
Same changes of AOSP Kernel ver 2.6.9.
Upgraded to Linux v.3.4.98
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Tune Kernel Flags after checking with GccOptimizationTests. It seems to provide 4~7% boost in cpu performance. Thanks to [user=2376110]@dorimanx[/user]
Enabled config_cma.
Implement optimized percpu variable access.
Optimized mm.
General performance increment.
Compiled with latest Sabermod 4.9.1(compiled by [user=3306843]@kantjer[/user]). Thanks to him.
PS. Delete folder /data/.alucard before flashing new kernel.
v8 - 14/06/2014 (Kernel-Alucard-V1.7f)
Upgraded to Linux v.3.4.93
Optimized cpu governors (alucard, nightmare, darkness, ondemand, interactive)
Optimized hotplug governors (Alucard_hotplug, intelliplug, MSM_Hotplug)
Optimized cpuboost
Made faux sound control configurable by stweaks. (NEW for GE & TW Kernel)
Enhanced AC/USB Fastcharger and made it configurable by stweaks. Thanks to [user=4325945]@ktoonsez[/user] (NEW for TW Kernel)
Imported LED control and made it configurable by stweaks. Thanks to [user=1546289]@googy[/user]anas. (NEW for AOSP & TW Kernel)
Removed cpu hotplugging (SLEEP) tab on stweaks. It was not so useful.
Removed cpu tuning(SLEEP) tab on stweaks. It was not so useful.
IR should be fixed on GE Kernel for GE 4.4.3 Roms.
Charging animation when phone is turned off works on TW, GE, AOSP Kernel.
GE, TW, AOSP kernels are aligned among them. They contain the same features :)
Imported many commits for SMP, MM, timers etc parts.
Many changes have been done on settings so delete /data/.alucard before flashing the new kernel.
.............................
(TW ROM KITKAT VERSION):
Code:
Based on last TW KK official kernel:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-tw-4.4[/url]
Linux version: 3.4.0
v15 - 11/11/2014 (Kernel-Alucard-V2.3ga)
Enabled USB_SAMSUNG_ANDROID_SIDESYNC trying to help some unlucky users for MTP not working. My testers reported that MTP works well. So you all have some problem again, try to fix PC drivers.
Fixed a bug regarding FS SYNC by @Dorimanx. Big Thanks to him
Imported QUICK_WAKEUP module. It give us battery saving during suspend phase and faster wakeup.
Huge updates regarding FS. Big thanks to @dorimanx.
Slimbus overclock to enhance audio quality......
Performance improved.
v14 - 09/11/2014 (Kernel-Alucard-V2.3g For 4.4 TW version)
Fixed permission for int/ext sdcard. Now it works properly.
Huge FileSystem Updates. BIG Thanks to @dorimanx
PM and Suspend updates. BIG Thanks to @dorimanx
Performance improvements.
v13 - 02/11/2014 (Kernel-Alucard-V2.3f For 4.4 TW version)
Look at AOSPV2 Kernel changelog (ver. 1.4oc)
v12 - 23/10/2104 (Kernel-Alucard-V2.3a For 4.4 TW version [BETA])
Kernel based on my AOSPV2 Kernel.
All of last AOSPV2 kernel change.
Updated SCHED.
Optimized all cpu governors.
Optimized alucard hotplug governor.
Optimized all stweaks profiles.
Improved general performance.
v11 - 04/09/2014 (Kernel-Alucard-V2.1a
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
General performace optimizations.
It is absolutely recommended to delete /data/.alucard folder before flashing.
v10 - 19/08/2014 (Kernel-Alucard-V1.9)
Look at AOSP V2 Changelog.
v9 - 13/08/2014 (Kernel-Alucard-V1.8a)
Same changes of AOSP Kernel ver 2.7.0b.
Compiled with new Linaro 4.9 2014-08 compiled by [user=2376110]@dorimanx[/user] with optimization flags. It works very well.
v8 - 10/07/2014 (Kernel-Alucard-V1.7)
Same changes of AOSP Kernel ver 2.6.9.
Upgraded to Linux v.3.4.98
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Tune Kernel Flags after checking with GccOptimizationTests. It seems to provide 4~7% boost in cpu performance. Thanks to [user=2376110]@dorimanx[/user]
Enabled config_cma.
Implement optimized percpu variable access.
Optimized mm.
General performance increment.
Compiled with latest Sabermod 4.9.1(compiled by [user=3306843]@kantjer[/user]). Thanks to him.
PS. Delete folder /data/.alucard before flashing new kernel.
..............
(AOSP VER. 2 ROM KITKAT VERSION):
Code:
Based on last AOSP official kernel:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-aospv2-4.4[/url]
Linux version: 3.4.0
v12 - 09/12/2014 (Kernel-Alucard-V1.4r)
Look at AOSPV5 changelogs :)
v11 - 01/12/2014 (Kernel-Alucard-V1.4qs)
optimized alucard hotplug governor.
general optimizations.
v10 - 19/11/2014 (Kernel-Alucard-V1.4q)
Upgraded workqueue to 3.9Y
Alucard cpu governor optimization.
Cpufreq updates.
Restored some changes for LMK and MM OOM.
Removed I/O scheduler configurable deepsleep mode. It was useless.
General performance increased.
v9 - 11/11/2014 (Kernel-Alucard-V1.4pb)
Fixed a bug regarding FS SYNC by @Dorimanx. Big Thanks to him
Imported QUICK_WAKEUP module. It give us battery saving during suspend phase and faster wakeup.
Huge updates regarding FS. Big thanks to @dorimanx.
Slimbus overclock to enhance audio quality......
Performance improved.
v8 - 09/11/2014 (Kernel-Alucard-V1.4ocm)
Huge FileSystem Updates. BIG Thanks to @dorimanx
PM and Suspend updates. BIG Thanks to @dorimanx
Performance improvements.
v7 - 02/11/2014 (Kernel-Alucard-V1.4oc)
Huge updates regarding "alarm". We have replaced rtc alarm system with a new one. it gives more battery saving during suspend. Thanks to @neobuddy89
BFQ I/O scheduler updated.
Alucard cpu governor tuned. We have two new parameter configurable on stweaks. CPUS_UP_RATE, CPUS_DOWN_RATE.
Alucard hotplug governor enhanced.
Updated SCHED, OOM.
Reverts some changes for LMK. Thanks to @dorimanx
Disabled CMA MEMORY RESERVED. It is useless. Now we have 16MB ram free. Thanks to @dorimanx
Some minor bugfixing.
Improved battery saving on suspend.
General performace improvements.
PS. Thanks to my official testers :)
v6 - 19/10/2014 (Kernel-Alucard-V1.4m)
Fixed msm_thermal control.
General bug fixing on some module.
Imported new wifi drivers from cm kernel but they don't solve wifi bug.
Patched BT drivers. Now BT works like a charm.
Optimized alucard, darkness, nightmare, ondemand cpu governors.
Updated msm_hotplug, alucard_hotplug.
Implemented new module(ALU-T-BOOST) for touch boosting. it is based on cpuboost and it can boost a parametrizable nr of cpus during touching.
Optimized alucard_hotplug and alucard cpu gov sampling time.
Updated Ramdisk scripts. Thanks very much to [user=2376110]@dorimanx[/user].
Fixed a bug on LMK module. Thanks very much to [user=2376110]@dorimanx[/user].
General performance increased!
Added synapse apk into zip flash kernel package. Implemented some status functionalities....... maybe it will replace stweaks in the future...
Thanks to @AndreiLux, [user=2376110]@dorimanx[/user], [user=3795148]@neobuddy89[/user]
PS. we a new official tester. His name is Jimsilver73.
Huge thanks to my official testers(@smeroni68, @jimsilver73) for very good job in testing kernel.
v5 - 04/10/2014 (Kernel-Alucard-V1.4h)
*Merged CPUFREQ fixes that improve performance.
*Merged updates for CPUFREQ and SCHED CORE code.
*Merged HUGE update to Power Manager and QOS Code.
*Replaced old Early Suspend with Power suspend. I am the first one to import this feature for S4. Thanks to [user=3795148]@neobuddy89[/user] and [user=2376110]@dorimanx[/user] for their code.
*Removed DYNAMIC FSYNC. It could cause kernel panic if used with ASYNC FSYNC.
I/O. Performance are reduced but stability is improved :)
*Merged HUGE update to CPUIDLE code.
*Merged HUGE update to Kernel IRQ distribution Domain.
*Merged HUGE update to FileSystem code and Kernel System code.
*Merged NET code update.
*Tuned MSM and Intelli HotPlugs.
*Fixed stuck SuperSU service on boot.
*Added new control to STweaks, that allow to use faster kernel workqueue or more power saver.
*Updated with 3.4.104 main line patches.
*Updated MSM RQ STATS code to better support Default HotPlug
*Merged HUGE update to CPUIDLE code that responsible for CPU sleep and power up on need from IDLE to full power and fast back to idle. Code is very complicated and many bugs are fixed with this huge port from 3.10.y tree.
*Merged HUGE update to Power Mode Domains, this code responsible for powering down drivers on deepsleep and waking them on wakeup.
Many bugs are fixed and many new things added that make this code a lot faster and safe.
*Merged updates to persistent RAM driver.
*Merged code updates to SCHED CORE.
*Merged performance boost code for Cortex A15 CPU that we have!
*Merged serious update from TEGRA 3.10.y kernel for CPUIDLE relaxation. This code will help to save power when CPU is not loaded, so kernel will idle much better and not looping useless CPU cycles. when there is nothing to do.
*Merged SMP and Unalligned patches to speed up the code process.
*Merged CGROUP protection patch.
*Merged updates to Qseecom driver.
*Merged updates to MMC driver. We have new MMC code now.
*Merged latest Seccomp driver.
*Merged updates to android binder.
* Performace improved a lot!
Thanks to [user=2376110]@dorimanx[/user] for part of his changelog. :)
v4 - 20/09/2014 (Kernel-Alucard-V1.4e) [BETA]
Optimized suspend code. (I hope that it fix reboot problem for other users. All works well for me :)
Optimized msm_hotplug.
Optimized msm_rq_stats, needed for msm_mpdecision working.
Optimized blueetooth drivers. Now it doesn't consume battery when phone is in sleep mode and bluetooth is enabled. I tested also exchanging files via bluetooth and all worked well.
Reduced thermal limit temperature to 70°C. So it is sure that phone doesn't reboot while antutu testing....
Some general fixes.
General performance improvements.
It is recommended to delete /data/.alucard folder before flashing new kernel.
PS. Remember this kernel is only for New CM ROM type.
v3 - 11/09/2014 (Kernel-Alucard-V1.4b)
Reverted WORKQUEUE 3.8y updates. They could cause some reboots for someone.
Updated F2FS drivers.
Completely merged with NEW CM KERNEL.
Compiled with Christopher GCC 4.9.2. Thanks to him.
Now we have a new official TESTER for AOSPV2 kernel. His name is @smeroni68. Thanks to him.
Thanks also to @davtse for kernel testing.
v2.2 - 01/09/2014 (Kernel-Alucard-V1.3d)
Added gamma control.
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
General performace optimizations.
It is absolutely recommended to delete /data/.alucard folder before flashing.
PS. Please don't ask porting all of these changes for other roms. I have worked for so many days and I need to have long period of relaxing :)
For all users that continually ask for new changes..... I develop for fun and try port what I think it is necessary.......
Sometime I try to make also happy some users accepting to implement good changes, but It's me that decide to do this.
v1 - 19/08/2014 (Kernel-Alucard-V1.0c)
Added intelliactive cpu governor.
Added slim cpu governor.
Optimized msm_rq_stats for MPDecision.
Added loki_doki binaries(Only for AOSP and AOSP V2). Kernel can be flashed on other S4 devices different from I9505.
Upgraded bluetooth drivers. Let me know if music stutter again or if change something.....
Added io_is_busy parameters for all cpu governors. It can be configured by STweaks.
Added io_is_busy called hp_io_is_busy for all hotplug governors. It can be configured by STweaks.
Added hotplug_suspend parameters for all hotplug governors. It allow to hotplug governor not to suspend.
Hotplug governor can't be suspended when screen is off by default. Change it if you want.... instead, by STweaks.
Updated cpuboost.
Updated intelli_plug, msm_hotplug.
General performance increased.
Updated Ramdisk. Thanks to [user=2376110]@dorimanx[/user]
Compiled by Linaro 4.9.2 toolchain (by Dorimanx)
For AOSPV2 Kernel (it works with new CM. No RR :) )
..............
(AOSP ROM KITKAT VERSION):
Code:
Based on CM 11.0 official version:
[url]https://github.com/CyanogenMod/android_kernel_samsung_jf/tree/cm-11.0[/url]
Linux version: 3.4.0
v35 - 03/09/2014
Added gamma control.
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
Added support for MIUI v5 KK.
General performace optimizations.
It is absolutely recommended to delete /data/.alucard folder before flashing.
v34 - 19/08/2014 (Kernel-Alucard-V2.7.1)
Look at AOSP V2 changelog.
v33 - 14/08/2014 (Kernel-Alucard-V2.7.0d)
Upgraded to Linux v.3.4.103
Optimized interactive governor. Thanks to [user=3795148]@neobuddy89[/user].
Fixed MSM MPDecision hotplug. Now all cores work well when system is resumed from suspended state.
Fixed Default MSM Thermal that should work for all hotplug governors and cpu governors.
Compiled with new Linaro 4.9 2014-08 compiled by [user=2376110]@dorimanx[/user] with optimization flags. It works very well.
v32.1 - 10/08/2014 (Kernel-Alucard-V2.7.0b)
Reverted new MSM GPU drivers imported from official CM Kernel. They caused phone rebooting for someone.
Upgraded to Linux v.3.4.102
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Optimized alucard governor.
Optimized interactive governor.
Optimzed Intelliplug, alucard_hotplug, MSM_hotplug hotplug governor.
BIG Patch regarding sched, rcu. Overall smothness is improved. Thanks to [user=3795148]@neobuddy89[/user], [user=2376110]@dorimanx[/user].
Updated CMA, ARM, MM, Random, CPUFREQ, cpuboost, kernel time etc parts. (about 500 commits including sched patch)
Optimized F2FS part. I took last changes from CM kernel.
Implemented new api function to easy configure scaling_min_freq, scaling_max_freq, scaling_governor for each cpu. Now we can set different governor, min/max frequency for each cores using Stweaks.
Imported script updates from Kantjer Ramdisk branch. Thanks to [user=3306843]@kantjer[/user]. (OFF TOPIC: I find out that you are swedish.... I worked in Gothenburg last year for six Months. I like sweden :))
General performance increment.
Many changes on Profiles so It is absolutely recommended to delete /data/.alucard folder before flashing new kernel.
PS. Kernel is not compatible with new CM Nightly rom because I need to patch kernel again. I don't know if I have to start from zero again using last cm kernel and patching all my commits.(about 3000 commits) or merge only new parts. It will take alot of time.
v31 - 10/07/2014 (Kernel-Alucard-V2.6.9b)
Upgraded to Linux v.3.4.98
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Tune Kernel Flags after checking with GccOptimizationTests. It seems to provide 4~7% boost in cpu performance. Thanks to [user=2376110]@dorimanx[/user]
Enabled config_cma.
Implement optimized percpu variable access.
Optimized mm.
General performance increment.
Compiled with latest Sabermod 4.9.1(compiled by [user=3306843]@kantjer[/user]). Thanks to him.
PS. if you come from last 2.6.9 AOSP kernel, you don't need to delete /data/.alucard folder.
v30 - 05/07/2014 (Kernel-Alucard-V2.6.9)
Upgraded to Linux v.3.4.96
Optimized cpu governors (alucard, nightmare, darkness, ondemand, interactive)
Added pump_inc_step_at_min_freq for alucard_governor.
Made Pump_inc_step_at_min_freq, pump_inc_step and pump_dec_step configurable differently on every cpu by stweaks. Increased also freq for responsiveness to 1134000.
Optimized hotplug governors (Alucard_hotplug, intelliplug, MSM_Hotplug)
Optimized cpuboost
Patched sched, mm, kernel time parts.
Added arch_power configurable by stweaks. (it is on by default)
Reverted commit on sched that caused audio problem when phone is in sleep mode.
Increased default maxcoreslimitsleep to 2 cores and increased scaling_max_freq_sleep to 1242000.
Imported general kernel commits.
Many changes have been done on settings so delete /data/.alucard before flashing the new kernel.
v29 - 14/06/2014 (Kernel-Alucard-V2.6.8)
Upgraded to Linux v.3.4.93
Optimized cpu governors (alucard, nightmare, darkness, ondemand, interactive)
Optimized hotplug governors (Alucard_hotplug, intelliplug, MSM_Hotplug)
Optimized cpuboost
Made faux sound control configurable by stweaks. (NEW for GE & TW Kernel)
Enhanced AC/USB Fastcharger and made it configurable by stweaks. Thanks to [user=4325945]@ktoonsez[/user] (NEW for TW Kernel)
Imported LED control and made it configurable by stweaks. Thanks to [user=1546289]@googy[/user]anas. (NEW for AOSP & TW Kernel)
Removed cpu hotplugging (SLEEP) tab on stweaks. It was not so useful.
Removed cpu tuning(SLEEP) tab on stweaks. It was not so useful.
Charging animation when phone is turned off works on TW, GE, AOSP Kernel.
GE, TW, AOSP kernels are aligned among them. They contain the same features :)
Imported many commits for SMP, MM, timers etc parts.
Many changes have been done on settings so delete /data/.alucard before flashing the new kernel.
v28.1 - 05/06/2014 (Kernel-Alucard-V2.6.7la)
Optimized alucard_hotplug, msm_hotplug, intelli_plug.
Optimized alucard, ondemand cpu governors
Optimized cpuboost.
Enhanced FAST CHARGE and made configurable on stweaks. Many options.... :) Thanks to Ktoonsez.
Added Sound Control configurable on Stweaks. Thanks to googyanas. FIXED BY ME :) Headphon PA Gain has been restored to 12 as default. For people that need more power, change it to 20 :)
Fixed charging when phone is turned off. Pressing power to restart phone when it is turned off and connected to AC/USB cable doesn't cause animation loop. TO Restart phone is necessary to hold power button pressed for 2-3 sec. :)
USB HID Keyboard and mouse is restored. It works properly, I have already tested :):)
Added HYBLA as TCP congestion control. Thanks to Kantjer.
General performace increment.
Improved battery consuming (just a bit more) in sleep mode.
DELETE /data/.alucard before flashing new kernel. I have done many changes to profiles. :)
v27 - 31/05/2014 (Kernel-Alucard-V2.6.7g)
Optimized mm.
Optimized sched.
Enabled VMALLOC_SAVINGS by default.
Optimized alucard, darkness, nightmare, ondemand, interactive cpu governors.
Optimized cpuboost.
Optimized alucard_hotplug govenor.
Optimized intelli_plug governor.
We have a new hotplug governor called "msm_hotplug". It is very good and it can be enabled by stweaks. Thanks to [user=2376110]@dorimanx[/user], [user=3795148]@neobuddy89[/user]
Added tcp congestion control configurable by stweaks. Default is cubic.
Added sched_mc_powersaving configurable by stweaks. Default was 2 but now can be configured.
Added gentle fair sleepers configurable by stweaks.
Removed useless cortex tcp, tcp_ram, ipv6 options.
Fixed a bug in cortex awake/sleep switching. Thanks to [user=2376110]@dorimanx[/user].
Now all settings show "kHz" as unit instead of MHz/Hz in stweaks. Thanks to [user=4129455]@Formhault[/user]
Now Cifs can be enabled and should work. Thanks to [user=2376110]@dorimanx[/user].
Removed "CM" profiles overwriting for who use CM ROM with my kernel.
Added two push buttons on stweaks. 1) My XDA thread kernel link. 2) Donation link :)
General performance improvements.
PS. DELETE /data/.alucard folder before flashing new kernel.
v26 - 24/05/2014 (Kernel-Alucard-V2.6.7a)
Upgraded to Linux v.3.4.91
Removed 162, 270 Mhz step frequency. They were useless.
Removed ZRAM, ZCACHE and ZSMALLOC. We have 2gb ram, so we don't care.....
Optimized all cpu governors.
Optimized alucard hotplug governor.
Optimized intelli-thermal.
Set ROW I/O scheduler as default.
Include tcp congestion control in the kernel but it is not configurable on stweaks. Maybe in the next release :)
Use phone as USB KEYBOARD/MOUSE(Thanks to [user=2376110]@dorimanx[/user]):
Base project: [url]https://github.com/pelya/android-keyboard-gadget[/url]
Required app: [url]https://play.google.com/store/apps/details?id=remote.hid.keyboard.client[/url]
Steps:
* Start ADB Debugging
* Start app
* Connect device to system via USB cable
Known minor issue[OLD BOOTLOADER]: Phone can charge when is off, animation is visible but it is necessary to unplug cable and press power for phone booting.
DELETE /data/.alucard before flashing new kernel (Recommended)
UPDATE: [Compiled with new SaberMod 4.8.3 with O3 and all other optimization flags + hard float flag]
v25 - 18/05/2014 (Kernel-Alucard-V2.6.6o)
Upgraded to linux 3.4.90 version.
Imported about 300 commit regarding sched and mm. General performance improved.
Optimized all cpu governors and alucard_hotplug governor.
Removed DVFS touch interface and replace with CPU BOOST. Parameters are configurable on stweaks.
Phone is now much more fast and smooth.
PS. It is recommended to delete /data/.alucard before flashing.
Thanks to Jimsilver73 for testing:)
v24 - 12/05/2014 (Kernel-Alucard-V2.6.6mm [ OFFICIAL TEST]
Upgraded to linux 3.4.89 version.
Alucard_hotplug optimized. Added new parameters for tweaking.
Optimized my cpu governors. Use Power Efficient workqueue.
Adjusted sampling rate for all governors. Thanks to Dorimanx.
Corrected some descriptions. Thanks to Kantjer, FlanjeUK and Jimsilver73.
Removed cpu governor switching during sleep phase.
Phone is smoother and faster than previous version.
Battery consuming should be better during awake phase.
v23 - 07/05/2014 (Kernel-Alucard-V2.6.6m
Compiled with Sabermod 4.10 O3 flags.
Optimized dvfs touch interface. Inserted descriptions. Thanks to Kantjer.
Corrected some descriptions in stweaks. Thanks to Kantjer.
Corrected switching governor during awake/sleep mode.
Changed gpu clk reset rate 1800000 to 27000000(Default). Solved graphical glitches for some games like PVZ2.
v22.2 - 1/05/2014 (Kernel-Alucard-V2.6.6lb [ 1: Compiled with SaberMod 4.10 O3 flags ]
Now we can support cache, data and system as f2fs file system. We can use one or two or all three of them. Many thanks to dorimanx for precious command for identifying partition type without mounting.
UPDATE: Fixed f2fs partition mounting. I tested on last official cm 11.0 ROMS.
v22 - 29/04/2014 (Kernel-Alucard-V2.6.6l [ 1: Compiled with SaberMod 4.8.3 O2 flags | 2: Compiled with SaberMod 4.10 O3 flags ]
Two version compiled with 2 different compiler. You all can test them and let me know which is the best.
Upgraded to linux 3.4.88 version.
Updated BFQ I/O Scheduler.
Optimized Alucard_hotplug governor.
Implemented cpufreq_limit_manager module for limitting frequency when suspended, on call or gps using.
OLD bootloader charging half solution. Phone can charge (as before) and % is visible but it is necessary to unplug AC charger cable and press power as a normal boot.
Improved battery consuming in sleep mode.
Improved performance just a bit more.
Implemented f2fs, ext4 partition detecting during phone boots. Kernel automatically mounts the proper partitions when EXT4 or F2FS... It always necessary a recovery custom for formatting and obviously "cache" and "data" partitions must be formatted as well. (In the future when a recovery supports both filesystem formatting, you don't need to re-flash kernel).
v21- 21/04/2014 (Kernel-Alucard-V2.6.6f)
Optimized alucard_hotplug and intelli_plug hotplug governors for memory consumptions and performance overall.
General performance overall
Fixed Stweaks app that show "Unexpected error" message. It wasn't an error just a textbox on its background. I also fixed cancelling progress dialog delay that show that message.
Compiled kernel with Sabermod GCC 4.8.3. It seems a bit faster and smoother.
Fixed restoring profiles. [NEW]
v20- 16/04/2014 (Kernel-Alucard-V2.6.6da)
Upgraded to linux 3.4.87 version.
Optimized alucard_hotplug.
v19- 13/04/2014 (Kernel-Alucard-V2.6.6c)
Fixed freezes removing optimzed percpu timer commit.
Updated cpu timing function from Linux 3.14.
Updated kernel smp and cpu parts.
Updated driver cpuidle part.
Imported F2FS. Now the kernel include that FS.
Optimized alucard_hotplug.
Optimized kernel workqueue.
Fixed charged icon while phone, turned off, is charging.
Fixed drivers cpufreq.
Removed SuperSU app and related file inside zip kernel. If you all still have problems with losing root it is not kernel fault. I tested with 4 different roms and I have never lost root.
General improvements.
v18- 07/04/2014 (Kernel-Alucard-V2.6.5ib)
Moved Stweaks, system modules inside zip kernel. Now there will not be problems for anyone.
Reduced default hotplug_sampling_rate to 60 ms. Before was 100 ms.
Implement optimized percpu variable access. It should increase performance just a little bit.
...................................................................................................................................
Reserved
Reserved
great
5 Stars for this good kernel
+1
Thanks for your work but I noticed you repo has a lot of branches. what branch is used for AOSP? my-brood-kk I assumed. but I'm not 100% sure
Is nice to see you have your own thread now .
I'm going to test the new kernel now on jamal's RC2 and report on the usage.
Thanks!
Awesome
broodplank1337 said:
Thanks for your work but I noticed you repo has a lot of branches. what branch is used for AOSP? my-brood-kk I assumed. but I'm not 100% sure
Click to expand...
Click to collapse
You are welcome Yes I have two branch for AOSP. (my-cm-11.0 and my-brood-kk)
I have to test and release kernel also for AOSP KK ROM! I need also to import some commits into
i have not rr since L version ....good kernel and good dev ...i like you
Here is a mirror in MEGA:
http://bit.ly/19z3lfb
Cheers!
Alucard Many Thanks from Portugal for your EFFORT.
No RR anymore..
does this kernel have better performance than stock GE kernel? or same? would be awesome a tweaked linaro GE kernel :good:
Alucard you refer that latest kernel release is v2.3.4lg,
i installed but on my kernel version is 2.3.4l, i do not have "lg"
is it ok?
Jmldsilva said:
Alucard you refer that latest kernel release is v2.3.4lg,
i installed but on my kernel version is 2.3.4l, i do not have "lg"
is it ok?
Click to expand...
Click to collapse
Yes it is I forgot to add "g" character into Kernel config, but I can confirm that it is the last one that i have installed on my phone
alucard_24 said:
Yes it is I forgot to add "g" character into Kernel config, but I can confirm that it is the last one that i have installed on my phone
Click to expand...
Click to collapse
Ok, Thanks..:good:
Alucard thanks for your kernel. Are the Bluetooth problems solved with the latest (lg) version as well?
can anyone else confirm that foldermount is operating as it should?
my folders are still not mounting, i have uninstalled and installed it again and again.
khan1989 said:
can anyone else confirm that foldermount is operating as it should?
my folders are still not mounting, i have uninstalled and installed it again and again.
Click to expand...
Click to collapse
i'm to my folder mount still not working
Where is v3...is it not out yet..

[KERNEL][Z1C][5.0-5.1][F2FS] Advanced-Kernel v19.0[2017/03/25]

Overview:
I’m a newbie to rebuild and compile a custom kernel. I like to learn new things and share with you my modified version of 14.5.A.0.242-Kernel
It is basically a mixture between some developers kernel source like e.g.,cocafe,DooMLoRD,alnikki25k.
I'm not a developer so I cannot answer your question about any bugs for this kernel immediately. I will try to ask other developer how to
resolve bugs. Experts, please correct me if I am wrong, this stuff is still new to me also.
2015/07/25
I started to port AndroPlusKernel most of feature for z1 compact
Please to visit the AndroPlusKernel's Original Thread in the Z2 forum, and make sure you read all the instructions there
http://forum.xda-developers.com/xperia-z2/development/kernel-andropluskernel-v10-t2974841
2015/07/31
Click here to see how to control vibrator & WCD9320 Taiko Audio Codec
http://forum.xda-developers.com/showpost.php?p=62125592&postcount=24
Requirements:
HTML:
Xperia Z1 Compact
Unlocked Bootloader
DO NOT use this kernel with CM or CM based ROM.
This kernel is only for stock or stock based ROM.
v1~v4 for 14.5.A.0.242
v5~v12 for 14.5.A.0.270/14.5.A.0.283
v13~v15 for 14.6.A.0.368
v16~ for 14.6.A.1.216
v17~ for 14.6.A.1.236
Installation instructions:
HTML:
Backup your system
Download the ZIP file below, and flash it in recovery
Download Links:
http://goo.gl/qCiTOA
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
Source Code:
https://github.com/charles1018/kernel_sony_msm8974/tree/lollipop_mr3-dev
Credits:
Code:
sony: (Open source archive for 14.5.A.0.242/270/283)
cocafe: (helping me learn all of build my own kernel from source)
[NUT]: (for all recoveries & 14.5.A.0.242 kernel ramdisk & NDRUtils)
dosomder: (Android kernel module to bypass SELinux at boot)
DooMLoRD & alnikki25k & Faux123 & AndroPlus (for theirs awesome job and great sources to rhine devices)
OmarEinea: (for his great script of build tools letting me easy way to compile kernel)
And for everyone who had a hand in making this kernel better
ChangeLog :
2015-04-29 v1.0 :
init.d
Governor:wheatley,SmartAssv2,pegasusq,LionHeart,LagFree,intellidemand,intelliactive,preservative,blu_active
I/O Scheduler:SIO,VR,ZEN,SIO-Plus,FIOPS
support for kernel mode NEON
fastcharge
support for exfat
2015-05-08 v2.0 :
kexec-hardboot: still not fully work as Primary ROM(MultiROM v30x), i am waiting Garcia98's or other developer update MultiROM to v32
enable additional TCP congestion algorithms(westwood,bic,htcp,vegas,veno,yeah)
Simple GPU Algorithm
change wireless expire time about each entry of scan results(3 * HZ)
net: rps: fix cpu unplug
Sync SSR with disconnect/reconnect
overall_stats
With Kernel Adiutor application you can more tweak and monitor features
2015-05-18 v4.0 :
fix loading stops at the boot screen
multirom TWRP 2.8.6
upgraded LZO (de)compression drivers
added per-core overall stats - now you can see the time spent by each core in a particular frequency state!
added LZ4 compression/decompression support
generic voltage control
added intelli-thermal_v2 kernel thermal driver with optimizations for 8974 SOC
intelli-plug
powersuspend PM kernel driver
kernel samepage merging
2015-05-24 v5.0 :
merge 14.5.A.0.270 kernel sources
Updated ramdisk to 14.5.A.0.270
Fixed simple_ondemand GPU governor crashing
CPU OverClock upto 2.42 GHz
turbo boost on MSM architectures-allows overclocking of 2 cores to higher clock rate than stock maximum
Added some optimizations for cpufreq (less spam log, delete deprecated code)
CPU Undervolting
2015-07-25 v6.0 :
port AndroPlusKernel most of feature for z1 compact
merge 14.5.A.0.283 kernel sources
Built with UBER toolchains 4.9.4
Updated TWRP to 2.8.7.0
Added new CPU governor: alcurd,zzmove, ElementalX, nightmare, darkness, smartmax, HYPER, ondemandplus, intelliminmax, smartassH3, adaptive, intellidemand
Added new I/O: bfq, sioplus, tripndroid
Added optimization I/O, power_efficient workqueue, GPU
Updated Zen IO scheduler and set as default
Added new GPU governor: conservative
Added Adreno idler (addon for adreno-tz)
Reduced logging spam (qmi_qmux)
Updated KCAL
Added some optimization from CM/unified kernel
Removed blu_active,Lagfree,wheatley,lionheart
Added alcurd hotplug
Added sysfs interface to Enable / Disable Android Logger
Updated patch for memory
Added patch for encryption
Added power_efficient workqueues
Added dynamic fsync
Added Dynamic management of dirty page writeback
Integrated frandom in kernel and support frandom module
Added fast_hotplug by pec0ra 2
Supports notifier for start&end of LCD power on&off
2015-07-31 v7.0 :
update some codes from codeaurora
Added WCD9320 Taiko Audio Codec Control v3 from cocafe
Increase default speaker volume
qpnp-vibrator intensity control
enabling two-way call recording directly from the phone line
Click here to see how to control vibrator & WCD9320 Taiko Audio Codec
http://forum.xda-developers.com/showpost.php?p=62125592&postcount=24
2015-08-15 v8.0 :
kernel with kexec-hardboot(thanks to venkat kamesh's ramdisk & OmarEinea's kexec-hardboot patch)
fix Darkness governor random reboots when heavy memory use(we need more tests)
fix KCAL Color Control is not working
The vibration strength can be controlled by Kernel Adiutor application
fix lowmemorykiller being overly aggressive
increase the total number of GFP flags
fix waking up sync thread recursively for same CPU causes deadlock
enable ZRAM features(from Linaro Stable Kernel 3.10)
zram: add lz4 algorithm backend
CPU hotplug: Provide lockless versions of callback registration functions
powersuspend: cumulative update to version 1.6
intelli_plug:update to version 4.0
msm: kgsl: Make global memory statistics atomic
Click my github commits to view changeLog details
2015-08-21 v9.0 :
Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)
Changed wakelock blocker sysfs name to one in Kernel Adiutor
Added interactive_proconservative Governor
Added mac80211 injection patch and HID patch for keyboard support
Updated zzmove to 1.0-beta8
Added CPU hotplug Zen Decision
2015-08-28 v10.0 :
back to the regular default speaker volume
added mako hotplug
added new GPU governor: cache-hwmon
msm: memutils: memcpy, memmove, copy_page optimization
scm-mpu: Add additional memory protection options
Click here to see how to add support for a scm call to protect a contiguous physical address range.
http://forum.xda-developers.com/showpost.php?p=62550061&postcount=49
2015-09-08 v11.0 :
fix sometimes have freezed or crashed problems
updated kernel to 3.4.1
updated UBER toolchains to 4.9.4 20150901
Enhance power efficiency: Series of patches from NVIDIA
fix last_kmsg not working
changed default dirty_writeback_active_centisecs to 3000
changed intelli_thermal poll default value
updated kcal and added some patches
removed scm-mpu(unstable)
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
2015-09-14 v12.0 :
Updated kernel to 3.4.10
Disabled dynamic fsync by default
Patched random reboot caused by dynamic fsync panic
V12 is the final version of the 14.5.A.0.270/283
The next version is the 14.6.A.0.368
2015-09-26 v13.0 :
v13 supports 5.1.1, most features from my 5.0.2 version.
Main Features :
Merge 14.6.A.0.368 kernel sources
Updated ramdisk to 14.6.A.0.368
Updated kernel to 3.4.10
TWRP 2.8.7 from xNUTx
Built with UBER toolchains 4.9.4 20150920
busybox v1.23.2
init.d support
port AndroPlusKernel most of feature for z1/z1 compact
CPU OverClock upto 2.42 GHz
Added some optimizations for cpufreq (less spam log, delete deprecated code)
Added WCD9320 Taiko Audio Codec Control v3 from cocafe
Add a backlight brightness hack to allow a lower minimum backlight brightness in v13(thank to Tommy-Geenexus)
Added new CPU governor:alcurd,zzmove,ElementalX,nightmare,darkness,smartmax,HYPER,ondemandplus,
intelliminmax,smartassH3,adaptive,intellidemand,interactive_proconservative,SmartAssv2,pegasusq,
intellidemand,intelliactive,preservative
Added new I/O Scheduler:bfq,tripndroid,sio,vr,zen,sio-plus,fiops,test-iosched
Updated Zen IO scheduler and set as default
Simple GPU Algorithm
Added new GPU governor: conservative,cache-hwmon
Added optimization I/O, power_efficient workqueue, GPU
Added Adreno idler (addon for adreno-tz)
KCAL – Advanced Color Control for Qualcomm Devices
Added CPU hotplug:intelli,Alucard,Zen Decision,mako hotplug
Added sysfs interface to Enable / Disable Android Logger
Updated patch for memory
Added patch for encryption
Added power_efficient workqueues
Added dynamic fsync
Supports notifier for start&end of LCD power on&off
qpnp-vibrator intensity control
enabling two-way call recording directly from the phone line
Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)
Added mac80211 injection patch and HID patch for keyboard support
msm: memutils: memcpy, memmove, copy_page optimization
Enhance power efficiency: Series of patches from NVIDIA
last_kmsg
support for kernel mode NEON
fastcharge
enable additional TCP congestion algorithms:westwood,bic,htcp,vegas,veno,yeah
upgraded LZO (de)compression drivers
added per-core overall stats - now you can see the time spent by each core in a particular frequency state!
added LZ4 compression/decompression support
generic voltage control
added intelli-thermal_v2 kernel thermal driver with optimizations for 8974 SOC
powersuspend PM kernel driver
2015-10-08 v14.0 :
Updated kernel to 3.4.14
Support F2FS filesystem(from linux kernel 4.2)
Updated ZRAM (from Linaro Stable Kernel 3.10)
ZRAM: enable lz4 algorithm backend
Built with UBER toolchains 4.9.4 20151001
Add custom logo
leds-qpnp:Blink interpolation; fix qpnp-pwm driver
notifier:it's going slowly on and slowly off
Re-updated bfq I/O gov to v7r8
tcp_output: set initial TCP window size to 64K (speed improvement)
PM: Enable asynchronous noirq resume threads to save the resuming time
tcp_cubic: better follow cubic curve after idle period
Click here to see how to Change File System.
http://forum.xda-developers.com/showpost.php?p=63198366&postcount=111
2015-10-17 v15.0 :
fix the random reboot issues
f2fs: getting the latest code from upstream
f2fs: system partition support
zram: fix merge errors & bring up to date with Cl3Kener's branch
zram: set lz4 algorithm as default
lz4: update some codes from upstream
zsmalloc: fix merge errors
removed intelli thermal
thermal: add 3-phase msm_thermal(thanks to showp1984)
memory.c: fix show_mem_removable() to handle missing sections
2015-11-16 v16.0 :
Merge 14.6.A.1.216 kernel sources
Updated ramdisk to 14.6.A.1.216
updated kernel to 3.4.20
updated UBER toolchains to 4.9.4 20151101
f2fs: getting the latest code from upstream
enable higher eMMC speed modes(thanks to Tommy-Geenexus)
2016-02-29 v17.0 :
Merge 14.6.A.1.236 kernel sources
Updated ramdisk to 14.6.A.1.236
Updated UBER toolchains to 4.9.4 20160201
Updated zzmoove governor
f2fs: catch up to linux kernel 4.5-rc1 & backport support(removed system partition support, only data & cache partition support)
binfmt_elf.c: use get_random_int() to fix entropy depleting
leds: leds-qpnp: Add API for RGB led
fix last_kmsg that isn't working
2016-04-03 v18.0 :
Updated kernel to 3.4.25
Updated TWRP to 3.0.1
build with UBER toolchains 5.3 20160401
f2fs: catch up to linux kernel 4.5 & backport support
fixes some minor bugs
2016-04-10 v18.1 :
Updated TWRP to 3.0.2
Updated busybox to 1.24.2
2017-03-25 v19.0 :
updated twrp to 3.1.0
build with gcc-linaro toolchains 5.4.1-2017.01(stable) and gcc-linaro toolchains 6.3.1-2017.02(testing)
update busybox to 1.26.2
update some codes from codeaurora
minor bug fixes and improvements f2fs
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
nice start
Seems to be working fine so far.... good job :good:
I'd like to suggest some features :
Intellimm
Intelliplug
more tcp congestions algorithms (e.g. westwood)
gpu governors
etc etc
i flashed it but it wont start after boot
I installed a based rom [Advanced]RockZ1l_v1.1
repelsteel82 said:
i flashed it but it wont start after boot
I installed a based rom [Advanced]RockZ1l_v1.1
Click to expand...
Click to collapse
Yup, doesnt boot after flashing kernel
I installed it on stock sony rom, not-deodexed
BUT after i reinstalled xposed (instruction for odex), and wipe cahce, phone is booted...infinitely loaded and can not run (
Yep confirmed doesnt work on RockZ1l_v1.1 also !
No boot and no acces to recovery (blocked before)
Had to flash boot.img via fastboot and restored my backup...
i will try to see what i can do, but i need time to learn first
Cresqo said:
Seems to be working fine so far.... good job :good:
I'd like to suggest some features :
Intellimm
Intelliplug
more tcp congestions algorithms (e.g. westwood)
gpu governors
etc etc
Click to expand...
Click to collapse
lots of 4.x kernel source codes do not work 5.0.2
i will try if i can when i have free time
Doesn't work on Stock Sony Lollipop firmware 14.5.A.0.242.
ssdog27 said:
Doesn't work on Stock Sony Lollipop firmware 14.5.A.0.242.
Click to expand...
Click to collapse
Do you have to unlock bootloader?
I used PRFCreator to make D5503-pre-rooted-firmware-14.5.A.0.242 zip. For me this kernel to be working fine so far.
try to:
- fastboot flash boot boot.img (from kernel zip)
- fastboot reboot
- enter recovery, and flash kernel zip
- flash SuperSU installable ZIP (option)
to be included in next changeLog:
kexec-hardboot: still not fully work as Primary ROM(MultiROM v30x), i am waiting Garcia98's or other developer update MultiROM to v32
enable additional TCP congestion algorithms(westwood,bic,htcp,vegas,veno,yeah)
Simple GPU Algorithm
change wireless expire time about each entry of scan results(3 * HZ)
net: rps: fix cpu unplug
Sync SSR with disconnect/reconnect
overall_stats
With Kernel Adiutor application you can more tweak and monitor features
I have just one simple question really, F2FS?
sharonliu said:
Do you have to unlock bootloader?
I used PRFCreator to make D5503-pre-rooted-firmware-14.5.A.0.242 zip. For me this kernel to be working fine so far.
try to:
- fastboot flash boot boot.img (from kernel zip)
- fastboot reboot
- enter recovery, and flash kernel zip
- flash SuperSU installable ZIP (option)
Click to expand...
Click to collapse
I dont understand.. I did it all, but kernel doesnt work..(
Stock LP, RUS, Odex, All the loading stops at the boot screen
I have just one simple question really, F2FS?
Click to expand...
Click to collapse
i will try to see what i can do
John.D.. said:
I dont understand.. I did it all, but kernel doesnt work..(
Stock LP, RUS, Odex, All the loading stops at the boot screen
Click to expand...
Click to collapse
try v4.0, it should work now
sharonliu said:
try v4.0, it should work now
Click to expand...
Click to collapse
Wow, all earned in the fourth version
If there are any bugs, I will certainly write about it
If you changed blu_active governor, or simple_ondemand gpu governor, after some time phone rebooted
sharonliu said:
i will try to see what i can do
Click to expand...
Click to collapse
John.D.. said:
Wow, all earned in the fourth version
If there are any bugs, I will certainly write about it
If you changed blu_active governor, or simple_ondemand gpu governor, after some time phone rebooted
Click to expand...
Click to collapse
I will try to fix it in next releases.
I started to port AndroPlusKernel most of feature for z1 compact
v6.0 will release this weekend
sharonliu said:
I started to port AndroPlusKernel most of feature for z1 compact
v6.0 will release this weekend
Click to expand...
Click to collapse
OMG Thank you!)
to be included in v6.0 changeLog:
I started to port AndroPlusKernel most of feature for z1 compact
Please to visit the AndroPlusKernel's Original Thread in the Z2 forum, and make sure you read all the instructions there
http://forum.xda-developers.com/xperia-z2/development/kernel-andropluskernel-v10-t2974841
changeLog:
port AndroPlusKernel most of feature for z1 compact
merge 14.5.A.0.283 kernel sources
Built with UBER toolchains 4.9.4
Updated TWRP to 2.8.7.0
Added new CPU governor: alcurd,zzmove, ElementalX, nightmare, darkness, smartmax, HYPER, ondemandplus, intelliminmax, smartassH3, adaptive, intellidemand
Added new I/O: bfq, sioplus, tripndroid
Added optimization I/O, power_efficient workqueue, GPU
Updated Zen IO scheduler and set as default
Added new GPU governor: conservative
Added Adreno idler (addon for adreno-tz)
Reduced logging spam (qmi_qmux)
Updated KCAL
Added some optimization from CM/unified kernel
Removed blu_active,Lagfree,wheatley,lionheart
Added alcurd hotplug
Added sysfs interface to Enable / Disable Android Logger
Updated patch for memory
Added patch for encryption
Added power_efficient workqueues
Added dynamic fsync
Added Dynamic management of dirty page writeback
Integrated frandom in kernel and support frandom module
Added fast_hotplug by pec0ra 2
Supports notifier for start&end of LCD power on&off

[KERNEL][Z1] [5.0-5.1][F2FS]Advanced-Kernel v19.0[03/26/2017]

Overview:
I’m a newbie to rebuild and compile a custom kernel. I like to learn new things and share with you my modified version of 14.5.A.0.242-Kernel
It is basically a mixture between some developers kernel source like e.g.,cocafe,DooMLoRD,alnikki25k.
I'm not a developer so I cannot answer your question about any bugs for this kernel immediately. I will try to ask other developer how to
resolve bugs. Experts, please correct me if I am wrong, this stuff is still new to me also.
2015/07/25
I started to port AndroPlusKernel most of feature for z1 compact
Please to visit the AndroPlusKernel's Original Thread in the Z2 forum, and make sure you read all the instructions there
http://forum.xda-developers.com/xperia-z2/development/kernel-andropluskernel-v10-t2974841
2015/07/31
Click here to see how to control vibrator & WCD9320 Taiko Audio Codec
http://forum.xda-developers.com/showpost.php?p=62125592&postcount=24
Requirements:
HTML:
Xperia Z1 Compact
Unlocked Bootloader
DO NOT use this kernel with CM or CM based ROM.
This kernel is only for stock or stock based ROM.
v1~v4 for 14.5.A.0.242
v5~v12 for 14.5.A.0.270/14.5.A.0.283
v13~v15 for 14.6.A.0.368
v16~ for 14.6.A.1.216
v17~ for 14.6.A.1.236
Installation instructions:
HTML:
Backup your system
Download the ZIP file below, and flash it in recovery
Download Links:
http://goo.gl/qCiTOA
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
Source Code:
https://github.com/charles1018/kernel_sony_msm8974/tree/lollipop_mr3-dev
Credits:
Code:
sony: (Open source archive for 14.5.A.0.242/270/283)
cocafe: (helping me learn all of build my own kernel from source)
[NUT]: (for all recoveries & 14.5.A.0.242 kernel ramdisk & NDRUtils)
dosomder: (Android kernel module to bypass SELinux at boot)
DooMLoRD & alnikki25k & Faux123 & AndroPlus (for theirs awesome job and great sources to rhine devices)
OmarEinea: (for his great script of build tools letting me easy way to compile kernel)
And for everyone who had a hand in making this kernel better
ChangeLog :
2015-04-29 v1.0 :
init.d
Governor:wheatley,SmartAssv2,pegasusq,LionHeart,LagFree,intellidemand,intelliactive,preservative,blu_active
I/O Scheduler:SIO,VR,ZEN,SIO-Plus,FIOPS
support for kernel mode NEON
fastcharge
support for exfat
2015-05-08 v2.0 :
kexec-hardboot: still not fully work as Primary ROM(MultiROM v30x), i am waiting Garcia98's or other developer update MultiROM to v32
enable additional TCP congestion algorithms(westwood,bic,htcp,vegas,veno,yeah)
Simple GPU Algorithm
change wireless expire time about each entry of scan results(3 * HZ)
net: rps: fix cpu unplug
Sync SSR with disconnect/reconnect
overall_stats
With Kernel Adiutor application you can more tweak and monitor features
2015-05-18 v4.0 :
fix loading stops at the boot screen
multirom TWRP 2.8.6
upgraded LZO (de)compression drivers
added per-core overall stats - now you can see the time spent by each core in a particular frequency state!
added LZ4 compression/decompression support
generic voltage control
added intelli-thermal_v2 kernel thermal driver with optimizations for 8974 SOC
intelli-plug
powersuspend PM kernel driver
kernel samepage merging
2015-05-24 v5.0 :
merge 14.5.A.0.270 kernel sources
Updated ramdisk to 14.5.A.0.270
Fixed simple_ondemand GPU governor crashing
CPU OverClock upto 2.42 GHz
turbo boost on MSM architectures-allows overclocking of 2 cores to higher clock rate than stock maximum
Added some optimizations for cpufreq (less spam log, delete deprecated code)
CPU Undervolting
2015-07-25 v6.0 :
port AndroPlusKernel most of feature for z1 compact
merge 14.5.A.0.283 kernel sources
Built with UBER toolchains 4.9.4
Updated TWRP to 2.8.7.0
Added new CPU governor: alcurd,zzmove, ElementalX, nightmare, darkness, smartmax, HYPER, ondemandplus, intelliminmax, smartassH3, adaptive, intellidemand
Added new I/O: bfq, sioplus, tripndroid
Added optimization I/O, power_efficient workqueue, GPU
Updated Zen IO scheduler and set as default
Added new GPU governor: conservative
Added Adreno idler (addon for adreno-tz)
Reduced logging spam (qmi_qmux)
Updated KCAL
Added some optimization from CM/unified kernel
Removed blu_active,Lagfree,wheatley,lionheart
Added alcurd hotplug
Added sysfs interface to Enable / Disable Android Logger
Updated patch for memory
Added patch for encryption
Added power_efficient workqueues
Added dynamic fsync
Added Dynamic management of dirty page writeback
Integrated frandom in kernel and support frandom module
Added fast_hotplug by pec0ra 2
Supports notifier for start&end of LCD power on&off
2015-07-31 v7.0 :
update some codes from codeaurora
Added WCD9320 Taiko Audio Codec Control v3 from cocafe
Increase default speaker volume
qpnp-vibrator intensity control
enabling two-way call recording directly from the phone line
Click here to see how to control vibrator & WCD9320 Taiko Audio Codec
http://forum.xda-developers.com/showpost.php?p=62125592&postcount=24
2015-08-15 v8.0 :
kernel with kexec-hardboot(thanks to venkat kamesh's ramdisk & OmarEinea's kexec-hardboot patch)
fix Darkness governor random reboots when heavy memory use(we need more tests)
fix KCAL Color Control is not working
The vibration strength can be controlled by Kernel Adiutor application
fix lowmemorykiller being overly aggressive
increase the total number of GFP flags
fix waking up sync thread recursively for same CPU causes deadlock
enable ZRAM features(from Linaro Stable Kernel 3.10)
zram: add lz4 algorithm backend
CPU hotplug: Provide lockless versions of callback registration functions
powersuspend: cumulative update to version 1.6
intelli_plug:update to version 4.0
msm: kgsl: Make global memory statistics atomic
Click my github commits to view changeLog details
2015-08-21 v9.0 :
Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)
Changed wakelock blocker sysfs name to one in Kernel Adiutor
Added interactive_proconservative Governor
Added mac80211 injection patch and HID patch for keyboard support
Updated zzmove to 1.0-beta8
Added CPU hotplug Zen Decision
2015-08-28 v10.0 :
back to the regular default speaker volume
added mako hotplug
added new GPU governor: cache-hwmon
msm: memutils: memcpy, memmove, copy_page optimization
scm-mpu: Add additional memory protection options
Click here to see how to add support for a scm call to protect a contiguous physical address range.
http://forum.xda-developers.com/showpost.php?p=62550061&postcount=49
2015-09-08 v11.0 :
fix sometimes have freezed or crashed problems
updated kernel to 3.4.1
updated UBER toolchains to 4.9.4 20150901
Enhance power efficiency: Series of patches from NVIDIA
fix last_kmsg not working
changed default dirty_writeback_active_centisecs to 3000
changed intelli_thermal poll default value
updated kcal and added some patches
removed scm-mpu(unstable)
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
2015-09-14 v12.0 :
Updated kernel to 3.4.10
Disabled dynamic fsync by default
Patched random reboot caused by dynamic fsync panic
V12 is the final version of the 14.5.A.0.270/283
The next version is the 14.6.A.0.368
2015-09-26 v13.0 :
v13 supports 5.1.1, most features from my 5.0.2 version.
Main Features :
Merge 14.6.A.0.368 kernel sources
Updated ramdisk to 14.6.A.0.368
Updated kernel to 3.4.10
TWRP 2.8.7 from xNUTx
Built with UBER toolchains 4.9.4 20150920
busybox v1.23.2
init.d support
port AndroPlusKernel most of feature for z1/z1 compact
CPU OverClock upto 2.42 GHz
Added some optimizations for cpufreq (less spam log, delete deprecated code)
Added WCD9320 Taiko Audio Codec Control v3 from cocafe
Add a backlight brightness hack to allow a lower minimum backlight brightness in v13(thank to Tommy-Geenexus)
Added new CPU governor:alcurd,zzmove,ElementalX,nightmare,darkness,smartmax,HYPER,ondemandplus,
intelliminmax,smartassH3,adaptive,intellidemand,interactive_proconservative,SmartAssv2,pegasusq,
intellidemand,intelliactive,preservative
Added new I/O Scheduler:bfq,tripndroid,sio,vr,zen,sio-plus,fiops,test-iosched
Updated Zen IO scheduler and set as default
Simple GPU Algorithm
Added new GPU governor: conservative,cache-hwmon
Added optimization I/O, power_efficient workqueue, GPU
Added Adreno idler (addon for adreno-tz)
KCAL – Advanced Color Control for Qualcomm Devices
Added CPU hotplug:intelli,Alucard,Zen Decision,mako hotplug
Added sysfs interface to Enable / Disable Android Logger
Updated patch for memory
Added patch for encryption
Added power_efficient workqueues
Added dynamic fsync
Supports notifier for start&end of LCD power on&off
qpnp-vibrator intensity control
enabling two-way call recording directly from the phone line
Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)
Added mac80211 injection patch and HID patch for keyboard support
msm: memutils: memcpy, memmove, copy_page optimization
Enhance power efficiency: Series of patches from NVIDIA
last_kmsg
support for kernel mode NEON
fastcharge
enable additional TCP congestion algorithms:westwood,bic,htcp,vegas,veno,yeah
upgraded LZO (de)compression drivers
added per-core overall stats - now you can see the time spent by each core in a particular frequency state!
added LZ4 compression/decompression support
generic voltage control
added intelli-thermal_v2 kernel thermal driver with optimizations for 8974 SOC
powersuspend PM kernel driver
2015-10-08 v14.0 :
Updated kernel to 3.4.14
Support F2FS filesystem(from linux kernel 4.2)
Updated ZRAM (from Linaro Stable Kernel 3.10)
ZRAM: enable lz4 algorithm backend
Built with UBER toolchains 4.9.4 20151001
Add custom logo
leds-qpnp:Blink interpolation; fix qpnp-pwm driver
notifier:it's going slowly on and slowly off
Re-updated bfq I/O gov to v7r8
tcp_output: set initial TCP window size to 64K (speed improvement)
PM: Enable asynchronous noirq resume threads to save the resuming time
tcp_cubic: better follow cubic curve after idle period
Click here to see how to Change File System.
http://forum.xda-developers.com/showpost.php?p=63199033&postcount=79
2015-10-17 v15.0 :
fix the random reboot issues
f2fs: getting the latest code from upstream
f2fs: system partition support
zram: fix merge errors & bring up to date with Cl3Kener's branch
zram: set lz4 algorithm as default
lz4: update some codes from upstream
zsmalloc: fix merge errors
removed intelli thermal
thermal: add 3-phase msm_thermal(thanks to showp1984)
memory.c: fix show_mem_removable() to handle missing sections
2015-11-16 v16.0 :
Merge 14.6.A.1.216 kernel sources
Updated ramdisk to 14.6.A.1.216
updated kernel to 3.4.20
updated UBER toolchains to 4.9.4 20151101
f2fs: getting the latest code from upstream
enable higher eMMC speed modes(thanks to Tommy-Geenexus)
2016-02-29 v17.0 :
Merge 14.6.A.1.236 kernel sources
Updated ramdisk to 14.6.A.1.236
Updated UBER toolchains to 4.9.4 20160201
Updated zzmoove governor
f2fs: catch up to linux kernel 4.5-rc1 & backport support(removed system partition support, only data & cache partition support)
binfmt_elf.c: use get_random_int() to fix entropy depleting
leds: leds-qpnp: Add API for RGB led
fix last_kmsg that isn't working
2016-04-03 v18.0 :
Updated kernel to 3.4.25
Updated TWRP to 3.0.1
build with UBER toolchains 5.3 20160401
f2fs: catch up to linux kernel 4.5 & backport support
fixes some minor bugs
2017-03-26 v19.0 :
updated twrp to 3.1.0
build with gcc-linaro toolchains 5.4.1-2017.01(stable) and gcc-linaro toolchains 6.3.1-2017.02(testing)
update busybox to 1.26.2
update some codes from codeaurora
minor bug fixes and improvements f2fs
If the kernel crashed (freezed and rebooted), please fetch last_kmsg file after the crash reboot and post in the thread.
Code:
su -c cat /proc/last_kmsg > /sdcard/last_kmsg
downloading
i hope i wont suffer with the annoying bad memory management
thanks for the awsome features on the kernel btw
Nice work dude!kernel is butter smooth.very stable.i am enjoying it!thankz and dnt stop your work!all d best!
really smooth and stable memory leak still presist but it isnt like before , it is somehow better
Keep the cool work thanks for this awsome kernel atleast now i can open whatsapp and chrome without suffering
hitesh1792 said:
Nice work dude!kernel is butter smooth.very stable.i am enjoying it!thankz and dnt stop your work!all d best!
Click to expand...
Click to collapse
iSpammer said:
really smooth and stable memory leak still presist but it isnt like before , it is somehow better
Keep the cool work thanks for this awsome kernel atleast now i can open whatsapp and chrome without suffering
Click to expand...
Click to collapse
Thanks for the feedback. All credits goes to xda developers(e.g.,cocafe,AndroPlus,DooMLoRD).
I will trying to optimize the kernel.
to be included in v9.0 changeLog:
it'll release soon
changeLog:
Added toggles for wlan wakelocks (for advanced user only, path for sysfs is here Y=non block, N=block)
Changed wakelock blocker sysfs name to one in Kernel Adiutor
Added interactive_proconservative Governor
Added mac80211 injection patch and HID patch for keyboard support
Updated zzmove Governor to 1.0-beta8
Added CPU hotplug Zen Decision
is there gpu overclocking? please add that too if you can. btw nice work!
ScatteredHell said:
is there gpu overclocking? please add that too if you can. btw nice work!
Click to expand...
Click to collapse
If I can, I will try
Will try new version when it will be available
Keep up the good work bro :good:
What app do you use to control this kernel?
從我的 C6903 發送
Thx for the update dude!!thx!!can u please share your kernel settings??governor? hot plug?i/o scheduler etc??
---------- Post added at 04:49 AM ---------- Previous post was at 04:35 AM ----------
you can use kernel auditor
phhuang said:
What app do you use to control this kernel?
從我的 C6903 發送
Click to expand...
Click to collapse
hitesh1792 said:
Thx for the update dude!!thx!!can u please share your kernel settings??governor? hot plug?i/o scheduler etc??
---------- Post added at 04:49 AM ---------- Previous post was at 04:35 AM ----------
you can use kernel auditor
Click to expand...
Click to collapse
it depends on how you use it. You can try to set HYPER / zen - great battery/performance combination.
disable MPDecision/enable Alucard Hotplug & Simple GPU Algorithm.
Thx bro!
sharonliu said:
it depends on how you use it. You can try to set HYPER / zen - great battery/performance combination.
disable MPDecision/enable Alucard Hotplug & Simple GPU Algorithm.
Click to expand...
Click to collapse
Hello!can we add mako hotplug in this kernel if possible!just asking!
hitesh1792 said:
Hello!can we add mako hotplug in this kernel if possible!just asking!
Click to expand...
Click to collapse
I can't guarantee anything, but I will try
why my notification sound louder ? i want stock sound
rebiiejr said:
why my notification sound louder ? i want stock sound
Click to expand...
Click to collapse
Increase default speaker volume from v7.0. Is there anyone who thinks default volume too loud lily?
If yes i will back to the regular volume in the next release.
Yup the notification sound is loud.
sharonliu said:
Increase default speaker volume from v7.0. Is there anyone who thinks default volume too loud lily?
If yes i will back to the regular volume in the next release.
Click to expand...
Click to collapse
sharonliu said:
If I can, I will try
Click to expand...
Click to collapse
Please I need it. Best of luck.
Sent from my C6902 using XDA Free mobile app

[KERNEL] [9/8.1/7.0-EOL] LoonyKernel - 31 Jul 2019

{
"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"
}
IMPORTANT:
Always make necessary backups before flashing anything. In this case backup your stock boot in recovery before proceeding.
I will only consider issues that includes clear steps to reproduce the bug, a logcat or a console ramoops (in case of random reboots) or a dmesg (for other issues), because it provides more info than just saying something doesn't work.
Features:
Latest linux upstream version 3.10.108
Up to date as per AOSP/kernel-common and CAF
Unlocked frequency steps for CPU and GPU
Advanced color (kcal) control
Fingerprint sensor as power or home button by flar2
Sound control by flar2
Sweep2sleep by flar2
Boeffla wakelock blocker driver
Backlight dimmer
Spectrum app support
Flashing Instructions for custom roms:
Download TWRP recovery from here.
First backup boot in TWRP then flash the latest LoonyKernel zip. Reboot to system.
For magisk users, if you have already flashed magisk once, there's no need to re-flash it again after flashing the kernel. Magisk root will be retained.
Subsequent releases can be flashed over the same kernel's older version.
Flashing Instructions for stock rom:
Use only official TWRP for flashing on stock nougat or oreo rom. If you are using elementalx kernel then first restore the stock boot image or kernel then flash this kernel to avoid any potential issues with module(s).
Download official TWRP.
Backup boot in TWRP.
Flash latest LoonyKernel zip and reboot the device to system.
Subsequent releases can be flashed over the same kernel's older version.
Download Links:
Stock rom: 8.1.0 (mirror) || 7.0-EOL (mirror)
For my 64-bit AOSiP 9.0 builds: Sourceforge || AFH
Other pie/oreo custom roms: 64-bit (mirror) || 32-bit (mirror)
Credits: flar2, om0sis, Nathan and many other devs for their work.
XDA:DevDB Information
LoonyKernel, Kernel for the Moto G4 Plus
Contributors
lCrD512
Source Code: https://github.com/loonycrd/kernel_motorola_msm8952
Kernel Special Features: All mentioned above
Version Information
Status: Stable
Current Stable Version: r17
Stable Release Date: 2019-07-31
Current Beta Version: --
Created 2017-12-28
Last Updated 2019-08-10
Changelogs
May 02, Stock 8.1.0 - Release 2
Add digital tv module (isdbt)
Update wifi driver to latest CAF oreo tag 'LA.UM.6.6.r1-11000-89xx.0'
Disable various debugging for release builds
Exclude debug symbols from release builds (reduced kernel size)
Few updates to interactive governor
Update spectrum profiles
R.I.P sched boost feature
Various other fixes for cpufreq, crypto, memory etc.
Old releases
March 20, stock 8.1.0 Release-1 initial release
Changes over stock sources
Upstream linux kernel version.
Upstream sdcardfs.
Fix 0 bytes fize size while copying or moving.
Upstream interactive governor.
Add all LK features from nougat. Touch-boost and Fsync toggle have been removed.
Drop deprecated GCC 4.8/4.9 and switch to 7.3.0 for code improvements. All relevant code warnings were fixed.
Other misc. but relevant fixes/patches (can be seen on github).
Feb 8, 9/8.1 Release-12 for ARM64
NOTE: Those who are using my AOSiP or PixelExperience builds should flash the kernel update from the attachment in release post HERE
Android binder and sdcardfs updates.
Drop deprecated GCC 4.9 and switch to 7.3.0 for code improvements. All relevant code warnings were fixed.
Drop kernel size optimization flag as per AOSPs recommendation. Associated code warnings fixed.
Fixed some minor memory leaks. These were not detected earlier when size optimization flag was enabled.
Bring back 160mhz level for idle state GPU.
Squash some relevant upstream patches for xpad driver.
Merged sdFAT updates.
Disabled cpu hotplugging at lower battery levels.
Slight improvements in i/o operations.
Updates to cpusets and cgroup.
Remove sweep2sleep defaults as it conflicts with pie's swipe up gesture.
Fix a minor derp in zram initialization.
Jan 14, 9/8.1 Release-11 for ARM64
Regular android sdcardfs updates.
Upstream CFQ i/o scheduler.
Fixed some more memory leaks and slight memory management improvements.
Upstream patches to kernel scheduler, perf, rcu and cpu hot-plugging.
Updates to Wireguard.
Updates to LZ4 algorithm.
Fixed minor derps with fsync (on/off) toggle functionality.
Upstreamed and performance improvements to Interactive governor.
Replaced powersave governor with conservative for spectrum battery mode. Powersave governor has performance regressions.
CVEs addressed for EXT4 file system, bluetooth and crypto drivers.
Fixed various instances of uninitialized variables, false positives have been ignored. We are using CONFIG_CC_OPTIMIZE_FOR_SIZE which suppresses the compiler warning of uninitialized variables which can sometimes lead to undefined behavior e.g. memory corruption and panic.
Dec 02, 9/8.x Release-10
Switched to non-debug wifi/wlan driver.
Binder updated and inline with AOSP/google.
Regular sdcardfs upstream, some relevant backports from higher version (3.18+).
Few updates and fixes to interactive governor updates.
Merged some CVE patches from Lineage (CVE-2016-8399/2017-2647/2017-6951/2017-13080-upstream...)
Fixed memory leak in video device driver.
Added ARM64 CRC32 hw accelerated module
Few security updates to crypto driver.
Fix deadlock in sound-core driver due to duplicate ioctl_lock.
Disabled DEVPORT - it is not used as shown by previous SELinux policy changes to blacklist it. It is being unset to reduce the kernel attack surface.
Nov 11, 8.1.0 Release-9
Note: Non-dts builds are discontinued from this release. If dts builds doesn't boot then consider updating your rom. Should work on 9.0 as well. We are now up to date as per CAF, Linux-stable as well as Google/AOSP's kernel updates
Merged latest CAF tag LA.BR.1.3.7-05010-8976.0 (rb1.11)
Merged updates from Google/AOSP kernel-common.
Removed input-boost in favour of touchboost and interactive boost.
Removed power optimizer push-pop (popp) restrictions from gpu for potential performance improvements.
Updated and switched to CFQ i/o scheduler
Misc. power/performance optimizations.
Nov 11, 7.0 Release-4:
Removed input-boost in favour of touchboost and interactive boost.
Updated and switched to CFQ i/o scheduler
Misc. power/performance optimizations.
Oct 30, 7.0 Release-3:
Enabled usb tethering.
Removed power optimizer push-pop (popp) restrictions from gpu for potential performance improvements.
Updated spectrum profiles w.r.t qcom-post-boot service on stock rom.
Sep 10, 8.1 Release-8 for custom roms:
NOTE: Balanced profile viz. default is now using performance governor for GPU only to improve ux to some extent. Once the performance gets stable/consistent on oreo roms I'll switch it back to msm-adreno-tz. Users can switch to msm-adreno-tz if they want through kernel managers.
Merged relevant updates from NPJS25.93-14-18.
Allow mounting cdrom using apps like drivedroid etc.
Slight performance improvements.
Sep 08, 7.0 Release-2:
Rebased over latest 7.0 CAF tag.
Merged NPJS25.93-14-18 sources from Motorola.
Allow mounting cdrom using apps like drivedroid etc.
Slight performance improvements.
August 02, Release 7:
Oreo custom roms:
Rebased kernel source over CAF tag LA.BR.1.3.6-05410-8976.0 (7.1.2) and NPJS25.93-14-15 by Motorola
Merged relevant updates from CAF tag LA.BR.1.3.7-05010-8976.0 (8.1.0) and kernel-common
Properly up-streamed up to Linux stable 3.10.108
Merged recent kernel side updates to Wireguard
Removed some not so important i/o schedulers (cfq, maple and noop are more than enough)
Removed useless debug options to for cleaner and smaller kernel
Removed ondemand and conservative cpu governors (not suitable for big.LITTLE)
Reworked CPU oc/uc support to 403/499mhz levels (anything more lower shall yield no real benefit)
Updated spectrum profiles
7.0 Stock Release 1:
Some kernels have different workarounds for modules, therefore, it is recommended to flash 7.0 kernel only over your stock rom kernel. Don't flash over any other custom kernels. This is to avoid any issues with important modules such as wlan (wifi). Subsequent releases can be flashed over the same kernel's older version.
Based on NPJS25.93-14-15 sources by Motorola
Properly up-streamed up to Linux stable 3.10.108
Updated wifi/wlan drivers from latest 7.0 sources from CAF
Added all features mentioned in 1st post. (list updated in op)
Applicable updates from r7 oreo changelog were also merged.
June 14, v6.2:
Fixed mobile hotspot for both 32/64 bit
Removed conservative cpu governor
Switched too GCC 4.9 (Higher GCC versions are causing issues with data, wifi and hotspot as witnessed by some users)
Final update to katnap governor
NOTE: Since v6, I recommend using default kernel settings for CPU, GPU, clock speeds and governor profiles rest you can change. Why? read the explanation below properly...
v6 release came with spectrum app support which allows to switch between various user modes which are - Gaming, Battery, Balanced (default) and Performance. Thanks to frap129 a.k.a Joe Maples for spectrum. You can use the spectrum app to switch between various modes as per your needs with just a single tap.
For e.g. before starting a game just switch to "Gaming" mode from spectrum app to improve the game-play. After game-play is over don't forget to switch back to "Balanced" mode which is also the default. You can also choose "Battery" mode when you keep your device idle for maximum savings. If you prefer smooth user experience without worrying about battery then "Performance" mode is for you.
Both "Performance" and "Gaming" modes are battery hungry but will improve the user and gaming experience respectively so use them accordingly. Similarly don't expect great performance or smooth user experience from "Battery" mode.
"Balanced" mode is self-explanatory.
No support from my side if you're using some kind of mods that might conflict with above mentioned kernel settings. Fair enough! don't need any false reports where the problem might be because of any such mod.
Might be bitter but had to say this, don't bother reporting problems if you can't do it properly. Haven't seen a single post reporting wlan issues with logs and surprisingly I'am not a god who can guess issues from nothing. XDA is a community where users shall also contribute to make things better. Just coming here and searching for download links then complaining about stuff not working... it doesn't work this way. We don't expect much from users, we only want that if we're putting some efforts then users should also take at least some effort to give proper bug reports and feedback. For someone who doesn't know how to take logs etc. try google, you'll find tons of guides over internet and here at XDA itself. Thank you.
-------------------------------------------------------------------------
June 10, Release v6.1:
Fixed hotspot for 32-bit
Replaced fsync toggle with automatic Dynamic fsync driver 2.1 by boeffla
Replaced fp-boost driver with generic wake boost interface
Renamed loony governor to katnap
Some performance improvements during and after boot
Merged moto specific wlan/prima changes
Added 2 more potential wakelocks to block list just in case
NOTE: Since v6 (previous) release I recommend using default kernel settings for CPU, GPU, clock speeds and governor profiles. Why? read the explanation below properly...
v6 release came with spectrum app support which allows to switch between various user modes which are - Gaming, Battery, Balanced (default) and Performance. Thanks to frap129 a.k.a Joe Maples for spectrum. You can use the spectrum app to switch between various modes as per your needs with just a single tap.
For e.g. before starting a game just switch to "Gaming" mode from spectrum app to improve the game-play. After game-play is over don't forget to switch back to "Balanced" mode which is also the default. You can also choose "Battery" mode when you keep your device idle for maximum savings. If you prefer smooth user experience without worrying about battery then "Performance" mode is for you.
Both "Performance" and "Gaming" modes are battery hungry but will improve the user and gaming experience respectively so use them accordingly. Similarly don't expect great performance or smooth user experience from "Battery" mode.
"Balanced" mode is self-explanatory.
----------------------------------------------
June 05, Release v6:
Switched to GCC 6.4-stable (only 64-bit)
Compiled with cortex-a53 tune flags
Introduced my own custom Loony governor based on interactive and franco kernel tweaks
Added spectrum app support and tuned profiles for various modes
Added 160mhz for gpu in "Battery" mode (using spectrum app)
Removed adreno idler and powersuspend (took me time to realise that these are not really necessary)
NOTE: From this release I recommend using default kernel settings for CPU, GPU, clock speeds and governor profiles. Why? read the explanation below properly...
v6 release comes with spectrum app support which allows to switch between various user modes which are - Gaming, Battery, Balanced (default) and Performance. Thanks to frap129 a.k.a Joe Maples for spectrum. You can use the spectrum app to switch between various modes as per your needs with just a single tap.
For e.g. before starting a game just switch to "Gaming" mode from spectrum app to improve the game-play. After game-play is over don't forget to switch back to "Balanced" mode which is also the default. You can also choose "Battery" mode when you keep your device idle for maximum savings. If you prefer smooth user experience without worrying about battery then "Performance" mode is for you.
Both "Performance" and "Gaming" modes are battery hungry but will improve the user and gaming experience respectively so use them accordingly. Similarly don't expect great performance or smooth user experience from "Battery" mode.
"Balanced" mode is self-explanatory.
----------------------------------------------
May 04, Release v5.1:
Note: Sources moved to github.
Merged updates from NPJS25.93-14-15 (Feb, 2018) moto kernel sources,
Merged updates for wlan prima driver to bring in-line with latest CAF tag LA.BR.1.3.7-05010-8976.0,
Switch back to single build for 64bits. Made compatible with all roms,
Few kernel-common updates.
April 28, Release v5:
32-bit support added!
Changes merged from CAF branch (1.3.6) and Google kernel-common
Removed CRC enable/disable toggle - We know we want CRC disabled by default to avoid ~30% performance cost. So, it doesn't make sense to have a toggle for it as users may unknowingly enable it which defeats the whole purpose of disabling it by default in the first place.
Enable 320k AAC encoding
Tuned CFQ i/o scheduler
Added touchboost which is disabled by default. Enabling it will significantly improve the performance at the cost of battery life. This feature can be enabled using kernel manager (EX kernel manager recommended)
Replaced wakeup boost with Fingerprint Boost driver.
Removed boot and boostpulse sysfs nodes from interactive governor. Neither we were using it nor it is needed, users can enable cpu-boost if needed.
Updates wlan prima (wifi) driver to latest CAF tag LA.BR.1.3.7-04410-8976.0
Using cpu_relaxed_read_long and defining relaxed version of some arm64 specific macros, and functions to improve power efficiency. (this one is only for arm64)
Some cpu-boost code clean-up. Removed migration related boost from cpu-boost. Handled by scheduler and governor now.
Added display state awareness to msm_adreno_tz gpu governor. This aids adreno_idler by reducing the overhead.
Backlight dimmer toggle (disabled, enabling this would allow to lower brightness even more)
Apr 05, Release v4.1:
Restore default gpu clocks
Sdcardfs space leak fixed,
Updates merged from google android kernel-common,
Enabled ARCH_POWER and added toggle to enable/disable the same through EX Kernel Manager,
Nuked gentle fair sleeper toggle and re-enabled gfs. Disabling it was causing cores getting stuck at max freq for most of the time,
Added wake-up boost to avoid or atleast minimise any potential wake-up delays. I've personally never faced this on Oreo but some people reported it recently,
Added some more potential wakelocks in Boeffla wakelock blocker driver,
Wlan driver updates merged from latest caf release LA.BR.1.3.7_rb1.11,
Some efforts towards improving memory management a bit.
03 March 2018, Release 4:
Added new boeffla wakelock block driver,
Added wireguard support,
Added adreno idler - ramp down GPU on idle,
Reverted stuff: zen-interactive, frandom, hid,
Added sweep2sleep feature by flar2
Enabled fp to sleep by default, can be used as home too,
Enabled kernel samepage merge,
Merged latest changes and fixes from upstream teambutter.
Release 3.1:
Jan 14, 2018:
reverted some pre-configurations to default settings
Jan 08, 2018:
fixed notification led on supported roms
added maple i/o scheduler
Release 3:
Jan 03, 2018:
implement zen-tune: kernel tuning for interactivity
re-added powersuspend driver
zram increased from 512mb->768mb
cpu boost pre-configured
enabled adaptive low memory killer by default
tweaked deadline and row scheduler
tweaked westwood tcp congestion avoidance algorithm
changed default i/o scheduler to zen
added crc check toggle (disabled by default)
added gentle fair sleepers toggle (disabled by default)
slight undervolt and other power efficient optimizations
disabled some debugging
enabled arch power
added suspend_again handler (update for quick wake-up driver)
added led blink support
implement fast idling of cpu on partial system load
optimized console frame buffer to improve performance
other misc. fixes
fixed simple_ondemand crash
Release 2:
Dec 29, 2017:
fixed audio
switched to default google toolchain
Dec 28, 2017:
fixed zram
enabled core control
enabled homebutton driver
added sound control
added gpu overclock/underclock support
power efficient workqueue patches
added fiops, sio and zen i/o scheduler
blocked wakelocks by default
enabled cpu boost
added wake-up boost
added /dev/frandom support
added quick wake-up driver
added hid patch
Release 1:
enabled advance color control
added cpu overclock/underclock support
Reserved
Can you do a version which uses fingerprint sensor to sleep?
vitor.cardoso180396 said:
Can you do a version which uses fingerprint sensor to sleep?
Click to expand...
Click to collapse
You can configure that using kernel manager.
Alternative option is to use button mapper app by flar2.
i have a lag after flash this kernel. but thank you
When I play a song or a video the sound is crashing, something like cutting, I give u a log and thanks for the effort
Turbo charger doesn't work for me charges very slowly and phone heats up quickly! Any work around with kernel auditor?
I'll flash version 2 and let you know if anything changes
kman46 said:
Turbo charger doesn't work for me charges very slowly and phone heats up quickly! Any work around with kernel auditor?
I'll flash version 2 and let you know if anything changes
Click to expand...
Click to collapse
If ur device is at a temp of 42+°c then the turbo charging won't work, let the device cool down and it will work
im already on r1 loony kernal
how to flash r2 ??
is dirty flashing okk????
i have done a dirty flash of r2 over r1 version but ii feel very laggy n i tried reboot couple of time still little laggy
now back to r1 version
im on XT1644 version with magisk 15.1
thanks dev for your hard work????
waiting for a stable release?
RobertMVazquez said:
When I play a song or a video the sound is crashing, something like cutting, I give u a log and thanks for the effort
Click to expand...
Click to collapse
Same problem here
Release 2 update
RobertMVazquez said:
When I play a song or a video the sound is crashing, something like cutting, I give u a log and thanks for the effort
Click to expand...
Click to collapse
Thanks for the logs
I've updated and re-uploaded the new release 2 zip with audio fixed. Links updated in the op.
Also don't forget to enable Mono audio under Settings->Accessibility
Wow 64 bit is getting real ❤❤❤❤
Thanks for the kernel, what is new in loony-r9.1 for nougat?
kevinarol said:
Thanks for the kernel, what is new in loony-r9.1 for nougat?
Click to expand...
Click to collapse
Not released use the attached zip for nougat it is stabler than 9.1 but not updated in the directory. Features are more or less same.
For xt1625 users after flashing updated loony my phone hangs at unlocked bootloader warning for minutes. All you need to do is power and volume down boot into fast or bootloader mode whatever you call it and choose start again loads fine after that.
To add HDR is probably not going to ever work with xt1625 that's were the devices are different the plus has a 16 mp camera and I got a 13 mp I've got the camera to work but no HDR option like on my nexus.
lCrD512 said:
Not released use the attached zip for nougat it is stabler than 9.1 but not updated in the directory. Features are more or less same.
Click to expand...
Click to collapse
Ok, but why recommend me v7 instead of 9.1 for nougat which is available in download section?
kevinarol said:
Ok, but why recommend me v7 instead of 9.1 for nougat which is available in download section?
Click to expand...
Click to collapse
That's not version 7, don't go by the name of zip. It is updated I was using it personally.
lCrD512 said:
That's not version 7, don't go by the name of zip. It is updated I was using it personally.
Click to expand...
Click to collapse
ahhh thank you ?? Happy New Year!
Update: Release 3
Happy New Year to Everyone!!
Release 3 is out. Download links in first post.
Changes:
Jan 03, 2018:
implement zen-tune: kernel tuning for interactivity
re-added powersuspend driver
zram increased from 512mb->768mb
cpu boost pre-configured
enabled adaptive low memory killer by default
tweaked deadline and row scheduler
tweaked westwood tcp congestion avoidance algorithm
changed default i/o scheduler to zen
added crc check toggle (disabled by default)
added gentle fair sleepers toggle (disabled by default)
slight undervolt and other power efficient optimizations
disabled some debugging
enabled arch power
added suspend_again handler (update for quick wake-up driver)
added led blink support
implement fast idling of cpu on partial system load
optimized console frame buffer to improve performance
other misc. fixes
fixed simple_ondemand crash
Reminders:
Do not reflash magisk if already flashed (root shall be retained). Just flash the kernel zip in twrp and reboot.
Lineage users shall enable mono audio under Settings->Accessibility for audio to work.

[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