[KERNEL] [UNIFIED] [CUSTOM 8.1-9.0] [3.18.136] Flash Kernel - R57 - 27 Mar

Status
Not open for further replies.
Search This thread

ahmedradaideh

Senior Member
May 30, 2014
346
1,981
BbSNdcq.png

Kernel features:
  • Upstreamed Linux Kernel version, from v3.18.31 -> v3.18.137
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-10600-8x96.0
  • Build -O2 and with Custom Toolchain GCC Linaro 7.3.1 2018.05~dev (Kryo target)
  • Removed unused Functions & logging options (Speed bootup and also Shrink attack surface)
  • Enable Kernel hardening features to help mitigate kernel vulnerabilities
  • General Security Upstream CVEs and CAF and Linux fixes
  • No OverClock, Set 300HZ ARM base timer frequency
  • Specific boosting in Performance critical scenarios
  • Optimized Task Scheduling
  • Idle Power consumption reduced
  • Enable & Tweaks Power Efficient Workqueues
  • Enable & Tweaks CPUset (Improves battery life and Performance)
  • LMK Enabled by default, Background apps limit up to 60 (from stock 32)
  • Improved Memory Management (this kernel does not suffer memory leaks)
  • Improved Touchscreen processing latency
  • Improverd Fingerprint Scanner processing latency
  • Improved audio jack detection
  • Improved app launch performance
  • Upstream: ARM64, RCU, Crypto, Android Binder, SDCardFS, F2FS, EXT4, CFQ
  • CPU governors: interactive, conservative, ondemand, performance, powersave (interactive by default)
  • I/O Schedulers control: CFQ, BFQ, Maple, Noop (CFQ by default)
  • Enhanced TCP methods: westwood, reno, cubic, dctcp (westwood by default)
  • Advanced Color Control (KCAL)
  • Backlight dimmer & High brightness mode
  • Notification LED & Vibration Control
  • FSync toggle on/off (on by default)
  • WireGuard VPN tunnel support
  • Wakelocks Block Control
  • SELinux Enforcing
  • Passes SafetyNet bootloader unlock check
  • Many other misc. Improvements & Optimizations
Status:
8.1 Oreo Custom Unified : Updated..
8.0 Oreo OxygenOS Unified : Updates are pending (until the Release of OxygenOS Pie)
7.1.x Nougat OxygenOS : No Updates anymore.

Download:
8.1 Oreo Custom Unified : AndroidFileHost
8.0 Oreo OxygenOS Unified : AndroidFileHost
7.1.x Nougat OxygenOS : AndroidFileHost

Installation:
Flash the Kernel zip in TWRP Recovery.
Note: if you come from other Kernel, you should dirty flash your ROM before flashing "FlashKernel.zip"

Donate Me

XDA:DevDB Information
Flash Kernel for OnePlus3, Kernel for the OnePlus 3

Contributors
ahmedradaideh
Source Code: https://github.com/ahmedradaideh/OnePlus3T

Kernel Special Features: Improves Battery Life and Performance

Version Information
Status: Stable
Current Stable Version: R57
Stable Release Date: 2019-03-27
Current Beta Version: R1 - R2

Created 2017-03-17
Last Updated 2019-03-27
 
Last edited:

ahmedradaideh

Senior Member
May 30, 2014
346
1,981
Changelog:

Custom R57: 27 Mar (Oreo/Pie) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.133 -> v3.18.136
  • General Fixes and improvements Codes
  • Merge F2FS GC improvements
  • Upstream: Android Binder, F2FS,
  • CleanUp and More, See My Github

OLD Changelog:


Custom R56: 26 Jan (Oreo/Pie) Unified for OnePlus3/3T
  • Now Support Android Pie 9 (Tested on LineageOS 16.0)
  • Upstreamed Linux Kernel version, from v3.18.124 -> v3.18.133
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-10600-8x96.0
  • General Fixes and improvements Codes
  • Merge F2FS GC improvements
  • Upstream: Android Binder, SDCardFS, F2FS, EXT4
  • arm: dts: 15801: Apply system early mount
  • arm: dts: 15801: Remove OnePlus RF Cable
  • arm: dts: 15801: Cleanup Panels Configuration
  • arm: dts: 15801: Cleanup Spaces & Duplicates
  • op3: Disable IPC Router MHI transport
  • input: synaptics: Cleanup redremote
  • power: Remove fingerprintd thaw hack
  • power: qpnp-smbcharger: Clean up PM routines and move them into worker
  • power: bq27541: Expose full charge capacity and cycle count to userspace
  • drivers: usb: Re-Apply Missing commits from Linux & android-3.18
  • CleanUp and More, See My Github

Custom R55: 2 Nov (Oreo/Pie) Unified for OnePlus3/3T
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-01100-89xx.0
  • General Fixes and improvements Codes
  • Merge F2FS GC improvements
  • Merge branch 'Improved-logs'
  • ANDROID: Remove STRICT_MEMORY_RWX
  • arm64: alternative: Checkout to android-3.18
  • arm64: kconfig: Remove duplicate & Cleanup Spaces
  • Fix merge issue with arch/arm64/kvm/guest.c
  • pinctrl: qcom: Add irq_enable callback for msm gpio
  • New WireGuard snapshot 0.0.20181018
  • CleanUp and More, See My Github

Custom R54: 14 Oct (Oreo/Pie) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.122 -> v3.18.124
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09900-89xx.0
  • General Fixes and improvements Codes
  • Merge CAF's improvements
  • Merge F2FS improvements
  • Merge SDCardFS improvements
  • Switch to Upstream BUG_ON_DATA_CORRUPTION
  • New WireGuard snapshot 0.0.20181007
  • CleanUp and More, See My Github

Custom R53: 21 Sep (Oreo/Pie) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.120 -> v3.18.122
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09700-89xx.0
  • Merge F2FS improvements
  • Merge sched improvements
  • Merge vdso-32-bit improvements
  • Merge l2tp improvements
  • Merge cpu-boost improvements (Boost all CPUs to the max when userspace launches an app)
  • Revert "cpufreq: introduce cpufreq_driver_is_slow"
  • msm: mdss: xlog: Disable panic on error by default
  • ALSA: rawmidi: Undo my 3.18.117 resolution
  • UPSTREAM: mm/page-writeback: fix dirty_ratelimit calculation
  • Upstream AnyKernel2 Script
  • CleanUp and More, See My Github

Custom R52: 31 Aug (Oreo) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.118 -> v3.18.120
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09600-89xx.0
  • Merge F2FS improvements
  • Merge Crypto improvements
  • General Fixes and improvements Codes
  • BACKPORT: block: use ktime_get_ns() instead of sched_clock() for cfq and bfq
  • Anykernel: Support Android Pie 9.0
  • CleanUp and More, See My Github

Custom R51: 10 Aug (Oreo) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.117 -> v3.18.118
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09500-89xx.0
  • Merge Latest f2fs-stable/linux-3.18.y
  • Merge a couple interesting patches from Marlin/Pie
  • General Fixes and improvements Codes
  • kernel: Fix massive cpufreq stats memory leaks
  • scsi: ufs: call single_release to avoid memory leak
  • Driver core: wakeup the parent device before trying probe
  • CleanUp and More, See My Github

Custom R50: 28 Jul (Oreo) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.116 -> v3.18.117
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-09300-8x96.0
  • General Fixes and improvements Codes
  • Upstream AnyKernel2 Script
  • CleanUp and More, See My Github

Custom R49: 22 Jul (Oreo) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.115 -> v3.18.116
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09200-89xx.0
  • General Fixes and improvements Codes
  • New WireGuard snapshot 0.0.20180718
  • [media] uvcvideo: Disable hardware timestamps by default
  • Upstream AnyKernel2 Script
  • CleanUp and More, See My Github

Custom R48: 11 Jul (Oreo) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.113 -> v3.18.115
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09000-89xx.0
  • General Fixes and improvements Codes
  • power: Fix Fingerprintd HAL in Oreo
  • Defconfig: Enable CRYPTO_GCM
  • New WireGuard snapshot 0.0.20180708
  • PM / suspend: make sync() on suspend-to-RAM build-time optional (more save power in idle)
  • Cgroup: Remove Dead codes, Due to the bad merge from the CAF
  • CleanUp and More, See My Github

Custom R47: 23 Jun (Oreo) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.110 -> v3.18.113
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-08900-8x96.0
  • General Fixes and improvements Codes
  • Improved touchscreen processing latency (by SultanXDA)
  • Improved bq27541 Power Driver (by SultanXDA)
  • i2c-msm-v2: Ensure system is always active for i2c transfers
  • cpu-boost: Implement Two-Step input boost & Rewrite frequency tunable
  • oneplus: pn544: Don't hold wakeup source
  • Upstream: F2FS, SDCardFS, Crypto
  • Re-Enable ARM64_SW_TTBR0_PAN For Kernel Hardening.
  • CleanUp and More, See My Github

Custom R46: 25 May (Oreo) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.110
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-08500-89xx.0
  • General Fixes and improvements
  • Specific boosting in Performance critical scenarios
  • Upstream: ARM64, CPUidle, EXT4, F2FS, SDCardFS
  • CleanUp and More, See My Github

Custom R45: 29 Apr (Oreo) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.107
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-08300-89xx.0
  • Improved scheduling
  • Back to 100HZ
  • ion: avoid allocate high order of pages in system heap pools
  • Replace CPU_BOOST to CPU_INPUT_BOOST (makes the phone feel smooth without destroying battery life)
  • usb: host: plat: Enable xHCI plat runtime PM
  • Upstream: ARM64, CPUidle, F2FS, SDCardFS, Sched
  • Fix Camera, tri_state_key & more
  • CleanUp and More, See My Github

Custom R44: 16 Apr (Oreo) Unified for OnePlus3/3T
  • Build with Custom Toolchain GCC Linaro 7.3 2018.04-rc4~dev (Kryo target)
  • Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.105
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-07400-89xx.0
  • Merged a couple interesting patches [Spectre v4.4] from Linaro LSK
  • Fix corrupted images generated by the OnePlus 3/3t camera app/HAL
  • Tested on LineageOS & RR ROM
  • CleanUp and More, See My Github

Custom R43: 10 Apr (Oreo) Unified for OnePlus3/3T
  • Build with Custom Toolchain GCC Linaro 7.3 2018.04-rc2~dev (Kryo target)
  • Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.104
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-07200-89xx.0
  • misc: Synchronize codes for OxygenOS OpenBeta 32/23
  • Merged a couple interesting patches from Pixel 1 P branch
  • Merged a couple interesting patches [Spectre v4.4] from Linaro LSK
  • input: tri-state-key: Rewrite and optimize
  • kernel: Restrict unbound kthreads to little CPU cluster
  • BACKPORT: USB: core: harden cdc_parse_cdc_header
  • Specific boosting in Performance critical scenarios
  • Optimized Task Scheduling
  • Idle Power consumption reduced
  • Upstream AnyKernel2 Script
  • Tested on LineageOS & RR ROM
  • CleanUp and More, See My Github

Custom R42: 11 Mar (Oreo) Unified for OnePlus3/3T
  • initial release, Based on LineageOS source
  • Build with Custom Gnu GCC Toolchain 7.3.0
  • Upstreamed Linux Kernel version, from v3.18.93 --> v3.18.99
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-06600-8x96.0
  • RCU Subsystem Upstream from msm.4.4
  • CleanUp and More, See My Github

OxygenOS R42: 11 Mar (Oreo) Unified for OnePlus3/3T
  • Build with Custom Gnu GCC Toolchain 7.3.0
  • Upstreamed Linux Kernel version, from v3.18.93 --> v3.18.99
  • ANDROID: sdcardfs: Set num in extension_details during make_item
  • ANDROID: keychord: Check for write data size
  • clk: msm: clock-gcc-8996: Add 50 us delay after BLSP1 AHB clock enable
  • flash_defconfig: add CONFIG_PCI_QUIRKS back
  • Upstream AnyKernel2 Script

Big Update R41: 17 Feb (Oreo) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.93 --> v3.18.95
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-06300-8x96.0
  • sched/rt: Use container_of() to get root domain in rto_push_irq_work_func()
  • sched/rt: Up the root domain ref count when passing it around via IPIs
  • mm,writeback: don't use memory reserves for wb_start_writeback
  • arm64: Use optimized memcmp
  • drivers, kernel: Revert OnePlus changes
  • cpuidle: Add commit left out during CAF merge
  • cpufreq: stats: Remove unreachable OnePlus code
  • ANDROID: cpufreq: stats: add uid removal for uid_time_in_state
  • BACKPORT: xfrm: Fix return value check of copy_sec_ctx
  • F2FS File System Upstream v4.16-rc1-3.18 + Android Binder Upstream
  • ASoC: wcd-mbhc: Improve detection speed and accuracy
  • Revert OPChain Module by OnePlus + Touchboost + haptic feedback control (Causing problems)
  • Add systemless wlan.ko injection (!dirty flash your ROM (OxygenOS) before flashing!)
  • CleanUp and More, See My Github

Big Update R40: 31 Jan (Oreo) Unified for OnePlus3/3T
  • Build with Custom GCC Linaro Toolchain 7.2.1-2018.1 Snapshot
  • Upstreamed Linux Kernel version, from v3.18.90 --> v3.18.93
  • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-05700-89xx.0
  • Merged a couple interesting patches from Pixel 1+2 Oreo branch
  • Merged a couple interesting patches from CopperheadOS.
  • Synchronize codes for OxygenOS OpenBeta 30/21
  • treewide: Add commits left out during CAF
  • Applied CPU security patch: CVE-2017-13218
  • blkdev: Refactoring block io latency histogram codes
  • ANDROID: ext4: don't put symlink in pagecache into highmem
  • msm-core: disable userspace access to poll_ms
  • oneplus3t: remove 'reboot edl' interface for security.
  • Upstream SDCardFS + ARM64
  • CleanUp and More, See My Github

Big Update R39: 12 Jan (Oreo) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.90 --> v3.18.91
  • Merged a couple interesting patches from Pixel 1+2 Oreo branch
  • Marge Latest WIFI Driver LA.UM.6.5.r1-05300-8x96.0
  • Synchronize codes for OxygenOS 5.0.1
  • ANDROID dm-verity: fix root device init timing issue.
  • UPSTREAM: arm64/vdso: Fix nsec handling for CLOCK_MONOTONIC_RAW
  • UPSTREAM: arm64: module: avoid undefined shift behavior in reloc_data()
  • Upstream F2FS + Fscrypt + EXT4 + SDCardFS + ARM64
  • F2FS: Fix GC
  • Input: synaptics: restrict sysfs node write permissions
  • Defconfig: Remove unused configs for Bluetooth
  • CleanUp and More, See My Github

R38: 1 Jan (Oreo) Unified for OnePlus3/3T
  • Synchronize codes for OxygenOS OpenBeta 29/20
  • Merged a couple interesting patches from CopperheadOS.
  • UPSTREAM KCOV + mm/slab
  • BACKPORT: arm64: apply __ro_after_init to some objects
  • BACKPORT: arm64, vdso: Define vdso_{start,end} as array
  • Defconfig: Enable ARM64_SW_TTBR0_PAN for Kernel Hardening.
  • Revert "Defconfig: Change RCU RT Prio to 1"
  • CleanUp and More, See My Github

Big Update R37: 25 Dec (Oreo) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.86 --> v3.18.90
  • Merged a couple interesting patches from Pixel 1+2 Oreo branch
  • Add Maple I/O Scheduler (and Remove ZEN)
  • Add state notifier driver
  • Upstream LZ4 compressor
  • v4l2: Refactor, fix security bug in compat ioctl32
  • UPSTREAM: sched/rt: Do not pull from current CPU if only one CPU to pull
  • ANDROID: scsi: Add segment checking in sg_read
  • ANDROID: vfs/ext4: finish umount(2) in time and avoid errors=panic by filesystem
  • input: misc: fpc1020: add haptic feedback control similar to gestures
  • Make msm_serial_hs RT to improve bluetooth performance
  • CleanUp and More, See My Github

R35: 30 Nov (Oreo) Unified for OnePlus3/3T
  • Build with Custom GCC Linaro Toolchain 7.2.1-2017.11~Dev (improvements)
  • Upstreamed Linux Kernel version, from v3.18.84 --> v3.18.85 (fixing & security)
  • Marge Latest WIFI Driver LA.UM.6.6.r1-04300-89xx.0
  • Upstream kernel locking driver from msm-4.4 (Thanks MSF-Jarvis)
  • ARM64 / Time / Android Binder Upstream
  • RCU: Restrict nocb kthreads to power cluster
  • Defconfig: Restrict kswapd to power cluster
  • Upstream AnyKernel2 Script
  • CleanUp and More, See My Github

R34: 25 Nov (Oreo) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.81 --> v3.18.84 (fixing & security) :cool:
  • Marge Latest CAF branch LA.UM.6.6.r1-04300-89xx.0 (fixing & security)
  • Synchronize codes for OxygenOS 5.0.0
  • Crypto / F2FS / Android Binder Upstream
  • UPSTREAM: dm bufio: switch from a huge hash table to an rbtree
  • UPSTREAM: arm64: dump: Fix implicit inclusion of definition for PCI_IOBASE
  • cpufreq: Restore policy min/max limits on CPU online
  • lib: Disable DEBUG_BUGVERBOSE
  • CleanUp and More, See My Github

R32: 4 Nov (Oreo) Unified for OnePlus3/3T
  • Now Kernel Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.66 --> v3.18.79 (fixing & security) :cool:
  • Marge Latest WiFi Driver & CAF branch LA.UM.6.5.r1-04000-8x96.0 (fixing & security)
  • Defconfig: remove unused kernel functions & Enable few security requirements
  • Android Binder / SDCardFs/ EXT4 Upstream
  • UPSTREAM: arm64: compat: Remove leftover variable declaration
  • UPSTREAM: fscrypt: fix dereference of NULL user_key_payload
  • ANDROID: net: xfrm: fix long lines.
  • msm-tsens: Reschedule work instead of causing uninterruptible sleep
  • irda: Fix lockdep annotations in hashbin_delete().
  • AnyKernel2 Script Upstream
  • CleanUp and More, See My Github
 
Last edited:
Just tried it for a day and I could say it smooth as my bae's butt cheeks!!! The battery life so far so good... Just reminding that the screenshots I gave is only the first cycle
 

Attachments

  • Screenshot_20170322-132853.png
    Screenshot_20170322-132853.png
    55.7 KB · Views: 1,017
  • Screenshot_20170322-132850.png
    Screenshot_20170322-132850.png
    80.8 KB · Views: 1,011
  • Screenshot_20170322-132848.png
    Screenshot_20170322-132848.png
    140.3 KB · Views: 1,001
  • Like
Reactions: Jole7

ahmedradaideh

Senior Member
May 30, 2014
346
1,981
New Update: r4 / 22Mar

Changelog:

*Slightly faster sampling during screen off to offset cases like Android Auto and Viper4Android hi-resolution audio decoding where 60ms was a bit too aggressive. from franciscofranco.
*drivers: wakeup: more thoroughly deactivation of wakelocks. from franciscofranco.
*Merged a patchs from sultanxda to fix memory leaks.
*power: oneplus_fastcg: Silence log spam
*net: ping: check minimum size on ICMP header length
*Add haptic feedback control
*flash_defconfig: Update & Cleanup
*ramdisk: Update & Cleanup
 

ahmedradaideh

Senior Member
May 30, 2014
346
1,981
Nice mate.. another kernel to use!
Good to see more kernels! :) Welcome to op3 family!
you are welcome guys :)

Is this based on Nathan Chancellor aka @The Flash kernel for Nexus 6p?

Sent from my ONEPLUS A3000 using Tapatalk
No.

Are you going to implement f2fs support? Or does it already have it?

Sent from my ONEPLUS A3000 using Tapatalk
Support for data partition (Like Stock).

The thread title as OnePlus 3 but the source name is OnePlus 3T so which one is it? Or is it unified?
EDIT: I guess its for the OnePlus 3 as the zip file name says so
Not Unified, All of them in his own forum.

Can I flash this over other custom kernels?
*dirty flash your ROM (OxygenOS)
*flashing "FlashKernel.zip" and SuperSu or magisk If you need.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 46
    BbSNdcq.png

    Kernel features:
    • Upstreamed Linux Kernel version, from v3.18.31 -> v3.18.137
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-10600-8x96.0
    • Build -O2 and with Custom Toolchain GCC Linaro 7.3.1 2018.05~dev (Kryo target)
    • Removed unused Functions & logging options (Speed bootup and also Shrink attack surface)
    • Enable Kernel hardening features to help mitigate kernel vulnerabilities
    • General Security Upstream CVEs and CAF and Linux fixes
    • No OverClock, Set 300HZ ARM base timer frequency
    • Specific boosting in Performance critical scenarios
    • Optimized Task Scheduling
    • Idle Power consumption reduced
    • Enable & Tweaks Power Efficient Workqueues
    • Enable & Tweaks CPUset (Improves battery life and Performance)
    • LMK Enabled by default, Background apps limit up to 60 (from stock 32)
    • Improved Memory Management (this kernel does not suffer memory leaks)
    • Improved Touchscreen processing latency
    • Improverd Fingerprint Scanner processing latency
    • Improved audio jack detection
    • Improved app launch performance
    • Upstream: ARM64, RCU, Crypto, Android Binder, SDCardFS, F2FS, EXT4, CFQ
    • CPU governors: interactive, conservative, ondemand, performance, powersave (interactive by default)
    • I/O Schedulers control: CFQ, BFQ, Maple, Noop (CFQ by default)
    • Enhanced TCP methods: westwood, reno, cubic, dctcp (westwood by default)
    • Advanced Color Control (KCAL)
    • Backlight dimmer & High brightness mode
    • Notification LED & Vibration Control
    • FSync toggle on/off (on by default)
    • WireGuard VPN tunnel support
    • Wakelocks Block Control
    • SELinux Enforcing
    • Passes SafetyNet bootloader unlock check
    • Many other misc. Improvements & Optimizations
    Status:
    8.1 Oreo Custom Unified : Updated..
    8.0 Oreo OxygenOS Unified : Updates are pending (until the Release of OxygenOS Pie)
    7.1.x Nougat OxygenOS : No Updates anymore.

    Download:
    8.1 Oreo Custom Unified : AndroidFileHost
    8.0 Oreo OxygenOS Unified : AndroidFileHost
    7.1.x Nougat OxygenOS : AndroidFileHost

    Installation:
    Flash the Kernel zip in TWRP Recovery.
    Note: if you come from other Kernel, you should dirty flash your ROM before flashing "FlashKernel.zip"

    Donate Me

    XDA:DevDB Information
    Flash Kernel for OnePlus3, Kernel for the OnePlus 3

    Contributors
    ahmedradaideh
    Source Code: https://github.com/ahmedradaideh/OnePlus3T

    Kernel Special Features: Improves Battery Life and Performance

    Version Information
    Status: Stable
    Current Stable Version: R57
    Stable Release Date: 2019-03-27
    Current Beta Version: R1 - R2

    Created 2017-03-17
    Last Updated 2019-03-27
    17
    Changelog:

    Custom R57: 27 Mar (Oreo/Pie) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.133 -> v3.18.136
    • General Fixes and improvements Codes
    • Merge F2FS GC improvements
    • Upstream: Android Binder, F2FS,
    • CleanUp and More, See My Github

    OLD Changelog:


    Custom R56: 26 Jan (Oreo/Pie) Unified for OnePlus3/3T
    • Now Support Android Pie 9 (Tested on LineageOS 16.0)
    • Upstreamed Linux Kernel version, from v3.18.124 -> v3.18.133
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-10600-8x96.0
    • General Fixes and improvements Codes
    • Merge F2FS GC improvements
    • Upstream: Android Binder, SDCardFS, F2FS, EXT4
    • arm: dts: 15801: Apply system early mount
    • arm: dts: 15801: Remove OnePlus RF Cable
    • arm: dts: 15801: Cleanup Panels Configuration
    • arm: dts: 15801: Cleanup Spaces & Duplicates
    • op3: Disable IPC Router MHI transport
    • input: synaptics: Cleanup redremote
    • power: Remove fingerprintd thaw hack
    • power: qpnp-smbcharger: Clean up PM routines and move them into worker
    • power: bq27541: Expose full charge capacity and cycle count to userspace
    • drivers: usb: Re-Apply Missing commits from Linux & android-3.18
    • CleanUp and More, See My Github

    Custom R55: 2 Nov (Oreo/Pie) Unified for OnePlus3/3T
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-01100-89xx.0
    • General Fixes and improvements Codes
    • Merge F2FS GC improvements
    • Merge branch 'Improved-logs'
    • ANDROID: Remove STRICT_MEMORY_RWX
    • arm64: alternative: Checkout to android-3.18
    • arm64: kconfig: Remove duplicate & Cleanup Spaces
    • Fix merge issue with arch/arm64/kvm/guest.c
    • pinctrl: qcom: Add irq_enable callback for msm gpio
    • New WireGuard snapshot 0.0.20181018
    • CleanUp and More, See My Github

    Custom R54: 14 Oct (Oreo/Pie) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.122 -> v3.18.124
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09900-89xx.0
    • General Fixes and improvements Codes
    • Merge CAF's improvements
    • Merge F2FS improvements
    • Merge SDCardFS improvements
    • Switch to Upstream BUG_ON_DATA_CORRUPTION
    • New WireGuard snapshot 0.0.20181007
    • CleanUp and More, See My Github

    Custom R53: 21 Sep (Oreo/Pie) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.120 -> v3.18.122
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09700-89xx.0
    • Merge F2FS improvements
    • Merge sched improvements
    • Merge vdso-32-bit improvements
    • Merge l2tp improvements
    • Merge cpu-boost improvements (Boost all CPUs to the max when userspace launches an app)
    • Revert "cpufreq: introduce cpufreq_driver_is_slow"
    • msm: mdss: xlog: Disable panic on error by default
    • ALSA: rawmidi: Undo my 3.18.117 resolution
    • UPSTREAM: mm/page-writeback: fix dirty_ratelimit calculation
    • Upstream AnyKernel2 Script
    • CleanUp and More, See My Github

    Custom R52: 31 Aug (Oreo) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.118 -> v3.18.120
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09600-89xx.0
    • Merge F2FS improvements
    • Merge Crypto improvements
    • General Fixes and improvements Codes
    • BACKPORT: block: use ktime_get_ns() instead of sched_clock() for cfq and bfq
    • Anykernel: Support Android Pie 9.0
    • CleanUp and More, See My Github

    Custom R51: 10 Aug (Oreo) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.117 -> v3.18.118
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09500-89xx.0
    • Merge Latest f2fs-stable/linux-3.18.y
    • Merge a couple interesting patches from Marlin/Pie
    • General Fixes and improvements Codes
    • kernel: Fix massive cpufreq stats memory leaks
    • scsi: ufs: call single_release to avoid memory leak
    • Driver core: wakeup the parent device before trying probe
    • CleanUp and More, See My Github

    Custom R50: 28 Jul (Oreo) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.116 -> v3.18.117
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-09300-8x96.0
    • General Fixes and improvements Codes
    • Upstream AnyKernel2 Script
    • CleanUp and More, See My Github

    Custom R49: 22 Jul (Oreo) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.115 -> v3.18.116
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09200-89xx.0
    • General Fixes and improvements Codes
    • New WireGuard snapshot 0.0.20180718
    • [media] uvcvideo: Disable hardware timestamps by default
    • Upstream AnyKernel2 Script
    • CleanUp and More, See My Github

    Custom R48: 11 Jul (Oreo) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.113 -> v3.18.115
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-09000-89xx.0
    • General Fixes and improvements Codes
    • power: Fix Fingerprintd HAL in Oreo
    • Defconfig: Enable CRYPTO_GCM
    • New WireGuard snapshot 0.0.20180708
    • PM / suspend: make sync() on suspend-to-RAM build-time optional (more save power in idle)
    • Cgroup: Remove Dead codes, Due to the bad merge from the CAF
    • CleanUp and More, See My Github

    Custom R47: 23 Jun (Oreo) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.110 -> v3.18.113
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-08900-8x96.0
    • General Fixes and improvements Codes
    • Improved touchscreen processing latency (by SultanXDA)
    • Improved bq27541 Power Driver (by SultanXDA)
    • i2c-msm-v2: Ensure system is always active for i2c transfers
    • cpu-boost: Implement Two-Step input boost & Rewrite frequency tunable
    • oneplus: pn544: Don't hold wakeup source
    • Upstream: F2FS, SDCardFS, Crypto
    • Re-Enable ARM64_SW_TTBR0_PAN For Kernel Hardening.
    • CleanUp and More, See My Github

    Custom R46: 25 May (Oreo) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.110
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-08500-89xx.0
    • General Fixes and improvements
    • Specific boosting in Performance critical scenarios
    • Upstream: ARM64, CPUidle, EXT4, F2FS, SDCardFS
    • CleanUp and More, See My Github

    Custom R45: 29 Apr (Oreo) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.107
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-08300-89xx.0
    • Improved scheduling
    • Back to 100HZ
    • ion: avoid allocate high order of pages in system heap pools
    • Replace CPU_BOOST to CPU_INPUT_BOOST (makes the phone feel smooth without destroying battery life)
    • usb: host: plat: Enable xHCI plat runtime PM
    • Upstream: ARM64, CPUidle, F2FS, SDCardFS, Sched
    • Fix Camera, tri_state_key & more
    • CleanUp and More, See My Github

    Custom R44: 16 Apr (Oreo) Unified for OnePlus3/3T
    • Build with Custom Toolchain GCC Linaro 7.3 2018.04-rc4~dev (Kryo target)
    • Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.105
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-07400-89xx.0
    • Merged a couple interesting patches [Spectre v4.4] from Linaro LSK
    • Fix corrupted images generated by the OnePlus 3/3t camera app/HAL
    • Tested on LineageOS & RR ROM
    • CleanUp and More, See My Github

    Custom R43: 10 Apr (Oreo) Unified for OnePlus3/3T
    • Build with Custom Toolchain GCC Linaro 7.3 2018.04-rc2~dev (Kryo target)
    • Upstreamed Linux Kernel version, from v3.18.99 -> v3.18.104
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-07200-89xx.0
    • misc: Synchronize codes for OxygenOS OpenBeta 32/23
    • Merged a couple interesting patches from Pixel 1 P branch
    • Merged a couple interesting patches [Spectre v4.4] from Linaro LSK
    • input: tri-state-key: Rewrite and optimize
    • kernel: Restrict unbound kthreads to little CPU cluster
    • BACKPORT: USB: core: harden cdc_parse_cdc_header
    • Specific boosting in Performance critical scenarios
    • Optimized Task Scheduling
    • Idle Power consumption reduced
    • Upstream AnyKernel2 Script
    • Tested on LineageOS & RR ROM
    • CleanUp and More, See My Github

    Custom R42: 11 Mar (Oreo) Unified for OnePlus3/3T
    • initial release, Based on LineageOS source
    • Build with Custom Gnu GCC Toolchain 7.3.0
    • Upstreamed Linux Kernel version, from v3.18.93 --> v3.18.99
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-06600-8x96.0
    • RCU Subsystem Upstream from msm.4.4
    • CleanUp and More, See My Github

    OxygenOS R42: 11 Mar (Oreo) Unified for OnePlus3/3T
    • Build with Custom Gnu GCC Toolchain 7.3.0
    • Upstreamed Linux Kernel version, from v3.18.93 --> v3.18.99
    • ANDROID: sdcardfs: Set num in extension_details during make_item
    • ANDROID: keychord: Check for write data size
    • clk: msm: clock-gcc-8996: Add 50 us delay after BLSP1 AHB clock enable
    • flash_defconfig: add CONFIG_PCI_QUIRKS back
    • Upstream AnyKernel2 Script

    Big Update R41: 17 Feb (Oreo) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.93 --> v3.18.95
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.5.r1-06300-8x96.0
    • sched/rt: Use container_of() to get root domain in rto_push_irq_work_func()
    • sched/rt: Up the root domain ref count when passing it around via IPIs
    • mm,writeback: don't use memory reserves for wb_start_writeback
    • arm64: Use optimized memcmp
    • drivers, kernel: Revert OnePlus changes
    • cpuidle: Add commit left out during CAF merge
    • cpufreq: stats: Remove unreachable OnePlus code
    • ANDROID: cpufreq: stats: add uid removal for uid_time_in_state
    • BACKPORT: xfrm: Fix return value check of copy_sec_ctx
    • F2FS File System Upstream v4.16-rc1-3.18 + Android Binder Upstream
    • ASoC: wcd-mbhc: Improve detection speed and accuracy
    • Revert OPChain Module by OnePlus + Touchboost + haptic feedback control (Causing problems)
    • Add systemless wlan.ko injection (!dirty flash your ROM (OxygenOS) before flashing!)
    • CleanUp and More, See My Github

    Big Update R40: 31 Jan (Oreo) Unified for OnePlus3/3T
    • Build with Custom GCC Linaro Toolchain 7.2.1-2018.1 Snapshot
    • Upstreamed Linux Kernel version, from v3.18.90 --> v3.18.93
    • Merge Latest CAF branch & WiFi Driver LA.UM.6.6.r1-05700-89xx.0
    • Merged a couple interesting patches from Pixel 1+2 Oreo branch
    • Merged a couple interesting patches from CopperheadOS.
    • Synchronize codes for OxygenOS OpenBeta 30/21
    • treewide: Add commits left out during CAF
    • Applied CPU security patch: CVE-2017-13218
    • blkdev: Refactoring block io latency histogram codes
    • ANDROID: ext4: don't put symlink in pagecache into highmem
    • msm-core: disable userspace access to poll_ms
    • oneplus3t: remove 'reboot edl' interface for security.
    • Upstream SDCardFS + ARM64
    • CleanUp and More, See My Github

    Big Update R39: 12 Jan (Oreo) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.90 --> v3.18.91
    • Merged a couple interesting patches from Pixel 1+2 Oreo branch
    • Marge Latest WIFI Driver LA.UM.6.5.r1-05300-8x96.0
    • Synchronize codes for OxygenOS 5.0.1
    • ANDROID dm-verity: fix root device init timing issue.
    • UPSTREAM: arm64/vdso: Fix nsec handling for CLOCK_MONOTONIC_RAW
    • UPSTREAM: arm64: module: avoid undefined shift behavior in reloc_data()
    • Upstream F2FS + Fscrypt + EXT4 + SDCardFS + ARM64
    • F2FS: Fix GC
    • Input: synaptics: restrict sysfs node write permissions
    • Defconfig: Remove unused configs for Bluetooth
    • CleanUp and More, See My Github

    R38: 1 Jan (Oreo) Unified for OnePlus3/3T
    • Synchronize codes for OxygenOS OpenBeta 29/20
    • Merged a couple interesting patches from CopperheadOS.
    • UPSTREAM KCOV + mm/slab
    • BACKPORT: arm64: apply __ro_after_init to some objects
    • BACKPORT: arm64, vdso: Define vdso_{start,end} as array
    • Defconfig: Enable ARM64_SW_TTBR0_PAN for Kernel Hardening.
    • Revert "Defconfig: Change RCU RT Prio to 1"
    • CleanUp and More, See My Github

    Big Update R37: 25 Dec (Oreo) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.86 --> v3.18.90
    • Merged a couple interesting patches from Pixel 1+2 Oreo branch
    • Add Maple I/O Scheduler (and Remove ZEN)
    • Add state notifier driver
    • Upstream LZ4 compressor
    • v4l2: Refactor, fix security bug in compat ioctl32
    • UPSTREAM: sched/rt: Do not pull from current CPU if only one CPU to pull
    • ANDROID: scsi: Add segment checking in sg_read
    • ANDROID: vfs/ext4: finish umount(2) in time and avoid errors=panic by filesystem
    • input: misc: fpc1020: add haptic feedback control similar to gestures
    • Make msm_serial_hs RT to improve bluetooth performance
    • CleanUp and More, See My Github

    R35: 30 Nov (Oreo) Unified for OnePlus3/3T
    • Build with Custom GCC Linaro Toolchain 7.2.1-2017.11~Dev (improvements)
    • Upstreamed Linux Kernel version, from v3.18.84 --> v3.18.85 (fixing & security)
    • Marge Latest WIFI Driver LA.UM.6.6.r1-04300-89xx.0
    • Upstream kernel locking driver from msm-4.4 (Thanks MSF-Jarvis)
    • ARM64 / Time / Android Binder Upstream
    • RCU: Restrict nocb kthreads to power cluster
    • Defconfig: Restrict kswapd to power cluster
    • Upstream AnyKernel2 Script
    • CleanUp and More, See My Github

    R34: 25 Nov (Oreo) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.81 --> v3.18.84 (fixing & security) :cool:
    • Marge Latest CAF branch LA.UM.6.6.r1-04300-89xx.0 (fixing & security)
    • Synchronize codes for OxygenOS 5.0.0
    • Crypto / F2FS / Android Binder Upstream
    • UPSTREAM: dm bufio: switch from a huge hash table to an rbtree
    • UPSTREAM: arm64: dump: Fix implicit inclusion of definition for PCI_IOBASE
    • cpufreq: Restore policy min/max limits on CPU online
    • lib: Disable DEBUG_BUGVERBOSE
    • CleanUp and More, See My Github

    R32: 4 Nov (Oreo) Unified for OnePlus3/3T
    • Now Kernel Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.66 --> v3.18.79 (fixing & security) :cool:
    • Marge Latest WiFi Driver & CAF branch LA.UM.6.5.r1-04000-8x96.0 (fixing & security)
    • Defconfig: remove unused kernel functions & Enable few security requirements
    • Android Binder / SDCardFs/ EXT4 Upstream
    • UPSTREAM: arm64: compat: Remove leftover variable declaration
    • UPSTREAM: fscrypt: fix dereference of NULL user_key_payload
    • ANDROID: net: xfrm: fix long lines.
    • msm-tsens: Reschedule work instead of causing uninterruptible sleep
    • irda: Fix lockdep annotations in hashbin_delete().
    • AnyKernel2 Script Upstream
    • CleanUp and More, See My Github
    16
    New Update!

    Merry Christmas Everybody :)

    Big Update R37: 25 Dec (Oreo) Unified for OnePlus3/3T
    • Upstreamed Linux Kernel version, from v3.18.86 --> v3.18.90
    • Merged a couple interesting patches from Pixel 1+2 Oreo branch
    • Add Maple I/O Scheduler (and Remove ZEN)
    • Add state notifier driver
    • Upstream LZ4 compressor
    • v4l2: Refactor, fix security bug in compat ioctl32
    • UPSTREAM: sched/rt: Do not pull from current CPU if only one CPU to pull
    • ANDROID: scsi: Add segment checking in sg_read
    • ANDROID: vfs/ext4: finish umount(2) in time and avoid errors=panic by filesystem
    • input: misc: fpc1020: add haptic feedback control similar to gestures
    • Make msm_serial_hs RT to improve bluetooth performance
    • CleanUp and More, See My Github
    Installation:
    Flash the Kernel.zip in TWRP Recovery. *recommend blu_spark TWRP Recovery.
    Note: If you come from other Kernel, you should dirty flash your ROM (OxygenOS) before flashing "FlashKernel.zip" and SuperSU or Magisk If you need.

    Enable DCI-P3 for Panel:

    echo "1" > /sys/devices/virtual/graphics/fb0/DCI_P3

    Bugs:
    Give me Logs please (console-ramoops (Random Reboot) / dmsg (Other Issue))

    Download:
    8.0.x Oreo OxygenOS Unified : AndroidFileHost
    GitHub: https://github.com/ahmedradaideh/OnePlus3T
    13
    New Update!

    R25: 30 Aug
    • Upstreamed Linux Kernel version, from v3.18.66 -> v3.18.67 --> 3.18.68 (fixing & security) :cool:
    • Add BFQ Scheduler v8r11 (Backport from Linux 4.11) (Now BFQ by Default)
    • ARM64: DTS: Adjust display power settings for panel & Fix style code
    • Drivers: Fix direct references to HZ
    • ASoC: wcdxxxx: queue work on power efficient wq
    • Defconfig: Change RCU RT Prio to 1
    • Revert LMK_ADJ_RBTREE
    • Fix Performance & battery drain standby
    • CleanUp and More, See My Github
    Installation:
    Flash the Kernel.zip in TWRP Recovery. *recommend blu_spark TWRP Recovery.
    Note: If you come from other Kernel, you should dirty flash your ROM (OxygenOS) before flashing "FlashKernel.zip" and SuperSU or Magisk If you need.

    Bugs:
    Give me Logs please (console-ramoops (Random Reboot) / dmsg (Other issue))

    Download: https://www.androidfilehost.com/?fid=961840155545592084

    GitHub: https://github.com/ahmedradaideh/OnePlus3T
    12
    New Update!

    R30: 5 Oct
    • Upstreamed Linux Kernel version, from v3.18.72 --> v3.18.73 (fixing & security) :cool:
    • Android Binder Upstream
    • F2FS File System Upstream (Fix GC)
    • Input: synaptics: s3320: Don't run baseline inside IRQ handler
    • Merge fixes for (net, UID, ipv4/6)
    • Defconfig: Disable FRAME_POINTER (Reduce Kernel size, Better cache utilization and fewer instructions executed)
    • CleanUp and More, See My Github
    Installation:
    Flash the Kernel.zip in TWRP Recovery. *recommend blu_spark TWRP Recovery.
    Note: If you come from other Kernel, you should dirty flash your ROM (OxygenOS) before flashing "FlashKernel.zip" and SuperSU or Magisk If you need.

    Enable DCI-P3 for Panel:

    echo "1" > /sys/devices/virtual/graphics/fb0/DCI_P3

    Bugs:
    Give me Logs please (console-ramoops (Random Reboot) / dmsg (Other Issue))

    Download: https://www.androidfilehost.com/?fid=673791459329051204

    GitHub: https://github.com/ahmedradaideh/OnePlus3T