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 would like to dedicate this project of mine to my friend @ak for all the help and patience he has, he truly is a great dev and we owe him for some of the best kernels available for the Nexus 4.
So how this works is on every boot the script verifies all the tunables 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!
Screenshots:
{
"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"
}
So what you need:
-Root (obviously)
-Working Busybox
-Your ROM has to support init.d scripts
-Synapse
Click to expand...
Click to collapse
Download Links:
BusyBox
Universal Kernel Manager v3.8.1
Synapse Google Play Link
UKM Uninstaller v2
To install:
-Reboot in recovery
-Flash the .zip (No cache/dalvik wipe necessary)
-Install Synapse
-You're done!
Click to expand...
Click to collapse
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
Preferred Network Mode
Kernel Image Managment (Backup, Restore)
Log Creation (logcat, dmesg, last_ksmg)
Reboot
Profiles
Changelog:
UKM v3.8.1
Lowered min CPU voltages
Fixed missing hotplug tunables
Fixed sqlite version mismatch
UKM v3.8
New Devices (Additional LG G3 variants, Samsung Galaxy S4, Samsung Galaxy S5)
Additional 10 rows for frequencies in time in state
Added msm_hsic_host wakelock tunable
Added new kcal tunables from savoca.
Improved preferred_network mode.
Fixed compatibility with certain devices.
Fixed permissions issue when flashing.
Minor bug fixes.
UKM v3.7
New UKM backup script.
New Devices (Moto G 2014, Samsung Galaxy S3, Sony Xperia Z Ultra).
Added new Wake toggles.
Added Simple GPU parameters for other devices.
Added Force Audit toggle in tools.
Added live Fauxsound version.
Added Software CRC Control toggle.
Added kcal_invert gamma toggle.
Moved Headphone PA Value to device files.
Fixed blu_plug display error.
Fixed device write error in several files.
UKM V3.6.1
Added back old CPU Boost Input Freq
Fixed drop caches null value
UKM v3.6
New Devices (Motorola Droid Ultra, Moto X 2013, Sony Xperia Z2).
Added initial support for Nexus 6 (shamu).
Alternate way of detecting device on startup.
New Config module for import/export of settings.
Support for gamma action in new Config module.
New Galaxy Nexus settings for gamma.
Moved MSM Limiter & CPU Boost to CPU tab.
New MSM Limiter tunables (individual CPU control).
New CPU Boost tunables (individual CPU control).
New Power-efficient Workqueues tunables.
Added Bricked Hotplug tunables.
Added LMK profiles.
Set permissions for UKM files on startup.
Additional permissions for UKM files on startup.
Increased Fauxsound max limit settings.
Changed vibrator titles in misc tab.
Added vibrator strength for wake controls.
Additional gamma profile for Nexus 5.
Added additional voltage control for Galaxy Nexus.
Fixed Kernel logger & Bootloader tunable.
Fixed empty value in global voltage.
Fixed error in GPU frequency list.
Fixed GPU Governor in hammerhead.
Fixed display error on device hostname.
Fixed Idle Freq error in Bricked Hotplug.
Fixed Sound Control for devices without Poweramp.
UKM v3.5
Fixed Sound Control Lock for certain devices.
Fixed write error when restoring gamma profiles.
Added Live Installation Check.
Added ability to change IO settings for all blocks.
Added tunable for dmesg kernel logging.
New Intelliplug hotplug tunables.
New MSM Hotplug tunables.
New & Fixed Alucard hotplug tunables.
New CPU Boost hotplug tunables.
New Intellithermal tunables.
New tunables to change individual CPU settings (Kernel Dependent).
New Gamma settings for Galaxy Nexus.
New vibrator settings for Galaxy Nexus.
Added check to see if GPU settings are present.
Code optimization in config.json.generate file.
New Devices! (Sony Xperia Z1, LG G3, HTC One M8, Moto G 2013, Moto G 4G 2013, Galaxy Nexus).
v3.4.3
Disabled DNS Tweaks for now
Excluded weights from IO Scheduler tunables
Added auto clear data when kernel changed detected (to prevent boot errors)
Additional permissions for init.d in recovery
Auto set permissions for LMK file on Android L
Updated SOC path, New Deferred Timer for KSM
Added Gamma control for OnePlus One
New tunables for updated ZRAM
Added sound control lock to Fauxsound
Moved thermal settings, New MSM MPDecision Hotplug tunables
New thermal section (New Intellithermal settings, New MSM Thermal settings)
Support for new devices (LG G2, HTC M7, Sony XPeria Z, Sony Xperia ZL)
Minor bug fixes
Fixed Intellithermal path
v3.3.2
Lowered CPU voltage step
Increased max sleep for KSM & UKSM
Added Optimize Databases tool
Added Drop Caches tunable (Clear VFS Caches)
Added Vibrator support for OPO
Added support for devices with auto PowerAmp
Added additional gamma profiles for N5
New Blu_Plug hotplug & updated AutoSMP tunables
Added support for LG Optimus G, LG G Pad 8.3 & Nexus 7 2012
Fixed derp on action for powersaver_mode (Blu_plug)
Fixed echo write error when setting CPU frequencies
Fixed derp on wildcard for gee variants
v3.2
Fixed Intelliplug 5.0 tunable errors
Fixed GPU voltages with uV values
Disabled toggle switch between s2s/s2d
Fixed write error invalid argument display message
Apply value of 1 to kcal_ctrl if it exists
Added back s2s, removed unnecessary notifiers
Added High Performance Mode sound tunable
Added descriptions for Memory & Advanced options
New Laptop Mode (Auto FS Writeback Delay Mode) tunable
v3.1
Fixed default headphone_pa_gain for Nexus 5.
Fixed voltage write error for certain kernels.
Fixed wake write error when applying profile.
Added support for OnePlus One device (bacon).
Added default screen for non-supported devices.
Added kcal (independent) & kcal_min tunables.
Added additional wake toggles (DoubleTap2Wake profiles, DoubleTap2Wake Feather, Sweep2Wake profiles, OPO touchpanel).
Added tool to Clear Synapse Data internally.
New AutoSMP, MSM Limiter & Intelliplug 5.0 hotplug tunables.
Minor bug fixes.
v3.0
New USB Fast Charge & BLX for N7
Added additional wake settings
Load default mako config if device not supported
Fixed device parameters for OnePlus One
Set new device specific parameters for GPU & Bin
Create dynamic device parameters for Bin Settings
Create dynamic device parameters for GPU Settings
Support for kernels with basic speaker settings
Fixed Franco hotplug, New AutoSMP hotplug
Fixed incorrect device detection for fauxsound
Fixed creation of Logs folder only when needed
Minor bug fixes
v2.9
Added new gamma profiles
Fixed headphone gain for Nexus 5
Fixed gamma profiles for Nexus 5
Fixed incorrect product device for Oneplus One
Misc bug fixes
v2.8
Fixed more config.json errors for Nexus 5
Added Default Custom Profiles (to avoid reset)
Added better permissions for init.d wake toggles
More Code optimization
Added support for Oneplus One (let's go @ak)
v2.7.2
Add new hotplug, misc & advanced tunables (thanks to @ak)
Few bug fixes
v2.7
Attempt to fix gamma invalid argument error
Several bug fixes
General code optimization
Added additional log mode
Added Power Suspend Mode
Added New Intelliplug tunables
v2.6
Fixed invalid argument error
Fixed config.json generate with duplicate GPU freq
Fixed several tunable parameters
Additional mount parameters for wake options
Merged CPU Gov tab with CPU tab
Added CPU Global Volt file to save values
v2.5
Fixed JSON configuration parsing failed for certain kernels.
Fixed Fast Charge Level & Touchscreen Accuracy.
Fixed init.d permissions & owner for Wake toggles.
Fixed N5 Power Key Suspend tunable.
Fixed Preferred Network Mode & Added Log Mode in tools.
Added N5 Franco Gamma Profiles, Fixed Permissions in gamma files.
Added Device Hostname & Wireless Port in build.prop.
Modified notifiers for better performance.
New Intelliplug Tunables.
New MSM Hotplug Tunables.
New MSM MPDecision Tunables.
Disabled CPU Frequency Display (for now).
v2.4
Fixed Wake Notifier bug.
Added Temp Threshold, New Faux Fast Charge.
Added GPU Min Freq.
Ability to set CPU settings for all Cores.
Increased CPU Frequency Poll (download the latest Synapse!).
Added Custom Gamma Profiles (Faux & Franco).
Added MSM Hotplug Load Levels, Fixed Fast Lane Load values.
v2.3
Integrated sqlite3
Fixed Interactive GPU (for good this time)
Added New Semaphore Tunables
Added Franco Hotplug Tunables
Added ability to apply wake options at init.d
Added UKSM Tunables
Added LED Control Tunables
v2.2
Fixed TWRP flash error
Fixed GPU Settings for supported devices
Fixed certain Hotplug settings not displaying
Fixed Live Wakelocks for devices without file
Added Interactive GPU tunables
Added Preferred Network Mode
v2.1
Lowered CPU & GPU refresh rate to display correct CPU & GPU frequency (tested with perfmon)
Fixed Restore Profiles (now checks .tgz first)
Fixed default CPU & GPU values in device config
Fixed incorrect devices parameters in live action
Added Power Suspend State (N5)
Fixed Franco Gamma, Added Franco Sound Tunables
v2.0
No longer N4 exclusive.
Re-coded entire script to support other devices (N4, N5 & N7 for now).
All commands are now called from internal busybox.
Optimized code (faster & less CPU usage).
Added Kernel Image Management (Backup, Restore & Delete).
Added Live Kernel Wakelocks.
v1.7
Integrated busybox for better support
Better way to fix permissions in CPU Frequencies
Fixed Faux Gamma Custom Profiles Link
Fixed Uptime, Unused, Time in State, CPU Freq & Bootloader displays
Fixed Bootloader Lock State. Added Tamper Flag & SELinux Toggles
Added Alucard & CPU Boost Hotplug
Added Allow Purgeable Assets (build.prop)
v1.6
Fix Conservative GPU governor error
Attempt to fix permissions in CPU Frequencies before opening app
Fixed MSM Hotplug display for HellsCore & HellsDoctor users
Added ability to name your backup in Profile
Added Semaphore Hotplug Tunables
Added New Tools Section (Bootloader Lock Status, Log Creation, etc.)
Added Franco Gamma Tunables, New Faux Gamma Profiles
Added Semaphore CPU Voltage Tunables
Added TouchScreen Accuracy Filter Tunables
v1.5
Better UCI support on certain ROMS
Fixed default CPU scaling & New CPU multicore tunable
Fixed display issue in live unused & time in states
More build.prop tweaks, New DNS tweaks
More MSM Hotplug & New Auto Hotplug Tunables
Added LCD Backlight
Added Temperature Limit Minimum Frequency
v1.4
Fixed permission issues in files
Added Fahrenheit Temps, CPU time in state
Added build.prop tweaks
Added Intellithermal Settings
Fixed ondemand sampling_rate_min error
v.1.3
Fixed interactive boostpulse error
Added Global CPU Offset Voltages
Added Faux Sound Settings
Added Live Status
v1.2
Added Faux Gamma Profiles & Tunables
Added Faux Speaker Profiles & Tunables
v.1.1
Fixed CPU live label
Added Profile Settings (For backup & restore)
v1.0
Initial Release
Click to expand...
Click to collapse
Thanks:
@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
Supported devices:
Nexus 4
Nexus 5
Nexus 6
Nexus 7 (2012 & 2013)
Galaxy Nexus
OnePlus One
LG G2
LG G3
LG G Pad 8.3
LG Optimus G
HTC M7
HTC One M8
Moto Droid Ultra
Moto G 2013
Moto G 4G 2013
Moto G 2014
Moto X 2013
Samsung Galaxy S3
Samsung Galaxy S4
Samsung Galaxy S5
Sony XPeria Z
Sony Xperia ZL
Sony Xperia Z1
Sony Xperia Z2
Sony Xperia Z Ultra
Click to expand...
Click to collapse
Tested kernels:
Should work on any kernel, but my personal tested kernels & confirmed by other users are the following:
Nexus 4:
AK
Faux
Matr1x
HellsCore
HellsDoctor
Semaphore
moob
dimfish
Aufa
Zulfa
Furnace
Nexus 5:
Code Blue
Uber
ElementalX
Nexus 7:
AK
OnePlus One:
AK
Click to expand...
Click to collapse
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:
su
ln -s /data/N4UKM/uci /system/xbin/uci
Click to expand...
Click to collapse
c) Check the permissions of /system/xbin/uci AND /data/N4UKM/uci, it should be 755 or 777. IF it isn't you can try reflashing the .zip or run the following in terminal emulator:
su
chmod 755 /system/xbin/uci
chmod 755 /data/N4UKM/uci
Click to expand...
Click to collapse
d) Check the config.json file in /data/N4UKM/, if the file is blank you can try generating the file again with the following in terminal emulator:
su
uci reset
uci
Click to expand...
Click to collapse
IF NONE OF THE ABOVE WORKED FOR YOU send me a screenshot of your terminal emulator running the following command to determine your issue:
su
uci reset
uci
Click to expand...
Click to collapse
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
I cannot get cpu settings to show... Btw awsome work hpe to see it get even better
Edit: oops i am on stock rom so i cannot use this, realised just now ... Is there any way to add init.d support to stock ROM?
Sent from my Nexus 4 using Tapatalk
chewu.pg said:
I cannot get cpu settings to show... Btw awsome work hpe to see it get even better
Edit: oops i am on stock rom so i cannot use this, realised just now ... Is there any way to add init.d support to stock ROM?
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
There is an app that can help you get init.d support to stock ROM, try it out and let me know if it works: http://forum.xda-developers.com/showthread.php?t=1933849
The .zip works fine on PSXv4.0.4 & ak Exodus 227
Enviado desde mi Nexus 4 mediante Tapatalk
Good work.
Glad to see that you took full advantage of the capabilities of the app. Also very happy to see that you took advantage of the notifiers for the global voltage slider in exactly the way that I intended them, although that I would have done the behaviour a bit different, but that's a choice of preference.
Let me know on Github on any wishes/comments/feedback.
Ideally in the future I was planning to do a sister-app which does a configuration-injection much like you do, but for global device compatibility, and self-contained. Sadly it's a lot of work and needs to be maintained, hope I can do it by this summer. Goal is to basically annihilate other apps such as Trickster and all other custom kernel configs apps.
apb_axel said:
There is an app that can help you get init.d support to stock ROM, try it out and let me know if it works: http://forum.xda-developers.com/showthread.php?t=1933849
Click to expand...
Click to collapse
Worked!! Thank you so much, its so awsome and first thing i did after, is uninstall trickster... still need to keep fauxclock for color presets but i hope it will come to this app the time passes... Also noticed that synapse boot failed toast massage, so will try restarting few times to see if set on boot works
Sent from my Nexus 4 using Tapatalk
AndreiLux said:
Good work.
Glad to see that you took full advantage of the capabilities of the app. Also very happy to see that you took advantage of the notifiers for the global voltage slider in exactly the way that I intended them, although that I would have done the behaviour a bit different, but that's a choice of preference.
Let me know on Github on any wishes/comments/feedback.
Ideally in the future I was planning to do a sister-app which does a configuration-injection much like you do, but for global device compatibility, and self-contained. Sadly it's a lot of work and needs to be maintained, hope I can do it by this summer. Goal is to basically annihilate other apps such as Trickster and all other custom kernel configs apps.
Click to expand...
Click to collapse
Thanks for the kind words! That sister-app sounds awesome if you need anything just let me know.
chewu.pg said:
Worked!! Thank you so much, its so awsome and first thing i did after, is uninstall trickster... still need to keep fauxclock for color presets but i hope it will come to this app the time passes... Also noticed that synapse boot failed toast massage, so will try restarting few times to see if set on boot works
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
I'm glad it worked for you. That synapse boot failed happens mainly the first time you boot up, it should go away on another reboot and let it set the auto settings or just apply any settings to dismiss it.
Now I see Backup & restore page is lose for me
Ultraspeedy n⁴ powered by PSX v4.0.4 & AK EXODUS v227
Kaotiko77 said:
Now I see Backup & restore page is lose for me
Ultraspeedy n⁴ powered by PSX v4.0.4 & AK EXODUS v227
Click to expand...
Click to collapse
To backup & restore profiles? I'll add it to my to-list.
apb_axel said:
To backup & restore profiles? I'll add it to my to-list.
Click to expand...
Click to collapse
Thanks and very good and hard job
Ultraspeedy n⁴ powered by PSX v4.0.4 & AK EXODUS v227
Tried it, and it works! Thanks for this app! (FYI: I had to reboot 2x to get it working.)
EotT said:
Tried it, and it works! Thanks for this app! (FYI: I had to reboot 2x to get it working.)
Click to expand...
Click to collapse
Yeah it happened to me once in my testing, couldn't reproduce it so i though it was a fluke. I'll take another look just in case.
It's not really a problem. At first, I was a bit disappointed, because I thought it didn't work. I'm glad I was mistaken.
Damn geart job man! Cannot wait for volume settings. Then I can get rid of trickstermod and have 1 app instead.
Konstantinos said:
Damn geart job man! Cannot wait for volume settings. Then I can get rid of trickstermod and have 1 app instead.
Click to expand...
Click to collapse
Yeah sound settings are coming! First I will release gamma then definitely sound.
apb_axel said:
Yeah sound settings are coming! First I will release gamma then definitely sound.
Click to expand...
Click to collapse
Thanks! You rock.
On a side note, on "ROM Description"(First tab) it says PARANOID3, but I use PARANOID4.(PA 4.3 Beta 1) Who cares about this, but I'm just saying.
Hi @apb_axel, thanks for your work
I have a little issue after flashing your script. Core 0 stays at high speed ( 1.5 Ghz ) and doesn't fall to lower frequency ( 162 in my case ), even if hotplug is enabled. I'm using Ondemand with the latest AK kernel.
EDIT : After a while I had this, see the screenshot.
Konstantinos said:
Thanks! You rock.
On a side note, on "ROM Description"(First tab) it says PARANOID3, but I use PARANOID4.(PA 4.3 Beta 1) Who cares about this, but I'm just saying.
Click to expand...
Click to collapse
The folks of paranoid android probably didn't update the build.prop file in the ROM, run this in terminal emulator and see what you get:
Code:
su
getprop ro.build.host
hello friends, today i want to share this GENIUS script+app, created by @apb_axel, with everybody in the Z section.
NOTE: THIS IS NOT MY WORK, ALL CREDIT'S GOES TO @apb_axel
So how this works is on every boot the script verifies all the tunables 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.
Click to expand...
Click to collapse
So, what you need:
-Root (obviously)
-Working Busybox
-Your ROM has to support init.d scripts
-Synapse
Click to expand...
Click to collapse
Download links:
BusyBox
Universal Kernel Manager v3.6.1
Synapse Google Play link
UKM Uninstaller
To install:
-Reboot in recovery
-Flash the .zip (No cache/dalvik wipe necessary)
-Install Synapse
-You're done!
Click to expand...
Click to collapse
Features: (warning: big list)
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
Preferred Network Mode
Kernel Image Managment (Backup, Restore)
Log Creation (logcat, dmesg, last_ksmg)
Reboot
Profiles
That's a huge list, isnt it?
And there's a quite huge list of supported device's too!
For more information's, changelog's, eventual bug reports, FAQ's, screenshot's, and to hit @apb_axel's THANKS BUTTON:
check the original thread over HERE
This thread is just for sharing, this is NOT my work. QUESTION'S or BUG REPORTS wil NOT be answered, as i am only a happy user of @apb_axel's script+app
Have a nice day and check his thread if u like to cheers!
Thanks Bro
Vishalkris said:
Thanks Bro
Click to expand...
Click to collapse
Is it working with 5.0 ?
streetu said:
Is it working with 5.0 ?
Click to expand...
Click to collapse
Not on all ROMs just few for xperia Z
Work fine existenz 3.5.5
This is my guide for my personal kernel settings for Gabriel Kernel. I call them the 'Autobots' configurations. They should also work on other kernels if the settings are there. My settings are based on getting best battery life possible with minimal lag. I have added a couple of performance setups too.
I hope these settings are useful.
See the bottom of this post for build.prop tweaks and my lower autobrightness MOD. Hopefully all of these together help boost your phones battery life!
Apply the AllSpark 'base' settings as well as a name specific config. The base settings are always used but do not include CPU or Governor tweaks, those are in the named settings, Bumblebee, Ratchet, Ironhide, Jazz or Jetfire
See these great guides for Governors and Schedulers credit to gsstudios for the work!
Flashable init.d scripts for profiles/settings
Autobots Download Folder
AllSpark settings (Apply these first)
CPU
Max Freq - 1728mhz
Min Freq - 300mhz
Multicore Power Saving - Disabled (Tries to group processes into less cores if enabled, could save battery but I’m not convinced)
CPU Boost Interval - 0ms (Length of time boost is enabled, Negligible battery effect at low figures)
Sync Threshold - 1036mhz (Boosted to this freq on sync tasks, lower for better battery, but mid range is best)
Input Interval - 0ms (Length of time boost is enabled, Negligible battery effect at low figures)
Input Boost Freq - 1036mhz (Boosted to this freq on input detection, lower for better battery, but mid range is best)
CPU Voltage - Global -65 (lower for battery saving but too low will cause freezing and reboots)
CPU Hotplug - intelliplug (hotplug controls so many things, try different ones to see which is best for you)
Balanced Profile (better battery with conservative profile but will limit amount of cores used whcih can cause lag)
Touch Boost - Disabled
Hysteresis Value - 12 (the greater the value the more lag but also better battery)
Threshold Value - 722 (??)
CPU Max Screen Off Freq - 300mhz (limits the speed of CPU when screen is off, lower for battery, higher for gamers)
Thermal - Intellithermal - All stock values (thermald controls cpu temperatures)
GPU Governor - Simple ondemand
Max Freq - 578mhz
Laziness - 6 (lower for performance, higher for battery)
Ramp Threshold - 4 (lower for battery, higher for performance)
I/O Scheduler - sio
Read ahead - 2048
Screen settings
Red - 250
Green - 252
Blue - 255
Screen Value - 120
Screen Contrast - 125
Low memory Killer - Very aggressive
Virtual Memory (These do lots of things but I have tweaked for best performance and battery)
dirty ratio - 90
dirty background ratio - 80
dirty expire centisecs - 1000
dirty writeback centisecs - 2000
min free kbytes - 4096
overcommit ratio - 50
swappiness - 60
vfs cache pressure - 10
laptop mode - 0
ZRAM - 300 (Compressed RAM which uses less space)
Power Suspend Mode - Userspace/Hybrid (still testing)
TCP Congestion Algorithm - Westwood (Or Cubic if desired) (These need testing for your personal preference as different networks and locations will work better with different algorithms)
BumblebeeV3 - zzmove (Good Battery, Good Performance)
Base settings plus:-
Governor - zzmoove (Profile Number 5 zzbatp)
Governor Tunables Changes;-
freq_limit_sleep - 268mhz (limits phone sleep freq - lower for better battery, higher for gamers etc)
sampling rate - 100000 (this is how often you want kernel to look at the cpu usage, higher it is less often it looks but more lag - raise for battery but keep an eye out for lag)
smooth up - 75 (higher for battery saving but watch for lag)
smooth up sleep - 100 (higher for battery saving)
up threshold - 85 (higher for battery saving but watch for lag)
up threshold sleep - 100 (higher for battery saving)
RatchetV1 - conservative (Great Battery, Less fluid then Bumblebee)
Base settings plus:-
CPU
Max Freq - 2265mhz
Governor - Conservative
Governor Tunables Changes;-
Down threshold - 80 (% of cpu usage that scales down freq - lower it is the faster cpu will throttle down but be careful)
Freq step - 10 (% of cpu freq that throttles up or down by - bigger it is the faster cpu will throttle up or down)
Ignor nice load - 1 (Too complicated to explain but 0 is off and 1 is on and saves battery)
Sampling down factor - 5 (Works with sampling rate, divides sampling rate b this amount under stress. higher for performance, lower for battery saving, but can cause lag)
Sampling rate - standard (this is how often you want kernel to look at the cpu usage, higher it is less often it looks but more lag - raise for battery but keep an eye out for lag)
Up threshold - 90 (higher for battery saving but watch for lag)
IronhideV1 - ondemand (Very Good Battery, Good Performance)
Base settings plus:-
Governor - OnDemand
Governor Tunables Changes;-
down differential - 10
down differential multi core - 10
high grid load - 46
high grid step - 14
ignor nice load - 1
middle grid load - 37
middle grid step - 7
optimal freq - 300mhz
optimal max freq - 1036mhz
sampling down factor - 5
sampling rate - 120000
sync freq - 1036mhz
up threshold - 95
up threshold any cpu load - 95
up threshold multi core - 95
IronhideV2 - intellidemand (Very Good Battery, Good Performance)
Base settings plus:-
i/o scheduler - fiops
governor - intellidemand
Governor Tunables Changes;-
down differential - 10
enable cpu boost - 1
freq step - 10
ignor nice load - 0
input event min freq - 960000,960000,960000,960000
io is busy - 1
optimal_freq - 1267200
sampling_down_factor - 1
sampling_early_factor - 20
sampling_interim_factor - 3
sampling_rate - 80000
smart_each_off - 0
smart_high_slow_up_dur - 5
smart_high_slow_up_freq - 1574400
smart_slow_up_dur - 2
smart_slow_up_freq - 960000
smart_slow_up_load - 90
smart_up - 0
step_up_early_hispeed - 1190400
step_up_interim_hispeed - 1728000
sync_freq - 1036800
two_phase_freq - 1267200,1267200,1267200,1267200
ui_sampling_rate - 40000
ui_timeout - 80
up_threshold - 95
up_threshold_any_cpu_load - 85
up_threshold_multi_core - 85
JetfireV1 - interactive (Performance with battery)
Base settings plus:-
Max CPU freq - 1728mhz
i/o scheduler - noop
Governor - interactive
Governor Tunables Changes;-
above_hispeed_delay - 20000 1400000:40000 1700000:20000
boost - 0
boostpulse_duration - 800000
go_hispeed_load - 95
hispeed_freq - 652800
io_is_busy - 1
min_sample_time - 5000
sampling_down_factor - 100000
sync_freq - 1036800
target_loads - 85 900000:90 1200000:70
timer_rate - 80000
interactive/timer_slack - 20000
up_threshold_any_cpu_freq - 1190400
up_threshold_any_cpu_load - 60
HotrodV1 - nightmare (Performance with Good battery)
Base settings plus:-
Max CPU freq - 1958mhz
i/o scheduler - fiops
Governor - nightmare
Governor Tunables Changes;-
dec_cpu_load - 60
freq_for_responsiveness - 1267200
freq_for_responsiveness_max - 1574400
freq_step - 10
freq_step_at_min_freq - 5
freq_step_dec - 10
freq_step_dec_at_max_freq - 10
freq_up_brake - 50
freq_up_brake_at_min_freq - 70
inc_cpu_load - 90
inc_cpu_load_at_min_freq - 70
io_is_busy - 1
sampling_rate - 80000
JazzV1 - lionheart (Good Battery, More performance)
Base settings plus:-
CPU
Max Freq - 2457mhz
Governor - Lionheart
Governor Tunables Changes;-
Down threshold - 80
Freq step - 10
Ignor nice load - 1
Sampling down factor - 4
Sampling rate - 100000
Up threshold - 95
Optimus Prime (Best All-rounder)
Coming later
Build.prop Tweaks
Flash this zip in recovery. It will add some things to your build.prop that should help battery life a little. This MOD should work on any ROM as long as you are rooted.
Build.prop Tweaks V1
Lower AutoBrightness MOD
Thread Link
NOTE!
Always remember that everyone's usage is different. Even where you live and the strength of your phone signal, not to mention any other phone settings you might have play a drastic part in how long your phone battery will last.
I use my settings alongside @BuLLeT_93 GPU MOD (Not resolution MOD) Credit to him to for his settings as they helped me with mine. Check out his tweaks in Gabriel thread if you want to try another great config.
Ironhide +1 [emoji4]
Sent from my LG-D855 using Tapatalk
jojobans said:
Ironhide +1 [emoji4]
Sent from my LG-D855 using Tapatalk
Click to expand...
Click to collapse
In testing as of tomorrow. Hopefully it'll be good enough. Not sure yet.
Sent from my LG-D855 using Tapatalk
I don't think it's good idea to have cpu max on screen off so low... screen off doesn't mean it's idling.
Great settings, thanks very much! I tweaked it a bit, I'm going to test it and I will let you guys know how it goes then I will share my settings.
Thanks for sharing!
it's good idea to have cpu max on screen off so low.
MidnightDevil said:
I don't think it's good idea to have cpu max on screen off so low... screen off doesn't mean it's idling.
Click to expand...
Click to collapse
It's never been a problem for me though to be fair it depends what your usage is. These are just my settings. I get a full days usage with 6 hours screen on time with Ratchet and 4 hours on average with Bumblebee.
Sent from my LG-D855 using Tapatalk
please, are you very gentle to say me with what software do you set these and if you can help to do a backup settings and share for me that are novice user for this mod? thanks
---------- Post added at 06:33 AM ---------- Previous post was at 06:30 AM ----------
horsetastic said:
This is my guide for my personal kernel settings for Gabriel Kernel. They should also work on other kernels if the settings are there. My settings are based on getting best battery life possible with minimal lag.
I hope these settings are useful.
Apply the base settings as well as a specific config. The base settings are always used but do not include CPU or Governor tweaks, those are in the named settings, Bumblebee, Ratchet and Ironhide
Base settings (Apply these first)
ecc. ecc. ecc......
Coming soon
Click to expand...
Click to collapse
please, are you very gentle to say me with what software do you set these and if you can help to do a backup settings and share for me that are novice user for this mod? thanks
myabc said:
please, are you very gentle to say me with what software do you set these and if you can help to do a backup settings and share for me that are novice user for this mod? thanks
Click to expand...
Click to collapse
You can adjust these settings with kernel audiutor. Make different profiles and you can swith between the different configurations.
Gesendet von meinem LG-D855 mit Tapatalk
myabc said:
please, are you very gentle to say me with what software do you set these and if you can help to do a backup settings and share for me that are novice user for this mod? thanks
---------- Post added at 06:33 AM ---------- Previous post was at 06:30 AM ----------
please, are you very gentle to say me with what software do you set these and if you can help to do a backup settings and share for me that are novice user for this mod? thanks
Click to expand...
Click to collapse
What @mrzodiac said
Sent from my LG-D855 using Tapatalk
Hi
Your v2 was a bit laggy, I test your v3 yesterday and it was smooth and great.
Today i apply your new Bumblebee setting(first post of thread) so far so good. Thanks for sharing your information
Gabril kernel on cloudy 2.4
viking_vp3 said:
Hi
Your v2 was a bit laggy, I test your v3 yesterday and it was smooth and great.
Today i apply your new Bumblebee setting(first post of thread) so far so good. Thanks for sharing your information
Gabril kernel on cloudy 2.4
Click to expand...
Click to collapse
No worries. I'm more then happy to share. Doesn't make sense finding out some good settings and not sharing them with others.
My testings for new Ironhide settings is going well so far. It's so snappy but so far pretty decent battery life. It's based on ondemand. My old favourite.
Sent from my LG-D855 using Tapatalk
I need some help with hotplug setting. What exactly do you mean by that:
"CPU Hotplug Either stock zzmove hotplug with both disabled or Intelliplug (both are great)"
On kernel auditor I get an MPDecision toggle and Intelliplug toggle.
And also we have a Gabriel kernel app installed on our devices. What do we have to choose exactly cause I am a bit confused with this setting.
Sent from my LG-D855 using Tapatalk
djkostas20 said:
I need some help with hotplug setting. What exactly do you mean by that:
"CPU Hotplug Either stock zzmove hotplug with both disabled or Intelliplug (both are great)"
On kernel auditor I get an MPDecision toggle and Intelliplug toggle.
And also we have a Gabriel kernel app installed on our devices. What do we have to choose exactly cause I am a bit confused with this setting.
Sent from my LG-D855 using Tapatalk
Click to expand...
Click to collapse
With Gabriel Kernel there is an app installed along side the kernel call Gabriel Control. I you have that app installed then you have the version which uses zzmove hotplug as default hotplug. So if you want zzmove you disable both mp and intelli and if you don't want zzmove hotplug you need to disable it in Gabriel Control app. Hope this makes sense.
horsetastic said:
With Gabriel Kernel there is an app installed along side the kernel call Gabriel Control. I you have that app installed then you have the version which uses zzmove hotplug as default hotplug. So if you want zzmove you disable both mp and intelli and if you don't want zzmove hotplug you need to disable it in Gabriel Control app. Hope this makes sense.
Click to expand...
Click to collapse
In Gabriel's kernel app I get three choices. 1) Disable... 2) 2 cores max 3) 3 cores max. What do I choose to have your setting. If I choose disable, then MPDecision toggles on, in kernel auditor and I toggle it off, and toggle on intelliplug.
djkostas20 said:
In Gabriel's kernel app I get three choices. 1) Disable... 2) 2 cores max 3) 3 cores max. What do I choose to have your setting. If I choose disable, then MPDecision toggles on, in kernel auditor and I toggle it off, and toggle on intelliplug.
Click to expand...
Click to collapse
I use zzmove hotplug and disable the others but if not then use intelliplug. I don't touch Gabrial Control app and leave zzmove hotplug as it is.
I have updated OP with new Ironhide config. It's still in testing but I thought why not share it as it is right now. It might well change though.
Im using Ratchet settings
for six hours now
5 hours, wifi on, screen off - stayed steady on 100%
great
1 hour of SOT of browsing in chrome - goes down to 90%
fabulous
only downside i noticed that when multiwindowed youtube and chrome
its get pretty hot pretty fast
CrownC said:
Im using Ratchet settings
for six hours now
5 hours, wifi on, screen off - stayed steady on 100%
great
1 hour of SOT of browsing in chrome - goes down to 90%
fabulous
only downside i noticed that when multiwindowed youtube and chrome
its get pretty hot pretty fast
Click to expand...
Click to collapse
This could be down to thermal, as I don't need to touch this for myself. Try tweaking that a little. Glad you're finding it's working well so far though