[KERNEL] [UNIFIED] [CUSTOM 9.0] [3.18.140] Flash Kernel - R58 - 20 Jul

Search This thread

ahmedradaideh

Senior Member
May 30, 2014
346
1,981
New Update!

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

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" and SuperSU or Magisk If you need.

Enable sRGB/DCI-P3 for Panel:

Code:
echo "1" > /sys/devices/virtual/graphics/fb0/srgb
echo "1" > /sys/devices/virtual/graphics/fb0/DCI_P3

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

Status:
8.0.x Oreo OxygenOS Unified : Updates are pending (until the Release of OxygenOS 8.1)
8.1.0 Oreo Custom Unified : Updated..

Download:
 

ViperXvenom8888

Senior Member
May 13, 2015
482
438
New Update!

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


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" and SuperSU or Magisk If you need.

Enable sRGB/DCI-P3 for Panel:



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

Status:
8.0.x Oreo OxygenOS Unified : Updates are pending (until the Release of OxygenOS 8.1)
8.1.0 Oreo Custom Unified : Updated..

Download:
8.1.0 Oreo Custom Unified : AndroidFileHost
GitHub: https://github.com/ahmedradaideh/OnePlus3T

First of all I want to thank you for the awesome Kernel!!!

I just wanted to ask if it will be upstreamed to Kernel 3.18.115 in the future.

Thanks again :D
 
  • Like
Reactions: ahmedradaideh

ahmedradaideh

Senior Member
May 30, 2014
346
1,981
New Update!

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

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" and SuperSU or Magisk If you need.

Enable sRGB/DCI-P3 for Panel:

Code:
echo "1" > /sys/devices/virtual/graphics/fb0/srgb
echo "1" > /sys/devices/virtual/graphics/fb0/DCI_P3

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

Status:
8.1.0 Oreo Custom Unified : Updated..
8.0.x Oreo OxygenOS Unified : Updates are pending (until the Release of OxygenOS 8.1)

Download:
 
Last edited:

ahmedradaideh

Senior Member
May 30, 2014
346
1,981
New Update!

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

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" and SuperSU or Magisk If you need.

Enable sRGB/DCI-P3 for Panel:

Code:
echo "1" > /sys/devices/virtual/graphics/fb0/srgb
echo "1" > /sys/devices/virtual/graphics/fb0/DCI_P3

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

Status:
8.1.0 Oreo Custom Unified : Updated..
8.0.x Oreo OxygenOS Unified : Updates are pending (until the Release of OxygenOS 8.1)

Download:
 

Alahoy27

Senior Member
Mar 13, 2016
144
52
Manila
I am eager to try out your kernel, however, my device is unable to boot upon flashing (goes to bootloader screen after). I am currently on Nitrogen OS.
 

ahmedradaideh

Senior Member
May 30, 2014
346
1,981
New Update!

Custom R50: 28 Jul (Oreo) Unified for OnePlus3/3T
  • Upstreamed Linux Kernel version, from v3.18.115 -> 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

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" and SuperSU or Magisk If you need.

Enable sRGB/DCI-P3 for Panel:

Code:
echo "1" > /sys/devices/virtual/graphics/fb0/srgb
echo "1" > /sys/devices/virtual/graphics/fb0/DCI_P3

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

Status:
8.1.0 Oreo Custom Unified : Updated..
8.0.x Oreo OxygenOS Unified : Updates are pending (until the Release of OxygenOS 8.1)

Download:
 

caryle

Senior Member
May 18, 2017
129
17
How to flash kernel in the right sequence? I used to dirty flash ROM, then magisk and Xposed, finally flash kernel. Is it the right sequence?

Sent from my OnePlus 3T using XDA Labs
 

ahmedradaideh

Senior Member
May 30, 2014
346
1,981
New Update!

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

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" and SuperSU or Magisk If you need.

Enable sRGB/DCI-P3 for Panel:

Code:
echo "1" > /sys/devices/virtual/graphics/fb0/srgb
echo "1" > /sys/devices/virtual/graphics/fb0/DCI_P3

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

Status:
8.1 Oreo Custom Unified : Updated..
8.0 Oreo OxygenOS Unified : Updates are pending (until the Release of OxygenOS Pie)

Download:
 

ahmedradaideh

Senior Member
May 30, 2014
346
1,981
New Update!

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

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" and SuperSU or Magisk If you need.

Enable sRGB/DCI-P3 for Panel:

Code:
echo "1" > /sys/devices/virtual/graphics/fb0/srgb
echo "1" > /sys/devices/virtual/graphics/fb0/DCI_P3

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

Status:
8.1 Oreo Custom Unified : Updated..
8.0 Oreo OxygenOS Unified : Updates are pending (until the Release of OxygenOS Pie)

Download:
 

caryle

Senior Member
May 18, 2017
129
17
This kernel is very useful, but I got a question. Will 3T update Linux kernel to 4.x? Will this kernel support wedtwood+ or bbr?

Sent from my OnePlus 3T using XDA Labs
 

immi803

Senior Member
Jun 14, 2012
1,274
599
@ahmedradaideh

I'm coming from a well-known kernel for op3t and I'm amazed by your work
Big thumbs-up for this great piece of work, using r42 with 5.0.5 and it's most battery friendly kernel available

I hope you can provide updates for OOS version as One Plus has already announced pie for op3/op3t

Can we expect OOS updates or any change of mind? :eek:
 

ahmedradaideh

Senior Member
May 30, 2014
346
1,981
This kernel is very useful, but I got a question. Will 3T update Linux kernel to 4.x? Will this kernel support wedtwood+ or bbr?

Sent from my OnePlus 3T using XDA Labs
No.
Yes.
No, maybe Next Release.

@ahmedradaideh

I'm coming from a well-known kernel for op3t and I'm amazed by your work
Big thumbs-up for this great piece of work, using r42 with 5.0.5 and it's most battery friendly kernel available

I hope you can provide updates for OOS version as One Plus has already announced pie for op3/op3t

Can we expect OOS updates or any change of mind? :eek:
yes, I wait for the pie.
 
  • Like
Reactions: immi803 and caryle

ahmedradaideh

Senior Member
May 30, 2014
346
1,981
New Update!

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

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" and SuperSU or Magisk If you need.

Enable sRGB/DCI-P3 for Panel:

Code:
echo "1" > /sys/devices/virtual/graphics/fb0/srgb
echo "1" > /sys/devices/virtual/graphics/fb0/DCI_P3

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

Status:
8.1 Oreo Custom Unified : Updated..
8.0 Oreo OxygenOS Unified : Updates are pending (until the Release of OxygenOS Pie)

Download:
 

ahmedradaideh

Senior Member
May 30, 2014
346
1,981
New Update!

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

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" and SuperSU or Magisk If you need.

Enable sRGB/DCI-P3 for Panel:

Code:
echo "1" > /sys/devices/virtual/graphics/fb0/srgb
echo "1" > /sys/devices/virtual/graphics/fb0/DCI_P3

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

Status:
8.1 Oreo Custom Unified : Updated..
8.0 Oreo OxygenOS Unified : Updates are pending (until the Release of OxygenOS Pie)

Download:
 
Last edited:

Top Liked Posts

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

    Kernel features:
    • Upstreamed Linux Kernel version, from v3.18.31 -> v3.18.140
    • Merge Latest CAF Kernel Source & WiFi Driver LA.UM.7.6.r1-05500-89xx.0
    • Build -O2 and with Custom Toolchain GCC Linaro 7.4.1 2019.02 (Kryo target)
    • Removed unused Functions & logging options (Speed bootup and Shrink attack surface)
    • Enable Kernel hardening features to help mitigate kernel vulnerabilities
    • General Security Upstream CVEs and Linux fixes and CAF
    • 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
    • Improved Fingerprint Scanner processing latency
    • Improved Audio jack detection
    • 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, Noop (CFQ by default)
    • Westwood+ TCP congestion algorithm
    • 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

    Download:
    Latest kernel
    Old Kernel
    Kernel Source

    Installation:
    You can use the zip file to flash the kernel from your existing TWRP recovery.

    Status:
    9 Pie Custom Unified : Updated..
    8.1 Oreo Custom Unified : No Updates anymore
    8.0 Oreo OxygenOS Unified : No Updates anymore
    7.1.x Nougat OxygenOS : No Updates anymore

    Donate Me

    XDA:DevDB Information
    Flash Kernel for OnePlus 3/3T, Kernel for the OnePlus 3T

    Contributors
    ahmedradaideh
    Kernel Special Features:

    Version Information
    Status: Stable

    Created 2017-03-17
    Last Updated 2019-07-22
    20
    New Update!

    Notice: You need to Use ROM supports OxygenOS 9.0 Pie blobs! Like LineageOS 16.0

    Custom R58: 20 Jul (Pie) Unified for OnePlus 3/3T
    • Upstreamed Linux Kernel version, from v3.18.136 -> v3.18.140
    • Merge Latest CAF Kernel Source & WiFi Driver LA.UM.7.6.r1-05500-89xx.0
    • Merge Latest AOSP android-3.18 branch
    • Merge Improvements codes from OOS Pie
    • General Fixes and improvements Codes
    • Merge F2FS GC improvements
    • Disable SECCOMP & AUDIT (Lower overhead)
    • perf: Cancel the mux hrtimer during CPU hotplug to avoid migration
    • CleanUp and More, See My Github

    Installation:
    You can use the zip file to flash the kernel from your existing TWRP recovery.

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

    Download:
    Latest kernel
    Old Kernel
    Kernel Source
    12
    New Update!

    R19: 13 July
    • Update WiFi Driver to LA.UM.5.5.r1-05100-8x96.0 & Fix memory leak issue
    • Merged a couple interesting patches from O-preview 3 release
    • ARM: dts: 15801: Disable core hotplugging, up the mitigation freq
    • BACKPORT: PM / sleep: Go direct_complete if driver has no callbacks
    • arm64: copy_to-from-in_user optimization using copy template & arm64: ensure extension of smp_store_release value
    • Upstream Patches from ARM & Google & Linux
    • Security Patches (July)
    • F2FS latest Upstream
    • drivers: video: Add bounds checking in fb_cmap_to_user
    • memshare: Fix possible memory leak
    • ANDROID: mnt: Fix next_descendent
    • Unsetting DEVPORT from oneplus3/t configurations. (smaller kernel, attack surface reduction)
    • USB Upstream
    • Optimized task scheduling
    • AnyKernel2 Script Upstream
    • Revert some commit causing a kernel panic
    • 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.

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

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

    R14: 31 May
    • Merge Last CAF branch LA.UM.5.5.r1-04600-8x96.0 & Rebase Source Code
    • Build -O2 (Gives the best performance, But the size increases +1Mb) and with GCC Linaro Toolchain 6.3.1-2017.05
    • Input: synaptics: s3320: Fix unsafe memory accesses in procfs nodes & synaptics: s1302: Don't directly access user memory in fw_write
    • Proc: Remove additional SafetyNet flags from /proc/cmdline
    • Upstream Patches from Google & Chromium & Linux 3.18.55
    • ANDROID: mnt: Fix next_descendent
    • SDCardFS Last upstream
    • Security Patches
    • Ramdisk update, AnyKernel2 script upstream
    • Revert some commit causing a kernel panic
    • And More, See My Github
    Installation:
    Flash the Kernel zip in 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.

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

    GitHub: https://github.com/ahmedradaideh/OnePlus3T
    11
    Hello Everybody :eek:

    New Update: r8 / 25 April

    Changelog:
    • Rebase Source Code & Remove Underclocking big.LITTLE (Now Stock)
    • F2FS Upstream 3.18.y
    • SDCardFS last Upstream (doesn't fix I/O Bug)
    • Some patches from google & codeaurora
    • Security update
    • net & tcp Upstream
    • flash_defconfig: Switch to userspace LMK (Best MultiTasking)
    • flash_defconfig: Refresh
    • ramdisk: Update Cpuset & Cleanup
    • revert some commit not used
    • sepolicy changes should now work fine with Magisk root