[KERNEL] [OCEAN] [Custom Roms] jsX-CustoKernal Blue-Virtual-Dragon - Moto G7 Power ROMs, Kernels, Recoveries, & Other D

-#_#- JavaShin-X CustoKernal -#_#-
Blue Virtual Dragon Custom Kernel.
For The Moto G7 Power Ocean Model : XT1955 = ocean.
To Improves Your Experience With This Awesome Phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-#- blue_virtual_dragon_kernel_sdm632 -#-
https://github.com/javashin/blue_virtual_dragon_kernel_sdm632
• Kernel Based On Motorola Stock Q 4.9.206-perf+ Ocean Source Push kernel-msm-MMI-QPOS30.52-29-2 .
https://github.com/MotorolaMobilityLLC/kernel-msm/tree/MMI-QPOS30.52-29-2
• Upstreamed To 4.9.232 Android-Stable MSM-4.9 Branch -r27.
https://github.com/android-linux-stable/msm-4.9/tree/kernel.lnx.4.9.r27-rel
• Inline Modules Added From lineage-17.1 Kernel Tree For Motorola Sdm632. Ocean.
https://github.com/erfanoabdi/android_kernel_motorola_sdm632
• Merge Linux 4.9.232 Into Blue-Virtual-Dragon jsX-CustoKernal.
Kernel.org ChangeLog = https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.232
• Merged GoldenFreezer/MetalCooler/Frost/Vegeta/Trunks/Kakarot CustoKernal's Mods , Tweaks , Features & Optimizations.
https://github.com/javashin/android_kernel_motorola_sdm632
##-Features-##
• kernel.lnx.4.9.r27-rel MSM-4.9 CAF Branch Merged IN.
• Release build have significantly reduced debugging messages/routines for slight performance & battery enhancements.
• Optimize compiler flags with better CPU optimizations.
• Optimize for performance rather than size.
• Higher performance with lower battery usage.
• Various other improvements.
• Ultra low latency.
• SchedUtil Cpu Governor Set To Default.
• Addeded BFQ I/O SCHED.
• Added 750Hz timer interrupt. Set To Default
• Zswap now uses BTREE For Search With ZPOOL.
• Zswap Now Default Compression To LZ4 and Z3fold Instead Of ZBUD.
• Zsmalloc by Default.
• WireGuard VPN.
• Boeffla generic wakelock blocker driver.
• AnyKernel v3 To Retain Magisk Root.
• Disabled GFS to Achieve Better UI Performance.
• BlueTooth Check Key-Sizes Only If Secure Simple Pairing.
• Simple Android Low Memory Killer.
• Enable ZRAM to 3GB and use lz4 as compressor.
• Use optimized spinning loop for arm64, this makes about 20% performance improvement on the CPU multithread load.
• Zen I/O scheduler - Primarily based on Noop, deadline, and SIO IO schedulers.
• Regular Updates Of WireGuard Backport From GIT.
• MDSS color control KCAL.
• Devfreq - Use high priority workqueue.
• Kgsl - Increase priority of RT thread.
• Run kgsl-workqueue as a high prio wq.
• Workqueue - change permissions to allow root control of wq_power_efficient toggle.
• Zstd Compression Algo Backported.
• Zswap kernel feature that provides a compressed RAM cache for swap pages Can Select Zstd.
• Updated Lzo From msm-4.14.
• LZO-RLE Compression Algo Backported.
• Crypto/compress - add asynchronous compression support Api's.
• Crypto/acomp - add support for lzo via scomp.
• Zswap kernel feature that provides a compressed RAM cache for swap pages Using ZPool Btree LZ4 z3fold
• ZRAM Will See Greater Performance Thanks To Lzo-rle By Default.
• Backport kvmalloc and kvmalloc_node kv[mz]alloc helpers.
• Add - Streebog Crypto Support Developed By Russia's FSB.
* introduced as a cryptographic hash function developed in large part by the Russian government.
• KLapse 5.0 A-kernel-level-livedisplay-module.
• State Notifier Driver.
• Adreno Idler.
• cpufreq Pixel 3 Smurfutil CPU governor.
• Dynamic Fsync 2.0 .
• GPU-Enable-19MHz-idle-frequency.
• Switch Fsync ON/OFF.
• adreno_tz GPU Input-Boost Feature.
• Dynamic SchedTune boosting support (DYNAMIC_STUNE_BOOST).
• Dynamic SchedTune Boosting on events (DSBOOST).
• Fingerprint Boost (FINGERPRINT_BOOST).
• AdrenoBoost.
• SIO I/O Scheduler.
• Maple I/O Scheduler.
• Force faster charge rate for USB (FORCE_FAST_CHARGE) (NEW) .
• wireless / db.txt : Checkout from head:master wireless-regdb.git
• Backport KBuild From BlueCross-Proton Android Kernel.
• Disable Unmap kernel when running in userspace (aka "KAISER").
• Kernel 4.9-Fixes From Kernel-Stable-Queue.
• Bluecross Kernel Upstream Patches Merges.
• No Kernel Modules .
• Modless Kernel .
• Disabled Loading Modules .
• Disabled Module Support .
• Config Mod's =
[*] Enable RCU priority boosting
[*] QTI Core Control
[*] Optimize very unlikely/likely branches
[*] Automatic process group scheduling
[*] CPU bandwidth provisioning for FAIR_GROUP_SCHED
[*] Enable workqueue power-efficient mode by default
[*] SMT scheduler support
• Extra Mod patches By JavaShin-X. "-jsX" Compiled With LTO+PGO+POLLY Optimized Compiler By kdrag0n.
• Build System Debian Sid/Unstable Bullseye.
• Specific Aarch64 Sdm632 optimizations. "-march=armv8-a+fp+simd+crc+crypto" .
• Plus ricer optimizations "-O3 -mllvm -polly -mcpu=kryo -mtune=kryo -fno-stack-protector -pipe".
• Clang-Proton 12.
• GCC 10.2.0 aarch64-linux-gnu- & arm-linux-gnueabihf- . As CROSS-COMPILERS.
• CROSS_COMPILE_ARM32 & CLANG_TRIPLE_ARM32.
• VDSO32 Bits Enabled By Default.
• Kernel Compatible To Compile With LTO THINLTO & LD.LLD Linker.
• THINLTO Build Link On Time Optimizations.
• Faster Builds Time.
• Make USE LD.LLD LLVM Linker For LTO.
• Enable -O3 In LD.LLD Plugin When Using CLang.
• Simple And Human Readble Building Script.
• Set Optimiztions To Polly LLVM by Default. Polyhedral optimizations for LLVM.
KBUILD_CFLAGS += "-mllvm -polly -mllvm -polly-run-dce -mllvm -polly-run-inliner -mllvm -polly-opt-fusion=max
-mllvm -polly-ast-use-context -mllvm -polly-detect-keep-going -mllvm -polly-vectorizer=stripmine
-mllvm -polly-invariant-load-hoisting"
Compatible With DerpFest , Msm-X , Havoc-OS , SuperiorOS , StagOS , Plenty More Roms.
SmartPack Kernel Manager. Recommended.
Credits :
Thanks To erfanoabdi SyberHaxen Barry Allen For Their Contributions.
And Provide The lineageos-17.1 Kernel Source Tree.
Thanks To Motorola-Lenovo For Being A Great Company Friendly With The Open Source Community.
Thanks To Google And Qualcomm "2" .
@everyone Who Has Tried My Kernal. Testers!
Thanks To @GarfieldArbuckle For The Kernel Logo ArtWork.
Moto G7 Power Communities English And Spanish.
electimon , TailanCunha , Dan Ford , David Rondeau , steve , gabi , Deivid , Francisco.
##- Please give feedback. A lot of work has been done to get here. -##
JavaShin-X CustoKernals Telegram Channel Dumper =
https://t.me/CustoKernal_JavaShin_Mods
Telegram CustoKernal Support Group =
https://t.me/jsX_CustoKernals_Support
* Disclaimer ===
"Not Responsible For Any Kind Of Damage To Any Device"
"Use At Your Own Risk , No Warranty Included , If Brick Well It Bricks In The Name Of Science Don't Blame ME"
"If You Got Here Is For A Reason , Meaning You Already Know What Are You Doing With Your Phone"
"Meaning That You Already Void OEM Warranty"
" And There Is No Turning Back Starting When You Typed = fastboot oem unlock + key "
* Instructions ===
Always retain a backup of your current kernel and system image. Before Flashing.
After Set Everything Up - Working System Custom Rom With Recovery & Magisk Root.
Then Just Need To Reboot To Recovery Via Advanced Reboot Power Menu Or "adb reboot recovery"
Or Starting Phone In Bootloader Mode Selecting Recovery From Menu Using Vol - And Power.
##- Enjoy - Cheers ! -##
Carlos Jimenez = NickName =
JavaShin-X WrongDevice =
Ozmage JavaShin-X Fork.
Dominican Republic -
Sunday August 02 2020.
XDA:DevDB Information
Blue_Virtual_Dragon, Kernel for the Moto G7 Power
Version Information
Status: Stable
Created 2020-08-02
Last Updated 2020-08-08
Blue_Virtual_Dragon Kernel Profile Magisk Module.
After Install In Magisk* The Kernel Profile , The System Will Have 12 Gigas Of Swap Virtual Mem With 4 Zram Device Nodes 1 Compressed Pages With LZ4 The Last 3 With LZO-RLE.
- Magisk-Kernel-Module-Profile-v0.2
- ChangeLOG =
1. NEw Tweaks To USe More Swap From The Zram Virtual 12G .
2. Added New Tweaks =
sysctl -w vm.vfs_cache_pressure=500
sysctl -w vm.swappiness=100
sysctl -w vm.dirty_background_ratio=1
sysctl -w vm.dirty_ratio=50
3. Add Missing Version Renaming
- OCEAN-KERNEL-4.9.232-Blue-Virtual-Dragon_r4.1-03-AUG-2020
- ChangeLOG =
1. Kernel-Command Line Built In.
• Kernel Command Line Additions = androidboot.selinux=permissive buildvariant=user audit=0 mitigations=off zram.num_devices=4 zram_num.devices=4 zswap.compressor=lz4 zswap.max_pool_percent=25 zswap.zpool=z3fold zswap.enabled=1 ksm_mode=always elevator=maple coresight_cpu_debug.enable=0 debug=0 nowatchdog nmi_watchdog=0 no_debug_objects dyndbg=0 module.dyndbg=0
* No Need To Flash Old *.IMG To Get The Commands For The Bootloader.
2. Compiled With Last Clang-PROTON. Sync.
# Update Blue_Virtual_Dragon_r7+ Down.

READ CAREFULLY SOON TM. I Will SOLVE The COMMAND LINE ISSUE THAT NEEDS TO BE FLASHED THE IMG FIRST THEN THE KERNEL ZIP FOR MORE INFO AND SUPPORT CHECKOUT MY TELEGRAM GROUP
EDIT :
Solved With NEW Build _r4.1

This Are The Tunables Included In The Magisk Kernel Module Profile.
echo '1' > /sys/kernel/dyn_fsync/Dyn_fsync_active
echo 'maple' > /sys/block/mmcblk0/queue/scheduler
echo '1' > /sys/module/klapse/parameters/enabled_mode
echo '256' > /sys/module/klapse/parameters/target_r
echo '202' > /sys/module/klapse/parameters/target_g
echo '151' > /sys/module/klapse/parameters/target_b
echo '2' > /sys/class/kgsl/kgsl-3d0/devfreq/adrenoboost
echo '1' > /sys/module/cpu_boost/parameters/sched_boost_on_input
echo '35' > /sys/module/cpu_boost/parameters/dynamic_stune_boost
echo 'lzo-rle' > /sys/block/zram1/comp_algorithm
echo '8' > /sys/block/zram1/max_comp_streams
echo '3221225472' > /sys/block/zram1/disksize
mkswap /dev/block/zram1 > /dev/null 2>&1
swapon /dev/block/zram1 > /dev/null 2>&1
echo 'lzo-rle' > /sys/block/zram2/comp_algorithm
echo '8' > /sys/block/zram2/max_comp_streams
echo '3221225472' > /sys/block/zram2/disksize
mkswap /dev/block/zram2 > /dev/null 2>&1
swapon /dev/block/zram2 > /dev/null 2>&1
echo 'lzo-rle' > /sys/block/zram3/comp_algorithm
echo '8' > /sys/block/zram3/max_comp_streams
echo '3221225472' > /sys/block/zram3/disksize
mkswap /dev/block/zram3 > /dev/null 2>&1
swapon /dev/block/zram3 > /dev/null 2>&1
echo 'pixel_smurfutil' > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 'pixel_smurfutil' > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo 'pixel_smurfutil' > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo 'pixel_smurfutil' > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
echo 'pixel_smurfutil' > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
echo 'pixel_smurfutil' > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
echo 'pixel_smurfutil' > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
echo 'pixel_smurfutil' > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor
# Schedule task
nohup /bin/sh > /dev/null 2>&1 <<EOF &
sysctl -w kernel.sched_min_granularity_ns=1000000
sysctl -w kernel.sched_wakeup_granularity_ns=2000000
sysctl -w kernel.sched_child_runs_first=1
sysctl -w kernel.sched_tunable_scaling=1
sysctl -w vm.overcommit_memory=1
sysctl -w kernel.sched_migration_cost_ns=5000000
sysctl -w kernel.sched_autogroup_enabled=0
sysctl -w fs.file-max=2097152
sysctl -w fs.inotify.max_user_instances=1024
sysctl -w fs.inotify.max_user_watches=524288
EOF

NOTES :
The Magisk Module Can Be Easy Edited And Modified , For Example To Remove K-lapse Time Based Scaling Which Turn On Automatic Night Light On Kernel Side Without Need To Be Set On ROM Userspace.
you can unzip
and edit the *.sh files and add/remove anything to start at boot
To disable the k-lapse behavior Remove From the fs script.
echo '1' > /sys/module/klapse/parameters/enabled_mode
echo '256' > /sys/module/klapse/parameters/target_r
echo '202' > /sys/module/klapse/parameters/target_g
echo '151' > /sys/module/klapse/parameters/target_b
This ^ 4 commands.
Done.

#NEW# jsX-CustoKernal. #NEW#
* - Blue-Virtual-Dragon R7.
-#- BvD_r7+ Changes - Additions - Mods And Fixes =
1. Stability fixes.
2. Compile warning fixes.
3. Making kernel less debugging overhead.
4. Random optimizations.
5. Shutting up selinux logging making it less verbose.
6. Added CpuMasks.
7. Qcomm Ion Heap Speed Up Optimization.
8. Use More Optimized Arm64 memcmp.
9. Disable Compiling Tracing And Logging On Qcomm MSM Adreno Gpu Driver.
10. Feature Addition Cpu Input Boost Working Along Side SchedTune Cpu Boost.
11. Sync With Kernel.org linux-stable-queue 4.9-fixes
12. Fake Selinux Enforcing - Force Always Permissive But Return Enforcing.
13. Kernel Ocean Defconfig Changes.
- Enable USB Gadget Drivers (HID Gadget). For Nethunter Compat.
- Disable cleancache driver to cache clean pages if tmem is present. For Better Perfromance On aarch64.
14. Kernel Hacking = Debug Support Disabled.
- Disable Core Dump Support.
- Disable Kernel debugging.
- Disable Export Bluetooth internals in debugfs.
- Disable Tracers.
- Disable Debug Logging for IPC Drivers.
- Disable Stack Trace.
- Disable system-call auditing support.
- Disable USB Debugging information files (DEVELOPMENT) And In in debugfs.
15. Nuke Profiling support.
16. NFC subsystem support Disabled.
* Nuke NFC Support If Someone Needs It I Will Re-Enable Not All Ocean Devices Have NFC.
17. Reduced Boot Image Size.
* 14M = 12M ./Image.gz-dtb Now.
18. Faster Boot Times.
19. Hard Tested.
20. Roms Compatible = DerpFest - HavocOS - Msm-Xtended - Candy. Plenty More Roms , Some Needs Extra Work To Get Rid Of "Internal Error" Warning Which Is Just That ..... Don't Affect Any Funcionality.
* Magisk Modules Kernel Profile Always Needed For Blue-Virtual-Dragon Kernel Soon Is Going To Get More Updates With More Tweaks.
Flasheable Kernel Zip Download Link HERE =
https://github.com/javashin/blue_vi...-AUG-2020-NONDEBUG-FAKE-Enforcing-Selinux.zip
- Conflicts Fixing Code Clean Up And Integration By @me =
JavaShin-X CustoKernal Modder.
Saturday 08 Of August 2020.

Sorry if I misread anything;
Not getting wifi, no hotspot and when I go back (flash over to) to ROM built in kernel, VPN/net masking for TMobile hotspot throttling is broken. Was using Proton VPN since this ROM could bypass tethering using it.
Any suggestions besides factory reset or clean install? Intermediate flasher, here.
Much appreciated otherwise and found no other issues, actually. Really clean job. Thanks!
Really enjoyed being able to switch my TCP Algorithm finally.
These devices are what the Nexus 6P was not (and so much more) IMHO ..
EDIT: Resurrection Remix Android 9, G7 Power, Magisk, V4A, SmartPack manager, etc.

roiikka said:
Sorry if I misread anything;
Not getting wifi, no hotspot and when I go back (flash over to) to ROM built in kernel, VPN/net masking for TMobile hotspot throttling is broken. Was using Proton VPN since this ROM could bypass tethering using it.
Any suggestions besides factory reset or clean install? Intermediate flasher, here.
Much appreciated otherwise and found no other issues, actually. Really clean job. Thanks!
Really enjoyed being able to switch my TCP Algorithm finally.
These devices are what the Nexus 6P was not (and so much more) IMHO ..
EDIT: Resurrection Remix Android 9, G7 Power, Magisk, V4A, SmartPack manager, etc.
Click to expand...
Click to collapse
i Recommended You To Use New RROS Android 10 Or Any Other Android Q Which Have Support For This Kernel. As I Do Not Make Roms , But They Are Roms With This Kernel Already Build In Line . Like MSM-XTENDED , BLISS , DerpFest Also This Kernel Never Going TO Works On Android Pie Because IS Based On The Kernel Sources Pushed To Github By Motorola But Changed In Everything Lots Of New Commits Have Been Made Since 4.9.206-perf+ Stock Q Kernel Plus Mods Backports ETc. Join The Moto G7 Power Community On Telegram. My Custom Kernel Support Group Or Channel To Get Updates And New Releases.

Works! Thanks!
MSM-XTENDED Android 10
Just waiting for some of the apps to catch up, now

Running really smooth, score gets better and better. Thank you for the kick ass kernel

Profiles
Do you have any personal profiles for this kernel? Or a good balanced profile to share?

ozmage said:
-#_#- JavaShin-X CustoKernal -#_#-
Blue Virtual Dragon Custom Kernel.
For The Moto G7 Power Ocean Model : XT1955 = ocean.
To Improves Your Experience With This Awesome Phone.
-#- blue_virtual_dragon_kernel_sdm632 -#-
https://github.com/javashin/blue_virtual_dragon_kernel_sdm632
• Kernel Based On Motorola Stock Q 4.9.206-perf+ Ocean Source Push kernel-msm-MMI-QPOS30.52-29-2 .
https://github.com/MotorolaMobilityLLC/kernel-msm/tree/MMI-QPOS30.52-29-2
• Upstreamed To 4.9.232 Android-Stable MSM-4.9 Branch -r27.
https://github.com/android-linux-stable/msm-4.9/tree/kernel.lnx.4.9.r27-rel
• Inline Modules Added From lineage-17.1 Kernel Tree For Motorola Sdm632. Ocean.
https://github.com/erfanoabdi/android_kernel_motorola_sdm632
• Merge Linux 4.9.232 Into Blue-Virtual-Dragon jsX-CustoKernal.
Kernel.org ChangeLog = https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.232
• Merged GoldenFreezer/MetalCooler/Frost/Vegeta/Trunks/Kakarot CustoKernal's Mods , Tweaks , Features & Optimizations.
https://github.com/javashin/android_kernel_motorola_sdm632
##-Features-##
• kernel.lnx.4.9.r27-rel MSM-4.9 CAF Branch Merged IN.
• Release build have significantly reduced debugging messages/routines for slight performance & battery enhancements.
• Optimize compiler flags with better CPU optimizations.
• Optimize for performance rather than size.
• Higher performance with lower battery usage.
• Various other improvements.
• Ultra low latency.
• SchedUtil Cpu Governor Set To Default.
• Addeded BFQ I/O SCHED.
• Added 750Hz timer interrupt. Set To Default
• Zswap now uses BTREE For Search With ZPOOL.
• Zswap Now Default Compression To LZ4 and Z3fold Instead Of ZBUD.
• Zsmalloc by Default.
• WireGuard VPN.
• Boeffla generic wakelock blocker driver.
• AnyKernel v3 To Retain Magisk Root.
• Disabled GFS to Achieve Better UI Performance.
• BlueTooth Check Key-Sizes Only If Secure Simple Pairing.
• Simple Android Low Memory Killer.
• Enable ZRAM to 3GB and use lz4 as compressor.
• Use optimized spinning loop for arm64, this makes about 20% performance improvement on the CPU multithread load.
• Zen I/O scheduler - Primarily based on Noop, deadline, and SIO IO schedulers.
• Regular Updates Of WireGuard Backport From GIT.
• MDSS color control KCAL.
• Devfreq - Use high priority workqueue.
• Kgsl - Increase priority of RT thread.
• Run kgsl-workqueue as a high prio wq.
• Workqueue - change permissions to allow root control of wq_power_efficient toggle.
• Zstd Compression Algo Backported.
• Zswap kernel feature that provides a compressed RAM cache for swap pages Can Select Zstd.
• Updated Lzo From msm-4.14.
• LZO-RLE Compression Algo Backported.
• Crypto/compress - add asynchronous compression support Api's.
• Crypto/acomp - add support for lzo via scomp.
• Zswap kernel feature that provides a compressed RAM cache for swap pages Using ZPool Btree LZ4 z3fold
• ZRAM Will See Greater Performance Thanks To Lzo-rle By Default.
• Backport kvmalloc and kvmalloc_node kv[mz]alloc helpers.
• Add - Streebog Crypto Support Developed By Russia's FSB.
* introduced as a cryptographic hash function developed in large part by the Russian government.
• KLapse 5.0 A-kernel-level-livedisplay-module.
• State Notifier Driver.
• Adreno Idler.
• cpufreq Pixel 3 Smurfutil CPU governor.
• Dynamic Fsync 2.0 .
• GPU-Enable-19MHz-idle-frequency.
• Switch Fsync ON/OFF.
• adreno_tz GPU Input-Boost Feature.
• Dynamic SchedTune boosting support (DYNAMIC_STUNE_BOOST).
• Dynamic SchedTune Boosting on events (DSBOOST).
• Fingerprint Boost (FINGERPRINT_BOOST).
• AdrenoBoost.
• SIO I/O Scheduler.
• Maple I/O Scheduler.
• Force faster charge rate for USB (FORCE_FAST_CHARGE) (NEW) .
• wireless / db.txt : Checkout from head:master wireless-regdb.git
• Backport KBuild From BlueCross-Proton Android Kernel.
• Disable Unmap kernel when running in userspace (aka "KAISER").
• Kernel 4.9-Fixes From Kernel-Stable-Queue.
• Bluecross Kernel Upstream Patches Merges.
• No Kernel Modules .
• Modless Kernel .
• Disabled Loading Modules .
• Disabled Module Support .
• Config Mod's =
[*] Enable RCU priority boosting
[*] QTI Core Control
[*] Optimize very unlikely/likely branches
[*] Automatic process group scheduling
[*] CPU bandwidth provisioning for FAIR_GROUP_SCHED
[*] Enable workqueue power-efficient mode by default
[*] SMT scheduler support
• Extra Mod patches By JavaShin-X. "-jsX" Compiled With LTO+PGO+POLLY Optimized Compiler By kdrag0n.
• Build System Debian Sid/Unstable Bullseye.
• Specific Aarch64 Sdm632 optimizations. "-march=armv8-a+fp+simd+crc+crypto" .
• Plus ricer optimizations "-O3 -mllvm -polly -mcpu=kryo -mtune=kryo -fno-stack-protector -pipe".
• Clang-Proton 12.
• GCC 10.2.0 aarch64-linux-gnu- & arm-linux-gnueabihf- . As CROSS-COMPILERS.
• CROSS_COMPILE_ARM32 & CLANG_TRIPLE_ARM32.
• VDSO32 Bits Enabled By Default.
• Kernel Compatible To Compile With LTO THINLTO & LD.LLD Linker.
• THINLTO Build Link On Time Optimizations.
• Faster Builds Time.
• Make USE LD.LLD LLVM Linker For LTO.
• Enable -O3 In LD.LLD Plugin When Using CLang.
• Simple And Human Readble Building Script.
• Set Optimiztions To Polly LLVM by Default. Polyhedral optimizations for LLVM.
KBUILD_CFLAGS += "-mllvm -polly -mllvm -polly-run-dce -mllvm -polly-run-inliner -mllvm -polly-opt-fusion=max
-mllvm -polly-ast-use-context -mllvm -polly-detect-keep-going -mllvm -polly-vectorizer=stripmine
-mllvm -polly-invariant-load-hoisting"
Compatible With DerpFest , Msm-X , Havoc-OS , SuperiorOS , StagOS , Plenty More Roms.
SmartPack Kernel Manager. Recommended.
Credits :
Thanks To erfanoabdi SyberHaxen Barry Allen For Their Contributions.
And Provide The lineageos-17.1 Kernel Source Tree.
Thanks To Motorola-Lenovo For Being A Great Company Friendly With The Open Source Community.
Thanks To Google And Qualcomm "2" .
@everyone Who Has Tried My Kernal. Testers!
Thanks To @GarfieldArbuckle For The Kernel Logo ArtWork.
Moto G7 Power Communities English And Spanish.
electimon , TailanCunha , Dan Ford , David Rondeau , steve , gabi , Deivid , Francisco.
##- Please give feedback. A lot of work has been done to get here. -##
JavaShin-X CustoKernals Telegram Channel Dumper =
https://t.me/CustoKernal_JavaShin_Mods
Telegram CustoKernal Support Group =
https://t.me/jsX_CustoKernals_Support
* Disclaimer ===
"Not Responsible For Any Kind Of Damage To Any Device"
"Use At Your Own Risk , No Warranty Included , If Brick Well It Bricks In The Name Of Science Don't Blame ME"
"If You Got Here Is For A Reason , Meaning You Already Know What Are You Doing With Your Phone"
"Meaning That You Already Void OEM Warranty"
" And There Is No Turning Back Starting When You Typed = fastboot oem unlock + key "
* Instructions ===
Always retain a backup of your current kernel and system image. Before Flashing.
After Set Everything Up - Working System Custom Rom With Recovery & Magisk Root.
Then Just Need To Reboot To Recovery Via Advanced Reboot Power Menu Or "adb reboot recovery"
Or Starting Phone In Bootloader Mode Selecting Recovery From Menu Using Vol - And Power.
##- Enjoy - Cheers ! -##
Carlos Jimenez = NickName =
JavaShin-X WrongDevice =
Ozmage JavaShin-X Fork.
Dominican Republic -
Sunday August 02 2020.
XDA:DevDB Information
Blue_Virtual_Dragon, Kernel for the Moto G7 Power
Version Information
Status: Stable
Created 2020-08-02
Last Updated 2020-08-08
Blue_Virtual_Dragon Kernel Profile Magisk Module.
After Install In Magisk* The Kernel Profile , The System Will Have 12 Gigas Of Swap Virtual Mem With 4 Zram Device Nodes 1 Compressed Pages With LZ4 The Last 3 With LZO-RLE.
- Magisk-Kernel-Module-Profile-v0.2
- ChangeLOG =
1. NEw Tweaks To USe More Swap From The Zram Virtual 12G .
2. Added New Tweaks =
sysctl -w vm.vfs_cache_pressure=500
sysctl -w vm.swappiness=100
sysctl -w vm.dirty_background_ratio=1
sysctl -w vm.dirty_ratio=50
3. Add Missing Version Renaming
- OCEAN-KERNEL-4.9.232-Blue-Virtual-Dragon_r4.1-03-AUG-2020
- ChangeLOG =
1. Kernel-Command Line Built In.
• Kernel Command Line Additions = androidboot.selinux=permissive buildvariant=user audit=0 mitigations=off zram.num_devices=4 zram_num.devices=4 zswap.compressor=lz4 zswap.max_pool_percent=25 zswap.zpool=z3fold zswap.enabled=1 ksm_mode=always elevator=maple coresight_cpu_debug.enable=0 debug=0 nowatchdog nmi_watchdog=0 no_debug_objects dyndbg=0 module.dyndbg=0
* No Need To Flash Old *.IMG To Get The Commands For The Bootloader.
2. Compiled With Last Clang-PROTON. Sync.
# Update Blue_Virtual_Dragon_r7+ Down.
Click to expand...
Click to collapse
ozmage said:
-#_#- JavaShin-X CustoKernal -#_#-
Blue Virtual Dragon Custom Kernel.
For The Moto G7 Power Ocean Model : XT1955 = ocean.
To Improves Your Experience With This Awesome Phone.
-#- blue_virtual_dragon_kernel_sdm632 -#-
https://github.com/javashin/blue_virtual_dragon_kernel_sdm632
• Kernel Based On Motorola Stock Q 4.9.206-perf+ Ocean Source Push kernel-msm-MMI-QPOS30.52-29-2 .
https://github.com/MotorolaMobilityLLC/kernel-msm/tree/MMI-QPOS30.52-29-2
• Upstreamed To 4.9.232 Android-Stable MSM-4.9 Branch -r27.
https://github.com/android-linux-stable/msm-4.9/tree/kernel.lnx.4.9.r27-rel
• Inline Modules Added From lineage-17.1 Kernel Tree For Motorola Sdm632. Ocean.
https://github.com/erfanoabdi/android_kernel_motorola_sdm632
• Merge Linux 4.9.232 Into Blue-Virtual-Dragon jsX-CustoKernal.
Kernel.org ChangeLog = https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.232
• Merged GoldenFreezer/MetalCooler/Frost/Vegeta/Trunks/Kakarot CustoKernal's Mods , Tweaks , Features & Optimizations.
https://github.com/javashin/android_kernel_motorola_sdm632
##-Features-##
• kernel.lnx.4.9.r27-rel MSM-4.9 CAF Branch Merged IN.
• Release build have significantly reduced debugging messages/routines for slight performance & battery enhancements.
• Optimize compiler flags with better CPU optimizations.
• Optimize for performance rather than size.
• Higher performance with lower battery usage.
• Various other improvements.
• Ultra low latency.
• SchedUtil Cpu Governor Set To Default.
• Addeded BFQ I/O SCHED.
• Added 750Hz timer interrupt. Set To Default
• Zswap now uses BTREE For Search With ZPOOL.
• Zswap Now Default Compression To LZ4 and Z3fold Instead Of ZBUD.
• Zsmalloc by Default.
• WireGuard VPN.
• Boeffla generic wakelock blocker driver.
• AnyKernel v3 To Retain Magisk Root.
• Disabled GFS to Achieve Better UI Performance.
• BlueTooth Check Key-Sizes Only If Secure Simple Pairing.
• Simple Android Low Memory Killer.
• Enable ZRAM to 3GB and use lz4 as compressor.
• Use optimized spinning loop for arm64, this makes about 20% performance improvement on the CPU multithread load.
• Zen I/O scheduler - Primarily based on Noop, deadline, and SIO IO schedulers.
• Regular Updates Of WireGuard Backport From GIT.
• MDSS color control KCAL.
• Devfreq - Use high priority workqueue.
• Kgsl - Increase priority of RT thread.
• Run kgsl-workqueue as a high prio wq.
• Workqueue - change permissions to allow root control of wq_power_efficient toggle.
• Zstd Compression Algo Backported.
• Zswap kernel feature that provides a compressed RAM cache for swap pages Can Select Zstd.
• Updated Lzo From msm-4.14.
• LZO-RLE Compression Algo Backported.
• Crypto/compress - add asynchronous compression support Api's.
• Crypto/acomp - add support for lzo via scomp.
• Zswap kernel feature that provides a compressed RAM cache for swap pages Using ZPool Btree LZ4 z3fold
• ZRAM Will See Greater Performance Thanks To Lzo-rle By Default.
• Backport kvmalloc and kvmalloc_node kv[mz]alloc helpers.
• Add - Streebog Crypto Support Developed By Russia's FSB.
* introduced as a cryptographic hash function developed in large part by the Russian government.
• KLapse 5.0 A-kernel-level-livedisplay-module.
• State Notifier Driver.
• Adreno Idler.
• cpufreq Pixel 3 Smurfutil CPU governor.
• Dynamic Fsync 2.0 .
• GPU-Enable-19MHz-idle-frequency.
• Switch Fsync ON/OFF.
• adreno_tz GPU Input-Boost Feature.
• Dynamic SchedTune boosting support (DYNAMIC_STUNE_BOOST).
• Dynamic SchedTune Boosting on events (DSBOOST).
• Fingerprint Boost (FINGERPRINT_BOOST).
• AdrenoBoost.
• SIO I/O Scheduler.
• Maple I/O Scheduler.
• Force faster charge rate for USB (FORCE_FAST_CHARGE) (NEW) .
• wireless / db.txt : Checkout from head:master wireless-regdb.git
• Backport KBuild From BlueCross-Proton Android Kernel.
• Disable Unmap kernel when running in userspace (aka "KAISER").
• Kernel 4.9-Fixes From Kernel-Stable-Queue.
• Bluecross Kernel Upstream Patches Merges.
• No Kernel Modules .
• Modless Kernel .
• Disabled Loading Modules .
• Disabled Module Support .
• Config Mod's =
[*] Enable RCU priority boosting
[*] QTI Core Control
[*] Optimize very unlikely/likely branches
[*] Automatic process group scheduling
[*] CPU bandwidth provisioning for FAIR_GROUP_SCHED
[*] Enable workqueue power-efficient mode by default
[*] SMT scheduler support
• Extra Mod patches By JavaShin-X. "-jsX" Compiled With LTO+PGO+POLLY Optimized Compiler By kdrag0n.
• Build System Debian Sid/Unstable Bullseye.
• Specific Aarch64 Sdm632 optimizations. "-march=armv8-a+fp+simd+crc+crypto" .
• Plus ricer optimizations "-O3 -mllvm -polly -mcpu=kryo -mtune=kryo -fno-stack-protector -pipe".
• Clang-Proton 12.
• GCC 10.2.0 aarch64-linux-gnu- & arm-linux-gnueabihf- . As CROSS-COMPILERS.
• CROSS_COMPILE_ARM32 & CLANG_TRIPLE_ARM32.
• VDSO32 Bits Enabled By Default.
• Kernel Compatible To Compile With LTO THINLTO & LD.LLD Linker.
• THINLTO Build Link On Time Optimizations.
• Faster Builds Time.
• Make USE LD.LLD LLVM Linker For LTO.
• Enable -O3 In LD.LLD Plugin When Using CLang.
• Simple And Human Readble Building Script.
• Set Optimiztions To Polly LLVM by Default. Polyhedral optimizations for LLVM.
KBUILD_CFLAGS += "-mllvm -polly -mllvm -polly-run-dce -mllvm -polly-run-inliner -mllvm -polly-opt-fusion=max
-mllvm -polly-ast-use-context -mllvm -polly-detect-keep-going -mllvm -polly-vectorizer=stripmine
-mllvm -polly-invariant-load-hoisting"
Compatible With DerpFest , Msm-X , Havoc-OS , SuperiorOS , StagOS , Plenty More Roms.
SmartPack Kernel Manager. Recommended.
Credits :
Thanks To erfanoabdi SyberHaxen Barry Allen For Their Contributions.
And Provide The lineageos-17.1 Kernel Source Tree.
Thanks To Motorola-Lenovo For Being A Great Company Friendly With The Open Source Community.
Thanks To Google And Qualcomm "2" .
@everyone Who Has Tried My Kernal. Testers!
Thanks To @GarfieldArbuckle For The Kernel Logo ArtWork.
Moto G7 Power Communities English And Spanish.
electimon , TailanCunha , Dan Ford , David Rondeau , steve , gabi , Deivid , Francisco.
##- Please give feedback. A lot of work has been done to get here. -##
JavaShin-X CustoKernals Telegram Channel Dumper =
https://t.me/CustoKernal_JavaShin_Mods
Telegram CustoKernal Support Group =
https://t.me/jsX_CustoKernals_Support
* Disclaimer ===
"Not Responsible For Any Kind Of Damage To Any Device"
"Use At Your Own Risk , No Warranty Included , If Brick Well It Bricks In The Name Of Science Don't Blame ME"
"If You Got Here Is For A Reason , Meaning You Already Know What Are You Doing With Your Phone"
"Meaning That You Already Void OEM Warranty"
" And There Is No Turning Back Starting When You Typed = fastboot oem unlock + key "
* Instructions ===
Always retain a backup of your current kernel and system image. Before Flashing.
After Set Everything Up - Working System Custom Rom With Recovery & Magisk Root.
Then Just Need To Reboot To Recovery Via Advanced Reboot Power Menu Or "adb reboot recovery"
Or Starting Phone In Bootloader Mode Selecting Recovery From Menu Using Vol - And Power.
##- Enjoy - Cheers ! -##
Carlos Jimenez = NickName =
JavaShin-X WrongDevice =
Ozmage JavaShin-X Fork.
Dominican Republic -
Sunday August 02 2020.
XDA:DevDB Information
Blue_Virtual_Dragon, Kernel for the Moto G7 Power
Version Information
Status: Stable
Created 2020-08-02
Last Updated 2020-08-08
Blue_Virtual_Dragon Kernel Profile Magisk Module.
After Install In Magisk* The Kernel Profile , The System Will Have 12 Gigas Of Swap Virtual Mem With 4 Zram Device Nodes 1 Compressed Pages With LZ4 The Last 3 With LZO-RLE.
- Magisk-Kernel-Module-Profile-v0.2
- ChangeLOG =
1. NEw Tweaks To USe More Swap From The Zram Virtual 12G .
2. Added New Tweaks =
sysctl -w vm.vfs_cache_pressure=500
sysctl -w vm.swappiness=100
sysctl -w vm.dirty_background_ratio=1
sysctl -w vm.dirty_ratio=50
3. Add Missing Version Renaming
- OCEAN-KERNEL-4.9.232-Blue-Virtual-Dragon_r4.1-03-AUG-2020
- ChangeLOG =
1. Kernel-Command Line Built In.
• Kernel Command Line Additions = androidboot.selinux=permissive buildvariant=user audit=0 mitigations=off zram.num_devices=4 zram_num.devices=4 zswap.compressor=lz4 zswap.max_pool_percent=25 zswap.zpool=z3fold zswap.enabled=1 ksm_mode=always elevator=maple coresight_cpu_debug.enable=0 debug=0 nowatchdog nmi_watchdog=0 no_debug_objects dyndbg=0 module.dyndbg=0
* No Need To Flash Old *.IMG To Get The Commands For The Bootloader.
2. Compiled With Last Clang-PROTON. Sync.
# Update Blue_Virtual_Dragon_r7+ Down.
Click to expand...
Click to collapse
hello, I would like a step by step installation of the kernel first
hello, I would like a step by step installation of the kernel first

RIP

New to kernel modding, not to playing with roms and the like. Would the premade kernel work on a Moto E 2020 ginna. I think it's the same kernel.
Stock, rooted
Magisked
Lsposed
Build QPGS30.82-135-7
4.9.206-perf+
#1 Wed Jun 9 05:43:55 CDT 2021

CrYpTiC VaLoR said:
Correndo muito bem, a pontuação fica cada vez melhor. Obrigado pelo kernel foda
Click to expand...
Click to collapse

Related

[Kernel][3.0.31][JB] RoXSel Kernel v2 (Touch) [08/09/2013]

RoXSel Kernel for GT-I8160 aka Codina aka Ace 2
Team: Roxsel (Rox and jereksel)
I'M IN NO WAY RESPONSIBLE OF ANY DAMAGE CAUSED BY USING THIS CUSTOM KERNEL.
PLEASE NOTE THAT SOME FEATURES CAN DAMAGE YOUR PHONE AND YOUR EAR.​
What is needed:
Samsung GT-I8160 (Jellybean)
Custom, non stock based ROM (CM, P.A.C, Slim, RootBox, LiquidSmooth...)
Some Android experience
Features:
zram: zRAM supports for android
swap: swap supports
fs: CIFS module
fs: Fsync control [Cocafe]
fs: exfat-nofuse [Dorimanx]
fs/aio: Asynchronous io performance improved
arm: ThumbEE
arm/vfp: Build with neon
arm/crypto: ARM AES and SHA-1 crypto implementation
abb-Regulator: VOTG power supply
abb-Chargalg: Real charged notification
abb-Charger: Charger control
lib: Optimzed CRC32 algorithm [ezekeel]
lib: GNU C version memcpy & string
mmc: spi CRC configurable [Cocafe]
mali: Utilization control
mali: MALI TWEAK[Cocafe]
mali: PM sampling rate tweakable [Cocafe]
kernel: LZO compression
snvet: Reduce the waketime 6s -> 1s
sched: Disable sched debug stuff
debug: Remove Samsung debug code [Adi_Pat]
debug: Android logger as module (free 4mb RAM)
st-mmio: Highlight mode for rear LED flash [Cocafe]
bcmdhd: PM_FAST by default
bcmdhd: Reenable ipv6 and disable multicast in suspend [Andrew Dodd]
random: Entropy tweaks [dorimanx]
random: Frandom module support
staging: Add Snappy and lz4 compression
staging: Lowmemorykiller tweaked
cpufreq: 14 available CPU governors
[*]block: 8 IO schedulers
ramdisk: Init.d scripts
ramdisk: LZO compression
ramdisk: ClockworkMod Recovery 6.0.3.4 [CyanogenMod]
ramdisk: ClockworkMod Touch Recovery 6.0.3.2 [SlimBean]
toolchain: Linaro GCC 4.7
More details in changelog and Github repo
Installation:
Download RoXSel_Kernel_vX.zip
Boot into recovery
Wipe Cache ( Highly Recommended )
Flash RoXSel_Kernel_vX
Reboot
Enjoy !
Downloads:
RoXSel Kernel v2
RoXSel Kernel v2 - CWM Touch
RoXSel Kernel v2 (4.1.2 Roms)
RoXSel Kernel v2 (4.1.2 Roms) - CWM Touch
Sources:
Credits:
dh.harald for kernel source
hafidzduddin, cocafe and Adi_Pat for tweaking source
If i forgot someone contact me
How to play with kernel
Here are some intructions/tips about how to play with the kernel.
Terminal is needed.
If you want to change the values,it needs su permission.
If you get 'Permisson denied',you need su permisson.
If the devices lost responses,hold power button 8s to reboot.
Simply,You can cd to the folder first,then do echos.
Then `???` stands for the number to input
Boot time
RoXSel boots faster than stock normally.
4.2.2
Code:
Stock: 8600ms - 8800ms
RoXSel: 8400ms - 8600ms
Report other versions !!
How to check boottime?
Code:
cat /d/boottime/summary
CPU Governors
OndemandQ ( Default )
Ondemand
Performance
Hotplug
SmartAss2
Lionhearth
Lulzativeq
Powersave
Intellidemand
Lagfree
Lazy
Interactive
Conservetive
Userspace
* Personaly,I use OnDemand(Q)
* OndemandQ is a new governor. It will hotplug cpu when screen turns off only.
* If you mind the battery life time,choose HotPlug. It hotplugs cpu frequently.
* LulzactiveQ, it will hotplug cpus
CPU Freqs
On JB,we cannot tweak min/max scale freqs via apps like SetCPU.
Here is the method.
Code:
cd /sys/power
For example: set 400Mhz as max limited
Code:
echo 400000 > cpufreq_max_limit
* When you switch on/off power saving mode, this tweak will be overrided.
IO schedulers
Noop ( Default )
Deadline
Cfq
Bfq
Row
Zen
Sio
Vr
* Personally, i use Zen
Frandom Module
Use CrossBeeder to enable frandom.
Deepest sleep state
Stock: 3 Default: 3
Deepest supported is 5.
To change:
Code:
echo 5 > /d/cpuidle/deepest_state
* PegasusQ ( hotplug governors ) works badly with 5
* OnDemand works well with 5
* Please note that it wont increase the using time but standby time.
To check the cpuidle state:
Code:
cat /d/cpuidle/stats
USB VBus
( v2+ )
This can enable the internal vbus power supply for usb devices.
But the phone still cannot recognize our usb devices now.
You can use it for fun,like charging for other devices, using usb fan...
To enable :
Code:
cd /sys/kernel/abb-regu
echo 1 > VOTG
* Say 0 to VOTG to disable
* Plug yoru cable first,then enable it
zRAM
zRAM is optimized for Android.
It is not lazy anymore.
Using zRAM will take a little CPU,because it needs to compress/decompress memory.
Recommended compressing about 18% of RAM,about 100mb
Setup disksize first: (example: 96mb= 96×1024×1024)
Code:
echo 100663296 > /sys/block/zram0/disksize
* Larger size more RAM will be compressed.
* Too large size might make phone lag
Enable:
Code:
mkswap /dev/block/zram0
swapon /dev/block/zram0
To check how many does it use:
Code:
cat /sys/block/zram0/num_reads
cat /sys/block/zram0/num_writes
* You can get other info in its sysfs
Swap
Format/resize your SdCard via computer first.
Enable:
Code:
mkswap /dev/block/mmcblk1p1
swapon /dev/block/mmcblk1p1
Init.d script
Put some scripts (any name you like) in init.d folder with permisson 0777 (rwxrwxrwx) (at least has read and exec permission)
Scripts with right permisson will be runned when system boots.
Charger control
Please note that this control can damage your battery/phone.
If your battery/phone damaged,read the top of #1 post.
Lower current makes the charging longer,but protects battery.
Too high current can burn your battery!
I recommend you that dont set the max limited current over 900mA.
AC Maximum current: (stock: 600 , min: 0 , max: 900) mA
Code:
echo ??? > /sys/kernel/abb-charger/max_ac_c
USB Maximum current: (stock: 600 , min: 0 , max: 900) mA
Code:
echo ??? > /sys/kernel/abb-charger/max_usb_c
* The control only accepts values like 0, 100, 200 ...
* Set usb current to 0,the phone wont charge in usb port,but transmits data.
Track driver memory [advanced] :
Code:
cat /sys/kernel/abb-charger/stats
To get the charging current:
When you plug charger:
Code:
dmesg | grep -i ab8500-charger
Real charged notification
To be honest,it needs to check manually.
Code:
cat /sys/module/abb_chargalg/parameters/eoc_status
* You can use Rootexplorer to view this file.
* When it says "First full charging reached",then the UI should show you charged 100%
But it is not the real full charged.
* When it says it is the real full charged,you can unplug the charger.
* When you are charging and do a reboot will reset the counter.
* According to my experiments,it needs 1-2 hours to charge to real full.
MMC SIP CRC
( v2+ )
Disabling SPI CRC can improve mmc performance (10% ~ 30%)
But phone may freeze randomly
Code:
echo 0 > /sys/module/mmc_core/parameters/use_spi_crc
Camera LED Flash
( v2+ )
HIghlight mode for assistive light, enabling this for a long time will heat up your device, be careful!
Enable:
Code:
echo 1 > /sys/class/camera/flash/highlight
Disable:
Code:
echo 0 > /sys/class/camera/flash/highlight
Fsync Control
Get current status:
Code:
cat /sys/kernel/fsync/mode
FSYNC modes:
Code:
0: fsync on
1: fsync off
2: fsync dyn
Disable FSYNC:
Code:
echo 1 > /sys/kernel/fsync/mode
* Disabling fsync can improve io performace,
but it can make the data which hasnt been written lose when a sudden poweroff comes.
* Disabling fsync or enabling dyn_fsync will make param driver fail to store data
That means your "reboot recovery" will fail.
Enable Dynamic FSYNC:
Code:
echo 2 > /sys/kernel/fsync/mode
* Dynamic fsync will sync all buffers when screen turns off,
* If there is a heavy io load,the screen might get stuck for seconds.
* This is an experimental feature.
Mali GPU
Mali debug level
Disabling can speed up a bit
Code:
echo 0 > /sys/module/mali/parameters/mali_debug_level
* Higher level,more messages will be printed in dmesg, system will slow down
Mali L2 max reads control: (Stock:28kb,Default:48kb(max))
Code:
echo xx > /sys/module/mali/parameters/mali_l2_max_reads
* Some values will slow down graphics
* If not sure,keep default
Mali PM sampling rate: (Default: 1000ms)
Code:
echo xx > /sys/module/mali/parameters/mali_pm_sampling_rate
Mali PP scheduler tweaks: (Default: disable)
Code:
echo 1 > /sys/module/mali/parameters/mali_pp_scheduler_balance_jobs
* Enabling this,Some places will over ahead,choose by your self
Mali Utilization sampling rate: (Stock:500ms,Default:1000ms)
How often report a mali utilization.
Code:
echo xxx > /sys/module/mali/parameters/mali_utilization_sampling_rate
* Keep this default if unsure.
Mali Utilization control
(Default: low_to_high 192 high_to_low 64)
Our driver will report a mali utilization frequently.
This utilization(range: 0~255) means the load of mali.
If utilization is bigger than low_to_high ,driver will request higher hardware performance(highest APE/DDR OPP).
If utilization is smaller than high_to_low ,the driver will store the requested OPP(uses low OPP).
OPP can be understood as freq simply.
To check mali utilization values:
Code:
echo 5 > /sys/module/mali/parameters/mali_debug_level
cat /proc/kmsg | grep -i utilization
When it says SIGNAL_HIGH,it will request highest OPP.
When it says SIGNAL_LOW,it will request lowest OPP.
Press Ctrl+C to stop printing.
You can reduce low_to_high to trigger higher OPP requirement.
For smoothness and less powersaving:
Set low_to_high between 100-192.
Code:
echo 120 > mali_utilization_low_to_high
Mali max preemptive allocated max memory size:
Default is 16mb(16*1024*1024), bigger max size more throughput.
But when this value is too big, no more throughput.
For example: 48mb = 48*1024*1024
Code:
echo 50331648 > /sys/module/mali/parameters/pre_allocated_memory_size_max
EGL Driver
To use Mali hardware egl driver only:
Edit /system/lib/egl.cfg
Code:
0 0 android
0 1 mali
To
Code:
0 0 mali
Then remove libGLES_android.so
* Recommend to backup these files
* According to my feelings: after disabling sw egl driver,UI is faster
Logcat
Well,we have made android logger(logcat) as module to free more RAM.
Some guys request logcat.
Now we provide you a workaround:
Create a new init.d script:
Code:
#!/system/bin/sh
insmod /system/lib/modules/logger.ko
or
Flash this ZIP
Then you can use logcat command.
Almost tweaks will be restored to default after reboots.
So you can make your tweaks as init.d scripts to apply them when boots.
Bugs and Changelogs
Bugs :
LPM charging (Not on stock)
-------------------------------------------------------------------------------------------------------------------------------
Changelog Version 3 (XX/XX/XXXX) :
| Stock version ( Touch ) | | 4.2.2 Version ( Touch ) | | CM 10 version ( Touch ) | | MIUI version ( Touch ) |
Kernel version updated 3.0.31 - > 3.0.96
vmscan: vm_swappiness = 60 -> 20
snd_usb: fix sysfs conflicts [Cocafe]
bcmdhd: wifi signal values patch
power: stop printing noise [Cocafe]
sched: Enable arch power
mm: VM Tweaks [Adi_Pat]
fs: Reduce vfs_cache_pressure to 20 [Adi_Pat]
debug: Disable Frame pointer [Adi_Pat]
defconfig: Enable CLEANCACHE
Added support for MIUI
Added support for STOCK ~ HOT
-------------------------------------------------------------------------------------------------------------------------------
Changelog Version 2 (08/09/2013) :
| 4.2.2 version ( Touch ) | | CM 10 version ( Touch ) |
ramdisk: LZO compression
kernel: LZO compression
mali: pre-allocated os memory size 24mb -> 16mb
st-mmio: Highlight mode for rear LED flash [Cocafe]
bcmdhd: Reenable ipv6 and disable multicast in suspend [Andrew Dodd]
sched: Disable arch power
arm/crypto: ARM AES and SHA-1 crypto implementation
fs: exfat-nofuse [Dorimanx]
drivers/mmc: spi CRC configurable [Cocafe]
abb-Regulator: VOTG power supply
toolchain: Linaro GCC 4.7
partialy fix LPM charging
-------------------------------------------------------------------------------------------------------------------------------
Changelog Version 1 (29/08/2013) :
| 4.2.2 version ( Touch ) | | CM 10 version Touch |
Initial Release
Added CWM Touch version (04/09/2013)
Added CM 10 CWM Touch version (04/09/2013)
-------------------------------------------------------------------------------------------------------------------------------
Note:
I/O schedulers cant be changed in stock performance app that comes with most ROMS.
Use 3rd party app instead ( SetCPU, No-Frills... )
What are these an do I need it I'm running rootbox
Sent from my GT-I8160 using xda app-developers app
Faster with CM10 than CM10 with his stock kernel?
EDIT:
OP: @Rox = Roberthinio??
Ok IDK nothing about kernel. I use CM10 from @dh.harald. If i use this kernel, the performance will increase? And i use mod vold.fstab from MIUI beta rom, will it causing complication when i flash this kernel? Or i should flash this kernel with fresh CM10?
Thanks in advance, congratulations for the elaboration
good job :fingers-crossed:
Thank you guys. I'll give a try on slim bean.
On stock JB phone does not boot, its blocked at samsung blinking logo. Advices?
I can go to cwm recovery.
Sent from my Nivo using Tapatalk 4
myhayserano said:
On stock JB phone does not boot, its blocked at samsung blinking logo. Advices?
Sent from my Nivo using Tapatalk 4
Click to expand...
Click to collapse
What is needed:
Samsung GT-I8160 (Jellybean)
AOSP ROM (CM, P.A.C, Slim, RootBox, LiquidSmooth...)
Some Android experience
This is confusing, does it run on stock JB roms? Or is intended olnly fir custom roms?
Sent from my Nivo using Tapatalk 4
myhayserano said:
On stock JB phone does not boot, its blocked at samsung blinking logo. Advices?
I can go to cwm recovery.
Sent from my Nivo using Tapatalk 4
Click to expand...
Click to collapse
Read the requirements, lucky you don't hardbrick your SGA2 :')
myhayserano said:
On stock JB phone does not boot, its blocked at samsung blinking logo. Advices?
I can go to cwm recovery.
Sent from my Nivo using Tapatalk 4
Click to expand...
Click to collapse
read what is needed before you flash. to boot phone flash kernel.bin.md5 from one of firmwares using odin
Not needed I had cwm backup of my rom and just restored stock kernel phone booted ok. Please modify first post and specify that this kernel is compatibile ONLY with custom roms.
This phrase at the begining can make people mistake:
``Samsung GT-I8160 (Jellybean)``
Sent from my GT-I8160 using Tapatalk 4
Any bugs?
Sent from my GT-I8160 using xda premium
myhayserano said:
Not needed I had cwm backup of my rom and just restored stock kernel phone booted ok. Please modify first post and specify that this kernel is compatibile ONLY with custom roms.
This phrase at the begining can make people mistake:
``Samsung GT-I8160 (Jellybean)``
Sent from my GT-I8160 using Tapatalk 4
Click to expand...
Click to collapse
Read all phases and everything will be cleared out...
@up no bugs except that you have to use 3rd party app to change i/o scheduler ( you cant change inside settings-performance, dont kniw why. Some app bug)
I will ad more info later on 2 nd post i am not at home
Sent from my GT-I8160
Don't mean to sound like a noob but is it safe to use on top of tweaks such as Project Injection?
Yes. Also if you use crosbreeder you can enable frandom
Sent from my GT-I8160
Rox said:
Yes. Also if you use crosbreeder you can enable frandom
Sent from my GT-I8160
Click to expand...
Click to collapse
Thanks for the quick reply. I'll be pairing up this kernel with LiquidSmooth as soon as call volume is fixed. :good:
I'm trying now. This is ****** handsome! You put hotplug governor, my battery say tahnks to you
Maybe one little bug: on powersave frequency doesnt remain at 200mhz. And if i set frequency min 200 MHz - max 400mhz the 800mhz step continue to work, eventi if i choose userspace.
I'll try with no CPU frills.
Good work mate!

[Kernel][3.4.113][DualBoot] Chrono Kernel R5.10

Custom kernel for Samsung Galaxy Ace 2​
Features:
Only one universal kernel for JB, KK and LP-based ROMs
CPU, GPU and DDR OC support
more governors and I/O schedulers
Lite kernel - some kernel features moved to modules
fully working BLN
Sweep2wake && Doubletap2wake
CPU freq settings for suspend
Full F2FS support
SELinux support
UKSM support
ABB-charger tweaks
Credits:
@dh.harald and @hafidzduddin for contribution on codina sources
@ Team Canjica for a base for this kernel
@ Nova Fusion for F2FS implementation
@zwliew for contribution on TC kernel
@cocafe for LiveOPP, GPU OC, abbamp and abb-charger tweaks and many cool patches which I've used from his kernel
@faux123 for dynamic Fsync implementation
@Christopher83 for dynamic management of dirty page writebacks implementation
@KINGbabasula for contribution on TC kernel sources
@boype for SIOPlus tweaks and OndemandPlus governor
@Adi_Pat for abbamp, kernel tweaks
@PolishVodka for initramfs scripts for 4.2.x and 5.0.x
@Rox for help in fixing initramfs scripts for 4.1.2
@ace2nutzer for optimization CPU OC and for whatever scripts which I have used in my kernel
@Meticulus for BLN, Sweep2wake and Doubletap2wake
@mkaluza for huge LiveOPP/Mali improvements and Dynamic governor
@yanpol199 for help with F2FS support in TWRP
@ all users who tests this kernel and directs the development along the right path
@ all those users, who I forgot to mention (PM me if so)
Team Win for TWRP recovery
CyanogenMod Team for CWM recovery
Phil3759 for philz recovery
Samsung for opening kernel source
Linus Torvalds for Linux sources
Standard Disclaimer: Not responsible for bricking your phone, voiding your warranty, or any other pain or suffering you may feel as result of using this kernel!!!
To install kernel with F2FS support read installation method in 3rd post
To install kernel with dual boot support, proceed this method.
Since R2.12.1 has been released, no need to care about bootscripts, kernel package will install it itself.
Source Code:
r6.0
< r6.0
Download:
FTP
Thanks @S.AMU for providing FTP-Server
Thanks @shaqman89 for providing build server
​
XDA:DevDB Information
Chrono Kernel, Kernel for the Samsung Galaxy Ace II
Contributors
ChronoMonochrome, cocafe, faux123, zwliew, mkaluza, Meticulus, KINGbabasula, ace2nutzer, TeamCanjica
Source Code: https://github.com/ChronoMonochrome/Chrono_Kernel-1/commits/master-3.10
Kernel Special Features: Swappable ramdisk, UKSM, dual boot support
Version Information
Status: Stable
Current Stable Version: R5.1
Stable Release Date: 1974-11-11
Beta Release Date: 1974-11-11
Created 2014-06-24
Last Updated 2017-10-27
Changelogs and features
Bug list:
-
Changelog
(old changelog)
R2.10
Build from R2.6 sources with re-added all changes in LiveOPP, cpufreq_limits module, some interfaces from 2.9.x (usb sw reset, PonKey emulator on voldown/up).
R2.9
Mali OC module v2.0:
added interfaces boost_hispeed1, boost_hispeed2.
added interfaces mali_threshold_freq_down and mali_threshold_freq_up
(new interfaces manual)
1) mali_threshold_freq_down/up:
echo new value to tweak it:
Code:
echo 150 > /sys/kernel/mali/mali_threshold_freq_up
2) mali_boost_hispeed(2)
Use command
Code:
echo idx=X > /sys/kernel/mali/mali_boost_hispeed2
to tweak its freq.
following command is to tweak its threshold:
Code:
echo threshold=220 > /sys/kernel/mali/mali_boost_hispeed2
partially re-enabled touchboost (it actually was enabled even on 2.7.4, but I forgot to mention)
reverted suspend/hibernate/freezer etc. commits to hopefully fix reboots issue in deepsleep
fixed APE_25_OPP (in suspend it actually used APE50 previously)
minor fixes in cpufreq_limits driver
R2.8
Mali OC module v2.0(detailed description in 3rd post):
added interfaces boost_hispeed1, boost_hispeed2.
added interfaces mali_threshold_freq_down and mali_threshold_freq_up
partially re-enabled touchboost (it actually was enabled even on 2.7.4, but I forgot to mention)
reverted suspend/hibernate/freezer etc. commits to hopefully fix reboots issue in deepsleep
fixed APE_25_OPP (in suspend it actually used APE50 previously)
minor fixes in cpufreq_limits driver
(2.7.6)
- fixed broken GPU scaling algorithm (removed /sys/kernel/mali/mali_scaling_dynamic)
(2.7.5)
- partially reverted LiveOPP voltage autocalibration
- fixed unstable mali tunables and added interface mali_scaling_dynamic
Code:
echo 1 > /sys/kernel/mali/mali_scaling_dynamic
When mali_scaling_dynamic is used, mali will scale between mali_boost_low and mali_boost_high using all steps between these mentioned. mali_stats provides statistics about mali utilization on each step.
- removed some GPU freq steps
(2.7.4)
- new governor Dynamic (thanks to mkaluza)
- new GPU scaling algorithm (thanks to 1N4148 ) - ondemand-like GPU governor
- LiveOPP: reworked avs-based varm recalibration algorithm
(2.7.3)
added governor OndemandPlus (thanks to boype)
removed governors with hotplugging support
added interface to tweak PLLDDR freq on suspend:
Code:
echo on > /sys/kernel/cpufreq/pllddr_raw
To control freq are used raw PLLDDR register values:
Code:
echo suspend=0x000050158 > /sys/kernel/cpufreq/pllddr_raw # 675 MHz
Code:
echo resume=0x000050168 > /sys/kernel/cpufreq/pllddr_raw # 798 MHz
PLLDDR freq can be checked via
Code:
cat /sys/kernel/liveopp/pllddr
Settings applies after 3 sec after suspend/resume.
Too low suspend or too high resume value may cause reboot. Please note that this setting still experimental and unstable itself, so it's disabled by default.
adjusted some GPU OC defaults
fixed BT issues
(2.7.2)
- fixed pllddr_cross_clocks instability
- removed unneeded DDR_50_OPP requirement on screen on (should prolong battery lifetime).
2.7
many various commits from Linux 3.3 (thanks @faux123)
improved hotplugging mechanism
updated RCU system
kernel scheduler
memory management
etc...
LiveOPP:
recalibrate varm and vbbx on boot (better stability)
added interface to OC some clocks that depends on PLLDDR
reimplemented sweep2wake and doubletap2wake (thanks @Meticulus)
enabled UKSM (thanks @cocafe)
- better RAM performance with tiny cost CPU. Boot time will be increased by 3 sec, it's ok.
uploaded kernel for s6d.
R2.6
ABB-charger:
reverted most of changes. It's only uses custom voltage table, termination current 150 mA and some other tweaks, provided by ace2nutzer.
added tweakable interfaces for termination current(better battery lifetime).
LiveOPP:
added most ape_25_opp switch interface
added steps 85, 350, 450 MHz.
ddrpll interface renamed to pllddr ;D
added input boost support for most of governors (thanks to zwliew for original patch)
R2.5
- only one kernel version for all ROMs/Filesystems/codina(p), please note that installation method is different from usual installation
- Switch to single platform RTC driver - AB500 (finally fixed all problems with clock freeze issue) [golden-guy]
- update LiveOPP from CoCore
- reworked and added DDRPLL boost [WIP]
R2.4
completely rewritten screenoff limits driver
added steps 30, 125, 150, 175 MHz, increased voltage on various steps for stability
enabled SELinux again
various fixes in FAT filesystem
re-added exFat support
re-added ZenX
abb charger fix v2 [ace2nutzer]
zRam script moved to init.d (to be able to change zRam size) on CM11
new package installation script, with little changes by me (thanks to borkins for help with this)
R2.3.2
improved battery live (full credit to ace2nutzer)
reduced liveopp table (too hard to search stable/optimal voltage)
Reverted all commits from tuna kernel (these changes are tested not well, may cause instability)
temporarily disabled SELinux
R2.2
LiveOPP 2.2:
no longer use setting ARM OPP (this previously caused lags)
simple algorithm for setting clock and voltages
use only pll, external clock no longer used
use only 1 varm selection
Big LiveOPP table (51 step: 46, 69,..., 1244 MHz)
Added and optimized new governor ZenX
Added FIFO I/O scheduler
Moved more kernel stuff to modules
TWRP 2.8.0.0
R2.1.5
Huge update from Tuna Hybrid kernel by @faux123 ( a lot thanks to him! ) :
a lot various commits from Linux Kernel 3.3-rc3
various fixes backported from Linux 3.5
fixed 3G/WiFi data arrows again
reduced kernel: 628 Mb RAM is available
Reverted from R2.1:
update of device-specific drivers from Novathor 3.4 kernel
"ARM: 7493/1: use generic unaligned.h"
(R2.0.2)
update from TC kernel
moved all networking modules to kernel (fixed lost data usage, tethering, etc.)
added module autoload (read below)
renamed interface /sys/kernel/cpufreq/screenoff_cpufreq_limits -> /sys/kernel/cpufreq/cpufreq_limits_on_suspend
R2.0-refresh
Cleaned kernel source tree from some doubtful commits
moved some kernel features to modules(thanks to mkaluza for idea and most of changes)
9p, CIFS, NTFS file systems
some unneeded ipv6 features
HID drivers
most of governors
slightly decreased boot time(in my case, from 8500 to 8330 ms)
slightly increased available RAM - 628 MB (thanks to reduced kernel size)
Huge LiveOPP improvement by mkaluza:
improved overclock stability, added all extended steps
UV 100-400 MHz steps to 0x12-0x14 (lower power consumption)
added state APE_25_OPP, used only with screen off(originally introduced by mkaluza, adapted for codina by me)
allowed change APE_OPP and DDR_OPP from LiveOPP
changed step 1228 MHz -> 1248 MHz (may cause reboots, need to find out optimal voltage)
Mali improvements by mkaluza
temporarily removed 25 MHz step (don't know how to add it with new LiveOPP, all attempts is caused boot loop)
(R1.6.3)
revert "update sweep2wake and doubletap2wake by Meticulus"
add cpufreq steps: 25, 500, 700 MHz; remove: 1050, 1100, 1250 MHz (only 12 CPU freq step is allowed)
R1.6
ARM: 7493/1: use generic unaligned.h (This has the
benefit of better code generated especially for ARMv7 on gcc 4.7+
compilers.)
register rear cam flash as LED (for BLN) - thanks to @Meticulus
update sweep2wake and doubletap2wake by Meticulus
add LMK timeout interface - @cocafe
Fix max freq not capped on suspend bug on Lulzactive (it was conflicted with screenoff cpufreq limits driver)
(R1.5.2)
F2FS support in TWRP (thanks to [email protected] for help with this)
R1.5.1
update from TC kernel
enabled SELinux (was disabled in r1.5 for testing)
ARM: 7006/1: Migrate to asm-generic wrapper support
added jRCU (thanks to cocafe)
Bugfixes
reverted to LK 3.2.0
fixed disappeared data usage monitor and probably data arrows also
fixed wifi/usb tethering - hopefully, need tests
fixed incorrect display of RAM occupied by some applications
fixed incorrect phone recognition on codina P in CWM/TWRP - thanks to @ace2nutzer
R1.5
Completely reworked file systems update:
fixed reboots, apps FC
fixed CWM loop
fixed huge battery drain (hopefully)
F2FS backported to Linux 3.2
R1.4
Bumped to Linux 3.2.9
File systems: big update from LK 3.2
Writeback: update from LK 3.2
Reduced wlan_rx_wake wakelock by half - zwliew
F2FS support in /system
Fixed more potential and real memory leaks in kernel
Removed u8500 hotplug driver again
R1.3
added BLN separate configuration of blink on and off delays
added MCDE tweaks (read below)
tweaked PegasusQ governor (based on script by ace2nutzer)
fixes:
reverted commits which caused most of random reboots reasons
finally fixed kernel panic in CFQ I/O scheduler (I hope so)
interactive governor reverted to stock TC
R1.2
workaround for s6d display bug (separate kernel version - soon)
CPU freq settings for screen off
Updates from linux kernel 3.2 (currently updated to 3.2):
File systems
Specific drivers
Security
Various core changes
Reverted:
Proportional Rate Reduction for TCP
Power management update from 3.2
1000 MHz messy workaround, provide another workaround instead
r1.1
Fixed 100 MHz bug
Added 300 MHz CPU step
Added VR I/O scheduler again (thanks to @cocafe for fixes compile errors)
Updates from Linux Kernel 3.2:
Process bandwith controller
Thin provisioning and recursive snapshots in the Device Mapper
I/O-less dirty throttling, reduce filesystem writeback from page reclaim
Proportional Rate Reduction for TCP
Memory management (Cross Memory Attach, "vmscan: add block plug for page reclaim", "thp: mremap support and TLB optimization", etc.)
Networking
Device Mapper
Virtualization
Crypto
Tracing/Profiling
r1
backport new zRam driver from 3.5 LK by @faux123. Also enables LZ4 compressor for zRam.
add u8500 hotplug driver by @zwliew again
revert voltage of display and other regulators to stock
add vpnclient.ko
a somewhat fixes and optimizations from CoCore - thanks to @cocafe
fix lagfree, lulzactiveq and interactive wrong tunables
adjust voltage(0x37) for 1200 and 1250 MHz
17.08.2014
Undervolt display from 1800 to 1400 mV
Undervolt various regulators
Revert CFQ to 3.0 branch to fix reboot issue
Add Lionheart governor, disable InteractiveQ and Hotplug
Support for 4.2.x ROMs (thanks to @PolishVodka for initramfs)
12.08.2014
fixed CFQ reboot issue (i hope so )
reboot into recovery from extended power menu should work (JB 4.1.2)- thanks to Rox
TWRP recovery instead CWM for ext4 kernel versions
Update to 3.1.10
9.08.2014
Fixed reboot issue (I hope so)
Add BFQ scheduler again
Fixed UMS bugs - thanks to cocafe
Upgrade kernel to 3.1.1
4.08.2014
Fixed bug of random change min CPU freq to 1Ghz.
Removed u8500 hotplug driver
Update sioplus from [email protected]
Temporarily removed BFQ and VR I/O scheds because they are became broken for some reasons.
Update LMK from [email protected]
Updates from 3.1 LK:
Sound cards, input devices, watchdogs, networking, staging, multifunctional devices, ... etc. See full list of changes on github.
29.07.2014
Added CPU 100MHz freq step
U8500 hotplug driver - zwliew
Universal exfat driver - zwliew
Switch to SLUB again
Updates from LK 3.1:
SLUB
Memory management (6/7 commits)
VFS (9/10 commits)
Dynamic writepage throttling
21.07.2014
revert CPU voltages to default for 0-3 steps
some changes in memory management
17.07.2014
Switch to SLQB memory allocator
Update BFQ I/O sched from v7r3 to v7r5
Enable UHID support (testing)
Some fixes in memory management
Remove some buggy "fixes" from last build
5.07.2014
fixed headset bug that appeared in last build
fixed the file permissions for CoCore Manager (for JB)
4.07.2014
F2FS support (still only KK version)
Usb drivers from STEXperia sola kernel instead stock samsung
(probably, UMS bug has been fixed. For me it works perfectly now.)
LZ4-compressed kernel support
minor fixes
27.06.2014
sources updated
enabled init.d support in kernel (JB)
added Lagfree governor
added ROW I/O scheduler
23.06.2014
fixed cpu oc via 3rd party apps
lowmemorykiller should be less aggressive
19.06.2014
cwm 6.0.48 instead stock recovery
14.06.2014
initial build
Kernel Tweaks:
(GPU/CPU undervolting and related tweaks)
Undervolting the CPU/GPU will bring battery savings but possible instability.
1) to undervolt CPU use ChronoKernel app or via init.d scripts:
Code:
echo *cpufreq* varm=xx > /sys/kernel/liveopp/arm_summary
for example, following sets voltage varm=0x10 for 200 MHz:
Code:
echo 200000 varm=0x10 > /sys/kernel/liveopp/arm_summary
or
Code:
echo 200000 varm-=10 > /sys/kernel/liveopp/arm_summary
(default varm voltage for 200 MHz is 0x1a but, code above sets 0x1a - 0xa(10) = 0x10 )
2) to undervolt GPU use init.d script:
Code:
echo x vape=yy > /sys/kernel/mali/mali_dvfs_config
Example:
Code:
echo 2 vape=0x1c > /sys/kernel/mali/mali_dvfs_config
"2" stands for DVFS idx (look at mali_boost_high/mali_boost_low).
To prevent overriding of such settings by ChronoKernel app, add line to your init.d script after GPU undervolting
Code:
chmod 444 /sys/kernel/mali/mali_dvfs_config
Don't change voltage of both GPU/CPU at the same time - otherwise if you'll get reboot if won't know what it caused. The same is for different frequencies - if you'll change voltage of too many steps you won't know which frequency caused reboot. It's not easy process, though, following method simplifies it: https://github.com/mkaluza/i9070_kernel_CoCore-E/wiki/Undervolting-janice .
3) Custom LiveOPP table.
By default some LiveOPP steps such as 100, 200, 500 ... MHz aren't used. You can re-enable those by following way:
Code:
echo 200000 enable=1 > /sys/kernel/liveopp/arm_summary
Or use CK app instead. Don't enable it unless it uses the same voltage as 400 MHz. The same is for the rest frequencies - until some of them uses same voltage, no point to enable steps with lower freq. I've added 100 MHz just to further make some tests with it once again. It can't use lower varm than 200 MHz - that's why it's disabled by default. Furthermore, not all phones well keep undervoltage, that's why 100-400 MHz steps uses same stock voltage varm=0x1a.
UPD. thanks to @borkins for this nice editor LiveOPP ARM steps: http://forum.xda-developers.com/showpost.php?p=60311291&postcount=2921
(CPU freq management tweaks)
CPU freq. limiter for screen OFF, adjust it via:
Code:
SYSFS=/sys/kernel/cpufreq/cpufreq_limits_on_suspend
echo min=100000 > $SYSFS
echo max=400000 > $SYSFS
echo on > $SYSFS
Too low frequency may cause freezes after wakeup and sound scrathes. If you use Dynamic govermor, it make no sense to use cpufreq limiter, because Dynamic already takes care about CPUfreq usage optimization. For more, read wiki.
Input boost
This feature has been originally written by zwliew.
Not all governors support input boost. Supported governors: ondemand, interactive, conservative, ZenX, lionheart and some others. Dynamic governor has its own boost interface.
Default boost frequency is 400 MHz.
Code:
echo 450000 > /sys/kernel/cpufreq/input_boost_freq # echo '0' to disable
echo 35 /sys/kernel/cpufreq/input_boost_ms
(BackLight Notification)
To configure time intervals of BLN blinking type(bln_ondelay stands for time of blink and bln_offdelay - delay between two blinks):
Code:
echo bln_ondelay=500 > /sys/kernel/bln/blink_mode
echo bln_offdelay=6000 > /sys/kernel/bln/blink_mode
Make sure BLN enabled:
Code:
echo 1 > /sys/class/misc/backlightnotification/enabled
# to enable bln_wakelock.
echo on > /sys/kernel/bln/bln_wakelock
Use /sys/devices/virtual/misc/backlightnotification/blink_mode to changes modes.
Blink modes:
0 = no blinking
1 = blink backlight only
2 = blink backlight + rear cam flash
3 = blink rear cam flash only
(Module autoload)
Now there is a simple way to load modules at boot. Just move needed modules to /system/lib/modules/autoload and reboot device(or execute /etc/init.d/00autoload)
(DDR overclock)
This feature has been developed by me and allows you to improve DDR and GPU performance. Please note, that DDR OC might work unstable and cause filesystem corruption. Though, DDR clock of 975 MHz has been highly tested and should work fairly stable on most devices.
Overclocking DDR over 975 MHz is highly NOT recommended, especially in case if you not sure that you can deal with possible consequences.
How to OC DDR:
1) by using
this script .
2) by using Terminal Emulator(in example below 975 MHz):
Code:
echo 0x5017f > /sys/kernel/liveopp/pllddr_oc_on_suspend
This setting will be applied right after disabling screen.
(Minimum APE/DDR OPP on screen on)
This feature has been developed by me and allows to set minimum APE/DDR OPP states which are used when screen is ON. APE controls many systems such as an image, video, audio system etc. DDR OPP determines performance of DDR. Default values are APE50 and DDR50. Lower states(APE25/DDR25) reduces power consumption, but may cause graphical glitches like screen blinking or filling it by vertical grey lines. If you don't have mentioned effects, it's recommended to use APE25/DDR25:
Code:
echo ddropp=25 > /sys/devices/pri_lcd_ws2401.0/mcde_screenon_opp
echo apeopp=25 > /sys/devices/pri_lcd_ws2401.0/mcde_screenon_opp
* if you don't have folder /sys/devices/pri_lcd_ws2401.0, use /sys/devices/pri_lcd_s6d27a1 instead.
(Screen refresh rate)
This feature has been developed by cocafe and modified by me. Lower lcdclk frequency cause less power usage, but too low values makes system unusable.
Following command allows to change screen refresh rate:
Code:
echo x > /sys/kernel/mcde/lcdclk
use
Code:
cat /sys/kernel/mcde/lcdclk
to see supported lcdclk modes. Default mode is 60 Hz which is recommended in most typical cases. If you've screen tearings, blinking etc. change resresh rate mode to "60+ Hz":
Code:
echo 0 > /sys/kernel/mcde/lcdclk
(ABB charger tweaks)
added tweakable interfaces for termination current. To adjust it type(just an example):
Code:
echo 90 > /sys/kernel/abb-chargalg/termination_curr_1st
echo 70 > /sys/kernel/abb-chargalg/termination_curr_2nd
curr_2nd should be less or same as curr_1st. Lower values prolongs battery lifetime, but also slows battery charging.
Default values are curr_1st == curr_2nd == 150 mA. Please note, too low values maybe aren't usable.
(Dynamic FSync)
This feature has been developed by Faux123 and allows to dynamically manage the synchronous writes performed on file system (FSync).
It uses asynchronous writes when the screen is on, instead of synchronous writes, to have better performance and a slightly lower battery drain, while when the screen is off the synchronous writes are re-enabled to flush all the outstanding writes and prevent possible data loss.
How to enable/disable the Dynamic FSync (default enabled):
1) By downloading and using Trickster MOD
2) By directly editing the file /sys/kernel/dyn_fsync/Dyn_fsync_active and setting 1 to enable the dynamic fsync, 0 to disable it (note that set value will be lost after a reboot/shutdown)
3) By using Terminal Emulator (note that set value will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run this command to disable the dynamic fsync feature
Code:
su
echo 0 > /sys/kernel/dyn_fsync/Dyn_fsync_active
- Or run this command to re-enable the dynamic fsync feature
Code:
su
echo 1 > /sys/kernel/dyn_fsync/Dyn_fsync_active
Click to expand...
Click to collapse
(Software CRCs)
Disabling software CRCs gives you a slight bump(10-30% is what they say) of MMC performance, at the cost of a possibility of your Ace 2 freezing randomly.
Code:
echo 0 > /sys/module/mmc_core/parameters/use_spi_crc
Click to expand...
Click to collapse
(Dynamic dirty page writebacks)
This feature has been developed by Christopher83 and allows to dynamically manage the dirty page writebacks with two different intervals, one when the screen is on and another when the screen is off.
It is based on a commit of Francisco Franco, but instead of using hard coded values and of disabling at all the dirty page writebacks while the screen is on (possibility of data loss).
By using a higher interval we have better performance and less battery consumption, with a very low risk of data loss.
How to customize the dynamic dirty page writebacks feature (default disabled):
Three new procfs parameters are exposed inside /proc/sys/vm path:
- dynamic_dirty_writeback is the activation status of this feature, set 1 to enable it, set 0 to disable it and use the standard behaviour
- dirty_writeback_active_centisecs is the interval for the dirty page writebacks when the system is active (screen on), the default value is 1500 centisecs (15 seconds)
- dirty_writeback_suspend_centisecs is the interval for the dirty page writebacks when the system is suspended (screen off), the default value is 500 centisecs (5 seconds)
1) By directly editing one of the file written above inside /proc/sys/vm and setting the preferred value (note that set value will be lost after a reboot/shutdown)
2) By using Terminal Emulator (note that set value will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run this command to disable the dynamic dirty page writebacks feature
Code:
echo 0 > /proc/sys/vm/dynamic_dirty_writeback
- Or run this command to re-enable the dynamic dirty page writebacks feature
Code:
echo 1 > /proc/sys/vm/dynamic_dirty_writeback
- Run this command to set customize the two intervals (30 seconds while the screen is on, 10 seconds when the screen is off)
Code:
echo "3000" > /proc/sys/vm/dirty_writeback_active_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_suspend_centisecs
(Storages switch)
By default, this kernel comes with internal and external storages switched. You can revert this behavior, by changing the line
Code:
use_swap=1
to
Code:
use_swap=0
in file /ramdisk/fstab_specs.txt and flashing the kernel package. This setting will remain until you format /ramdisk partition.
(Tweak app)
ChronoKernel settings
Thanks mars_army for this app!
Bug reports:
after experiencing a random reboot, type in terminal:
Code:
su
cat /proc/last_kmsg > /storage/sdcard0/last_kmsg.txt
report it in the thread and attach the last_kmsg.txt
Other information
How to install kernel with F2FS support:
For those who don't know what F2FS is, check these links out:
General info
Benchmarks
Warnings
1. Make sure you have a standard kernel for backup that uses ext4 just in case. If anything goes wrong, just install the backup kernel and reboot to recovery.
2. You will have to wipe your /data and /cache partitions for this. Basically factory reset.
3. For 2, you could try to backup data and restore after formatting. I haven't tried this but I could work.
Click to expand...
Click to collapse
Installation method of kernels with full F2FS support:
Before installation make sure that you have at least ~25% free space on each partition that will be formatted to F2FS.
for CWM:
make backup
format /system partition to F2FS (and also /data and /cache if you didn't do it before)
restore /system partition
for TWRP
disable md5 generation
make backup of /system
find backup folder, run terminal and rename file system.ext4.win to system.f2fs.win (it won't work via filemanager)
Code:
mv system.ext4.win system.f2fs.win
format /system as f2fs
restore backup
Then install kernel.
To install kernel on ROM that isn't supported by installer:
(supported ROMs):
Stock ROM 4.1.2
CyanogenMod 10.1*
CyanogenMod 10.2*
CyanogenMod 11*
CyanogenMod 12
* most ROMs that based on this ROM are also supported. Despite of that some ROMs are supported, they can work incorrectly due to difference in their initramfs scripts(ramdisk).
1. Install needed ROM first,
2. Type following command in terminal emulator:
Code:
cd /
find . -xdev | cpio -o -Hnewc | gzip -9 > /sdcard/x.y.z.cpio.gz
where x.y.z is OS version (for example - CM11-based ROM - 4.4.4.cpio.gz)
3. put this file in installer at osfiles/x.y.z/ (e.g. osfiles/4.4.4/4.4.4.cpio.gz)
4. install kernel
To install a new ROM that is not F2FS compatible:
Use EXT4 to F2FS converter script
or edit the updater-script as follows
(manual method)
1. Replace strings
"mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");"
with string
"run_program("/sbin/busybox", "mount", "/system");"
2. Replace string
"format("ext4", "EMMC", "/dev/block/mmcblk0p3", "0", "/system");"
with string
"run_program("/sbin/mkfs.f2fs", "/dev/block/mmcblk0p3");"
3. Add string
"run_program("/sbin/busybox", "mount", "/data");"
after strings
"run_program("/sbin/mkfs.f2fs", "/dev/block/mmcblk0p3");"
"run_program("/sbin/busybox", "mount", "/system");"
4. Add string
"unmount("/data");"
before string
unmount("/system");
Click to expand...
Click to collapse
Fix for CodinaP, recognized as Codina in recovery (thanks @fluffi444 )
http://forum.xda-developers.com/showpost.php?p=58839849&postcount=2448
Various tweaks (thanks @xo.en )
xo.en said:
do NOT use swapiness more than 30, bigger values can bog machine down!
small advice:
Code:
#!/system/bin/sh
#chmod -R 755 /system/etc/init.d
chown root:root /proc/sys/vm;
echo "30" > /proc/sys/vm/swappiness;
busybox chmod ugo+rw /proc/sys/vm/vfs_cache_pressure;
echo "50" > /proc/sys/vm/vfs_cache_pressure;
echo "2000" > /proc/sys/vm/dirty_expire_centisecs;
echo "1500" > /proc/sys/vm/dirty_writeback_centisecs;
busybox chmod ugo+rw /proc/sys/vm/dirty_ratio;
echo "90" > /proc/sys/vm/dirty_ratio;
busybox chmod ugo+rw /proc/sys/vm/dirty_background_ratio;
echo "75" > /proc/sys/vm/dirty_background_ratio;
echo "512" > /sys/devices/virtual/bdi/default/read_ahead_kb;
echo "10" > /proc/sys/fs/lease-break-time;
echo "4" > /proc/sys/vm/page-cluster;
echo "5360" > /proc/sys/vm/min_free_kbytes;
echo "8" > /proc/sys/vm/min_free_order_shift;
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "1" > /proc/sys/vm/overcommit_memory
busybox sysctl -w kernel.random.write_wakeup_threshold=256;
busybox sysctl -w kernel.random.read_wakeup_threshold=1376;
and
Code:
#!/system/bin/sh
chmod 0644 /sys/module/lowmemorykiller/parameters/adj
echo "0,3,6,10,12,15" > /sys/module/lowmemorykiller/parameters/adj;
chmod 0644 /sys/module/lowmemorykiller/parameters/minfree
echo "1024,2048,2560,4096,6144,8192" > /sys/module/lowmemorykiller/parameters/minfree;
chmod 0644 /sys/module/lowmemorykiller/parameters/debug_level
echo "0" > /sys/module/lowmemorykiller/parameters/debug_level;
works miracles in my case, especially second one, imho it would be hard to use different values, i was trying different setups for YEARS(with this machine), so it is not just random throw. Bigger LMK REALLY makes things worse here. It usually has tremendous influence over fluidity of gui, and whole sys.
Click to expand...
Click to collapse
Odin kernel
with TWRP
with CWM
There is no KSM or Low Memory killer or any Performance tweaks ?? Built in CWM ?
Master-ZizO said:
There is no KSM or Low Memory killer or any Performance tweaks ?? Built in CWM ?
Click to expand...
Click to collapse
This kernel based on stock CM kernel by TeamCanjica, and it's have same changes.
Damn, I was so excited to see a new kernel, but I noticed that it's actually for 4.1.2. I almost flashed it on a 4.4.3, not that it would have been such a tragedy.
Is there gonna be a version for the KitKat ROMs?
dragos281993 said:
Is there gonna be a version for the KitKat ROMs?
Click to expand...
Click to collapse
yes, please wait a little bit.
ChronoMonochrome said:
yes, please wait a little bit.
Click to expand...
Click to collapse
OK. I've got another question for you. Are you gonna add "lagfree" between the governors you already added, because that's probably one of the best governors a kernel can have ?
This is for stock samsung JB?
yes it is
Even if in the download section it says 4.4.2, I flashed the kernel on a Carbon 4.4.3 and it's working like a charm. The only thing that doesn't show up correctly is both frequency bars in "performance". It shows 0MHz max, 0MHz minimum, but if you set the minimum to 600MHz, for example, the frequency will run at 600 minimum, even if it shows 0.
five attempts and each time bootloop and recovery keys do not work.
dragos281993 said:
The only thing that doesn't show up correctly is both frequency bars in "performance". It shows 0MHz max, 0MHz minimum, but if you set the minimum to 600MHz, for example, the frequency will run at 600 minimum, even if it shows 0.
Click to expand...
Click to collapse
It works normally for me. (ROM CM11 by TeamCanjica 4.4.2)
dragos281993 said:
OK. I've got another question for you. Are you gonna add "lagfree" between the governors you already added, because that's probably one of the best governors a kernel can have ?
Click to expand...
Click to collapse
Maybe I'll add this Governor.
mPiter said:
five attempts and each time bootloop and recovery keys do not work.
Click to expand...
Click to collapse
please post your last_kmsg log.
@ChronoMonochrome how do I do ksmg log when the phone does not turn on?
ChronoMonochrome said:
It works normally for me. (ROM CM11 by TeamCanjica 4.4.2)
Maybe I'll add this Governor.
please post your last_kmsg log.
Click to expand...
Click to collapse
If you added "lagfree", you'd be the first on to do it, so it would obviously be amazing and it would make you a better developer than others, of course.
EDIT: About the frequency thing, for me it shows 0MHz probably because I've got kitkat 4.4.3. Everything else's working fine.
@mPiter ,
Bug reports:
after experiencing a random reboot, type in terminal:
Code:
su
cat /proc/last_kmsg > /storage/sdcard0/last_kmsg.txt
report it in the thread and attach the last_kmsg.txt
Click to expand...
Click to collapse
p.s. restore stock kernel first.
there is a new folder in sdcard0 : triggers and files in it ( Cpt log). what is it?
ip3000 said:
there is a new folder in sdcard0 : triggers and files in it ( Cpt log). what is it?
Click to expand...
Click to collapse
I have no idea what caused this problem. Because on stock kernel and CM kernel i did not have this problem. Try to remove this folder and create text file with same name.
Would love to see lag free if anyone could make possible
Sent from my GT-I8160 using Tapatalk
1. Compatible for aosp 4.4.4 or only for CM?
2. Whats is the different with custom kernel by zwliew?
@ChronoMonochrome

tn2009_kernel

⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆
⋆⋆⋆ tn2009_kernel ⋆⋆⋆
⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆
By Tamerlan2009​Kernel Supports F/I/S/K/L/T/W8 variants of 920 AND 925 devices​The kernel had spent a lot of time in order to satisfy all. This kernel is built to appeal to users who want something really high-quality and stable with a broad customization capabilities. If you wish to use this kernel in a rom , feel free! Although I would love it if you let me know just for my own curiosity. emphasis was placed for maximum performance and battery life.
Features:
1. Changes in the kernal
- based on the latest sources COI9 G925F
- Build on gcc 5.2.1 UBERTC (01.11.2015);
- deep sleep fix;
- Smoothen GPU throttling levels;
- fix memory leak in gpiod_sysfs_set_active_low;
- fix memory leak in gpiod_export_link;
- optimization MakeFile and other files
- optimization workqueue
- optimization zswap
-added many new tweaks / optimization to improve RAM.
- memory leak fixed
-A lot of changes config of the kernel;
-Included Input booster.
- ARM64 readahead: fault retry breaks mmap file read random detection;
- Remove + sign from kernel version;
- fs/dcache.c: Fix the too small buffer for dname;
- Fixup! mm: fix aio performance regression for database caused by THP;
- Async I/O latency to a ssd greatly increased, 34% gain (Creds: kleikamp);
- mmc: disable CRC check for better performance;
- drivers/mmc: spi CRC configurable;
- PM / sleep: Fix memory leak in pm_vt_switch_unregister();
- tcp cong: westwood & htcp builtin and add hstcp & hybla & vegas;
- tcp: replace bic by westwood as default;
- CONFIG_EXYNOS5_DYNAMIC_CPU_HOTPLUG_SLEEP_PREPARE set to 1 for better stand-by battery life
- Faster lzo compression
- Added a new kernel compression lz4;
- Full support for ext4 and f2fs;
- rework f2fs - Linux 4.4 merge window;
- cpufreq: Remember last policy min/max on cluster restart
- block: disable add_random for more performance on SSD's
- wireless: dhd: Enable standby ARP and multicast packet filters
- mailbox: Separate APM CPU cluster voltages and fix debugfs output
- Added latest version of driver POWERSUSPEND
- Included schedule workqueues to save energy
-tweaks and optimize the interactive Governor, cpu standard
- GApps wakelock fix
- enable ld fix for cortex-a53 errata 843419;
- Included configs to improve the sound (g928f);
- Ported the driver from random Linux 4.2+;
- full NTFS R/W support (installed total commander and the plugin and use the flash drive with the ntfs file system);- enable USB OTG support)
- fs/dyn_sync_cntrl: dynamic Fsync control v1.5;
- fs/dyn_sync_cntrl: on by default;
-Optimization make all the kernal files;
- A new driver LMK (Lowmemorykiller);
- UI lags fixed with binder patch;
- NVIDIA's power-efficiency improvement commits applied;
- disable GCC SRA optimization;
- increase AES interleave to 4x;
- Improve ext4 и fuse;
- Enable standby ARP and multicast packet filters;
- rcu: Move SRCU grace period work to power efficient workqueue;
- firmware: use power efficient workqueue for unloading and aborting fwload;
- usb: move hub init and LED blink work to power efficient workqueue ;
- net: rfkill: move poll work to power efficient workqueue;
- net: wireless: move regulatory timeout work to power efficient workqueue;
- net/ipv4: queue work on power efficient wq;
- switch: arizona: Use power efficient workqueue;
- rtmutex: Fix deadlock detector for real;
- sched/__wake_up_sync_key(): Fix nr_exclusive tasks which lead to WF_SYNC clearing;
- Readahead: Optimize divide/multiply by power of 2 using L/R shift;
- readahead: Fix an error (thx ramgear);
- Async I/O latency to a ssd greatly increased, 34% gain (Creds: kleikamp);
- fixup! mm: fix aio performance regression for database caused by THP;
- mm: fix aio performance regression for database caused by THP;
-Disabled all the junk in the kernel (unused drivers, ramdisk compression, sedulity, Governor, etc.);
- per-thread vma caching;
- Improve drivers gpio;
- Improve drivers keyboard;
- Add power-aware migration decision making
- power migration: Refactor the hysteresis scales
- Implement task packing for small tasks in HMP systems
- tweaks dm-hotplug (before the tests with the kernel need to log in to Synapse and see if the maximum frequency set for the processor, and also put on 0 undervolting).
- the kernel source code is fully fixed not a single error, and warnings note (perfect code).
2. Changes in ramdisk:
- spoilramdisk (COI9) +my changes
- SE Linux set to permissive (will prevent private mode from working)
- Full init.d scripting support
-removed the red line when the phone is boot(SE Android enforsing);
- support engineering(samsung loaders;
- поддержка port ROM S6 Edge + and Note5
- Changed ramdisk compression in lzo;
- SeLinux is fully disabled;
- full support for Synapse
- SQLITE
- ensure cores to be online on boot
- boost onlined cpu;
- Auto-install Synapse
-Full support for ext4 and f2fs multiboot;
- Improving and automatic tuning of file system (fstrim);
- Optimization and tweaks RAM;
- automatically remove KNOX
3. Control via Synapse :
A57 CPU
- CPU temperature
- A57 big Cores Frequency Scaling
live frequency
MAX: 2100 MHz
MIN: 800 MHz
- HPM voltage control (UNDERVOLTING)
- A57 big Cores voltage control
- CPU governors
interactive (default)
userspace
performance
- CPU governor tunables
A53 CPU
- A53 LITTLE Cores Frequency Scaling
live frequency
MAX: 1500 MHz
MIN: 400 MHz
- HPM voltage control (UNDERVOLTING)
- A53 LITTLE Cores voltage control
- CPU governors
interactive (default)
userspace
performance
CPU governor tunables
GPU
- GPU stats
Current clock freq
Live Frequency Utilization (load)
- Time in state
- GPU power policy control
coarse_demand (default)
demand
always_on
- GPU frequency scaling
- GPU Governor
Default
Interactive (default)
Static
Booster (more graphic and benchmark performance)
- GPU Interactive Governor tunables
highspeed clock
highspeed load
highspeed delay
-I/O Schedulers
CFQ default(tweaked for SSD)
NOOP
Storage read-ahead (256 KB)
- General IO tuneable
Add random
IO stats
Rotational
No merges
RQ Affinity
- I/O scheduler tunables
AUDIO
(Sound Control by AndreiLux)
- Jack media volume control
L/R channel volume
mono mixer
- Main Equalizer
- Advanced Stereo Equalizer
NETWORK
- TCP congestion control
All available enabled.
Default = westwood+
- Screen mirror/allshare cast fix control (enabled)
- Clean WIFI Lease
- TCP/IP network security
- 3G DNS speed & security tweak
Google
OpenDNS
Comodo, Level3
Norton_DNS
Smart_Viper
REBOOT
- Reboot device
- Recovery Mode
- Download Mode
- Power Off
- Clear Synapse Data & Reboot
- Restart Synapse
Led indicator
- on/off fading led
FS
- Information about the partitions on the phone and their file systems
- tweaks
Backup/restore
- Save and restore your settings Synapse
Thanks to:
AndreiLux
faux123
Linaro
arter97
Xileforce
g.lewarne
and a lot of other people I forgot.
Changelog:
Code:
[B][I]v.5.2 [/I][/B] (Universal)
- Kernel Supports F/I/S/K/L/T/W8 variants of 920 AND 925 devices.
- kernel with all prior versions and changes;
- add sweep2sleep (control via Synapse);
- add IPV6 Optimistic Detection (control via Synapse);
- add USB storage controls - you can connect your phone to PC, CD-rom, etc. (control via Synapse).
[B][U]v.5.1[/U][/B]
- Sources COI9 G925F;
- Completely rewritten kernal;
- Completely rewritten ramdisk;
- Removed a lot of junk;
- Compression ramdisk gzip;
net/neighbour: queue work on power efficient wq;
- aio: Skip timer for io_getevents if timeout=0;
- sched/fair: Implement fast idling of CPUs when the system is partially loaded;
- futex: Implement lockless wakeups;
- locking/rtmutex: Implement lockless top-waiter wakeup;
- A kernel with all prior versions and changes;
- Sort of happened to build into the kernel tweaks for the RAM!
- At the moment is the kernel for me the best performance, savings and tweaks.
- Update kernel will return a standard video driver from G925F COI9.
[U][B]v.5.0[/B] [/U]
- compute time-average nr_running per run-queue;
- Re-compute time-average nr_running on read;
- network speed tweak;
- governor: Be friendly towards latency-sensitive bursty workloads;
- Introduce new relation for freq selection Introduce CPUFREQ;
- Replace CPUFREQ_RELATION_L with C (interactive governor);
- add quickwakeup driver (from Motorola);
- always mount partitions as noatime and nodiratime;
- process: drecrease time to enter sleep ;
- Increase hash table size for better performance ;
- sensorhub: reduce wakelock time;
- implement readpages() to optimize sequential read ;
- Move clock sync work to power efficient workqueue;
- remove WQ_POWER_EFFICIENT from kblockd;
- LOAD_FREQ (4*HZ+61) avoids loadavg Moire;
- pass readahead info down to the i/o schedule ;
- cpufreq: add underclock;
- updated the files and applied a lot of tweaks to cpufreq_stats - dm_cpu_hotplug - freq_table - speedstep-lit - speedstep-sm - cpufreq_interactive - cfq-iosched;
- Added ROW iosched and set as default;
- Control voltage and overclocking GPU (100 - 852 Mhz);
- add dynamic read-ahead
- Improvements to RAM;
- Many improvements ramdisk
[/B]
.
Downloads:
V.5.2
Mod Edit link removed
XDA:DevDB Information
tn2009_kernel for the Samsung Galaxy S6\S6 EDGE
Contributors
-=RaZoR=-
Version Information
Status: Stable
Current Stable Version: v.5.2
Created 2015-12-04
Last Updated 2015-12-06
Welcome ?
Great. Always nice to see a new kernel. Going to test it.
Flashed it. Will test it with default settings first.
Nice. Will try !!
welcome ! i will try it
Welcome! I will try it. Thanks =]
Very happy to see another developer here for S6/Edge.
do everything possible to make you glad
When scrolling through Facebook its giving glitches. Will test some more. Hmmm its only with the Facebook app.
Oké after a reboot its gone. Strange
Awesome work,dev! Really i get a wonderful multitasking,i will report later for battery life! Again,great work. Thanks
Sent from my SM-N920C using Tapatalk
work in 925i?
core720 said:
work in 925i?
Click to expand...
Click to collapse
this kernel is made only for SM-G920F\SM-G925F but may work on other models. if you still decide to put for your SM-G925I before installing make a backup.
So far so good Good to see another project!
-=RaZoR=- said:
this kernel is made only for SM-G920F\SM-G925F but may work on other models. if you still decide to put for your SM-G925I before installing make a backup.
Click to expand...
Click to collapse
Yeah it works on g925i
Attinderkahlon said:
Yeah it works on g925i
Click to expand...
Click to collapse
great! any problems bugs?
Sources?
Have been using this kernel for a few weeks now, and it's fantastic. Please post your sources in the OP though, so you don't get shut down again!!!
nofam said:
Have been using this kernel for a few weeks now, and it's fantastic. Please post your sources in the OP though, so you don't get shut down again!!!
Click to expand...
Click to collapse
don't worry it's not need! the kernal of each time will only get better and better:laugh:
-=RaZoR=- said:
great! any problems bugs?
Click to expand...
Click to collapse
Haven't faced any yet...
Everything is alright.
Nice kernel. Had a bad standby time overnight. Will see what happend
Erik1805 said:
Nice kernel. Had a bad standby time overnight. Will see what happend
Click to expand...
Click to collapse
This!
-=RaZoR=- said:
don't worry it's not need! the kernal of each time will only get better and better:laugh:
Click to expand...
Click to collapse
i really impressed with this kernel but still you must follow xda rules < XDA-Developers and the GPL > if you want this thread still alive bro.

[E.O.L.][Kernel][MM][H811][H815] Imperium Kernel G4 v7.4b [25/12/17]

[E.O.L.]
Imperium Kernel G4 v7.4b
This kernel is ONLY for LG G4 H815/H811 MM 6.0
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features
- Based on the last LG Marshmallow 6.0 source v20o (H815) and v20v (H811)
- 20p initramfs (H815)
- 20x initramfs (h811)
- Patches ported from the last Google commits
- Patches ported from the last CAF commits
- Compiled with the last UBER toolchain 4.9.x build 29 Sept 2017 by @DespairFactor
- Init.d support
- Pre-rooted with SuperSU or Magisk
- Busybox 1.27.2 (in /sbin)
- SELinux set to "Permissive"
- Added bfq, FIOPS, ZEN v2.0, Tripndroid, SIO, SIOPLUS and V(R) I/O schedulers
- Added Blu_active, Ironactive, Bioshock, ElementalX [thanks to @flar2], Impulse [thanks to @neobuddy89] and Zzmoove [thanks to @ZaneZam] CPU governors
- Thunder Hotplug
- KCAL post-processing driver [thanks to @savoca]
- Added Westwood TCP congestion controll
- Native LG EXFAT support
- DriveDroid support
- FSync ON/OFF [credits to @Lord Boeffla]
- Sound controll v3.6 (power gain only for headphones) [credits to @faux123, @flar2 and me for to adapt them to LG G4]
- Stop google service and restart it on boot. This remove high cpu load and ram leak!
- Others fix and patch for better performance and stability
Request:
- Custom recovery
- Unlocked bootloader
Download
---------------------------------------- LG G4 H815 ----------------------------------------
Imperium Kernel G4 H815 v7.4b
---------------------------------------- LG G4 H811 ----------------------------------------
Imperium Kernel G4 H811 v7.4b
GitHub:
Sources
Credits:
LG
Google
@faux123
@Lord Boeffla
@osm0sis
@sovoca
@flar2
@arter97
@franciscofranco
@jollaman999
@DespairFactor
@neobuddy89
@frap129
team CyanogenMod
@pescixx79 for the bunner
All other authors of patches, tweaks and mods available in my kernel that were not mentioned. Please, contact me and I'll add you immediately.
I'M NOT RESPONSIBLE FOR ANY POSSIBLE DAMAGE DONE TO YOUR DEVICE AS A RESULT OF FLASHING.
I WILL NOT TAKE ANY RESPONSABILITY FOR BRICKED PHONES OR LOST DATA.
If you like my work please, offer me a beer
​
Change log:
Know issues:
- ElementalX and Conservative CPU governors are not compatible with Hotplug drivers. Possible freezes and/or random reboots if you use them with Thunder Hotplug.
- Possible audio issue in video recording with oldest v20L (H815) fw and 20R (H811) fw.
Imperium Kernel G4 v7.4b (MM 6.0)
v7.4b - 25/12/2017 - FINAL version
- Update mkbootimg
- Update Magisk Manager v5.5.0
- Other patches for security, stability and performance improvements
v7.3c - 06/10/2017
- Compiled with the last DespairFactor prebuild 4.9.x toolchain (build 29/09/2017)
- Update mkbootimg
- Update SuperSU v2.82-SR5
- Update Magisk v14.0 and Magisk Manager v5.3.0
- Removed LG RCT (Rooting Check Tool) service
- Security improvement with the last Google patches
- Many other patches for stability and performance improvements
- Other minor changes
v7.2 - 13/07/2017
- Removed AnyKernel2 and back to mkbootimg
- 20p initramfs (H815)
- 20v initramfs (h811)
- Back to Magisk v12.0 STABLE with Magisk Manager v5.0.4
- add "NO root" choice in aroma
- defconfig: disable MSM_ULTRASOUND
- Minor changes and general bugs fixed
v7.1 - 10/07/2017
- New installation method
- Add aroma installer
- Pre-rooted with SuperSU or Magisk
- Updated AnyKernel2
- Many others patch for security, stability, performance and battery improvements
(more details in my github)
v7.0 - 08/05/2017
- Compiled with the last UBER toolchain 4.9.x build 22 Apr 2017 by @DespairFactor
- Updaded BusyBox
- Updated AnyKernel2
- Many others patch for security, stability and performance improvements
(more details in my github)
v6.8a - 14/04/2017
- New install method: Use AnyKernel and remove SuperSU and Busybox auto-installer
- Sync with the last v20o H815 source
- Sync with the last Google patches for stability and security improvement
- Other minor changes
(more details in my github)
v6.7 - 20/03/2017
- Sync with the last H811 v20s sources
- mm/slub: don't wait for high-order page allocation
- ping: fix a null pointer dereference
- tracing: Fix event header writeback.h to include tracepoint.h
- blu_active: sync up with android-4.4 linux, bring back fastlane (revamped)0
- blu_active: Reset last evaluated jiffy in idle callback and make window alignment optional
- cpufreq: cache tunables for ondemand and conservative governors
v6.6 - not released
- add sound controll
- PM / devfreq: Add proper locking around list_del()
- PM / devfreq: Fix the bug of devfreq_add_device when governor is NULL
- drivers: base: dma-mapping: Fix typo in dmam_alloc_non_coherent comments
- regmap: cache: Remove unused 'blksize' variabledf
- lib/vsprintf.c: improve sanity check in vsnprintf()
- mm, fs: check for fatal signals in do_generic_file_read()
- crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg
- crypto: caam - fix AEAD givenc descriptors
- cpufreq: preserve user_policy across suspend/resume
v6.5 - 15/03/2017
- Stability and security improvements with the the last Google patches (March security update)
- makefile: various optimizations
- cpufreq: interactive, ironactive and blu_active governors drops bits in time calculation
- Other minor changes
(more details in my github)
v6.4 - 05/03/2017
- Compiled with the last UBER toolchain 4.9.x build 26 Feb 2017 by @DespairFactor
- Fixed audio issue in the video recording with the last v20L FW (H815)
- Other changes
(more details in my github)
v6.3 - 26/02/2017
- v20l initramfs (H815)
- Stability and performance improvement
(more details in my github)
v6.2 - 17/02/2017
- Many patches for security, stability and performance improvement
(more details in my github)
v6.1 - 09/02/2017
- Fix audio in video recording
- Others minor patch for stability improvement
(more details in my github)
v6.0 - 28/01/2017
- Rewrite the kernel by 0
- Stock Linux 3.10.84
- Based on the last H815 v20j and H811 v20r sources (January security patches)
- H815 v20g initramfs
- H811 v20r initramfs
- Update Busybox v1.26.2 (credits to @osm0sis)
- Compiled with the stock Google gcc toolchain
- Removed Maple I/O scheduler
- Removed Relaxed and Weathly cpu govs
- Removed sound controll
- Removed USB Fast Charge
- Many others patch for stability and performance improvement (only important and tested patches)
v5.4 - 16/01/2017
- Compiled with the last UBER toolchain aarch64-linux-android-4.9 build 15/01/2017 by @DespairFactor
- block: Add Maple I/O Scheduler (credits to @frap129)
- Update SuperSU v2.79 SR3
- other patches for stability and performance improvement
(more details in my github)
v5.3 - 13/01/2017
- Compiled with the last UBER toolchain aarch64-linux-android-4.9 build 29 December 2016 by @DespairFactor
- Updated SuperSU v2.79 SR2
- Upstream Linux 3.10.104
- Updated with the last Googles stability patches
- Updated with the last Googles security patches (Gennary 2017 security patches)
- Added Adreno Idler (credits to @arter97 and @frap129)
- Updated BCM43XX wireless drivers (from the last LG V10 v20l kernel sources)
- Many other patches for stability and performance improvements
(more details in my github)
v5.2 - 24/12/2016
- v20k initramfs (H815)
- Pathes ported from the last v20q H811 sources
- Update SuperSU v2.79 SR1 by Chainfire
- cpuidle: don't disable cpuidle when entering suspend
v5.1 - 18/12/2016
- initramfs: sync to v20j ramdisk (H815)
- initramfs: sync to v20q ramdisk (H811)
- initramfs: some tweaks
- add blu_active cpu gov
- add Thunder hotplug
- update SuperSU v2.79 Chainfire release
- update with the last Google patches
- security and stability improvements
- more details in my github
v5.0 - 27/11/2016
- initramfs: sync to v20h ramdisk (H815)
- initramfs: imperium.sh: stop google service and restart it on boot. This remove high cpu load and ram leak!
- block: disable entropy contributions for nonrot devices
- ext4: fix potential use after free in __ext4_journal_stop
- msm_thermal: queue work on system_power_efficient_wq
- ARM: dts: msm: Adjust SPDM params on 8992
- bfq-sched: Forcefully lookup entities when the cache is inconsistent
v4.9 - 22/11/2016
- Updated SuperSU v2.78 SR4
- Updated Busybox (credits to @osm0sis)
- Performance improvements
- Battery improvements
- Security improvements
(more details in my github)
v4.8a - 06/11/2016
- Removed systemless version
- Updated SuperSU v2.78 SR3
- v20p initramfs (H811)
- binder: prevent kptr leak by using %pK format specifier
- KEYS: Fix short sprintf buffer in /proc/keys show function
- proc: much faster /proc/vmstat
- cpufreq: add ironactive cpu gov by CAF
- diag: Fix possible underflow/overflow issues
- msm: thermal: Add range checking for cluster_id
- proc: Remove verifiedbootstate flag from /proc/cmdline
v4.8 - not released
- Stability and security improvements
v4.7 - 19/10/2016
- v20l initramfs
- Updated Busybox v1.25.1 (credits to @osm0sis)
- Security improvements (more details in my github)
- Stability improvement (more details in my github)
v4.6 - 11/10/2016
- v20i initramfs
- Updated Busybox v1.25.0 (credits to @osm0sis)
- add systemless version
- Added Bioshock and Weathley CPU govs
- Updated with the last Google patches
- Stability and security improvements
v4.5 - 19/09/2016
- Compiled with the last UBER aarch64 ToolChains 4.9.4 August 2016
- v20h initramfs
- Updated SuperSU v2.78 SR1
- Removed Deaspair CPU gov (not fully compatible with our device)
- Updated ZEN I/O scheduler v2.0
- Revert "set fifo_bath to 8 for more I/O schedulers" (set to the stock value 16)
- Many other patches for stability, performance and battery improvements
v4.4 - 11/08/2016
- Revert "Merge branch 'android-msm-bullhead-3.10-mdr-1.6-security-next' into Imperium Kernel" (cause Video recording issue)
- v20g initramfs (H815)
- v20o initramfs (H811)
- add Faux sounds v3.6 for wcd9330
v4.3 - 10/08/2016
- net: ipc_router: Bind only a client port as control port (FIX CVE-2016-2059)
- ashmem: Validate ashmem memory with fops pointer (FIX CVE-2016-5340)
v4.2 - 09/08/2016
- Compiled again with the last UBER TC aarch64 4.9 build 01/04/2016
- Patches ported from the last H815 sources v20i
- Revert "ksm: check and skip page, if it is already scanned"
- cfq-iosched: fix the setting of IOPS mode on SSDs
- Bluetooth: btusb: Fix memory leak in Intel setup routine
- Bluetooth: vhci: purge unhandled skbs
- Bluetooth: Validate socket address length in sco_sock_bind().
- Bluetooth: hidp: fix device disconnect on idle timeout
- defconfig: enable SECURITY_PERF_EVENTS_RESTRICT
- Merge security-next into Imperium Kernel for August 2016.1
- msm: kgsl: Defer adding the mem entry to a process
- sched: Fix information leak in sys_sched_getattr()
- net: validate the range we feed to iov_iter_init() in sys_sendto/sys_recvfrom
- fix infoleak in rtnetlink
- USB: usbfs: fix potential infoleak in devio
- UPSTREAM: usbnet: cleanup after bind() in probe()
- ANDROID: restrict access to perf events
- BACKPORT: perf tools: Document the perf sysctls
- FROMLIST: security,perf: Allow further restriction of perf_event_open
- UPSTREAM: ALSA: timer: Fix leak in events via snd_timer_user_ccallback
- UPSTREAM: ALSA: timer: Fix race among timer ioctls
- UPSTREAM: ALSA: timer: Fix leak in SNDRV_TIMER_IOCTL_PARAMS
- UPSTREAM: ALSA: timer: Fix leak in events via snd_timer_user_tinterrupt
- FROMLIST: ALSA: compress: fix an integer overflow check
v4.1 - 25/07/2016
- msm: mdss: kcal: Add KCAL support for post processing control [v2]
- Add USB fast charge
- Added fsync on/off support.
- Rebase zram and zsmalloc from 3.15
- Many patches for stability and performance improvement
v4.0 - 16/07/2016
- Completly rewrite the kernel by 0
- Removed all previous patches and mods
- Stock Linux 3.10.84
- Based on the last LG G4 h815 v20d source
- Patches ported from the H811 v20o sources
- Updated with the last Google patches
- v20h initramfs
- Added BFQ, FIOPS, SIO, SIOPLUS, TRIPNDROID, VR and ZEN I/O schedulers
- Added Despair, Impulse, ElementalX and Zzmoove CPU GOVS
- Added native xfat support
- Set SELinux to Permissive
- arm64: crypto: reduce priority of core AES cipher
- mmc: disable crc check for 30% extra performance
v3.3 - 30/06/2016
- imperium_defconfig: disable CONFIG_PFT as it is unsupported
- UPSTREAM: USB: usbfs: fix potential infoleak in devio
- UPSTREAM: arm64: jump labels: NOP out NOP -> NOP replacement
- arm64, jump label: detect %c support for ARM64
- drivers: dma-removed: use memset_io for ioremap region
- Revert "cpuidle: Add need_resched() check"
- Added "CACHE" in Makefile
- Removed "State_notifier"
v3.2 - 17/06/2016
- Linux v3.10.102
- msm: pm: use correct cpu_suspend call for Non-PSCI targets
- arm/dts: Fix GPU bwmon on msm8992
- arm64: kernel: refactor the CPU suspend API for retention states
- ARM64: unwind: Fix PC calculation
- arm64: head.S: remove unnecessary function alignment
- Revert "cpuidle: Add nop idle governor."
- debugobjects: use kmemleak_not_leak for debug object memory
- Revert "kthread: Fix the race condition when kthread is parked"
- initramfs: sepolicy: patched again for system root support
v3.1 - 18/05/2016
- Update SuperSU v2.74 beta
- v20H initramfs
- soc: qcom: add bricked_hotplug driver by showp1984
- cpufreq: cpu-boost: don't boost over user set max freq
- cpufreq: impulse: update to latest from @neobuddy89
- cpufreq: add Wheatley, Bioshock an Electroactive CPU govs
- block: add TRIPNDROID, SIO and V(R) I/O Schedulers
- I/O scheduler: reduce fifo_batch to 1 on deadline, SIO, SIOPLUS and V(R)
- USB: fix undeclared hub_release error in x86 build
- sdcardfs: Add support for d_canonicalize
- arm64/crypto: use crypto instructions to generate AES key schedule
- workqueues: Introduce new flag WQ_POWER_EFFICIENT for power oriented workqueues
- fs/char_dev.c: remove pointless assignment from __register_chrdev_region()
- msm: vidc: disable CPU L2 cache PC during video sessions
- msm: kgsl: Cast perfcounter query count to an unsigned int
- tty: vt, return error when con_startup fails
- ANDROID: restrict access to perf events
- Fix CONFIG_HZ dependency in wifi driver.
- mmc: clk_scaling: Fix scale_down_in_low_wr_load sysfs return value
- xfs: introduce a generic shutdown ioctl
- cpufreq/governor: avoid a possible crash in msm thermal driver when freq limits are changed due to thermal events
- msm_performance: do not allow userspace to change min/max cpu limits anymore
- msm: mdss: avoid panel status check when panel is off
- suspend abort: log more reasons
- msm: mdss: fix possible out-of-bounds and overflow issue in mdp debugfs
- Revert "mm: change max readahead size to 512KB"
- msm: camera: ispif: Validate VFE num input during reset
- msm: kgsl: Add missing checks for alloc size and sglen
- msm: camera: Setting max msm_post timeout to 6.5seconds
- Revert "arch: arm64: disable hardware breakpoints"
- USB: cdc-acm: more sanity checking
- vfs: change d_canonical_path to take two paths
- fuse: Add support for d_canonical_path
- msm: kgsl: verify user memory permissions before mapping to GPU driver
- msm: rpm_master_stats: reset master_cnt
- msm: rpm_stats: cleanup stats
- dma-debug: avoid spinlock recursion when disabling dma-debug
- ASoC: msm: disable unwanted module
- ASoC: msm: audio-effects: fix stack overread and heap overwrite
v3.0 - 12/06/2016
- Updated SuperSU v2.72 beta
- Ported Google patches into Imperium Kernel
- UPSTREAM: usb: xhci: Allow usb_add/remove_hcd() to be called repeatedly
- pipe: limit the per-user amount of pages allocated in pipes
- ipv4: Don't do expensive useless work during inetdev destroy.
- netfilter: x_tables: fix unconditional helper
- Input: aiptek - fix crash on detecting device without endpoints
v2.9 - 06/05/2016
- Patches ported from the last v20e H812 sources
- v20g initramfs
- defconfig: set CONFIG_HZ to 300
- net: sched: Do "* 1000 / HZ" for watchdog_timeo
- msm: Convert direct references to HZ
- msm: kgsl: Fix direct references to HZ
- msm: kgsl: Fix overflow in sharedmem read/write functions
- ext4: fix NULL pointer dereference in ext4_mark_inode_dirty()
- uid_cputime: Check for the range while removing range of UIDs.
- lib: align source before using optimized implementation
- msm: msm_bus: Fix memory corruption in alloc_handle_lst
- qos: Disable irq notifier when qos request is removed
- msm: perf: Protect buffer overflow due to malicious user
- block: don't allow nr_pending to go negative
- block: Reserve only one queue tag for sync IO if only 3 tags are available
- tcp_cubic: better follow cubic curve after idle period
- tcp: fix timing issue in CUBIC slope calculation
- tcp_cubic: do not set epoch_start in the future
- ANDROID: arm64: add HWCAP2 flags to compat /proc/cpuinfo
- [PATCH] arm64: topology: fix cpu power calculation
v2.8 - 13/04/2016
- Revert "cpufreq: preserve user_policy across suspend/resume"
- Revert "cpufreq: Clean up after a failing light-weight initialization"
- Revert one commit from Linux v3.10.101 that cause Ext Sd Card issue
- cpufreq: update user_policy.* on success
- smpboot: use kmemleak_not_leak for smpboot_thread_data
v2.7 - 09/04/2016
- Compilded with the last UBERTC 4.9 toolchain build 01/04/2016
- Updated SuperSU v2.71 beta
- Updated Busybox v1.24.2 and changed installation method (thanks to @osm0sis)
- pipe: Fix buffer offset after partially failed read
- cpufreq: preserve user_policy across suspend/resume
- cpufreq: Clean up after a failing light-weight initialization
- cpufreq: use memcpy() to copy policy
- vfs: add d_canonical_path for stacked filesystem support
- inotify: Fix erroneous update of bit count
- mac80211 packet injection patch
- mm/hugetlb: introduce hugetlb_bad_size()
- arm64: mm: use hugetlb_bad_size()
- metag: mm: use hugetlb_bad_size()
- x86: mm: use hugetlb_bad_size()
- tile: mm: use hugetlb_bad_size()
- powerpc: mm: use hugetlb_bad_size()
- Staging: iio: ad7606: Fix sparse endian warning
- Many kbuild changes from Michal Marek
- context_tracing: Fix guest accounting with native vtime
- vtime: Update a few comments4f
- ASoC: msm: qdsp6v2: add support for ALAC/APE/VORBIS
v2.6 -25/03/2016
- compilded with the last UBERTC 4.9 toolchain build 03/03/2016
- FROMLIST: mm: mmap: Add new /proc tunable for mmap_base ASLR.
- FROMLIST: drivers: char: random: add get_random_long()
- BACKPORT: FROMLIST: mm: ASLR: use get_random_long()
- arm64: crypto: reduce priority of core AES cipher
- arm64: crypto: issue aese/aesmc instructions in pairs
- defconfig: enable MMAP_RND_BITS
- defconfig: update mmap_rnd_bits to max value.
- arm64: change memcpy in kernel to use the copy template file
- arm64: copy_to-from-in_user optimization using copy template0
- lib: add CRC64 ECMA module
- msm: thermal: validate userspace args to prevent buffer overflow.
- msm: limits: Fix error handling to free up memory
- msm: kgsl: Fix direct references to HZ
- crypto: crc32 - Add ARM64 CRC32 hw accelerated module
- crypto: arm64/crc32 - bring in line with generic CRC32
- ipc/sem.c: fully initialize sem_array before making it visible
- cpufreq: add DESPAIR CPU GOV
- block: row: magic values
v2.5 -18/03/2016
- Linux v3.10.101
- defconfig: enabled CONSERVATIVE CPU GOV
- IKSWM-5880:sched/rt: really force updates rq clock in pick_next_task_rt
- sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target
- sched/rt: Do not try to push tasks if pinned task switches to RT
- sched: Optimize task_sched_runtime()
- sched/fair: Fix reschedule which is generated on throttled cfs_rq
v2.4 -11/03/2016
- Linux v3.10.100
- include/linux/poison.h: fix LIST_POISON{1,2} offset
- ASoC: msm: qdsp6v2: add support for new scm_call2 API
- ANDROID: mmc: move to a SCHED_FIFO thread
- ANDROID: dm-verity: run in a WQ_HIGHPRI workqueue
- ANDROID: dm-crypt: run in a WQ_HIGHPRI workqueue
- selinux: do not check open perm on ftruncate call
- cpufreq: interactive: Use target_freq for load calculation
- cpufreq: interactive: Fix load in cpufreq_interactive_cpuload event
- cpufreq: interactive: add screen off max freq
- cpufreq: interactive: prevents the frequency to directly raise above the
- cpufreq_interactive: fix merge error
- FROMLIST: cpufreq: introduce cpufreq_driver_is_slow
v2.3 -05/03/2016
- Linux v3.10.99
- msm: ipa: fix the mux_channel buffer overflow
- CHROMIMU: arm64: psci: lower the cpu_kill notification when racing with cpu_die
- msm: sps: fix a bug for pipe disable
v2.2 -02/03/2016
- Fix freeze and random reboots
- Updated SuperSU v2.68 beta
- Other patches for stability improvements (more details in my github)
v2.1 -28/02/2016
- Linux 3.10.98
- msm: kgsl: Fix race condition in adreno_spin_idle()
- klist: fix starting point removed bug in klist iterators
- klist: implement klist_prev()
- klist: use same naming scheme as hlist for klist_add_after()
- soc: qcom: ssr: Check the subsystem state before initiating SSR
- Revert "binfmt_elf.c: use get_random_int() to fix entropy depleting"
- Stop LG logging to /data/logger/$FILE we dont need that. Draning power fix
v2.0 -20/02/2016
- Linux 3.10.97
- tcp_output: set initial TCP window size to 64K (speed improvement)
- char: diag_acg.c: add compatibility patch for H811 variant
- EVM: Use crypto_memneq() for digest comparisons
- mmc: clk_scaling: set scale_down_in_low_wr_load to 1 by default
- binfmt_elf.c: use get_random_int() to fix entropy depleting
- ext4: Speedup WB_SYNC_ALL pass called from sync(2)
- compiler-gcc: integrate the various compiler-gcc[345].h files
- recordmcount: Fix endianness handling bug for nop_mcount
- arm64: restore bogomips information in /proc/cpuinfo
- H815: sync to v20i initramfs
- ASoC: wcd9330: Disable compander in HPH when EAR is enabled
- Added Faux sounds v3.6
- cpufreq: cpu-boost: auto-disable sched boost if HMP is not enabled
- Revert "msm8992.dtsi dts: mmc: remove wakeup on idle flag can improve the mmc"
- Revert "msm8994.dtsi dts: mmc: remove wakeup on idle flag can improve the mmc"
- Revert "cpufreq/governor: avoid a possible crash in msm thermal driver when freq limits are changed due to thermal events"
- Revert "workqueue: make sure delayed work run in local cpu"
- Revert "vfs: Adaptive vfs_cache_pressure"
- performnce improvement
v1.9 -14/02/2016
- patches ported from H811 v20i sources
- added the specific version for the H811 variant
- Revert "msm: mdss: Configure VIG pipes based on fixed mmbs"
- Revert "ksm: check and skip page, if it is already scanned"
- imperium_defconfig: disable KSM
- arm64: eliminate the .eh_frame sections from vmlinux and kernel modules
- block: Fix format string mismatch in cfq-iosched.c
- sched: fair: reduce preemption latency
- msm: mdss: release the mutex on rotator kickoff failure
v1.8 -10/02/2016
- ARM: 7884/1: mm: Fix ECC mem policy printk
- ksm: check and skip page, if it is already scanned
- cpufreq: qcom-cpufreq: Check return of cpufreq_frequency_get_table
- drivers: misc: qseecom: Fix app name size
- arm64: replace read_lock to rcu lock in call_break_hook
- ARM: 8167/1: extend the reserved memory for initrd to be page aligned
- block: fix blk_stack_limits() regression due to lcm() change
- genalloc: fix device node resource counter
- cpufrq: updated zzmoove cpu gov
- cpufreq/governor: avoid a possible crash in msm thermal driver when freq limits are changed due to thermal events [ZaneZam]
- cpufreq_elementalx: lower sampling_down_factor for big cluster. Also increase sampling rate to 20000
v1.7 -06/02/2016
- Update ramdisk to v20e
- Linux 3.10.96
- af_unix: fix merge error from Linux 3.10.95
- Many fix merge errors from v20d source
- UPSTREAM: memcg: Only free spare array when readers are done
- sched: Add stub function for sched_get_cpus_busy()
- UPSTREAM: seccomp: cap SECCOMP_RET_ERRNO data to MAX_ERRNO
v1.6 -30/01/2016
- cpufreq: Introduce new relation for freq selection
- Added Zzmoove and Impulse cpu gov
- block: updated FIOPS I/O scheduler
- Revert "lowmemorykiller: Do proper NULL checks"
- Revert "lowmemorykiller: Don't count swap cache pages twice"
- Revert "Added fsync on/off support."
- msm: mdss: Adding lcd notifier
- fs/dyn_sync_cntrl: dynamic sync control 2.0 for msm8994 [credits to @andiP]
- defconfig: disabled SWAP, ZRAM and SYSVIPC
- ramfs: sync to v20d initramfs
- ramfs: set swappiness value to 0
- ramfs: misc changes
- many pathces for performance, stability and battery improvement (more details in my github)
v1.5 -23/01/2016
- Sync with the last v20d LGE sources
- Patches form Linux 3.10.95
- many pathces for performance, stability and battery improvement (more details in my github)
- Reduced lags
- Updated SuperSU v2.67
- Removed Powersuspend drivers and adreno idler
v1.4 -16/01/2016
- many pathces for performance improvement
- removed quickwakeup driver
- Added fsync on/off support
v1.3 -11/01/2016
- Compiled with the stock google toolchains v4.9 (I think it's better)
- Removed Sound controll
- tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c
- PM: devfreq: Fix simple_ondemand crashing on startup
- devfreq: gpu: added simple time_in_state stats
- msm: kgsl: Program Secure Block Configuration through CP
- msm_mdss_io_8974.c: Enable DSI clamps only if entering idle power collapse or when ULPS during suspend is enabled.
- msm: kgsl: do not vmap/memset to zero-out pages
- lowmemorykiller: Don't count swap cache pages twice
- IKSWM-6057: dts: mmc: remove wakeup on idle flag
- ARM: alignment: correctly decode instructions in BE8 mode.
- arm: atomic.h: defined relaxed atomic_read
- ARM: rwsem: use asm-generic rwsem implementation
- ARM: optimize memset_io()/memcpy_fromio()/memcpy_toio()
- arm64: lib: use pair accessors for copy_*_user routines
- arm64: Fix the ARM userspace build
- arm64: asm: relaxed.h: defined relaxed.h
- arm64: processor.h: remove redundant macros
- arm64: add seccomp support
- arm64: add seccomp syscall for compat task
- mm: vmpressure: allow in-kernel clients to subscribe for events
- lowmemorykiller: Do proper NULL checks
- writeback: Fix occasional slow sync(1)
- add zen and sioplus I/O scheduler
- KEYS: Fix race between key destruction and finding a keyring by name
v1.2 -06/01/2016
- ramfs: sbin: fix permissions
- ramfs: Turn off debugging for certain modules
- net: bcmdhd: reduce wakelocks
- staging: android: add android alarm driver for to fix time issue to the boot (thanks to @wedgess)
- fs: Workaround the compiler's bad optimization
- sched, smp: Correctly deal with nested sleeps
- cputime: Fix jiffies based cputime assumption on steal accounting
- Updated SuperSU v2.66
- block: zram: updated zcomp.c and zram_drv.c to the last Linux version
- Added cafactive cpu gov
- Slub: Make cpu partial slab support configurable CPU partial support [thanks to @dwander]
- little tweak entropy level
- Rebase zram and zsmalloc from 3.15.
- mm: /proc/pid/smaps: show proportional swap share of the mapping
- mm: slub: Default slub_max_order to 0
v1.1 -01/01/2016
- Fixed "Corrupted ScanDisk SD card" issue for some external SdCard
- Added native LG EXFAT support
v1.0 -31/12/2015
- Initial release
Good job my friend here we are [emoji16]
Inviato dal mio LG-H815 utilizzando Tapatalk
Congratulation big Slim80!
Inviato dal mio SM-G928F utilizzando Tapatalk
Wellcome bro. Thankssss
Inviato dal mio LG-H815 utilizzando Tapatalk
Great Slim80 ?
Inviato dal mio XT1572 utilizzando Tapatalk
Tested it out.
One thing I've noticed is that big cpu it's blocked at 960MHz at minimal frequency.
Can't change it with kernel Adiutor
patalao said:
Tested it out.
One thing I've noticed is that big cpu it's blocked at 960MHz at minimal frequency.
Can't change it with kernel Adiutor
Click to expand...
Click to collapse
Not problem here.
Inviato dal mio LG-H815 utilizzando Tapatalk
This is for stock MM right?
Strange.
Will test it out again tomorrow because of new year
DaarkieDoo said:
This is for stock MM right?
Click to expand...
Click to collapse
Stock FW or custom ROM based on LG firmware. No Cyano and/or AOSP.
Inviato dal mio LG-H815 utilizzando Tapatalk
Excellent!
However - first boot gives...
..and it was fine just before installation, reflashed stock kernel and still reporting corrupt
EDIT: Restored a TWRP backup with stock kernel & SU, sees my card again. Very odd. Wish I had logcat but I was panicking!
Read the OP man.
Inviato dal mio LG-H815 utilizzando Tapatalk
slim80 said:
Read the OP man.
Inviato dal mio LG-H815 utilizzando Tapatalk
Click to expand...
Click to collapse
Post #2 actually
Sorry, didn't get that far
Need unlock bootloader??
sminki said:
Post #2 actually
Sorry, didn't get that far
Click to expand...
Click to collapse
No problem.
I'm working to fit it. I have this issue with my new SdCard SHXC 64Gb. With the older Samsung SdCard 32Gb works fine.
@Mir hosiEn said:
Need unlock bootloader??
Click to expand...
Click to collapse
Yes. Needs the unlock bootloader and a custom recovery.
I'll add the istrucition in OP tomorrow.
Inviato dal mio LG-H815 utilizzando Tapatalk
Imperium Kernel G4 v1.1 online.
Thanks! And happy new year
Sent from my LG-H815 using Tapatalk
Yesssssss.... A kernel (not being cile) with exfat support for 64 gb... Very smooth and nice. Especially the elementalx gov with westwood tcp cong. Thanks a lot....
slim80 said:
Imperium Kernel G4 v1.1 online.
Click to expand...
Click to collapse
Well done sir! I'm happy now :victory:

[KERNEL][STOCK-MM 3.4.113][Gabriel][Stweak][D85X_VS985_LS990_F400]_[160617]

Be Sure ! If you benefit to the other's you will see it's effect.
Imam Ali (a.s.)
If you don't believe in any religion and don't fear the Resurrection Day, at least be free in this world.
Imam Husayn (a.s.)​
Q&A in 2nd post
Features/Changelog in 3rd post
Mod & Tweak in 4th post
Flash at you own Risk !
Download directory
Kernel Source Code: https://github.com/mostafa-z/Gabriel_MM
Ramdisk Source Code: https://github.com/mostafa-z/MM_RAMDISK
There is a file named "compile.log" in kernel zip file
that says which branch i used for build process
[ Stweak support added from V 1.7 ]
Big thanks to these kind Developers, who shared their works​
Q&A
Q: i have long charge time !
A: there is a driver to reduce charge current if battery temp goes high to prevent damage, if cpu temp goes high thermal driver will cut off freqs so it can reduce charge time, so monitor system for why temp is high specially on battery.
Q: can i turn intelli_thermal_2 off to get better performance?
A: we have 2 intelligent thermal control driver, if you turn it off the built-in driver will get online and control the temperature which is controlling temp during the boot till intelli_2 get online then you can have more control over it. i changed parameters from 80 & 90 degC to 72 & 75 degC for safer temp control (as a user requested ). so if you want get higher freq values at higher temperature you should get control of intelli_2. caution: reduce the temperature for long life.
Q: i can't get last_kmsg , there is no last_kmsg ?
A: actually there is a tunable parameters to let the kernel dump it at fails but you can use ADB and get live kmsg log at terminal by running "cat /proc/kmsg". it will show you live show
Code:
<3>[ 8624.446243 / 07-07 11:08:50.416] pre-check do_freq_control temp[47], limit_idx[14],
<3>[ 8624.696399 / 07-07 11:08:50.666] pre-check do_freq_control temp[48], limit_idx[14],
<3>[ 8624.946358 / 07-07 11:08:50.916] pre-check do_freq_control temp[47], limit_idx[14],
<3>[ 8625.196421 / 07-07 11:08:51.166] pre-check do_freq_control temp[46], limit_idx[14],
<3>[ 8625.446387 / 07-07 11:08:51.416] pre-check do_freq_control temp[46], limit_idx[14],
<3>[ 8625.696374 / 07-07 11:08:51.666] pre-check do_freq_control temp[46], limit_idx[14],
if you want get log only for your desired parameters like temp you can limit it with "cat /proc/kmsg | grep temp"
Q: my device is always hot and max freq is decreasing to lower values?
A: depends on your config, decreasing max freq is due to thermal limitation ( protect your device from heat by decreasing max freq to produce less heat ... ).
you can find out which process using the cpu and cpu produced heat :
run "top -s cpu" in your android terminal or adb :
Code:
PID PR CPU% S #THR VSS RSS PCY UID Name
22972 2 [B] 26%[/B] S 14 1362360K 135488K bg u0_a23 [B]android.process.media[/B]
4432 0 [B]24%[/B] S 4 9680K 2632K fg media_rw [B]/system/bin/sdcard[/B]
4974 1 7% S 14 1354472K 69500K fg system com.android.settings
361 2 3% S 18 191664K 6452K fg system /system/bin/surfaceflinger
22960 0 2% S 10 1716192K 198660K bg u0_a38 com.android.gallery3d
23060 3 1% R 1 3068K 1288K fg root top
21534 0 1% S 20 1221608K 49832K bg u0_a104 com.grarak.kerneladiutor
3532 0 0% S 148 2023996K 93580K fg system system_server
1134 0 0% D 1 0K 0K fg root mdss_fb0
in this case process.media is using much more that other processes , find out why it's running or end that process.
Q: i faced lag ! what can i do ?
A: depends on your config, but try ramp up thermal degC can prevent to throttle freq & cores (you will kill your device by heat )
Q: can i take my device temprature down ?
A: depends on your config, try lower down temprature degC limit to make throttle freq & core as soon as possible.
lower down max freq, you have not to kill performance at all try free up the ram from unwanted apps
Q: i have long charge time ?
A: i switched cpu_governor at charge process to have shortest ( ~ 1:20 ), monitor its rate at battery usage.( i've tested slim and alucard )
Q: what you mean by optimized build?
A: simple answer is i use GCC build flags in build process, google it.
Q: do you have any script for configuration?
A: actually i'm trying to build some script :
example: to drop cache and free up ram in scheduled time using: echo 2 > /proc/sys/vm/drop_caches
and some cool script from dorimanx
implementing stweak can fix all of these stuff
Q: why there is a build for slim governor and one for elementalx?
A: they have almost similar code, they can't live toghether or i can't make them.i'm working on it.
Q: do you have plan to build with separate toolchain, like uber-7,5 or linaro ?
A: it depends on users feedback, let's experience them, who cares
Q: do you support other variants like D852 and ... ?
A: as far as i can
Q: why kernel options not tuned?
A: i've planing to implement stweak to have control over sysfs
Q: what is your kernel config?
A: i satisfied if i have 0% or 1% during the night
Code:
# My simple profile
cpu alucard
hotplug alucard
gpu powersave
i/o noop 1024
screen
232 237 256, saturation 75 (franco config)
entropy
read 512, write 256
fsync off
thermal
core control off
freq throttle 75, core throttle 72
temp,core hysterecis 10
# my smoothness profile
cpu slim/elementalx
down_differential 10
input_enent_timeout 800
sampling_down_factor 2
ui/sampling_rate 15000
hotplug alucard
sample_rate 35%
gpu msm-adreno
simple algorithm laziness 3, ramp threshold 7
screen same
i/o fiops 1024
entropy same
fsync same
note: for better performance set same sample rate at cpu and hotplug
Features/Changelog
KERNEL 2.3
* restore f2fs driver to 3.4.y stable
* codes compiled with gnu gcc 7.1.0 toolchain compile by me
* kernel use updated libraries instead of linux ones by gcc 7.1.0
* add CFS kernel scheduler switch (how to balance tasks onto different CPU unit)
* fix devfreq nodes unavailable
* remove async-fsync
* add fsync control
* remove sched relaxing cpu-idle by nvidia
* merge kernel cpu codes
* merge cpu-idle codes from 3.10.y kernel mainline
* merge codes to fat, exfat from 3.10.y kernel mainline
* add interactivex, nightmare, darkness governors
* merge massive codes to crypto, of, cgroup, kernel time, ntp, tick, rcu, lib
* merge codes to net
* merge codes to zram driver from 4.11.y kernel mainline
* merge codes to base/power & base/core & qos driver from 3.10.y kernel mainline
* merge codes to mdss
* merge codes to selinux
* merge codes to kernel/irq
* merge codes to kernel scheduler, cputime, cpu accounting from 3.10.y kernel mainline
##### Ramdisk/Stweak
* add dcop7 profile by @dcop7
* add salvation profile by me
* add per governor profile for alucard & nighmare cpu governors
* add profile for alucard hotplug
* add adreno-idler controls
* add multicore power saving controls
* fix thermal driver switch
* fix synapse stats, now it shows kernel stats
* fix node path for cpu-boost & devfreq governors
* update busybox to latest codes from branch "busybox.net/master", compiled by me
KERNEL 2.2
* allow modem to enter deep sleep (control interface in mastercore tab)
* merge random driver from 3.16.y
* disable more debug option to save space and cpu cycle
* add maple io scheduler (based on zen & sio)
* merged alucard touch-boost driver's option and stability to caf cpu-boost to fix the min freq locking to boosted freq and boosted core & freq in heat.
* merge NTFS fs from 3.10.y
* merge EXT4 & F2FS fs from 3.10.y ( better coded file system can save power )
* merge update to selinux
* removed dyn_fsync and add fast async_fsync from htc
* merge update to ZRAM & ZSMALLOC from 4.8 kernel
* merge swap speed update to ZRAM driver
* merged massive update to memory code from 3.10.y and upstream code aurora updates backported from 4.5.y
* merge updates to memory code and ram leaks fixes ( slub, OOM, LMK, page_aloc, etc )
* merged some updates to memory code from 4.6.y and some fixes to shrinker code
* merged many updates to memory code, including vmpressure and new shrinker API & tunable process reclaim control available in memory tab
* add zen-interactive tuning to optimized & overclocked version and all ondemand based GOVs (Tunes the kernel for responsiveness at the cost of throughput and power usage) (web)
Thank you @dorimanx
##
* all profiles will be reset at fisrt boot after flash
KERNEL 2.1
* merge kernel printk driver from 3.10.y
* merge cgroup & library updates from 3.10.y
* merge I/O driver from 3.10.y (all io schedulers converted to use new io update)
* merge LMK driver from 3.10.y and fix panic under memory pressure
* merge ipc & android binder codes from 3.10.y (interprocess communication mechanism, rom and apps should do better under pressure, thanks dorimanx)
* add quick wake-up driver and fix for lpm and cpu-idle
* available in 3 style
1- same as previous versions
2- same as #1 + GCC OPTimization Flags (Ofast, Graphite, ...)
3- same as #1 & #2 + CPU and GPU has been Over Clocked ( CPU 2.8 GHz and GPU 657 MHz )
##### Ramdisk/Stweak
* add suigintou profile
* some typo fixes
* add overclocked frequencies which works only in Over Clocked version
KERNEL 2.0
* merge MMC codes from 3.10.y kernel mainline
* merge cpuidle codes from 3.10.y
* add ability to disable dmesg (kernel logging)
* merge qseecom from 3.10.y
* merge watchdog from 3.10.y
* add frandom
* add Boeffla sound engine
sysfs available at: /sys/class/misc/boeffla_sound/*
enable with : echo 1 > /sys/class/misc/boeffla_sound/boeffla_sound
to change volume you should add left & right chanel : echo "20 20" > /sys/class/misc/boeffla_sound/speaker_volume
##### Ramdisk/Stweak
* add ability to disable dmesg logging (others tab)
* add sound control options
* update busybox
KERNEL 1.9
* merge workqueue from 3.10.y and use new idr
* alucard hotplug is up with latest version to use the new workqueue structure.
##### Ramdisk/Stweak
* add an option to deactivate hotplug protection (you can set hotplug out of the stweak and cortexbrain can't change it to stweak value)
KERNEL 1.8
* Linux kernel version 3.4.113
* merge arm codes
* getting almost same and close features to v 1.7 features
* revert back to 3.4.y kernel scheduler
* multirom support
* merge lge v30j kernel source codes
* merge lmk (low memory killer) & oom (out of mermory) codes
* squashfs implemented (i don't have any tools to enable it)
* lz4 de/compression updated with 3.10.y
* enabled unaligned memory access (faster lz4 de/compression)
* merged latest 3.4.y f2fs updates
* merged latest zram from 3.10.y Motorola
* merged latest zsmalloc codes 3.10.y and some other memory improvement codes
* merged kgls, devfreq codes (gpu update)
* merged much saner idr and using it in most parts of kernel
* zram using new idr and compact in sleep mode (see kernel log for statistics while going to sleep, much improved results will show when ram loaded and have much app)
* kernel uses 300 Mhz internal clock
* swapping scheduled on all cores to free up ram faster
* merged codes to main cpu driver
* added null cpu-idle governor
* merged some CVE commit
* krait boost enabled
* added dynamic fsync
* compiled with latest Linaro 6.1.1
##### Ramdisk/Stweak
* added Gabriel profile (ran asphalt 8 , no lag in high detailed maps and ui)
* added undervolt control
* added sleep state control for VM (there is 2 profile for VM in Gabriel profile that you can adapt and use, one for awake state (speedmod) and one for sleep state (boeffla, adapted from boeffla kernel)
* added more controls on hotplug and cpu
* added kcal profiles
* control for new features, dynfsync, vibrator strength , ...
KERNEL 1.7
* Linux kernel version 3.4.112
* Merge UKSM codes (ultra kernel same page merging)
* Add cpufreq barry_allen, intel, ondemandx, interactive & ondemand from AOSP kernel mainline
* Merge Nvidia Cpuquiet codes (available on kernel adiutor)
* Merge cpu codes
* Merge multi cpu policy limiter
* Merge cpu freq limiter v 5.4 (per core functions)
* Merge cpu-boost update (per core functions)
* Merge sched codes (higher linux mainline)
* Merge workqueue codes (higher linux mainline)
* Merge power codes (higher linux mainline)
* Disable bunch of trace & debug to save cpu cycle
* Merge HMP (heterogeneous multi-process) codes (higher linux mainline)
* Cpu underclock to 268 MHz
* Merge KGSL codes
* Add Thunder-plug hotplug driver
* Add Intelli-plug hotplug driver
* Merge Random codes (3.16.y mainline)
* Merge RWSEM optimization
* Merge sl[a,o,u]b memory codes
* Merge zcache codes (3.18.y mainline)
# with new cpu/sched codes some hotplug driver may don't work properly, codes need more update !
* Implement Stweak support (kernel control with profile support)
* Stweak: add more sleep/awake functions to control kernel
* Stweak: add tunable service control (fstrim,memory reclaim and more)
* Stweak: initial 5 profile support (extreme battery,battery,default,performance,extreme performance)
# install Dorimanx stweak by default as respect him, other different ui available in download folder
KERNEL 1.6
* Introduce Linaro 5.3 Toolchain
* Fixed latest kernel crash
* Add Ondemand CPU_Governor from semaphore kernel (nexus 4)
* Update Intelli_Thermal driver (parameters descriptions)
* Set High Performance Profile After Boot Up to Finish the OS Load Process
As Fast As Possible and Smoothly,
Normal Profile will set after CPU Temp Goes Under 65 degC, Just a While
KERNEL 1.5
* F2FS bring up to date with Kernel.org latest codes,
stable branch 4.7-rc1-3.4 - 2016-06-03
* Sync FS just once before suspend, not all the time
* Mako Hotplug added
* Quick Wakeup driver added
( system back into suspend without fully resuming
if the wake reason was a special quick wakeup event )
* Make MPDecision to be Conservative
* Enhanced Power Efficiency by NVIDIA implemented
* Interactive CPU back to LGe changes
* CPU Boost updates and Relative Dependencies Removed
this should solve last Kernel oops
* Back light control by jon777 added
Force Rom to use defined min/max back light
/sys/module/lm3697/parameters/*
* Arch Power & Gentle Fair Sleepers sysfs added
/sys/kernel/sched/*
disabling gentle fair sleepers may bring you smoother ui
* Add MMC CRC control sysfs
/sys/module/mmc_core/parameters/use_spi_crc
( Enabling software CRCs on the data blocks can be a
significant (30%) performance cost )
KERNEL 1.4
* Support F2FS (see this instruction)
* Neon-mode activated
* Neon optimized Crypto
KERNEL 1.3
* Fix kernel crash/reboot
* Add Smartmax cpu_governor
* cleanup dmseg to produce better logs
* Install custom busybox for my later needs
* Enable msm_thermal by default
KERNEL 1.2
* Support Exfat
* Tune down default thermal limit to 72 & 75 degC
* Switch to XZ kernel compressor
* Initial support for D850, 1 ,2
KERNEL 1.1
* Introducing UBERTC-7 toolchain, Experimental (first time for G3)
* CPU_Governor added:
zzmoove,alucard,impulse,intellimm,hyper,nightmare,darkness,lionheart,(slim & elementalx : gpu_boost feature)
(i can't have slim and elementalx at same time) :\
interactive synced with AOSP source
* GPU_Governor added:
conservative + adreno idler,simple gpu algorithm
* Minimum GPU Freq 27 MHz
* Hotplug added:
alucard,msm
* I/O Scheduler added:
bfq,fiops,sioplus,zen,vr,tripndroid
* CPU_Boost updated
* Scheduled Workqueue implemented
* CPU Voltage control supported
* MSM_Thermal v2 implemented
* KCal v2 implemented
* Live user sharpening control implemented
can access by "/sys/devices/virtual/graphics/fb0/sharpening"
* KSM ,disabled by default
* Adaptive LMK (by motorolla) implemented
* Fsync implemented
* TCP congestion algorithm (westwood & ...)
* State notifier (determine screen state, on & off)
/sys/module/state_notifier/parameters/*
* ZCache,ZRam,Zsmalloc,Frontswap implemented
zram compressor can switch to lzo or lz4
maximum compressor streams can change from 1~4 cpu
## enabling zram can drain battery faster, google zcache,zram,frontswap
## to enable 512 MiB zram copy these commands to your init.d script or run in terminal:
Code:
swapoff /dev/block/zram0;
echo "1" > /sys/block/zram0/reset;
echo "lz4" > /sys/block/zram0/comp_algorithm;
echo "2" > /sys/block/zram0/max_comp_streams;
echo "512MB" > /sys/block/zram0/disksize;
mkswap /dev/block/zram0;
swapon /dev/block/zram0;
* Process reclaim implemented (i don't think it's working ...)
* EXT4 filesys updated
* Frandom implemented (10-50 times faster than what you get from Linux urandom)
* Disabled crc check
* memutils, memcpy, memmove optimization
## filename resolution
SLIM is for slim cpu_governor
ELEX is for elementalx cpu_governor
U7 is for UBERTC-7 toolchain
U5 is for UBERTC-5.3.x toolchain
L5 is for Linaro-5.3.x toolchain
OPT is for optimized with gcc build flags
STK is for no-optimization
Mod & Tweak
1- Bullet_93 UKM_Mod ( synapse ) 010716
Bullet_93_Mod 1.3
2- Tasker instruction
Niceeeeeeeee I loveeeeee it always best on LP and now in MM
f400 variant pls...
Pls support f400 i would like to use this kernel as daily driver........
toks420 said:
Pls support f400 i would like to use this kernel as daily driver........
Click to expand...
Click to collapse
you know i'd failed for fF400 with LP, i will try again, if you know anyone who build stock MM for F400 please introduce him/her to me,tnx
i should get sources,step by step during the time
Great to see you on MM builds @mostafaz, thank you for your work.
Any reviews? Performance, battery life, feeling?
Great performance......
For battery life is to early.......
( UBERTC 7.0.0 )
Cpu elementalx
Gpu alucard
D855
FULMICS 5.3
Inviato dal mio LG-D855 utilizzando Tapatalk
davidez25 said:
Inviato dal mio LG-D855 utilizzando Tapatalk
Click to expand...
Click to collapse
Hat do you mean different file?....
D855
FULMICS 5.3
cultofluna said:
Hat do you mean different file?....
D855
FULMICS 5.3
Click to expand...
Click to collapse
Yes
because there are 4 files, the difference between them?
Inviato dal mio LG-D855 utilizzando Tapatalk
Exfat
Pls support exfat for sdcard
Great builds, thank you for your work. :good:
davidez25 said:
Inviato dal mio LG-D855 utilizzando Tapatalk
Click to expand...
Click to collapse
davidez25 said:
Yes
because there are 4 files, the difference between them?
Inviato dal mio LG-D855 utilizzando Tapatalk
Click to expand...
Click to collapse
Can you not read? ^^
mostafaz said:
## filename resolution
SLIM is for slim cpu_governor
ELEX is for elementalx cpu_governor
U7 is for UBERTC-7 toolchain
U5 is for UBERTC-5.3.x toolchain
OPT is for optimized with gcc build flags
STK is for no-optimization
Click to expand...
Click to collapse
Which means one contains slim governor(among other governors included) compiled with ubertc 5 and the other one with ubertc 7, and another pair with elementalx governor.
When I use 64GB sdcard, it seems that i can't use. Please support exfat. Thank you!
Thaks dev for the kernel. Will be my daily driver going forward.
Sent from my LG-D855 using XDA-Developers mobile app
Slim for battery life
Elementalx for performance
Right?
Thanhtho96 said:
Slim for battery life
Elementalx for performance
Right?
Click to expand...
Click to collapse
Both are performance oriented and very simillar.i just let users choose which one they decide to have.
You can disable gboost in governor settings & lower down differential & ramp up sample_rates & lower responsivness ...
how can i get better battery life in this kernel? download slim version?

Categories

Resources