DragonVibe kernel
for stock ROW Lollipop android
Crappy name, I know...
Main Features:
Based on Lenovo sources (07.07.15) Linux 3.4.0
Compiled with Linaro 4.8.4 Cortex-A15 toolchain
-O3 Optimizations
KCAL - Advanced LCD color control
CPU freq table: 300MHz <-> 2.88GHz
CPU -25mV Linear UV
CPU User voltage control
Ele-Plug - custom in-kernel hotplug driver (mpdecision disabled)
Ele-Thermal - custom in-kernel cpu thermal frequency throttle driver (fully configurable thru sysfs)
Added governors: Intelliactive, Intellidemand
Added schedulers: BFQ
Added TCP congestions: Westwood+
Insecure ramdisk (ro.secure=0)
Force-loading kernel modules with different vermagic
FSync toggle
/proc/config.gz
Default:
CPU freq: 300MHz<->2.45GHz
GPU freq: 200MHz<->578MHz
CPU governor: Interactive
GPU governor: msm-adreno-tz
IO scheduler: ROW
IO read-ahead: 1024kB
TCP congestion: Westwood+
As usual, I am not responsible for your device!
Dont forget to backup boot partition in recovery before flashing!
How to restore to stock:
Restore your backup of boot partition
Mount /system in recovery
Open file manager and go to /system/etc (still in recovery)
Delete init.qcom.post_boot.sh
Rename init.qcom.post_boot.sh.bak to init.qcom.post_boot.sh
Reboot
Use Device Control to configure (most of the) kernel features
Want higher scores in benchmarks?
Put your phone in a plastic bag and then in a freezer for about 5 minutes (be careful about condensation). Now run the benchmark
It is insane how much it throttles, especially in warm environments.
Benchmarks: Outside (ambient 30C) - Proof (@2.45GHz) - Proof (@2.88GHz)
Sysfs tunables location:
KCAL - /sys/devices/platform/kcal_ctrl.0/
Ele_Plug - /sys/devices/virtual/misc/ele_plug_control/
Ele_Thermal - /sys/devices/virtual/misc/ele_thermal_control/
Voltage Control - /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
Downloads:
Alpha 8 (a8)
Alpha 7 (a7)
Alpha 6 (a6)
Alpha 5 (a5)
Changelog:
a8 (build 24.07.15):
Ele_Plug 1.5 - few bugfixes...
Ele_Thermal 1.0 - Custom thermal throttle driver for Quad-Core SoCs
Added KCAL - Advanced LCD color control
Added CPU user voltage control
Default IO read-ahead is now 1024kB
Added Westwood+ TCP congestion, now also default.
Removed redundant GPU frequency step
a7 (build 15.07.15):
Ele_Plug 1.4:
- Hotplugging Suspend/Resume on screen off/on via Frame Buffer Callback
- Ele-Plug -> Ele_Plug
etc...
a6 (build 13.07.15):
Ele-Plug 1.3: new tunable max_cores, to control maximum online cores
Default scheduler: ROW
Various optimizations...
a5 (build 09.07.15):
Initial XDA release
Source: https://github.com/ElectryDev/android_kernel_lenovo_msm8974_dv
Full Changelog: https://github.com/ElectryDev/android_kernel_lenovo_msm8974_dv/commits/master
Please report any issues / feature requests below.
Electry said:
Work in progress.
Source: https://github.com/ElectryDev/android_kernel_kingdom_row
Click to expand...
Click to collapse
any news ? alpha or beta testing? I'am on K920 China with s226 ROW rom unlocked bootloader and TWRP
Thanks for your reply
Try it No promises though
I bought a ROW version with Kitkat.
Updated it for Stock Lollipop.
Rooted it with 0_install_root_K920Pro.bat.
Unlocked bootloader with VibeZ2Pro_ROW_UnLock_BootLoader_L using Qfil
Run (did not flash) TWRP 0_run_twrp_recovery_K920Pro.bat
Backed up my working stock ROM
Flashed DragonVibe8 with TWRP run
Installed XposedInstaller_3.0_alpha4.apk
Flashed xposed-v71-sdk21-arm.zip using TWRP run
Installed GravityBox_Lollipop_5.1.4.apk
Everything on Gravity Box works perfectly on Vibe UI.
Installed Titanium backup, froze unwanted apps.
After I was sure, removed all bloatware which were frozen using Titanium backup.
Installed Device control. Modified CPU and GPU settings.
My K920 is now amazing on performance, power backup, functionalities and features in addition to its lovely Hardware (screen, camera and looks).
Thank you
Hi @Electry, is there a way to make this kernel compatible with cm12.1?
thanks
ganapathyraman_s said:
I bought a ROW version with Kitkat.
Updated it for Stock Lollipop.
Rooted it with 0_install_root_K920Pro.bat.
Unlocked bootloader with VibeZ2Pro_ROW_UnLock_BootLoader_L using Qfil
Run (did not flash) TWRP 0_run_twrp_recovery_K920Pro.bat
Backed up my working stock ROM
Flashed DragonVibe8 with TWRP run
Installed XposedInstaller_3.0_alpha4.apk
Flashed xposed-v71-sdk21-arm.zip using TWRP run
Installed GravityBox_Lollipop_5.1.4.apk
Everything on Gravity Box works perfectly on Vibe UI.
Installed Titanium backup, froze unwanted apps.
After I was sure, removed all bloatware which were frozen using Titanium backup.
Installed Device control. Modified CPU and GPU settings.
My K920 is now amazing on performance, power backup, functionalities and features in addition to its lovely Hardware (screen, camera and looks).
Thank you
Click to expand...
Click to collapse
Hi,
Which options in device control are the best to set?
Not for gaming, just for regular use, surfing , better battery life.
Thanx
Hi, update please
Hi Electry, I would like to test you kernel, now I am only rooted and running the latest (S271) stock ROW. If it is safe to install you kernel over build k920_S271_150907_ROW? If yes, I will unlock the bootloader and install the twrp recovery to test it out. Thank you
medar said:
Hi Electry, I would like to test you kernel, now I am only rooted and running the latest (S271) stock ROW. If it is safe to install you kernel over build k920_S271_150907_ROW? If yes, I will unlock the bootloader and install the twrp recovery to test it out. Thank you
Click to expand...
Click to collapse
im using it with S271 ROW .it works!
Z953RR said:
im using it with S271 ROW .it works!
Click to expand...
Click to collapse
Thanks:good:
It really sppeds up the phone!
But it also cause random crashes on some apps like whatsapp and facebook.
Can't wait to see some improvement! great job!
Wont this work on CM12.1 ROM?
is there a FIX
or a mode to improve Colors
they are very washed out
Yes.
KCAL (Advanced color control for Qualcomm MDSS 8x10/8x26/8974/8084/8939): Info + Download
Kernel Adiutor (Application which manages your kernel parameters - ROOT): Info + Download
c.x
Hey guys, I'm on latest stock ROM. If I will do a root and flash of custom recovery, and afterwards I flash this kernel, how will I be able to flash OTAs, that'll Lenovo release, if any? Thanks.
Will be working on CM13 on CN version of k920?
And what?
Is.this working on CN phones?
Magiskhide can be made to work?
Is there an LED indicator?
Related
Spirit Kernel
This kernel is ONLY for AOSP based ROMs. This will NOT work on the stock Moto roms.
I will update this regularly as I have time and will add new features and fixes as well.
If you have any feature requests or ideas that haven't been seen before, don't hesitate to post it here!!
PLEASE READ
How to report a bug?
Include the following in your bug report:
The ROM you are currently using + a link to the ROM's thread
A log, preferably dmesgs or kmsgs (use Google to find out how to pull these from your device)
The version of SpiritKernel you use (=rx, e.g.r3)
Bug reports not meeting these requirements will be ignored.
NO BUG REPORTS ON EXPERIMENTAL BUILDS!
Features
This Hybrid kernel contains features from great kernel devs with like faux,franco and neobuddy,optimized for titan to make it work.Initially there are less features but I will add much more soon
[*]Based on the Latest CyanogenMod sources
[*]Patched 3.4.106 kernel
[*]Governors: ondemand/userspace/powersave/performance/interactive/IntelliMM/inteliidemand/intelliactive/smartmax/pegasusQ
[*]Hotplug: MPDecision/MSM Hotplug/Intelliplug(default)
[*]Intellithermal v2
[*]DT2W/S2W/S2S Wake controls
[*]CPU Underclocking 192Mhz
[*]GPU OC 533Mhz | UC 100Mhz
[*]Add MSM Hotplug Driver
[*]Asynchronous Fsync extracted from HTC
[*]Sweep2Sleep driver
[*]Dynamic management of timer slack
[*]Slimbus OC thanks to neeobuddy89 and poondog
[*]increase Torch power 20mA
[*]Dynamic management of dirty page writebacks
[*]IO: BFQv7r7/FIFO/SIO/FIOPS/ZEN/VR IO Schedulers
[*]Faux Sound Control 3.2
[*]KCAL v2 by @savoca
[*]USB forced fast charge
[*]Stereo call recording support by skvalex
[*]Powersuspend from Faux and yank555-lu *updated to 1.8 after r8*
[*]Kernel Compression: XZ
[*]psx2usb controller
[*]Use Android device as USB keyboard/mouse
[*]optimized ARM RWSEM algorithm.
[*]Ultra Kernel Samepage Merging {UKSM}
[*]FRandom
[*]Dynamic FSync Control
[*]Added Simple GPU Algorithm
[*]WQ_POWER_EFFICIENT for bettery battery life. Hello Battery!!
[*]ANY Kernel
[*]Kexec hardboot patch for Multirom support
[*]TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD
Optimizations
[*]Compiled Using UBER 5.0.1 SaberMod 4.8 Optimized toolchain for better performance | UBER 4.9 Toolchain after r4
[*]Added optimized ARM RWSEM algorithm.
[*]Disable add_random
[*]Pocketmode and deepsleep for dt2w/s2w
[*]Optimized VFP Module
[*]FIx integer-overflow in veno,vegas
[*]Add sysinterface for GENTLE_FAIR_SLEEPERS
[*]NOATIME and NODIRATIME as default
[*]New 99LMK script by @Pizza_Dox
[*]Nvidia Patches to enhance power efficiency.
[*]Sched optimizations
[*]Increase battery level check interval
[*]writeback: increase bdi_min_ratio to 5
[*]block: cfq: merge tweaked tunables.
[*]Wait just 1 second for other CPU to halt
[*]net: combat buffer bloat
[*]PM: Introduce suspend state PM_SUSPEND_FREEZE
[*]Disable -fconserve-stack on ARM v2
[*]Enable power efficient workqueues by default
[*]do not use msm_run_queue_stats
[*]enable/disable cpu-boost via sysfs
[*]softirq: reduce latencies
[*]Built with Ofast flags
[*]Force SELinux permissive
[*]LowMemoryKiller management of non killable processes
[*]Headset High Performance Mode
[*]Allow CPU-supported unaligned accesses
[*]Enable UNALIGNED_ACCESS
[*]enable ARCH_POWER
[*]lower swappiness
[*]vfp: remove double entries
[*]Disable disable crc check for 30% extra performance in IO
[*]Optimized SLUB memory allocator
[*]Optimize Sfck Compression
[*]set sched_mc_power_savings to 2 (moar powarrrrrrr! saving)
[*]readahead to 256
[*]Built with Graphite flags
[*] Enabled Pipe Flag
TO-Do List
IntelliMM-intelliminmax
New Govs and I/Os
Intelliplug 4.0
GPU OC and UC
* Recommended app for tweaking the kernel: FauxControl,Kernel Auditor or TricksterMod
Recommended settings :
Governor: Intelliactive
I/O Scheduler: Fiops or row
TCP Congestion : Westwood
GPU Governor : Simple Ondemand Or Msm-adreno-tz
Hotplug : Intelliplug ( Keep screen off frequency to 787 MHz )
Powersuspend : Hybrid
Simple GPU Algorithm : On
How DO I flash this?
Reboot to recovery.
Install zip from SD Card.
Choose the SpiritKernel-Rx-titan.zip
Insatll and Reboot.
Changelog:
Click Me
Downloads:
Basketbuild
Source:
Github(branch:spirit)
Wiki containing changelogs,settings and more
Antutu Score: http://forum.xda-developers.com/showpost.php?p=59736983&postcount=136
Credits goes to these SUPERHUMAN for Inspiration and support (In no specific order)
faux123
Cl3Kener
slukk
luca020400
savoca
Anas Karbila
hurtsky
pinkflozd
YoshiShaPow
Flashhhh
flar2
vigneshrajagopalan
And more
XDA:DevDB Information
Spirit kernel for titan, Kernel for the Moto G 2014
Contributors
DC07
Source Code: https://github.com/DC07/spirit_msm8226
Kernel Special Features: Powersuspend,Ultra KSM,FRandom,Faux Sound,LCD KCAL,DT2W/S2W,Fastcharge and More
Version Information
Status: Stable
Current Stable Version: r13
Stable Release Date: 2015-04-21
Created 2015-03-16
Last Updated 2015-04-21
F.A.Q. - Read this before complaining!
1. My phone exploded, HALP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: Doesn't work with ROMs having different ramdisk or any derivates due to their irresponsibility of using a different ramdisk which needs patches that break stock rom users. Use a different rom and don't bother me.
3. OMG BETTARY SUCKZ, IT DEAD IN 45 MINUTAS, HALP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Reading the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
Settings recommended by our users
metalrules321 said:
Heres what I use and it gives me exceptionally good battery life and perfomance (may differ for others) /using faux-clock app
1.CPU Hotplug
-Intelliplug (I use fauxclock, so cant find the msm hotplug)
-Touch boost on
-Screen off frequency 787 mhz
-Hysterisis value : 8
-Profile : Ecoconservative
-Threshold value 350
2.Thermal Manager
-Intellithermal
-Frequency Throttle temp; 70
-Core throttle temp: 65
3.GPU manager
-Governor: msm-adreno-tz
-simple gpu algorithm
-gpu clock:320
-Simple governor (laziness); 5
-Ramp Threshold: 5
4. IO scheduler
-ROW (for both emmc and sd)
-Read ahead :1024
-Entropy: off
5.Memory Manager
-Zram: Off
-All the other options on
- Swappines:80
-VFS cache pressure : 120
-Dirty ratio:20
-background ratio:5
6.Same page merge
-Intelli ksm enable
-Activation treshold :24
-Cycles per activation 3
-Pages to scan:400
-Scan delay interval :500
7.Battery Control
-Throttling - On
-Temperature threshold :45
-Throttle frequency:787
8.Miscellaneous
- Powe suspend mode: Userspace
-powesuspend: On
-Dynamic file sync: on
-TCP congestion control:Westwood
*Sorry for an awfully long post *:silly:
Click to expand...
Click to collapse
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
luca020400 said:
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
Click to expand...
Click to collapse
The kernel just works fine with the trees I'm using ATM.
DC07 said:
The kernel just works fine with the trees I'm using ATM.
Click to expand...
Click to collapse
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Yeah... Thankssss
luca020400 said:
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Click to expand...
Click to collapse
Oh,I'll rebase it in the next build then.
Thanks for pointing it.
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
YEa I'm sure
When I tested lp kernel on kk media was broken
And new lp kernel is a way better
Eager to use it on latest Builds and requesting to add kexec support if possible
Sent from my XT1033{LP} using TAPATALK
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
For me, sometimes it works, but then other times won't.
In blisspop video works for a day...then well i moved to stock 4.4.4 for some testing and optimisation on it btw i'm on xt1068
Hello Guys,
After working off to a new base fixed everything in the new build.
Get it https://s.basketbuild.com/devs/DC07/Spirit/titan
Steps and feature list are on the OP.
Enjoy!!
Help
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
MotoGUser69 said:
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
Click to expand...
Click to collapse
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Anas Karbila said:
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Click to expand...
Click to collapse
Second gen
What
Sent from my Moto G 2014 using XDA Free mobile app
I did not think the new governors nor Min Freq: 96000
Is there anyway to disable the cpu being clocked at 19000 whenever I touch the screen? It's a feature of CM12, however is there anyway to disable this? I tried putting off mpDecision through Faux123 but it still goes to 19000 even with intelliplug and the user defined option. Any help appreciated!
Thanks,
iG0tB00ts
MotoGUser69 said:
Second gen
Click to expand...
Click to collapse
How the hell you have a Moto G 2nd Gen and flashed Franco Kernel? Franco Kernel is for 1st Gen. lol man you need new eyes, even glasses don't help in this case.
Sent from my Moto G 2014 using XDA Free mobile app
Hello and welcome! So I started this because I hated having to have a different app to change some of the kernel settings and having init.d scripts for each kernel was a hassle to me, plus some users were having trouble with so many options available so I created this for all those who like to flash & test different kernels like me. I just ported UKM n added a things i felt most of our kernels had. A huge Thanx to @apb_axel for the awesome work.
So how this works is on every boot the script verifies all the tunable it finds specific for the kernel you have at the moment and generates the necessary files so it can be read & displayed on Synapse. Don't feel bad if you don't see all the listed options, it's just your kernel doesn't have those available.
In time I will be adding more scripts so we can have most, if not ALL tunables I can cram into. Hope you like it!
So what you need:
Download Links:
BusyBox
Universal Kernel Manager R1
Synapse Google Play Link
UKM Uninstaller v2
To install:
Features:
Info
General
Model Number
Android Version
Kernel Version
ROM Description
ROM Version
ROM Build Date
SOC Binning
Last KMSG
Status
Battery Temperature
CPU Temperature
Memory
Uptime
Unused CPU States
Time in state for CPUs
Kernel Wakelocks
CPU
Live CPU Frequency
CPU Min Frequency
CPU Max Frequency
CPU Max Screen Off Frequency
CPU Multicore Power Saving
CPU Governor
CPU Governor Options
CPU Governor Tunables
Hotplug
MPDecision (Qualcomm)
Intelliplug (faux123)
ECO Mode
Snakecharmer
Intellithermal
MSM MPDecision (show-p1984)
Screen off Single Core
Min CPUs
Max CPUs
Idle Frequency
Event Boost
MSM Hotplug (myfluxi)
Min CPUs
Max CPUs
Max CPUs Boosted
Boost Lock Duration
Down Lock Duration
History Size
Update Rate
Fast Lane Load
Offline Load
Suspend Frequency
Auto Hotplug (Thalamus)
Disable Load Threshold
Enable Load Threshold
Enable All Load Threshold
Min Sampling Rate
Sampling Periods
Min Online CPUs
Max Online CPUs
Dynamic Hotplug (stratosk)
Minimum Online CPU
Maximum Online CPU
Up Threshold
Up Timer Control
Down Timer Control
Alucard Hotplug (Alucard)
Hotplug Enable
Sampling Rate
Max Cores Limit
Max Cores Limit Sleep
CPU Down Rate
CPU Up Rate
Hotplug Loads
Hotplug RQs
Hotplug Frequencies
Mako Hotplug (franciscofranco)
Cores on touch
First Level
Suspend Frequency
CPU Boost Driver
Boost
Sync Threshold
Input Boost ms
Input Boost Frequency
CPU Voltage
Global Voltage
Frequency Voltage
AK
Faux
Semaphore
I/O Control
Read-ahead Size
I/O Scheduler
General I/O Tunables
I/O Scheduler Tunables
GPU
Live GPU Frequency
GPU Max Frequency
GPU Governor
Simple Governor Tunables
Interactive Governor Tunables
Gamma
Faux Gamma Profiles
Faux Gamma Tunables
Franco Gamma Tunables
Motley Gamma Tunables
LCD Backlight Tunables
Sound
Faux Sound Profiles
Faux Sound Tunables
Franco Sound Tunables
Speaker
Faux Speaker Profiles
Faux Speaker Tunables
Memory
Z-RAM
Virtual Memory
Wake Control
Apply at init.d
DoubleTap2Wake
Touch Wake
Sweep2Wake
Sweep2Sleep
Power Key Suspend
Miscellaneous
TCP Congestion Control
Temperature Control
Temperature Limit Minimum Frequency
Power Suspend State
FSYNC
Dynamic FSYNC
Vibrator Strength
USB Fast Charge
OTG
Battery Life Extender
Touchscreen Accuracy Filter
LED Control
Advanced
C-States
Kernel Samepage Merging (KSM)
Ultra Kernel Samepage Merging (UKSM)
Gentle Fair Sleepers
Low Memory Killer
Build.Prop
Wifi Scan Interval
VM Heapsize
Allow Purgeable Assets
DNS Tweaks
Tools
Toggle Bootloader Lockstate
Toggle Bootloader Tamper Flag
Toggle SELinux Status his help in getting this started.
Preferred Network Mode
Kernel Image Managment (Backup, Restore)
Log Creation (logcat, dmesg, last_ksmg)
Reboot
Profiles
Changelog:
R1 :
Initial Release for Armani
Thanks:
@apb_axel - for this awesome project.
@ak - for his help in getting this started.
@AndreiLux - for his awesome app Synapse.
@osm0sis - for his ideas on the Galaxy Nexus.
@eng.stk - for his help on the support for Nexus 5.
GitHub is Here:
UKM
Any suggestions, bugs or others settings you need just let me know.
Code:
Please rate the thread and don't forget the THANKS button below! :D
original thread
XDA:DevDB Information
[ZIP] Synapse + Universal Kernel Manager R1, Tool/Utility for the Xiaomi Redmi 1S
Contributors
Tarun93, apb_axel
Source Code: http://forum.xda-developers.com/android/software/zip-synapse-script-universal-kernel-t2736986
Version Information
Status: Stable
Current Stable Version: R1
Stable Release Date: 2015-12-30
Created 2015-12-30
Last Updated 2016-02-18
Reserved
apb_axel said:
F.A.Q.
No UCI support detected? Check the following:
a) Does your ROM support init.d scripts?, IF it doesn't try this,
b) Check in /system/xbin if the uci file exists. IF it doesn't exists you can try reflashing the .zip or run the following in terminal emulator:
Code:
su
ln -s /data/UKM/uci /system/xbin/uci
c) Check the permissions of /system/xbin/uci AND /data/UKM/uci, it should be 755 or 777. IF it isn't you can try reflashing the .zip or run the following in terminal emulator:
Code:
su
chmod 755 /system/xbin/uci
chmod 755 /data/UKM/uci
d) Check the config.json file in /data/UKM/, if the file is blank you can try generating the file again with the following in terminal emulator:
Code:
su
uci reset
uci
IF NONE OF THE ABOVE WORKED FOR YOU send me a screenshot of your terminal emulator running the following command to determine your issue:
Code:
su
uci reset
uci
Some steps to fix most common issues when coming from another kernel and UKM is still installed: (thanks to gorillap)
Step 1 - go to settings>Apps>Synapse - force close - Clear data - ReOpen Synapse
If this doesn't work
Step2 - go to settings>Apps>Synapse - force close - Clear data - Uninstall Synapse. Reinstall Synapse in play store
If this doesn't work
Step3 - go to settings>Apps>Synapse - force close - Clear data - Uninstall Synapse. Delete Synapse folder. Reboot to recovery. Reflash kernel, Reflash UKM. Install Synapse
If this doesn't work, request support in thread.
To use UKM on Lollipop just do this: (Thanks to thereal_bigjake)
1) Flash Permissive boot.img (thanks to ramjet73).
2) Install SELinux Mode Changer and set to permissive.
3) Install Synapse and flash UKM v3.5 or higher (you need busybox installed also)
4) Run a terminal after boot and type su, then type \system\etc\init.d\UKM
5) Enter Synapse and profit.
To restore a profile: (Thanks to apb_axel)
1) Save the profile to the /sdcard/Synapse/saved_profiles folder.
2) Open Synapse, go to profiles tab and press the Restart Synapse button (to make to profile appear).
3) Open Synapse, go to profiles tab and select the profile, click the √ and select Restore Selected Profile.
4) At this moment Synapse will close automatically so give it a few seconds and it will open automatically again.
5) When it opens, click the X button on top, not the √.
6) Done.
Restrictions on config files: (thanks to apb_axel)
1) You can't import settings that don't exist on your current kernel (this is fairly obvious so no explanation needed).
2) Some settings that are not imported/exported for privacy concerns are: buildprop net.hostname, buildprop service.adb.tcp.port.
3) You can't import/export the SELinux status, either Enforcing or Permissive (I've read that some people had issues when restoring profiles that were based on a KitKat ROM and when it was restored on a Lollipop ROM it broke their root, they had to reinstall everything from scratch so I prefer to avoid this at all costs).
4) You can't import/export the Preferred Network Mode (again some people have complained that restoring a profile where their carries have different settings had their phone stopped working).
5) You can't import/export voltage settings (Not every CPU is build the same, so to avoid device shutdown do to low voltages this is disabled).
6) You can't import/export sound settings (This is more of a personal setting and doesn't affect battery/performance).
7) You can't import/export speaker settings (This is more of a personal setting and doesn't affect battery/performance).
8) You can't import/export gamma settings (This is more of a personal setting and doesn't affect battery/performance).
Want to integrate UKM into your ROM?: (thanks to kecinzer)
http://forum.xda-developers.com/showpost.php?p=58054064&postcount=2409
Click to expand...
Click to collapse
Hope that helps
Reserved
Great work
wow..hope this will be updated regularly..bytheway..im seeing two thread 1 title un android dev..why? and how to install this?
and O.T...
will there be carbon MM? can i test? same with aokp MM?
Great
Its working fine with gk r4.
Thanks Tarun ....
Fallen_Knight said:
wow..hope this will be updated regularly..bytheway..im seeing two thread 1 title un android dev..why? and how to install this?
and O.T...
will there be carbon MM? can i test? same with aokp MM?
Click to expand...
Click to collapse
see flash the ukm zip (second one in the list)
install synapse
njoy
about carbon mm its dead it will not come back to live soon so till then i will be handling aokp will release it soon :fingers-crossed: :highfive:
Wowww...working flawlessly..
This is the first time my redmi 1s hv d2w feature since i hv this phone... Thank u so much @Tarun93 for ur ported UKM.
To which version we can use this??
Lollipop or marshmallow??
"I AM BATVIC" WITH REDMI 1S
thanks ,great work
BATVIC said:
To which version we can use this??
Lollipop or marshmallow??
"I AM BATVIC" WITH REDMI 1S
Click to expand...
Click to collapse
It'll work in Kk/Mm/Lp/miui running custom kernel in Redmi 1s
Great ! :thumbup: never seen this much features in any other kernel manager app. Thanks for porting it to our device.
Good work @Tarun93 bro. using in Miui 7 works Great. :thumbup: :thumbup:
Sent from my HM 1S using xda premium
Great works Sir. Hope youll also update Carbon Rc7 please. Thank you
emojhoken said:
Great works Sir. Hope youll also update Carbon Rc7 please. Thank you
Click to expand...
Click to collapse
A request to all carbon kk fans
I M REALLY SORRY BUT I CANNOT RELEASE ANY MORE UPDATES TO ANY KK OR LP ROM ANY MORE
In fact I will be less active in deving as I have my studies(masters) and a job now. Will release a update once in a month may be in the first or last week of every month, both for gk n aokp
Tarun93 said:
A request to all carbon kk fans
I M REALLY SORRY BUT I CANNOT RELEASE ANY MORE UPDATES TO ANY KK OR LP ROM ANY MORE
In fact I will be less active in deving as I have my studies(masters) and a job now. Will release a update once in a month may be in the first or last week of every month, both for gk n aokp
Click to expand...
Click to collapse
No issues bro.!
U doing it that's more than enough..!
Regards,
Biplov ?
using this with GK Kernel R5 on miui, smooth as butter!
Thanks..... [emoji3]
Sent from my HM 1SW using Tapatalk
---------- Post added at 04:49 PM ---------- Previous post was at 04:46 PM ----------
Include it in your kernel bro
.. Don't want patches..alot of users seek convenient.. [emoji19]
Sent from my HM 1SW using Tapatalk
How to active wake lock???
Quite confused... how to configure
I have already flashed God's kernal R9 .... And really rocking on it such a Awesome antutu score around 30000 .... that is OK ...But how to install other requirements of this kernel (synapse + kernel manager ) ,, quite confused cuz ..... No installation method given n how to configure those models ..Need help
*Your warranty is now void
CyanKernel, Kernel for the Samsung Galaxy S 4
CM USERS DOWNLOAD (IT IS EXPERIMENTAL !!!!)
- Built from Samsung's latest I9500XXUHOL1 Lollipop Kernel Sources
- Linux kernel version update to 3.4.5
- Built with Uber 4.9
- 20 CPU Governors
- ExFAT, NTFS, NFS, CIF Support
- Gpu Overclock
- Gpu min/max Value Control
- Wolfson Sound Control
- Battery Charge Control
- Screen Control
- Led Control
- Disabled android logger as a default setting
- Cpu Voltaqe Control
- SELinux disabled. (Permissive)
- Cpu Underclock
- Cpu Core Number Control
- Gpu Voltaqe Control
- Touchscreen Control
- Touchkey Control
- Memory Interface Voltaqe Control
- PowerSuspend Driver Control
- Battery Scaling Calibration Option
- Synapse Support
I AM DEVELOPING THIS KERNEL FOR BETTER GAMING PERFORMANCE OR OTHER HEAVY PROCCESSES
DOWNLOAD
Instructions:
1- Install kernel toolkit app from store
2 - Place kernel zip to externalsd
3 - Reboot into recovery and flash the zip
4 - Wipe Dalvik, Cache, Preload before boot system
5 - Reboot and give 1 minute after rebooting phone for applying the new version's settings
6 - Open kernel toolkit and enjoy.
7- Done. Now you dont face any problem about it. You can tweak for your desire and usage.
If you dont do this steps correctly, you will face problem about your system and if dont follow this rules, your problems will be ignore.
If anything going wrong download (look at the attachment) and flash it. (2nd post)
XDA:DevDB Information
Project CyanKernel, Kernel for the Samsung Galaxy S 4
Contributors
emre3461
Kernel Special Features: -Custom governors. -Overclocked. -Built from Uber 4.9 -Stock Kernel Based
Version Information
Status: Stable
Current Stable Version: http://voltaqe.com/I
Created 2016-01-18
Last Updated 2016-01-27
thank for new kernel what is different with voltaqe kernel?
New Kernel. Good Lucky Bro!
For bootloop or errors flash this.
henry1550 said:
thank for new kernel what is different with voltaqe kernel?
Click to expand...
Click to collapse
for now no difference but i am working on it
Next Version Changelog v1.0.1
-Some governors will be added.
-Some bugfixes.
NOTE: v1.0 may cause soft brick on some devices don' use if you using another rom. If your device bricked or bootloop try flash stock kernel.
Edit: v1.0.1 is very stable no bootloops or softbricks.
I need testers. you can send pm for being testers.
Next Version will be based from Samsung Stock Kernel Source (XXUHOH7) (VoLTaqe source incompatible for me)
Updated
Changelog v1.0.1
-Compiled from Stock Kernel source.
-Fixed booting problem (ramdisk fixed).
Next Version some governors will be added.
DOWNLOAD:
https://drive.google.com/file/d/0B12z_fx7oOcOb215VjZadENTb2c/view?usp=docslist_api
UPDATED v1.0.2
Changelog:
-SELinux disabled. (permissive)
-intelliactive governor added. (default governor but you can change)
-some technical changes.
-AndroBooster governor compatibility. (booster app on google play https://play.google.com/store/apps/details?id=com.emre.androbooster )
DOWNLOAD
Next version:
-Some governors will be added.
-Performanca improvements. (GPU overlocking etc.)
emre3461 said:
Changelog:
-SELinux disabled. (permissive)
-intelliactive governor added. (default governor but you can change)
-some technical changes.
-AndroBooster governor compatibility. (booster app on google play https://play.google.com/store/apps/details?id=com.emre.androbooster )
DOWNLOAD
Next version:
-Some governors will be added.
-Performanca improvements. (GPU overlocking etc.)
Click to expand...
Click to collapse
great works bro one more option for our device, just a suggestion that you make a change log update right on the first post then update it there so it will be more convenient for people to see them later on
@emre3461 how would you compile a version for aosp?
My tips (optional):
Best source: https://github.com/GearCM/android_kernel_samsung_exynos5410
Best toolchain: http://sabermod.com/Toolchains (DEV ONLY)/arm/arm-linux-androideabi/
Best governor: https://github.com/zanezam/cpufreq-governor-zzmoove
treborbr said:
@emre3461 how would you compile a version for aosp?
My tips (optional):
Best source: https://github.com/GearCM/android_kernel_samsung_exynos5410
Best toolchain: http://sabermod.com/Toolchains (DEV ONLY)/arm/arm-linux-androideabi/
Best governor: https://github.com/zanezam/cpufreq-governor-zzmoove
Click to expand...
Click to collapse
May be i will compile for AOSP later because my s4 has IMEI problem and i can't use AOSP . i need service mode for connect network.
OTA Updates
I will write an OTA service for kernel soon. Updates will be checkabled from app. This will be a first for a kernel.
Warning
NOTE: if you are using stock based custom rom You HAVE TO DELETE from build.prop which have any DHA word.
emre3461 said:
Changelog:
-SELinux disabled. (permissive)
-intelliactive governor added. (default governor but you can change)
-some technical changes.
-AndroBooster governor compatibility. (booster app on google play https://play.google.com/store/apps/details?id=com.emre.androbooster )
DOWNLOAD
Next version:
-Some governors will be added.
-Performanca improvements. (GPU overlocking etc.)
Click to expand...
Click to collapse
Good work. Keep it up [emoji106]
UPDATED v1.0.3
Changelog
-18 New governor added.
-GPU Overclocked. (for better benchmark results and heavy gaming, don't afraid no overheating or no battery drain)
-Some fixes.
-Battery improvements. (use AndroEnergy on google play for better battery or powersave governor)
-CPU Overclocked. (Max frequence is 2GHz but it is dangerous don't use for now.)
-Kernel version in settings fixed.
I will release OTA Updater soon, i am preparing server for it. Stay tuned
Enjoy !
emre3461 said:
Changelog
-18 New governor added.
-GPU Overclocked. (for better benchmark results and heavy gaming, don't afraid no overheating or no battery drain)
-Some fixes.
-Battery improvements. (use AndroEnergy on google play for better battery or powersave governor)
-CPU Overclocked. (Max frequence is 2GHz but it is dangerous don't use for now.)
-Kernel version in settings fixed.
I will release OTA Updater soon, i am preparing server for it. Stay tuned
Enjoy !
Click to expand...
Click to collapse
Installed v2 and v3 now. v2 was pretty cool as simple as stock. v3 oc to 1700 and 100 lets monitor and will update you i am on ale95 v2, I am feeling better than voltage as thre is lot of hang and reboots, so pls make a clean one. dont just keep continously update. keep it tight with good few governers and battery life and ram managment nothing more or much.
itsme12345 said:
Installed v2 and v3 now. v2 was pretty cool as simple as stock. v3 oc to 1700 and 100 lets monitor and will update you i am on ale95 v2, I am feeling better than voltage as thre is lot of hang and reboots, so pls make a clean one. dont just keep continously update. keep it tight with good few governers and battery life and ram managment nothing more or much.
Click to expand...
Click to collapse
Okay, i will make clean kernel. I am using ale95 v2 with CyanKernel v1.0.3 . I didn't face any random reboot or hang. I am working for clean, powerfull kernel. I don't recommend use 2 GHz for now. Use powersave governor or reduce max freq. Can you suggest some useful governer for our device ?
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Features
I/O Schedulers (these were actually added in upstream kernel source)
BFQ
CFQ
DEADLINE
FIOPS
NOOP
ROW [DEFAULT]
ZEN
CPU hotplugs: intelli_plug (ENABLED BY DEFAULT)
CPU thermal control: intellithermal (ENABLED BY DEFAULT)
Governors
conservative
elementalX
intelliactive
interactive
ondemand
powersave
performance
zzmoove [DEFAULT, profile: 3 (ybatext)]
CPU
Support for Multi-Core Power Saving, reduce CPU usage (available in CPU tab of Kernel Adiutor).
Reduced CPU Average-Load drastically (Less CPU-Load=Cool Device=More Battery-Life).
Support userspace CPU voltage controlling
GPU
Support for Adreno Idler algorithm, reduce high GPU frequencies usage for better battery performance
Support for Simple GPU Algorithm
Memory
Support for Adaptive Low Memory Killer (ALMK) (kill any process that cause thrashing scenario)
Support for Kernel Samepage Merging (KSM).
Support for zRAM compression algorithm (updated to upstream Linux 4.8)
Support for LZ4HC (LZ4 high-compression rate) compression algorithm for zRAM
Other tweaks and optimizations
Init.d support
Support Faux Sound Control (use Faux Sound app to set audio gain profiles)
Optimized Integer SQRT. for upto 3x faster operation.
OVERCLOCKED CPU to 2,5GHz
Westwood TCP congestion algorithm (small boost on network speed)
Hacked swappiness up to 200 by using hacks from Samsung kernel sources (default swappiness is 130)
SELinux Permissive (for V4A and etc...)
Disabled some battery-hogging WAKELOCKS
Support zswap for better memory compression
XDA:DevDB Information
RZ Kernel for Sony Xperia Z1 (honami), Kernel for the Sony Xperia Z1
Contributors
remilia15, SuperLamic
Source Code: https://github.com/remilia15/android_kernel_sony_msm8974
Kernel Special Features:
Version Information
Status: Testing
Created 2018-04-04
Last Updated 2018-09-14
Download link: Drive
CHANGELOG
v1.0: Initial release
v1.5: Post #11
v2.0: Post #17
v2.5:
Post #48
Support for stock 14.6.A.1.368: Post #52
v3.0: Post #97
v4.0 [FINAL]: Post #147
Small notes
The kernel is tested on C6902/C6903/C6906 model. Not sure about other Z1 variants (don't confuse with Z1c). Testers are welcome
As written in the thread name, make sure you're on ROMs mentioned in the thread name. Please report if other ROMs work with this kernel
The kernel is based on @SuperLamic's msm8974 kernel source, and other features were cherry-picked from other sources as well. Original credits goes to them
For dt2w, tap 2 fingers at once on your touchscreen (as mentioned in Modified-kernel thread)
Reserved for future usage
Twrp included ?
Any plans for oreo version?
Is it possible to disable dt2w?
I remember way back it was usually done by modifying a file like
echo "1" > /sys/android_touch/ *some dt2w file*
iga64828 said:
Twrp included ?
Click to expand...
Click to collapse
Well, you have to install it separately through FlashTool
pokepokepoke said:
Any plans for oreo version?
Click to expand...
Click to collapse
Maybe, after Oreo gone stable
SUPERUSER said:
Is it possible to disable dt2w?
I remember way back it was usually done by modifying a file like
echo "1" > /sys/android_touch/ *some dt2w file*
Click to expand...
Click to collapse
You can disable it from Kernel Adiutor -> Wake -> DoubleTap2Wake
Or sysfs way:
Code:
echo 0 > /sys/class/input/input1/wakeup_gesture
Sent from my Xperia Z1 using XDA Labs
nice set of features,,,, gonna give it a test
remilia15 said:
The kernel is tested on C6902/C6903 model. Not sure about other Z1 variants (don't confuse with Z1c). Testers are welcome
As written in the thread name, make sure you're on LineageOS 14.1. I haven't tested other N ROMs yet. Please report if other ROMs work with this kernel
The kernel is based on @SuperLamic's msm8974 kernel source, and other features were cherry-picked from other sources. Original credits goes to them
For dt2w, tap 2 fingers at once on your touchscreen (as mentioned in Modified-kernel thread)
Click to expand...
Click to collapse
Bootloops on RR Nougat 7.1.2 (yeah yeah yeah, read the disclaimer on support for other ROMS, just curious to test this kernel). Strange but offline charging works as expected and even booting into TWRP works. But while in TWRP I notice the device temperature begins to rise rapidly, causing it to reboot,,,,,hope this works in future releases. Device: C6902
RZ v1.5 is up! Changes
Implemented power efficient workqueues (thanks to franciscofranco)
Disabled DT2W by default
Enabled multi-core power saving by default
Reverted GPU OC, obviously because it doesn't do anything
Built with UBERTC 4.9
Disabled battery-hogging wakelocks (thanks to franciscofranco)
Enabled intelli_plug and intellithermal by default (you'll need to disable mpdecision from Kernel Adiutor so intelli_plug will work properly)
RZ v1.5 is available on my Drive folder. Please checkout OP for download link!
Cheers,
Confirmed working with latest Carbon N ?
Sent from my Xperia Z1 using XDA Labs
Good work on my c6903 LOS 14.1 SuperLamic.
Nice work. It's working fine on my C6906 running LOS 14.1 from SuperLamic with Magisk installed and working fine too. My phone was charging too slow but now it's fixed.
Hello, remilia15.
Thank you for your work.
This kernel is flash like update.zip in trwp recovery?
Seand1796 said:
Hello, remilia15.
Thank you for your work.
This kernel is flash like update.zip in trwp recovery?
Click to expand...
Click to collapse
Yes, the kernel is packed inside a flashable ZIP, so just flash it through TWRP
RZ v2.0 is up! Changes
Added support for userspace voltage controller (available in Kernel Adiutor)
Added support for Adreno Idler (reduce high GPU frequencies usage due to msm-adreno-tz overhead), and Simple GPU algorithm
Added governors: zzmoove [DEFAULT], elementalX
Disabled mpdecision and thermanager by default (through my own ramdisk implementation, may support other ROMs for sure, as confirmed with Carbon N and LOS N)
Added support for zswap (ported from Samsung msm8974 kernel source)
Added IO schedulers: zen, fiops (default is still ROW)
Added 100MHz GPU step (should reduce battery consumption on light usage)
Added support for Dynamic Fsync (disabled by default), powersuspend driver (default: HYBRID mode)
Reduced CPU standby voltage
Fixed dt2w deep sleep state (it should function properly now)
RZ v2.0 is available on my Drive folder. Please checkout OP for download link!
remilia15 said:
RZ v2.0 is up! Changes
Added support for userspace voltage controller (available in Kernel Adiutor)
Added support for Adreno Idler (reduce high GPU frequencies usage due to msm-adreno-tz overhead), and Simple GPU algorithm
Added governors: zzmoove [DEFAULT], elementalX
Disabled mpdecision and thermanager by default (through my own ramdisk implementation, may support other ROMs for sure, as confirmed with Carbon N and LOS N)
Added support for zswap (ported from Samsung msm8974 kernel source)
Added IO schedulers: zen, fiops (default is still ROW)
Added 100MHz GPU step (should reduce battery consumption on light usage)
Added support for Dynamic Fsync (disabled by default), powersuspend driver (default: HYBRID mode)
Reduced CPU standby voltage
Fixed dt2w deep sleep state (it should function properly now)
RZ v2.0 is available on my Drive folder. Please checkout OP for download link!
Click to expand...
Click to collapse
Hi
thanks for your works buddy
can u make kernel for other roms like RR too?
u can use anykernel :fingers-crossed:
Luncer said:
Hi
thanks for your works buddy
can u make kernel for other roms like RR too?
u can use anykernel :fingers-crossed:
Click to expand...
Click to collapse
I'm using the very first version of AnyKernel with very minimal patching commands
Somehow it's pretty hard for me to adapt to a newer AK version so I decided to write my own noob-friendly ramdisk patching script instead (compatible with all Z1 AOSP boot.img)
My kernel boots currently on LOS N and Carbon N. For RR, idk why it bootloops. Probably need some other kernel commits maybe?
Sent from my Xperia Z1 using XDA Labs
Runs nice..but I needed to flash the stock kernel from superlamic lineage os and then flash this kernel because the phone went in to a bootloop on the sony logo.
Just a reminder to what to do when your next update is coming
edit: no its magisk thats acting up.. wont't boot when installing this after flashing the kernel
Phone is booting with magisk on stock kernel so something is not right.
I don't have more time atm for this so im gonna let it be
=BUTTERFLY KERNEL=
Your warranty is now void!
We're not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at us for messing up your device, we will laugh at you
Features:
Pie base: CAF & Prima Tag by LA.UM.7.6.r1-04500-89xx.0
Oreo base: CAF & Prima Tag by LA.UM.6.6.r1-11000-89xx.0
Legacy base: not updated pure sources from MiCode github
(prima tag LA.UM.7.6.r1-05500-89xx / LA.UM.6.6.r1-11300-89xx.0)
• KCAL color control
• Vibration intensity control
• Sound gain control
• Audio codec quality improved
• exFAT Support
• NTFS support
• F2FS support
• SquahFS support
• CIFS/SMB support
• Added CPU Hotplug (default disabled)
• Set lz4 for better zram work
• Boeffla wakelock blocker
• Added defaults rules for Boeffla wakelock blocker
• Disable vendor verify and set no verity
• CRC32: disable by default & enable toogle (average 30% I/O performance profit)
• Few patches from Franco kernel (disabled a lot of debugging stuff)
• Fsync: on/off support
• Battery deep optimisation: undervolting & additional tweaks
• Added Adreno Real Idler (supported turning it on/off)
• Improved interactive governor (patch from Franco kernel)
• Improved CPU boost, default is disabled (patch from Franco kernel)
• Improved conservative governor (patch from Franco kernel)
• I/O schedulers: noop, deadline, bfq, cfq (default), sio, fiops, maple, tripndroid, zen, anxiety, sioplus, fifo, v(r)
• Added CPU governors: darkness, zzmoove, relax, impulse, electron, nonconservative, lionheart, clarity, blu_active, yankactive, intelliactive, conservativex, ondemandx, interactivex, bioshock, darknessv5, alucard, smartmax_eps, pegasusq, lionfish, hyper, despair, barry_allen, xperience, alessa, chill, ondemandplus, ironactive, culvitation, tripndroid
• Added GPU governors: guardian, balanced, msm-adreno-plus
• TCP congestion algorithms: cubic, reno, westwood (default)
• Installer include fix for Wi-Fi SELinux permission
• Kernel installer also support custom ROMs
• GCam focus fix (thanks @teftel1608 and @33bca)
• GPU: clocks table reworked (lags free, performance grew). OC max gpu freq now is 725MHz
• Added WireGuard 0.0.20190601
• Fix for goodix-fp gestures on stock (thanks to @artyom5613 & @Broomber)
• Also in the v4 installer included fix fpc-fp gestures for the customs rom
now gestures for both fingerprints is are:
* swipe2right - paste text
* others like in rom's setting
(if you not like this - change it in the /system/usr/keylayout/uinput-*.kl)
• Memory & battery life optimization due config settings for kernel
• Added a block to wakelock from wifi
• I/O optimization
• Hide unlocked bootloader state (for apps like bank clients etc)
• Patches from Franco "mido" kernel for battery life improvement
• Added gpu Adreno simple algorithm (beast!!)
• Found a reason for which the CPU could for a long time not to raise the frequency to the maximum, it's all in the file /vendor/etc/thermal-engine.conf
See samples how to improve situation
• Compiled with GCC 9.1.0, which gave an increase in performance and speed of the kernel
• Reworked undervolting, battery lives even longer
• Added voltage control
• Maximum CPU frequency is now 2.4GHz
• EUOC version has a maximum GPU frequency of 750MHz
• added support for display status for CPU Hotplug & some schedulers
• all schedulers that have display status support:
alucard, chill, clarity, cultivation, darkness, electron, impulse, intelliactive, ironactive, nightmare, relaxed, anxiety-iosched and maple-iosched
• added drivers for few USB-Ethernet adapters
• added nightmare and dancedance CPU governors
• updated version with 2.2GHz overclocking
• removed the patch for hiding the bootloader state (there are more problems than good with it)
• new settings for a smooth interface in installer (applied for GSI only)
- DT2W fix for fts_ts [default disabled] (thanks @33bca) * tested on customs and GSIs. for latest maybe need to enable "Handwave gesture" in "Phh Treble Settings" > "Doze features" * #TODO
- Installer include Magisk preserve #TODO
<< download Pie v5.5 || download Pie v4.4 >>
<< download Oreo v5.5 || download Oreo v4.4 >>
undervolted (U) lower voltage for decrease overheat. also incredible battery saving
overclocked (OC) CPU max frequency is 2.4GHz, GPU max frequency is 725MHz
extra-overclocked (E) GPU max frequency is 750MHz (if you will face with graphical glitches - don't use it!)
Installations:
Backup boot.img, /system/lib/modules, /system/usr/keylayout and /vendor/lib/modules folders, /vendor/bin/init.qcom.post_boot.sh file if you want to go back
Flash Zip file with any TWRP recovery, wipe Dalvik cache, reboot and enjoy ^_^
Notice: if you have Magisk with modules installed maybe you'll get bootloop.
If you have Magisk don't need reinstall it after kernel because installer will save Magisk #TODO
Right way: if you have Magisk and modules - deinstall all. Then flash stock boot.img, then custom kernel, then other stuff like TWRP and Magisk.
Enough just dirty flashing kernel and then Magisk if you need it. All yours Magisk modules will preserved.
Issues:
- DT2W not work for fts_ts touchscreen
- tell me if find
XDA:DevDB Information
Butterfly kernel for Xiaomi Mi A2 Lite "daisy"
Contributors:
eremitein
Source Code:
https://github.com/eremitein/xiaomi_kernel_msm8953_daisy_butterfly
CREDITS:
All people, who made good code for this platform
Version Information
Status: Stable/Experimental
Release Date: 2019-04-15 (UTC +0)
Created: 2019-04-07
Last Updated: 2019-08-08
.
=VARIOUS POWER PROFILES=
[BATTERY DEEP BACKUP]
CPU governor: conservative
CPU max freq: 1804 MHz
GPU governor: msm-adreno-tz or guardian
Adreno idler: on
Tune Boeffla Wakelock Blocker: read this manual
CPU Hotplug: see attached screenshot
# Give ~10 minutes SOT per 1% battery while web browsing #
[NORMAL MODE]
CPU governor: ondemand / interactive
CPU max freq: set highest
GPU governor: msm-adreno-tz or balanced if lagzzs)
Adreno idler: on
CPU Hotplug: off
# Give ~8 minutes SOT per 1% battery while web browsing #
[PERFORMANCE MODE]
CPU governor: intelliactive, blue_active or nonconservative
CPU max freq: set highest
GPU governor: performance or msm-adreno-plus
Adreno idler: on
CPU boost: on
CPU boost freq: set to 1.84, 2.0 or 2.2GHz
CPU Hotplug: off
# Give ~5 minutes SOT per 1% battery while web browsing #
.
I will not help users if they are:
- using Magisk and moreover they installed modules;
- made any kernel settings (selected exotic governors, turned on hotplug and etc.);
- using option "Disable HW overlays";
- not sure that the same problems were not on the standard kernel
- not follow installation guide
All OC versions is always have CPU 2.2GHz
if not for you, then this is maybe if:
- you SoC/voltageregulator/phone doesn't support overclocking
- your device overheated due high outside temp or high load
- you system set restrictions to overclocking
.
Now im using CAF kernel with stock rom i want to flash butterfly what should i do delete CAF then install it??and for magisk delete all modul ?
hendri88 said:
Now im using CAF kernel with stock rom i want to flash butterfly what should i do delete CAF then install it??and for magisk delete all modul ?
Click to expand...
Click to collapse
yes, thats right
you may try dirty install but this is not a guarantee what system boot due to magisk specific
best way is remove all modules from magisk, remove magisk via flashing stock kernel and then boot to twrp and install butterfly
eremitein said:
yes, thats right
you may try dirty install but this is not a guarantee what system boot due to magisk specific
best way is remove all modules from magisk, remove magisk via flashing stock kernel and then boot to twrp and install butterfly
Click to expand...
Click to collapse
Ok i will try it thx bro
added power modes samples
https://forum.xda-developers.com/showpost.php?p=79288538&postcount=2
May I ask if this kernel could be modified so we can overclock? How exactly do we need to go about and do the modifications to the PLL tables? It'd be great if you could help out and make a tutorial or something.
Zewyni said:
May I ask if this kernel could be modified so we can overclock? How exactly do we need to go about and do the modifications to the PLL tables? It'd be great if you could help out and make a tutorial or something.
Click to expand...
Click to collapse
no, this build haven't overclock feature
Kernel updated (download v2)
Changelog v2:
Pie CAF & Prima updated to LA.UM.7.6.r1-04500-89xx.0
Improved interactive CPU governor (patch from Franco kernel)
Improved CPU boost and enable it (patch from Franco kernel)
Reworked conservative and nonconservative CPU governors
Reworked guardian, balanced and msm-adreno-plus GPU governors
Kernel installer now also support custom ROMs
Also have some changes in Power profiles
The touch sensetivity is somehow better with this kernel but I really miss dt2w... I'll be testing it for the week, hope you can fix dt2w! Thanks for your work on our device!
Eddie_53 said:
The touch sensetivity is somehow better with this kernel but I really miss dt2w... I'll be testing it for the week, hope you can fix dt2w! Thanks for your work on our device!
Click to expand...
Click to collapse
dt2w not supporting due missing stuff in official Xiaomi kernel sources
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/issues/1044
I can confirm that touch sensitivity is better on this Kernel. Gcam also runs smoother!
ExFAT support doesn't seem to be working though. I've tried to read an SD Card ExFAT formatted and it didn't work (corrupt error message).
eremitein said:
=VARIOUS POWER PROFILES=
[BATTERY DEEP BACKUP]
CPU governor: conservative
CPU max freq: 1689 MHz
GPU governor: guardian or msm-adreno-tz
Adreno idler: on
Tune Boeffla Wakelock Blocker:read this manual
CPU Hotplug: see attached screenshot
# Give 10-12 minutes SOT per 1% battery while web browsing #
[NORMAL MODE]
CPU governor: ondemand / interactive
CPU max freq: 2016 MHz
GPU governor: msm-adreno-tz or balanced if lagzzs)
Adreno idler: on
CPU Hotplug: off
# Give ~6 minutes SOT per 1% battery while web browsing #
[PERFORMANCE MODE]
CPU governor: nonconservative
CPU max freq: 2016 MHz
GPU governor: performance or msm-adreno-plus
Adreno idler: off
CPU Hotplug: off
# Give 4-5 minutes SOT per 1% battery while web browsing #
.
Click to expand...
Click to collapse
How to switch from one profile to another? I have kernel adiutor installed but there is no profile I the kernel section to select. Thanks to everyone answer and to the Dev for his work. Sorry for my English
Kr47os said:
How to switch from one profile to another? I have kernel adiutor installed but there is no profile I the kernel section to select. Thanks to everyone answer and to the Dev for his work. Sorry for my English
Click to expand...
Click to collapse
you may create various profiles in Kernel Aduitor
Tools > Profile
and which rom you using?
eremitein said:
you may create various profiles in Kernel Aduitor
Tools > Profile
and which rom you using?
Click to expand...
Click to collapse
I'm using stock ROM Pie 10.0.4 update version.
Kernel updates (see topic)
Changelog v2.99:
Added new builds:
- Oreo base CAF & Prima Tag by LA.UM.6.6.r1-11000-89xx.0
- Legacy base (not updated pure sources from MiCode github)
- Installer totally fixed for support wifi on custom roms
Oreo base is only for oreo vendors (9.6.x.0 versions)!!!
Why i built this and legacy variants?)
For compatibility. Because some people still using oreo stock or 8.1 vendor with GSI
BJumperBR said:
I can confirm that touch sensitivity is better on this Kernel. Gcam also runs smoother!
ExFAT support doesn't seem to be working though. I've tried to read an SD Card ExFAT formatted and it didn't work (corrupt error message).
Click to expand...
Click to collapse
for clean testing exFAT you need should be sure what ROM have support this FS
if with other kernel on your rom exfat work then, yeahh, something wrong with my kernel exfat
thanks for feedback)
eremitein said:
for clean testing exFAT you need should be sure what ROM have support this FS
if with other kernel on your rom exfat work then, yeahh, something wrong with my kernel exfat
thanks for feedback)
Click to expand...
Click to collapse
I'm on Stock ROM 10.0.4.0.
So, no exDAT support, right?
I am undecided whether to stay in oreo with this kernel or pie always switch to this kernel.
It is wrong to ask, instead of trying, but I don't have much time to test
No one with any feedback on the battery and stability?
(Noob question, what is it the difference of legacy kernel? )