[Kernel][CAF][MIUI/OREO/PIE][X9] PureCaf Kernel [2019/08/20]

273 posts
Thanks Meter: 1,349
By srfarias, Recognized Developer on 20th March 2019, 08:04 AM
Post Reply Email Thread

Features :
  • CAF msm-4.4 kernel
  • Fw-api last caf tag
  • Double tap to wake
  • KCAL support
  • CPU/DevFreq boos
  • SDFAT/F2FS support
  • System fluidity and graphics performance patches from sultan
  • RCU Boost
  • MDSS/KGSL patches
  • sRGB
  • Vibration control
  • Joystick support
  • Wireguard support
  • Pa-therm0 sensor fixed
  • GPU adreno id updated
  • KGSL worker threads increased
  • Core control/freq improvements
  • TTL fixation support
  • Moar improvements and fixes to be gentle and loving with system

Instructions :
  • Wipe cache &dalvik
  • Install kernel zip

Download :

Both version works only on PIE FW AOSP Pie ROMS and MIUI Pie ROMS

Unfied Normal version : Here !

Unfied EAS version : Here !

If u like my works, press Thanks! and if u want buy me a Coffee, donate me

XDA:DevDB Information
[Kernel][CAF][MIUI/AOSP][X9] PureCaf Kernel [2019/08/20], Kernel for the Xiaomi Redmi Note 5 Pro

Source Code:

Kernel Special Features:

Version Information
Status: Stable

Created 2019-03-20
Last Updated 2019-08-20
The Following 125 Users Say Thank You to srfarias For This Useful Post: [ View ]
20th March 2019, 08:04 AM |#2  
srfarias's Avatar
OP Recognized Developer
Thanks Meter: 1,349
Donate to Me

* LA.UM.7.2.r1-07400-sdm660.0 CAF
* Reworked PELT
* Clean and rework schedutil
* Power-efficient wq enabled by default
* CFQ improvements
* Capacity values in energy model instead of freqs
* 1612Mhz Little.freq replaced by 1536Mhz
* Rework EAS implementation from CAF state
* Pelt, scheduler and tasty-stuff backports from 4.14
* CPU idle improvements
* More fixes and optimizations ( they can check my git )

* LA.UM.7.2.r1-07400-sdm660.0 CAF tag merged
* Vdso: kmemleak's false positive fixed
* Kmemleak improvements
* Optimized memory allocation on camera drivers
* Ext4 improvements
* Some binder patchs
* Remove unused frm_type parameter from qcacld-3.0
* Walt it's back :D 
* A lot of sched rt patches and improvements
* Some schedutil backports and improvements
* More and more fixes and optimizations ( they can check my git )

* Ion: overhaul for vastly improved clarity and performance from sultan
* Iommu: msm: Rewrite to improve clarity and performance from sultan
* Some simple low memory killer fixes
* Don't let gcam and settings run in the background 
* Mbcache2: Speed up cache entry creation
* Binder driver from wahoo ( Pixel2 XL )
* Binder improvements and optimizations from sultan
* Cpubw governor to bw_hwmon
* Some sched optimizations and patches to bring PELT
* Pelt instead of walt ( half life - 16ms )

* Simple low memory killer
* KGSL improvements patches
* Removed dynamic refresh ( thank tianma panel )
* CPU/DevFreq boost ( only devfreq for EAS )
* Encrypt/decrypt process faster
* Schedutil improvements for battery
   ~ iowait boost disabled
* [EAS] 1536mhz freq removed
* Charger improvements and fixes
* pa_therm0 sensor temp fixed
* Security patches
* More underthehood improvements and fixes

* Minimal KGSL patches
* Wi-Fi hotspot fixed
* Charger display when device it's off fixed
* GPU initial freq back to 266Mhz
* Dynamic refresh re-added with right properties
* ULPS ( ultra low power state ) features re-added
* [EAS]Removed inefficient frequencies and more..
   ~ 633 Mhz/ 902Mhz from LITTLE removed
   ~ 1612Mhz / 1747Mhz freq from LITTLE unlocked
   ~ 1113Mhz from BIG cluster removed
* Fixed all display issues 
  ~ graphical issues, blink issues, etc..
* Massive code clean up
  ~ dropped some old caf patches
  ~ dropped unnecessary patches and more
* Re-worked EAS implementation
  ~ removed all boost ( inefficent freqs was removed, so we don't need it )
  ~ inline with CAF and Google EAS
* RCU boost disabled
* Wi-Fi issues fixed
* More VLA free patches
* NTFS support
* F2FS encryption support
* Charger improvements and more

* Merged last CAF tag
   ~ LA.UM.7.2.r1-07000-sdm660.0
* Zip builded with AnyKernel3
   ~ it include some tweaks for system that i made
* GPU ID back to 509 ( to make facelock faster again )
* Overclock removed
* RCU boost enabled ( and optimized )
* Charger improvements
* CPU Idle improvements
* Disabled speculative page fault
* Back to heuristic overcommit mode
* Cache pressure value to 100
* KGSL/MDSS performance patches
* Battery improvements
* Added back sRGB and now fixed
   ~ fixed on/off display events issues
   ~ washed/pale colors fixed
* Some sultan parches and others ( u can check full log on git )

Changelog :
* [EAS] Removed dynamic boost
* Totally VLA free kernel
* Removed GPU override
* Media optimization
* Camera memory leaks fixed
* Battery improvements
* Memory optimizations
* Cache pressure reduced
* Overcommit always mode
* Display fixes ( mdss driver and srgb cleanup )
* LPM parameters from sdm845
* Wireguard support
* Some sultan patches.. ( camera, cpu..)

HMP version changelog
* Based on MSM 4.4 CAF
~ Switched to Xiaomi Pie Kernel release
* Boot issues fixed
* Display issues fixed
* USBFast Charger
* TTL Fixation
* Increased a little bit more the power button debounce time
* Unlocked sdm660 freqs (idk if i keep this for official release)
* GCam works without patches
* Partially VLA free kernel (still missing very very little qcom ****)
* Back to 100Hz
* Readahead to 64kb
* Iommu & kgsl improvements
* Some patches for security and other things

EAS version changelog :
* Partially inline with ack/caf eas
* Interpolated energy model by tytydraco
* More cleaned EAS implementation
* Msm performance driver disabled

HMP Features
* Based on  msm-4.4 caf kernel
~ LA.UM.7.2.r1-06900-sdm660.0
* Partially merged MiCode Pie Kernel (only some patches)
* F2FS updated at last stable
* SDFat support
* DT2W support
* KCal support
* SoundControl
* UsbFastCharge
* Initial GPU freq fixed
* LZ4 compression
* More CodeAurora patches
~ Core control
~ Hmp fixes
~ Stability & general improvements
~ Audio performance
* Some security patches
* Some Sultan patches
~ display-wake perf
~ fingerprint improvements
~ Stability & general improvements
* A lot of HID drivers enabled
~ mouse, joysticks,etc
* Westwood tcp enabled
* Power WQ perm fixed (disable by default)
* More and more.. u can see my git

EAS Features
* Same as HMP
* Partially inline with caf/ack eas
* Dynamic boost
* New energy model
~ calculated with kdrag0n script nd based on caf sdm632 em
~ sched hold all disabled
~ sched min cap enabled
The Following 17 Users Say Thank You to srfarias For This Useful Post: [ View ]
20th March 2019, 08:04 AM |#3  
srfarias's Avatar
OP Recognized Developer
Thanks Meter: 1,349
Donate to Me
The Following 10 Users Say Thank You to srfarias For This Useful Post: [ View ]
20th March 2019, 08:17 AM |#4  
Speedo.thc's Avatar
Senior Member
Flag Paris
Thanks Meter: 1,472
Donate to Me
Hi , thanks for your work.
20th March 2019, 09:22 AM |#5  
Junior Member
Thanks Meter: 0
wow..thanks for your work..
20th March 2019, 09:54 AM |#6  
Senior Member
Thanks Meter: 143
Donate to Me
20th March 2019, 10:57 AM |#7  
Senior Member
Thanks Meter: 27
For miui try? Any bug?
20th March 2019, 11:23 AM |#8  
Thanks Meter: 15
Originally Posted by prospektus

For miui try? Any bug?

Use unified version.Flashed on miui no bugs
The Following User Says Thank You to ilebed For This Useful Post: [ View ] Gift ilebed Ad-Free
20th March 2019, 01:17 PM |#9  
Thanks Meter: 4
thank u for this kernel
20th March 2019, 03:01 PM |#10  
Junior Member
Thanks Meter: 1
thanks for bringing this great kernel back, for some time I had the doubt that it is "HDR display" or how it is activated, would you explain me? greetings from Argentina.
The Following User Says Thank You to Alphas55 For This Useful Post: [ View ] Gift Alphas55 Ad-Free
20th March 2019, 03:52 PM |#11  
Senior Member
Thanks Meter: 27
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes