[APP][Jul 20th][1.28.2] "NoFrills" CPU Control: configure cpu frequencies & governor - Android Apps and Games

[APP][Jul 20th][1.28.2] "NoFrills" CPU Control: configure cpu frequencies & governor
Hi,
I've made a very simple application which can be used to set cpu scaling frequencies and governor. Yeah, imagine SetCPU without profiles, minimal use of RAM, released as open source, and requiring CyanogenMod (or any sysfs-enabled ROM). "No frills" is the right description for it. Source is released under the Apache License, version 2.0, but the resources (i.e.: icons) are released under their original license. The notification icon is mine and is proprietary. This should avoid further market scams.
I've been using it on my Dream and from the start I wanted to "give back" to the community. I asked in CyanogenMod's forum if there was interest for an inclusion into the official Mod, but I got no answers from the team.
Recently, NLJ has been working on a CMPart page for the CPU settings for CM7, so does this put the final nail in the coffin of this app?
I guess it depends on whether CM6 (and lower) will get the CPU settings page and whether people find it useful..
Looks like some people are finding it useful.
Problem is: I'm currently calling it "CyanogenMod CPU Governor" (yeah, boring) and I'm using CyanogenMod icon for it. Since it won't be included I feel like I should find a different name and icon, and this is where the community could give back ... or get a plain "Market" icon and "GUI for cpufreq settings" name.
Market links
No-frills CPU (2.1+, ICS look & feel)
No-frills CPU CLASSIC (1.6+, simple/plain look & feel)
If you don't want to use (or can't use) Google's Play Store, it's available through F-Droid.org
Source code
It's now available on GitHub.
Features
- Easy GUI to set frequencies and governor.
- "safety valve" to avoid boot-loops in case of unsafe settings (more info in the FAQ)
- Stats screen to see the effective usage of frequencies
Translations & Localization
Translations are welcome and they are now handled through GetLocalization! It'l make it way easier for people to translate it and for me to update them. I cannot stress enough how I am grateful for the following people, who originally translated this app. Thank you guys! (and keep translating by creating an account on GetLocalization, please! )
hrk (Italian), jdb78 (German), kallt_kaffe (Swedish), David Kejzlar (Czech), Ryunosuke Tanaka (Japanese), Charlie Cheung (Traditional and Simplified Chinese), dxdiag32 (Traditional and Simplified Chinese), Corentin Garcia (French), Carlos Camacho (Spanish), dancer_69 (Greek), TorbenKB (Danish), Chris (Brazilian Portuguese), FellowWings (Hungarian), Spaar (Dutch), prescott66 (Slovakian), Marco Bizarro (Portuguese), Cristian Silaghi (Romanian), Cenk H. Uzunboy (Turkish) ... all the other translators can be found on GetLocalization
FAQ
Q: What files do I need?
A: Download the .apk and install it the way you prefer. The .zip is not a flashable zip and is meant for other developers.
Q: I am a ROM cook, can I put your app in my ROM?
A: Sure do! Just contact me and I'll send you the latest .apk. Be sure to make it so that people will get market updates.
Q: Do you plan on adding profiles? I'd love to select a different profile for when my screen is off!
A: Short answer is "No". I think that profiles are useless, because that's what governors are already: a profile for your CPU to follow while changing frequencies.
Adding profiles would mean adding the need for more memory, the need to run more often, check if something is happening (screen on, screen off and so on)... all of this without a real benefit.
Q: What is the safety valve you added in 1.3?
A: If you enable "Apply on boot", the "safety valve" works this way: the app checks if your phone didn't shut down properly or either a file named /data/.nocpu or /sd-ext/.nocpu exists.
If this is the case, the values are not applied to avoid a "reboot-loop".
Please note that there are some apps on the market which claim to perform a faster reboot but what they do is like pulling out the battery! Now... do you think it's a proper shut down? I guessed so...
Q: Wait, what about those /data/.nocpu /sd-ext/.nocpu files?!
A: They are empty files which were chosen by NameLessJedi as "safety valve" for his own CMPart inside of CyanogenMod7 (remember the history of this app? ). We decided to cooperate, so I added support for the files and gave him the code to detect an improper shutdown at boot, which he added to his tool. Open source wins!
Q: What are governors and which one should I choose?
A: CPU frequency scaling allows you to change the clock speed of CPUs on the fly. This can save power, because the lower the CPU clock speed, the less power the CPU consumes. Governors are different policies to scale frequency.
- powersave will always set the "min" and never change it
- performance will always set the "max" and never change it
- ondemand (usually the default) will raise the value by a step up when the cpu is used, and lower the value by a step down when the cpu is not (much) used.
- conservative is like ondemand but will be slower when changing frequencies
- interactive is (conceptually) like ondemand but will be quicker when changing frequencies.
- smartass is (conceptually) like interactive, but I haven't understood yet why it's so much smart and loved by users.
- userspace will do nothing at all, so don't choose it. I may hide it in a future release to avoid confusion
For a fine grained explanation, check this post!
Q: And what about the I/O scheduler option?
A: I/O means Input/Output and it deals on how read and writes are performed on the internal NAND (not the external card!).
Thanks to roccoadam32, here is a description of the different schedulers:
The Completely Fair Queuing (CFQ) scheduler is the default algorthim in Red Hat Enterprise Linux 4. As the name implies, CFQ maintains a scalable per-process I/O queue and attempts to distribute the available I/O bandwidth equally among all I/O requests. CFQ is well suited for mid-to-large multi-processor systems and for systems which require balanced I/O performance over multiple LUNs and I/O controllers.
The Deadline elevator uses a deadline algorithm to minimize I/O latency for a given I/O request. The scheduler provides near real-time behavior and uses a round robin policy to attempt to be fair among multiple I/O requests and to avoid process starvation. Using five I/O queues, this scheduler will aggressively re-order requests to improve I/O performance.
The NOOP scheduler is a simple FIFO queue and uses the minimal amount of CPU/instructions per I/O to accomplish the basic merging and sorting functionality to complete the I/O. It assumes performance of the I/O has been or will be optimized at the block device (memory-disk) or with an intelligent HBA or externally attached controller.
The Anticipatory elevator introduces a controlled delay before dispatching the I/O to attempt to aggregate and/or re-order requests improving locality and reducing disk seek operations. This algorithm is intended to optimize systems with small or slow disk subsystems. One artifact of using the AS scheduler can be higher I/O latency.
Click to expand...
Click to collapse
In this new version, the app tries to set the I/O scheduler on every block device except for loopN and zramN, so it will match mmcblkN, mtdN (should it matter) and stlN. If you have a device with a different name, curse your manufacturer and kernel author, but it should work provided you at least have mmcblk0 to read supported schedulers. Yeah, it's not perfect but should be more than enough.
For a fine grained explanation, check this post!
Q: ... can you translate it into layman terms?
A: A-yup.
CFQ: good if you have a multi processor (we're not talking dual core... much many more cores...), multi "card" system. We don't. 'nuff said.
Deadline: fast, fast, fast, but maybe one of your services will "clog" all the writes while your gmail is waiting to open that email you want to read. And maybe not.
NOOP: who said Deadline was fast? NOOP is "the fast". (NOOP = NO OPeration = nuthin' to do... ). Good if the optimization is done at the hardware level. 99% of our devices do.
Anticipatory: surely our devices have small and slow "disk" subsystems, so maybe it's worth a shot.
Requested features and roadmap
- Support for different settings in dual-core devices: investigating if it is even possible.It looks like it's possible! It looks like it's useless.
- Sort statistics in order of cpu%: 1.19
- Add "deep sleep time" to stats: 1.19
- Charts in stats: 1.19
- A bigger widget: just send me mock-ups, I'll think about it
- Silent notification on boot: 1.19
- A setting to disable the safety valve on unsafe shutdown: with a big fat warning of "Don't complain to me", ok. 1.21
- Fix the dual core bug, it's the first request! For crying out loud! There's no bug!
Changelog
2013-07-20 - 1.28.2
- r2: Fixed crash when opening About screen.
- r1: Added explicit ACCESS_SUPERUSER permission for transparency.
- Fixed I/O scheduler setting for special devices (e.g.: Minix X5, thanks to DaPa)
- Fixed wrong count of CPUs (thanks to DaPa).
- Updated current translations. If you spot an error, you can fix it at [uri]http://getLocalization.com/noFrillsCPU[/uri]
2013-03-31 - 1.27
- Ability to reset frequency stats.
- Nicer widget layout, especially for low density devices.
- Updated current translations and added Arabic, partial Hindi and Sinhala translation. If you spot an error, you can fix it at http://getLocalization.com/noFrillsCPU
2012-09-01 - 1.26
- Added Themes! Dark, Light, Light & Dark.
- UI improvements.
- Fix FC in Stats screen.
- Updated translations: Czech, German, Spanish, Finnish, French, Croaian, Hungarian, Italian, Japanese, Georgian, Polish, Portuguese (Brazil and Portugal), Romanian, Russian, Swedish, Chinese.
- New translations: Estonian, Western Farsi, Korean, Lithuanian, Latvian, Serbian.
2012-07-07 - 1.25
- New setting: automatically update current frequency in the stats screen.
- New setting: prevent other apps from interfering with frequencies (required for Jelly Bean and some HTC devices).
- Fix: "double sort" issue on stats screen for certain devices.
- Updated translations: Catalan, Chinese (Simplified & Traditional), Czech, German, Greek, French, Hungarian, Italian, Japanese, Polish, Romanian, Russian, Slovak, Spanish, Swedish and Turkish.
- New translations: Croatian, Finnish, Georgian, Indonesian.
2012-05-20 - 1.24
- Updated to latest Google support code.
- Updated German, Spanish, Dutch and Chinese translation.
- Added Polish, Turkish and Malay translation.
2012-04-21 - 1.23
- Minor performance improvements.
- Updated Hungarian, Ukrainian, Russian, Greek (Retrosid) and Japanese translations.
- Added Romanian (Cristian Silaghi), Norwegian (Rezern) and Catalan (Ferran Riu) translations.
- Added a "Donate" button in About > Info. You can donate if you like this app!
2012-03-18 - 1.22
- Hopefully fixed crash when refreshing stats on some devices. If you still get a crash, please contact the developer through email to help him fix this issue!
- Updated Hungarian translation
- Added Ukrainian and Russian translation
2012-03-11 - 1.21
- Android 4.0 Ice Cream Sandwich look & feel on Android 2.1 and above!
- Android 1.6 and Android 2.0 users can use the new app "No-frills CPU Control CLASSIC" which has the old look & feel AND all the features of the regular app.
- Ability to disable safety-valve. Use with caution!
- Changed kernel detection in CPU data. Please send your CPU data again, if you can.
2012-01-23 - 1.20
- Fixed bug: I/O scheduler wasn't applied to all applicable block devices.
- Updated Portuguese translation by Marco Bizarro.
2012-01-15 - 1.19
- New "Settings" screen.
- Ability to select a custom (or silent) ringtone.
- Ability to select a custom vibration pattern or disable vibration entirely.
- Display deep sleep in stats (optional).
- Sort stats by frequency, percentage, partial percentage.
- Graphical representation of percentage in stats.
- Updated Chinese translation by dxdiag32.
2011-12-31 - 1.18.4
- New Portuguese translation by Marco Bizarro
2011-12-28 - 1.18.3
- New Slovakian translation by prescott66.
2011-11-14 - 1.18.2
- New Dutch translation by Spaar
2011-11-12 - 1.18.1
- New Hungarian translation by FellowWings
2011-11-05 - 1.18
- Fixed "black screen" issue with HTC Sensation, HTC EVO 3D and (possibly) other devices. Note: as with other devices, for best results you need a custom kernel, stock HTC will not allow frequency scaling even if you have root.
2011-11-02 - 1.17
- Fix bug on kernels with broken i/o schedulers which caused FC in 1.16
2011-10-31 - 1.16
- Avoid lockup/reboot on particular devices when setting frequencies (Thanks to JoPhj).
- Sort frequencies on particular Samsung devices which have them backwards (Thanks to JoPhj).
- Prevent FC on homescreen widget for devices without root.
- Fix crash when no governors were available.
- Updated japanese translation.
2011-10-10 - 1.15
- Fixed the stupid bug I introduced when changing "unclean shutdown" check... sorry people!
2011-10-10 - 1.14
- Changed the "unclean shutdown" check to support apps such as LCD-Density changer and such
- First release of an homescreen widget
- After updating, clear app data then set again options (only this one time)
2011-09-23 - 1.13.2
- New Brazilian Portuguese translation by Chris
2011-08-28 - 1.13.1
- Fixed danish and czech translations not appeaing for respective users, sorry for the inconvenience!
2011-08-27 - 1.13
- Fixed FC reported to Market when governor wasn't available
- Fixed bug of missing VIBRATE permission reported to Market
- New danish translation by TorbenKB
2011-07-10 - 1.12.1
- New greek translation by dancer_69
2011-07-10 - 1.12
- New french translation by Corentin Garcia
- New spanish translation by Carlos Camacho
- Fixed landscape layout (broken in 1.11 with the new I/O scheduler option) and changed portrait layout accordingly
2011-07-09 - 1.11.2
- Fixes to the chinese translation
- Updates to the japanese translation
2011-07-07 - 1.11.1
- New chinese translation (Simplified and Traditional) by Charlie Cheung
2011-07-04 - v 1.11 (btw, happy 4th of july to da peeps in the us!)
- Initial support for dual core devices (LG G2X/Optimus Dual, Samsung Intercept, ...). Please report any issues you may have. There shouldn't be any, though...
- Added i/o scheduler selection for internal storage memory
- Rewritten detection code to support more non-standard* kernels
- New german translation, many thanks to jdb78. Man, thanks and sorry for taking so long to publish your translation!
2011-05-28 - v 1.10.1
- Fixed english typos in the About screen
- New japanese translation, thanks to Aozora Genei
2011-05-22 - v 1.10
- New about screen added, with changelog, FAQ and license. App now looks like a real one.
- Awesome new icon, courtesy of Anil K Solanki Design (www.thisiswhatwedo.com). Thanks Anil! Little easter egg: if you want to see the old icon, "tap" the new one in the about dialog.
- Fixed FC when trying to send CPU data with no email client installed (d'uh!)
2011-04-29 - v 1.9.3
- Added czech translation by David Kejzlar
- Added "quick check" informations on top of CPU data email
2011-04-10 - v 1.9.2
- Fixed usage on horizontal layout
- Added an initial root check
- Other small code fixes
2011-03-23 - v 1.9.1
- New swedish translation by kallt_kaffe
2011-03-22 - v 1.9
- New option to show a notification on boot
- Bugfix: FC when screen was rotated while progressbar was on screen
2011-03-19 - v 1.8
- New refresh icon (2.2- and 2.3+)
- Added current frequency to the stats screen
- Little GUI improvements
- Improved first screen when run on nonworking devices
2011-03-14 - v 1.7
- First Android Market release. The app is the same as 1.6.1 but with a different package name due to the "BrinkDroid incident". Binary package has been removed from this post in order to avoid duplication, but don't worry: the app is still free and it will always be both free and open source.
Please, manually uninstall the app from the phone and then install through market, this will help you stay up to date with my releases. But I already know that if you are reading this, you're someone who is already keeping up to date...
Code:
adb uninstall it.sineo.android.cpu
2011-03-06 - v 1.6.1
- Reworked from scratch notification icon w/ a Gingerbread version too.
2011-03-04 - v 1.6
- Added "View stats" to see the percentage of usage for each available frequency. Refresh icon is courtesy of Joseph Wain / glyphish.com
- Slight changes in the code.
- Some new texts for translators! Whee!
2011-02-26 - v 1.5 "Why do I have only two frequencies?!?"
- Added support for weird kernels which don't expose the available frequencies as they should. This should fix the issue for people having only two frequencies to choose. Let me know how it goes.
2011-02-25 - v 1.4
- Governor is now applied first, frequencies last. This may or may not fix smartass. It's not so smart from the reports I've got.
- Added german translation (thanks to zantekk)
- Thanks to everybody who sent his data and hasn't got a personal answer. I appreciated it! 1.4 adds kernel and rom information to the sent data, which should have been there in the first place...
2011-02-05 - v 1.3
- Added safety valves on boot: if unclean shutdown is detected or /data/.nocpu or /sd-ext/.nocpu exist, the frequencies will not be updated.
- Added a menu with an option to send me CPU data. No more logcat needed! Horray!
- GUI: configuration screen shows both current and desired values. You'll know if the app is working.
- i18n: added some new strings, translators please send me your new files and thank you for your work!
2011-01-22 - v 1.2.3 EXPERIMENTAL
- Experimental version for Wildfire and Galaxy Tab (and all the devices which didn't work). Please, download and send me a logcat of the app.
- Removed source package due to misunderstandings. No panic, it's still open source and I'll add it back later.
2011-01-15 - v 1.2.2
- Went for the name "No Frills CPU Control"
- Added translations for it (myself) and es (jrsoft)
- Added LICENSE.txt
- Minor GUI changes
2011-01-14 - v 1.2.1
- Fix the "1 GHz" issue
- Small code fixes
Obsolete information, kept just in case...
Latest compatibility report: (Please, not that I am not keeping this up to date anymore, so there may lots more devices which work)
Working
Advent Vega - ? - chris4500uk
Archos 43 IT - stock+root - daveid
Huawei U8220 - CM 6.1 - veloo
HTC Aria - CM 6.1 - the_hatter, CallMeAria
HTC Aria - CM7 - CallMeAria
HTC Desire GSM (lcd screen) - CM7 - D4nt35
HTC Desire HD - CM7 - kiwiboy_1978
HTC Desire HD - Buzz 1.2.2 kernel - mancman
HTC Desire Z / Vision / G2 - CM 6.1.1 - sundar2012, TimD123, Pickx, Azrael.arach
HTC Desire Z / Vision / G2 - CM 7 - adam18488
HTC Dream / G1- CM6.1 - hrk
HTC Dream / G1 - ? - MrFrankfromCM
HTC Dream / G1 - Froyo For Trout - kaabob
HTC Evo 4G - MikFroyo + King Kernel 2.6.32.15 - ccaudio1
HTC Evo 4G - latest Fresh Rom - mprunty
HTC HD2 - Cope's SD Gingerbread - shamez23
HTC Hero CDMA - CM 7 - dburg84
HTC Hero - CM 6.1 and flykernel 12a - nfcarvalho
HTC Incedible - Chad0989 Kernel - ilhe1s
HTC Nexus One - CM7 - jrsoft
HTC Nexus One - MicroMod777 Gingerbread v.20 ROM - masterpfa
HTC MyTouch 4G - CM - bobsbbq
LG Optimus V - CM7 - dburg84
Motorola Droid 2 - Fission ROM - Spitemare
Motorola Milestone - Chronos 1.7 - PsyCl0ne
Motorola xt720 - 2.1 ROMA - dateno1
? - ? - RayearthX
Nook Color - both STOCK and Nookie Froyo - camwinnn
Nook Color - ? - 12paq
Nook Color - rooted on 1.0.1update - hondaxtc
Droid - ? - CJM01
Not working: (please send a logcat so I can try to fix it or try latest again)
Galaxy Vibrant - Nero - lotherius
Epic 4G - ? - mikeschevelle
HTC Hero - CM 6.1 - funkyboy1281
HTC HD2 - android builds? - dohclude
HTC Wildfire - CM 6.1 - patrask
Samsung Galaxy S I9000 - darky's mod v8.0 - ValkyrieSB9
Samsung Galaxy Tab - ? - z3120
Sony X10 - 2.2.1 rom - DaKidSlim
GT 540 - CM 6.1.1 - markbusa
GT 540 - Optimus 2.1 - arvind92
MARCH 12TH 2011: MARKET FRAUD ALERT! Somebody called "BrinkDroid" has published an old release of this app on the Android Market, selling it for $1.99. This is NOT endorsed or approved by me at all, and a DMCA infringement notice has been sent by Google. With "BrinkDroid" releasing my app on the market, I cannot release it anymore until Google fixes this.
Please, look for "nofrills" on your phone Market app, then report a violation, choosing "Other" and putting this text:
App is a scam/stolen from other developer, proof is here: http://forum.xda-developers.com/showthread.php?t=911917[/COLOR]
Thank you.
MARCH 14TH 2011: Yesterday BrinkDroid contacted me and he agreed to remove the application from the Android Market. Unfortunately, the package name is now "owned" by him and I cannot use it anymore. For this reason I have released a 1.7 release which is identical to 1.6.1 but with a new package name (it.sineo.android.cpu -> it.sineo.android.noFrillsCPU). In order to avoid further scams, I have released the app on the Market, see the QR code.
Thank you all for your support.

thanks! The older version FC'd me. 1.2 works fine on the heroc. Thanks again nice lightweight app that works!

Hey Ill give it a shot, Im running Chronos 1.7 on my Moto Milestone. I will post back results. Thanks for all your hard work
~PsyCl0ne
EDIT: So yea it does work, any chance of adding 1.1Ghz, and possibly more frequencies in between 250 and 400??

PsyCl0ne said:
EDIT: So yea it does work, any chance of adding 1.1Ghz, and possibly more frequencies in between 250 and 400??
Click to expand...
Click to collapse
My app will show every frequency which is supported by your kernel. It is really just a simple GUI, all the hard work is done by the kernel.
I know nothing about your phone and ROM. Can you provide me the contents of /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies? If you have Android SDK, just run:
Code:
adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

its not properly detecting clock speeds on my g2/desire-z running cm6.1.1.
It finds all clocks up to 1ghz and then shows multiple 1ghz entries. In reality, there are clocks available from 1 to 1.5ghz

Any chance it will run on the new OC Kernels on the Nook Color? SetCPU is way sketchy. I do not no what type of kernels were just released but I have one up and running on my Nook now. They were not made by the CM team. Would there be any harm trying?

Simple and effective, indeed

hrk said:
My app will show every frequency which is supported by your kernel. It is really just a simple GUI, all the hard work is done by the kernel.
I know nothing about your phone and ROM. Can you provide me the contents of /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies? If you have Android SDK, just run:
Code:
adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
Click to expand...
Click to collapse
Thank you for the quick reply the output that I got from adb was aling_available_frequencies
1100000 750000 500000 250000
Is there any way that you could place these into a config so it starts up with these frequencies instead of being applied when the phone is fully booted up?
~PsyCl0ne
EDIT: If there is anything else I can get for you let me know

hrk said:
Problem is: I'm currently calling it "CyanogenMod CPU Governor" (yeah, boring) and I'm using CyanogenMod icon for it. Since it won't be included I feel like I should find a different name and icon, and this is where the community could give back ... or get a plain "Market" icon and "GUI for cpufreq settings" name.
Click to expand...
Click to collapse
How about "No-Frills CPU freq"
Now, lets install it for fun
and do a comparison between SetCPU vs. No-Frills CPU freq

Woot 6mbs used on nook color, setcpu is about 15 so definitely switching.
I guess the setcpu profiles are useful, I never used them tho, why wait till my batteries low when its 300-950 ondemand always
sent from a Nook Color using xda-app

sundar2012 said:
its not properly detecting clock speeds on my g2/desire-z running cm6.1.1.
It finds all clocks up to 1ghz and then shows multiple 1ghz entries. In reality, there are clocks available from 1 to 1.5ghz
Click to expand...
Click to collapse
The same thing with the MT4G. CM kernel with using setcpu it is OC and capable of 1.4

im running an X10 with the 2.2.1 rom, after i install the apk i get a force close

Thanks for the app. Freed up just 1mb on my Droid. Gonna run it for a while to see how it compares to the profiles on SetCPU. I'd also like to see frequencys above 1.1 too.

camwinnn said:
Woot 6mbs used on nook color, setcpu is about 15 so definitely switching.
I guess the setcpu profiles are useful, I never used them tho, why wait till my batteries low when its 300-950 ondemand always
sent from a Nook Color using xda-app
Click to expand...
Click to collapse
Well that answers my Nook Question. Thanks.
from my modded Android Nook Color tablet,
via the XDA app.

As soon as this will support higher frequencies than 1 ghz I'm going to give it a try.

Apparently the Nero roms for the Galaxy Vibrant are not compatible with this. SetCpu works but this just force closes. Any chance of compatibility?
Tapatalk sent this.

Force closes on my Epic 4G

force closes on my hero running cm6.1

force closes on sgs I9000... running darky's mod v8.0.

works like a charm on my aria running cm 6.1. Just scored 1112 in Quadrant with cpu set to 806 MHz. I have a question though: how does the governor work? And what is the difference between all the different types? Ie. what is the difference between powersave and conservative, etc?
cheers, good work!

Related

[ROM-FroYo] SetR0M 4.5 |UVOC-HAVS-INTERACTIVE||FRF91||Cam-HQ||LED||ECHO| [26/07/10]

Thanks to richardtrip, pete, Kali, Manup456's, persiansown, jimbob343, pershoot, droidbasement
- Froyo A2SD use SpareParts to change where to store apps (internal or external)
- For old A2SD create a ext3-4 partitions and that's all, no need to change in Sapreparts, all apps are installed on ext partitions
- Thanks to #Teamdesire
IF YOU HAVE PROBLEMS WITH THE ROM, WIPE DATA + CACHE and try again BEFORE REPORTING BUGS!!!!
Now available through Rom Manager
HAVS what is it :
The purpose of HAVS is to minimize the power used by the CPU by determining and setting the optimal voltage. At the same time, the maximum voltage by which HAVS can scale to is fixed to a specified voltage depending on the CPU frequency in order to prevent scaling to a higher voltage than what is normally used at a specified voltage. The optimal voltage is actively determined for each frequency and temperature. HAVS actively adjusts the CPU voltage as the CPU frequency and temperature changes.
Interactive governor what is it :
This governor is designed for latency sensitive workloads, UI interaction for
example.
Advantages:
+ significantly more responsive to ramp cpu up when required (UI interaction)
+ more consistent ramping, existing governors do their cpu load sampling in a workqueue context, the 'interactive' governor does this in a timer context, which gives more consistent cpu load sampling.
+ higher priority for cpu frequency increase, rt_workqueue is used for scaling up, giving the remaining tasks the cpu performance benefit, unlike existing governors which schedule rampup work to occur after your performance starved tasks have completed.
Existing governors sample cpu load at a particular rate, typically every X ms. Which can lead to under powering UI threads when the user has interacted with an idle system until the next sample period happns.
The 'interactive' governor has a different approach. Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.
If the cpu was not 100% busy, then the governor evaluates the cpu load over the last 'min_sample_rate' (default 50000 uS) to determine the cpu speed to ramp down
to.
SetR0M Tools and goodies :
- Some nice wallpaper to your Froyo NexTheme here
- Revert to default fonts : SetR0M-AndroFonts
- Revert to default keylayout for wake up phone here
Things you have in 4.5 :
New Radio needed if you come from older version as SetR0M 3.6 (32.41.00.32U_5.08.00.04)
[FULL] SetR0M 4.5 stock kernel 998Mhz Max with interactive governor
[KERNEL] SetR0M 4.5 UVOC kernel 1113Mhz Max with interactive governor
- No wipe required
- HAVS kernel with interactive governor need more testing so coming soon
- Quadrant score 1677 w/UVOC 1113Mhz Kernel and interactive governor (screenshot added)
- Freshly compiled Kali kernel msm
- Added new interactive governor in stock (change governor as "scaling interactive" in setcpu)
- Fixed Led
- Fixed battery drain
- Updated Titanium backup, Fancy Widget, Rom Manager
- Fixed echo
Changelog SetR0M 4.0 :
- Freshly compiled Kali msm kernel and compiled with full optimization
- Updated Romamanager, Titanium Backup
- Fixed default brightness value (thanks to Defrost)
- Updated ADW Launcher and themed
- Fixed some optimizations
- Added new HAVS Kernel not as default download separately and flash like an update.zip
- Optimized theme and fixed some png
- UVOC kernel coming soon
Changelog SetR0M 3.6 :
- Freshly compiled Kali msm kernel
- Really fixed echo
- Fixed GSensor
Changelog 3.5
- Updated kernel last commit Kali (freshly compiled)
- Only stock kernel 998Mhz, OC-UVOC-HAVS coming soon
- echo fixed (thanks to Richardtrip)
- H264 Camcorder
- Updated mediaprofile 480p
Changelog in SetR0M 3.3 :
- Fixed Calendar widget
- Fixed Voice search
- Fixed Download notification bar
- Replaced default MusiGoogle with Music Mod (by Eliot Stocker)
Changelog 3.2
- Removed SetCPU (coolbho3000, author request)
- Updated Titanium Backup, ADW Launcher (themed), Rom Manager
- Fixed third party apps update
- Optimized and zipaligned
- Updated media profile HQ Camcorder (thanks to Defrost)
Changelog 3.1
- Fixed Youtube (Big thanks to Defrost)
- Complete redesign of the rom with last commit from Manup456's (NexTheme), a lot of news
- Added Setcpu and setcpu.txt in sdcard (use only if OC Kernel)
- Optimized internal Android Task Killer, no need apps for that now
- Kali 2.6.32.9 qdsp - Kernel freshly compiled today / LED FIXED thanks to IEF
- Portable hotspot (wifi tether)
- Fixed Openvpn
- ADW Launcher is default now, and themed
- Zipalign a each boot
- Phone.apk from Defrost Rom fix echo
- Camcorder fixed
- High res 800x480 camcorder
- Optimized and zipaligned
- fixed some permission
- optimized process implemented
- zipalign on boot possible with SetR0M tools
- Added Openvpn
- Added Fancy Widget, Rom Manager
- LiveWallpaper from Samsung I9000
- All media from Samsung I9000
- Custom Bootanimation (thanks Potter97)
- Themed all the rom
- Removed Twitter and Facebook (install from market)
- Added SpareParts and themed
- Added Titanium Backup
- Froyo A2SD use SpareParts to change where to store apps
- Superuser, busybox .....
Donator Thanks :
Choong Yoke Choy
stingerpl
Café King
Sophocleous
Ekowanz
Igor Grlica
skynapster
Lorenzo
Kolemar
Paprikapulver
Heinemann
Lee King Chi Kings
I you like my work buy me a
​
Nice! I'll give this a go once it's uploaded. What differences are there now it's de-odexed?
socktug said:
Nice! I'll give this a go once it's uploaded. What differences are there now it's de-odexed?
Click to expand...
Click to collapse
More free space, and now you can theming the framework
JupiterDroid said:
If we are coming from a defrost 0.7d rom, do we have to wipe? or can we just flash?
JD
Click to expand...
Click to collapse
Full wipe is required
Can I apply a Nexus One Cyanogen or Froyo theme to this?
Jeppfi said:
Can I apply a Nexus One Cyanogen or Froyo theme to this?
Click to expand...
Click to collapse
The theme are rom specific you can't
Downloaded, installed and booted. A promising start
Loving the fact the battery icon has the percentage in it...Although the percentage is very small!
Under the call settings menu, what is TTY mode? I don't think I've seen that before.
socktug said:
Under the call settings menu, what is TTY mode? I don't think I've seen that before.
Click to expand...
Click to collapse
text mode for deaf
do you have the battery drain display issue with this rom?
JD
JupiterDroid said:
do you have the battery drain display issue with this rom?
JD
Click to expand...
Click to collapse
I use only for 5-6 hours now but no battery drain, kernel is DeFrost 0.7d and battery drain is kernel specific i think
I think the battery icon in the notification bar is faulty. It hasn't moved from 80%. My battery is currently at 78% in settings.
Re: [ROM-FroYo]SetR0M RC1 Deodexed Froyo !!!
I think the battery icon in the notification bar is faulty. It hasn't moved from 80%. My battery is currently at 78% in settings.
Click to expand...
Click to collapse
Only 10 by 10
-------------------------------------
Sent via the XDA Tapatalk App
will you do me a favour and check your battery usage and tell me your stats please mate
JD
Yip, display is showing 62% after 20 minutes of uptime. So I'd say that bug is still to be sorted!
I'm getting linpack scores of 41.01 and It's not overclocked, so that's good!
is it the display bug, is your display high?
Also did you full wipe before you came to this rom? i did a logcat of the system on 0.7d and there was many errors generated, i think this is whats causing the problem, but getting a answer out of richard is like waiting for a solar eclipse
JD
JupiterDroid said:
is it the display bug, is your display high?
Also did you full wipe before you came to this rom? i did a logcat of the system on 0.7d and there was many errors generated, i think this is whats causing the problem, but getting a answer out of richard is like waiting for a solar eclipse
JD
Click to expand...
Click to collapse
I wiped using the new recovery in the rom manager. My brightness is set to auto, which is fairly low, and granted the display has been on a fair bit as I set it all up again!
I suppose a few hours will tell more. Considering this is based on richard's kernel I imagine the bugs will be here too. I have to say though that this one is a fast wee rom!
The display issue has nothing to do with excessive power drain, it's just the status software reporting an incorrect value for display.
So please, leave it be, and concentrate working on i.e video recording (720p any1? Wanna leave the iPhåne 4 in the dust! )
All respect goes to trip for his hard work, I prefer him working on the DeFroST rather than discussing all kinds of crap, wheter the cat should be neutered, or whatever
Troels
Denmark
puttitat said:
The display issue has nothing to do with excessive power drain, it's just the status software reporting an incorrect value for display..............
Troels
Denmark
Click to expand...
Click to collapse
Do you have a source for this?
socktug said:
Do you have a source for this?
Click to expand...
Click to collapse
I'am a (little) source. Before the desire i've had a milestone (stock android, no special interface like sense or something else). I've had the same batterypower like the desire but there were always display around 60 or 70% battery usage. so it seems that this is a wrong (or maybe right?) fact of the stock android.
you have to excuse my bad english^^...but i can the german language much better

[ROM] ShadowMOD-BR v0.3a (hybrid telus/retailbr -motorola crap -bugs +speed)

Hello All!
I've started a little "rom project" after using the excelent EclairMOD by 89luca89 to better suite my needs and probably from other Brazilian users, therefore, here follows my ROM.
It's based on the Telus Canada ROM (SHOLS_U2_03.11.0) with configurations from the RETAIL-BR ROM (SHLA_U2_03.05.0), without any carrier customization and brought to as much vanilla as possible with additional overclock/undervolting modifications and other "necessary" mods, like memhack, JIT and so on.
I've put up a page on the project to centralize the information, including a full tutorial on how to flash vunerable recovery sbf and so on in Portuguese for those interested. The page is located at: http://shadowmodbr.posterous.com/
----------------------------
ShadowMOD-BR v0.3a
MOD based on TELUS Canada ROM (SHOLS_U2_03.11.0) with modifications for Brazilian networks based on RETAIL-BR ROM (SHLA_U2_03.05.0).
I AM NOT RESPONSIBLE FOR ANY PROBLEM CAUSED BY THE INSTALATION OF THIS MODIFICATION. IF YOU PHONE BLOWS UP, YOUR DOG GETS FLU OR SOMETHING LIKE THAT, IT’S YOUR ENTIRE RESPONSABILITY.
######## ATTENTION ########
1) It is necessary to apply a vunerable recovery SBF (vr.sbf) to install this ROM.
2) This ROM should be applied with G.O.T. OpenRecovery using the nandroid restore option. Not tested with others.
3) As all ROMs, do a factory reset/complete wipe before installation.
######## ATTENTION ########
Changelog (v0.3a):
FINALLY REMOVED ALL TELUS CUSTOMIZATION:
** deleted /system/etc/motorola/com.android.browser/operatorhomepage.mkitso (removed telus as start page)
** added /system/etc/motorola/com.android.browser/settings.mkitso (configure motorola as start page)
** added /system/etc/motorola/com.motorola.EasyPrefix/ (not used, replaced in case someone reinstall)
** added /system/etc/motorola/com.android.phone/channel_database.mkitso (set default brazilian channels)
** added /system/etc/motorola/com.motorola.providers.settings/settings.mkitso (sms retries, interval, etc)
** replaced /system/etc/motorola/com.android.browser/database/bookmarks.xml (remove telus bookmarks)
** replaced /system/etc/motorola/com.motorola.android.providers.settings/
** replaced /system/etc/motorola/com.motorola.dock/dock_setting.mkitso (not used, replaced in case someone reinstall)
** replaced /system/etc/motorola/com.motorola.providers.messaging/mms_config.mkitso (removed limits)
** replaced /system/etc/motorola/com.motorola.widget.weather.accuweather/weather_setting.mkitso (not used, replaced in case someone reinstall)
** replaced /system/etc/motorola/comm_drv/mmins_cust_emergency_number.cfg (add brazilian emergency numbers)
** replaced /system/etc/motorola/comm_drv/mmins_telephony.cfg
** replaced /system/etc/location.cfg (use motorola servers for a-gps fix instead of telus)
** replaced /system/etc/bluez/main.conf (configured default bluetooth name to A853 Milestone)
** replaced /system/etc/motorola/com.android.providers.settings/secure.mkitso (default enable gps location and data roaming)
ADDITIONAL CHANGES:
** changed /system/etc/motorola/com.motorola.android.fota/flex.mkitso to disable further OTA config (not used, edited in case someone accidentally reinstall)
** changed /system/etc/motorola/com.android.providers.settings/system.mkitso
- date format to brazil standard (dd-MM-yyyy)
- set to get automatic time from network
- set default time format to 24hs
- increase default screen timeout to 60s
Changelog (v0.3):
This TELUS release fixes (release notes from Motorola):
- Improved Stability: Prevents the phone from random power cycling (turning off and on), and minimizes force closes in certain applications.
- Alarm Improvements: Resolves issues with alarm functionality.
- Music Player Functionality: Eliminates accidental starting of music.
- Audio Quality Enhancements: Eliminates instances of choppy audio experienced by some users.
- PIN Lock Improvements: Allows users more flexibility in setting the PIN Lock timer when using Exchange email.
- Flight Mode Enhancement: Ensures phone service is restored after leaving airplane mode.
- "My Location" Improvements: Resolves the issue of Google Maps failing to find "My Location" when "Use Wireless Network" is enabled without using GPS.
ShadowMOD-BR v0.3 modifications:
- All applications have been zipaligned to decrease memory usage and speedup access.
- Installed superuser utilities v2.3.6.1.
- Installed Memhack patch increase available storage space on internal ram.
- Installed JIT compiler to increase applications speed.
- Installed Busybox at /system/xbin.
- Baseband configuration from RETAIL-BR.
- Conservative governor as default scheduler to help with battery life. The interactive governor is also loaded in case you want to use it (with SetCPU).
- Overclock frequencies set to 125/250/500/750*/1000MHz and "safely" undervolted at 30/35/45/56/62 using module v1.4.2.
- Added Android Scribble 2.0 bootanimation by GLa'DOS and 5noc, modified by me to match Milestone resolution and with a higher framerate.
- bprop: Wi-Fi rescan speed set to 60s instead of 15s to help decrease battery usage.
- bprop: Increased dalvikvm heapsize from 24mb to 36mb.
- dprop: OTA updates turned off.
- dprop: Google DNS addresses included in order to fix some connectivity issues that happens on 2.1.
- bprop: Changed model/brand to look like a RETAIL-BR A853.
- bprop: Default language changed from English/Canada to English/United States.
- bprop: Changed usb mode default from 0 to 2 (USB storage as default).
- bprop: Changed default ringtone to Red_Beats.ogg (Brazilian default).
- dprop: Changed default timezone to America/Sao_Paulo.
- dprop: Enabled SMS char conversion for Latin America.
- dprop: Disables rtsp_nat.
- dprop: Removed the reference of TELUS as default carrier.
- apnsconf: Changed APNs to match Brazilian defaults for auto configuration.
- voicemailsconf: Changed voicemail numbers to match Brazilian defaults for auto configuration.
Applications removed:
- AlarmClock
- Facebook
- FOTA
- HelpCenter
- MediaGallery
- MotAccuWeatherWidget
- MotoCAL
- MotoGAL
- Motonav
- PersonalPortal
- Stk
- VideoPlayerMoto
- VSuiteApp
- WorldClockWidget
Applications replaced:
- MotoCarDock: using CarDock from N1/Froyo.
- Dock: using DeskDock from N1/Froyo.
- Music: using Music 1.6 from CM (new player and great widget).
- Browser: using RETAIL-BR version (for bookmarks/start page, etc).
Applications added:
- GenieWidget: time widget and news/weather from N1/Froyo.
- IM: MSN/AIM/Yahoo messenger from T-Mobile G1 that integrates with contact list.
- wireless.tether: Bluetooth and Wi-Fi tethering.
- VoiceDial: add voice recognition on some apps (just to prevent FC of some apps).
- VoiceSearch: add voice recognition on some apps (just to prevent FC of some apps).
----------------------------
There's also additional patches/updates at the download section of my webpage for further overclock/governor/launcher modification as follows to by applied with G.O.T. OpenRecovery "Apply Update" option:
Replace Launcher:
- LauncherPro
- ADW.Launcher
- Stock launcher
Change overclock:
- 125/1000, low voltage [default]
- 250/1000, low voltage
- 125/800
- 250/800
- Remove overclock [original]
Change governor:
- Conservative [default]
- Interactive
- Remove custom governor [original]
For those who want the ROM in another language (including PT-BR) I suggest using MoreLocale 2.
Everything is at my homepage, but exclusively in portuguese ATM.
Hope you guys enjoy it! Been great so far for me!
Obrigado
Muito obrigado!!!
Ainda não decidi se app2sd é bom ou ruim. Qual tua opinião sobre isso?
Abraço
Rafael.
Pessoalmente eu tive mais problemas com o app2sd do que solução, por isso que decidi nao incluir na ROM.
Wow, flashed here, working smoothly.
Great work man, keep it up.
I've decided to use the Telus Canada ROM as a base for the project because its newer and with fewer bugs. The configurations/customization however are still for the Brazilian networks and have been extracted from the RETAIL-BR ROM.
It's necessary to do a full wipe before the installation of this version because a lot has changed. I suggest using Titanium Backup to backup your apps/config and SMSBackup+ to backup your SMS.
Have fun!
edgardcastro said:
I've decided to use the Telus Canada ROM as a base for the project because its newer and with fewer bugs. The configurations/customization however are still for the Brazilian networks and have been extracted from the RETAIL-BR ROM.
It's necessary to do a full wipe before the installation of this version because a lot has changed. I suggest using Titanium Backup to backup your apps/config and SMSBackup+ to backup your SMS.
Have fun!
Click to expand...
Click to collapse
I am getting some reboots with your rom, maybe this will fix it?
But let me ask you something, can I reinstall the stock 'despertador'?
Keep it up!
romuloarpini said:
I am getting some reboots with your rom, maybe this will fix it?
Click to expand...
Click to collapse
Probably. On v0.2 I've used more agressive undervolt settings which may lead to this ocassional reboots. On v0.3 I've returned to a more conservative undervolting.
romuloarpini said:
But let me ask you something, can I reinstall the stock 'despertador'?
Click to expand...
Click to collapse
Surely can. I will make the original available as a update.zip. You do however have an Alarm Clock installed. Just enter at the "Clock" application and it's there.
Thanks for your quick reply, man.
I will give it a try then.
Edgar,
I m having some problems with youtube on this rom... it sometimes go out of sync, but usually it crashers while loading up and the phone reboots.
Could you please test youtube via wifi on 0.3 to see if it´s working well? Because Im still stuck at 0.2.
Thanks in advance.
3A
Tenho tido diversos reboots com a 3A. está com Over de125x800.
Abraço.
Hello there, I've tried your ROM for some time and liked the speed but had problems with some games (air control lite would just go back to the homescreen), I think you should release a version without overclock and undervolting or as an optional...
For those having problems with reboots, try to use a HIGHER minimum speed overclock. Some handsets doesn't seem to handle 125mhz very well. Get the 250x1000 or the 250x800 patch on my webpage.
You can also remove the overclock/undervolting/governor with additional patches that is also available on my webpage.
Those patches are to be applied using GOT OpenRecovery "apply update" option.
In the homepage of developer has been release updates for that. The links is in the first post.
I have no more problems after apply 800mhz clock.
New "hotfix" release to further remove Telus customization and fix some a-gps issues.
I've also included some additional links on the first post for those wanting to replace overclock/governor and so on!

[APP][>= 2.2] CPU Adjuster

Hi,
A new voltage control and CPU adjuster app is in the city...
For root users, this app allows to create and automatize CPU and GPU via a profiles manager.
For non root users, you're able to get information about the CPU (governor, speeds, etc).
You can define profiles that contains:
- CPU governor
- Max CPU Frequency
- Min CPU Frequency
- Enable/Disable cores in dual/quad cores (if kernel supports)
- CPU voltages for all frequencies (if kernel supports)
- I/O Scheduler
- GPU frequencies, voltages, stay on and thresholds (if kernel supports)
- Charger voltages (if kernel supported)
- Governor parameter tweaks
You can define profiles that are automatically activated on these conditions:
- Battery low
- Temperature higher
- Screen on/off
- Charging
- Connected to PC
- Voice call started
- Active application
Also, you can view CPU information, like times in state, governor max/min speed and much more.
XDA title page (Dec, 2 2012): http://www.xda-developers.com/android/manage-your-cpu-with-cpu-adjuster/
Used permissions
- Write external storage: To backup profiles
- Receive boot completed: To automatically start service on boot (enable in settings)
- Read phone state: To automatically detect voice call start/stop
- Get tasks: To get active task (in order to correctly apply profiles that depends on the active task)
- Internet: Added small ads (via google ads)
- Billing: For donation control (you can purcharse PRO version inside the app)
- Battery stats: Needed to show the screen on time and battery up time
If you've troubles or issues, please, send a logcat.
Free version includes Ads, is limited to 3 profiles and isn't capable to make backup of your settings.
You can buy the full version inside the app in order to remove Ads and get full app capabilities.
Please, is the app doesn't works (partially or totally) send a message to [email protected] or post in this thread.
Play Store Link
https://play.google.com/store/apps/details?id=com.ryosoftware.cputweaks
Translation interface
You can add language translations using the link: http://www.getlocalization.com/CPUAdjuster/
ROM cookers
You are able to include this app in your ROMs at your discretion but you meet the following rules:
- Can't theme the app
- Can't make any modification in the app
- Can't resign the app
- Thank in the ROM thread
- If you're interested to set default values for any parameter in your ROM, you can contact via PM or email
PLEASE, IF YOU'VE ISSUES: CONTACT
DIRECT DOWNLOAD
CHANGELOG
1.0.0
First release
1.1.0
Added charger voltages to the profiles view
Added 30 seconds delay before first profile activation (after on boot event)
Added a file in /sdcard/CpuProfiles/files-initialization.log to control missing files (post if app shows the missing files message)
Added a file in /sdcard/CpuProfiles/automation.log to control the automatically activated profiles
Added compatibility with Android 2.2 (Froyo) and higher
Added ads in the main activity
Solved bugs
1.3.0
Removed toast on service start/stop
Added compatibility with old devices
Added more compatibility with charger voltages
Added more compatibility with gpu voltages
Added current voltages in cpu history tab
Added battery info to the device info tab
Added notification at startup to countdown the service autostart
More accurated kernel info in the device info tab
Corrected some strings
1.4.5
Added more support to overclock/underclock
Added support for non rooted devices (in read mode, of course)
Added in app billing donation
Expanded voltages in profiles voltages view by default
Number of processors is correctly counted in quadcore processors
Added option to modify all voltages at the same time (in cpu voltages view and in gpu voltages view [in profile edition])
Small UI improvements
Added german translation (thank's to [email protected])
Added french translation (thank's to The [email protected])
Added spanish translation
1.4.6
Added ability to disable profiles
Small strings update
1.5.0
Enable/disable second core for profile (only available for Tegrak dual core)
Profiles are now marked disabled after creation or edition (for security purposes)
In profiles list, if you edit the active profile, the active profile mark dissapears
1.5.1
Fixed issue with some kernels that don't exports CPU frequencies
1.6.0
Graph with CPU speed evolution (it can be run in background, for statistical purposes)
Ability to clear history (time in states)
UI improvements (subtitle font color themeable and other small changes)
1.7.0
Corrected bug in CPU history percents, they miscalculate afther a clear
Compatible with more devices
Capable to show real history (even if you've previously cleared)
Bugfixes
1.8.0
Capable to activate/deactivate single cores in quadcore processors (SGN-II, ...) [if kernel supports it]
Added some dialogs in profile settings in order to clarify
1.8.1
Corrected bug in CPU speed statistics (for kernels that doesn't export CPU frequencies)
Updated translations
2.0.0 (important notice)
Compatibility with more devices
Added per-app activation to profiles
UI improvements
Added current GPU speed to the general info tab
Notifications can be show in toasts or in status bar
Added CPU history graph in general tab
Added GPU current speed in GPU tab (in profile edit view)
Added GPU minimum time in state for profile (this is the minimum time that GPU remains in a state even if charge load changes)
Added portuguese translation (thanks to [email protected])
2.0.1
Small bugfixes
Added setting to configure the startup notification behavior
2.0.2
Small bugfixes
Add toggle to show CPU speed in general tab in text or graph format. Simply click in the graph to show CPU speed in text format or in the text to show the graph
2.0.3
Cosmetic changes
Toggle in profiles tab show service status nor the user enable state (this only affects after a upgrade)
2.1.0
Added ability to overclock GPU (kernel/device specific feature)
Solved service status toggle issue
GPU management compatible with Siyah kernel
Upgraded to In-App billing v3
Bugs fixed
2.1.2
Little bug corrected
2.1.3
Small improvements
Small UI changes
More accurated GPU speed calculation (useful for devices that uses non standard speeds)
2.3.1
Added GPU up/down thresholds
Added GPU help dialog (press menu key in GPU tab in Profile Edition activity
Tweaks for specific governors: ondemand, lulzactive, smartass, conservative and interactive
Solved issues with trial period calculation
Added battery up time to general tab
Added screen on time to general tab
Removed auto update of general tab (except for CPU and GPU speed) [really isn't needed and stress up the cpu]
Added refresh button to general tab
Added chinese translation
Minor UI changes
2.4.0
Enable/Disable group of tweaks in each profile
Solved bug when upgrade and SuperSU is set to forget permissions on reinstall
2.4.1
Added tweaks for pegasusq
Added switch to show governor parameter descriptions in english (more accurated)
Bugfixes
2.5.0
Capable to apply your settings on-the-fly, without define a profile
Linked up and down thresholds in GPU
Internal improvements
2.5.5
Added total/free RAM in general tab
Internal improvements in superuser adquisition
2.5.6
Added support for kernels that don't export GPU thresholds
2.6.0
Added support for custom init.d scripts (look in settings)
2.6.1
Added support for some MALI parameters (look in profile advanced tab)
Added hungarian translation (thanks to szornyu)
2.6.2
Added ability to create folders (from init.d scripts folder selection)
Removed 14 days demo period (no expiration time now)
2.6.3
Small improvements
Updated translations for french, hungarian, chinese and german
2.6.4
Added shortuts to running apps and battery usage in CPU general tab (click in the six last items)
2.6.7
Added improvements to ROM cookers support
2.6.8
Added italian translation (thanks to [email protected])
2.6.9
Compatibility improvements
2.7.0
Activation times for profile (statistical info) in profiles tab
Setting to control if frequencies are set before or after the voltages
Information dialogs
2.7.3
Solved little bug when calculating profile active times
Added boot delay timeout (from 0 to 90 seconds, default 30 seconds)
Updated german, hungarian and italian translations
2.7.4
Updated german, hungarian, chinesse and italian translations
2.7.5
Correct bug calculating profile activation time
Updated german translation
2.7.6
Improvements in the init.d folder selection dialog
Added a handbook to the /sdcard/CpuProfiles folder
Minor updates in chinese, hungarian, italian, deutch and french translations
2.8.0
Profiles sorted using priority value
Apps selector sort list using the app label
Added max CPU frequency when screen if off (if kernel supported)
Shows multicore information for each core separately (CPU speed, CPU history) (if kernel provides the information)
Added battery temperature to general tab
Removed capture statistics activiy (really isn't needed)
Added russian translation (thanks to DEADover)
2.8.2
Max/Min GPU voltages calculation update
Added changelog (goto settings)
2.8.3
Corrected bug in max/min GPU voltages calculation
Updated translations
2.8.4
A bit un-stresses CPU when calculatin the current CPU speed in general view
Added partial slovenian translation (thanks to MMtranslating)
2.8.5
Added new superuser permission to manifest
Solved certain issues with Galaxy Nexus
Updated Slovenian translation
2.8.6
Compatibility with max/min/governor for kernels that don't shares the cpu core values
Solved issues with notifications when a core is disabled and you want to show the current CPU speed or history
Removed apps selector for screen off profile (has no sense)
Updated Slovenian and russian translations
2.8.7
Added new profile type: After boot active for X minutes
2.8.8
Check app signature at startup
Updated translations
2.8.9
Corrected bug in profile apps selection
Updated translations
2.9.0
Added more control in governor tweaks in order to test if files exists before set the values (prevent fails if files don't exists)
Added support to kernels that uses no standard values to set the CPU voltage steps (like Kowalski for LG Optimus 2X)
Added support to kernels that limites min/max GPU frequencies (like Perseus for Samsung Galaxy Note II)
2.9.1
Logcat for the app is set to false by default (enable it in settings if you need send a log to me)
3.0.0
Added ability to send logs to the developer without use any external software (go settings to generate and send it)
Added ability to export logcat to sdcard (normal and colored log) [PRO feature]
Added graceful time to In-App license verification (for those that has a unstable connection)
Added beta channel (enable it in settings and receive updates directly on your device) [PRO feature]
Preferences activity resorted
Solved issue in some devices that aren't running application after boot if screen is off
3.0.1 (only in Beta Channel for now)
Tweaks for more governors
3.0.3 (only in Beta Channel for now)
Corrected bug in Beta version mamagement
3.0.4 (only in Beta Channel for now)
Added tweaks for more CPU governors
Added tools menu (only option is "forze media scan" for now)
3.0.5
Includes all unreleased beta code in the general app
Compatibility updates
3.0.6
Bug corrected
3.0.8 (only in beta channel for now)
Uses real external storage unit for backup/restore in Samsung devices, if available
3.0.9 (only in beta channel for now)
Added general kernel preferences that are loaded in boot time (if configured)
For now general preferences includes ability to set max. battery charge percent and force fast charge (all features are kernel dependent, of course)...
3.0.10 (only in beta channel for now)
CPU voltages interface supports most kernels for Nexus4
3.0.11 (only in beta channel for now)
Allow to update vibration intensity in kernel settings
3.0.12
Previous beta updates published to all
Bugs corrected
Translations updated
Please add custom USB/DC charging voltages and Sound Volume tweaks.
rgreat said:
Please add custom USB/DC charging voltages and Sound Volume tweaks.
Click to expand...
Click to collapse
Added to To-Do list.
Thank's
Could u list what voltages work best for CPU speeds
Sent from my SGH-T679 using Xparent ICS Tapatalk 2
hatememarkz said:
Could u list what voltages work best for CPU speeds
Sent from my SGH-T679 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
it depends from the device, rom and cpu.
try to low 25 each step and, if working fine down another 25 until you have
freezes or reboots
Here's more info
Sent from my SGH-T679 using Xparent ICS Tapatalk 2
Not working for Xperia S on stock based rom. Says missing files.
Sent from my awesome Xperia S 'Nozomi'
l.Urker said:
Not working for Xperia S on stock based rom. Says missing files.
Sent from my awesome Xperia S 'Nozomi'
Click to expand...
Click to collapse
please
send me a logcat
A nice new tool. If you need a German translator for this APP ...
l.Urker said:
Not working for Xperia S on stock based rom. Says missing files.
Click to expand...
Click to collapse
I would be interested in this tool for Jelly Bean. I tried it and I also get this message.
As for translation, I can take care of french!
parse error.on huawei u8230 cm7.kernell 2.6.32
desalesouche said:
parse error.on huawei u8230 cm7.kernell 2.6.32
Click to expand...
Click to collapse
sorry, v1 is only to ics and higher
i will release v2 in 1-2 days, with android 2.3 support.
stay connected
The Smith said:
I would be interested in this tool for Jelly Bean. I tried it and I also get this message.
As for translation, I can take care of french!
Click to expand...
Click to collapse
no problem.
please, send me a logcat with the app initialization, in order to known the missing filenames
bartito said:
no problem.
please, send me a logcat with the app initialization, in order to known the missing filenames
Click to expand...
Click to collapse
Awesome, will do very soon.
Hello,
Great app, thanks.
Default profile seems not automatically activated on boot.
I need to activate it manually even with check box "enable on boot" checked.
Behavior like "voltage control" app, automatic apply with countdown on notification to abort before apply if needed would be great.
Thanks
User_99 said:
A nice new tool. If you need a German translator for this APP ...
Click to expand...
Click to collapse
Thank's
Finishing a previous work and after that i will contact with you
The Smith said:
I would be interested in this tool for Jelly Bean. I tried it and I also get this message.
As for translation, I can take care of french!
Click to expand...
Click to collapse
Please, download 1.1.0 and try another time.
Post the /sdcard/CpuProfiles/files-initialization.log after error
desalesouche said:
parse error.on huawei u8230 cm7.kernell 2.6.32
Click to expand...
Click to collapse
1.1.0 is compatible with Gingerbread.
Please try it
cook said:
Hello,
Great app, thanks.
Default profile seems not automatically activated on boot.
I need to activate it manually even with check box "enable on boot" checked.
Behavior like "voltage control" app, automatic apply with countdown on notification to abort before apply if needed would be great.
Thanks
Click to expand...
Click to collapse
Solved in 1.1.0.
Please try it
bartito said:
Solved in 1.1.0.
Please try it
Click to expand...
Click to collapse
Default profile still not activated after boot.
Could you add mV on cpu main screen (there is enough space for it and it's convenient to be able to check without the need to expand the box)
Charge page typo. Replace mV by mA.
Hi, ran into missing files error as well. This is the file initialization log file. Am on Slimbean 3.
ls /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels: /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels: No such file or directory
Requested file /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq exists
Requested file /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state exists
Sent from my GT-N7000 using Tapatalk 2
Kersian beat me to it! I also was running Slim Bean 3.0.
I still have something for you. I tried it on Android 4.2 and still get a missing file error. I attached the logcat as requested, and the file output by the app itself tells us about the same missing file mentioned by Kersian.
BTW, in the warning popup at the beginning, if you want to be consistent with similar popups from other apps, we should read "Don't show anymore" and not "Doesn't show anymore".
Keep up the good work and let me know too if you want the french translations!

[APP][ROOT][4.0+] Performance Control - Open Source

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][Tuneable][STOCK/CM] SmoothMod Kernel for SM-T311

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.

Categories

Resources