[KERNEL][LOS-N/O] 28-06-2018 AGNi 🔥 pureLOS-N/O v13.0

Search This thread

psndna88

Inactive Recognized Contributor
Dec 2, 2011
7,495
17,800
Mumbai
Xiaomi Mi 11i
AGNi pureLOS-N/O
(Audiophile's Blazing Fast & Efficient Kernel)

agni_xda.jpg
agni_xda.jpg
agni_xda.jpg

Join Telegram DISCUSSION & TESTING GROUP

AGNi Toolbox:- GOTO 3rd POST HERE

For Android 7.x / 8.x LOS/AOSP

DOWNLOAD pureLOS-N/O kernel:- HERE

General Improvements:
Built with custom UBERTC GCC 8.0.0
Enhanced compiler optimizations with device and target flags, build improvements, etc
Removed a ton of debug and logging to improve performance
ARM64 enhanced performance and battery patches
CVE security patches, general upstream and CAF fixes - upstreamed to Linux 3.10.108 and added patches from CAF LA.BR.1.3.6 & Android 8 release LA.BR.1.3.7
CPU & GPU Improvements:
Interactive governor tuned to achieve maximum performance with best battery life by default
Several CPU Governors available - Interactive, Blu_Active, CAF active, Cultivation, Darkness, ElementalX, Chill, Bioshock, Despair, Relaxed, Ironactive, Wheatley, ALUcard
Slight OC, mild undervolt to reduce heat and improve stability and battery life
Input boost off by default
Adreno Idler and Adrenoboost available
CPU and GPU Voltage control (optional)
Network improvements:
Implemented Wireguard VPN support usable with Azire VPN
Enhanced TCP methods - reno, htcp, highspeed, westwood+, CDG, Network and Wifi tweaks and updated drivers
Option to enable 2.4 GHz Wi-Fi channel bonding while installing => moved to AGNi Toolbox
I/O improvements:
Several I/O control tweaks, added schedulers (Zen, SIO, SIOplus, BFQ, CFQ, Maple, Tripndroid, Row, Deadline, V(R), No-OP,fiops), tweaked and updated filesystems (EXT4, F2FS, ExFAT, NTFS & CIFS)
Adaptive LMK, 1GB LZ4 ZSWAP+VNSWAP available and on by default for better multitasking
ext4-lazytime mounting for /data (improves filesystem performance)
UKSM while charging to optimize RAM use option
Dynamic FileSync toggle
Supports SDCARDFS, CIFS, exFAT
Disabled I/O CRC check for more performance
Screen Improvements:
sRGB and KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
Backlight dimmer for lower minimum brightness
Wake gestures, dt2w, s2s and s2w for all panels
Sound improvements:
modify headphone processing for increased fidelity
modify speaker processing for clarity
Implemented flar2 sound control along with Franco sound control
Slimbus OC for better sound quality
Added a lot of audio enhancements (heaven for audiophiles)
Fixed earpiece & mic boost
Ported hybrid headphone jack driver from Sony 3.18 with CAF patches for faster detection
Headphone impedance detection
Headphone mic volume boost
Fix earphone Jack's various problems
Battery improvements:
USB Fast Charge (USB mode up to 900mA with MTP on)
Boeffla Wakelock blocker available
Power efficient workqueues
Option to replace thermal blobs with old ones which may help to resolve slow charging issue while installing
Fast charging with maximum 2100mA safe limit with temperature control
Miscellaneous improvements:
Optimized hardware accelerated crc+crypto routines
Implemented lot of security fixes
Vibrator Strength tunable
Notification LED brightness options
Can use device as USB keyboard and mouse with the app by pelya
Option to select SElinux mode while installing
Compatibility with Magisk v14+ and SuperSU SR5
Compatible with Kernel Auditor and EX Kernel Manager
Spectrum app profiles support
AGNi improvements:
Custom Agni Control app for all your kernel control needs, has many useful CPU profiles and advanced options, available while installing
Custom Agni ScreenModes app which has various KCAL profiles to improve screen experience, available while installing
Works on all Marshmallow, Nougat and Oreo ROMs


AGNi pureLOS CHANGELOG:-


AGNi pureLOS-N/O v13.0:-
qdsp6v2: dts_eagle: use newer drivers
wcd9335: accept interrupts for huwifi mode
sound: wcd9335: add huwifi_mode & low_distort_amp mode
sound:codecs: wcd9335: remove impedl code
msm_audio_ion: add DTS-Eagle dependency - msm_audio_populate_upper_32_bits
sound: codecs: wcd9335: laster k's driver
slimbus: lower oc
sound: wcd9335: Disable g_DebugMode
Initial AudioWizard bringup
sound: DTS-Eagle integration
drivers: Initial import of DTS-Eagle driver
Kconfig: msm: remove deprecated dts eagle driver
revert: "ipv6: sctp: fix lockdep splat in sctp_v6_get_dst()
revert: "BACKPORT: ipv6: fix udpv6 sendmsg crash caused by too small MTU
revert: "BACKPORT: netlink: add a start callback for starting a netlink dump
revert: "ipsec: Fix aborted xfrm policy dump crash
revert: "BACKPORT: net: xfrm: support setting an output mark.
revert: "BACKPORT: net: ipv4: fix for a race condition in raw_sendmsg
disable CONFIG_IOMMU_AARCH64,CONFIG_ARM_SMMU
AGNi Control: enable fsync operations by default
AGNi Installer: fix frequency hysteresis values

AGNi pureLOS-N/O v12.9:-
New Additions:-
Merge caf/LA.BR.1.3.7_rb1.11
staging: prima: Merge caf/LA.BR.1.3.7_rb1.11
fs: Add sdfat support (msdos,fat16,vfat,exfat combined driver)
fs: sdfat: sync upstream
fs/proc: hide androidboot.selinux=permissive flag in /proc/cmdline
enable HARDEN_BRANCH_PREDICTOR
disable SCHED_FREQ_INPUT
drivers/power: disable bcl
mm/vmscan: fix prepare_kswapd_sleep if kswapd running too long
Updates:-
ANDROID: sdcardfs: Set s_root to NULL after putting
ANDROID: sdcardfs: d_make_root calls iput
ANDROID: sdcardfs: Check for private data earlier
ANDROID: sdcardfs: Hold i_mutex for i_size_write
ANDROID: sdcardfs: Protect set_top
msm: mdss: adjust mdss_mdp_get_plane_sizes parameters init order
BACKPORT: futex: Remove requirement for lock_page() in get_futex_key()
UPSTREAM: scsi: sg: don't return bogus Sg_requests
ALSA: pcm: prevent UAF in snd_pcm_info
ALSA: pcm: use lock to protect substream runtime resource
ALSA: pcm: add locks for accessing runtime resource
ANDROID: sound: rawmidi: Hold lock around realloc
drivers: qdsp6v2: Add mutex unlock to properly release lock
binder: use GFP_HIGHUSER flag since binder is designed for userspace
Bluetooth: Prevent stack info leak from the EFS element
ASoC: msm: qdspv2: add mutex to prevent access same memory simultaneously
msm: ADSPRPC: validate user buffers after copying from user
dts: kenzo: disable sched_enable_power_aware
kgsl: convert some workqueues to use kthreads
kgsl: Increase priority of RT thread
msm: mdss: check buffer size before writing to user buffer
dtsi: adjust prim panel and panel-supply as per latest miui
kernel: disable arch_power by default & allow toggle
cpufreq: ironactive: add checks for CONFIG_SCHED_FREQ_INPUT
Fixes:-
kernel/cgroup: fix permission checks for task group attach
kernel/workqueue: restore to older state
ANDROID: Bluetooth: hidp: buffer overflow in hidp_process_report
ipsec: Fix aborted xfrm policy dump crash
BACKPORT: msm: mdss: Fix invalid dma attachment during fb shutdown
msm: mdss: Fix for wrong length in copy_to_user
msm: sensor: actuator: fix out of bound read for region params
msm: sensor: actuator: check NULL pointer for actuator ctrl
revert: "msm: mdss: fix race condition between rotator api's
dts: fix big cluster max-corners
dts: restore 133,200,366MHz gpu freq steps
AGNi specific additions:-
AGNi Control: tweak impulse governor & other governor scripts
AGNi Control: add option DoubleTap2Wake+Swipe2Wake(^v,<>)+Swipe2Sleep
AGNi Installer: add gpu uv option
AGNi Installer: tweak scheduler
AGNi Installer: set 266MHz gpu freq as min default balanced spectrum profile
AGNi Installer: make rcu 3x aggressive RCU_FAST_NO_HZ for Battery profile
AGNi Installer: use modified thermal config [LOS-N/O]
AGNi Installer: always replace thermal engine without thermal libs [LOS-N/O]
AGNi Installer: fix goodix-netlink auto mode for NOS-Oreo [LOS-O]
AGNi Installer: add back option to replace thermal engine [LOS-N/O,MIUI-MM]

AGNi pureLOS-N/O v12.8:-
Audio:-
aw8738_amp: change to mode 5
Disable graphite optimizations for sound,qdsp6v2
wcd-mbhc-v2: add more compatibility to jack's stock-mode operation
audio: add cmdline option for 16(default)/32bits default compr & pcm routing
ASoC: squashed revert to older state
slimbus: set max limit 24bit @ 192KHz
New Additions:-
prima(wifi): Merge caf/LA.BR.1.3.7_rb1.9 (v3.0.11.66 --> v3.0.11.85)
Merge caf/LA.BR.1.3.7_rb1.9
drivers/power: hardwire bcl trigger at 10% battery, disable for MIUI-N
cpufreq_stats,cpufreq_governor,cgroup,cpuset upstream commits
mm: kmemleak_alloc_percpu() should follow the gfp from per_alloc()
dm,md verity commits
qpnp-smbcharger: add cmdline option to suppress QC charging support @ 9 volts
Convert some more drivers to use msecs_to_jiffies insted of HZ
reboot_auto_fsync: flush writeback buffers and sync more completely
fsync: flush writeback buffers with auto fsync & sync-on-suspend
fsync: allow auto_fsync_delay_sec=0 to disabe AGNi auto fsync dwork
fs/sync: allow sdcardfs to use vfs_fsync_range_sdcardfs always
Updates:-
Disable discard mount early mount of system partition [LOS-O]
cpufreq: cafactive: disable tracing
workqueue: disable power_efficient wq's by default and allow sysfs tunable
block: modify fiops
proc: meminfo: provide estimated available memory
proc: meminfo: estimate available memory more conservatively
CHROMIUM: selinux: Do not log "permissive" denials
BACKPORT: net: ipv4: fix for a race condition in raw_sendmsg
BACKPORT: USB: core: harden cdc_parse_cdc_header
UPSTREAM: USB: fix out-of-bounds in usb_set_configuration
UPSTREAM: HID: usbhid: fix out-of-bounds bug
UPSTREAM: USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
nl80211: Define policy for packet pattern attributes
crypto: hmac - require that the underlying hash algorithm is unkeyed
timers, sched_clock: Update timeout for clock wrap
cpu_input_boost: Use power efficient workqueues
cpu_input_boost: increase wakeboost to 2 seconds
Fixes:-
dts: kgsl: remove 366MHz step, restore stock gpu voltages
qpnp-smbcharger: reintroduce default_hvdcp3_icl_ma tunable
qpnp-smbcharger: fix "make 2100mA max default charging current"
qpnp-fg: fix "force swappiness 1 on battery level <= 15%"
fs/exfat: partial revert "update exfat (squash commit)"
revert "sched: Set sched_upmigrate_min_nice to 9
revert "sched: Introduce Shadow scheduling
Revert "workqueue: make sure delayed work run in local cpu"
AGNi specific additions:-
AGNi Control: 2.0GHz unlock for big cluster cpus
AGNi Control: tweak cultivation governor
AGNi Control: disable adreno boost default
AGNi Control: tweak default interactive & scheduler
AGNi Control: TCP congestion cubic by default
AGNi Control: tweak cafactive governor
AGNi Control: add again those rare used governor options
AGNi Control: fixup fsync options
AGNi Control: increase default interactive timer, intsd(maple, 1024) extsd(fiops,1024)
AGNi Installer: restructure Aroma Menus to single page
AGNi Installer: remove discard mounts in fstab
AGNi Installer: latest arm64+selinux busybox YDS in /sbin
AGNi Installer: fix rare installer status 7 errors
AGNi Installer: try fix option to select stock cpu voltages
AGNi Installer: add cmdline option for audio 24/32bits audio
AGNi Installer: add option to select stock cpu voltages
AGNi Installer: set QC2.0 9v suppress disabled by default
AGNi Installer: always replace thermal engine & libs
AGNi Installer: allow auto-selinux handling based on last kernel [LOS-O]
AGNi Installer: resolve selinux issues leading to fp problems [LOS-N/O]
AGNi Installer: disable init.qcom.post_boot.sh [LOS-O]
AGNi Installer: use fstrim on boot [LOS-N,MIUI-MM/N]



OLD CHANGELOGS: HERE

Download the app for supporting this keyboard & mouse feature HERE

DOWNLOADS:- HERE


XDA:DevDB Information
AGNi kernel (Audiophile's Blazing Fast & Efficient Kernel), Kernel for the Xiaomi Redmi Note 3

Contributors
psndna88
Source Code: https://github.com/psndna88/AGNi_pureMIUI.git

Kernel Special Features: Based on caf/LA.BR.1.3.6_rb1.25,/LA.BR.1.3.7_rb1.11 LOS15.0 official sources with selectively picked mods/patches

Version Information
Status: Stable

Created 2016-10-02
Last Updated 2018-06-28
 
Last edited:

psndna88

Inactive Recognized Contributor
Dec 2, 2011
7,495
17,800
Mumbai
Xiaomi Mi 11i
GOODIX / CAMERA LIBS and CAMERA FC + FLASH FIX

Try different gpu libs zip:-
Xperia_X_Oreo_GPU_blobs_ktommy91.zip

AGNi 12.4+ deepSleep Hotfix apk:-
use to restart google play services in rare cases of no deep sleep.
may need to run once per reboot

CAMERA LIBS for kenzo/kate:
blobs for following camera sensors:
- ov16880_f16v01a
- ov16880_omida05
- s5k5e8_z5e8yab
- s5k5e8_yx13
- face detection extension blobs

(Old & Obsolete)

Nougat Camera FC and flash complete fix by @billchen1977 flashable zip with proper file permissions 100% SOLUTION


AGNi-cmN-goodix-libs-AIO-patcher.zip (test version)
- includes goodix hal and libs
- includes goodix wrapper lib which loads fpc or goodix as per detected hardware by kernel cmdline (taken from NOS)
- patches boot.img to add goodix support (useful for roms without goodix support)
- adds goodix supported sepolicy files to boot.img (keeps goodix happy with enforcing selinux)
 

Attachments

  • AGNi_CAM_LIBS_PROPREITARY_KENZO.zip
    14.5 MB · Views: 8,526
  • AGNi-cmN-goodix-libs-AIO-patcher.zip
    1.1 MB · Views: 3,627
  • AGNi_v12.4+_deepSleep_HotFix.apk
    2.5 MB · Views: 2,776
Last edited:

psndna88

Inactive Recognized Contributor
Dec 2, 2011
7,495
17,800
Mumbai
Xiaomi Mi 11i
AGNi Toolbox

AGNi Toolbox v1.6 AROMA-flashable-zip:-
update magisk uninstaller codes

AGNi Toolbox v1.5 AROMA-flashable-zip:-
udate updater binary and script
add 2.4GHz wifi channel bonding options

AGNi Toolbox v1.4 AROMA-flashable-zip:-
add option to dump last_kmsg to internal storage from recovery to diagnose a bootloop.
usable when user forces boot to recovery after a bootloop

AGNi Toolbox v1.3 AROMA-flashable-zip:-
add option to uninstall magisk v12 and above (you need to reflash rom or stock kernel (boot.img)

AGNi Toolbox v1.2 AROMA-flashable-zip:-
add support for fat32/exfat/ext4/ntfs detection and auto fix errors on system,data,cache,sdcard,usb-otg
(Run from internal storage to scan external sdcard filesystem)

AGNi Toolbox v1.1 AROMA-flashable-zip:-
-Remove FingerPrint Security+Data
-Run ext4 filesystems Check & Repair on /system /data /cache
-Clear Battery Stats Data
-Remove Lock Screen Security
 

Attachments

  • AGNi_Toolbox-v1.1_flashable.zip
    1.9 MB · Views: 5,847
  • AGNi_Toolbox-v1.2_flashable.zip
    857.1 KB · Views: 1,267
  • AGNi_Toolbox-v1.3_flashable.zip
    857.3 KB · Views: 4,420
  • AGNi_Toolbox-v1.4_flashable.zip
    875.8 KB · Views: 1,687
  • AGNi_Toolbox-v1.5_flashable.zip
    1.3 MB · Views: 3,774
  • AGNi_Toolbox-v1.6_flashable.zip
    1.6 MB · Views: 18,245
Last edited:

*Moon-

Senior Member
Jun 30, 2014
88
41
Really good!
Please add support for goodix fingerprint in your next build if you can :)
I really appreciate your work!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 242
    AGNi pureLOS-N/O
    (Audiophile's Blazing Fast & Efficient Kernel)

    agni_xda.jpg
    agni_xda.jpg
    agni_xda.jpg

    Join Telegram DISCUSSION & TESTING GROUP

    AGNi Toolbox:- GOTO 3rd POST HERE

    For Android 7.x / 8.x LOS/AOSP

    DOWNLOAD pureLOS-N/O kernel:- HERE

    General Improvements:
    Built with custom UBERTC GCC 8.0.0
    Enhanced compiler optimizations with device and target flags, build improvements, etc
    Removed a ton of debug and logging to improve performance
    ARM64 enhanced performance and battery patches
    CVE security patches, general upstream and CAF fixes - upstreamed to Linux 3.10.108 and added patches from CAF LA.BR.1.3.6 & Android 8 release LA.BR.1.3.7
    CPU & GPU Improvements:
    Interactive governor tuned to achieve maximum performance with best battery life by default
    Several CPU Governors available - Interactive, Blu_Active, CAF active, Cultivation, Darkness, ElementalX, Chill, Bioshock, Despair, Relaxed, Ironactive, Wheatley, ALUcard
    Slight OC, mild undervolt to reduce heat and improve stability and battery life
    Input boost off by default
    Adreno Idler and Adrenoboost available
    CPU and GPU Voltage control (optional)
    Network improvements:
    Implemented Wireguard VPN support usable with Azire VPN
    Enhanced TCP methods - reno, htcp, highspeed, westwood+, CDG, Network and Wifi tweaks and updated drivers
    Option to enable 2.4 GHz Wi-Fi channel bonding while installing => moved to AGNi Toolbox
    I/O improvements:
    Several I/O control tweaks, added schedulers (Zen, SIO, SIOplus, BFQ, CFQ, Maple, Tripndroid, Row, Deadline, V(R), No-OP,fiops), tweaked and updated filesystems (EXT4, F2FS, ExFAT, NTFS & CIFS)
    Adaptive LMK, 1GB LZ4 ZSWAP+VNSWAP available and on by default for better multitasking
    ext4-lazytime mounting for /data (improves filesystem performance)
    UKSM while charging to optimize RAM use option
    Dynamic FileSync toggle
    Supports SDCARDFS, CIFS, exFAT
    Disabled I/O CRC check for more performance
    Screen Improvements:
    sRGB and KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
    Backlight dimmer for lower minimum brightness
    Wake gestures, dt2w, s2s and s2w for all panels
    Sound improvements:
    modify headphone processing for increased fidelity
    modify speaker processing for clarity
    Implemented flar2 sound control along with Franco sound control
    Slimbus OC for better sound quality
    Added a lot of audio enhancements (heaven for audiophiles)
    Fixed earpiece & mic boost
    Ported hybrid headphone jack driver from Sony 3.18 with CAF patches for faster detection
    Headphone impedance detection
    Headphone mic volume boost
    Fix earphone Jack's various problems
    Battery improvements:
    USB Fast Charge (USB mode up to 900mA with MTP on)
    Boeffla Wakelock blocker available
    Power efficient workqueues
    Option to replace thermal blobs with old ones which may help to resolve slow charging issue while installing
    Fast charging with maximum 2100mA safe limit with temperature control
    Miscellaneous improvements:
    Optimized hardware accelerated crc+crypto routines
    Implemented lot of security fixes
    Vibrator Strength tunable
    Notification LED brightness options
    Can use device as USB keyboard and mouse with the app by pelya
    Option to select SElinux mode while installing
    Compatibility with Magisk v14+ and SuperSU SR5
    Compatible with Kernel Auditor and EX Kernel Manager
    Spectrum app profiles support
    AGNi improvements:
    Custom Agni Control app for all your kernel control needs, has many useful CPU profiles and advanced options, available while installing
    Custom Agni ScreenModes app which has various KCAL profiles to improve screen experience, available while installing
    Works on all Marshmallow, Nougat and Oreo ROMs


    AGNi pureLOS CHANGELOG:-


    AGNi pureLOS-N/O v13.0:-
    qdsp6v2: dts_eagle: use newer drivers
    wcd9335: accept interrupts for huwifi mode
    sound: wcd9335: add huwifi_mode & low_distort_amp mode
    sound:codecs: wcd9335: remove impedl code
    msm_audio_ion: add DTS-Eagle dependency - msm_audio_populate_upper_32_bits
    sound: codecs: wcd9335: laster k's driver
    slimbus: lower oc
    sound: wcd9335: Disable g_DebugMode
    Initial AudioWizard bringup
    sound: DTS-Eagle integration
    drivers: Initial import of DTS-Eagle driver
    Kconfig: msm: remove deprecated dts eagle driver
    revert: "ipv6: sctp: fix lockdep splat in sctp_v6_get_dst()
    revert: "BACKPORT: ipv6: fix udpv6 sendmsg crash caused by too small MTU
    revert: "BACKPORT: netlink: add a start callback for starting a netlink dump
    revert: "ipsec: Fix aborted xfrm policy dump crash
    revert: "BACKPORT: net: xfrm: support setting an output mark.
    revert: "BACKPORT: net: ipv4: fix for a race condition in raw_sendmsg
    disable CONFIG_IOMMU_AARCH64,CONFIG_ARM_SMMU
    AGNi Control: enable fsync operations by default
    AGNi Installer: fix frequency hysteresis values

    AGNi pureLOS-N/O v12.9:-
    New Additions:-
    Merge caf/LA.BR.1.3.7_rb1.11
    staging: prima: Merge caf/LA.BR.1.3.7_rb1.11
    fs: Add sdfat support (msdos,fat16,vfat,exfat combined driver)
    fs: sdfat: sync upstream
    fs/proc: hide androidboot.selinux=permissive flag in /proc/cmdline
    enable HARDEN_BRANCH_PREDICTOR
    disable SCHED_FREQ_INPUT
    drivers/power: disable bcl
    mm/vmscan: fix prepare_kswapd_sleep if kswapd running too long
    Updates:-
    ANDROID: sdcardfs: Set s_root to NULL after putting
    ANDROID: sdcardfs: d_make_root calls iput
    ANDROID: sdcardfs: Check for private data earlier
    ANDROID: sdcardfs: Hold i_mutex for i_size_write
    ANDROID: sdcardfs: Protect set_top
    msm: mdss: adjust mdss_mdp_get_plane_sizes parameters init order
    BACKPORT: futex: Remove requirement for lock_page() in get_futex_key()
    UPSTREAM: scsi: sg: don't return bogus Sg_requests
    ALSA: pcm: prevent UAF in snd_pcm_info
    ALSA: pcm: use lock to protect substream runtime resource
    ALSA: pcm: add locks for accessing runtime resource
    ANDROID: sound: rawmidi: Hold lock around realloc
    drivers: qdsp6v2: Add mutex unlock to properly release lock
    binder: use GFP_HIGHUSER flag since binder is designed for userspace
    Bluetooth: Prevent stack info leak from the EFS element
    ASoC: msm: qdspv2: add mutex to prevent access same memory simultaneously
    msm: ADSPRPC: validate user buffers after copying from user
    dts: kenzo: disable sched_enable_power_aware
    kgsl: convert some workqueues to use kthreads
    kgsl: Increase priority of RT thread
    msm: mdss: check buffer size before writing to user buffer
    dtsi: adjust prim panel and panel-supply as per latest miui
    kernel: disable arch_power by default & allow toggle
    cpufreq: ironactive: add checks for CONFIG_SCHED_FREQ_INPUT
    Fixes:-
    kernel/cgroup: fix permission checks for task group attach
    kernel/workqueue: restore to older state
    ANDROID: Bluetooth: hidp: buffer overflow in hidp_process_report
    ipsec: Fix aborted xfrm policy dump crash
    BACKPORT: msm: mdss: Fix invalid dma attachment during fb shutdown
    msm: mdss: Fix for wrong length in copy_to_user
    msm: sensor: actuator: fix out of bound read for region params
    msm: sensor: actuator: check NULL pointer for actuator ctrl
    revert: "msm: mdss: fix race condition between rotator api's
    dts: fix big cluster max-corners
    dts: restore 133,200,366MHz gpu freq steps
    AGNi specific additions:-
    AGNi Control: tweak impulse governor & other governor scripts
    AGNi Control: add option DoubleTap2Wake+Swipe2Wake(^v,<>)+Swipe2Sleep
    AGNi Installer: add gpu uv option
    AGNi Installer: tweak scheduler
    AGNi Installer: set 266MHz gpu freq as min default balanced spectrum profile
    AGNi Installer: make rcu 3x aggressive RCU_FAST_NO_HZ for Battery profile
    AGNi Installer: use modified thermal config [LOS-N/O]
    AGNi Installer: always replace thermal engine without thermal libs [LOS-N/O]
    AGNi Installer: fix goodix-netlink auto mode for NOS-Oreo [LOS-O]
    AGNi Installer: add back option to replace thermal engine [LOS-N/O,MIUI-MM]

    AGNi pureLOS-N/O v12.8:-
    Audio:-
    aw8738_amp: change to mode 5
    Disable graphite optimizations for sound,qdsp6v2
    wcd-mbhc-v2: add more compatibility to jack's stock-mode operation
    audio: add cmdline option for 16(default)/32bits default compr & pcm routing
    ASoC: squashed revert to older state
    slimbus: set max limit 24bit @ 192KHz
    New Additions:-
    prima(wifi): Merge caf/LA.BR.1.3.7_rb1.9 (v3.0.11.66 --> v3.0.11.85)
    Merge caf/LA.BR.1.3.7_rb1.9
    drivers/power: hardwire bcl trigger at 10% battery, disable for MIUI-N
    cpufreq_stats,cpufreq_governor,cgroup,cpuset upstream commits
    mm: kmemleak_alloc_percpu() should follow the gfp from per_alloc()
    dm,md verity commits
    qpnp-smbcharger: add cmdline option to suppress QC charging support @ 9 volts
    Convert some more drivers to use msecs_to_jiffies insted of HZ
    reboot_auto_fsync: flush writeback buffers and sync more completely
    fsync: flush writeback buffers with auto fsync & sync-on-suspend
    fsync: allow auto_fsync_delay_sec=0 to disabe AGNi auto fsync dwork
    fs/sync: allow sdcardfs to use vfs_fsync_range_sdcardfs always
    Updates:-
    Disable discard mount early mount of system partition [LOS-O]
    cpufreq: cafactive: disable tracing
    workqueue: disable power_efficient wq's by default and allow sysfs tunable
    block: modify fiops
    proc: meminfo: provide estimated available memory
    proc: meminfo: estimate available memory more conservatively
    CHROMIUM: selinux: Do not log "permissive" denials
    BACKPORT: net: ipv4: fix for a race condition in raw_sendmsg
    BACKPORT: USB: core: harden cdc_parse_cdc_header
    UPSTREAM: USB: fix out-of-bounds in usb_set_configuration
    UPSTREAM: HID: usbhid: fix out-of-bounds bug
    UPSTREAM: USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
    nl80211: Define policy for packet pattern attributes
    crypto: hmac - require that the underlying hash algorithm is unkeyed
    timers, sched_clock: Update timeout for clock wrap
    cpu_input_boost: Use power efficient workqueues
    cpu_input_boost: increase wakeboost to 2 seconds
    Fixes:-
    dts: kgsl: remove 366MHz step, restore stock gpu voltages
    qpnp-smbcharger: reintroduce default_hvdcp3_icl_ma tunable
    qpnp-smbcharger: fix "make 2100mA max default charging current"
    qpnp-fg: fix "force swappiness 1 on battery level <= 15%"
    fs/exfat: partial revert "update exfat (squash commit)"
    revert "sched: Set sched_upmigrate_min_nice to 9
    revert "sched: Introduce Shadow scheduling
    Revert "workqueue: make sure delayed work run in local cpu"
    AGNi specific additions:-
    AGNi Control: 2.0GHz unlock for big cluster cpus
    AGNi Control: tweak cultivation governor
    AGNi Control: disable adreno boost default
    AGNi Control: tweak default interactive & scheduler
    AGNi Control: TCP congestion cubic by default
    AGNi Control: tweak cafactive governor
    AGNi Control: add again those rare used governor options
    AGNi Control: fixup fsync options
    AGNi Control: increase default interactive timer, intsd(maple, 1024) extsd(fiops,1024)
    AGNi Installer: restructure Aroma Menus to single page
    AGNi Installer: remove discard mounts in fstab
    AGNi Installer: latest arm64+selinux busybox YDS in /sbin
    AGNi Installer: fix rare installer status 7 errors
    AGNi Installer: try fix option to select stock cpu voltages
    AGNi Installer: add cmdline option for audio 24/32bits audio
    AGNi Installer: add option to select stock cpu voltages
    AGNi Installer: set QC2.0 9v suppress disabled by default
    AGNi Installer: always replace thermal engine & libs
    AGNi Installer: allow auto-selinux handling based on last kernel [LOS-O]
    AGNi Installer: resolve selinux issues leading to fp problems [LOS-N/O]
    AGNi Installer: disable init.qcom.post_boot.sh [LOS-O]
    AGNi Installer: use fstrim on boot [LOS-N,MIUI-MM/N]



    OLD CHANGELOGS: HERE

    Download the app for supporting this keyboard & mouse feature HERE

    DOWNLOADS:- HERE


    XDA:DevDB Information
    AGNi kernel (Audiophile's Blazing Fast & Efficient Kernel), Kernel for the Xiaomi Redmi Note 3

    Contributors
    psndna88
    Source Code: https://github.com/psndna88/AGNi_pureMIUI.git

    Kernel Special Features: Based on caf/LA.BR.1.3.6_rb1.25,/LA.BR.1.3.7_rb1.11 LOS15.0 official sources with selectively picked mods/patches

    Version Information
    Status: Stable

    Created 2016-10-02
    Last Updated 2018-06-28
    68
    GOODIX / CAMERA LIBS and CAMERA FC + FLASH FIX

    Try different gpu libs zip:-
    Xperia_X_Oreo_GPU_blobs_ktommy91.zip

    AGNi 12.4+ deepSleep Hotfix apk:-
    use to restart google play services in rare cases of no deep sleep.
    may need to run once per reboot

    CAMERA LIBS for kenzo/kate:
    blobs for following camera sensors:
    - ov16880_f16v01a
    - ov16880_omida05
    - s5k5e8_z5e8yab
    - s5k5e8_yx13
    - face detection extension blobs

    (Old & Obsolete)

    Nougat Camera FC and flash complete fix by @billchen1977 flashable zip with proper file permissions 100% SOLUTION


    AGNi-cmN-goodix-libs-AIO-patcher.zip (test version)
    - includes goodix hal and libs
    - includes goodix wrapper lib which loads fpc or goodix as per detected hardware by kernel cmdline (taken from NOS)
    - patches boot.img to add goodix support (useful for roms without goodix support)
    - adds goodix supported sepolicy files to boot.img (keeps goodix happy with enforcing selinux)
    63
    AGNi Toolbox

    AGNi Toolbox v1.6 AROMA-flashable-zip:-
    update magisk uninstaller codes

    AGNi Toolbox v1.5 AROMA-flashable-zip:-
    udate updater binary and script
    add 2.4GHz wifi channel bonding options

    AGNi Toolbox v1.4 AROMA-flashable-zip:-
    add option to dump last_kmsg to internal storage from recovery to diagnose a bootloop.
    usable when user forces boot to recovery after a bootloop

    AGNi Toolbox v1.3 AROMA-flashable-zip:-
    add option to uninstall magisk v12 and above (you need to reflash rom or stock kernel (boot.img)

    AGNi Toolbox v1.2 AROMA-flashable-zip:-
    add support for fat32/exfat/ext4/ntfs detection and auto fix errors on system,data,cache,sdcard,usb-otg
    (Run from internal storage to scan external sdcard filesystem)

    AGNi Toolbox v1.1 AROMA-flashable-zip:-
    -Remove FingerPrint Security+Data
    -Run ext4 filesystems Check & Repair on /system /data /cache
    -Clear Battery Stats Data
    -Remove Lock Screen Security
    39
    AGNi pureLOS-N/O v11.5:- (Audiophile's Blazing Fast & Efficient Kernel)

    >> 1st Page OP updated by AGNi's Description <<

    Audio:-
    wcd9335: modify compander for headphone processing v3
    wcd9335: modify compander for speaker processing
    wcd9335: remove increased HPH PA gains by PDesire Audio
    wcd9335: allow 384KHz sampling rate for headphone
    wcd933x: remove redundant high_perf_mode tunable
    slimbus: support 384KHz audio sampling rate
    wcd-mbhc-v2: show High/Low impedance reporting for headphone
    wcd-mbhc-v2: modify hph impedance reporting
    wcd-mbhc-v2: show impedance in agni control jack log
    ASoC: wcd9335: Fix compander disable after SSR
    fix reboot bug when notification/screenshot sound when music playback
    Kernel Base Upgrades:-
    Merge 3.10.108 EOL
    Merge caf/LA.BR.1.3.6_rb1.24
    Merge caf/LA.BR.1.3.7_rb1.5
    staging: prima: Update to LA.BR.1.3.7_rb1.5
    Fixes:-
    fix pureMIUI-MM selinux related boot problems
    Fix led blinking and video recording issues in pureMIUI-N
    Fix OREO random reboot/bootloop issues
    Update compatibility with magisk v14+ and supersu SR5
    firmware_class: reduce firmware loading timeout for replacement screens
    disable mmc deferred resume to fix late wakeup on VoLTE call
    vidc: remove hal session flush (fixes black screen on video in Oreo)
    drivers/power: some fixups
    dts: revert changes to haptics
    kcal: reduce more compensation for fix yellow tint for boe panel
    dtsi: adjust prim panel and panel-supply as per latest miui
    wakelock: disable PDesire Dynamic wakelock blocker by default
    sdcardfs_mm: add missing Flag files as non-mappable
    uksm: make less aggressive during run while charging
    revert "drivers/power: retain changes before caf/LA.BR.1.3.7_rb1.3
    Updates:-
    drivers/cpufreq: Update Interactive CPU Governor
    drivers/mmc/block.c: support REQ_META access
    lib/lz4: make arrays static const,reduces object code size
    cpu-boost: Decrease priority of notifier_block
    PM/sleep: Mechanism for aborting system suspends unconditionally
    arm64: Use optimized memcmp
    arm64: Import optimized strrchr from newlib
    arm64: strcmp: Align to cache and preload
    dts: updates to cpu-bwmon and msm_thermal
    sched: some fixes
    kernel/rcu: restore to older state
    BACKPORT: xfrm: Clear sk_dst_cache when applying per-socket policy
    qpnp-smbcharger: conditional power efficient wq for boardtemp
    msm: camera: Bound check for num_of_stream.
    vidc: partial restore to older state
    drivers: video: mdss: Fix direct references to HZ
    fs: f2fs: Fix direct references to HZ
    dts: kenzo rpm-regulator-ldoa6 always on
    Partial revert "Power efficient workqueue patches (squashed)"
    camera_v2/isp: add buffer_timestamp_new_mode used for LOS-N & O
    powersuspend: add power_suspended boolean for global access
    New Additions:-
    boeffla_wl_blocker: implement v1.1.0
    rcu: 3x aggressive RCU_FAST_NO_HZ
    cpufreq: Introduce fingerprint boost driver
    kernel/power: new PM kernel driver for powersuspend v1.5
    Reduced debugging/tracing:-
    binder: disable tracing
    block/blk-core: disable tracing
    prima: disable tracing
    kgsl,adreno: disable tracing
    drivers/mmc: disable tracing
    drivers/cpufreq: interactive disable tracing
    wcd9335: disable debug mode
    bcl,msm_thermal: disable tracing
    Disable a TON more of tracing
    AGNi specific additions:-
    AGNi control: add options for speaker & headphone lineout gain levels
    AGNi control: add PDesire dynamic wakelock blocker option
    AGNi control: add sound codec power save option
    AGNi installer: auto install of old thermal libs for MIUI-N & option for MIUI-MM (solves heating problems with permissive selinux)
    AGNi installer: remove wifi channel bonding option (moved to agni toolbox)

    NOTE:
    • Separate zip files for Nougat and Oreo from v11.5
    • Recommended to flash after dirty-flashed rom

    DOWNLOAD LOS-N v11.5

    DOWNLOAD LOS-O v11.5

    AGNi Toolbox v1.5 AROMA-flashable-zip:-
    -update updater binary and script
    -add 2.4GHz wifi channel bonding options
    DOWNLOAD TOOLBOX v11.5

    I thank the 600+ Telegram Group members for testing almost 90+ test builds of v11.5 !!!!
    35
    AGNi pureLOS-N-O v11.2:- MEGA FEATURE PACKED UPDATE (Diwali Special)

    Main Features:
    • Merged caf/LA.BR.1.3.6_rb1.23
    • PDesire Audio (kernel based) 1st time ported on kenzo (no extra battery usage unlike rom based sound mods)
    • Added a lot of audio enhancements (heaven for audiophiles)
    • PDesire Wakelock Blocker to tame rogue apps
    • Major Improved Memory Management by 3.18 upstreams
    • Updated Zram-lz4 for optimal performance
    • Improved IO & filesystem performance (ext4,f2fs), with ton of embedded tracing/logging disabled in updated ext4
    • New recommended option in installer to use lazytime mount option for /system, /data, /cache (improves filesystem performance)
    • AGNi control/spectrum: tweaked default interactive balanced profile (recommended)
    • Implemented lot of security fixes
    • Added a ton of fixes and some my own stuff
    • More Improved battery life, even with audio playback !!!


    Detailed Changelog:

    Merge caf/LA.BR.1.3.6_rb1.23
    staging: prima: implement updates from LA.BR.1.3.6_rb1.23
    ---(Filesystems/Memory Management/IO)
    fs: squash update mm,block,ext4,jbd2,crypto,f2fs,procfs with 3.18 backports
    fs: disable extensive tracing embedded in ext4 and jbd2
    ext4: fix SEEK_HOLE/SEEK_DATA for blocksize < pagesize
    ext4: fix overflow caused by missing cast in ext4_resize_fs()
    ext4: Don't clear SGID when inheriting ACLs
    proc: prevent stacking filesystems on top
    arch/arm64: squash update
    drivers/block: squash update zram with lz4
    mm: Queue swap_work only if previous instance has completed
    ---(Audio Enhancements & Fixes)
    sound:codecs: PDesireAudio v1.0 port to kenzo
    sound_control: external mic boost as independent tunable
    Drivers: Slimbus: slimbus enhancements MKII
    ASOC: fix dependencies and build of SND_SOC_WCD_DSP_MGR
    slim-msm: Handling resources during port de-allocation
    slim-msm: Differentiate SSR from Noise during power up
    slim: msm: Handle slimbus HW noise during early boot-up
    slim: msm: ngd: Add priority to DSP SSR notifier
    slim-msm-ngd: Register with specific subsystem
    soundwire: Fix NULL pointer dereference
    soundwire: Add support for usecases without compander
    ASoC: msm: Fix mute on speaker in VoWLAN calls
    sound:soc: Increase tasha wcd9335 sido_voltage
    ASoC: msm: acquire lock in ioctl
    ALSA: seq: Fix use-after-free at creating a port
    sound: codec: improve impedance sense accuracy and change debounce time
    ASoC: msm8x16-wcd: Update HPH PA gain for Tombak
    ASoC:[Backported msm-4.4r9] wcd9335: Add dapm ignore suspend for backend dais
    ASoC:[Backported msm-4.4r9] wcd9335: don't check for HPHL and HPHR for mono headset
    ASoC:[Backported msm-4.4r9] wcd9335: add all child devices of codec
    ASoC:[Backported msm-4.4r9] wcd9335: Infinite loop when routing DMIC for handset ANC
    ASoC:[Backported msm-4.4r9] wcd9335: Adjust DMIC clock based on sample rate
    ASoC:[Backported msm-4.4r9] msm: fix ULL playback over a2dp
    ASoC:[Backported msm-4.4r9] wcd9335: Add support to enable low power mode on codec
    ASoC:[Backported msm-4.4r9] wcd-spi: SPI driver for WCD audio codecs
    ASoC:[Backported msm-4.4r9] wcd_dsp_mgr: Add the WCD DSP manager driver
    ASoC:[Backported msm-4.4r9] wcd-dsp-utils: Add utilities for wcd dsp
    ---(Random CRNG)
    random: fully switch to Chacha20
    crypto: arm64/crc32 - merge CRC32 and PMULL instruction based drivers
    crypto: arm64/chacha20 - implement NEON version based on SSE3 code
    crypto: arm64/crc32 - accelerated support based on x86 SSE implementation
    crypto: arm64/crct10dif - port x86 SSE implementation to arm64
    random: remove an unused function
    random: always use /dev/urandom
    random: fix comment for unused random_min_urandom_seed
    random: remove variable limit
    random: remove stale urandom_init_wait
    random: convert get_random_int/long into get_random_u32/u64
    random: use chacha20 for get_random_int/long
    random: remove unused randomize_range()
    random: simplify API for random address requests
    lib/uuid.c: move generate_random_uuid() to uuid.c
    random: replace non-blocking pool with a Chacha20-based CRNG
    ---(Security Fixes)
    mac80211: accept key reinstall without changing anything
    mac80211: use constant time comparison with keys
    prima:VOSS: vos_mem_compare should always use const parameters
    nl80211: check for the required netlink attributes presence
    wcnss: fix the potential buffer flow issue in firmware setup
    packet: call fanout_release, while UNREGISTERING a netdev
    ---(Miscellaneous Fixes)
    wakelock: PDesire Dynamic wakelock blocker
    qpnp-smbcharger: set PARALLEL_CHG_THRESHOLD_CURRENT to 2000mA
    qpnp-fg: fix "Unbalanced enable for IRQ" error
    kernel: enable and set read-only arch_power & power_efficient wq
    ipa: ratelimit an error log
    msm: qpnp-haptic: Use a high-priority workqueue for haptics
    Make msm_serial_hs RT to improve bluetooth performance
    android: binder: fix duplicate error return.
    arm64: Add support ARCH_SUPPORTS_INT128
    msm: vidc: enable decoder dcvs for VP9
    arm64: crypto: Change priority of arm64 aes cipher
    serial: msm_serial_hs: Change the wakeup interrupt enable sequence
    msm_serial_hs: disable interrupts cleanly in shutdown
    perf/core: Fix group {cpu,task} validation
    usb-storage: fix deadlock involving host lock and scsi_done
    PM/devfreq: governor_bw_hwmon: Reduce default guard_band_mbps
    drivers: camera: Fix derps in actuator
    input: ft5346_ts: add NULL pointer check
    ksm: remove redundant __GFP_ZERO from kcalloc
    msm: camera: fix off-by-one overflow in msm_isp_get_bufq
    alarmtimer: Rate limit periodic intervals
    alarmtimer: don't rate limit one-shot timers
    clk: qcom: gcc-8976: Add SDCC clocks, fix USB clocks, add missing camera clock
    clk: msm: mdss: add locking mechanism for critical section
    ---(Removals)
    drivers/usb: revert some changes
    kernel: remove powersuspend & faser-fp quick resume
    revert "kernel: auto disable arch_power when display panel Off"
    revert "kenzo: fpc1020/goodix: Set fingerprintd/gx_fpd always on on high priority"
    ---(AGNi installer/control)
    AGNi installer: lazytime mount fstab option
    AGNi control: add external mic boost option
    AGNi control/spectrum: tweak default interactive balanced profile


    DOWNLOAD LOS-N-O v11.2

    This version has come to final after 21 different test versions and tested by patient & habitual testers :laugh::highfive:
    Thanks to @ ScreaMySkrillEX and many other testers on Telegram Group 500+ members! :angel::victory:
    (no EAS build because it's no use using something for namesake which is broken)