[Kernel][lux] Squid Kernel for Moto X Play - X Play Original Android Development

This is a port of my "Squid Kernel" to the Moto X Play. It is based off the Motorola stock kernel and includes updates from CodeAurora and Kernel.org, along with my original work and cherry picks from other sources.
Disclaimer:
This kernel is for the Moto X Play (lux) only! Don't flash it on surnia, osprey, otus, or any other device. This kernel is provided AS-IS, with no warranties. I am not responsible for bricking your device. Flash at your own risk. Versions r22 and up are only intended for Nougat ROMS!
Features:
LED notification support
Moderately undervolted
Slightly overclocked
Updated to Linux 3.10.108
Synced with latest CodeAurora changes
Improved memory management
Improved VMA caching backported from Linux 3.15
Optimized ARM crypto routines
Updated f2fs and WiFi drivers
FIOPS and BFQ I/O schedulers
Lionfish CPU governor
ClusterPlug big.LITTLE hotplug (designed for MSM8939)
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
- Restored aggressive BCL for deteriorated lux batteries
- Tonnes of security patches
- Updated binder
- Compiled with Linaro GCC 7.3.1
r22c: January 14, 2018
- Fix lux speakerphone on modern ROMs
r22b: January 13, 2018
- Audio driver fixes
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
r16e: April 10, 2016
- Lower BCL threshold voltage
- Updated zRAM from Linux 4.4
r16d: April 8, 2016
- Vibration intensity control
- Updated f2fs from Linux 4.6
- Patches for CM13 compatibility
- ClusterPlug bug fix
- Built with Linaro GCC 5.3
r16b: April 6, 2016
- ClusterPlug 2
- Security fixes
- Changes for CM13 compatibility
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
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 speakerphone mic
- Fixed low/poor call audio
- Security fix for CVE-2016-0728
r14: January 16, 2015
- Partial update to CAF LA.BR.1.2.7_rb1.1
- More than a dozen CAF security fixes
- Slightly smoother performance
r13b: January 14, 2016
- Security and bug fixes from Linux 3.12.52
r13: January 14, 2016
- Updated to Motorola Marshmallow sources
- Should work on Marshmallow Stock ROM
- Miscellaneous fixes
- Animations seem smoother on CM13 now
- Compiled with Linaro GCC 5.2
r12: December 20, 2015
- CM13 ONLY!!!
- Updated zRAM
- Optimized memory caching, allocation, and management
- Optimized scheduler
- Optimized performance event tracking
- Updated camera driver for new CM13 build
r11f: December 17, 2015
- Updated to Linux 3.10.94
- Updated to LA.BR.1.1.3_rb1.41
- WiFi is a kernel module
- FOR CM13 ONLY!!!
r11e: December 1, 2015
- Fixed some cpufreq races
- ClusterPlug disabled by default on stock ROM
- Minor bug fixes
r11d: November 15, 2015
- Improved Lionfish load calculation
r11c: November 14, 2015
- Disabled the kernel interface for Qualcomm perfd
r11b: November 14, 2015
- Made ClusterPlug more tolerant of PowerHAL/perfd
r11: November 14, 2015
- Added my new ClusterPlug CPU hotplug
- Enabled my Lionfish CPU governor
r10g: November 11, 2015
- Patched Pronto CR-930533 vulnerability
- Fixed possible use-after-free in zRAM
- Updated to Linux 3.10.93
r10f: November 9, 2015
- Updated to Moto Maxx 2 Kernel
r10e: October 31, 2015:
- Security and stability improvements
- Updated to Linux 3.10.92
- Updated to CAF LA.BR.1.1.3_rb1.36
- MDSS brought closer to CAF
- Compiled with Linaro GCC 5.1 snapshot
r10d: October 26, 2015
- Fixed r10c SELinux regression on stock ROM
r10c: October 24, 2015
- Fixed encryption support
- 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
- Fixed reboot to recovery
r9d: October 1, 2015
- Fixed screen glitches
r9c: September 30, 2015
- Updated to proper kernel sources
- Updated to Linux 3.10.89
- Updated to LA.BR.1.1.3_rb1.32
- Small tweaks and optimizations
r8b: September 18, 2015
- Fixed Moto Voice
- Updated to Linux 3.10.88
r8: September 13, 2015
- Initial release for lux
Downloads:
Main downloads tab
Flashing Instructions:
Flash the zip with TWRP. I recommend making a nandroid backup before flashing. This kernel will work on both the stock ROM and custom ROMs that have WiFi configured as a kernel module.
XDA:DevDB Information
Squid Kernel for Moto X Play, Kernel for the Moto X Play
Contributors
squid2
Source Code: https://github.com/sultanqasim/android_kernel_motorola_msm8916
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r23
Stable Release Date: 2018-08-15
Created 2015-09-13
Last Updated 2018-08-15

Initial Build Up
The first ever custom kernel for the Moto X Play is now available!
The kernel includes everything mentioned above. It includes notification LED support, and the notification LED will start working on the stock ROM after flashing this kernel. It does not include IntelliPlug or Lionfish, as they are incompatible with big.LITTLE systems in their present state.
I have tested the core functionality and everything appears to work. However, since this is a very early release, I would not be surprised if bugs exist. Please report any bugs or crashes you encounter.
Since everything appears to work in this kernel, we are all set for a CyanogenMod port. Tomorrow, I plan to start porting CM12.1 to this device. If you're lucky, you might be seeing a fully working CM build by tomorrow night.

Mate you freakin legend. That's some quick development support for our battery beast. I'm working too long hours to test this just now if I get chance on a break I'll get twrp installed etc my device is only rooted so far.
Noticed you brought cm12 to osprey as well. Do you have a donations link as I'd like to donate a little when I get paid just as a thank you.
Sent from my XT1562 using Tapatalk

So far haven't noticed any performance improvements (still fresh) but I am LOVING this notification light!!! I can finally at a quick glance tell if it's worth reaching for my phone. And at night, I know where it is. You're awesome! Definitely need a donate link ..

Firstly thanks for working on the X Play. Installed fine but Moto Voice now not working? Cannot switch on in Moto app, was fine prior to flashing this kernel?
Sent from my XT1562 using XDA Premium HD app

CharlesW123 said:
Firstly thanks for working on the X Play. Installed fine but Moto Voice now not working? Cannot switch on in Moto app, was fine prior to flashing this kernel?
Sent from my XT1562 using XDA Premium HD app
Click to expand...
Click to collapse
I just checked and can confirm that the kernel breaks audio input for Moto Voice. The microphone works fine everywhere else though. There is probably a small change Motorola made to the audio path for always listening audio between the osprey and lux kernels, or it might have been broken by a CodeAurora change. I'll do some more investigating when I get time.

Deep sleep issues, the device stay awake 2h now after flashing the kernel.

XMoDuLeSx said:
Deep sleep issues, the device stay awake 2h now after flashing the kernel.
Click to expand...
Click to collapse
Seeing that myself as well. Guessing something related to the Moto Voice glitch (mine Force Closes from time to time).

squid2 said:
...but vache's TWRP will probably work as well.
Click to expand...
Click to collapse
Nope, didn't work. I try it 3 times. TWRP says "successfully" after the zip flash but Android reboot with the original Kernel.
With your TWRP it is no problem.
The deep sleep issues: i have no, BUT i have disabled many Motorola apps with Titanium (Moto Voice too)
the kernel is going well
the system runs a little better and the CPU is clocked down faster which saves battery.
However, the read / write rates from the internal memory card have become worse. Have tested it with Androbench.
about 1000 iops fewer
I/O Scheduler: Fiops with 1024kb Read-Ahead
but that's not so bad
Thank you for your effort
if I may donate you a coffee / beer, tell me

Thank you, finally some led notifikation action
Skickat från min XT1562 via Tapatalk

squid2 said:
I just checked and can confirm that the kernel breaks audio input for Moto Voice. The microphone works fine everywhere else though. There is probably a small change Motorola made to the audio path for always listening audio between the osprey and lux kernels, or it might have been broken by a CodeAurora change. I'll do some more investigating when I get time.
Click to expand...
Click to collapse
Thanks, also to note have flashed back a stock boot.img file via fastboot and can't get on WiFi? The WiFi toggle goes straight back to off? So can either go back to stock and have working Moto Voice but no WiFi, or use your Kernel and have no Moto Voice I used the boot.img here: http://forum.xda-developers.com/moto-x-play/general/recovery-boot-img-t3191436 My phone is the same version as listed, XT1562 EU any ideas please?

CharlesW123 said:
Thanks, also to note have flashed back a stock boot.img file via fastboot and can't get on WiFi? The WiFi toggle goes straight back to off? So can either go back to stock and have working Moto Voice but no WiFi, or use your Kernel and have no Moto Voice I used the boot.img here: http://forum.xda-developers.com/moto-x-play/general/recovery-boot-img-t3191436 My phone is the same version as listed, XT1562 EU any ideas please?
Click to expand...
Click to collapse
That's because the WiFi kernel module must match the kernel. Had you taken a system backup prior to flashing my kernel? If so, restore it. Otherwise, reflash system and boot, and then re-root your device if you want.

XMoDuLeSx said:
Deep sleep issues, the device stay awake 2h now after flashing the kernel.
Click to expand...
Click to collapse
Devhux said:
Seeing that myself as well. Guessing something related to the Moto Voice glitch (mine Force Closes from time to time).
Click to expand...
Click to collapse
Did the two of you have Moto Voice set up before flashing the kernel? I'm not having any wakelock issues myself, but I had never set up Moto Voice. I'll try to reproduce the wakelock issue when I get time.

squid2 said:
Did the two of you have Moto Voice set up before flashing the kernel? I'm not having any wakelock issues myself, but I had never set up Moto Voice. I'll try to reproduce the wakelock issue when I get time.
Click to expand...
Click to collapse
I did. Maybe I'll load wakelock detector to confirm if Moto Voice is the culprit.

Will wait until Moto Voice bug is eliminated to install it.

Moto Voice Status
After some testing, I can confirm that nothing I did broke Moto Voice. I took the osprey stock kernel and added in a minimal set of patches to get it working on lux. Unfortunately, the Moto Voice issue was still present there. It doesn't make much sense to waste many hours trying to figure out what change is needed to fix Moto Voice when Motorola has already fixed the issue and will be releasing kernel sources soon. Thus, you'll probably have to wait for Motorola to release kernel sources for me to fix Moto Voice.

How long can we expect Motorola to make us wait for it. How timely have they been in the past. This is my first Motorola since the Moto Defy!
Sent from my XT1562 using Tapatalk

squid2 said:
That's because the WiFi kernel module must match the kernel. Had you taken a system backup prior to flashing my kernel? If so, restore it. Otherwise, reflash system and boot, and then re-root your device if you want.
Click to expand...
Click to collapse
Yes figured that and restored my boot and system from TWRP thanks, thought it best to mention in case anyone else wanted to revert back to stock Thanks for the quick feedback, will give your kernel a go again once it's all working.
Sent from my XT1562 using XDA Premium HD app

ephumuris said:
How long can we expect Motorola to make us wait for it. How timely have they been in the past. This is my first Motorola since the Moto Defy!
Sent from my XT1562 using Tapatalk
Click to expand...
Click to collapse
Hey man, remember to not ask for ETA on XDA. As a Moto Play user, I know exactly your feelings about this first kernel [emoji106]
PS: Motorola hasn't take long about releasing it's sources.
Cheers
Moto X Play nice

leonardoroza said:
Hey man, remember to not ask for ETA on XDA. As a Moto Play user, I know exactly your feelings about this first kernel [emoji106]
PS: Motorola hasn't take long about releasing it's sources.
Cheers
Moto X Play nice
Click to expand...
Click to collapse
This one's different lol. Not asking a dev, but rather how long the OEM takes to release on average.
I play nice!! Sometimes ... Lol

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

[ROM][7.1.2_r33] AOSPlusone 7.1 [SultanXDA's Camera HAL][OMS] | 25/08/17

Code:
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
Hi everyone, freshgiammi here. Some of you may know me from my previous work on maguro (Galaxy Nexus), while some others may not. Here I am, presenting you an AOSP build of Nougat for our Oneplus One.
What does it differ from other ROMs?
Simple. It's philosophy is staying close to stock. Even closer that OmniROM. Closer to AOSP than AOSP itself.
Jokes apart, AOSP is the true philosophy, with a few tweaks to make it feel snappier but not too much intrusive changes.
HOW STABLE IT IS
Rock steady.
This ROM is designed with two things in mind: Security and Stability.
Everything is tested for multiple days (both from me, and from private testers) to be sure nothing lets the final user with instabilities. This makes the ROM stable and reliable, not making it go into full retard when you need it most.
And since this is AOSP based, with an AOSP philosophy in mind, remember that any feature that is not included in the official source code won't be added.
Beware. Since we have no N official builds, issues are to be expected. Devs are working hard to fix them as they get spotted, but some bugs only appear to certain users or under certain conditions. Because of that, if you encounter an issue please let me know.
Tag me in a reply, attaching a logcat/dmesg (last_kmsg if your phone reboots) with the steps to replicate and a short description of the problem. That way I can fix it faster.
WHAT DOES THIS ROM OFFERS, MORE THAN AOSP?
Well, there's some neat stuff aside from AOSP that's included here.
-SultanXDA's Camera HAL with Stagefright Hardening
-Night Light and Storage Manager (from Google Pixel)
-SELinux Enforcing
-F2FS Support (beware, you need to format to F2FS with TWRP 2.8.6.0 as 3.0.2.0 has issues with F2FS formatting.)
-Substratum is available! Go theme your device as you like it!
More? You tell me!
DOWNLOADS
Lastest Build: AOSPlusone_bacon_250817 FINAL RELEASE
Gapps: OpenGapps
Sources up at my Github!
Feel free to clone and create your own rom. Just make sure to prevent authorship and pull requests if you fix something!
Changelog is on #2, while FAQs and extra ZIPs are on #3!
XDA:DevDB Information
AOSPlusone, ROM for the OnePlus One
Contributors
freshgiammi
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: AOSP
Version Information
Status: Testing
Created 2016-10-11
Last Updated 2017-08-25
Reserved. (CHANGELOG)
14 Jun. 2017 -> 25 Aug. 2017
Code:
[B]ROM: Updated to 7.1.2_r33[/B]
HAL: Upstreamed code to match Sultanxda's sources
+ Something that I don't remember but hey everything works well
21 Mar. 2017 -> 14 Jun. 2017
Code:
[B]ROM: Updated to 7.1.2_r11[/B]
ROM: Updated Substratum and Interfacer to lastest versions
[B]Kernel: Updated to 3.4.113[/B]
Kernel: Updated to match lastest kernel/common source from Android (3.4 is now deprecated)
Kernel: Upstream patches from LOS-14.1
[B]Kernel: Camera-drivers fixups from CAF[/B]
[B]HAL: Upstreamed code to improve stability
HAL: Fixed overexposure when taking picture with in good lightning conditions.
HAL: Fixed zooming in/out during video recording on Instagram/Snapchat[/B]
HAL: Merged patches from SultanXDA
[B]Vendor: Updated WDM libraries to match bullhead 7.1.1 ones[/B]
Vendor: Shimmed GraphicBuffer for camera libraries
[B]Snap: Merged upstream patches from LOS-14.1[/B]
Snap: Removed touch-to-screenshot during video recording
Snap: Fixed ZSL not re-enabling after disabling HDR
Snap: Added back 1440p resolution for videos
Previous Changelogs:
05 Feb. 2017 -> 21 Mar. 2017
Code:
[B]ROM: Updated to 7.1.1_r28[/B]
[B]ROM: Fixed Torch QS not working between reboots[/B]
[B]ROM: Substratum is now rootless[/B]
ROM: Substratum App is now bundled within the ROM
[B]HAL: Merged lastest patches from SultanXDA[/B]
[B]HAL: Moved nativehandle logic from CameraServer to HAL[/B]
Snap: Rebased Snap on CM14.1 sources
22 Jan. 2017 -> 05 Feb. 2017
Code:
[B][B]ROM[/B]: enabled F2FS support[/B]
ROM: Removed leftovers from Camera2
ROM: Re-enabled textiles check (Textiles are not globally allowed anymore)
[B]ROM: Enabled backuptool (thanks to @mandaman2k)
ROM: Fixed ringtone and notifications not being set (thanks to @medic)[/B]
ROM: Fixed qti.tetherservice crashing at startup
[B]ROM: Merged some security patches on hardware/qcom/media-caf[/B]
[B]Kernel: Fixed fast-charging not working for some users[/B]
Kernel: Fixed MPDecision not turning off cores 2 and 3
[B]Kernel: Restored CONFIG_MACH_OPPO;.[/B] (This will probably make kernel more stable,
but can cause instabilities. Please report any reboots.)
[B]Kernel: Fixed NULLPointer (kernel panic) when watching WEBM videos or using Google Fit.[/B]
Kernel: Merged the latest patches from LOS
[B]Snap: Fixed crash when resuming a video paused during recording[/B]
Snap/CameraHAL: Merged lastest patches from Sultanxda.
16 Jan. 2017 -> 22 Jan. 2017
Code:
[B]Adapted Camera HAL to work with the new stagefright hardening![/B]
[B]SELinux is now enforcing![/B]
[B]*maybe*[/B] Fixed HW Encryption (Need confirms)
[B]Fixed most of HFR/HSR;[/B] Everything works besides [email protected] and [email protected]
[B]Fixed Ambient Display
Fixed audio misbehaving with AUX cords (>3 pins jack)[/B]
11 Jan. 2017 -> 16 Jan. 2017
Code:
[B]Replaced Camera2 with Snap: Enjoy all the functionalities of Sultan’s HAL![/B]
[B]Fixed HSR; Slow-Mo isn’t working yet.[/B]
Updated Camera Capabilities for a better HAL compatibility and features
[B]Updated Display-CAF with newer commits to fix the Split Screen issue[/B]
Fine tuned RT Scheduler priorities
[B]Enabled prefhint: (Layers are rendered faster now, resulting in a smoother experience)[/B]
Enabled “Moves” in Settings
[B]Fixed Face Unlock (Trusted Face)[/B]
09 Jan. 2017 -> 11 Jan. 2017
Code:
Changed kernel name for conformity (from -cyanogenmod to -bacon)
[B]Fixed USB tethering not working[/B]
Replaced Launcher2 with Launcher3 (Materialized version)
25 Nov. 2016 -> 09 Jan. 2017
Code:
Updated to 7.1.1_r13 (5 Jan. Security Patchset)
[B]ADDED SULTANXDA’S CAMERA HAL! Enjoy that sweet camera optimization
Enabled HSR (High speed recording). Slow-mo doesn’t work yet.[/B]
Added back Substratum, with improved functionalities and customization.
Updated bionic libraries to load shims correctly
[B]Enabled Night Mode
Enabled Storage Manager[/B]
Under-the-hood device optimization
05 Nov. 2016 -> 25. Nov 2016
Code:
[B]Updated to 7.0.0_r21 (5 Nov. Security Patchset)[/B]
Removed Music app
Removed Browser2 (WebView Shell) app
[B]Added Chromium [/B]
Updated audio: AOSPlusone now uses Google Nexus’s audio files.
[B]ENABLED MULTIROM COMPATIBILITY[/B]
[B]Updated Adreno libs to LA.BF.1.1.3_rb1.12 (from Onyx)[/B]
Updated Kernel to match CM-14.1 sources
[B]Updated Substratum to OMS7 [/B]
Added reboot back to Power Menu
[B]Cleaned frameworks/av patchsets: restored some code from Nougat to improve security.[/B]
Enabled init.d/addon.d support
A bunch of other misc fixes
09 Oct. 2016 -> 05 Nov. 2016
Code:
[B]05 Nov. 2016[/B]
Added On-Screen NavBar and HW Keys customization (Settings -> Buttons)
Fixed vulnerability for Dirty COW exploit
Android 7.0.0_r14
Sync’d Kernel with CM14.1 sources
Fixed Bluetooth MAC
Enabled SystemUI tuner hidden options
Fixed Snapchat with on-screen buttons
Added Swipe Libs for AOSP Keyboard
Added Nexus/Pixel Bootanimation
Updated Adreno Blobs to lastest source (HTC M8 MRA58K Update)
Fixed Gapps F/C after first flashing
Added SuperSU to settings (You still need to flash it)
Updated Substratum
Reserved (FAQ)
Q: Plz add feature "X"
No. Just no. If it isn't in AOSP, it won't be added. Please stop asking. If you want themes there's substratum, for anything else XDA is full of mods and stuff. Just use the search button.
You can find more stuff in the "Themes and Apps" section.
Q: This thing is broken, please fix.
Please do not report bugs and issues this way. Attach to your message a log (dmesg or logcat, last_kmsg if it reboots) and if you can, the steps to replicate the issue. This way you help the dev track down bugs quicker.
Please don't report if you're on a different kernel or have mods installed.
Q: I've fixed stuff, how can I help?
Cool! Just submit a pull request on my repo or contact me via Hangouts.
Another Nougat rom, downloading right now, thanks!
Just a question: Is it compatible with multirom?
mustang_ssc said:
Another Nougat rom, downloading right now, thanks!
Just a question: Is it compatible with multirom?
Click to expand...
Click to collapse
Haven't tested yet, as I don't have MultiROM. But it should work just fine, if you apply the same modifications as the ones on Updateing's post.
Wow great concept! Everything I ever wanted from a ROM AOSP + Substratum. Nothing else
Hope you can enable SE-Linux soon
works theme ? some screenshots
Awesome! This is everything I wanted from a rom. Clean, with very minimal system level modifications.
beatbrot said:
Wow great concept! Everything I ever wanted from a ROM AOSP + Substratum. Nothing else
Hope you can enable SE-Linux soon
Click to expand...
Click to collapse
That'll take time, but we all hope to have that soon. I'm just not very good at writing SELinux policies haha
SirSoviet said:
Awesome! This is everything I wanted from a rom. Clean, with very minimal system level modifications.
Click to expand...
Click to collapse
I hope I can hit where OxygenOS didn't...
EDIT: Gah I forgot to add Substratum's App! But masquerade is installed, so you can get the app from the play store in the meanwhile, i'll make sure to add it in the next build.
Does this use AOSP's original camera blobs or Sultan's modified ones?
Spider-Vice said:
Does this use AOSP's original camera blobs or Sultan's modified ones?
Click to expand...
Click to collapse
CM. I've tried Sultan's, but I still need to work on his kernel.. A few incompatibilities.
Great!! Is it necessary a full wipe if I come from updateing's build?
capitanouncino said:
Great!! Is it necessary a full wipe if I come from updateing's build?
Click to expand...
Click to collapse
Shouldn't be needed, but I'd recommend a clean install. Make a backup first if you're going for a dirty flash.
And new Nougat for opo. I think this device is not gonna die for 2 years you guys are awesome. Thanks..
Any bugs encountered yet? Other than the issues stated in the OP
Sent from my OnePlus One using XDA Labs
C4SCA said:
Any bugs encountered yet? Other than the issues stated in the OP
Sent from my OnePlus One using XDA Labs
Click to expand...
Click to collapse
Currently setting it up..Pico TTS crashed once (and only once, so veeeerrry minor). I'll edit the post if i find more bugs
Edit 1: Whenever I tried to setup whatsapp without profile picture, it got into a endless loop. However, adding a picture and then removing it via settings worked just fine. (This is probably just a whatsapp-thing as I am also whatsapp-beta-tester)
beatbrot said:
Currently setting it up..Pico TTS crashed once (and only once, so veeeerrry minor). I'll edit the post if i find more bugs
Edit 1: Whenever I tried to setup whatsapp without profile picture, it got into a endless loop. However, adding a picture and then removing it via settings worked just fine. (This is probably just a whatsapp-thing as I am also whatsapp-beta-tester)
Click to expand...
Click to collapse
Pico TTS crashes on my side too. Gapps issue I guess.
WhatsApp works fine here. (Stable, not beta)
Shouldn't this be in android development?
rudolf895 said:
Shouldn't this be in android development?
Click to expand...
Click to collapse
+1
The GPS issue is solved then? Have been using the OPO as my primary driver, and it was near impossible to use ride hailing services and google maps with the last few builds.

[ROM][R][bacon] Unofficial, optimized LineageOS 18.1 - June 11th

In this thread I'll share with you my personal builds of LineageOS 18.1 for the Oneplus One codename: bacon (older builds of 17.1, 16 and 15.1 are still downloadable). This project is inspired by idprophecy's LineageOS builds, to which I want to add my favorite features and, possibly, even more optimizations and improvements.
MAIN FEATURES
LineageOS 18.1 features:
support for MicroG (signature spoofing) - read the 2nd post!
improved & updated libraries: sqlite, zlib, libpng, jemalloc, libvpx, libyuv, freetype
critical system components built with -O3 optimizations (art, SurfaceFlinger, bionic) and ThinLTO
built with Clang 12.0.x
optimized & updated bionic routines
Android RunTime (ART) updates and improvements
several debugging & tracing components are removed from the system
reduced priority of the USB connection type & USB debugging notifications
partial/full screenshot QS tile
Ambient display gestures
deGoogling tweaks (Kuketz/GrapheneOS captive portal URLs, Mulch WebView from DivestOS, pool.ntp.org NTP server, GrapheneOS SUPL server)
in-built F-Droid Privileged Extension
materialized Toasts
support for OTA updates
several minor tweaks and improvements
my custom kernel (features listed below)
Spoiler: Old info about 17.1
LineageOS 17.1 features - development stopped:
all C/C++ components are build with -O3/-g0 flags (maximum optimization, minimum useless debug info)
support for signature spoofing (= MicroG supported) - read the 2nd post!
in-built F-Droid Privileged Extension
native support for WakeBlock by @GioBozza, for more info: WakeBlock on XDA
several updates & improvements to internal components: skia & libjpeg-turbo (temporarily reverted), art, bionic, libpng, sqlite, zlib
several debugging & tracing instructions are removed from the system
custom Screenshot QS tile
deGoogling tweaks: non-Google captive portal server & SUPL server
support for OTA updates
minor miscellaneous tweaks
my custom kernel (features listed below)
Kernel features:
built with GCC 13
CPU underclocking (268 MHz) & max freq. limited to 1,9 GHz by default
several f2fs updates
power-efficient workqueues
cpu_input_boost by Sultanxda
bricked hotplug replaces mpdecision
CPU undervolting
maple I/O scheduler
updated zram and zsmalloc drivers
userspace LMKD replaces the old in-kernel Low Memory Killer driver
DDR bandwidth boost on screen wake
minor adjustments and tweaks
several code updates and security/bug fixes
BUGS
Also present in official LineageOS 18.1/17.1:
kernel panic when changing USB mode to "File transfer" - fixed in the 20200811 build & later official nightlies
notification/charging LED not working - fixed in the 20200811 build & later official nightlies
low in-call microphone if speakerphone is enabled - fixed in the 20200811 build
charging hiccups when using certain 3rd-party chargers/cables - fixed in the 20200912 build
AUX audio output not working - fixed in all builds (unofficial & official) newer than 20200826
wrong time on boot until connected to a network - fixed in the 20201110 build, and in official nightlies starting from 20201224
the Music app is quite messed up (bug is already reported on Gitlab) - fixed by the LineageOS team as of January 2021.
flaky GPS - fixed (or at least improved) in the 20201213 build & official 18.1 nightlies newer than 20210415
manual mobile network scan not working - fixed in the 17.1 20210123 build, also fixed on official LineageOS
NFC not working - fixed in the 20210419 build & later official nightlies
5 GHz hotspot is broken - but there's a workaround here
front camera often affected by overexposure - workaround: restart the app you're using until it's gone
low microphone volume during calls on speakerphone - completely fixed in 20220805 and in official nightlies starting from 20220804
stuttery playback of HD videos in some 3rd-party apps - fixed in the 20211106 build
weird noises while playing flac files if AudioFX's Bass option is enabled (17.1)
high framerate video recording is broken - workaround present in my builds, a proper fix will follow in official ones too some day (as soon as I figure it out)
Bugs that are specific to my builds:
encryption of f2fs-formatted /data partition is broken - fixed in the 20201028 build
corrupted thumbnails and weird visual artifacts in the system's color picker - fixed in the 20201028 build
libjpeg crashes in certain apps (NewPipe, Files, and others) - fixed in the 20201017 build
Telegram's (and, possibly, other apps') in-built camera not working - apparently fixed in the 20200811 build
WiFi issues affecting a minority of users - under investigation
encryption doesn't work - fixed in the 2022-01-13 build
some apps crashing due to permission quirks - fixed partially in the 2022-02-13 build, completely fixed in 2022-03-02
Changelog for LineageOS 18.1:
June 11th:
synced with LineageOS + June's security patches
improvements for the dark theme in Messages and Dialer
Changelog for older LineageOS 18.1 builds:
Spoiler: Changelogs for previous 18.1 builds
May 11th:
synced with LineageOS (incl. May's security patches)
workaround for Snap not being able to record high-framerate videos
disabled zram to check stability
April 15th:
synced with LineageOS + April's security patches
security improvements from ProtonAOSP (many Quick Settings tiles cannot be toggled if the screen is locked)
March 17th:
synced with LineageOS + March's security patches
updated Mulch WebView
updated some drawables (small system icons) from crDroid
improved GPS performance (still WIP, let me know your impressions)
more deGoogling: switched to pool.ntp.org as the NTP server and to GrapheneOS's SUPL server
February 16th:
synced with LineageOS + February's security patches
Mulch WebView replaces Chromium
connectivity checking endpoints changed to privacy-friendly, non-Google alternatives
kernel WiFi driver updates reverted
January 5th, 2023:
synced with LineageOS + January's security patches
WiFi driver updates in the kernel
December 10th - last 2022 build:
synced with LineageOS + December's patches
zram enabled (disksize = 1,5 GiB)
November 8th:
synced with LineageOS + November's security patches
Android Go changes reverted, since they cause issues
October 13th:
synced with LineageOS (incl. October's security patches)
kernel memory routines optimized for Cortex A15 CPUs
September 8th:
September's security patches
some configurations taken from Android Go, to reduce RAM usage but without sacrificing functionality
August 5th:
synced with LineageOS + August's security patches
all microphone/speakerphone issues are fixed also for 3rd party apps
July 23rd:
fixed low volume during calls in speakerphone mode
July 8th:
synced with LineageOS + July's security patches
security fixes in the kernel
kernel logging disabled by default, to reduce overhead
a couple of sepolicy fixes
June 16th:
synced with LineageOS, including June's security patches
materialized toast messages
May 6th:
synced with LineageOS
May's security patches
updated SQLite library
April 6th:
synced with LineageOS
April's security patches
link-time optimization applied to some critical system components
minor updates and tweaks to the core OS
March 10th:
synced with LineageOS
March's security patches
removed rx_wakelock from the WiFi chip's driver (could lead to small power savings without affecting functionality)
March 2nd:
ro.debuggable=0 by default (fixes root detectors reporting system as rooted when it is not)
fix for a permission bug that made apps misbehave when trying to access the phone's sensors
wallpaper zooming has been disabled
synced with LineageOS
February 13th:
synced with LineageOS
fix for apps crashing on startup due to mishandling of the INTERNET permission
a few kernel updates & fixes for an infrequent kernel panic
January 13th:
/data partition encryption is fixed
January 11th:
synced with LineageOS
January's security patches
kernel: debloated WiFi driver
December 12th:​
synced with LineageOS + December's security patches
general user interface improvements
build using the latest Clang 12.0.x compiler
minor fixes and updates here and there
November 6th:​
synced with LineageOS
November's security patches
fix for laggy playback of HD videos in 3rd-party apps
October 8th:​
synced with LineageOS + October's security patches
September 10th:​
screenshot QS tile now fixed
September 9th:​
synced with LineageOS
September's security patches
screenshot QuickSettings tile (first attempt, still broken - will fix it soon)
August 23rd:​
synced w/ LineageOS (incl. August's patches)
WiFi display is back (thanks to the Lineage team!)
sporadic camera crashes are fixed (thanks to Nolen, the other bacon maintainer!)
July 10th:​
synced with LineageOS + July's patches
DRM fixes (Clearkey support)
June 16th:​
GPS improvements (hopefully now it'll work fine!)
June 10th:​
synced with LineageOS (incl. June's security patches)
GPS fixes (work in progress)
some kernel updates and improvements
May 7th:​
synced with LineageOS (w/ May's security patches)
updates for ART and bionic
April 29th:​
synced with LineageOS
updated libyuv and libvpx
-O3 optimizations for critical system components
USB notifications have lower priority
minor miscellaneous tweaks
April 19th:​
synced with LineageOS (NFC fix included)
GPS updates and improvements
touch response optimizations
minor tweaks and fixes
April 8th:​
synced with LineageOS (w/ April's security patches + fix for display issue)
some kernel updates
lots of debugging code disabled
updates for jemalloc, sqlite, bionic, libcore and libpng
March 9th:​
synced with LineageOS (w/ March's security patches)
some kernel updates
encryption is now working
February 27th:​
synced with LineageOS
minor kernel updates
February 9th:​
synced with LineageOS (with February's security patches)
some kernel fixes & updates
fix for the Gallery showing the previous photo instead of the new one, immediately after taking one
Ferbuary 3rd:​
bootloop fix
February 2nd:​
synced with LineageOS
WiFi hotspot fixed
Dynamic processing audio library
in-built F-Droid Privileged Extension
Dual-channel SBC codec for bluetooth headphones/speakers (untested, must be set in Developer Options)
minor tweaks to reduce memory usage (with negligible impacts on performance and/or graphic quality)
my custom kernel has been implemented
January 21st:​
synced with LineageOS
updated & improved sqlite library (huge performance boost)
optimized zlib library
improvements for ART's memory usage
support for OTA updates
January 6th:​
synced with LineageOS (January's security patches)
January 3rd:​
synced with LineageOS
lockscreen PIN possibly fixed? Please confirm
December 26th:​
fixed signature spoofing
synced with LineageOS
December 21st:​
added support for signature spoofing (MicroG) and UnifiedNLP
December 14th:​
initial build
DOWNLOADS
Starting from April 2023 my builds are moved to Github: https://github.com/Tomoms/bacon_releases/releases
Recommended Gapps package (official MindTheGapps): here
Spoiler: older 2020-2023 builds
Unified download link for both 17.1 and 18.1: SourceForge
Older 18.1 builds are available here: AFH
Previous 17.1 builds are available either on AFH or on MEGA (17.1) / on MEGA (18.1).
A BIG "THANK YOU" TO
the whole LineageOS team, and the multitude of great developers of the Android custom ROM scene, such as kdrag0n, kerneltoast (Sultanxda), nathanchance, flar2, franciscofranco, frap129, the MSM-Xtended project, the crDroid project. I hope I have not forgotten anyone.
POST-INSTALLATION ADVICE
GAPPS COMPATIBILITY
Only use MindTheGapps.
SETTING UP MICROG
Signature spoofing is supported but not enabled out of the box. There's no switch to enable it in Settings, you must grant its permission to each app that needs it. In particular, if you install MicroG (either via the apks or via MinMicroG), you must run these commands in a root shell:
Code:
pm grant com.google.android.gms android.permission.FAKE_PACKAGE_SIGNATURE
pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE
then make sure all the checkboxes in MicroG's status screen are ticked and reboot.
SETTING UP VIPER4ANDROID
If you follow these steps carefully, you'll manage to install Viper4Android while keeping Enforcing SELinux, and it will survive across ROM updates too
Since XDA Labs has been dead for a while, I've reuploaded Viper4Android's apk installer here: https://mega.nz/file/htFikD6Y#HpcdSMSa6fPdB5EXhGnyYI4uoxA7R4TnzhAZD_J_jrk
PASSING SAFETYNET
Passing SafetyNet is quite easy. You need to have Gapps installed, though. Flash Magisk, enable Magisk Hide in its settings, reboot. Now you should pass SafetyNet.
GRABBING LOGS
If you have faced an issue, please provide logs when reporting it.
If the issue involved a random reboot of the device -> let the phone boot up again and immediately grab a copy of /proc/last_kmsg (important: don't turn off or reboot the phone a second time, otherwise it'll be useless).
If the issue did not involve a random reboot of the device, but instead some "softer" crash (e.g. an app crashing, a SystemUI restart...) -> grab a logcat using any app such as Logcat Reader or plug the phone to a computer and pull it using the adb logcat > logfile.txt command.
Reserved
First! I'm happy to finally see a real thread for this.
Perfect combination Sultans camera and idprophecy ROM.
question- can charging rate be varied using kernel auditor mod app?
Because whenever I'm installing a ROM having sultan customisation included my OPO charges very slowly(180mA).
kunalshgkr said:
Perfect combination Sultans camera and idprophecy ROM.
question- can charging rate be varied using kernel auditor mod app?
Because whenever I'm installing a ROM having sultan customisation included my OPO charges very slowly(180mA).
Click to expand...
Click to collapse
I don't know if KA mod has that feature. However it's possible to change the maximum charging current intensity with any text editor, check the second post of Neon kernel's thread: I've explained how to do it. However is the problem occurs only on sultanized ROMs, it might also be that the different battery driver thinks that your cable is faulty, and so it reduces the charging speed. I've had a similar issue when using the Linux 3.10 kernel on my phone.
Tomoms said:
I don't know if KA mod has that feature
Click to expand...
Click to collapse
KA mod sure has that feature if kernel has support for it
FSadino said:
KA mod sure has that feature if kernel has support for it
Click to expand...
Click to collapse
OK, the kernel supports it, so there should be no problem tweaking that value.
Tomoms said:
I don't know if KA mod has that feature. However it's possible to change the maximum charging current intensity with any text editor, check the second post of Neon kernel's thread: I've explained how to do it. However is the problem occurs only on sultanized ROMs, it might also be that the different battery driver thinks that your cable is faulty, and so it reduces the charging speed. I've had a similar issue when using the Linux 3.10 kernel on my phone.
Click to expand...
Click to collapse
Thanks for the reply. On your ROM my OPO is charging normally. Actually I was asking can the charging rate be varied in your kernel because in most of the kernel it is disabled. By the way I just installed this ROM awesome ROM but I'm experiencing slight lag in UI.
I've tested v10 of your kernel last weekend. I also had lags while scrolling. Did you remove cpu and touch boost? Couldn't find settings in cpu section of adiutor mod. Or are they managed in governor settings?
@Tomoms
Nice of you to share your work. I was just crying about for a ROM (Sultan base + OMS) and a good person linked me here. As it's relatively new I'm very optimistic
I have a couple of questions:
Have you tried your ROM with Xposed? (I just switched to Nougat (ViperOS) and the SOT is terrible. I'm trying to see what the cause is)
Is this version of your ROM based on Sultan's Oct 22 release?
I have only one phone at the moment and can't risk it with testings. My choices are reliant on your answers and the Epic XDA Community. Thanks in advance...
Wa.Sobchack said:
I've tested v10 of your kernel last weekend. I also had lags while scrolling. Did you remove cpu and touch boost? Couldn't find settings in cpu section of adiutor mod. Or are they managed in governor settings?
Click to expand...
Click to collapse
CPU boosting is present but KA doesn't support it, so it looks like it's missing but it's actually working in the background.
secretkloud said:
@Tomoms
Nice of you to share your work. I was just crying about for a ROM (Sultan base + OMS) and a good person linked me here. As it's relatively new I'm very optimistic
I have a couple of questions:
Have you tried your ROM with Xposed? (I just switched to Nougat (ViperOS) and the SOT is terrible. I'm trying to see what the cause is)
Is this version of your ROM based on Sultan's Oct 22 release?
I have only one phone at the moment and can't risk it with testings. My choices are reliant on your answers and the Epic XDA Community. Thanks in advance...
Click to expand...
Click to collapse
Nope, I don't use Xposed nor have I tried it.
The release doesn't include all the changes brought by Sultan in the 22nd October build (it includes one out of two of them), however this is not a problem, because the change I left out is a small reversion related to in-call volume that was made by him only because "users were not amused" by the improvement. So the only thing this build doesn't include is not a fix for a bug, just a small volume adjustment decrease that was made because nobody noticed the increase that was brought in the Spetember 30th build, so there's nothing to be worried about. This build is just as good as Sultan's last one.
Hey just to clarify is this based on sultan lineagos? I can see stuff committed by sultan
DeadFox-xda said:
Hey just to clarify is this based on sultan lineagos? I can see stuff committed by sultan
Click to expand...
Click to collapse
Read OP.
DeadFox-xda said:
Hey just to clarify is this based on sultan lineagos? I can see stuff committed by sultan
Click to expand...
Click to collapse
Yup, with his personal kernel and substratum support..!!
murti52 said:
Yup, with his personal kernel and substratum support..!!
Click to expand...
Click to collapse
And f2fs support too!
zalamandra said:
And f2fs support too!
Click to expand...
Click to collapse
Looks like that's been removed, but another file system looks like it's being implemented (at least partially).. #sdcardfs
Massive overnight battery drain
I'm so excited that my two favorite bacon ROMs have been merged together! Thanks for the effort.
Two things I have noticed for now:
- Camera appears to crash when snapping an HDR photo (similar to LineageOS camera's behavior)
- Quick unlock for four-digit PINs doesn't seem to work
Setting.Out said:
Looks like that's been removed, but another file system looks like it's being implemented (at least partially).. #sdcardfs
Click to expand...
Click to collapse
They are two different things, and both are present in my ROM+kernel.

[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