LockDown Kernel For Pie and Q Roms
Vijay Malav
Kernel:- (supported RUI and custom A10 & A11 roms)
Date: 08-10-2020
EAS version v1 updated:
Changelog:-
- build with gcc 10.2
- O3 optimization
Download link:-
Click here
Date: 07-10-2020
EAS version v1:-
(Note: not booting on legion A11 Rom)
Changelogs:-
- build with lockdown clang 12
- O3 & LLVM optimization
- clang sdm660 optimization
- merged linux stable 4.4.238
- ARM: dts: msm: update dfps_data_mem address from msm-4.14
- sdfatFS upstreamed v2.3.0
- using walt
- merged caf tag "LA.UM.9.2.r1-00900-SDMxx0.0"
- merged caf tag "LA.UM.7.2.r3-01600-sdm660.0" into qcacld3.0 , fw-api, qca-wifi-host-cmn
- added adreno idler
- neon accelerated xor optimizations
- fix 50% battery info issue after booting
By @vijaymalav
Download links:-
Click here
Credits:-
* @sb6596 & @ryan_ryz & @dodyirawan85 for base Kernel sources
* @dahee1179 for guidance
* @ad1tyas1ngh & @adi_2772 for testing
Date:- 22-09-2020
Changlog:-
Hmp version:-
- Build with self compiled Lockdown clang 12
- O3 and polly llvm optimization
- Merged linux stable 4.4.236
- Merged CAF tag "LA.UM.8.2.r2-02700-sdm660.0"
- Imported Touch related changes from official Q kernel released source
-Imported Sound drivers changes from official Q kernel released source
- Added F2FS_OPPO_GC & F2FS_BD_STAT & PROCESS_RECLAIM & VIRTUAL_RESERVE_MEMORY support & some f2fs and sdcardfs changes from official Q kernel released source
- Enabled CRYPTO_DEFLATE & CRYPTO_ZLIB & CRYPTO_LZO & CRYPTO_842 & CRYPTO_LZ4HC
For Overhaul and optimization
( Credit:- Sultan Alsawaf aka kerneltoast )
- Revert UC from big cpu cluster
- Selinux: set to permissive but report enforcing ( Credit: @arter97 )
( No need flash permissive v5 zip for fingerprint in RUI from now)
- miscellaneous improvement and fixes
- etc.
Gaming version:-
- added Neon Accelerated XOR Optimization for better performance
flashing instruction:- (for both RUI & custom A10 roms)
1. Reboot in custom recovery
2. Flash kernel zip
3. Reboot
Download link:-
Link 1:- Sourceforge
Click here
Link 2:- Google drive
Click here
By:- @vijaymalav
Credits:-
* @sb6596 & @ryan_ryz & @dodyirawan85 for Kernel sources
* @dahee1179 for guidance
* @amr98u & @Pintu6488 & @gauravpatil2901000 & @adi_2772 for testing
* @ActionASGamer for new logo
Date:- 11-09-2020
Changlog:-
Hmp version:-
- build with gcc 10.2
- O3 optimization
- merged linux stable 4.4.235
- added Oppo foreground optimization support from Official Q kernel source
- added Oppo hypnus support from Official Q kernel source
(For smootness, better responsiveness and better performance & good bb)
- tuned interactive governor
- Reduce sdm660 thermal throttling thresholds
- westwood back as default TCP
- enable ZSTD compression algorithm
- miscellaneous tweaks and improvement
Gaming version:-
- performance improvement
- nuked dynamic fsync 2.0
Download link:-
Click here
Flashing instructions:-
1. Reboot recovery
2. Flash Kernel zip
3. Flash permissiver v5 zip (important)(only if you flashing this kernel in RUI)
(Otherwise your fingerprint won't work)
4. Reboot and enjoy
By:- @vijaymalav
Credits:-
* @sb6596 & @ryan_ryz for Kernel sources
* @dodyirawan85 for AnyKernel3 and fixing encryption error
* @dahee1179 for testing and guidance
* @amr98u & @Pintu6488 for testing
Date:- 31-08-2020
Changlog:-
Hmp version:-
- build with proton clang 12
- O3 and Polly llvm optimization
- merged linux stable 4.4.234
- better hackbench results than previous build
- optimize interactive governor
- optimize kernel for kyro
- added cpu boost
- added zzmove governor
- kernel is now more smooth than previous build
- added TCP patches
- added bbr as default TCP
- the simple waitqueue (swait) implementation
- rcu changes
- miscellaneous tweaks and reduced debugging
Gaming version:-
- added Dynamic fsync 2.0
Download link:-
Click here
Flashing instructions:-
1. Reboot recovery
2. Flash Kernel zip
3. Flash permissiver v5 zip (important)(only if you flashing this kernel in RUI)
(Otherwise your fingerprint won't work)
4. Reboot and enjoy
By:- @vijaymalav
Credits:-
* @sb6596 & @ryan_ryz for Kernel sources
* @dodyirawan85 for AnyKernel3 and fixing encryption error
* @dahee1179 for testing and guidance
* @amr98u for testing
Date:- 23-08-2020
Changelog:-
Hmp version:- (for normal user)
- build with gcc 9.2

- O3 & GCC LTO optimisation
- tune GCC for sdm660 cpu
- reduced big cpu cluster frequency from 2.2 GHz to 1.9 GHz

- merged linux stable 4.4.233
- Enable cpumasks for big and LITTLE CPU clusters
- Enable Power Efficient Workqueue
- Import binder from android-4.19-q
- used devfreq boost driver
- merged latest CAF tag "LA.UM.8.2.r1-07200-sdm660.0"
- added back adreno idler

Gaming version:- (for gaming user)
- OC GPU to 647MHz
- added some missing cpu frequencies in Big cpu cluster
- added adrenoboost in GPU
(Enabled by default)

Download link:-
Click here
Flashing instructions:-
1. Reboot recovery
2. Flash Kernel zip
3. Flash permissiver v5 zip (important)(only if you flashing this kernel in RUI)
(Otherwise your fingerprint won't work)
4. Reboot and enjoy
By:- @vijaymalav
Credits:-
* @sb6596 & @ryan_ryz for Kernel sources
* @dodyirawan85 for AnyKernel3 and fixing encryption error
* @dahee1179 for testing and guidance
* @amr98u for testing
Date:- 19-08-2020
(1) LockDown Kernel v4 for RUI and Custom A10 roms
Hmp version:-
Changelog:-
- Build with proton clang 12

- Linux 4.4.232
- Overclocked & Underclocked big cpu upto 2.2 GHz and 300 MHz

- O3 and polly llvm optimization
- Added async_discard support
- Added K-lapse live display support
(Will work as alternative of night light in some roms which has night light not working issue)


- Added boeffla wakelock blocker


- Optimize for Cortex-A53 (Optimize for sdm660's little cluster core)
- Optimize for sdm660 Kryo 260 CPU (help the
weaker little cluster out a bit by optimizing)
- Improved cpu idle & deep sleep
- Simple waitqueue (swait) implementation
- TCP upstream
- Kgsl tweaked
- Memory Allocation Patches For Faster Performance & Memory Management Tweaks.
- CPU Idle Tweaks for better battery saving
- Merged Caf tag 'LA.UM.7.2.r1-08800-sdm660.0' & 'LA.UM.7.2.r3-00900-sdm660.0' into qcacld-3.0
- Merged Caf tag 'LA.UM.8.2.r2-02500-sdm660.0'
- Merged Caf tag 'LA.UM.8.2.r2-02300-sdm660.0'
- Merged Caf tag 'LA.UM.8.2.r2-02100-sdm660.0'
- Merged Caf tag 'LA.UM.8.2.r1-06900-sdm660.0'
- Various fix and improvements for better battery and performance
Gaming version:- (use only if you are gaming user and don't care about battery backup)
Changlog:-
- Overclocked and Underclocked big cpu by 2.5 GHz and 300 MHz
Download links:-
https://sourceforge.net/projects/lockdown-kernel-rmx1801/files/
Flashing instructions:-
1. Reboot recovery
2. Flash Kernel zip
3. Flash permissiver v5 zip (important)(only if you flashing this kernel in RUI)
(Otherwise your fingerprint won't work)
4. Reboot and enjoy
By:- @vijaymalav
Credits:-
* @sb6596 & @ryan_ryz for Kernel sources
* @dodyirawan85 for AnyKernel3 and fixing encryption error
* @dahee1179 for testing and guidance
* @amr98u for testing
( 2.) LockDown Kernel v3 for RUI
1. Normal Version :- (use for battery backup)
Changelog:-
- fix encryption unsuccessful (thanks to dody irawan)
- linux 4.4 230
- built with gcc 9.2
- added moko hotplug
- added sound control
- added adreno idler
2. Gaming Version :-
- linux 4.4.230
- Overclock and Underclock
Flashing instructions:-
1. Reboot recovery
2. Flash Kernel zip
3. Flash permissiver zip (important)
(Otherwise your fingerprint won't work)
4. Reboot and enjoy
Download links:-
https://telegra.ph/Custom-Kernel-for-RUI-07-15
By:- @vijaymalav
Credits:-
* @sb6596 & @ryan_ryz for Kernel sources
* @dodyirawan85 for AnyKernel3 and fixing encryption error
* @dahee1179 for testing and guidance
* @amr98u for testing
(2.) LockDown Kernel Q v2 for RealMe 2 Pro
Note:- only for Q custom roms (not working on rui)
Changlogs:-
:-V2👇
- built with Avalon clang 11.0.1
- oc kernel with balanced performance & battery
- tuned msm_adreno_tz gpu governer
- added Adreno idler for gpu
- GPU: Use a default powerlevel of 5 (160 MHz)
- Reduce gpu voltage by 50mv (this will help in gaming)
- added doze mode (this will help in better deep sleep)
- cut unnecessary power uses
- improved bettery saving
- improve thermal throttling
- merge latest linux stable '4.4.225'
:-V1👇
- built with proton clang 11
- oc kernel with balanced performance & battery
- added adreno boost for gpu
- add timeouts to wakelocks
- Removed various High Priority Workqueue Flags For Battery and Performance
- tcp_westwood tweaked
- GPU tweaked for better performance
- GPU: Use a default powerlevel of 5 (160 MHz)
-headphone sound left and right control
- reduced unnecessary debugging and log spam
- battery saving tweaked
- Reduce the maximum voltage allowed for the panel
- reduced time to go into deep sleep
- merge latest linux stable '4.4.224'
Download link:- https://drive.google.com/folderview?id=12dfLR6mNJAX_-DyvTQ9nXtBWGZfs2J4b
By:- @VijayMalav
Credit :-
@ryan_ryz @dodyirawan85 for kernel source
And @RakshitVyas for testing
(3.)Pie Kernel:-
LockDown v5 for RealMe 2 Pro
Note :- only for PIE roms and flash permissiver 5 zip for fingerprint if you flash this kernel on stock rom
Changlogs:-
-:V5👇
- tuned msm_adreno_tz gpu governer
- GPU: Use a default powerlevel of 5 (160 MHz)
- Reduce gpu voltage by 50mv (this will help in gaming)
- added doze mode (this will help in better deep sleep)
- cut unnecessary power uses
- improved bettery saving
- merge latest linux stable '4.4.225'
:-V4👇
- merge latest caf tag
- merge latest linux stable 4.4.224
- added adreno boost for gpu
- sound control for headphone (left and right setting)
- improve battery saving
- upstream wireguard
:-V3👇
- built with linaro gcc 7.5
- reduced time to go into deep sleep
- gpu tweaked for avoid unnecessary boosting
- tuned interactive governer
- merge caf tag 'LA.UM.7.2.r1-08800-sdm660.0'
- linux 4.4.223
- sound control tweaked and fix headphone sound reset issue
- reduced unnecessary debugging and log spam
- battery saving tweaked
:-V2👇
- add timeouts to wakelocks
- Removed various High Priority Workqueue Flags For Battery and Performance
- tcp_westwood tweaked
- GPU tweaked for better performance
- GPU: Use a default powerlevel of 5 (160 MHz)
- Disable GPU wake up on touch event for bettery saving
- CPU tuned for better bettery saving
- Reduce the maximum voltage allowed for the panel
- merge latest linux '4.4.223'
- added drivedroid support
- upstream wireguard
:-V1👇
- Built with stormbreaker kernel source
(All stormbreaker oc features include in this Kernel)
- merge caf tag 'LA.UM.7.2.r3-00900-sdm660.0'
-merge '4.4.222'
-added latest wireguard vpn
By:- @VijayMalav
Download link:-
https://drive.google.com/folderview?id=12VKAhKe0SNIhSQwxM-qz-2CxRJjnQQms
Credit :-
@ryan_ryz @dodyirawan85 for kernel source and @amr98u for testing