[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] SJD Ayy:
Changelogs:

07-09-2020

Merged ACK

Reevaluated Selinux State Related Changes

Miscellaneous FiX0rZ

25-08-2020

Selectively Merged ACK

F2FS Fixups from 4.14

Unified Stock & Modified Vibration Pattern Variants in One ZIP

Kill Haptics while Camera is in Use. Bzzt-Bzzt? NO.

Switched to Software Deboucing for Power Key

Updated WiFi Regulatory Database

Back to Reporting True Selinux State to System and Spoofing it Only for GMS

25-07-2020

Merged kernel_common

Latest F2FS Fixups from 4.14

Optimized 4 More Instances of Frequent Memory Allocations in the Kernel

Improved Touchscreen Suspend/Resume Routines

Updated WLAN Stack from a Diverging CAF Tag

02-06-2020

Merged Common Kernel Changes

F2FS Fixups from 4.14

Sped-up Magisk Preservation Process

Updated Wireguard

Reverted LOS' MAC Address Override

May or May Not Have Slightly Improved Battery Life

24-04-2020

Selectively Merged Android Common Kernel Changes

F2FS Fixups from 4.14

Updated GCC to Version 9.3.0

Brought Back Wireguard Support

Increased Swap Space to 2 GB

Ditched Module Blocker. You do you, buddy!

Started Honoring Thermal Engine's Restrictions Again

09-03-2020

Backported Scheduler Changes Agennnnnnn! Yeah, I think I'm okay with where it's at now ツ

Overhauled Flasher Interface

Optimize F2FS Extension List to be Specific to Android Usecases, For Storage Longevity

Default to nobarrier FSync Mode on F2FS

Went Back to CFQ I/O Scheduler Again; But Now with I/O Group Weights Set Up

Made Boosting Kinda Aggressive Doe

Improved LMK to Kill Less; Alongside Other Memory Management Improvements

04-02-2020

Selectively Merged Android Common Kernel Changes

Selectively Backported F2FS Changes from k4.9

Finally Went Back to Enforcing Selinux Again

Re-enabled Accurate Task Stats Accounting

Enabled Support for Alternative Bluetooth MACs and PHYs

EVeN mOAR SchED fIxuPS

Makes Usage of Various (((Optimizer))) Magisk Modules Completely Useless and Redundant

13-01-2020

Merged kernel_common Changes

Backported Select F2FS Patches from Mainline

Replaced Samsung's SdFat Driver with arter97's Newer Modified Version of It

Nuked Custom CPU Governors and Unused I/O Schedulers

Experimental: Blocked Thermal Engine from Capping off CPU Frequency

Made Miscellaneous Performance Improvements from Upstream & CAF

07-12-2019

Merged Common Kernel Changes

Backported F2FS Changes from Mainline (Read More)

Ported over kerneltoast's Stable Rewritten ION & IOMMU Drivers (Credits: Zile995)

Imported Newest WLAN Stack from CAF (Enables Some Features Introduced with the WPA3 Standard)

Moar Sched Fixups

Inlined Mutex with k4.4

08-11-2019

Completely Overhauled Scheduler from the Ground Up

Merged Android Common Kernel Changes

Fixed ADB Over USB

Backported Latest F2FS Patches from 4.9 & Mainline

Optimized and Sped-up Entropy Pool

Experimental: Brought Over Select Additions from Pixel 4 Kernels

15-10-2019

Obligatory kernel_common Merge

Backported LowMemoryKiller from 4.9 Alongside Motorola's Optimizations for it

Fixed 1 More Memleak

Reverted Recent Rapid GC Changes; Not *really* Needed to Keep Core Functionality

Brought Over Select Fixes From Pie and Android 10 CAF Tags

19-09-2019

Merged in Latest Google Common Kernel Changes

Merged in Changes from the Latest Appropriate CAF Tag for the SoC

Tuned Vibration Settings Once Again but Slightly Differently this Time Around

Cleaned-up Ramdisk to be Less Cluttered

Fixed 2 Memleaks

Various Minor Improvements in the NET Subsystem and ProcFS

+ Some Other Stuff Not Really Worth Writing Out

23-08-2019

Compiled Using GCC 9.2.0

Merged in Latest Google Common Kernel Changes

Sped-up More Cache Allocations (15 New Instances)

Merged in Latest F2FS Changes (+Sped-up Cache Allocations | Updated Rapid GC)

Back to Stock Vibration Settings and Patterns

Brought Back Anxiety I/O Sched.

Refactored Input Boosting [Tunables for it May No Longer be Visible on Some Kernel Managers]

+ A Whole Lot More I Wont Go Through on This One ;)

12-07-2019

Compiled using Bare-Metal GCC 9.1.1 (Wasn't the root cause of any problem in the past)

Merged in Changes from Google Common Kernel

Merged in Changes from Appropriate CAF Tags

Don't Let the Kernel Dynamically Allocate Memory for Various Kernel Subsystems; Allocate Fixed Amounts Instead. This Improves Performance to a Certain Extent

Don't Let GCAM and the Settings App Hog Memory in the Background

Re-enabled Devfreq Memory Latency Governors

Experimental: Backported eMMC Patches from Mainline Linux

Experimental: Put SDcards in a 'Hibernated' State When Not in Use to Save Power

Improved Idle Drain (*Relaxed* Workqueues, Wakelocks and Alarmtimers Sent in by Apps)

Ditched BFQ I/O Scheduler

Tuned Boosting

Fixed Orangefox Recovery Not Being Able to Mount cust Partition at the End of the Flashing Procedure

[Insert Obligatory Line about Other Miscellaneous Under-the-Hood Changes Here]

20-06-2019

Fixed Random Screen Freezing for Certain People

19-06-2019

Merged in Latest Google Common Kernel Changes

Merged in Latest F2FS Changes

Updated Prima WLAN Driver

Optimized Android Binder and Shared Memory Allocator

Micro-Optimized Process Information Pseudo-Filesytem

Backported Changes for Various Kernel Libraries

Updated LZ4 Compression Algorithm

Temporarily Removed Anxiety I/O Scheduler

Updated AK3

07-06-2019

Switched back to Clang 'cuz GCC 9.1.1 no stable 〴⋋_⋌〵

Fixed Random Sudden Display Anomalies

Removed Electron CPU Governor

Updated AK3

06-06-2019

Compiled Using Bare-Metal GCC 9.1.1

AK3 Fam Squad

Merged the Latest CAF Tag

Improved GPU Power Efficiency

Back to Using CFQ as the Default I/O Scheduler

Removed zstd from the Supported List of Compression Algorithms

Turned on File Synchronization

Additional Camera Fixups from CAF

Miscellaneous Under-the-Hood Changes

26-05-2019

Fixed Splashloop

Stopped Verbose Logging when Booting

TCP/Net Improvements

Minor Memory Management Improvements

Miscellaneous Under-the-Hood Changes

23-05-2019

Actually Upstreamed to Linux 3.18.140

Back to Using Intelliactive as the Default CPU Governor

Enabled Dynamic FPS on All Display Panels

Updated Anxiety I/O Sched.

Reduced Dirty Writeback Frequency as per Google's Recommendation

Fixed Kernel Panics, Hopefully

17-05-2019

U̶p̶s̶t̶r̶e̶a̶m̶e̶d̶ ̶t̶o̶ ̶L̶i̶n̶u̶x̶ ̶3̶.̶1̶8̶.̶1̶4̶0̶ (Edit: Linux Upstream Changes were accidentally left out on this release)

Merged in Latest F2FS Changes

Tuned Vibration Motor Again [Actually Differentiable this Time Around]

Made Boosting Less Aggressive

Removed Devfreq Boost Driver

Removed Maple I/O Scheduler

Added Back LZ4 for ZRAM and Use it as the Default Compression Algorithm [zstd Still Available as an Option]

Bumped Up Swappiness to 100 and Increase ZRAM DiskSize to a Gig Again

Fixed USB OTG

Disabled Support for Ancient Filesystem which Hopefully Nobody still Uses

28-04-2019

Upstreamed to Linux 3.18.139

"""Fix""" the Wake-up Delay on Pie ROMs; Omit the Previous Hack

Reworked the GPU Freq Table; Max Freq is Now 725 Mhz Instead of 700

Added Compat VDSO for Faster Syscalls on 32-bit Applications

Updated sdFAT Driver to the Latest Version

Changed Display Dimming Method

Nuked IPA_WS Wakelock

Nuked WireGuard

Minor Adjustments to Both Of the Fingerprint Drivers

Experimental: Updated Anxiety; Set it as Default I/O Scheduler

Experimental: Backported Memory Manangement and Multi-Queue Block IO Changes From 4.x Kernels

Experimental: Backported ZRAM From Linux 4.9

Experimental: Use zstd Compression Algorithm for ZRAM

Experimental: Tuned Vibration Motor

05-04-2019

Upstreamed to Linux 3.18.138

Merged CAF Tag "LA.UM.6.6.r1-11000-89xx.0"

Change Up Default CPU Settings

Restore ZRAM Stuff to How they were Before

Prevent Init from Changing I/O Scheduler on Boot (Some ROMs set it to BFQ; We Don't Want that)

Removed Deadline and NOOP I/O Scheds. (Gone for Good this Time)

Boost Frequencies on Camera Auto-Focus

Fixes and Whatnot

28-03-2019

Upstreamed to Linux 3.18.137

Fall back to ALMK, Disabled SLMK (Turns out this isn't as stable as I had initially thought)

Replaced State Notifier with a Simple Display State Tracker

Allocate 1 gig of ZRAM with 2x the Compression Streams; Bumped Up Swappiness to 100

Don't Hotplug Half the Cores When Battery Goes Below 15%

Updated Anxiety I/O Sched.

Couple of Upstreams from Google Common Tree

Removed Unused Devfreq Governors

Removed LiveDisplay Driver

Enabled OOM Kill Allocating Task

Fixed(?) Issues Introduced with Release 10

16-03-2019

Compiled Using DragonTC/Clang 9.0.0 with Polyhedral Optimizations

Upstreamed to Linux 3.18.136

Merged in Latest F2FS Changes

Dropped Non-Treble Support // Updated the Flasher as well

Stop Shipping Modified Thermal Config (Temps Skyrocket Because of It)

Removed Darkness CPU Governor

Removed Boeffla Wakelock Blocker (Does Nothing Significant. If Anything, Having it Only Makes Idle Drain Worse)

Added Devfreq Boost Driver

Tune Default Boost Parameters

Bump Up Swappiness to 20

Completely Disable I/O Stats Accounting

Experimental: Replaced Android LMK with Simple LMK

NEON Accelerated ChaCha20 Crypto Algorithm for Random Data Generation

Switch to 300 Hz Kernel Timer Tick Rate

We /LightAF/ Now, ZIP Size Down to Only 10 MiB

Updated Spectrum and FKM Profiles

A lot More Under-the-hood Changes

20-02-2019

Compiled using ARM's Bare-Metal Toolchain

Upstreamed to Linux 3.18.135

Removed Dyn Fsync; Wasn't Working as Intended

Started relying on Input Boost Again

Boost DDR Bus to MaxFreq on Screen Wake

Kanged Thermal Config; Will be Placed upon Installation

07-02-2019

Removed Undervolts

Minor Fixes

06-02-2019

Upstreamed to Linux 3.18.134

Uv'd by 100 mV Instead Just to be Safe from Any Panics

Brought back Deadline and NOOP I/O Scheds

Disabled SECCOMP

Added in Kernel-sided Stuff Needed to Ensure Ultra and HPH:X Compatibility

Made sure proper Bootparams get Applied on All ROMs

A lot of Under-the-hood Changes I Won't Go Through

26-01-2019

Upstreamed to Linux 3.18.133

Up-to-Date with Latest CAF/Prima Tag

Back to Old CPU Settings with Intelliactive

Undervolt the CPU by 150mV

Merged in Latest F2FS Changes Along with arter97's GC Patches

Introduce Dynamic FSync 2.1

Imported Latest DTS Driver from X00QD

Removed Generic FP Boost Driver; Emulating It's Boost Behavior Straight from Our Own FP Drivers Now

Added USB HID Gadget Support

Removed Unused TCP Algos and I/O Scheds

Enable ULPS, Partial Update and High Speed DSI Mode for All Display Panels

Fixed an Issue Where Spectrum Profiles weren't Getting Applied on Selinux Enforcing ROMs

Few Upstreams from Google Common Tree and Other Miscellaneous Under-the-Hood Changes

04-01-2019

Haxx: Fix Wakeup Delay on Pie ROMs (@lilblinx)

Removed ElementalX and Conservative. Added Electron (Set as Default Now)

Start Relying on Input Boost to Avoid Micro-Stutters

Enabled TTL Target / IP Mangle Support

Omit Auditing from Selinux and Other Places

Omit A LOT more Debugging Stuff End-Users Won't Ever Utilize

Omit Some GPU Thermal Limits

Added Live Printk Toggle Interface

Anxiety Upstreams

Enable Support for TCP FastOpen on All Listeners

Tweak the Slimbus Just a Lil'

Refresh the Spectrum and FKM Profiles According to New Changes

22-12-2018

Upstreamed to Linux 3.18.131

Multiple CAF Upstreams

Multiple Prima Upstreams

Android Binder Updates

Pull Missing USB, MMC Changes

Remove unneeded SMP2P Test Support

13-12-2018

Compiled using UberTC 8

Upstreamed to Linux 3.18.129

Back to Stock I/O Settings

Fixed App Opening Delays for Certain People (((Hopefully)))

Added State Notifier

Minor Changes in Goodix FP Driver Again

Slight Spectrum Profile Tune-Ups

Bring Back KCAL Color Inversion

Some Under-the-hood Improvements that aren't worth mentioning

03-12-2018

We're Now Compiling with Linaro GCC 7.2 with Cortex-A53 & Graphite Optimization Flags

Upstreamed to Linux 3.18.128

Reworked Spectrum and FKM Profiles

Now Using SultanXDA's Simplified CPU Input Boost Instead of Traditional CPU Boost

Replaced Barry_Allen with ElementalX Governor

Tuned-up Westwood TCP Algorithm for Slightly Better Latency (Ping)

Minor Changes in FP Sensor and Touchscreen Drivers

Reduced GPU Idle and Deepnap Timeout; Now in-sync with MDSS

Some MDSS & KGSL Additions for Power Efficiency

23-11-2018

Upstreamed to Linux 3.18.126

Removed Logging Lines from Both Goodix and FPC Fingerprint Drivers. Unlocking and Fingerprint Operations should be a Few Milliseconds Faster Now

Removed Arch Power and Gentle Fair Sleepers SySInterface and Disable Fair Sleepers from Source

Temporarily Disable Frandom

Do Final Bits of Audio Codec Tuning

Overclock Crypto Engine Driver from 100Mhz to 160Mhz

Disable some Miscellaneous Debugging Stuff

Some GPU Tune-Ups and Improvements for Power Efficiency

18-11-2018

Initial Release