FORUMS
Remove All Ads from XDA

[KERNEL] [OP3] [OOS 4.1.6+] [Linaro 7.1.1] Flash Kernel - R20 - 21 July

190 posts
Thanks Meter: 1,265
 
Post Reply Email Thread
Announcement from ahmedradaideh: Flash Kernel R20 is Out!
Code:
/*
 * Your warranty is... still valid?
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this Kernel
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 *
 */

Kernel features:
  • Build OP3/OP3T Kernel based on OnePlusOSS/android_kernel_oneplus_msm8996
  • Build -O2 and with Toolchain GCC Linaro 7.1.1-2017.05 (Cortex-A57 target)
  • Merge Last CAF branch & WiFi Driver LA.UM.5.5.r1-05300-8x96.0
  • General Security upstream CVEs and CAF and Linux fixes
  • Enhanced Performance and battery patches
  • Idle Power consumption reduced
  • Removed some debug and logging options
  • No OverClocking, Set 300HZ ARM base timer frequency
  • CPU governors: interactive, blu_active, conservative, ondemand, performance, powersave (interactive by default)
  • I/O Schedulers control & add I/Osched switcher, added CFQ, Deadline, SIO, FIOPS, ZEN (ZEN by default)
  • Enhanced TCP methods, added TCP westwood, reno, cubic, vegas, htcp (westwood by default)
  • Touchboost (disabled by default)
  • Advanced Color Control (KCAL)
  • Backlight dimmer & High brightness mode
  • Sound & Vibration Control
  • Notification LED Control
  • Haptic Feedback Screen toggle on/off (on by default)
  • Enabled & Tweaks CPUsets (improves battery life and performance)
  • Enabled Power Efficient workqueue & Tweaks
  • Switch to userspace LMK, Background apps limit up to 60 (from stock 32)
  • DevFreq & KGSL Upstream, GPU Idle to 100MHz
  • FSync toggle on/off (on by default)
  • SDCardFS latest Upstream
  • AES, SHA1, SHA2, NEON support
  • Disable some Wakelocks of Kernel side
  • DASH Charge and USB Fast Charge rate up to 900mA
  • Many other misc. Improvements & Optimizations
  • SELinux Enforcing
  • SafetyNet PASS
  • Compatible with systemless Root
  • Built with AnyKernel2 Script
Download:
AndroidFileHost

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.

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: r20
Stable Release Date: 2017-07-21
Current Beta Version: r1 - r2

Created 2017-03-17
Last Updated 2017-07-21
The Following 31 Users Say Thank You to ahmedradaideh For This Useful Post: [ View ] Gift ahmedradaideh Ad-Free
 
 
17th March 2017, 07:53 PM |#2  
ahmedradaideh's Avatar
OP Senior Member
Thanks Meter: 1,265
 
Donate to Me
More
Changelog:

R20: 21 July
  • Marge Last CAF branch LA.UM.5.5.r1-05300-8x96.0 (fixing & security)
  • Update WiFi Driver to LA.UM.5.5.r1-05300-8x96.0
  • F2FS: catch up with v4.13-rc1-3.18
  • Qcom-cpufreq: Use CLKFLAG_NO_RATE_CACHE
  • Sched: core: fix window misalignment when HZ=300
  • Thermal-core: Fix invalid sensor data being accepted
  • ARM: dts: msm: Rework and unify msm-thermal setup
  • Defconfig: remove unused kernel funtions (This helps to speed bootup and Reduce kernel size and also shrink attach surface.)
  • Defconfig: Enable TRANSPARENT_HUGEPAGE (speeding up page faults during memory allocation, by reducing the number of tlb misses and by speeding up the pagetable walking.)
  • arm64: Fix section mismatch error introduced by latest gcc update
  • And More, See My Github
OLD Changelog:

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

R18: 3 July
  • Marge Last CAF branch LA.UM.5.5.r1-05100-8x96.0 (fixing & security)
  • Merge Last F2FS from branch 3.18.y & Re-add OnePlus Codes (Good Performance)
  • Upstream Patches from Google & Linux 3.18.58/59
  • Security Patches
  • Make kernel text and rodata read-only (High Security)
  • UPSTREAM: selinux: enable genfscon labeling for tracefs
  • UPSTREAM: usb: gadget: f_fs: avoid out of bounds access on comp_desc
  • cpu-hotplug: Always use real time scheduling when hotplugging a CPU
  • treewide: Properly fix use of uninitialized variables
  • And More, See My Github

R17: 23 June
  • ReMarge CAF branch LA.UM.5.5.r1-04000/04300/04600/04700/04900-8x96.0 (fixing & security)
  • Update WiFi Driver to LA.UM.5.5.r1-04900-8x96.0
  • Synchronize codes for OxygenOS 4.1.5 & OxygenOS OpenBeta 18/9
  • Upstream Patches from ARM & Google & Linux 3.18.56/57
  • Security Patches
  • Enabled Power Efficient workqueue & Tweaks (Best Battery Life)
  • Replace UID_CPUTIME to UID_SYS_STATS
  • Make msm_serial_hs RT to improve bluetooth performance
  • mm: compaction: Add automatic compaction mechanism
  • ext4: keep existing extra fields when inode expands & ext4: fix SEEK_HOLE
  • defconfig: Enable CONFIG_RCU_BOOST & KTHREAD_PRIO
  • Ramdisk: Update & Cleanup
  • And More, See My Github

R16: 14 June
  • Synchronize codes for OxygenOS 4.1.6
  • Fixed not working alarm clock
  • Upstream Patches from Google & Linux 3.18.56
  • BACKPORT: aio: mark AIO pseudo-fs noexec & ext4: fix data exposure after a crash
  • PM / devfreq: Remove null termination in boost_devices
  • And More, See My Github

R15: 9 June
  • Currently remove all merged CAF updates (General problems after Oxygen 4.1.5)
  • Synchronize codes for OxygenOS 4.1.5 & Rebase Source Code
  • Build with GCC Linaro Toolchain 7.1.1-2017.05 (improvements)
  • Upstream Patches from & ARM & Google
  • Security Patches
  • Makefile: opt-out from 835769/843419 errata fixes
  • ANDROID: hid: uhid: implement refcount for open and close
  • cpuset: make sure new tasks conform to the current config of the cpuset & cpuset: handle race between CPU hotplug and cpuset_hotplug_work
  • kgsl: Increase priority of RT thread & mdss: Update RT priority
  • qcacld-2.0: fix build when !WLAN_DEBUG & Force disable DPTRACE
  • Ramdisk update
  • And More, See My Github

R14: 31 May
  • Merge Last CAF branch LA.UM.5.5.r1-04300-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

R13: 20 May
  • Update WiFi Drivers to LA.UM.5.5.r1-04600-8x96.0 & Quick hack module to load
  • Add Squash commits from LA.UM.5.5.r1-04600-8x96.0 (fixing & security)
  • SDCardFS Last Upstreams
  • Security Patches (May)
  • Kernel: Only expose su when daemon is running & Fix potential refcount leak in su check
  • Upstream Patches from Google & Linux 3.18.54
  • PM / devfreq: Reduce wake boost duration to 5000 ms
  • MSM-core: Fix uninitialized sampling work
  • ANDROID: rfkill: fix unused function warning & sched upstreams
  • And More, See My Github

R12: 13 May
  • PM / devfreq: Add an interface to boost devices when the screen is woken
  • Add Touchboost (disabled by default)
  • Add blu_active governor and Tweak
  • SDCardFS Last Upstreams and fixed OP File Manager not show files
  • Security Patches
  • USB Upstreams
  • Upstream Patches from Google & Linux 3.18.52
  • Disable ZRAM & SWAP (we have plenty of RAM)
  • UFS: Fix crashes caused by uninitialized completion usage
  • Flash_defconfig: Enable CONFIG_JUMP_LABEL & Cleanup
  • Silence logs spam
  • Rebase SorceCode & Revert some commit causing a kernel panic
  • Ramdisk: Update & Cleanup
  • And More, See My Github

R11: 5 May
  • Build with Snapshots Toolchain GCC Linaro 6.3.1-2017.05-rc1
  • Improved power consumption while the screen is off and reduced latency when turning the screen on by @Sultanxda (more info)
  • Power: msm-core: Compile out temperature polling
  • Security Update
  • USB Upstreams
  • Some Patches from Google & Linux 3.18.51
  • Revert Haptic Feedback Control to Alert Slider and FPR (Causing problems in system vibrations) and some commit not used
  • Ramdisk: Update
  • Updated AnyKernel 2 Script
  • Merge Last CAF branch LA.UM.5.5.r1-04300-8x96.0 & Rebase Source Code
  • New WIFI Driver from CAF branch LA.UM.5.5.r1-04300-8x96.0
  • SDCardFS last Upstream (doesn't fix I/O Bug)
  • Latest Security Patches (April)
  • Some Patches from Google & Linux 3.18.50
  • Haptic Feedback Control to Alert Slider and FPR
  • Ramdisk: Update & Cleanup
  • Revert some commit not used
  • Sepolicy changes should now work fine with Magisk root
  • Updated AnyKernel 2 Script

r8: 25April
  • 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

r7: 12April
  • input: synaptics: fw_update: Fix various memory leaks
  • Some patches from google & linaro
  • Security update
  • Enable RCU_BOOST

r6: 5April
  • update disable weaklocks (more battery life)
  • Swapiness decrease to 20% we have plenty of RAM
  • Security update
  • sdcardfs upstream
  • Remove new OEM log
  • Ramdisk: Update & Cleanup

r5: 27Mar
  • more thoroughly deactivation of wakelocks. from franciscofranco.
  • security update
  • ramdisk: Update & Cleanup

r4: 22Mar
  • 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 patches 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

r3: 17Mar
  • initial release
  • Based on last source for OnePlus N7.1
The Following 11 Users Say Thank You to ahmedradaideh For This Useful Post: [ View ] Gift ahmedradaideh Ad-Free
17th March 2017, 08:02 PM |#4  
madsponge26's Avatar
Senior Member
Flag Doha
Thanks Meter: 989
 
More
Nice mate.. another kernel to use!
17th March 2017, 08:20 PM |#6  
bassgenerator's Avatar
Senior Member
Flag Bansk√° Bystrica
Thanks Meter: 219
 
More
thx bro.
19th March 2017, 11:07 AM |#7  
Senior Member
Thanks Meter: 137
 
More
Good to see more kernels! Welcome to op3 family!
20th March 2017, 04:20 PM |#8  
jmtjr278's Avatar
Senior Member
Thanks Meter: 351
 
More
Is this based on Nathan Chancellor aka @The Flash kernel for Nexus 6p?

Sent from my ONEPLUS A3000 using Tapatalk
The Following User Says Thank You to jmtjr278 For This Useful Post: [ View ] Gift jmtjr278 Ad-Free
20th March 2017, 04:30 PM |#9  
liam_davenport's Avatar
Senior Member
Flag Wakefield
Thanks Meter: 1,870
 
More
Quote:
Originally Posted by jmtjr278

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

Sent from my ONEPLUS A3000 using Tapatalk

No
20th March 2017, 04:48 PM |#10  
jmtjr278's Avatar
Senior Member
Thanks Meter: 351
 
More
Just the same name?

Sent from my ONEPLUS A3000 using Tapatalk
20th March 2017, 06:57 PM |#11  
The Flash's Avatar
Forum Moderator / Recognized Developer
Flag Mesa, AZ
Thanks Meter: 31,040
 
More
Quote:
Originally Posted by jmtjr278

Just the same name?

Sent from my ONEPLUS A3000 using Tapatalk

Yes, two completely independent Flash Kernels
The Following User Says Thank You to The Flash For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
flash kernel, oneplus3, op3, oxygenos

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes