[Moto G 2015 Original Android Development] squid2:
This is my "Squid Kernel" for the 2015 Moto G, codenamed osprey. It shares a common codebase with my kernels for surnia and lux. It consists of the latest Motorola MSM8916 kernel, with all the latest changes from CodeAurora and Kernel.org merged in, along with select cherry-picks and additions of my own. Flash it using TWRP. Bug reports and contributions are welcome.

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.

Disclaimer:

This is for the 2015 Moto G (osprey and merlin) only! Don't flash it on a previous Moto G, or surnia, or lux. This kernel is provided AS-IS, with no warranties. I am not responsible for bricking your device. Flash at your own risk.

Features:

Moderately undervolted

Updated to Linux 3.10.108

Synced with latest CodeAurora changes

Improved memory management

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:

r23: August 15, 2018
- 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

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
- Experimental support for merlin

r12: December 25, 2015
- FOR CM13 ONLY!
- Updates for latest camera driver changes
- Updated zRAM
- Improved memory caching scheme from Linux 3.15
- Optimized memory allocation and management
- Optimized CPU scheduler
- Optimized performance event tracking

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
- 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 support
- Patches for Android 6.0 support

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

r9b: September 29, 2015
- Fixed QSEECOM keymaster firmware issue

r9: September 28, 2015
- Initial standalone release for osprey

Downloads:

Main downloads tab

XDA:DevDB Information

Squid Kernel for Moto G 2015, Kernel for the Moto G 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-10-02

Last Updated 2018-08-15