FORUMS
Remove All Ads from XDA

[KERNEL] [OP3T] [OOS 4.1+] [GCC 7.1.1] [Linux 3.18.71] Flash Kernel - R28 - 19 Sep

229 posts
Thanks Meter: 1,421
 
Post Reply Email Thread
Announcement from ahmedradaideh: Flash Kernel R28 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:
  • Upstreamed Linux Kernel version, from v3.18.31 -> v3.18.71
  • Merge Last CAF branch & WiFi Driver LA.UM.5.5.r1-05800-8x96.0
  • Build -O2 and with Toolchain GCC Linaro 7.1.1-2017.8.5 (Cortex-A57 target)
  • No OverClock, Set 300HZ ARM base timer frequency
  • General Security upstream CVEs and CAF and Linux fixes
  • Removed unused Kernel Functions & logging options (Speed bootup and also Shrink attack surface)
  • Specific boosting in Performance critical scenarios
  • Optimized Task Scheduling
  • Idle Power consumption reduced
  • Enable & Tweaks CPUsets (Improves battery life and Performance)
  • Enable & Tweaks Power Efficient Workqueues
  • Enable Kernel Memory Hardening
  • CPU governors: interactive, blu_active, conservative, ondemand, performance, powersave (interactive by default)
  • I/O Schedulers control: CFQ, Deadline, FIOPS, ZEN (CFQ by default)
  • Enhanced TCP methods: westwood, reno, cubic, dctcp (westwood by default)
  • LMK Enabled by default, Background apps limit up to 60 (from stock 32)
  • DevFreq & KGSL Upstream, GPU Idle to 100MHz
  • Touchboost (disabled by default)
  • Advanced Color Control (KCAL)
  • Backlight dimmer & High brightness mode
  • Haptic Feedback Screen toggle on/off (on by default)
  • Notification LED & Vibration Control
  • FSync toggle on/off (on by default)
  • DASH Charge and USB Fast Charge rate up to 900mA
  • AES, SHA1, SHA2, NEON support
  • SELinux Enforcing
  • Passes SafetyNet
  • Disable some Wakelocks of Kernel side
  • Many other misc. Improvements & Optimizations
  • 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 OnePlus3T, Kernel for the OnePlus 3T

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

Kernel Special Features: improves battery life and performance

Version Information
Status: Stable
Current Stable Version: R28
Stable Release Date: 2017-09-19
Current Beta Version: R1 - R2

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

R28: 19 Sep
  • Upstreamed Linux Kernel version, from v3.18.70 -> v3.18.71 (fixing & security) :cool:
  • Marge Last WiFi Driver & CAF branch LA.UM.5.5.r1-05800-8x96.0 (fixing & security) :
  • Synchronize codes for OxygenOS OpenBeta 24/15
  • msm-core: Rework resampling processing
  • ANDROID: configs: remove config fragments
  • interactive: avoid calling usecs_to_jiffies() repeatedly
  • binder: make FIFO inheritance a per-context option
  • drivers: Warning fixes to disable CC_OPTIMIZE_FOR_SIZE
  • CleanUp and More, See My Github
OLD Changelog:


R27: 13 Sep
  • Upstreamed Linux Kernel version, from v3.18.69 -> v3.18.70 (fixing & security) :cool:
  • Merge patches from Codeaurora
  • ANDROID: mnt: Fix freeing of mount data
  • Add LCD backlight min/max limits
  • Cpufreq: interactive: fix to come out of hysteresis mode
  • Revert "Revert "rcu: Make RCU_FAST_NO_HZ take advantage of numbered callbacks"" (Increase the CPU idling times)
  • Ramdisk: CleanUp & Enable prevent scheduling less important tasks on high perf cpus.
  • Fix Random Reboot & App Crash.
  • CleanUp and More, See My Github

R26: 6 Sep
  • Upstreamed Linux Kernel version, from v3.18.66 -> v3.18.69 (fixing & security) :cool:
  • Synchronize codes for OxygenOS OpenBeta 23/14 [Now Support DCI-P3 for OnePlus3]
  • Android Binder Upstream
  • F2FS File System Upstream
  • CFQ Scheduler Upstream
  • ARM: dts: msm: Update temperature threshold limits for EA for 8996
  • Softirq: defer softirq processing to ksoftirqd if CPU is busy with RT
  • UPSTREAM: all arches, signal: move restart_block to struct task_struct
  • Kthread: Backport queuing_blocked()
  • CPU-Boost: Rework scheduling setup
  • Fix qcacld-2.0 buffer overflows
  • CleanUp and More, See My Github

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 and LMK_ADJ_RBTREE
  • Fix Performance & battery drain standby
  • CleanUp and More, See My Github

R24: 23 Aug
  • Upstreamed Linux Kernel version, from v3.18.65 -> v3.18.66 (fixing & security) :cool:
  • Marge Last CAF branch LA.UM.5.5.r1-05700-8x96.0 (fixing & security) :)
  • Update WiFi Driver to LA.UM.5.5.r1-05700-8x96.0
  • Synchronize codes for OxygenOS 4.1.7
  • Merged a couple interesting patches from Oreo release (Marlin)
  • ANDROID: check dir value of xfrm_userpolicy_id
  • UPSTREAM: kdb: use task_cpu() instead of task_thread_info()->cpu
  • Include: asm-generic: Use the HZ value of defconfig instead
  • Android Binder Upstream & add hwbinder,vndbinder to BINDER_DEVICES.
  • BACKPORT: x86/mm: Always enable CONFIG_DEBUG_RODATA and remove the Kconfig option
  • Update: flash_defconfig: remove unused kernel functions (This helps to speed boot up and Reduce kernel size [1Mb] and also shrink attack surface.)
  • Remove iosched switcher (Fixed wake lag issues)
  • AnyKernel2 Upstream
  • CleanUp and More, See My Github

R23: 15 Aug
  • Upstreamed Linux Kernel version, from v3.18.63 -> v3.18.64 -> v3.18.65 (fixing & security) :cool:
  • Merged a couple interesting patches from O-preview 4 release
  • Convert few critical drivers to use msecs_to_jiffies insted of HZ
  • Qcacld-2.0: Remove wow wake lock overloading
  • Ion: system_secure_heap: fix constant logical comparison bug
  • CHROMIUM: cpufreq: interactive: calculate load before freq change & Remove the jump_to_max hack
  • 8996: sync up with CodeAurora and disable serial console
  • Update: flash_defconfig: remove unused kernel functions (This helps to speed boot up and Reduce kernel size [1Mb] and also shrink attack surface.)
  • Revert "proc: smaps: Allow smaps access for CAP_SYS_RESOURCE" (This fixes CVE-2017-0710)
  • cpuidle:lpm: Fix div by zero bug
  • CleanUp and More, See My Github

R22: 6 Aug
  • Build with Custom GCC Linaro Toolchain 7.1.1-2017.08.5 Dev (improvements)
  • Upstreamed Linux Kernel version, from v3.18.62 -> v3.18.63 (fixing & security) :cool:
  • Marge Last CAF branch LA.UM.5.5.r1-05400-8x96.0 (fixing & security) :)
  • Update WiFi Driver to LA.UM.5.5.r1-05400-8x96.0
  • Synchronize codes for OxygenOS OpenBeta 21/12
  • ReEnable LMK and LMK_ADJ_RBTREE
  • ReEnable automatic compaction mechanism
  • F2FS Upstream from common/Android
  • Fixing MTP after Upstream Kernel
  • msm: mdss: Fix occasional panic on init due to race in DSI status driver
  • input: tri_state_key: Fix direct references to HZ
  • fs/exec: fix use after free in execve
  • Revert some commit causing a kernel panic (proc: smaps: Allow smaps access for CAP_SYS_RESOURCE & Transparent huge pages & Switch userspace LMK)
  • And More, See My Github

R21: 27 July
  • Build with Custom GCC Linaro Toolchain 7.1.1-2017.08Dev (improvements)
  • Upstreamed Linux Kernel version, from v3.18.31 -> v3.18.62 (fixing & security) :cool:
  • UPSTREAM: af_key: Fix sadb_x_ipsecrequest parsing
  • ANDROID: android-verity: mark dev as rw for linear target
  • Revert "proc: smaps: Allow smaps access for CAP_SYS_RESOURCE" (This fixes CVE-2017-0710)
  • f2fs: avoid cpu lockup
  • And More, See My Github

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

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 User Says Thank You to ahmedradaideh For This Useful Post: [ View ] Gift ahmedradaideh Ad-Free
17th March 2017, 09:05 PM |#4  
Senior Member
Thanks Meter: 126
 
More
Thx for joing the party. This is the same team from Nexus 6p kernel?
https://forum.xda-developers.com/nex...-v1-0-t3437247
The Following User Says Thank You to keaheng For This Useful Post: [ View ] Gift keaheng Ad-Free
17th March 2017, 09:15 PM |#5  
ahmedradaideh's Avatar
OP Senior Member
Thanks Meter: 1,421
 
Donate to Me
More
Quote:
Originally Posted by keaheng

Thx for joing the party. This is the same team from Nexus 6p kernel?
https://forum.xda-developers.com/nex...-v1-0-t3437247

you are welcome, no
17th March 2017, 09:26 PM |#6  
Mayex's Avatar
Senior Member
Flag Rzeszów
Thanks Meter: 95
 
More
Thanks. Testing now
18th March 2017, 02:22 PM |#7  
mukesh22584's Avatar
Senior Member
Flag Delhi
Thanks Meter: 1,502
 
Donate to Me
More
Quote:
Originally Posted by ahmedradaideh

you are welcome, no

If this is not same team why same name...
The Following User Says Thank You to mukesh22584 For This Useful Post: [ View ] Gift mukesh22584 Ad-Free
18th March 2017, 04:05 PM |#8  
YongJeah's Avatar
Senior Member
Flag Canton
Thanks Meter: 88
 
More
any suggest tweak app ?
18th March 2017, 06:30 PM |#9  
Senior Member
Thanks Meter: 296
 
More
Quote:
Originally Posted by YongJeah

any suggest tweak app ?

Ex kernel app.. Oe if u want something free.. Kernel Adiutor
18th March 2017, 07:48 PM |#10  
nathanchance's Avatar
Recognized Developer / Recognized Contributor
Flag Mesa, AZ
Thanks Meter: 33,059
 
More
Quote:
Originally Posted by keaheng

Thx for joing the party. This is the same team from Nexus 6p kernel?
https://forum.xda-developers.com/nex...-v1-0-t3437247

Nope.
18th March 2017, 07:56 PM |#11  
scafroglia93's Avatar
Senior Member
Flag Soliera
Thanks Meter: 264
 
Donate to Me
More
LOL
Post Reply Subscribe to Thread

Tags
flashkernel, oneplus3t, op3t, 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