Related
If you like PimpMyCpu, you can donate by buying "PimpMyCpu" on the Market!
If you want your device/kernel to be supported, you can find informations here so you can ask your favorite kernel developer to take a look
If you have a compatible kernel, please send me a link to the kernel so i can list it here
PimpMyCpu is an application to manage your device cpu frequency, voltage, governor and scheduler based on profiles and rules. PimpMyCpu can now also load profiles per application !
Requirement:
root and busybox (you probably already have that)
A compatible kernel, currently available for Galaxy S (i9000), LG Optimus 2x/g2x, G-Tab, Samsung G3, Asus Transformer, and maybe more...
Usage:
The application consist of 3 views : the "profiles list" view, the "profile edit" view and the "per application" profiles view
The profiles list view : This is the main view you see when launching the application. This view list all the profiles you created plus the "Current" configuration.
Touch the "Application" icon to go to the per application profiles view
Touch the "Add" button to create a new profile based on your default cpu configuration.
Touch the "Delete" button to delete a profile.
Touch the "Edit" button to go to the "profile edit" and change the profile configuration.
Touch the "Profile rules" box to apply a profile when the selected rule is meet (see "Profiles rules").
Check the "Enable PimpMyCpu at boot" to apply the current profiles configuration when your device start.
The profile edit view : this view is used when you edit a profile.
Touch the "Profile" item to change the profile name.
Touch the "Governor" item to change the governor to be used.
Touch the "Scheduler" item to change the scheduler to be used.
Touch a cpu icon to set the selected frequency as maximum or minimum frequency.
Touch a frequency to change the voltage.
The per application view : this view is used to assign a profile to an application
Touch an application to set a profile (or disable a profile)
Touch the "Search" icon to only show applications with a profile assigned
Touch the "Application" icon to go back to the profiles list view
Profiles rules:
For a profile to be active, you need to set a rule (classed here by priority) :
Disabled : the profile is never used
Test : the profile is used until next reboot or by manually disabling the profile. This rule will override any other rule and should be used every time you create and/or modify a profile.
Screen Off : the profile is used when screen goes off. This rule will override any other rule except the "Test" rule. This means that if you enable a "Screen off" and an "Powered" profile for example, the "Screen off" profile will override the "Powered" profile when (and only when) screen is off.
Powered : the profile is used when the device is powered (via AC or USB). This rule will override (when the device is powered) any other rule except "Test" and "Screen off" rules (see previous lines...)
Battery Level : the profile is used when the battery run lower than specified. This rule will be overridden by "Test", "Screen off" and "Powered" rules (see previous lines...)
Default : the default profile. This rule will be used when no other of the previous rules apply (or no other rules are enabled).
Applications profiles:
When a profile is assigned to an application, THIS PROFILE BYBASS ALL OTHER PROFILES.
Problems:
If you do not test a profile but apply a rule to it (another than the "Test" rule of course), since the profile will be loaded as soon as the rule is meet your device may crash due to a massive overclock or undervolt and result in the impossibility to boot your device anymore. You'll have to remove PimpMyCpu via CWM manager for exemple.
Changelog
1.0 : Initial release
1.1 : Added new tab with scheduler selection
1.2 : Added governor selection (this version should restore stock settings on first launch, including removing boot settings, and rebuild its configuration so you can use the new options. If you have any problem, "Reset" manually to default settings, uninstall previous version then install this update).
1.3 :
Fixed "superuser not available" error while it is
UnderVolting dialog now has the current setting selected by default
Complete code rewrite, need some testing
Preliminary Optimus 2X support (compatible kernel to come soon)
Be sure to reset previous applied settings and uninstall older version before installing this one !
1.4 :
Now almost 100% compatible with the LG Optimus 2x device (with the use of my modified kernel), only "Save as boot" isn't available for now but will come very soon.
Added a "Stress Cpu" test.
1.5 :
100% compatible with the LG Optimus 2x device, including "Save as boot"
"Stress Cpu" test now loop trought all the enabled cpu values to test each of them for 30 secondes, and show cpu temp on Optimus 2x (if someone know the file to check on GalaxyS to get cpu temp, i do not have it anymore).
Added "Save Profile" option to the menu, your current configuration can be saved to sdcard ( "/sdcard/PimpMyCpu/device/*" ) or overwrite a previous saved configuration.
Added "Load Profile" option to the menu so you can restore a previous saved configuration.
Added "Delete Profile" option to the menu so you can delete a previously saved configuration.
1.6 :
Fix a bug in "Cpu Stress" test preventing the cpu speed to change.
1.7 :
Fix a force close on profile load/save (it's better if i create the directory before trying to save to it ).
1.8 :
Fix a bug in "Save as boot", it was a fail if the profile had spaces.
Allow undervolt to -250 mV instead -200mV.
1.9 :
Probably fixed "Cpu Stress" test on Galaxy S.
2.0 :
Added a little widget to quickly switch between saved profiles
2.1 :
Compatible with new Optimus 2X kernel ( 2x-kernel-2.6.32.9-fakeShmoo-cpasjuste.4.zip )
Optimus 2x users : YOU HAVE to update your kernel to use this version.
2.2 :
Added back compatibility with older kernels, including EternityProject Optimus2X kernel until all kernels are properly updated to the standard cpufreq sysfs devices name.
2.3 :
Changed the way settings are read/applied. Pimp My Cpu usage should be smoother now.
Added a "Force minimal freq when sleeping" option to the "More" tab, this will force your actual minimal cpu speed to be activated when screen off / device sleep. This require a reboot for changes to be applied.
2.4 :
Fix a little bug in the "Force minimal freq when sleeping" option, on wake up (screen on) the maximum cpu frequency restored was the maximum boot frequency (generaly 1000Mhz) instead of the current maximum frequency enabled on the current profile.
2.5 :
Now "Reset" button also remove "Force minimal freq when sleeping" settings.
Fixed a bug in "Force minimal freq when sleeping" settings, the option could be checked even if the setting wasn't active.
Better internal command handling, should again improve smoothness.
Now save/load profile according to the kernel version instead of device, this prevent wrong profiles to be loaded if the new kernel support new frequency steps.
Disabled "Governor" setting on Tegra devices since the cpu scaling is done by the tegra driver itself.
2.6 :
Probably fixed a bug when using an old kernel
2.7 :
Fixed a delay between effective frequency and displayed frequency in cpu stress test
Added an option to select the timing for frequency change in cpu stress test (menu button)
Probably fixed scheduler error on GTAB ( http://forum.xda-developers.com/showthread.php?t=895825 )
2.8 :
Allow the application to work even if no governor was found.
2.9 :
Fix a bug in governor selection
3.0 :
Fix "Save as boot" permission on some devices
4.0 :
Complete code and ui rewrite
Better profile management
Added SQL database for profiles management
No "init.d" support needed for "set as boot" option anymore
Removed profile change on screen on/off, android kernel handle that correctly, and this was wasting memory as a service (source: stackoverflow.com)
Removed old "FakeShmoo" kernel support (with obsolete devices name)
Removed "Cpu Stress Test" since it was not accurate for daily usage, better use specific applications
Allow screen orientation changes
Added support for stock tegra 2 kernel (without oc/uv)
Probably more and waiting for reports ...
BE SURE TO RESET YOUR DEVICE CPU SPEED CONFIGURATION (UNINSTALL PIMP MY CPU AND REBOOT) BEFORE UPGRADING TO 4.0
TO GET CORRECT DEFAULT VALUES (ELSE DEFAULT VALUES WILL BE YOUR LAST OC VALUES).
4.1 :
Fix a bug when changing kernel if a profile is set at boot (restore default kernel value instead apply profile)
4.2 :
Added power management service, you must now enable profiles to be used for (in priority order) :
"Screen Off" : will override any other settings, this means that if you enable a "screen off" AND an "AC/USB powered" profile for example, the "screen off" profile will override the "AC/USB powered" profile when screen is off.
"AC/USB Powered" : will override (when the device is powered) any other setting except "screen off" (see previous lines...)
"Battery Level" : will be applied when the battery run lower than specified (overridden by "Screen Off" and "AC/USB Powered" settings)
"Default" : The default profile, will be used at BOOT and when no other of the previous rules apply (or no other rules are enabled) and it's your "main" profile. If no default profile is set, "Stock" profile will be loaded.
Now using a service (less than 3MB memory usage and very few cpu call's)
Sort profile list alphabetically
Fix a bug with Galaxy i9000 runnin FuguMod kernel
Fix default profile creation/restore when changing kernel (was only working if boot was enabled)
Again sorry but many changes were made so BE SURE TO RESET YOUR DEVICE CPU SPEED CONFIGURATION (UNINSTALL PIMP MY CPU AND REBOOT) BEFORE UPGRADING TO GET CORRECT DEFAULT VALUES (ELSE DEFAULT VALUES WILL BE YOUR LAST OC VALUES).
4.2.1 :
fix a problem on some device where PimpMyCpu profiles where not applied due to the presence of an old init.d script ("/system/etc/init.d/S_volt_scheduler")
4.3 :
No root needed anymore for profiles change, so no more "su" toast messages (root still needed for the application to work)
Prevent "crash boot loop", if PimpMyCpu service crash (device crash) in the first 15 secondes (from service start or application start), all profiles will be disabled at next reboot
Add a "Test" profile management, a profile set as "Test" will override all other profiles, but will be only enabled until next reboot (or if manually disabled). Used to test a profile stability
Interface redesigned to have more room for profiles list
Add admob ad on free version
4.4 :
Improve service code, profiles "should" now correctly be loaded and stay (hopefully)
Add tray icon and persistent notification to show current profile and to be sure PimpMyCpu service is running
Add per application profile : assign a profile that will be loaded when an application start, restore default values on exit !
Minor UI changes
4.4.1 :
Fix "Set at boot": CheckBox was not checked when application start when it should be
4.4.2 :
Finally fix an old bug: profile where not applied correctly on some device if profile minimum frequency was higher than current maximum frequency !
5.0 :
Add "SiyahKernel" OC/UV compatibility (used in AbyssNote for GNote, SiyahKernel for Galaxy S2 and more)
Allow disabling notifications in preferences
Improve service stability by setting "OOM" to -17
Minor UI changes
Download "PimpMyCpu" on the Market!
oh that's cool that this app gets some support, thanks!
why can't SGS go beyond 1.3ghz, while htc desire hd can go to 1.8ghz?
Very nice!!
Currently, there is no scheduler options available. And this app does not allow you to set to 1.3ghz on its own. Having said that, xan's Voltage Control can do that. At this moment it goes hand in hand with xan's app.
I use xan's app to set scheduler and Max CPU speed, and use your app to set the voltage. Sure beats using the slider.
Note: I use xan's app to check if the voltage is applied. Looks like it did. Thank you.
Sent from my GT-I9000
g00ndu said:
Very nice!!
Currently, there is no scheduler options available. And this app does not allow you to set to 1.3ghz on its own. Having said that, xan's Voltage Control can do that. At this moment it goes hand in hand with xan's app.
I use xan's app to set scheduler and Max CPU speed, and use your app to set the voltage. Sure beats using the slider.
Note: I use xan's app to check if the voltage is applied. Looks like it did. Thank you.
Sent from my GT-I9000
Click to expand...
Click to collapse
I did upload a new version which allow scheduler selection.
Also for your problem setting max freq to 1.3ghz, i do not encounter this problem, i think you maybe missed something. If you long click (hold) on the 1300mhz item, you'll see the menu with "Set as Max"/"Set as Min". Select "Set as Max" then either "Apply for now" or "Save as boot settings". This work here !
retskrad said:
why can't SGS go beyond 1.3ghz, while htc desire hd can go to 1.8ghz?
Click to expand...
Click to collapse
They use completely different processors... Why should they overclock similarly?
Maybe it needs 1.8ghz to run sense properly
New version :
Version 1.2 : Added governor selection (this version should restore stock settings on first launch, including removing boot settings, and rebuild its configuration so you can use the new options. If you have any problem, "Reset" manually to default settings, uninstall previous version then install this update).
Cpasjuste said:
I did upload a new version which allow scheduler selection.
Also for your problem setting max freq to 1.3ghz, i do not encounter this problem, i think you maybe missed something. If you long click (hold) on the 1300mhz item, you'll see the menu with "Set as Max"/"Set as Min". Select "Set as Max" then either "Apply for now" or "Save as boot settings". This work here !
Click to expand...
Click to collapse
My bad, didn't know about the long press. my apologies...
Sent from my GT-I9000
Does it work on Samsung Vibrant ? I got it installed but when I ran it, I got an error "Superuser is not Available" ???? (I got the latest superuser and the program was accepted by superuser)
nbhnohome said:
Does it work on Samsung Vibrant ? I got it installed but when I ran it, I got an error "Superuser is not Available" ???? (I got the latest superuser and the program was accepted by superuser)
Click to expand...
Click to collapse
If your kernel doesn't support Over/Underclocking I think you get the same message.
nbhnohome said:
Does it work on Samsung Vibrant ? I got it installed but when I ran it, I got an error "Superuser is not Available" ???? (I got the latest superuser and the program was accepted by superuser)
Click to expand...
Click to collapse
You should not get this message, is it possible for you to provide me a logcat output ?
If I may suggest a new feature - when you pop up the menu to select a new UV, could you have the current setting highlighted?
Loving it so far!
Cpasjuste said:
You should not get this message, is it possible for you to provide me a logcat output ?
Click to expand...
Click to collapse
Well, i did found the problem, i'll update a fixed version very soon.
Spirit02 said:
If I may suggest a new feature - when you pop up the menu to select a new UV, could you have the current setting highlighted?
Loving it so far!
Click to expand...
Click to collapse
I'll do that !
Hey mate, which scheduler do you recommend?
Sent from my GT-I9000 using Tapatalk
Lazy Rich said:
Hey mate, which scheduler do you recommend?
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
I have not idea at all
Cpasjuste said:
I have not idea at all
Click to expand...
Click to collapse
That's okay. Your app is much easier to tweak than xan's voltage control sliders. Thanks again for this.
How low have people been able to go with still having a stable system on uv on cm7-sgs?
New version, please give some feedback, thanks a lot
1.3 :
Fixed "superuser not available" error while it is
UnderVolting dialog now has the current setting selected by default
Complete code rewrite, need some testing
Preliminary Optimus 2X support (compatible kernel to come soon)
Be sure to reset previous applied settings and uninstall older version before installing this one !
Cpasjuste said:
Well, i did found the problem, i'll update a fixed version very soon.
Click to expand...
Click to collapse
Thank you. You're great
Performance Control is A CPU Control application bundled with AOKP (created by xoomdev).
I started modding and adding features to this application, with @educk, few months ago and now we decided to create a dedicated thread.
Functions:
Change CPU Governor, I/O Scheduler and Clock Speed
Battery information + Fast Charge setting + Battery Life eXtender setting
Change Voltages Assigned to each CPU frequency
Customize MinFree Task Killer (set the amount of RAM the minfree taskiller will keep), Not Killable Processes feature
Customize SD read-ahead
VM Settings such as: Dirty Ratio, Dirty Backgroud ratio, Dirty expire centisecs, Dirty writeback centrisecs, Minfree kbytes, Overcommit ratio, Swappiness and VFS Cache pressure, Dynamic Fsync, Backlight timeout, Backlight on touchscreen, Phantom Key Presses Filter
Integrated CPU Spy
Linux Kernel informations, CPU Informations, Memory Informations
Disk Informations
Tools: Custom shell command, Wipe cache+dalvik cache, Flash kernel or recovery (img files), Clean residual files, Optimize DBs
... and more
Depending on the kernel used, some application features will not be accessible, like: Voltage settings, Battery Life eXtender, etc
Requirements:
Root
Busybox
CM or other AOSP like ROM based on 4.0+
APP is Licensed under GPL v3.
TIPS:
- You can open system battery informations by clicking on voltage value in Battery tab
- You can increase or decrease voltages by 25mV steps in Voltage Settings tab using menu
- You can change fast between flashing kernel or recovery using menu
- Switch fast between tabs using menu > Tabs
XDA:DevDB Information
PerformanceControl, Tool/Utility for all devices (see above for details)
Contributors
h0rn3t, educk, Rhonin86,Laurentyu1995,LeroViten,Evisceration,Stefano187,cyaniris
Version Information
Status: Stable
Current Stable Version: 2.2.3
Stable Release Date: 2014-05-09
Created 2013-09-14
Last Updated 2014-07-04
Changelog
v2.2.5 [07.09.2014]
added the possibility to reorder tabs (menu > app settings > set tabs visibility - long press to reorder items)
updated spanish translation thanks to @DaniPhii
updated romanian translation
v2.2.4 [26.07.2014]
added backup/restore settings (menu > app settings)
all core status are displayed now on cpu settings tab
fixed issue with kernel/recovery backup custom names
updated russian translation thanks to @LeroViten
v2.2.3 [04.07.2014]
check for su & busybox at startup just once and when the rom is changed
updated russian translation thanks to @LeroViten
added support for GT-I9082 thanks to @TripRex
Old changelog:
v2.2.2 [30.06.2014]
added kernel/recovery backup option
Download: http://forum.xda-developers.com/showpost.php?p=53804588&postcount=675
v2.2.0 [29.06.2014]
enable/disable MSM HOTPLUG - added by @F4k
added Battery Calibration - menu battery tab
fast charge notification is now clearable
v2.1.19 [20.05.2014]
added LiveOC support (not tested) - CPU Advanced TAB
changed boot toasts with notificaton
changed app icon
added option to restore settings from init.d script (some settings may be overwrited by system) - App Settings menu
v2.1.18 [09.05.2014]
fixed UI issue for some devices
fixed min/max freq issue for some devices
added support for S4 mini f4ktion kernel ( thanks to @F4k )
updated german translation thanks to @DF1E
updated russian translation thanks to @LeroViten
v2.1.17 [04.05.2014]
fixed issue with voltage tables in microvolts
v2.1.16 [03.05.2014]
Update Russian Translation thanks to @LeroViten
Updated Spanish translation thanks to @Garcia98
Added Nexus 5 (thanks to @educk) and Xperia U (thanks to @Garcia98) on supported devices list for kernel/recovery flash
Some small improvments and issues fixed
v2.1.15 [26.04.2014]
add support for krait undervolting (CPU Advanced Tab)
add support for Performance Profile
Any change of cpu freq. or governor will update Performance Profile default values (no need to reopen app. )
v2.1.14 [18.04.2014]
added support for voltage table located at: /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
fixed some issues with multicore devices
v2.1.13 [12.04.2014]
fixed sysctl editor issue
rewrite KSM/UKSM for compatibility with UKSM variants
added posibility to override sd path (menu > app settings)
added cpu information (cpu settings > menu)
added memory usage (memory tab > menu)
remove info tab
added some settings in cpu advanced tab
v2.1.10 [07.02.2014]
added IO Settings (menu CPU Tab)
added WIFI PM (Advanced Tab)
added Multicore PowerSaving (CPU Advanced Tab)
fixed zram display bug on multicore
some UI changes
update translations (thanks to @Rhonin86, @Stefano187, @DaniPhii, @LeroViten)
v2.1.9 [24.01.2014]
Added builtin automatic check for updates and posibility for download using Download Manager (menu > app settings)
Zram disk size display in Mb and percents
Started support multicore (new tab available CPU Advanced: mpdecision, intelliplug, ecomode, screen off max frequency, screen off min frequency- more will be added)
Tips: Tap on current frequecy to change cpu. LongTap to force cpu online/offline
Fixed some FC ( many thanks to: @dabl8, @Darian71, @houssam10001 )
v2.1.9 BETA 2 [05.01.2014]
You must uninstall previous version before installing the new one
Fixed compatibility with KK
Added logcat and dmesg dump (Tools Tab)
Added touchscreen control: s2w, h2w, etc (Advanced Tab)
Fixed zram
v2.1.8 [05.11.2013]
Fixed VM Settings & SysCtl Editor bug ( values not saved )
Added ondemandplus governor as settable
Added Spanish translation ( thanks to @DaniPhii )
v2.1.7 [03.11.2013]
Added SysCtl Editor - Tools Tab
Reworked VM Settings based on sysctl - it is necessary to reenter vm values
Added Simplified Chinese translation (thanks to @cyaniris )
Auto reload application after change tab visibility
v2.1.6 [26.10.2013]
Added Vibration Control - Advanced Tab
Added Extended VM Settings - Advanced Tab (remove VM Tab)
Support for Ultra KSM
Show / Hide Tabs feature in Meniu > App Settings
v2.1.5 [20.10.2013]
Added zRAM settings in Memory Tab
- thanks to @educk to achieve the kernel with zram support -
- tested only with zram module builtin kernel -
Added BuildProp Editor in Tools Tab
v2.1.4 [27.09.2013]
Fixed Dynamic Frequency Scaling issue (tested by @etch04)
v2.1.3 [26.09.2013]
added freeze / defrost packages (use menu to change between system and user packages)
added governor settings (not available for all governors)
move VM settings in a new tab
added Dynamic frequency scaling (not tested) http://forum.xda-developers.com/showthread.php?t=2308040
added italian translation thanks to @Stefano187
remove /data/PerformanceControl file
v2.1.2.1 [14.09.2013]
FC fixed when KSM not supported by system
v2.1.2 [13.09.2013]
Added KSM Settings in Memory TAB
Added more devices (for kernel and recovery flash) https://github.com/horn3t/android_packages_apps_PerformanceControl/blob/jb2/res/raw/devices.xml
v2.1.1 [06.09.2013]
Fixed loads of Force Closes on various devices
Added the possibility to individually delete residual files
Updated German Translations (thanks to Rhonin86)
Added Russian Translations (thanks to LeroViten)
v2.1.0 [29.08.2013]
Additional information's on DiskInfo tab (tap on each partition)
Added the ability to flash kernels/recoveries from ZIP too. (It doesn't have to contain META-INF)
Added the list of files from "Clean residual files"
v2.0.9 [24.08.2013]
Fixed Force Closes when setting TaskKiller values
v2.0.8 [22.08.2013]
New DiskInfo TAB - display the total and free space of: /system. /data, /cache, /sdcard, /ext-sd partitions
Added Optimize Databases (SQLite Vacuum) - Tools Tab
Change Fix Permission script for better compatibility with CM-10.2
Added Tab Menu (manage all tabs from one window -> accessible through the Menu key)
Added German and Romanian translations (thanks to Rhonin86 and Laurentyu1995)
Minor Bug Fixes
UI Improvements
v2.0.7 [16.08.2013]
Added recovery and kernel flash support for Samsung Galaxy S II and Samsung Galaxy S III
Added "Fix Permission" option (as it is removed from newer CWM recoveries)
Added "Clean Residual Files" option
Minor fixes
I can't find download link ?
Sent from my GT-I9082 using XDA Premium 4 mobile app
keshow said:
I can't find download link ?
Sent from my GT-I9082 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
On top of thread you will see a black menu.
I beg you, Sir, make hiding chosen tabs in options, please!
pupakota said:
I beg you, Sir, make hiding chosen tabs in options, please!
Click to expand...
Click to collapse
Today I will release a new version. So, hide tabs option will be included in the next version.
Great news, tell me, is possible to make divided settings for i/o for internal and external storage?
I may sound weird, but are we sure ,that i/o seetings set by perfctrl are really set for everything at once?
And one more idea..more VM switches, like /proc/sys/vm/dirty_bytes , /proc/sys/vm/laptop_mode, /proc/sys/vm/min_free_order_shift , /proc/sys/vm/page-cluster, and so on?
Would it be hard to add such switches?
pupakota said:
Great news, tell me, is possible to make divided settings for i/o for internal and external storage?
I may sound weird, but are we sure ,that i/o seetings set by perfctrl are really set for everything at once?
And one more idea..more VM switches, like /proc/sys/vm/dirty_bytes , /proc/sys/vm/laptop_mode, /proc/sys/vm/min_free_order_shift , /proc/sys/vm/page-cluster, and so on?
Would it be hard to add such switches?
Click to expand...
Click to collapse
You can test with other similar applications and see if are really set.
In the new version you have builprop editor, so you can set other vm parameters.
@h0rn3t this app has all those feature which i need but i cant set the cpu freq. ,, the freq slider set itself to maximum level ,, the minimum and maximum slider set itself to maximum level after exiting the app,,, dont know its a bug or only with me,,, but i can set freq with set cpu properly
Mohanshbhr said:
@h0rn3t this app has all those feature which i need but i cant set the cpu freq. ,, the freq slider set itself to maximum level ,, the minimum and maximum slider set itself to maximum level after exiting the app,,, dont know its a bug or only with me,,, but i can set freq with set cpu properly
Click to expand...
Click to collapse
What rom and kernel do you use?
h0rn3t said:
What rom and kernel do you use?
Click to expand...
Click to collapse
stock samsung tw rom with stock kernel (rooted, unsecured, init.d)... its i can set cpu freq sliders properly with set cpu,,, i was thinking its happening due to conflict with setcpu so i flashed new rom and reinstalled this appwithout any tweaks to test but the result was same,, as soon as i exit app after setting sliders it set itself to maximum level,,, on more thing in time in sate phone goes to deep sleep and freq is also at minimum level most of time,, dont know why only slider goes to maximum level....
Mohanshbhr said:
stock samsung tw rom with stock kernel (rooted, unsecured, init.d)... its i can set cpu freq sliders properly with set cpu,,, i was thinking its happening due to conflict with setcpu so i flashed new rom and reinstalled this appwithout any tweaks to test but the result was same,, as soon as i exit app after setting sliders it set itself to maximum level,,, on more thing in time in sate phone goes to deep sleep and freq is also at minimum level most of time,, dont know why only slider goes to maximum level....
Click to expand...
Click to collapse
Look on OP at Requirements.
Do you have a multicpu device? In this case mpdecision reset the frequencies.
Hi
Can anyone help. I don't see any download link in OP posting.
Thanks
smohanv said:
Hi
Can anyone help. I don't see any download link in OP posting.
Thanks
Click to expand...
Click to collapse
Look at the black menu !!!!
http://forum.xda-developers.com/devdb/project/?id=600#downloads
Superb Work...
Always wanted one..!!!
Hi,
i'm actually testing [ROM][KK][4.4.2][KOT49H] ★★★ BEAN KAT v.5 + [Kernel] CM 11 - 4.4.2 - [ION+PMEM] Khan Kernel v1.1 on my Galaxy Wonder.
I tried to change some settings via performance control 2.18 but some values in build.prop, vm, i/o scheduler are not applied.
I dont know if this issues are rom, kernel or performance control related, but in the signature of some sgs+ developers i saw that they are actually using performance control 2.19b.
Maybe the issues are going to be fixed in the next version.
Cheers
tycoo said:
Hi,
i'm actually testing [ROM][KK][4.4.2][KOT49H] ★★★ BEAN KAT v.5 + [Kernel] CM 11 - 4.4.2 - [ION+PMEM] Khan Kernel v1.1 on my Galaxy Wonder.
I tried to change some settings via performance control 2.18 but some values in build.prop, vm, i/o scheduler are not applied.
I dont know if this issues are rom, kernel or performance control related, but in the signature of some sgs+ developers i saw that they are actually using performance control 2.19b.
Maybe the issues are going to be fixed in the next version.
Cheers
Click to expand...
Click to collapse
Yes, there were some incompatibilities with KK. If you want to test and report, here is a new beta version: View attachment 2493900
You must uninstall previous version before install new one.
h0rn3t said:
Yes, there were some incompatibilities with KK. If you want to test and report, here is a new beta version: View attachment 2493900
You must uninstall previous version before install new one.
Click to expand...
Click to collapse
Thx a lot!
I tested it and want to report that i dont see anymore problems atm.
I successfully changed and applied following settings:
- cpu frequencies, governor, scheduler, set on boot
- Battery Life eXtender value, set on boot
- minfree memory settings, LowMemoryKiller management of not killable processes, ksm - enable/disable on boot, zram - start/stop - change size value - set on boot
- dynamic fscync - enable/disable on boot
- vm settings - changed swappines & vfs_cache_pressure - set on boot
- disk info - sdcard 1 + 2 is shown again
- build.prop - changed ro.config.low_ram from false to true and back
Great work!
Cheers
tycoo said:
Thx a lot!
I tested it and want to report that i dont see anymore problems atm.
I successfully changed and applied following settings:
- cpu frequencies, governor, scheduler, set on boot
- Battery Life eXtender value, set on boot
- minfree memory settings, LowMemoryKiller management of not killable processes, ksm - enable/disable on boot, zram - start/stop - change size value - set on boot
- dynamic fscync - enable/disable on boot
- vm settings - changed swappines & vfs_cache_pressure - set on boot
- disk info - sdcard 1 + 2 is shown again
- build.prop - changed ro.config.low_ram from false to true and back
Great work!
Cheers
Click to expand...
Click to collapse
Thank you for testing & reporting!:good:
2.1.9 Beta 2
Fixed compatibility with KK
Added logcat and dmesg dump (Tools Tab)
Added touchscreen control: s2w, h2w, etc (Advanced Tab) - not tested, need feedback !
Fixed zram
[KERNEL] [ROOT] [SM-N920P Exynos 7420] [19 February] SkyHigh TW 5.1.1 Kernel [ v4.5 ] [Synapse ++]
WARNING
Code:
[COLOR="Red"]PLEASE SHOW RESPECT TO ACTUALLY [COLOR="PURPLE"][B]READ POSTS #1-3[/B][/COLOR]
[URL="http://forum.xda-developers.com/announcement.php?a=81"][B]XDA RULE #1 "SEARCH BEFORE POSTING"[/B][/URL] (GOOGLE, XDA & THREAD),
IF YOU DON'T LIKE A UP-FRONT "MATTER OF FACT" APPROACH,
[B]THEN DON'T BOTHER POSTING[/B]. [/COLOR]
FEATURES
Code:
* Based on official Samsung source: [URL="http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=n920"]Samsung OSRC[/URL]
* ramdisk source: N920PVPS2AOK3
* Compiled with Linaro gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu
* Linux 3.10.96
* [COLOR="red"]AUTO-ROOT binary v2.52[/COLOR] & Install busybox v1.24.1-Dorimanx
* [COLOR="Red"]KNOX WARRANTY VOID: 1[/COLOR]
* [COLOR="red"]SELinux PERMISSIVE[/COLOR] (for Titanium Backup and other apps to work correctly)
* adb insecure
* stock dt.img
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* [COLOR="red"]DEEP SLEEP FIX[/COLOR]
* [COLOR="red"]IN-CALL REBOOT BUG "FIX"[/COLOR]
* Possible Screen Mirroring / AllShare Cast fix
* Secure storage = false (should prevent WIFI settings & passwords wiping on reboots)
* RAM management tweaks
* GearVR [U]reported[/U] working (depends on ROM/firmware version installed)
* [B]Synapse app support[/B] for many kernel configurations + more !!
* Many descriptions are in the app ! If you require more info, don't be lazy, please [B]SEARCH[/B] like I did ;)
SYNAPSE FEATURES
ABOUT
PayPal Donation link
SkyHigh kernel thread link
Up time
Total
Sleep
Awake
A57 CPU
A57 big Cores Frequency Scaling
live frequency
MAX: 2400 MHz (stock 2100 MHz is default)
MIN: 500 MHz (stock 800 MHz is default)
A57 VOLT
HPM voltage control
A57 big Cores voltage control
A53 CPU
A53 LITTLE Cores Frequency Scaling
live frequency
MAX: 1600 MHz (stock 1500 MHz is default)
MIN: 200 MHz (stock 400 MHz is default)
A53 VOLT
HPM voltage control
A53 LITTLE Cores voltage control
CPU GOV
CPU governors
interactive (default)
on-demand
conservative
ktoonservative (hotplug)
userspace
performance
Interactive governor live load at current frequency (A57+A53)
Interactive governor tuning (profiles)
Default
Battery
PerformanceTurbo Mode
A57 GOV
A57 governor tunables
A53 GOV
A53 CPU governor tunables
MULTICORE
HMP threshold tuning profiles
Default
Performance
Battery
HMP threshold controls for up/down migration
Power Aware Scheduling control
HMP LITTLE Packing
PEWQ (Power-efficient Workqueues) control
Exynos Core Control Interface (choose 5 > 8 cores online)
CPU STATS
CPU0 time in state
CPU4 time in state
BOOST
Input-Booster profiles
key
touchkey
GPU
GPU stats
Current clock freq
Live Frequency Utilization (load)
Time in state
GPU power policy control
coarse_demand (default)
demand
always_on
GPU frequency scaling
Max freq control to 852 MHz (700 MHz is default)
Min freq control to 100 MHz (stock 266 MHz is default)
GPU Governor
Default
Interactive (default)
Static
Booster (more graphic and benchmark performance)
GPU Interactive Governor tunables
highspeed clock
highspeed load
highspeed delay
GPU VOLT
HPM voltage control
GPU voltage control
THERMAL
Sensor temperatures
A57
A53
GPU
ISP
CPU thermal control
normal temp
critical temp
GPU thermal control
On/Off thermal manager
temp levels 1 > 5
throttling freq levels
Memory thermal control
normal temp
critical temp
ISP (Image Signal Processor) thermal control
temp levels 1 > 5
BUS
Memory Bus HPM voltage control
Memory Bus voltage control
Internal Bus voltage control
ISP (Image Signal Processor) voltage control
IO
I/O Schedulers
BFQ (tweaked for SSD)
DEADLINE (tweaked for SSD)
FIOPS
CFQ = default (tweaked for SSD)
NOOP
ROW (tweaked)
Storage read-ahead (256 KB)
General IO tuneable
Add random
IO stats
Rotational
No merges
RQ Affinity
NR requests
I/O scheduler tunables
MEMORY
Memory state
Total
Free
Low Memory Killer Profiles
Low
Medium
Custom (recommend)
Default (default)
Aggressive
Exterminate
Low Memory Killer minfree tuning (OOM LMK)
Adaptive Low Memory Killer
vmpressure_file_min
Samsung SPCM Service control (Enabled = default/stock)
Ultra Kernel SamePage Merging (UKSM)
UKSM stats
Scan Delay Interval
UKSM Governor
Max CPU consumption
Dynamic FSYNC control (enabled)
Dynamic dirty page writeback control (enabled)
Dirty writeback active
Dirty writeback suspend
Virtual Memory
Virtual NAND Swap control (VNSwap)
ZSwap memory pool
Adaptive Dirty Background Ratio on suspend / resume
Adaptive Dirty Ratio on suspend / resume
Drop caches (Clear VFS cache after boot)
Laptop Mode
Swapiness
Adaptive vfs_cache_pressure on suspend / resume
ADVANCED
Entropy (max 4096)
Gentle Fair Sleepers control (disabled)
Arch Power control (enabled)
randomize_va_space control
pm_freeze_timeout control
Google Play Services Battery Drain Fix
Driver wakelock controls
SensorHub
ssp_sensorhubSSP
sig_motion_sensor
pickup_gesture
grip_sensor
tilt_detector
proximity_sensorbcm4773
bcm4773_gps
POWER SUSPEND
Modes:
Autosleep
Userspace
Display Panel
Hybrid (Autosleep + Display Panel) = default
PowerSuspend State (enable only with Userspace mode set)
Version push button
AUDIO
(Sound Control by AndreiLux)
Jack media volume control
L/R channel volume
mono mixer
Speaker volume control
Earpiece volume
Main Equalizer
Advanced Stereo Equalizer
SCREEN
Live panel brightness
sweep2sleep control
NETWORK
TCP congestion control
All available enabled.
Default = westwood+
Screen mirror/allshare cast fix control (enabled)
Clean WIFI Lease
WIFI Passwords
Save
Restore
WiFi Power Mode While Screen-On/Off
Force Off
Off
Fast (default = screen ON)
Max (default = screen OFF)
WiFi DTIM Interval While Screen-On/Off
RX wakelock timeout control
TCP/IP network security
3G DNS speed & security tweak
Google
OpenDNS
Comodo, Level3
Norton_DNS
Smart_Viper
GPS time-zone
Original
Asia
Europe
Oceania
North America
South America
Africa
IPV6-protocol
IPv6 Test push button
IPv6 enable / disable
optimistic detection
SECURITY
KNOX control
NO_ACTION (default)
Disabled
Enabled
SELinux
Live status
BATTERY
Battery info
Charging controls
HV power supplies
A/C Mains
A/C Mains (screen-on)
Standard downstream port
Dedicated charging port
Charging downstream port
Accessory charging adapter
MHL power
Wireless power
Store Mode
enable / disable (master control)
Store Mode Maximum
Store Mode Minimum
Battery SCALING calibration (fuel gauge reset)
LED
LED disable control
LED Fade-in/out Time Period
LED Fade control
Fade-in
Fade-out
Test notification push button
Stop notification push button
FS (File System)
Display FS Type
FS Controls
remount System r/w r/o
remount RootFS r/w r/o
Scrolling cache control
Optimise Databases (SQLite3)
FSTrim lagfix
Wipe options
cache reboot
dalvik-cache reboot
cache & dalvik-cache reboot
Clean up
clipboard cache
/data/tombstones
/data/anr logs
/data/dropbox logs
lost+found
CORTEXBRAIN
Live status
Cortexbrain-Background-Process (Master Switch)
CortexBrain Functions
WiFi Auto
Media Manager
System-Tweaks
Kernel-Tweaks
nmi_watchdog
CRONTAB
Live status
CronTask (Master Switch)
Cron Tasks
Clean RAM cache (every hour)
Google Service restart (every 3 hours)
Clean app cache & junk (every day at 4:30AM UTC)
clipboard cache
/data/tombstones
/data/anr logs
/data/dropbox logs
lost+foundOptimize databases (every day at 4:40AM UTC)
File system trim (every day at 4:50AM UTC)
Battery scaling calibration (every Sunday at 5:00AM UTC)
Test Cron Task jobs
USB
USB status
USB mode selection
MTP
PTP
CD_ROM (drivedroid support)
USB_Keyboard-Mouse
MODULES
CIFS
NTFS
ISO9660_FS
UDF
XPAD
BACKUP & RESTORE
Name - Restore - Delete - Backup
profiles
kernel image
LOGS
Android Logger control (enabled)
LogCat
Kernel Logger control (enabled)
dmesg
last_kmsg
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data & Reboot
Restart Synapse
INFO
Reduced logging
exFAT FS support
NTFS R/W support with app
CIFS support (not tested)
ISO 9660 CDROM & UDF FS support
Frandom
mount partitions NOATIME and NODIRATIME by default
FSTrim on boot (ensure consistent IO throughput)
Entropy tweaks
Increased boot frequency
Power-efficient workqueue (PEWQ) efficiency patches
CLEANCACHE & ZCACHE
Microsoft X-BOX gamepad controller module (updated)
LZO de/compression algorithm
Slub tweaked
Much more - check source commits & Synapse
CREDITS
My family !!
@Chainfire - root & SuperSU / @Manh_IT - auto-root method
@AndreiLux - years of support for Exynos development and his various kernel features + Synapse app and UCI code
@halaszk88 - patches and Synapse code I adapted to many of my kernels
@dorimanx - BusyBox and various ramdisk tweaks/ideas
@apb_axel - I adapted and used many of the Synapse controls to suit my kernels
@arter97 - various source fixes/patches
@ktoonsez - ktoonservative hotplug governor
@LuigiBull23 - ktoonservative profiles I've adapted
XDA
Samsung OSRC
and many others!
check github source credits
IF I'VE FORGOTTEN ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SkyHigh Note 5 Exynos 7420 Sprint Kernel, Kernel for the Sprint Samsung Galaxy Note5
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/SM-N920
Kernel Special Features: Synapse ++ | EXT4 | exFAT | NTFS | CIFS
Version Information
Status: Stable
Current Stable Version: 4.5
Stable Release Date: 2016-02-19
Created 2015-12-02
Last Updated 2016-02-19
Warning - ChangeLog - Requirements - Installation - Download - Source
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
Code:
[COLOR="Red"]* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !![/COLOR]
CHANGE-LOG
Open GitHub Change-Logs
Tap/click "Full Change log" under the latest version (i.e. v4.5)
Example: ALL commits (changes) for v4.4 > v4.5 are visible at the top section
Tap/click any commit and will display all comments in the top section and code changes in the bottom section for particular commit
REQUIREMENTS
Variant support for:
SM-N920P
Watch >>> THIS <<<
IF YOU WISH TO BUG REPORT: Stock UNMODIFIED TouchWiz (TW) 5.1.1 ROM (I DO NOT HAVE YOUR DEVICE !! )
Custom recovery i.e.. TWRP or Philz
INSTALLATION
If you have systemless root installed, then you must REMOVE it as this kernel will auto-root a proven and stable 2.52 binary into system.
Open SuperSU app
Select "Full unroot" option
Reboot (or flash kernel)
Re-install SuperSU app
Uninstall any CPU control apps, tweaks and init.d scripts etc.
Recommend: Disable or remove KNOX (you can disable with Synapse once kernel is flashed)
Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
Device Settings:
Enable Developer Options > OEM UNLOCK
If flashing from previous SkyHigh kernel > Device settings > Applications > Synapse > Force Stop > clear data
If not installed > Install SuperSU from Google Play:
Boot into custom recovery and flash SkyHigh_kernel____.zip FOR YOUR DEVICE and reboot
After boot:
a) wait at least 120 secs to stabilize
b) Open Synapse
c) Tap "Understood"
d) DO this step so some defaults are set !!
1. tap the square menu button top right hand corner
2. tap the three dots button
3. "select all globally"
4. tap the back button next to it
5. apply
DOWNLOADS
SM-N920P [ v4.5 ]
________________________________________________________________________
OLDER SkyHigh kernels > HERE
________________________________________________________________________
OTHER international & dual SIM thread > HERE
________________________________________________________________________
SM-N920-T / W8 thread > HERE
SOURCE
ALL KERNELS COMPILED WITH SAME SkyHigh SOURCE !!
Github
.
Help & FAQ
THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:
I might not have your device variant and or able to reproduce your "issue". With this in mind, without providing as much information as possible, and resetting your device to a stable unmodified baseline, any potential troubleshooting or logs could be meaningless. So please follow the guidelines set out below. Thanks
BY POSTING YOUR ISSUES IN THIS THREAD, YOU ARE AGREE TO HELP YOURSELF FIRST BY PROVIDING INFO REGARDING:
Code:
1. DEVICE MODEL ?
2. ROM and firmware version (build number, boot-loader etc) ?
3. EXACT steps taken to reproduce YOUR issue
4. Screen-shots (if applicable)
5. Did you read Posts #1-3 completely?
6. Did you search the thread, XDA or GOOGLE?
7. Did you follow the install instructions EXACTLY?
8. What was your previous kernel?
9. Do you have any other known kernel tweaking apps, scripts or mods? ([B]remove them[/B]). [COLOR="Red"]This includes Xposed etc[/COLOR]
10. Try older kernel (if available)
11. Factory reset ?
12. Try latest stock [B]UNMODIFIED[/B] firmware (without custom ROM - if you have installed) and factory reset
13. Delete your ROM BusyBox (kernel uses it's own in /sbin)
ONLY IF YOU HAVE TRIED SUGGESTIONS ABOVE:
Turn on logging in Synapse and save logs AT TIME OF ERROR. AND post together with ALL the above information.
ELSE, DON'T WASTE MY TIME, YOU WILL BE IGNORED AND/OR POST REPORTED !!
THANK YOU :good:
NO FAST CHARGE
If using the pathetic original cable, try disconnect and reconnect the USB cable whilst power is still turned on to the charger
Use a thicker / better cable, will work every time (ie. Note4 OEM cable)
CAN I BUILD A KERNEL FOR YOUR __XX DEVICE ?
I will not build for any device that I can not compile using SAME source, personally test method or debug. Some device variants can compile with same source.
Sorry. I don't have the spare time for any more variant support.
"NO UCI SUPPORT"
It's a ROM busybox compatibility issue
Three choices:
Device > settings > applications > Synapse > force close & wipe data and REBOOT
OR
Remove your ROM busybox from /system xbin and /system/bin (Synapse will use the kernel busybox in /sbin).
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
OR
Try install a different busybox
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
Synapse or BACKUP/RESTORE ISSUES
It's a ROM busybox or sqlite3 compatibility issue
Remove both your ROM busybox & sqlite3 from /system xbin and /system/bin (Synapse will use it's own from kernel /sbin).
Device > settings > applications > Synapse > force close & wipe data
Reboot or re-flash kernel as per Installation Instructions
BACKUP & RESTORE
DO NOT restore profiles from different kernel version
Refer to THIS post for "how-to" screen-shots
Refer to THIS post for a "how-to" video (thanks @aldoblaga )
LOADABLE MODULES AREN'T WORKING
Check your /system/lib/modules directory. Are any ____.ko present?
Did you flash a ROM or wipe the system partition at any point? Doing this will remove them !
Re-flash the kernel will install the modules.
If modules aren't installed after flash, then re-flash and manually mount system in recovery first.
You can check running modules in terminal with:
Code:
lsmod
KTOONSERVATIVE GOVERNOR
Some info from the author: http://forum.xda-developers.com/showpost.php?p=60223338&postcount=3
DT2W & COLOUR CONTROL
No, I cannot make it work properly with single source for all supported variants
CPU POWER CONSUMPTION
The Samsung Exynos 7420 Deep Dive - Inside A Modern 14nm SoC (by ANANDTECH - Andrei)
F2FS SUPPORT
It's not needed. You wouldn't see any difference or measure much, if anything. Not worth the potential trade-off. This is not eMMC anymore
http://bgr.com/2015/03/17/galaxy-s6-storage-benchmarks/
STUCK ON SAMSUNG BOOT LOGO AFTER FLASH
Ensure you flashed the correct kernel for your device model
Ensure your download is not corrupted. Check MD5 hash or re-download
Your current base firmware (ROM, boot-loader version etc.) may be incompatible - UPDATE to latest with Odin and try again.
CM SUPPORT
Read Post #12
"Unauthorized actions have been detected, reboot to undo changes"
As it's a common warning found with all KNOX enabled android devices, you would have found the answer by Google search and also that it is actually unrelated to kernel and also unrelated to this kernel development..............
It is caused by the process of rooting/modifying your device. Unless you use KNOX, don't worry.
[Q] How to disable
[A] Freeze or delete your KNOX & Security related apps/processes manually (using root explorer or titanium backup (pro) or use Synapse > Security > disable KNOX
CAN I USE OTHER KERNEL CONTROL APPS
No, many features and options won't be available. Remove all other control apps to avoid conflicts !
Synapse is the recommended and has everything you need
BATTERY TIPS
Try some (or combination) of the CPU MULTICORE features in Synapse:
HMP profile = Battery
Power Aware Scheduling (slight performance cost) = Enabled
HMP LITTLE Packing (slight performance cost) = Enabled
PEWQ (power-efficient workqueue) (slight performance cost) = Enabled
Set A57 & A53 Interactive governor profile = Battery
Set Input-Booster for key/touchkey profile = Battery
Multi-tasking: enable UKSM & "low" or "quiet" profile (slight performance/battery cost)
Set all Advanced wake-lock controls to 1, except GPS. Set it to 4
Set WiFi wakelock control to 2 or 3
PERFORMANCE TIPS
Set A57 & A53 Interactive governor profile = Performance
Set A57 & A53 Interactive governor = Turbo Mode (battery cost)
Once in a while:
Optimize Databases
FSTrim
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
Use a stock UNMODIFIED ROM for your device variant
No tweaks, Xposed or other CPU control apps installed
ASV_GROUP (ALL DEVICES ARE NOT CREATED EQUAL)
This is an example from my Exynos5420 source. Similar idea for Exynos420
http://forum.xda-developers.com/showpost.php?p=61579949&postcount=202
CAN I INCLUDE SkyHigh KERNEL IN MY ROM
Although I do appreciate your contribution here, if you could please do not include my kernel in any ROM package etc. This policy goes for anyone.
Having my kernel distributed outside my development thread just removes a lot of credit and more importantly, constructive user feedback that could be helpful to my development or user issue.
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Disable any CPU MULTICORE options in Synapse
Disable any Battery profiles in Synapse. Set to default or Performance.
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS
* [Christopher83]
This feature allows to have two different intervals for dirty page
writebacks and to dynamically manage them when the system has been
resumed (it's active) or when has been suspended.
Three new procfs parameters are exposed inside /proc/sys/vm path:
- dynamic_dirty_writeback is the activation status of this feature,
set 1 to enable it, set 0 to disable it and use the standard behaviour
- dirty_writeback_active_centisecs is the interval for the dirty page
writebacks when the system is active (screen on)
- dirty_writeback_suspend_centisecs is the interval for the dirty page
writebacks when the system is suspended (screen off)
This feature is in part inspired on Francisco Franco's patch:
https://github.com/franciscofranco/mako/commit/34d79548cf16b69c7d0154836018e7f258a22947
Click to expand...
Click to collapse
TCP/IP NETWORK SECURITY
* Thanks to zeppelinrox & V6SuperCharger
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
CHROMECAST - STREAMING PROBLEMS
* Thanks to @AtLmd Post
Lock screen MUST be enabled (simple screen lock swipe) I don't know why but it breaks the chromecast app's ability to resume smoothly if switched off
Synapse > Network > DTIM (both screen ON & OFF) = 1
Synapse > Network > WIFI Power Mode (screen OFF) = FAST
.
Great work!
It feels so much smoother and faster and is using less power.
@UpInTheAir
No rush but at some point, would you mind adding a .tar.md5 odin flashable version as well?
I can create one for you if it would help you out. :good:
tdunham said:
@UpInTheAir
No rush but at some point, would you mind adding a .tar.md5 odin flashable version as well?
I can create one for you if you need help with that. :good:
Click to expand...
Click to collapse
I have recently modified my build scripts to auto create both .tar.md5 and .zip flashable archives. I choose to release just the .zip because I have it wipe the cache and also gives the user the chance to backup original kernel before flash.
UpInTheAir said:
I have recently modified my build scripts to auto create both .tar.md5 and .zip flashable archives. I choose to release just the .zip because I have it wipe the cache and also gives the user the chance to backup original kernel before flash.
Click to expand...
Click to collapse
Ok, no problem.
We'll keep you updated on how its running for us.
The users don't have too many choices for roms here since mine are the only ones released so far for our Note 5 variant (other than stock) so it shouldn't be too difficult to test.
Did u forget c is coming. Wont derail this project.
Sent from my SM-N920P using XDA Premium HD app
Do you have a google+ community?
rayraycarter4 said:
Do you have a google+ community?
Click to expand...
Click to collapse
I started one for another device a year back, but returned to XDA after many "dev" kang my work without permission and/or credit. Many still do. ...
So I just don't have the time for it, one or the other.
Kernel is running good so far
Sent from my SM-N920P using XDA Premium HD app
Been running all day now issues
v2.5 released
v2.5 update for SM-N920-P device variant
Check out the change-log in Post #2.
NOT TESTED. I DO NOT HAVE YOUR DEVICE !
XDA RULE #1 'SEARCH BEFORE POSTING". Please READ Posts #1-3 BEFORE flashing !!
Please CLEAR SYNAPSE DATA before flash: device settings > Applications > Application manager > Synapse > force stop > clear data
Have fun
Cheers
UITA
So far kernel is running great on Moar 1.3 rom. Just have default settings applied with Synapse. Any specific settings I should adjust for better performance or battery? Not too smart when it comes to adjusting the settings on kernels lol
Is this kernel fixes bad memory ram management ?
Been running this this kernel since yesterday and I'm pretty happy with the performance so far!
Quick question with Synapse, as I haven't used it before. When I clear data, and then flash the 2.5 update, do I need to go back in and re-tweak the kernel settings?
powerstroke said:
So far kernel is running great on Moar 1.3 rom. Just have default settings applied with Synapse. Any specific settings I should adjust for better performance or battery? Not too smart when it comes to adjusting the settings on kernels lol
Click to expand...
Click to collapse
Please read Post 3 (again)
torchec said:
Is this kernel fixes bad memory ram management ?
Click to expand...
Click to collapse
Please read OP (again)
weavr said:
Been running this this kernel since yesterday and I'm pretty happy with the performance so far!
Quick question with Synapse, as I haven't used it before. When I clear data, and then flash the 2.5 update, do I need to go back in and re-tweak the kernel settings?
Click to expand...
Click to collapse
Yes, and also never restore profiles between kernel version releases unless stated otherwise Can cause issues.
v2.6 released
v2.6 update for SM-N920-P device variant
Check out the change-log in Post #2.
NOT TESTED. I DO NOT HAVE YOUR DEVICE !
XDA RULE #1 'SEARCH BEFORE POSTING". Please READ Posts #1-3 BEFORE flashing !!
Please CLEAR SYNAPSE DATA before flash: device settings > Applications > Application manager > Synapse > force stop > clear data
Have fun
Cheers
UITA
I dont know why but since i put 3g on on my sprint note 5 the device started to reboot itself i made some changes in synopse i think that was the reason because when i restablished the default settings it hasnts done that can someone help me????
I want to know What settings should I try to save some battery with 2.6v without compromising the performance?
SmoothMod Kernel (SMK) for Samsung Galaxy Tab 3 8.0 3G (SM-T311), also may work on WiFi version (SM-T310), all stock and CM ROMs.
Development discontinued, read reason here.
This kernel is developed to give you more smoothness and stability than you can have on stock kernel and others.
Warning. Kernel may work on your device/ROM and may not. For me it works at all ROMs and for many people (on 4PDA.RU forum) it works too. Some people say (or said before kernel worked, this also can be) it doesn't work. So do a kernel backup please before you flash it first time. I've never had boot or usage problems with SMK, but it could be because i'm its developer (though it can not be the reason for that I'm always successfully boot it..). So it seems that our devices of the same model might be different. Be careful as I can not help you.
Features:
- Kernel version updated up to 3.2.26 and keeps updating
- Safe CPU overclock to 1.9 GHz with CPU-Boost kernel driver developed also by myself
- Custom (and only here) governor Smooth that is made to give both good battery saving and absolute smoothness. Uses GPU load and io_wait to additionally increase frequency at the right time.
- Kernel has a custom Android service smkd that controls all its features and provides many tweakable settings that you can change very simply: through terminal command "smkd" (instructions below) or "by hands" at folder "/smk" (like usual linux kernel settings at "/proc/sys/{kernel|vm|net}"). The program is written in C language, not as a script, for performance (shell-scripts are very slow when comparing with optimized C-programs).
- Tweak Menu that can be found if you type 'smkd' in your terminal.
- SmoothnessControl - one of smkd's functions that tries to guarantee UI smoothness to your tablet even if there are very CPU-hungry (but not I/O) apps/programs running like android.process.media and others. By default disabled. To enable, type this: 'su -c "scd --enable"' in terminal emulator. To disable, type 'scd --disable'.
- CPU Undervolt controlled through smkd.
- DynBS program (also developed by me) used by smkd to improve battery saving by 40% and more.
- Boeffla Sound Engine with custom settings, not working with Boeffla Sound Control app because smkd controls them (it's needed because smkd fixes engine's sound effects bug). Settings are stored folder "/smk" in files beginning with "boeffla.".
- Cron scheduler configured from file /sdcard/cron/root.
- All the custom tweakable settings described upper are reloading instantly after you change them or on delete (cron schedule file is also under the same watch).
- Kernel is compiled with optimized HYPER-TOOLCHAIN with gcc version 6.0 and maximally optimized compiler configuration.
Customizing kernel:
There is now nothing that needs to be explained, as customizing is pretty simple! Just type command 'smkd' (without quotes) and go through the menu (by entering appropriate symbols) as you want, changing parameters as you need.
Ask, if you have questions
If you have questions or suggestions about my kernel, feel free to write about that here and I will try to answer.
F.A.Q.:
Q.: Do I need to wipe Dalvik/ART cache before/after flashing this kernel?
A.: It is even not useful to wipe caches because they are used by Android only, not by kernel. So, it's not needed.
Q.: The kernel does not boot! What do I have to do to boot it?
A.: Write a message in this thread providing info about what ROM do you use, what Android version it is and what kernel build (kk/lp/mm) and version you are trying to boot. I will reply to that message and try to fix that problem.
Author: me, igoryan94
Download from Google Drive
Before flashing this kernel please do a backup yours first!
Warning! If you have a Jellybean/Kitkat rom, then download the smoothmod-kernel-kk-... build. If you use Lollipop (CM12), then your build to download will be ...-lp.... If it is a Marshmallow (CM13), then download mm build.
Other choice will cause your device to not be able to boot!
(Sorry for my (maybe )bad english)
Plans:
-
Developing now:
-
Changelogs (old*):
1.2.1/1.2.2:
- Returned possibility to load a profile from command line (command 'smkd --load [name]' or 'smkd ld [name]')
- Added custom setting for apps CPU time, now it has two groups: idle and high.
Idle group gives an app very small amount of CPU time, use for hungry apps that you don't need.
High group grants an app a 95% of all CPU time. Use to speed up some apps or games.
It is all very similar to Greenify and others, excepting that this is not battery saving solution, only to smooth up your Android, as Greenify disables an app and CGroup lowers app's CPU execution time available to it.
- I/O settings fully rebalanced for smoothness for system processes and apps processes
- Also added control group for I/O that does like one for CPU, but for I/O and developed its correct (for Android) behavior.
- Current configuration name in smkd menu now correctly saves and loads after reboot.
- Default LMK level changed to 125
XDA->SMK:
1.2:
- Got a smoother UI with better CGroup tweaking
- In case of some situations smkd will notify user with drawing a small square of some color at the left upper screen edge (portrait orientation). For overheat the color is red. When SmoothnessControl gets to work, color is light blue/cyan. If device's load is too high, the color will be blue.
"Notification" will blink when screen updates because the framebuffer devices are not support this method of screen drawing. But it works for now and I think that it is very useful to know the reasons of device's lags and freezes.
- Menu now immediately reacts to input, instead of pressing some characters and then Enter. Modified all menus that way so the interface is now much better.
- When exiting menu, parameters are automatically saved to default profile. No need to care about it anymore...
- Added Quick settings also to RAM and I/O
- Main menu: moved all "p)" menu elements to main menu level, it is quicker to access now
- Some more Quick settings options added
- Added Quick settings to my menu templates, so I will add this to most of the new menus in the future
- Main Quick settings colors changed to blue, additional are still white
- Overclock to 1920 MHz lowered to 1800 MHz because 1800 is much more stable (1920 causes reboots on Marshmallow on my tablet)
- Device now reboots when charging speed is too bad. By default this is disabled. Also added setting "Charge cycle time" and Quick settings for that so you can quickly set up to what charge speed you need (reboots are helpful but not very good for users that want to play device when it charges).
- 'Boost' feature disabled so now DynBS will work as always even when device is laggy
Previous:
1.1.22:
- CPU, Boeffla Sound and Network setting menus in smkd now have the Quick settings feature that helps to configure them by one click instead of tweaking them each
1.1.21.1:
- DynBS updated: now it uses frequencies from 350 to 700 MHz too, so more battery can be saved.
1.1.21:
- smkd now has menu interface which opens by default by command 'smkd' without options.
- All setting commands are removed. Use menu instead.
- In Cyanogenmod ROMs SystemUI is restarted every time when screen becomes disabled, so you may never see it lags or freezes again.
- PCS renamed to SC (SmoothnessControl).
- Overclock enables when device is laggy even when it is disabled in settings
- Redone temperature control: now smkd monitors a device temperature instead of CPU. It leads to better smoothness. Also overheat situations disable some functions like I/O readahead, ZRam, KSM.
- Overheat prevention function fully removed
- Governor Smooth now enables both cores on gestures with two or more fingers instead of simple tap.
1.1.20:
- Added charging compensation: now when battery charging is too slow, CPU Topology and voltage will be changed appropriately for quicker charge.
- Touch boost changed from 1400 to 1000 MHz, but it also boosts busfreq to 400 instead of 267 MHz. Results in better reaction on screen touch.
- Governor Smooth's default sampling_rate changed from 27000 to 16000 for quicker reaction
1.1.19:
- Added ARM CPU Topology for better multithread scheduling
- Some CPU Scheduler changes for smoothness or power saving (tweakable)
- Improved smkd UI code
1.1.18.1:
- Fixed performance/smoothness problems.
1.1.18:
- Added new default configuration "throughput"
- GPU acceleration is now forced for all apps and it is changeable from smkd.
- I/O scheduler SIOPlus added.
- DynBS is returned (one user asked for it as it really saves battery, as he said).
1.1.17:
- User profiles are no more exist, replaced with default configurations" instead. They are: smooth, battery, ram and cool. After each launch of smkd (mostly on reboot) configurations are removed and recreated to always be fresh and up to date.
- Added ability to create, rename and delete profiles by normal way, but default profiles cannot be replaced, deleted or renamed through smkd (only "by hands").
- GPU settings: composition and forced GPU-acceleration from Android settings for developers.
- Tripndroid and Zen I/O schedulers are added.
1.1.16.1:
- Configurations loading is now be always successful (but only if appropriate file exists), without that annoying errors "try again later, please..."
- Small tweaks optimization
1.1.16:
- Overclock now disabled by default, as it was on 1.1.14 and before, for battery saving (overclock eats too much battery). Can be enabled with command 'smkd -c -o 1'. Temperature control is now optimized for both CPU overclock and hardware maximal frequency modes.
- smkd interface improved a little.
- KSM functionality added with some fixes for Mali GPU driver bugs in userspace.
- Default temperature limit is now 64 C (before it was 67 C). This is done for more stability when the weather is hot.
- Some changes for smoothness and stability...
1.1.15:
- Overclock is enabled now for any time when screen is enabled (no more boost).
- Developed overheat preventing functions that cool device when temperature is between 90% of threshold and higher. CPU frequency will be set according to temperature for the moment (for every 2% will be a different frequency). Function can be disabled but it is not recommended.
- All cooling functions now control voltage too to be more effective.
- Governor Smooth tweaked for more balance (oc_nr_run_threshold->6)
- Governor Smooth: changed logic: half-overclock (to 1.7 GHz) will occur if number of processes running is a half of oc_nr_run_threshold tunable.
- smkd now controls I/O scheduler and I/O readahead settings, they are tweakable with smkd command. Profiles change this parameters too.
1.1.14:
- smkd tweaker program fully translated to english and comes now in two languages. Now it uses Android's property 'persist.sys.language'.
If your device configured for any language excepting russian, then program will be in english for you. At the other case it will print out text and messages in russian.
- Improved custom configurations in smkd. Now it loads profiles synchronous with service (by using mutex) instead of relaunching it with shell stop/start (it was too slow and even buggy to do that).
- DynBS will not be in kernel anymore, it is not so effective as needed. Instead, I've added a profile tweaks for my governor Smooth, that tweaks easily changeable from smkd (cmd. "smkd -c -s [0-2]").
1.1.13:
- Cron scheduler now works correctly (i'm happy ), doing exactly what was scheduled by the user at the exact times.
- I don't remember what was in this version because forgot this as I worked on 1.1.14 intensively.
-----
* Newer versions contain changelogs in install archive itself.
Very good kernel. Use [5.1.1] Resurrection Remix 5.5.9 + SMK 1.0.20.1 lp.
Nerovinger said:
Very good kernel.
Click to expand...
Click to collapse
Thanks
stuck at bootanimation..
Sent from my SM-T311 using XDA-Developers mobile app
so.hell said:
stuck at bootanimation..
Sent from my SM-T311 using XDA-Developers mobile app
Click to expand...
Click to collapse
What ROM do you use? Android version, SMK version?
AICP BY GR8NOLE.
SMK V-1.1.12
i try dirty flash n clean flash.stuck at bootamination..
Sent from my SM-T311 using XDA-Developers mobile app
so.hell said:
AICP BY GR8NOLE.
SMK V-1.1.12
i try dirty flash n clean flash.stuck at bootamination..
Sent from my SM-T311 using XDA-Developers mobile app
Click to expand...
Click to collapse
Looks like it will not work on AICP ROM, on Cyanogenmod 13 and ResurrectionRemix kernel works fine (I've tested that)... Sorry The reason for that I can not fix this problem is that I do not know (even cannot know) how to make an init.rc (this file starts all Android services on boot) file universal (to support absolutely all ROMs at one time). This is also the reason for three builds of kernel: kk, lp and mm...
Nice kernel. But can you please make a version of your kernel work with the T310 (WiFi)?
Stuck at Bootanimation
ROM: Resurrection Remix 5.6.9 by powermetza
Android Version:6.0.1
SMK version 1.1.12
pawas99 said:
Stuck at Bootanimation
ROM: Resurrection Remix 5.6.9 by powermetza
Android Version:6.0.1
SMK version 1.1.12
Click to expand...
Click to collapse
Try to flash on a clean ROM (with backup of cource)... All fine for me on RR.
Luis_0 said:
Nice kernel. But can you please make a version of your kernel work with the T310 (WiFi)?
Click to expand...
Click to collapse
I can't as i don't know much about modding in '/init.rc' script and also about what differences it has in kernels for T310, T311 and T315... Sorry.
There are too much incompatibilities with builds that are now (they must work everywhere but they don't)...
Ok. Added one question to poll. There are three variants for ROM and two for working or not (six at all), for me all works fine, so I voted for the first three answers.
Version 1.1.14 developer testing ends now, smkd fully translated to english. I will now build the kernel and then begin uploading it to Google Drive.
(sorry for my incorrect english)
igoryan94 said:
Try to flash on a clean ROM (with backup of cource)... All fine for me on RR.
Click to expand...
Click to collapse
Stuck at bootanimation even after flashing on a clean ROM.
waiting for update..
Hey @igoryan94,
Thanks a lot for making this great kernel!
I've flashed the KK version along with the stock ROM http://forum.xda-developers.com/showthread.php?t=2789510. It works very nicely. Would you please show an instruction (or a specific terminal command for newbies like me) of how to overclock CPU to 1.9GHz? Currently the max speed is 1.5Ghz according to kernel audit.
Thanks again
Hey I cant change the cpu frequent through kernel adiutor. As soon as i change the freq to 1920 it changes back to 1500.
igoryan94 said:
I can't as i don't know much about modding in '/init.rc' script and also about what differences it has in kernels for T310, T311 and T315... Sorry.
Click to expand...
Click to collapse
@gr8nole could help him in this?
xdaSEx10 said:
Hey @igoryan94,
Thanks a lot for making this great kernel!
I've flashed the KK version along with the stock ROM http://forum.xda-developers.com/showthread.php?t=2789510. It works very nicely. Would you please show an instruction (or a specific terminal command for newbies like me) of how to overclock CPU to 1.9GHz? Currently the max speed is 1.5Ghz according to kernel audit.
Thanks again
Click to expand...
Click to collapse
CPU frequency is automatically changed to 1920 MHz when special conditions are met (they are: "blocked" processes and waiting for I/O).. Version 1.1.5 will have full 1920 MHz CPU frequency.
I will now upload "developer" version of kernel 1.1.15_dev for KitKat users. If you want, test that) It is not fully contains all changes that i've done, but I'm not at home now and cannot compile new build... For now it has smooth overheat prevention and overclock fully enabled.
Hunter97 said:
Hey I cant change the cpu frequent through kernel adiutor. As soon as i change the freq to 1920 it changes back to 1500.
Click to expand...
Click to collapse
Please wait for SMK version 1.1.15, it will use 1920 MHz as a default frequency always excepting overheat moments (that will disapear very quickly) and governor's battery saver mode.
You can also use a developer version 1.1.15_dev if you use JellyBean/KitKat as your ROM.
Ok, "dev" version released for testing.
When I will return home, I will release another testing version that has an I/O scheduler change functionality, optional Overheat Prevention and changing min_freq to minimal (50 MHz) when temperature event occurs. Maybe it will have even more features (I have smkd code with me, PC is only needed for compiling kernel and ramdisk).
on NoleKat.T310. v1.1 KK 4.4.2 not boot. on CM13 it's ok, but, for me, the best android versioni for this tablet is kk stock and i install NoleKat.T310. v1.1.
jamax80 said:
on NoleKat.T310. v1.1 KK 4.4.2 not boot. on CM13 it's ok, but, for me, the best android versioni for this tablet is kk stock and i install NoleKat.T310. v1.1.
Click to expand...
Click to collapse
SMK will not boot on T310. Only T311.
Squirrel Android Tweak App
Code:
*** Disclaimer
I am not responsible for any side effects (if any) or damages (if any) caused by this application.
This is a 100% systemless app. If you are having problems, please just uninstall it then reboot.
Introduction
Squirrel Android Tweak is an application that aims to increase the performance of your device, also by focusing on battery.
Include performance, battery, kernel tweaks, I/O, and a lot many other tweaks.
Squirrel Android Tweak vs Kitana Tweak[/COLOR]
Squirrel Android Tweak App is forked version of Kitana Tweak, All Kitana Tweak options are available in this app also
Features
Boost
F-strim
Hot Clean
Battery Improvement
Increase WiFi Scan
Kernel Tuner
Kernel Panic
Sleepers Optimization
Entropy
Bypass JNI
YouTube Resolution
GPU Rendering
Rendering Quality
Liquid Smooth UI
Better Scrolling
Performance Tuner
CPU Optimizer
FPS Unlock
16bit Transparent
Net Buffer Size
Net TCP Tweak
Net Speed+
Fast Streaming
IPv4/IPv6 Support
RIL Tweak
Fast Dormancy
Google DNS
ARM Wideband
I/O Boost
I/O Queue
SD Tuner
Scheduler Tuner
Cache Reclaiming
Cache Allocation
z-RAM Enabler
Swappiness
OOM Killer
RAM Profile
Low RAM Flag
KSM/u-KSM
Clean RAM
Disable Logs
Disable I/O Stats
Installation instructions
Make sure you meet the requirements:
Android 4.1+
Root access
BusyBox
Changelogs
Code:
Current version: 1.0.0, 2021-10-27
[fixes] Crash fixes for some devices
Group
Telegram Group: https://t.me/squirrel_android_tweak_app
Keep o sharing
Awsome work. Only error in the info on IO commands menu. The hints are duplicates of the GPU menu. So glad someone is making katanaTWEAK again. Profiles look cool to.