FORUMS
Remove All Ads from XDA

 View Poll Results: What new feature would you like to see in future?

UV support
 
3 Vote(s)
11.11%
OC
 
1 Vote(s)
3.70%
Some more battery tweaks
 
18 Vote(s)
66.67%
Some more Performance boost
 
5 Vote(s)
18.52%
A new governor? (Specify in thread)
 
0 Vote(s)
0%

[KERNEL][UBER 5.3/6.0][LINUX 3.4.110]RESURRECTED KERNEL[Bacon][O3][CM12.1/CM13]

5,892 posts
Thanks Meter: 33,394
 
Post Reply Email Thread
Hi, all.
This is a kernel based on Cm12.1 . /CM13
All Optimizations Added To Improve Battery Life And Prevent Compromising Of performance AND giving you a Smooth And Fast Experience As Compared To A Stock Aosp Base

LETS KEEP THIS FAST AND SIMPLE GUYS





Features (Cm12/12.1):-

-Built With UBER TC gcc 6.0
-Based on Linux kernel 3.4.110
-Optimizations To Boost Performance and Reduce Drain:-

-g0, -fivopts, -fno-inline-function optimizations
-Graphite Optimizations
-O3 Optimizations

HOSTCXXFLAGS:- :-
-O3
-fgcse-las
-fgraphite
-floop-flatten
-floop-parallelize-all
-ftree-loop-linear
-floop-interchange
-floop-strip-mine
-floop-block
-Wall
-Wundef
-Wstric
-prototypes
-Wno
-trigraphs
-fno-strict-aliasing

Cpu Governors:-

-interactive
-performance-
-ondemand
-ondemandplus
-impulse
-zzmove
-pegasusq
-nightmare
-intellimm
-slim
-smartmax_eps
-smartmax
-wheatley
-intellidemand
-zzmove
-userspace
-powersavee
-conservative
-lionheart

- I/O schedulers:-
-Zen
-TripnDroid
-Bfq
-Cfq
-deadline
-noop
-row


Other Main Features
- disabled Add Random, CRC, I/O Stats and Rotational for better performance

- KCAL SUPPORTED
- Fast Charge Support
- Franco Sound Control
- input touch boost enabled

-Thermal core control toggle
- MpDecision Hotplug
- fsync enabled

- optimized TCP congestion algorithm:reno and cubic
- Adreno Idler For GPU
- GPU stats for each frequency
- lowerd GPU voltages

-f2fs support

-Sweep2Sleep
-Kexec hardboot supported
-Always based on latest OnePlus One kernel sources
-Double Tap To wake

-GPU idle frequency 27 Mhz added
-Ext4 File system tweaks
-init.d support

[B]


Features (CM13):-


-Built With UBER TC gcc 6.0
-Based on Linux kernel 3.4.110
-Optimizations To Boost Performance and Reduce Drain:-

-g0, -fivopts, -fno-inline-function optimizations
-Graphite Optimizations
-O3 Optimizations

HOSTCXXFLAGS:- :-
-O3
-fgcse-las
-fgraphite
-floop-flatten
-floop-parallelize-all
-ftree-loop-linear
-floop-interchange
-floop-strip-mine
-floop-block
-Wall
-Wundef
-Wstric
-prototypes
-Wno
-trigraphs
-fno-strict-aliasing

Cpu Governors:-

-interactive
-performance-
-ondemand
-ondemandplus
-impulse
-zzmove
-pegasusq
-nightmare
-intellimm
-slim
-smartmax_eps
-smartmax
-wheatley
-intellidemand
-zzmove
-userspace
-powersavee
-conservative
-lionheart

- I/O schedulers:-
-Zen
-TripnDroid
-Bfq
-Cfq
-deadline
-noop
-sio
-row


Other Main Features
- disabled Add Random, CRC, I/O Stats and Rotational for better performance

- KCAL SUPPORTED
- Fast Charge Support
- Franco Sound Control
- input touch boost enabled

-Thermal core control toggle
- Zen Decision Hotplug
- MpDecision Hotplug
- fsync enabled

- optimized TCP congestion algorithm:reno and cubic
- Adreno Idler For GPU
- GPU stats for each frequency
- lowerd GPU voltages

-f2fs support

-Sweep2Sleep
-Kexec hardboot supported
-Always based on latest OnePlus One kernel sources
-Double Tap To wake

-GPU idle frequency 27 Mhz added
-Ext4 File system tweaks
-init.d support




Flashing instructions:

- backup your boot.img (just in case)
- flash Zip
- reboot And Enjoy



Confirmed working roms [CM 12.1 based roms Only .No CAF version Atm]:

Mostly all CM 12.1 based ROMs .unless they have a different init.d script
-You Tell me-

You like my work?

Feel free to donate: Donate-Link


Downloads( See 2nd Post)


Changelog[See 2nd Post]


I recommend Synapse combined with UKM for Kernel Tuning
Synapse Play Store Link
Render-UKM

You Can Also Use Kernel Adiutor if You Do not wish to Install Synapse


A big Thanks To :

@RenderBroken
@franciscofranco
@faux123
@ak
@Lord Boeffla
@RobbieL811, @dorimanx,
@arter97
@akhilnarang



Source Code:https://github.com/ResurrectionRemix...neplus_msm8974

WARNING!!
Code:
Your warranty is now void.
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 ROM
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. 
A lot.
The Following 35 Users Say Thank You to varund7726 For This Useful Post: [ View ]
27th September 2015, 07:43 PM |#2  
varund7726's Avatar
OP Recognized Developer
Flag ★★Melbourne★★
Thanks Meter: 33,394
 
Donate to Me
More
DOWNLOADS




V1.x:-


Recommended for CM12.X Roms


V1
v1.1
v1.2
v1.3
V1.4
V1.5
V1.6




V2.X:-



Recommended for CM12.X/ CM 13 Roms




v2.0
V2.1

V2.2
v2.3
V2.5
2.6
V2.7
V2.8
2.9




V3.X:-



Recommended for CM13 Roms Only



v3.0
V3.1
V3.2




V4.X:-



Recommended for CM13 Roms Only (after 20160130)


V4.0


V4.1 (Stable)




V5.X






CHANGELOG:-




Code:
20160624_v5.0:-
All Updates From CM

Bacon: Enable Fast Charge

ZenDecision: Disable By default

msm: zen_decision: Don't set default settings in zd_probe

msm: zen_decision: Missed f(x) name change

msm: zen_decision: Only call INIT_DELAYED_WORK once

msm: zen_decision: change queue_delayed_work_on to queue_delayed_work

msm: zen_decision: Use WQ_UNBOUND and max_active = 1 when allocating WQ

msm: zen_decision: remove unnecessary logic

msm_zen_decision: some cleanups

msm: zen_decision v2.0

msm_zen_decision: disable by default

msm_zen_decision: use per-cpu mutex to synchronize hotplug operations

msm_zen_decision: General fixes and cleanup

Bacon:defconfig:Enable Fast Charge

fastcharge: limit the max charge level to 2100 mA

fastcharge: backported and adapted for OnePlus One

fastcharge: qpnp-charger: remove mA from sysfs phase II

Update QCOM charger values from OPPO source


Sync with KitKat charge standard 3000mah battery

power: qpnp-charger: allow vinmin to be lowered to 4.0 V


fastcharge: qpnp-charger: updated to the latest v1.1


fastcharge: qpnp-charger: remove "mA" from sysfs

fastcharge: qpnp-charger: Charge level interface 



20160217_v4.1:-

Revert "USB: ANDROID: Implement dynamic pm_qos voting based on USB activity( Fixes Ticks during Audio Playback)
ASoC: msm: qdsp6v2: Move asm list init before apr registration
ASoC: msm: qdsp6v2: Correctly free ASM no wait queue
perf: Fix corruption of sibling list with hotplug …
msm: perf: Protect buffer overflow due to malicious user …
qseecom: Fix issue related to retrieving pipe for PFE
Revert msm8974-oppo: Optimize wakeup delay for JDI panel

20160130_v4.0:-
--Rebase Entire Kernel again for Improved Stability
--Updated and minimized defconfig
--Fix KCAL invert colors option
--Removed USB fastcharge(causes Instability)
synaptics_dsx_i2c: Improve resume latency
msm8974-oppo: Optimize wakeup delay for JDI panel
soc: qcom: rq_stats: Pass correct cpu id to update_average_load function
soc: qcom: rq_stats: remove the redundant iowait check
cpufreq: Sync on thread migration optimizations
cpufreq: ondemand: Remove input boost
rq_stats: Fix usage of cpufreq APIs
soc: qcom: rq_stats: Always show idle time left
cpufreq: Check current frequency in device driver
msm: sps: Register SPS IRQ with IRQF_NO_SUSPEND flag
mmc: sdhci: convert ADMA descriptors to a coherent allocation
mmc: block: Backport HS400 changes from 3.10 …
input: synaptics_dsx: Send KEY_POWER for double-tap event
msm: kgsl: set the correct max_state
devfreq: Use policy create/remove events instead of governor
PM / Wakeup: Use rcu callbacks for better performance
msm: kgsl: Wake gpu up on the max freq when using the performance gov
msm: kgsl: Replace jiffy sampling with usec
msm: kgsl: set the profile max_state correctly
msm: kgsl: Delay the first devfreq status read
Adjust to latest cm commits 

20160110_v3.2:-
Enable frequency min/max setting and define start frequencies
(MAX :2457600 MIN:300)(Possible fix to Cpu freq not sticking)
Enable UV
neon+hard optimizations
crypto: arm/aes update NEON AES module to latest OpenSSL version …
ARM: 7835/2: fix modular build of xor_blocks() with NEON enabled …
ARM: crypto: add NEON accelerated XOR implementation …
arm: crypto: Add optimized SHA-256/224
block: Fix sticky scheduler also when multiple mmc are available
msm: mdss: Change lcd notifier to work on OnePlus One backlight driver
cpufreq: Remove wrong max freq hardlimit initialisation
cpu: Core control performance improvement …
cpufreq: add additional hardening to ensure min/max freqs and governor
cpufreq: intellimm - fix issue with updating tunable multi_phase_freq
cpufreq: Allow disabling hard limit check for min and max cpu freq
cpufreq: Workaround to make governors sticky and not to be overwritten
block: Workaround to make schedulers sticky and not to be overwritten
cpufreq: Workaround to make max cpu freq sticky
cpufreq: hardlimit for min cpu frequency initialisation fixed
cpufreq: add CONFIG_MSM_CPU_FREQ_SET_MIN_MAX functionality back to back
cpufreq: CPU undervolting interface (for backported MSM 3.10 devfreq)
cpu: Extend cpu core control by having an option to link core4 online
cpufreq: hardlimit for min cpu frequency configurable by core
cpu: Implement cpu core control …
clock-krait-8974: Expose PVS level via sysfs
tcp_output: set initial TCP window size to 64K (speed improvement)
cpufreq: hardlimit for min cpu frequency configurable by core …
random: change entropy levels to only doubled (both read and write)
random: increase entropy levels (both read and write)

20160105_v3.1:-

Input: optimize events_per_packet count calculation …
msm: camera: isp: Process stats buffer followed by AXI buffer …
msm:camera:isp: Make AB and IB equal for performance reasons …
msm: camera: Fix to release cci clocks …
msm: camera: Fix state machine for camera sensor subdevs …
msm: camera: Adding interface for power operations in actuator driver …
camera_oppo_v2: Factory fix for CCI race condition …
msm: camera: Handle race condition on stream buffer ops …
msm: jpeg: Make _msm_jpeg_open and _msm_jpeg_release atomic …
msm: cpp: Remove redundant kref get in cpp …
PM: don't use [delayed_]work_pending() …
cpuidle: Wakeup only cpus for which qos has changed. …
msm: lpm-levels: Apply QoS requests only to relevant cpus. …
msm: kgsl: Vote for new IRQ specific QoS request …
qcom: msm: event-timer: Add eventimer migration framework …
qos: Pass the list of cpus with affected qos to notifer …
QoS: Enhance framework to support cpu/irq specific QoS requests …
workqueue: Fix workqueue stall issue after cpu down failure …
workqueue: clear POOL_DISASSOCIATED in rebind_workers() …
All Updates from CM
Stability Improved Big time!

20151231_v3.0:-


-Rebased Entire kernel to match with cm sources
-Removed Junk Code in kernel to improve stability
-Kernel Now Compiled with UBER TC 5.3
-Prima Drivers updated to 1.6
-All Changes included by CM-
--Imrpoved Overall Stability 
20151208_v2.9:-

--Updated and Optimized for Android 6.0.1_r3-> CM13
--prima: Import release LA.BF.1.1.3_rb1.5 (update for Wifi Drivers)
--Merged All CM changes
--Imrpoved Overall Stability 
20151205_v2.8:-
--Introduce Zen Decision Hotplug as Requested by users--
-Update Ramdisk for Latest Cm13 Sources-
-Fix More Random Freeze Issues-

20151127_v2.7:-
--Updated All Chnages to Match With CM13
--Updated USB Keyboard Support for Cm13
--Added SIO scheduler
--Added Sweep2wake Gesture
--Revert "msm: mdss: Acquire lock for source format b/w line and block mode(Top suspect for random Freezes according to Steve)
-ipv6: clean up anycast when an interface is destroyed …
-ipv4, fib: pass LOOPBACK_IFINDEX instead of 0 to flowi4_iif …
-net: ipv6: Add sysctl entry to disable MTU updates from RA
-bacon: Enable FiiO HID Quirk …
-hid: Add driver for FiiO USB DAC 

20151116_v2.6:-
-updated all changes for cm -
-Updated GPU code-

20151111_v2.5:-
-Updated from Linux 3.4.67->3.4.110
Revert "tick: Cleanup NOHZ per cpu data on cpu down"
wlan: Address buffer overflow due to invalid length
Merged All CM13 Changes

20151105_v2.3
--Updated All CM changes
--Fix Some SElinux Issues
--Backport Gcc Version to 5.2.1 (6.0 Gcc wont Boot Now)

printk: fix regression in SYSLOG_ACTION_CLEAR …
kmsg: use do_div() to divide 64bit integer …
kmsg: export printk records to the /dev/kmsg interface …
printk: convert byte-buffer to variable-length record buffer …
Revert "printk: fix buffer overflow when calling log_prefix function … …
USB: gadget: android: Integrate f_midi USB MIDI gadget driver
USB: gadget: f_mtp: Fix integer overflow when transferring large files. …
usb: gadget: audio: Fix problem resuming playback on alt interface ch… …
USB: gadget: mtp: Fix hang in ioctl(MTP_RECEIVE_FILE) for WritePartia… …
USB: gadget: midi: Fix deadlock unbinding driver while it is in use …
selinux: Android kernel compatibility with M userspace …
selinux: extended permissions for ioctls …
security: add ioctl specific auditing to lsm_audit …
selinux: remove unnecessary pointer reassignment …
Revert "security: lsm_audit: add ioctl specific auditing" …
Revert "SELinux: per-command whitelisting of ioctls" …
Revert "SELinux: use deletion-safe iterator to free list" …
Revert "SELinux: ss: Fix policy write for ioctl operations" …
arm: mm: support ARCH_MMAP_RND_BITS. …
mm: mmap: Add new /proc tunable for mmap_base ASLR. …
net: fix iterating over hashtable in tcp_nuke_addr()


20151028_v2.2:-
-Backport to Linux kernel 3.4.67 to fix boot issues (for now)
-Updated All Cm changes-
-More Patches To improve Battery Drain and Reduce Power Consumption

20151027_v2.1:-
-Merged CM changes Upto 2015/10/27-
-Updated Ramdisk-


20151025_v2.0:-
-Updated to Cm13-
-Initial Release-


20150107_v1.7:-
--Add USB keyboard Support
-Updated Ramdisk
- usb-gadget: support USB keyboard-

20151025_v1.6:-

-Linux Sublevel Update 3.4.109->3.4.110-
-Updated Ramdisk-


20151018_v1.5:-

-Fixed Some vsync Issues-
-Improved Standby Time due to Nvidia Patches-
-Updated Ramdisk-


20151008_v1.4:-
msm: mdss: Remove DCS backlight delay …

msm: mdss: kcal: Only apply updates on index 0 …

msm: mdss: kcal: Use PCC for negative display mode

msm: mdss: KCAL: Send a pp display commit when changes are made … 


20151005_v1.3:-
clock-krait-8974: Expose SPEED level via sysfs
clock-krait-8974: Expose PVS level via sysfs
Enhance power efficiency: Series of patches from NVIDIA on some critical blocking code paths to allow the CPU to relax instead of busy spinning thus lowering the load_average and lowering power consumption.

20151001_V1.2:-
Fix Freezes Caused by Fsync

Revert "fsync as default" …

cpufreq: limiter: add frequency limiter driver …

tcp_cubic: do not set epoch_start in the future …

tcp_cubic: better follow cubic curve after idle period

20150928_V1.1:-
Implement Fastcharge
fastcharge: backported and adapted for OnePlus One 
sound: add sound control to increase headphones, speaker and mic gain
arm: use -mtune=cortex-a15 for Krait targets 
msm: mpm: disable debugging 
mdss: use an interruptible thread on edp to reduce load_average 
Added fsync on/off support. (default on)


20150927_V1.0:-
-Intitial Release-

[/B][/B][/B]
The Following 16 Users Say Thank You to varund7726 For This Useful Post: [ View ]
27th September 2015, 07:44 PM |#3  
varund7726's Avatar
OP Recognized Developer
Flag ★★Melbourne★★
Thanks Meter: 33,394
 
Donate to Me
More
Screenshots







The Following 13 Users Say Thank You to varund7726 For This Useful Post: [ View ]
27th September 2015, 07:48 PM |#4  
varund7726's Avatar
OP Recognized Developer
Flag ★★Melbourne★★
Thanks Meter: 33,394
 
Donate to Me
More
last
The Following 8 Users Say Thank You to varund7726 For This Useful Post: [ View ]
27th September 2015, 10:01 PM |#5  
Setting.Out's Avatar
Inactive Recognized Contributor
Flag Asnieres-Sur-Seine
Thanks Meter: 8,476
 
More
Flashed this over EOS and it feels nice.. Thanks..

Sent from my A0001 using XDA Premium 4 mobile app
The Following User Says Thank You to Setting.Out For This Useful Post: [ View ] Gift Setting.Out Ad-Free
27th September 2015, 10:17 PM |#6  
varund7726's Avatar
OP Recognized Developer
Flag ★★Melbourne★★
Thanks Meter: 33,394
 
Donate to Me
More
Quote:
Originally Posted by Setting.Out

Flashed this over EOS and it feels nice.. Thanks..

Sent from my A0001 using XDA Premium 4 mobile app

Thanks for confirming that's its working with EOS (y) .will add it to working list
27th September 2015, 10:29 PM |#7  
Senior Member
Flag Rome
Thanks Meter: 354
 
More
Awesome kernel!

Thank you very much
The Following User Says Thank You to Promez For This Useful Post: [ View ] Gift Promez Ad-Free
28th September 2015, 12:35 AM |#8  
Heisenberg's Avatar
Retired Forum Moderator
Flag Knocking on your door
Thanks Meter: 19,099
 
Donate to Me
More
Added to OnePlus One index thread:

[INDEX] OnePlus One Resources Compilation Roll-Up
The Following 2 Users Say Thank You to Heisenberg For This Useful Post: [ View ] Gift Heisenberg Ad-Free
28th September 2015, 06:34 AM |#9  
varund7726's Avatar
OP Recognized Developer
Flag ★★Melbourne★★
Thanks Meter: 33,394
 
Donate to Me
More
UPDATE
20150928_V1.1:-
Implement Fastcharge
fastcharge: backported and adapted for OnePlus One
sound: add sound control to increase headphones, speaker and mic gain
arm: use -mtune=cortex-a15 for Krait targets
msm: mpm: disable debugging
mdss: use an interruptible thread on edp to reduce load_average
Added fsync on/off support. (default on)
The Following 2 Users Say Thank You to varund7726 For This Useful Post: [ View ]
28th September 2015, 07:05 AM |#10  
Senior Member
Flag Vijayawada
Thanks Meter: 152
 
Donate to Me
More
@varund7726, hi......i'm on RR now. Can i flash this kernal or tz kernal is already present in RR??
28th September 2015, 07:12 AM |#11  
varund7726's Avatar
OP Recognized Developer
Flag ★★Melbourne★★
Thanks Meter: 33,394
 
Donate to Me
More
Quote:
Originally Posted by himanagendra

@varund7726, hi......i'm on RR now. Can i flash this kernal or tz kernal is already present in RR??

Havent released a new build so youll have to flash this one manually
The Following User Says Thank You to varund7726 For This Useful Post: [ View ]
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes