[EOL][KERNEL][9.0.0] Sultan Kernel [April 2, 2019] - Google Pixel 3 ROMs, Kernels, Recoveries, & Other

Code:
/*
* Your warranty is no longer valid, unless you lie.
*
* I am not responsible for bricked devices, strained relationships,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
This is a no-frills custom kernel for the Pixel 3 and Pixel 3 XL designed to be used with the stock ROM and custom Pie ROMs. It's intended to be a simple replacement for the stock kernel that brings several under-the-hood enhancements. This kernel is not meant to be customized by users.
Changelogs for each update can be found in the 2nd post of this thread.
Features:
Compiled with the latest official GCC toolchain for the kernel
Removed lots of excessive bloat (improves security and performance)
Fast fingerprint unlock and screen power on
Improved app launch performance
CPU Input Boost: a custom CPU boost driver to keep the phone smooth while maximizing battery life
MSM Thermal Simple: a custom thermal monitor driver that keeps the phone cool
WireGuard, a next generation secure VPN tunnel
Passes SafetyNet bootloader unlock check
Reduced power consumption
Improved overall system fluidity and graphics performance
Improved stability
Westwood+ TCP congestion algorithm
Many other miscellaneous improvements not listed here
Source code - 9.0.0-sultan branch:
https://git.zx2c4.com/android_kernel_google_bluecross
or
https://github.com/kerneltoast/android_kernel_google_bluecross
Credits:
zx2c4 (for WireGuard, providing project resources, co-authorship on parts of this kernel, and sending me stickers)
osm0sis (for AnyKernel2)
If your name should be here and it isn't, then replace my camera with a OnePlus device
Installation instructions:
To install this kernel, simply download and flash it in a custom recovery. Do the same when there is a new update available.
Download:
Latest version: https://github.com/kerneltoast/andr.../release/Sultan-kernel-bluecross_20190402.zip
XDA:DevDB Information
Sultan Kernel, Kernel for the Google Pixel 3
Contributors
Sultanxda, zx2c4
Kernel Special Features:
Version Information
Status: Stable
Created 2019-02-17
Last Updated 2019-04-10

Changelog:
April 2, 2019:
*Merged April Security Bulletin fixes
*Removed CPU underclock (the instability was due to a missing driver)
*Improved CPU Input Boost driver efficiency and performance
Old changelogs:
March 30, 2019:
*Removed Simple LMK (it's not ready yet; it still causes freezes)
March 29, 2019:
*Fixed performance issues and microstutters
*Added rewritten Simple LMK driver for improved memory management
March 27, 2019:
*Fixed frequent stuttering due to a bug in the CPU clock driver
March 26, 2019:
*Improved touchscreen latency
*Fixed occasional bouts of intense lag
*Fixed scheduling issue that reduced performance
March 25, 2019:
*Underclocked gold CPU cluster to 2553 MHz to improve performance (speeds higher than 2553 MHz actually run slower)
*Forced all kernel processes to run on the silver CPU cluster to save power
*Improved the performance of string operations in the kernel
March 14, 2019:
*Removed Simple LMK (fixes freezes)
*Removed CPU underclock
March 10, 2019:
*Rewrote Simple LMK for vastly improved memory management
*Re-enabled all gold cluster CPU cores
March 4, 2019:
*Merged March Security Bulletin fixes
March 3, 2019:
*Actually fixed front camera not working for some users
*Added MSM Thermal Simple, a custom thermal driver to keep the phone cool
*Reduced gold CPU cluster max frequency to 2323 MHz to save power
*Improved memory management (Simple LMK kills fewer apps each time it is invoked)
*Improved performance when multitasking
*Adjusted scheduling to improve overall performance and power consumption
February 16, 2019:
*Merged February Security Bulletin fixes
*Fixed front camera not working for some users
*Fixed support for custom ROMs
*Fixed screen not turning off in TWRP
*Improved memory management (Simple LMK kills apps less often and kills less-recently-used apps first)
*Reduced CPU boost frequencies (reduces power consumption)
*Switched from BBR to Westwood+ TCP congestion algorithm
*Fixed WireGuard not turning on sometimes
January 23, 2019:
*Initial release

Reserved

Wow Sultan kernel on the Pixel 3 !
What a great surprise!
Thank you very much for that

Hi there,
I can't open the front camera with your kernel
Do you have any suggestion please?
Thank you

Nizur said:
Hi there,
I can't open the front camera with your kernel
Do you have any suggestion please?
Thank you
Click to expand...
Click to collapse
Try this kernel: https://forum.xda-developers.com/showpost.php?p=78971931&postcount=128

Sultanxda said:
Try this kernel: https://forum.xda-developers.com/showpost.php?p=78971931&postcount=128
Click to expand...
Click to collapse
It is noticeably faster than the last build and the front camera works. However, opening apps and switching between seems less smooth than the stock kernel

Nizur said:
It is noticeably faster than the last build and the front camera works. However, opening apps and switching between seems less smooth than the stock kernel
Click to expand...
Click to collapse
Try this kernel https://forum.xda-developers.com/showpost.php?p=78973263&postcount=131

Im confused, which should i flasht the one in the first post, very fast, or 4core?

LoneWanderer_97 said:
Im confused, which should i flasht the one in the first post, very fast, or 4core?
Click to expand...
Click to collapse
A new build is up in the first post with lots of fixes and improvements. Flash that one.

@Sultanxda can you bump up the linux stable version to latest one on the kernel? I started experiencing white screen flashes while waking the device after using the 3/3 kernel. This did not happen on Kirisakura, so flashed that back to check and yes it didn't happen anymore. I saw that your kernel is based on 4.9.124 while Kirisakura based on 4.9.161. Now I dont know if that is actually causing it or not but it's that difference I can see from outside, it's possible some other fixes/patches might also be there.
If anyone else experiencing the white flashes on the 3/3 build please ping.

alkeshgamer said:
@Sultanxda can you bump up the linux stable version to latest one on the kernel? I started experiencing white screen flashes while waking the device after using the 3/3 kernel. This did not happen on Kirisakura, so flashed that back to check and yes it didn't happen anymore. I saw that your kernel is based on 4.9.124 while Kirisakura based on 4.9.161. Now I dont know if that is actually causing it or not but it's that difference I can see from outside, it's possible some other fixes/patches might also be there.
If anyone else experiencing the white flashes on the 3/3 build please ping.
Click to expand...
Click to collapse
The kernel's Linux version has nothing to do with your screen flashes. Try the kernel attached to this post and see if it still has the issue.

Sultanxda said:
The kernel's Linux version has nothing to do with your screen flashes. Try the kernel attached to this post and see if it still has the issue.
Click to expand...
Click to collapse
Oh okay, will try it out and report back, btw I've updated to the March one, that won't cause any issues, right?

alkeshgamer said:
Oh okay, will try it out and report back, btw I've updated to the March one, that won't cause any issues, right?
Click to expand...
Click to collapse
Yeah that's fine. March kernel source isn't up yet anyway so I can't update my kernel yet.

Sultanxda said:
Yeah that's fine. March kernel source isn't up yet anyway so I can't update my kernel yet.
Click to expand...
Click to collapse
Okay then, will report back in 12 hours or so(night here), if I experience the flashes again

New build is up with March security fixes.

Sultanxda said:
The kernel's Linux version has nothing to do with your screen flashes. Try the kernel attached to this post and see if it still has the issue.
Click to expand...
Click to collapse
I haven't experienced white flashes on this build, will continue using it for a day more and report back if I notice it.
Update: I experienced the white flashes twice

i got this very bizzare issue after flashing this kernel for the very first time, on every boot of the phone now, i get this message that my device *is* corrupt and blah blah but nothing is actually wrong with the phone (i also have to press the power button in order to continue the normal boot sequence), it didnt resolve even after flashing other kernels ( no data wiped, that is last resort ) so i was wondering if anyone has any insight on this cuz it really bugs me every time ?

luckana said:
i got this very bizzare issue after flashing this kernel for the very first time, on every boot of the phone now, i get this message that my device *is* corrupt and blah blah but nothing is actually wrong with the phone (i also have to press the power button in order to continue the normal boot sequence), it didnt resolve even after flashing other kernels ( no data wiped, that is last resort ) so i was wondering if anyone has any insight on this cuz it really bugs me every time ?
Click to expand...
Click to collapse
That's not because of the kernel. It's because you have an unlocked bootloader. The message is normal after unlocking the bootloader. That said, it's harmless and there's nothing you can do about it. Well, other than relock your bootloader.

Yeah but it didnt appear like that prior to flashing sultan. What i am talking about appears before the warning for the bootloader, and doesnt continue until the power is pressed

Related

[Kernel][surnia] Squid Kernel for Moto E LTE (2015)

This is my Squid Kernel for the 2015 Moto E LTE. It's based off the stock kernel available on Motorola's GitHub. Flash it using TWRP. Bug reports and contributions are welcome.
This is a development thread. Questions should go in the Q&A thread.
Disclaimer:
This is for the 2015 Moto E LTE only! Version r22b and up require ROMs with an updated ACDB (audio calibration database) loader, such as LineageOS 14.1 builds from January 2018 and newer. If your ROM has an incompatible ACDB loader, you may experience low audio volume. Stick with version r22 for Marshmallow ROMs (including stock) and older Nougat ROMs without an updated ACDB loader.
You must update your modem to the Android 5.1 version or newer for the r12 kernel and newer to work properly. You can find modems in the modems thread. If you can't find an up to date modem for your variant and are running a Marshmallow ROM, try the older r15c version. The r6-r11e kernels are for 5.1 ROMs only. Don't flash this on the 3G model. This kernel is provided AS-IS, with no warranties. I am not responsible for bricking your device. Flash at your own risk.
Features:
LED notification support
Moderately undervolted
Updated to Linux 3.10.108
Synced with latest CodeAurora changes
Improved memory caching backported from Linux 3.15
Improved storage performance
Optimized ARM crypto routines
Updated f2fs and WiFi drivers
FIOPS and BFQ I/O schedulers
Lionfish CPU governor
IntelliPlug CPU hotplug (by faux123)
KCAL MDP5 colour control (by savoca)
Improved zRAM backported from Linux 4.9
Vibration intensity control
Compiled with Linaro GCC 7.3 and optimized for Cortex A53
Stripped down and optimized configuration
Release History:
Code:
r23: August 15, 2018
- Fixed surnia front camera
- Tonnes of security patches
- Updated binder
- Compiled with Linaro GCC 7.3.1
r22b: January 13, 2018
- Audio driver fixes
- Requires a ROM with an updated ACDB loader
r22: January 11, 2018
- Security patches
- Updated camera drivers
r21: December 6, 2017
- Updated to Linux 3.10.108
- Security patches
- Oreo support related patches
r20: August 2, 2017
- Updated to Linux 3.10.107
- Tonnes of security patches from many places
- Updated sdcardfs from Google
- Updated WiFi driver from CAF
- Compiled with Linaro GCC 6.3.1
r19: January 1, 2017
- Added support for Nougat ROMs
- Updated zRAM from Linux 4.9
- Updated (optimized) FUSE from CAF
- Kernel ASLR and many info leak fixes
- ARM PXN support for exploit mitigation
- Tons of security updates
- Some CAF updated from LA.BR.1.2.9_rb1.10
- Fixed kernel panic on VPN disconnection
- Updated compiler to Linaro GCC 6.2.1
r18: November 8, 2016
- Tons of security updates
- Updated to Linux 3.10.104
- Updates from Motorola Harpia kernel
- GPU driver latency reduction
r17: August 16, 2016
- Security updates
- Updated to Linux 3.10.102
- CyanogenMod compatibility updates
r16g: May 16, 2016
- Security updates
r16f: April 14, 2016
- Reverted f2fs update
- Updated zRAM from Linux 4.4
r16d: April 8, 2016
- Security fixes
- Vibration intensity control
- Updated f2fs
- Patches for CM13 compatibility
- IntelliPlug disabled by default
- Built with Linaro GCC 5.3
r16: March 20, 2016
- Updated to Linux 3.10.101
- Updated to Motorola MPD24.107
- Updated WiFi driver from CAF
- IO optimizations under heavy load
- Miscellaneous bug and security fixes
r15c: March 5, 2016
- Updated to Linux 3.10.99
- Updated camera driver configuration
- Compatible with Marshmallow stock ROM
r15b: Feburary 27, 2016
- Updated to Linux 3.10.98
- ARMv8 crypto related fixes
- Use ARMv8 crypto for adopted storage
r15: February 6, 2016
- Updated to Linux 3.10.96
- Updated f2fs from Linux 4.5
- Kernel library optimizations
- Improved CFQ IO scheduler
- Improved kernel PRNG
- ARMv8 accelerated crypto support
- Better use of ARM instruction set
- Added minimum CPUs parameter for IntelliPlug
- Miscellaneous bug fixes
r14b: January 23, 2016
- Fixed low/poor call audio
- Security fix for CVE-2016-0728
r14: January 16, 2016
- MARSHMALLOW ONLY
- Updated to Motorola Marshmallow sources
- Updates from CAF LA.BR.1.2.7_rb1.1
- Security and bug fixes from Linux 3.12.52
- Compatible with Marshmallow stock ROM
- More than a dozen CAF security fixes
- Miscellaneous bug fixes
- Somewhat smoother animations
r12: December 25, 2015
- FOR CM13 ONLY!!!
- Updated to Linux 3.10.94
- Updated to LA.BR.1.1.3_rb1.41
- Updated zRAM
- Improved memory caching scheme from Linux 3.15
- Optimized memory allocation and management
- Optimized CPU scheduler
- Optimized performance event tracking
r11e: December 1, 2015
- Fixed some cpufreq races
- Minor bug fixes
r10g: November 11, 2015
- Patched Pronto CR-930533 vulnerability
- Fixed possible use-after-free in zRAM
- Updated to Linux 3.10.93
- Compiled with Linaro GCC 5.1
r10f: November 8, 2015
- Updated to Linux 3.10.92
- Updated to CAF LA.BR.1.1.3_rb1.36
- Updated to Moto Maxx 2 Kernel
- Security and stability improvements
r10d: October 26, 2015
- Fixed r10c SELinux regression on stock ROM
r10c: October 24, 2015
- Fixed encryption
- Patches for Android 6.0 compatibility
r10b: October 4, 2015
- Fixed move app to SD card issue
- Cleaned up DTBs to reduce size
r10: October 3, 2015
- Added KCAL colour control (by savoca)
- Added optimized crypto routines for ARM
- Updated to Linux 3.10.90
- Optimized memory performance
- General cleanup and optimization
r9e: October 1, 2015
- Updated to lux kernel sources
- Updated to Linux 3.10.89
- Updated to LA.BR.1.1.3_rb1.32
- Small tweaks and optimizations
r8: Septemver 15, 2015
- Updated to Linux 3.10.88
- Updated to LA.BR.1.13_rb1.29
- Improved zRAM backported from Linux 4.1
- WiFi driver background scan changes
- Added adaptive low memory killer
- Included the WLAN NV patch I had posted earlier
r7f: August 25, 2015
- Downgraded WiFi driver to LA.BR.1.1.2_rb1.18
- This actually fixes the WiFi crashes :D
r7e: August 25, 2015
- Added LED notification support
- Updated WiFi driver to LA.BR.1.2.4_rb1.14
- Maybe this will fix bootloop issues for affected users
r7d: August 23, 2015
- Updated everything to LA.BR.1.1.3_rb1.25
- There were some interesting WLAN driver changes
- Maybe this will fix WiFi bootloop issue in r7c
r7c: August 20, 2015
- Updated WiFi driver to LA.BR.1.1.3_rb1.23
- Maybe it will fix DHCP issues with certain routers
r7b: August 19, 2015
- New universal flashing script
- Works on any surnia variant and ROM
r7: August 19, 2015
- Updated to Linux 3.10.87
- Updated to Qualcomm LA.BR.1.1.3_rb1.24
- Updated to Motorola MMI-LPI23.72-9
- Added a few extra WiFi driver options
- Added CPU touch booster feature
r6: July 28, 2015
- Rebased for use on 5.1 ROMS ONLY
- Updated to Qualcomm's LA.BR.1.1.3_rb1.21 release
- Updated to Linux 3.10.84
- Updated WiFi drivers
- Added my new and original Lionfish CPU governor
- Added Conservative CPU governor
- Added faux123's IntelliPlug CPU hotplug implementation
- Added BFQ IO scheduler
- Numerous bug fixes
r5: April 21, 2015
- Updated to Linux 3.10.75
- Added FIOPS I/O scheduler
- Updated f2fs drivers backported from Linux 4.0
- Milder undervolt for improved stability and compatibility
- Uses full Boost Mobile ramdisk for CDMA variant
r4: April 15, 2015
- Updated to Linux 3.10.74
- Milder undervolt to better support all devices
- Cleaned up defconfig and device tree
- Various minor bugfixes
r3c: April 5, 2015
- Fixed still picture taking with front-facing camera
r3: April 4, 2015
- Initial public release
Downloads:
Main downloads tab
XDA:DevDB Information
Squid Kernel for Styx LTE, Kernel for the Moto E 2015
Contributors
squid2
Source Code: https://github.com/sultanqasim/android_kernel_motorola_msm8916
Kernel Special Features: undervolted, lionfish, fiops, intelliplug, latest Linux and Qualcomm fixes
Version Information
Status: Stable
Current Stable Version: r23
Stable Release Date: 2018-08-15
Created 2015-04-04
Last Updated 2018-08-15
Squid TWRP
I also have a TWRP build that uses my kernel, compiled from source with the OmniRom tree. Links for it are it are on the main download tab. My device tree for it is on GitHub. My device tree is based off Cybojenix's TWRP tree for this device, but it uses a special stripped down version of my kernel instead of the prebuilt stock kernel. That is why my TWRP is 4 MB smaller than the Cybojenix version.
The latest build of my TWRP shows the correct time and includes hardware encryption support (thanks @vlcdsm).
UPDATE: I've made a separate thread for this TWRP.
Installation Instructions
The r11e version is the latest for Lollipop 5.1 ROMs. CM12.1 users and LPI23.29 stock users should use the version posted here. Users of the new LPI23.72 stock 5.1.1 should use the osprey version instead. See squid_kernel_r11e-osprey-stock.zip
For CM13 and similar Marshmallow ROMs, use my latest version (r12 at the moment).
My suggested install procedure:
Boot into TWRP (make sure you have a suitable ROM installed)
Flash my kernel zip.
Reboot into Android.
After following these steps, you will be running my new kernel. You can verify in Settings->About phone->Kernel version. If the ROM behaves strangely on first boot, reboot the phone. It should be stable after the second boot.
Attention 5.0 Stock ROM Users:
The latest versions of this kernel (r6 and up) are only for 5.1 ROMs. I suggest that you update to 5.1 if possible. If you need to stay on 5.0 and want my kernel, you will need to use the old r5 version.
Lionfish and Recommended Settings
My new Lionfish governor combines traits of the conservative, ondemand, and interactive governors. It is designed to maximize battery life without noticeably impacting performance. It responds quickly to heavy loads (similar to ondemand and interactive) while staying within the region of optimal CPU performance per watt. With moderate loads, it periodically votes to raise, maintain, or decrease the frequency. When there are enough votes to change the frequency, it is ramped up and down gradually. The voting mechanism reduces frequency jitter compared to ondemand and conservative. My testing had found that this governor uses moderate frequencies (where efficiency is optimal) more effectively than interactive, ondemand, and conservative. This improved frequency distribution results in a moderate reduction in CPU power consumption while maintaining responsiveness comparable to the interactive governor.
IntelliPlug is enabled by default in this kernel. The default governor is still interactive. For optimal performance and battery life, I recommend using the fiops IO scheduler, Lionfish governor, and lowering the CPU idle frequency to 400 MHz (from the default of 800 MHz). The combination of IntelliPlug, Lionfish, undervolting, and reducing idle to 400 MHz should result in a CPU power consumption reduction of around 20% compared to the stock kernel. This will typically correspond to 8-15% increase in battery life compared to the stock configuration.
Well my phone is acting up, and I need to go ahead and start testing roms and things, but this seems like a great way to go! Anyone try this yet? Or will I be the first one? Thanks for your work dev!
squid: your kernel is already interesting, developement sound promising.
report:no problem hang or bootloop during boot,
---------- Post added at 09:30 PM ---------- Previous post was at 09:19 PM ----------
wifi not working unable to turn on,
but camera seems to works definitely even with root.
pixiebob said:
squid: your kernel is already interesting, developement sound promising.
report:no problem hang or bootloop during boot,
---------- Post added at 09:30 PM ---------- Previous post was at 09:19 PM ----------
wifi not working unable to turn on,
but camera seems to works definitely even with root.
Click to expand...
Click to collapse
Hmm, WiFi works fine for me. My kernel requires signed kernel modules, but I do provide a Pronto WLAN driver signed for my kernel in the zip. Could you post the output of dmesg right after your phone boots up? Maybe that would give me a hint as to the cause.
Is anyone else having WiFi issues?
torch2424 said:
Well my phone is acting up, and I need to go ahead and start testing roms and things, but this seems like a great way to go! Anyone try this yet? Or will I be the first one? Thanks for your work dev!
Click to expand...
Click to collapse
Alright! everything working great! Everything works on my end, but I did notice a SLIGHT slowdown on the device with this kernel, but hey it's totally worth it for the root and everything working
My Steps:
I came from a fresh device (Moto E 2015 4g Unlocked GSM) which I never took the time to do anything so here's what i did
1. Unlock Bootloader using this: http://forum.xda-developers.com/mot...tool-moto-e-toolkit-one-click-unlock-t3047150
- Just follow the step and it worked fine for me! however, It wouldnt allow me to flash the recovery, it would just crash so...
2. Install TWRP from this thread: http://forum.xda-developers.com/moto-e-2015/orig-development/twrp-moto-e-2015-recovery-t3049726
- I had to boot into fastboot (Hold Power and volume Down) and boot into my linux (ubuntu) to run the commands and successfully install the recovery
3. Boot into recovery, and BACKUP BACKUP BACKUP!
- To boot into recovery, I boot into fastboot, then use the volume keys until the little Dialog says recovery, the press power. I made a backup with twrp, Forgetting this step sucks, never forget...
4. Flash the kernel
- I flashed the kernel from twrp first to see if it had root pre-installed but it doesn't (Didnt check, but there was no supersu so I'm assuming so). Also, didnt check camera at this point
5. Install superSU/Root from here: http://download.chainfire.eu/696/SuperSU/ . Thank you to spblinux for this post: http://forum.xda-developers.com/showpost.php?p=59761431&postcount=46
- I flashed the zip through twrp, and everything is working fine, and this is where I am now!
Thanks to the dev for his work. I will report back with more usage and thoguhts later!
Edit: Sorry for the typos, I'm a lazy typer. And Dont forget to hit the thanks button to the devs, and also me if I helped you out!
Edit:Edit: The download link is in the first post, there's some tabs at the top that link to it! (Took me a while to fins it haha)
squid2 said:
Hmm, WiFi works fine for me. My kernel requires signed kernel modules, but I do provide a Pronto WLAN driver signed for my kernel in the zip. Could you post the output of dmesg right after your phone boots up? Maybe that would give me a hint as to the cause.
Is anyone else having WiFi issues?
Click to expand...
Click to collapse
here dmsg log, good luck
torch2424 said:
Well my phone is acting up, and I need to go ahead and start testing roms and things, but this seems like a great way to go! Anyone try this yet? Or will I be the first one? Thanks for your work dev!
Click to expand...
Click to collapse
squid2 said:
Hmm, WiFi works fine for me. My kernel requires signed kernel modules, but I do provide a Pronto WLAN driver signed for my kernel in the zip. Could you post the output of dmesg right after your phone boots up? Maybe that would give me a hint as to the cause.
Is anyone else having WiFi issues?
Click to expand...
Click to collapse
Same here, no wifi issues for me! Thanks for the hard work!
pixiebob said:
here dmsg log, good luck
Click to expand...
Click to collapse
I looked through your dmesg log and didn't see anything too noteworthy. I saw one potentially relevant message (below) that came from a piece of code that I added.
Code:
<3>[ 21.821810,1] subsys-pil-tz a21b000.qcom,pronto: wcnss: Failed to load blob wcnss.b11. Retrying. ERR -2
In my testing, I had encountered a race condition that caused WiFI firmware blobs to sometimes fail to load. I implemented a hack to retry loading firmware blobs if the initial loading failed. Quite often, at least one blob seems to fail to load the first time through, but it always works on the second attempt. The same thing happened on your end, as wcnss.b11 failed to load the first time through, but it successfully loaded on the second attempt. Anyway, I don't think this blob is the problem.
Have you tried rebooting and checking if WiFi works after that? I've never had any WiFi issues with my kernel, but I just want to rule out a race condition being the cause of your issue.
One more thing: Could you post the output of "cat /proc/modules" when WiFi is not working?
CDMA Variant Support
On the Q&A thread, bzo22 reported that the Boost Mobile version (XT1526) fails to read the SIM card when running this kernel. I did some preliminary investigation and found that the ramdisks differ. All Canadian variants of the XT1527 (Telus, Videotron, Rogers, and Wind) have the same CID and run the exact same software, free of carrier crapware, bloatware, or spyware. The unlocked variants sold on Motorola's website in the US should also be crapware free, though they have a different CID. However, the Boost Mobile variant is full of carrier specific stuff.
Test Kernel for CDMA Variant
Alright Boost Mobile people, I've made a test kernel for the CDMA variant. I don't know if it will work. Try it out and let me know whether or not your cellular connectivity works.
For some reason, XDA is giving me an "Upload Error: 500" when trying to post it to the downloads section, so I am attaching it to this post instead.
Reminder: THIS TEST KERNEL IS FOR THE LTE CDMA VARIANT (XT1526) ONLY! For the LTE GSM version (XT1527), use the normal version in the downloads section.
Confirmed new kernel is working with cmda variant and yes camera is working
squid2 said:
One more thing: Could you post the output of "cat /proc/modules" when WiFi is not working?
Click to expand...
Click to collapse
sorry but it does nothing:
adb shell
$ cat /proc/modules
cat /proc/modules
---------- Post added at 02:43 PM ---------- Previous post was at 02:24 PM ----------
squid2 said:
Have you tried rebooting and checking if WiFi works after that? I've never had any WiFi issues with my kernel, but I just want to rule out a race condition being the cause of your issue.
?
Click to expand...
Click to collapse
i keep the kernel all the day and it is stable.
concerning wifi i try multiple time to reboot but always unable to turn on
i set minimal frequencie at 200 mhz but the kernel seem unable to reach this minimal ,i think undervolted is the reason of this difficulty being stable at lower frequencie,it is bad for battery life .
pixiebob said:
sorry but it does nothing:
adb shell
$ cat /proc/modules
cat /proc/modules
---------- Post added at 02:43 PM ---------- Previous post was at 02:24 PM ----------
i keep the kernel all the day and it is stable.
concerning wifi i try multiple time to reboot but always unable to turn on
i set minimal frequencie at 200 mhz but the kernel seem unable to reach this minimal ,i think undervolted is the reason of this difficulty being stable at lower frequencie,it is bad for battery life .
Click to expand...
Click to collapse
It looks like the kernel refuses to load modules on your phone. Rather strange, as the provided signed modules seem to work fine for everyone else. What happens when you do this on the phone:
Code:
su
insmod /system/lib/modules/pronto/pronto_wlan.ko
As for the 200 MHz step, I don't think undervolting has anything to do with it. It's probably the governor's fault. Try switching to the ondemand governor. I'm fairly confident that all frequencies will work. With that said, I found that setting the base frequency to 400 MHz gives a smoother experience without hurting battery life noticeably.
squid2 said:
What happens when you do this on the phone:
Code:
su
insmod /system/lib/modules/pronto/pronto_wlan.ko
Click to expand...
Click to collapse
i obtain this on su:
insmod /system/lib/modules/pronto/pronto_wlan.ko
insmod: init_module '/system/lib/modules/pronto/pronto_wlan.ko' failed (Required key not available)
pixiebob said:
i obtain this on su:
insmod /system/lib/modules/pronto/pronto_wlan.ko
insmod: init_module '/system/lib/modules/pronto/pronto_wlan.ko' failed (Required key not available)
Click to expand...
Click to collapse
You must have a module version mismatch. This shouldn't happen, as the correct modules are provided in the zip. Which recovery did you use to flash my kernel? Did you use the TWRP linked in the first post, a different TWRP, or a different recovery altogether? When you go into the Settings->About Phone, what does it indicate as the kernel version?
squid2 said:
You must have a module version mismatch. This shouldn't happen, as the correct modules are provided in the zip. Which recovery did you use to flash my kernel? Did you use the TWRP linked in the first post, a different TWRP, or a different recovery altogether? When you go into the Settings->About Phone, what does it indicate as the kernel version?
Click to expand...
Click to collapse
oh sorry i understand my mistake, i fastboot flash only boot.
i will install zip.file containing wifi driver.
we have a kernel fully fonctionnal now ,wifi too, you seem to resolve issue camera when it's rooted

[DISCONTINUED][kernel][J Series 2015][TW-MM] hadesKernel v2.5R [06.06.2017]

Code:
Disclaimer
#include
*
* [B]Your warranty is now void.[/B]
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
Welcome to hadesKernel
Some personal thoughts:
- this kernel works only on J5 2015 versions. I`m not responsable for what can happen if you flash on other devices.
- v2.3 for J5 already includes all the previous things from A5 releases.
- if you take any of my work without my permission i'll report you, and you'll probably get banned.
- you should read at least install instructions stated in this post - i won`t offer support for any issues regarding installation;
- bug reports without device variant and logs can't be considered bugs - make sure you provide detailed info when reporting bugs;
- press 'Thanks' button instead of saying it - it will keep the thread clean and keep me motivated to do more;
- feel free to donate to me if you want to support my work.
Features:
Aroma Installer with root options
SuperSU 2.79 SR3
Magisk v12.0
OTG support enabled
Private mode (for roms that support that feature)
knox 0x0 - borrowed some things from magisk and from @Bulgaricus
CPU overclock to 1.5Ghz
GPU overclock to 720Mhz
J500HXXU2BPK4 update - December security patches
Adreno Idler
intelli_thermal
nvidia relaxation patch
undervolt
Color calibration
prima wlan driver
fast, stable and cool
Latest ramdisk
Permissive kernel
init.d support
maybe more - will update when remember...
Devices:
J500F
J500FN
J500G
J500M
J500H
Bugs:
None (see FAQ on #3 post for any issues)
Instructions:
make sure you have TWRP from here installed (or any other with Aroma Installer support)
download zip and put it into phone's storage
enter TWRP recovery
flash zip
reboot and enjoy
Downloads
Credits:
*DjSteve
*Lord Boeffla
*psndna88
*Bulgaricus
*SuperR
*Faux123
*duki994
*kernel testers
*if i missed someone PM me and i`ll add
XDA:DevDB Information
hadesKernel v2.5, Kernel for the Samsung Galaxy J5
Contributors
corsicanu
Source Code: https://github.com/corsicanu/hadesKernel
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: v2.5
Beta Release Date: 2017-04-26
Created 2017-02-21
Last Updated 2017-07-03
Reserved
Changelog:
v2.5R - 06.06.2017
fixed private mode for roms that support this feature
v2.5 - 26.04.2017
fixed heating on A500G
fixed wifi
re-fixed camera for J5 family
added i/o schedulers back
v2.4 - 25.04.2017
kernel built permissive to avoid some issues
updated ramdisk to latest official fw
added root options in Aroma
added Magisk as root option
removed charging limit for some devices
disabled modules unload
reworked modules implementation,
*now you can switch to any other kernel without wifi or FM Radio issues
reworked knox 0x0 script
revert update to linux 3.10.60 for now
revert add more governors for now
revert add hotplugs for now
revert add i/o schedulers for now
v2.3 - 05.04.2017
fixed camera focus for J series
added support for A500W and A500K
updated to linux 3.10.60
added more governors (alucard/lionfish/barry_allen/intelliactive - these can be unstable-use interactive if you have issues)
added hotplugs (intelliplug/bricked hotplug/alucard/msm_hotplug)
added i/o schedulers (vr/fiops/sioplus/zen) and set FIOPS as default
knox 0x0 - borrowed some things from magisk and from @Bulgaricus
updated powersuspend
ramdisk tune-ups
cpufreq tune-ups
memory/cache tune-ups
v2.2 - 20.02.2017
added support for J5 2015 (J500xx)
added usb fast charge
made cubic tcp default for better net speeds
disabled software CRC for better performance
optimized framebuffer for better performance
added regulator for overclock
undervolted for better battery
lowered safe frequency from 400 to 200mhz
A5S deepsleep fix
added nvidia relaxation patch for better battery
enhance power efficiency
implement fast idling of CPU
reduced high-load and average-load for better battery
enabled arch_power
lowered throttle threeshold and enable it by default
v2.1 - 10.02.2017
Fix FM Radio
Fix OTG for all versions
Fix overheating issues for G
Add support for A3FU
Add SuperSU-v2.79-SR3
v2.0 - 25.01.2017
J500HXXU2BPK4 update - December security patches
Add support for A500H/A500S versions
Add builtin wlan module
Add westwood tcp and make cubic default again
Adreno Idler 1.1, fixed msm_adreno_tz
Add powersuspend
More msm-thermal tweaks
kernel: reduce overheat
Enable multi-core power savings
Add SuperSU SR5 back
Fix Deepsleep for F/G/M
Add 50Mhz and 100Mhz frequencies for low consumption when awake (AOD)
Add dynamic sync 2.0
Add lcd notify
xz: Optimize Sfck Compression
Added Aroma Installer
v1.4 - 22.12.2016
Fixed wifi again for each version
Multitask and battery optimisations + permissive mode enabled
Fix for frequencies not sticking at boot
ramdisk cpu / io / battery tune-ups
Add specific ramdisk for each supported variants
Separate SU from ramdisk
Fixed Kcal (color calibration)
V1.3 - 15.12.2016
add KCAL driver
4sysctl: favor filesystem
GPU OC to 720Mhz
Reverted CPU OC to 1.5Ghz
Fixed wifi for A500G
V1.2 - 11.11.2016
A500FU SuperSU SR3 patch + init.d support
SuperSU SR3 patch + init.d support
Experimental wifi fix
A500FU support
Switch to CUBIC TCP congestion control
arch/arm : compile with hardfloat + neon-vfpv4"
Tune-up for Cortex A53/ARMv8 architecture
V1.0 - 08.11.2016 - initial release
A500GXXU1CPH4 update
OTG and permissive enabling
free-mem optimisations
added SU patched ramdisk
2.07Ghz CPU OC
Enable neon and VFPv3
enable xz compression
Reserved
FAQ:
Q: My wifi is broken after flash. What to do?
A: Flash latest modem available for your device.
Q: Can`t connect to wifi network. What to do?
A: Reboot the phone, reboot the wifi router/ap, make sure you don`t have mac filtering enabled on ap/router.
Q: MAC adress has changed. What to do?
A: There is nothing you can do. That happens because of newer wifi module, built along with kernel, from the latest sources. If you can`t connect see Q2 above. I won`t change back to legacy wifi modules, at least not now.
Q: Device appears as "unauthorized" in adb and notification to authorize doesn`t appear. What to do?
A: Enter developer options, disable usb debugging, wait 30 seconds and re-enable it. Now you should see the notification to allow debugging.
Q: loading
A: loading
One more just in case of need
Deleted.
#Henkate said:
It's nice to see you here.
Click to expand...
Click to collapse
Multumesc!
Great .
Fast Kernel, Stable. (First really good kernel for J5)
From the tester to this build your kernel has worked perfectly. (Commenting here your tester)
My new rom with your kernel is amazing.
Cheers! :highfive:
Thanks @corsicanu ..
I'm using this kernel on my Stock 6.0.1 rom & I must say that this is one of the best kernels for J5.. Its very fast & stable..
Thank You So Much..
---------- Post added at 09:04 AM ---------- Previous post was at 08:59 AM ----------
By Zonik said:
Great .
Fast Kernel, Stable. (First really good kernel for J5)
From the tester to this build your kernel has worked perfectly. (Commenting here your tester)
My new rom with your kernel is amazing.
Cheers! :highfive:
Click to expand...
Click to collapse
Hi @By Zonik ..
Waiting for your rom (v2) bro..
Some q's
Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??
does it support skies rom beta ??
corsicanu said:
One more just in case of need
Click to expand...
Click to collapse
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
For me the link doesnt work i just get this:
YuZaGa said:
Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??
Click to expand...
Click to collapse
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.
Super.Mody said:
does it support skies rom beta ??
Click to expand...
Click to collapse
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
paulo boë said:
For me the link doesnt work i just get this:
Click to expand...
Click to collapse
Just wait more or refresh the page.
Demicro said:
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
Click to expand...
Click to collapse
I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
Cheers!
Sent from my SM-N930F using Tapatalk
OMG ITS SO SMOOOOOOTTHHHHH. I bearly have any lag:laugh::victory:
Demicro said:
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
Click to expand...
Click to collapse
corsicanu said:
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
Sent from my SM-N930F using Tapatalk
Click to expand...
Click to collapse
You can see the GPU frequency in real time by using these commands in Terminal (PC):
Code:
adb shell
cd /sys/devices/soc.0/1c00000.qcom,kgsl-3d0/devfreq/1c00000.qcom,kgsl-3d0
while true; do cat trans_stat; busybox sleep 0.1; done
1) The path may be different.
2) The current GPU frequency is the one with the asterisk.
3) Total transictions means the total switches between GPU frequencies.
Try these commands to confirm that the GPU frequency is stuck at 720.
We can bring the current fast charging also on custom roms or even improve the fast charging to support custom mAh and stuff like that. But forcing a battery to charge faster than it's limit can demage and reduce the battery life drastically so I think we will leave it just like that. Greetings
corsicanu said:
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
Click to expand...
Click to collapse
Skies Rom beta is a Note 7 Port rom .. so it is Grace UX not touchwiz ..
corsicanu said:
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
Just wait more or refresh the page.
I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
Click to expand...
Click to collapse
I know, that you have cherry pick from me?
I also found something interesting in your code
Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone
I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go
Super.Mody said:
Skies Rom beta is a Note 7 Port rom .. so it is Grace UX not touchwiz ..
Click to expand...
Click to collapse
Grace UX is touchwiz based. Non tw roms are lineage, cyanogenmod, or any other that uses AOSP as base.
Sent from my SM-N930F using Tapatalk
Demicro said:
I know, that you have cherry pick from me?
I also found something interesting in your code
Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone
I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go
Click to expand...
Click to collapse
I removed it from features/changelog since isn`t activated yet. I saw too late in msm8916 defconfig the CONFIG_THERMAL_MONITOR=y so the intelli_thermal isn`t there yet. I can`t even finish the build (lots of errors), and you have errors in logcat ?. You are way far than me. For now i didn`t had time to chase those errors. I`ll look more maybe next week. Anything else interesting in my source? ?
Cheers!

[KERNEL][AOSP][AnyKernel][LOS-14.1+EAS] Gamma Kernel for [All Lineage Variants]

{
"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"
}
DESCRIPTION
Hey guys, I have started a custom Kernel based on LineageOS sources with 98% CAF. So I would like to share my own performance and usability improvements with minimal feature and enhancements on top. The intention is to have a minimal light-weight kernel that is very fine tuned for the device.
FEATURES
Minimal Kernel with a stripped defconfig base to be more streamlined and have less memory footprint
User space display color calibration (KCAL) with screen calibrated against iPhone 8 Plus, also helps reducing screen retention
Schedutil governor making use of EAS features with updates from Linux 4.4 and 4.12
Up to date with LineageOS sources for maximum compatibility and security bugfixes
Memory and cache subsystem optimizations, you will feel it
Adaptive LMK enabled by default
Transparent Hugepages are enabled
ZRAM/Swap partition is disabled by default
BFQ IO scheduler set by default to avoid slow-downs on task intensive scenarios
No overclocking was chosen to avoid unnecessary heat, optimizations were focused on other different areas
Kernel Samepage Sharing enabled with deferred timer by default to gain some memory usage optimizations, the process sleeps on regular basis and I've profiled it so that there's no battery drains due to it
Simple temperature controls for msm_thermals exposed
Compiled with GCC 6.x optimized toolchain and -O3 plus other hardware specific flags
Undervolted the Adreno 530 GPU voltage rail to keep things cooler
CAF Rebase on major portions of the Kernel has helped lower the memory footprint a lot
ES9218 Quad DAC automatic toggling working inside the kernel for headphone HIFI playback, please read here for details
DOWNLOADS
AnyKernel: Click Here (Or check top of the post, download tab)
(Optional) LineageOS 14.1 Netflix Black Screen Fix : Click Here
(Optional) Updated Adreno Drivers by @BlackSoulxxx : Click Here
SOURCE
V20-Kernel-Gamma GitHub Source
NOTES
Here is a GeekbenchV4 result example : http://browser.geekbench.com/v4/cpu/7618872
These is intended to be used primarily with LineageOS, I have not tested other ROM's
Since LineageOS uses a way newer Bluetooth stack, this Kernel will most likely not work on old ROM's such as ResurrectionRemix
This will not work with LineageOS 15.1, please see the other thread
KNOWN BUGS
When using v1.0.0 will fail to boot if you had Magisk previously installed. Please install something newer if using Magisk.
When using v13.0.0 - v15.x.x infrared remote control will not work.
I would also like to thanks to various people who contribute tremendously such as:
@x86cpu
@EvilHowl
@USA-RedDragon
@savoca
@albinoman887
@emdroidle
@Rashed97
@joshuous
@RenderBroken
and many others!
<< If you like my work here is my hat, please donate! >>​
​
XDA:DevDB Information
Gamma Kernel, Kernel for the LG V20
Contributors
Omar-Avelar
Source Code: https://github.com/oxavelar/V20-Kernel-Gamma
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: 46.0.0
Stable Release Date: 2018-07-11
Created 2017-12-10
Last Updated 2018-10-22
CHANGELOG
46.0.0 - Started msm_irqbalance by default on boot, disabled lp11 and enabled allow mdss phy powerdown during idle screen.
45.0.0 - Smoother memlat ramp and tuned the schedTune DVR cpusets a bit for better performance overall.
44.0.0 - More deep sleep enhancements.
43.0.0 - Update to Oreo TouchScreen firmware and more MDSS PLL merge fixes that help deep sleep.
42.0.0 - Missing MDSS Oreo merges are now in place.
41.0.0 - Added IPA_WS as a default in the wakelock blocker, as well as enabling CONFIG_PM_SLEEP which if missing would in turn cause some ueventd wakeups.
40.0.0 - Disabled CONFIG_RMNET_DATA_DEBUG_PKT. Full fix for USB OTG and added missing slimport drivers. Tweaked the random wakeup values, added some extra cpusets based on Marlin's android-cts-8.0_r8/init.common.rc and fixed some BFQ IO possible hang.
39.0.0 - Disabled CONFIG_RMNET_DATA_DEBUG_PKT. Full fix for USB OTG and added missing slimport drivers.
38.2.0 - Removed LGE's battery manager alarms.
38.1.0 - Fixed potential wireless packet loss.
38.0.0 - Further tweaked the wlan_rx_wake wakelock, migrated the audio and thermal workers to power efficient queues, and added an arm64 prefetching optimization for memcpy.
37.0.0 - Better deep sleep enhancements with the charger infrastructure borrowed from the V30 Kernel Oreo sources.
36.0.0 - Full fix for 6a00000.ssusb wakelocks while keeping fast charging enabled.
34.0.0 - Added boeffla_wl_blocker to tame NETLINK wakelock, this wakelock is caused by IPC between the wireless driver in the Kernel and Android. This was the reason why when on wireless the battery would drain more compared than radio. Also disabled OTG as this keeps the phone from deep-sleeping for now.
33.0.0 - Enabled OTG.
32.0.0 - Fixed a bug from Oreo merge that causes video to go green and crash sometimes. Disabled ZRAM from the compilation rather than AnyKernel patch.
31.0.0 - Merged some V20 Oreo Kernel changes in, as well as some DAC enhancements to prevent popping, better USB PD and QC 2.0/3.0 charging code.
30.0.0 - Oreo Kernel changes in, trying to unify the Kernel to keep support for a little while on 14.1.
29.0.0 - Merged msm idle from Linux 4.4 as well as full EAS 1.4 support from Linux 4.4, reduced the memory subsystem timer ramp values for speedier operation.
27.0.0 - Enabled wifi.supplicant_scan_interval on boot, and disabled IPv4 TCP Timestamps and ICMP responses as well as CCKM fast secure roaming.
26.0.0 - Full EAS 1.4 from Wahoo (Pixel 2XL) backported.
25.0.0 - Updated EAS (schedutil, walt, fair scheduler) to be in sync with Wahoo (Pixel 2XL) latest changes.
24.0.0 - Fixed another performance regression in multi-core scores within schedutil.
23.0.0 - Screen brightness is 50% while booting to reduce heat when it is regenerating cache on boot. v22.1.0 was 25% but this was barely visible if you were rebooting under direct sunlight. So went for the safe value.
22.1.0 - Reduced the screen brightness while booting to reduce the heat of the device during cache wipes.
22.0.0 - WALT and schedutil cpufreq commit fixes backported from RenderBroken.
21.0.0 - The GPU Voltage rail undrervolt is now ~60 mV, do not see any problem and games run way cooler.
20.0.0 - After feedback on frequency utilization/distribution I've put 3 WELT commits that should help alleviate this. And enabled some extra configurations from our wireless driver for better power savings.
19.0.0 - Trimmed around ~40 mV from the GPU voltage rails, and updating the wireless stack to DHD 1.80.13 - 2017.06.22, from us997 V16a.
17.0.0 - Increased the multi-core benchmark scores.
16.1.0 - Reverted the binder to be Nougat only, since Oreo support will be on a separate Kernel anyway. Fixed the Infrared Remote Control support that I had broken, and tuned the memory scaling to be more responsive.
15.0.0 - More audio fixes. This audio CAF merging has fixed the speaker-phone that suddenly stops recording or suddenly stops recieving audio from the phone call in LineageOS. Also have increased the schedutil timer values to be similar to the Pixel 2 XL (Wahoo). And finally have fixed a CONFIG_LGE_PM_LGE_POWER_CLASS_CHARGER_SLEEP problem, so that the charger module now sleeps better and uses less power in idle.
14.0.0 - Updated WALT (Window Assisted Load Tracking) fixes aggregated by RenderBroken. Fixed an audio bug introduced in 13.0.0 where headphone insertion could change the sampling rate of other audio sessions. Changed again the schedutil timer values to favor benchmarks a tiny bit and increased the external SD read-ahead and minimum number of requests so that there is better merging when using slow SD cards while keeping the internal storage device in a low-latency configuration.
13.0.0 - Merged CAF audio upstream changes and enabled transparent hugepages.
12.0.0 - Tuned the memory subsystem frequency scaling parameters further down to focus on batter savings as well as the EAS timers.
11.0.0 - Added cpuidle optimizations to idle more, bumped up the memlatency trigger.
10.2.0 - Reintroduced back QuickCharge 2.0 and QuickCharge 3.0 fast charging support into the Kernel.
10.0.0 - Bumped up the Kernel to version 3.18.71.
9.0.0 - Full arm64 arch CAF update done to the Kernel based on CAF LA.UM.6.5.r1-05300-8x96.0. Added support for H918 variant too.
8.2.0 - Partial update to get the Kernel in a big percent that of CAF LA.UM.6.5.r1-05300-8x96.0, no bugs introduced and using a CAF / LineageOS kernel base. Using the binder interface that works both for Android Oreo and Nougat to be prepared for Lineage15. Also fixed a bug that I had introduced in previous versions related to wireless access point, hence why I had pulled versions 7.x from the server.
4.1.0 - Reintroduced into the LineageOS kernel the partial-update in the panel, to gain some power savings and overall performance feeling when refreshing the panel and screen elements.
4.0.0 - Raised the EAS schedutil timers and the memlat governor threshold to kick in faster. This will bring up the responsiveness to similar levels to HMP even when still using EAS. Brought back KSM after profiling on battery utilization, it doesn't hurt as long as a the timer value is between 4000.
3.0.x - Bugfixes and testing with Magisk compatibility, I think there are no more compatibility problems with Magisk after this, had to remove KSM for testing.
1.0.0 - Initial version, with KCAL, and streamlined defconfig based on cm-14.1 kernel sources and minor commits on top.
Omar-Avelar said:
DESCRIPTION
Hey guys, I have started a custom Kernel based on LineageOS sources to get and share my own performance improvements up and adding minimal feature and enhancements on top. The intention is to have a minimal light-weight kernel that is very fine tuned for the device.
FEATURES
Minimal Kernel with a stripped defconfig base to be more streamlined and have less memory footprint
User space display color calibration (KCAL) with less blue tints by default
Schedutil governor making use of EAS features
Up to date with LineageOS sources for maximum compatibility and security bugfixes
Memory and cache subsystem optimizations, you will feel it
Adaptive LMK enabled by default
ZRAM/Swap partition is disabled by default
BFQ IO scheduler set by default to avoid slow-downs on task intensive scenarios
No overclocking was chosen to avoid unnecessary heat, optimizations were focused on other different areas
Kernel Samepage Sharing enabled with deferred timer by default to gain some memory usage optimizations, the process sleeps on regular basis and I've profiled it so that there's no battery drains due to it
Compiled with GCC 6.x optimized toolchain and -O3 plus other hardware specific flags
Re-introduced stock thermal values and engine for a safer device operation
DOWNLOADS
1) AnyKernel: Click Here (Or check top of the post, download tab)
2) EAS-Project OP3 Prebuilts Flashable : Click Here
3) Thermal Engine Flashable : Click Here
SOURCE
V20-Kernel-Gamma GitHub Source
NOTES
These is intended to be used primarily with LineageOS, I have not tested other ROM's
Please flash all *.zip's mentioned in the download sections for optimal results
KNOWN BUGS
Hopefully none
I would also like to thanks to various people who contribute tremendously such as:
@x86cpu
@EvilHowl
@USA-RedDragon
@savoca
@albinoman887
@emdroidle
@Rashed97
and many others!
<< If you like my work here is my hat, please donate! >>
​
XDA:DevDB Information
Gamma Kernel, Kernel for the LG V20
Contributors
Omar-Avelar
Source Code:https://github.com/oxavelar/V20-Kernel-Gamma
Kernel Special Features:
Version Information
Status: Testing
Current Stable Version: 1.0
Stable Release Date: 2017-12-09
Created 2017-12-10
Last Updated 2017-12-09
Click to expand...
Click to collapse
I don't know how 'in-depth' testing I can do. But I'll be willing to do what I can!
I'll be flashing this soon.
I'm on Desolation ROM, VS995. I'll report back. Thanks for your hard work!
Edit: not necessarily a problem, but it has static on boot.
nightra88 said:
I don't know how 'in-depth' testing I can do. But I'll be willing to do what I can!
I'll be flashing this soon.
I'm on Desolation ROM, VS995. I'll report back. Thanks for your hard work!
Edit: not necessarily a problem, but it has static on boot.
Click to expand...
Click to collapse
Oh, I didn't compile specifically for VS995 so it will have static on boot. Since these two are mostly the same devices I might give u a VS995 Kernel next week with that static gone.
Here are some Geekbench results in case anyone is interested : http://browser.geekbench.com/v4/cpu/5506983
Great to have someone finally building an AOSP kernel!
Any chance you'll be compiling for the H918 sometime in the future? No worries if you aren't. I'm just curious =p
Omar-Avelar said:
Oh, I didn't compile specifically for VS995 so it will have static on boot. Since these two are mostly the same devices I might give u a VS995 Kernel next week with that static gone.
Click to expand...
Click to collapse
That sounds great! I'll look forward to it! But I'm about 12-14hrs in the kernel now, and so far so good! With normal usage.
Have updated Kernel to 1.1.0 version with two minor changes that improve the performance by quite a big. Figured out the OP3 and the Marlin Kernel was using 300 Hz tick timers. But for some reason our Kernel was only using 100 Hz tick's. So two changes in this version.
1. Enable high-res timers for schedulercks
2. arm64: hz: make it configurable
Click to expand...
Click to collapse
Plus I have decided to go on and change the perfd binary again. I was not aware how much of impact this has to EAS and the fluidity, since with EAS the input freq boost in the Kernel is now gone. You can read more about it here : https://github.com/EAS-Project/android_device_voxpopuli in the README.md. I am not yet using 100% of the capabilities of Vox Populi Power HAL but a lot of features from it turned off for now.
NippleSauce said:
Great to have someone finally building an AOSP kernel!
Any chance you'll be compiling for the H918 sometime in the future? No worries if you aren't. I'm just curious =p
Click to expand...
Click to collapse
Most likely yes, but after I polish a few features and once I am 100% happy with the performance
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
x86cpu said:
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
Click to expand...
Click to collapse
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Omar-Avelar said:
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Click to expand...
Click to collapse
I only tried the latest one. I did not try without Magisk though or the older version, the all 3 reference was all 3 files you had. gamma/vox/thermal.
I noticed in your thermal, that the camera files are the same as Lineage, so you could take those out. I also took out the mixer one as I bumped those VOL up as it was hard to hear on calls without it. If you do find any adjustments that the op3 or marlin did, we might be able to get those into the Lineage msm8996 kernel. Ideally, the commits from op3 in the Lineage tree, then I can cherry pick it to preserve history. I'm all for getting things into Lineage where we can.
Omar-Avelar said:
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Click to expand...
Click to collapse
I flashed with Magisk, on the first version, and everything is going fine for me
nightra88 said:
I flashed with Magisk, on the first version, and everything is going fine for me
Click to expand...
Click to collapse
Thanks man, let me re-upload the 2nd version just in case then and will verify the MD5 hash...
Omar-Avelar said:
Thanks man, let me re-upload the 2nd version just in case then and will verify the MD5 hash...
Click to expand...
Click to collapse
No problem! Glad to help.
x86cpu said:
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
Click to expand...
Click to collapse
So I got home to try just in case @x86cpu and I was able to flash Magisk-v14.5(1456).zip after all of the 3 files had been flashed on my system and it booted fine.... so I've re-uploaded the Kernel as v1.1.1 in the downloads section just in case...
Wiped /system (as I had su from LineageOS flashed before)
Flashed system with lineage-us996-*.zip
Flashed OpenGapps
Flashed perfd update (2nd of my zips)
Flashed the 'hotfixes' (3rd of my zips)
Flashed gamma-kernel (1st zip)
Flashed Magisk-v14.5(1456).zip
Hit reboot
If you can let me know if the v1.1.1 version works on your side then I can blame the bad upload. If not I can do more experiments to see if there is some other condition that depends on the order of flashing with my AnyKernel approach... and then I can try and replicate and fix it , please do let me know...
UPDATE: I am able to hit the failure now @x86cpu... let me see if AnyKernel needs any update or something to allow to re-install the Kernel if Magisk is already pre-installed. In order to hit it I had to:
Wiped /system (as I had su from LineageOS flashed before)
Flashed system with lineage-us996-*.zip
Flashed OpenGapps
Flashed perfd update (2nd of my zips)
Flashed the 'hotfixes' (3rd of my zips)
Flashed Magisk-v14.5(1456).zip
Flashed gamma-kernel (1st zip)
Hit reboot
Essentially flashing the Kernel last... which might be a common thing that could happen, let me polish that up...
I've uploaded flashable-us996-gamma-kernel-v1.2.0.zip now with an updated AnyKernel script that seems to now be working even with Magisk installed previously. Thanks to @x86cpu for reporting this bug.
U
Omar-Avelar said:
So I got home to try just in case @x86cpu and I was able to flash Magisk-v14.5(1456).zip after all of the 3 files had been flashed on my system and it booted fine.... so I've re-uploaded the Kernel as v1.1.1 in the downloads section just in case...
Wiped /system (as I had su from LineageOS flashed before)
Flashed OpenGapps
Flashed the 'hotfixes' (3rd of my zips)
Flashed Magisk-v14.5(1456).zip
Wiped /system (as I had su from LineageOS flashed before)
Flashed OpenGapps
Flashed the 'hotfixes' (3rd of my zips)
Flashed gamma-kernel (1st zip)
Hit reboot
Essentially flashing the Kernel last... which might be a common thing that could happen, let me polish that up...
Click to expand...
Click to collapse
I just installed the v1.1.1 before the fix. So. In other words before I saw this update, I just flashed it with no wiping, Desolation rom, and it booted fine, it's just now, in Magisk I can't pass cts or basic integrity. I'll try your updated method and see if that fixes the problem.
Edit: did the above steps, minus wiping twice and flashing the hot fixes twice. Rebooted it. And now I can successfully pass safetynet on the latest gamma kernel!
Edit#2: false hope, my apologies, safetynet apparently isn't passed.
Edit#3: okay. I had a blonde moment. I forgot to wipe my dalvik. It passes now.
What do the HAL's do? And what order should I flash the zips?
Obamaloominaty said:
What do the HAL's do? And what order should I flash the zips?
Click to expand...
Click to collapse
The order doesn't matter as they are independent. And I would suggest you read about the EAS perfd HAL in here : README.md
However keep in mind that I haven't implemented all of the VoxPopuli features from the HAL in the AnyKernel as it needs some SELInux permissions updates (which I can do later on). But without all of those enhancements it will behave like the Pixel HAL.

[EOL][OP5T][ROM+KERNEL] Unofficial LineageOS 14.1 with custom kernel [May 14, 2018]

Code:
/*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
This is an unofficial LineageOS 14.1 ROM for the OnePlus 5T. This ROM comes with a highly-customized kernel, as well as some other very custom modifications.
Custom kernels are not compatible with this ROM. I will NOT provide support if you install a custom kernel.
Changelogs for each update can be found in the 2nd post of this thread.
ROM features:
Based off latest LineageOS 14.1 sources (root access is NOT included)
OTA updates via built-in updater in Settings
Fast fingerprint unlock
sRGB, DCI-P3, and various other display color calibration modes and controls
Custom camera app featuring:
-Manual shutter speed control (1/5000th of a second up to 50 seconds)
-Manual ISO control
-Video HDR mode
-Antibanding control
-Exposure control
-Denoise control
-Face detection
-HDR
-Many other manual controls
Many other misc. performance and stability improvements under the hood
Kernel features:
Rebuilt from the ground up using the latest Nougat Snapdragon 835 base from Qualcomm (CAF)
Removed lots of excessive bloat (improves security and performance)
Improved stability (several bugs not listed here have been fixed)
WireGuard, a next generation secure VPN tunnel (more info)
DASH charge
Passes SafetyNet bootloader unlock check
Dynamic CPU input boost driver I wrote myself (makes the phone feel smooth without destroying battery life)
Reduced display power consumption
Improved touchscreen processing latency
Improved audio jack detection
CPU underclocked to 1958 MHz by default (you can disable this; read the FAQ for more info)
Custom thermal control driver I wrote myself (features 9 thermal throttle steps; keeps the phone cool)
Westwood TCP congestion algorithm (enabled by default)
No placebo patches, features, or dangerous compiler "optimizations"
Many other misc. improvements not listed here
Source code:
Kernel (cm-14.1-sultan branch): https://github.com/sultanxda/android_kernel_oneplus_msm8998
Local manifest (contains the rest of the sources): https://github.com/sultanxda/android/blob/master/dumpling/cm-14.1/local_manifest.xml
Credits:
LineageOS and its contributors
CAF (aka Qualcomm)
zx2c4 (for WireGuard, providing project resources, working directly on development, and sending me stickers)
Open GApps
If your name should be here and it isn't, then make me use an iPhone 4s running iOS 9
Installation instructions (for first-time installation):
First, perform a backup of your existing setup, and then perform a clean install (wipe /data and /system; TWRP is recommended). Next, try flashing the ROM and see if it installs; if it installs without any issues then congratulations! Now just flash a Google apps package, Magisk if you want root access, and then reboot.
If you get an error when trying to install the ROM ("dumpling.verify_modem" error), then go to the Firmware link in the Downloads section and flash the firmware package. Once you flash the firmware zip file, you can install the ROM.
Installation instructions (for updating to a newer release):
If you are already running this ROM, then you can update to a newer version of the ROM via the built-in OTA updater or by simply dirty-flashing the new ROM build without wiping anything. HOWEVER, do NOT reinstall Google Apps after installing a new update.
Downloads:
Firmware: https://www.androidfilehost.com/?fid=818070582850490442
ROM:
Please read through the installation instructions before installing this for the first time.
Mirror 1: https://github.com/sultanxda/androi...-14.1-20180514-UNOFFICIAL-Sultan-dumpling.zip
Mirror 2: https://www.androidfilehost.com/?w=files&flid=246659&sort_by=date&sort_dir=DESC
Google Apps (required): Platform: "ARM64", Android: "7.1", Variant: "micro" or "nano" (I will not provide support if you install a different variant)
Magisk (if you want root access): https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Disable CPU underclock (optional): https://forum.xda-developers.com/devdb/project/dl/?id=28437
XDA:DevDB Information
LineageOS 14.1 with custom kernel, ROM for the OnePlus 5T
Contributors
Sultanxda, zx2c4
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 4.x
Based On: LineageOS
Version Information
Status: Beta
Created 2018-02-05
Last Updated 2018-05-23
Changelog:
May 14, 2018:
ROM:
*Latest upstream LineageOS changes
Old changelogs:
March 28, 2018:
ROM:
*Latest upstream LineageOS changes
*Attempted to fix broken NFC when downgrading from Oreo
Kernel:
*Fixed previous build's attempt to reduce kernel power consumption (previous build didn't improve battery life; this build does)
March 21, 2018:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Fixed time service crashing nonstop (this also caused high battery drain)
*Slightly reduced kernel power consumption (most of the kernel runs on a single, low-power CPU core now)
March 17, 2018:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Updated to CAF LA.UM.5.8.r1-03300-8x98.0
*Rewrote alert slider driver (slightly improves alert slider responsiveness and fixes the alert slider mode not getting reapplied after a reboot)
*Fixed kernel wakelock statistics not showing up in apps like BetterBatteryStats and Wakelock Detector
March 11, 2018:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Reverted to old battery driver (fixes battery percentage issues)
*Fixed battery not charging with some chargers or a computer's USB port
February 20, 2018:
ROM:
*Latest upstream LineageOS changes
Kernel:
*Fixed DASH charge issues introduced in the previous build
*Fixed incorrect battery percentage being reported in recovery
February 19, 2018:
ROM:
*Latest upstream LineageOS changes
*Camera: Fixed camera preview freeze when taking pictures with a manual ISO
*Added more volume steps for handset volume and media volume
*(from zx2c4) Camera shutter sounds are no longer forced in countries that require them
*(from zx2c4) Fixed missing 5 GHz WiFi hotspot option for some users
Kernel:
*Updated to CAF LA.UM.5.7.r1-11800-8x98.0
*Fixed USB tethering
*Fixed touchscreen gestures not working sometimes
*Rewrote battery driver for more accurate battery readings
February 5, 2018:
ROM:
*Initial release
Kernel:
*Initial release
FAQ:
1. Why did you underclock the CPU?
Answer: At the underclocked frequency, the amount of heat generated by the CPU is quite a bit less, so the CPU is throttled less often (leading to a better user experience), and battery life is better as well. The performance difference while underclocked is also not really noticeable unless you use a benchmark application.
@SynisterWolf (or any other mod) Could you please delete the other two threads? XDA is acting derpy right now, and it looks like two extra threads got created :/
These are the other two threads: https://forum.xda-developers.com/on...p5t-unofficial-lineageos-14-1-custom-t3745018
https://forum.xda-developers.com/on...p5t-unofficial-lineageos-14-1-custom-t3745017
Great to see you Sultan :good:
Welcome. :fingers-crossed::fingers-crossed::fingers-crossed:
is it encrypted or decrypted?
Robustuck said:
is it encrypted or decrypted?
Click to expand...
Click to collapse
Installation instructions do not say format data....
thx ,any known bugs?
Will try ASAP and report. Great to see you here...
@Sultanxda I guess you will build 15x only when it is stable
seems nfc doesn't work .
hmmzzz said:
thx ,any known bugs?
Click to expand...
Click to collapse
Not really. More or less everything should be pretty solid.
hmmzzz said:
seems nfc doesn't work .
Click to expand...
Click to collapse
Works fine for me. I can use Android Beam to transfer stuff between devices.
shafi31 said:
@Sultanxda I guess you will build 15x only when it is stable
Click to expand...
Click to collapse
And when I have a lot of free time
Oops I follow the instruction but I got forever bootanimation.
(I remember I had face this isssue with Mokee 7.1.2 ROM too.)
I never got this issue with 8.0+ ROMs. :fingers-crossed::fingers-crossed::fingers-crossed:
don't know why clean flash many times but nfc still wouldn't work.
hmmzzz said:
don't know why clean flash many times but nfc still wouldn't work.
Click to expand...
Click to collapse
Firmware u use?
Gapps?
Any Custom kernel?
shafi31 said:
Firmware u use?
Gapps?
Any Custom kernel?
Click to expand...
Click to collapse
use the firmware in the post
Clean flash
no gapps.
magisk installed
@Sultanxda but for oneplus 5 do not plan?
Is this rom unified with oneplus 5 ?
Anyone else get the following error? "This is for dumpling, your device is OnePlus 5T"

[Kernel][9.0] Argon kernel v16.1

Argon kernel, for Android 8.1 & 9.0 ROM's (bacon).
Disclaimer:
use this kernel at your own risk. Flashing it without any knowledge of what you're doing may brick your device. I'm not responsible for any software/hardware damage.
Argon v11 is the last version for Oreo! Starting from v12 only Pie is supported.
Changelog:
v16.1 (August 11th)
support for OTG Y cables
minor bug fixes and security patches
Previous releases:
v16 (August 2nd)
kernel code base synced with LineageOS
lots of misc. bug fixes and small improvements
sdfat driver now replaces both vfat and exfat
some f2fs backports
v14 (April 24th)
built with the newest GCC toolchain for ARM
dynamic management of dirty page writebacks
some useless drivers have been removed (this might give us a few additional MB's of RAM)
a couple of improvements for the random number generator driver
IRQ threading is enabled by default (as suggested by Con Kolivas)
v13 (March 31st)
memory bandwidth overclock
lots of small updates and improvements (mainly for the assembly memory routines)
a few updates for the impulse CPU governor
new TCP congestion control algorithm: 'ascarex'
v12 (March 10th)
official Pie support (LineageOS 16 & Lineage-based ROMs)
small bug fixes and misc. tweaks
a few updates for the "impulse" CPU gov
memory management backports from Linux 3.8
lighter kernel (some debugging options have been turned off)
v11 (January 27th)
built with the newest ARM toolchain
power-efficient workqueues have been implemented in a couple of places
minor source updates & fixes
DDR bandwidth boost has been fixed
important updates for Sultan's CPU boost driver
v10.2 (January 19th)
synced with our LineageOS kernel (mainly bug fixes and security patches)
v10.1 (January 12th)
some source updates and bug fixes
v10 (December 29th)
built with the latest GCC 8 toolchain by Arm
some debugging options are disabled (this might slightly improve performance)
lots of small bug fixes and source updates
v9 (December 11th)
zzmoove governor updated to the latest version
boosted L2 cache frequencies
Spectrum support
Sultanxda's simple thermal driver (replaces Intellithermal)
miscellaneous kernel updates, backports and fixes
dynamic fsync has been (temporarily?) removed
v8.1 (November 23rd)
lots of kernel source updates & fixes
exFAT/sdFAT support
new CPU governors: intellimm, yankactive, zzmoove and impulse
dynamix fsync (disabled by default)
v8 (November 4th) - diff against v6:
built with GCC 8
old charging drivers (these are stable and work properly for everybody)
several improvements for the audio drivers, the memory management libraries, the CPU boosting driver, f2fs, zram, etc.
latest sdcardfs fixes from Google
Intellithermal (with configurable throttling threshold)
latest security fixes
CPU overclocking (disabled by default)
updated bricked hotplug
UKSM with automatic toggling (wip, it's not fully working as of now)
async fsync for ext4 and f2fs
v7.7 (October 23rd)
rebased on top of v7 + all the extra changes of v7.6
msm_hotplug removed (bricked is the default hotplug)
v7.6 (October 23rd)
completely rebased on top of Argon v6.1 (which seems to be the latest stable release) + the following changes
built with GCC 8.2
MSM hotplug enabled by default
cpu_input_boost improvements
latest sdcardfs updates
several other security fixes and improvements
v7.1, v7.2, v7.3, v7.4, v7.5 (October 10th - 11th - 15th - 16th - 17th)
stability fixes
v7 (October 9th)
msm_hotplug replaces bricked as the default hotplug
optimizations for msm8974 boards
older charging drivers from LineageOS 14.1 (they seem to fix all charging problems)
some more minor tweaks, fixes and optimizations
v6.1 (September 30th)
mpdecision is replaced by bricked hotplug by default
v6 (September 27th)
stability fixes
AIO optimizations reverted (this fixes filesystem errors for ext4 users)
slimbus overclock
several improvements and updates (for the ext4 fs, the LMK and many other drivers)
charging current interface
cpu_input_boost by Sultanxda (it replaces CAF's cpu_boost)
v5 (September 19th)
zram is supported
AIO optimizations & backports
minor tweaks and updates
v4 (September 15th)
Per-process reclaim
minor updates and improvements (including security fixes)
v3 (September 8th)
DDR bandwidth boost on screen unlock
misc. kernel updates, fixes and improvements
v2 (August 31st)
several secuirty fixes and kernel source updates
f2fs driver updates
new CPU hotplug: bricked hotplug
power-efficient workqueues are implemented in more drivers
v1 (August 24th)
based on idprophecy's kernel, thus it should be compatible with any Oreo ROM
built using QUVNTNM-TC, based on GCC 7.3.x
CPU underclocking (268,8 MHz)
several compiler optimizations enabled
sound contol by franciscofranco
lots of miscellaneous fixes and improvements
sysfs interface for Gentle Fair Sleepers and Arch power
power-efficient workqueues
Downloads
Latest version: here.
Argon kernel on MEGA
Argon kernel on AndroidFileHost
Thanks to:
@idprophecy
@dorimanx
@faux123
@Sultanxda
@CertifiedBlyndGuy
@osm0sis
@franciscofranco
@GalaticStryder
@nikhil18
the LineageOS team
and all the other authors of the hundreds of commits in Argon's github repo!
XDA:DevDB Information
Argon kernel for Oneplus One, Kernel for the OnePlus One
Contributors
Tomoms
Source Code: https://github.com/Tomoms/argon_kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 16.1
Stable Release Date: 2019-08-11
Created 2018-08-24
Last Updated 2019-08-11
Reserved
How to set up the charging speed interface in Kernel Adiutor?
First thing, download the attached zip and decompress it. You'll find two .json files in it, place them in your internal storage and open KA. Go in the "Custom controls" tab, tap on the "+" button, choose "Import" and select the first of the files you downloaded, then import the second one too. Done! You can now delete the two files.
Keep in mind that the "0" value means that the standard charging logic will be used, and that the AC charging speed cannot be set to a value lower than 200 mAh, even though the slider allows you to set any value. If you set any value between 1 and 199, the driver will fallback to 200.
working fine with AEX 5.7.
is it compatible with oxygen os blobs or sultan blobs?
Running well for me on AEX 5.7.
antfior93 said:
is it compatible with oxygen os blobs or sultan blobs?
Click to expand...
Click to collapse
Starting from Oreo, all ROMs implement Sultan's camera, thus this kernel only supports Sultan's camera HAL.
New version is available
It's an important updates that brings lots of improvements (mainly "under the hood"), for more info I suggest you to check my Github repo!
Really nice work. Don't want to sound rude or something but is there a chance of getting a Pie build? ?
rolarocka said:
Really nice work. Don't want to sound rude or something but is there a chance of getting a Pie build?
Click to expand...
Click to collapse
Most probably, this kernel already works on Pie
You just need to flash it, then flash the Kernel Permissive Patcher (link - needed to set SELinux to Permissive before booting the OS) and you should be good to go. If you try, let me know the result!
What is the stock setting this kernel comes in? I want to try it but don't want to use root (for now). So I'm wondering what settings are default. Would kinda make this a flash and forget kinda kernel
twowheeler said:
What is the stock setting this kernel comes in? I want to try it but don't want to use root (for now). So I'm wondering what settings are default. Would kinda make this a flash and forget kinda kernel
Click to expand...
Click to collapse
The stock settings are kind of good. Not the best you could get, but close (I'll tweak the default configuration a little more in the future). If you're using idprophecy's ROM you will end up having maple as the default I/O scheduler, while if you're using other ROMs, I'm pretty sure you won't. Anyway, if you flash this kernel, I'm sure you'll benefit from the general improvements I implemented, which do not need any tweak to be enabled.
Works well on following ROMs;
-AOSiP 20180825( Argon v1 )
-TugaPower O25 ( Argon v2 )
Hi i installed it over AEX 5.7 . it works but charging is buggy. Keeps disconnecting and connecting .
tamboli007 said:
Hi i installed it over AEX 5.7 . it works but charging is buggy. Keeps disconnecting and connecting .
Click to expand...
Click to collapse
I have the same thing on all ROMs based on the LOS core. And this kernel is based, as I understand it, on the LOS core ... For example, with FranoKernel there are no such problems.
tamboli007 said:
Hi i installed it over AEX 5.7 . it works but charging is buggy. Keeps disconnecting and connecting .
Click to expand...
Click to collapse
MrYuraB said:
I have the same thing on all ROMs based on the LOS core. And this kernel is based, as I understand it, on the LOS core ... For example, with FranoKernel there are no such problems.
Click to expand...
Click to collapse
I experience the same issue when using a certain non-original (yet good-quality) cable. The weird thing is that if I charge the phone while it's turned off, it charges perfectly. Anyway, I can try to fix this issue. It shouldn't be difficult. I'll keep you informed.
Good to see you're still contributing for Bacon.
Tomoms said:
I experience the same issue when using a certain non-original (yet good-quality) cable. The weird thing is that if I charge the phone while it's turned off, it charges perfectly. Anyway, I can try to fix this issue. It shouldn't be difficult. I'll keep you informed.
Click to expand...
Click to collapse
Yesterday I tried to send you message, but it is why it is not sent... I agree
I've uploaded a new kernel!
Argon v3 is a small yet important update: it brings DDR bandwidth boost on screen unlock (basically, the RAM bandwidth is boosted when you unlock your phone so that opening an app immediately after waking the device from idle takes less time) and some general fixes & improvements for the kernel. More details are available on Github, as usual
Tomoms said:
I've uploaded a new kernel!
Argon v3 is a small yet important update: it brings DDR bandwidth boost on screen unlock (basically, the RAM bandwidth is boosted when you unlock your phone so that opening an app immediately after waking the device from idle takes less time) and some general fixes & improvements for the kernel. More details are available on Github, as usual
Click to expand...
Click to collapse
I've been loving the Kernel on AEX 5.7, but I've needed to reboot a few times because the screen won't turn on, or the screen has frozen.
Do you think that could be from the default underclock?
@Ruggerxpunk Same issue on my side since V2 version, but I don't have any logs cause I'm not using it at this moment.

Categories

Resources