[Android Software/Hacking General [Developers Only]] Paget96:
CHANGELOG

PS: All the changed tweaks parameters were changed in all governors which have the quoted parameter.

[b]v4.1[/b]
- Rewritten code from scratch
- CPU detection algorithm updated
- Code size reduced by 70%, increased efficiency and better loop controls
- Values revised for all devices and profiles
- GovChanger removed (there are app alternatives)
- Profile values arranged in tables for easier access and updates
- Algorithm depended values such as target_loads added to hybrid script
- Increased optimization and overall efficiency
- Disabled loop execution by default
- Room for community involvement in future releases

[b]v4.0.2[/b]
- Fixed Tuned and Tweaked colors and cpus
- Fix typo in 2>/dev/null
- Profiles will be re-evaluated in next update on this base
- Changed file structure to combat problems caused by recovery
- **(For DEVS in GIT) Added build sh and bat (win and Linux) for developers working with GT on git (Life saving feature for developers from @F4uzan)
- **(For DEVS in GIT) Added option to push zip to sdcard and reboot to recovery using adb (Linux only ATM)

[b]v4.0.1[/b]
- Fixed Init.d errors caused due to bad mount
- Fixed problem of mounting data partition in Installer
- Updated Tunables for Battery
- Updated Uninstaller
- Fixed typo in algorithm for Triple cluster devices

[b]v4.0[/b]
- Now supports more devices! (mostly cluster devices)
- New algorithm in detecting clusters!
- New Algorithm in calculating tunables
- Tuned Parameters updated
- Tweaked Parameters added
- Fixed On boot error
- No more gt_test! All GovTuner init is now in gt_init
- Customizable sleep time in gt_init
- SuperSU su.d support
- Increase Performance Added **
- New Parameters for ondemand/conservative based governors
- Fixed Several issues with several devices
(S7 Edge, Mi 4i, Mi 4c?, Note 4, Lenovo P1 Turbo, Zenfone 2 and etc)
- Governor Changer Updated **
- Added option to change Execution Time Interval **
- Removed unsupported parameters for certain governors
- First launch since boot detector added
- Profiles' code reduced
- New UI with fancy animations
- Optimized Code

[b]v3.9.1[/b]
Added Cluster support universally for all Android devices (cannot give 100% assurance as we don't own all the devices)"
Reworked UI
Added option to change governor from main menu
Added option to enable/disable power efficient workqueues
New Dynamic method for assigning target load frequencies , now the frequencies specified will not be out of range for your device
New Dynamic method for assigning hispeed_freq and go_hispeed_load
Interactive governor - major update, values updated for all Profiles
Fixed many errors and bug messages

[b]v3.8[/b]
Battery profile improvements
Balanced profile improvements
Performance profile improvements
New optimizations for Zzmoove governor
New optimizations for Zzmoove hotplug

[b]v3.7.1[/b]
Fixed bugs

[B]VALUES ARE APPLYING! DON'T WORRY FOR THE ERRORS WHICH ARE POPING-UP. VALUES [U]ARE[/U] APPLYING![/B]

[b]v3.7[/b]
Battery profile improvements
Balanced profile improvements
Performance profile improvements
Added Zzmoove governor compatibility
Added Zzmoove built-in hotplug compatibility [I]- Zzmoove has a built-in hotplug which has a much better compatibility with the governor than any other hotplug. Govtuner configures the governor and the hotplug for the best usage according to the selected profile.[/I]
Added more options to user in the main screen [I]- Hotplug and hotplug check when using Zzmoove governor [B]ONLY.[/B][/I]
Added Zzmoove/Stock hotplug apply for zzmoove governor users
Added new hotplug option to switch from Zzmoove/Stock hotplug
Code optimizations
Bug fixes

[B]PS:[/B]This is the first release with Zzmoove compatibility. Instability may occur since we are waiting to hear [B]YOUR[/B] voice to optimize it even more. In our tests, Zzmoove has performed really well for all the profiles and we had much better results than using any other governor.[B] Please, consider giving a feedback for this version [U]mainly if you're using Zzmoove governor[/U][/B]

[b]v3.6[/b]
Battery profile improvements
Balanced profile improvements
Performance profile improvements

[I][B]This version is focused to stablish a notable difference between the profiles. New values were applied for all interactive based tunables.[/B][/I]

[b]v3.5[/b]
[B]Implemented new way of applying tweaks based on Tunables
This new method will depend on tunables only and not on governor, so many governors will be automatically supported[/B]
Battery profile improvements
Balanced profile improvements
Performance profile improvements

[b]v3.4[/b]
[b]Introduced the new scaling system for battery and performance profile
[/B]This new system scales more dynamic according exclusively to the target_loads and is aimed to have a better performance without sacrifying the battery
Improved the tunables for all profiles's interactive (and based) governor
Fixes and improvements in "apply on boot" for some devices

[b]v3.3.3[/b]
[I][B]BETA RELEASE[/B][/I]
Introducing a new scaling method which aim to have a better performance than the previous method.
Possible fix for script not running on boot.

[b]v3.3.1[/b]
Bug fixes
Changed UI colors

[b]v3.3[/b]
Improved balanced interactive governors
Improved performance interactive governors
Improved battery interactive governors
[B]Code improvements and bugfixes
[/B]Dynamic Logo - Logo changes color based on profile
Init.d status added to Main menu
GovTuner process status added to main menu
Some more visual changes in main menu
[B]Improved code processing [/B]
Added CPU Min and Max frequency, device model, android version information
[B]**Code size is reduced by almost HALF**[/B]
Fixed various errors of files not showing up

[b]v3.2[/b]
Reformulated all interactive based governors for all profiles
Reformulated all ondemand based governors for all profiles
Optimized the profiles according to the designated function:
Battery is now more battery saver than it used to be
Balanced is now a real mix between battery and performance
Performance is now "I don't care for battery, i want my device as the flash" but for sure with some battery saving tweaks :D

[b]v3.1[/b]
Updated uninstaller -- [I]Please, download the updated uninstaller to uninstall all the proper files from govtuner if you want/need.[/I]
Tweaked all interactive based governors for all profiles

[b]v3.0.3[/b]
Reverted from the old scaling method
Recalculated target_loads for all profiles

[HIDE][B]v1.0[/B]
Initial version

[B]v1.1 [/B]
Fixed permissions typo
Adjusted some tunables for above_hispeed_delay

[B]v1.2[/B]
Fixed installation error for some users
Fixed compatibility with SD810/820 ~ Thanks [MENTION=5668533]DeveDroid[/MENTION]
Fixes in code

[B]v1.3[/B]
Fixed installation
Fixed permissions
Added Conservative governor
Added Yankactive governor
Added Intelliactive governor
Added Bioshock governor

[b]v1.3.1[/b]
Fixed an error in the installation folder

[b]v1.3.2[/b]
Fixed a typo which was causing error in terminal emulator

[b]v1.4[/b]
Added Lionfish governor

[b]v1.4.1[/b]
Added some missings in code
Fixed Lionfish governor

[b]v1.5[/b]
Tweaks updated for conservative based governors
Tweaks updated for interactive based governors
Added Impulse governor
Added Uberdemand governor
Added Electroactive governor
Added IntelliMM governor
Added Barry_Allen governor
Added BluActive governor
Added DanceDance governor
Added Lionheart governor
Added PegasusQ governor

[b]v1.5.1[/b]
Code fixes and optimizations
Permissions fixed in updater-script
Added Ondemand governor
Added Smartmax governor
Added Optimax governor
Added ConservativeX governor
Added Interactive_pro governor

Added [B]Source Code[/B] to the main post: [url]https://github.com/Debuffer-XDA/Gov-Tuner[/url]

[b]v1.5.2[/b]
Fixed installation error

[b]v1.5.3[/b]
A [B]huge[/B] code optimization. [I]This should fix a lot of bugs in installation and script running.[/I] [I]This is a really important update.[/I]
Some fixes in some governors.

[b]v1.5.4[/b]
Added Wheatley governor
Added Ondemandplus governor
Added Smartmax_eps governor
Added Intellidemand governor
Added Tripndroid governor

[B]Starting now we are reducing the number of governor additions and we are focusing on code optimizations and tuning the already built-in governors. This does not means you have to stop requesting for governors compatibility, this only means that we are now more focused in optimizating and improving the governors we have added, since they are the most usual and common governors in custom kernels.
Governor requests, ideas, suggestions or any other kind of requests are still and always welcome. Every kind of help or suggestion to improve the mod will be really appreciated.[/B]

[b]v1.5.5[/b]
Code bug fixed -- this fixes the terminal emulator bug.

[b]STABLE[/b]
All bugs fixed
All the changes above (from 1.0 to 1.5.5)

[b]v2.0[/b]
[i]The changes in tunables aren't specific to one or other governor, they are made at all governors which contain the mentioned tunable.[/i]

Fixed installation errors
Fixed terminal emulator apply errors
Tweaked up_threshold_any_cpu_load
Tweaked up_threshold_min_freq
Tweaked up_threshold

[b]v2.0.1[/b]
Fixes in code which was preventing the properly apply on terminal emulator.

[b]v2.0.3.1[/b]
Fixed a bug in [B]Interactive[/B] code.

[b]v.2.0.3[/b]
Fixed target_loads blocking the minimum freq usage.

[b]v2.0.2[/b]
[B]Modified parameters:[/B]
Target_loads
min_sample_time
up_sample_time
two_phase_freq
up_threshold_any_cpu_load

[B]v2.0.4.2[/B]
If you are encountering error in v2.0.4.1 try this version. Here is another fix.

[B]v2.0.4.1[/B]
DEFINETLY FIXED THIS FREAKING ERROR

[b]v2.0.4[/b]
Reworked parameters for all Interactive governor based governors. [I]This changes worked perfectly for me and my testers. The device is way smoother than before. Please, feedback about it so I can have an idea of what should I do.[/I]
Minor changes in Ondemand based governors.

[b]v2.0.5[/b]
[I]Forgot to change version number to 2.0.5, Terminal Emulator says 2.0.4.3 but that's 2.0.5 version.[/I]
Busybox introduced in the flashable zip
Code optimizations
More interactive user interface
[B]No more "No such files or directory" error[/B]

[b]v2.0.5.1[/b]
Updated busybox
Fixed IntelliMM governor

[b]v2.0.5.2[/b]
Fixed code error

[b]GovTuner uninstaller updated[/b]. [I]Thanks to [MENTION=5359696]Tenigima[/MENTION][/I]

[b]v.2.0.6[/b]
Fixed barry_allen governor
Completely reworked target loads
Increased sampling rate min
Increased sampling rate
Increased up threshold any cpu load
Increased up threshold any cpu freq
Improved timer slack
Decreased min sample time
Increased above hispeed delay
Changed io is busy to 1 for testing purposes
Decresed two phase freq

[B]Added an User Interface. Now GovTuner is more interactive with the user.[/B]
Added [B]profiles.[/B]
[I]GovTuner now is based on the user needs. It has 3 profiles (battery, balanced and performance). Each profile has different governor tunables for it's own purpose. [B]READ POST #3 CAREFULLY TO UNDERSTAND THE NEW METHOD TO USE THE MOD[/B][/I]

[B]Reformulated all the interactive based governors. Now the up/down scaling is way more dynamic and smart. This new dynamic scaling is more efficient saving power.[/B]
Improved all conservative based governors.
Improved and reworked all ondemand based governors.
[B]Added uninstaller inside the GovTuner zip. To uninstall from TWRP you just need to go in system/etc/GovTuner and flash the uninstaller[/B].

[b]v2.2.0[/b]
Fixed Bluactive/Blu_active governor in balanced profile
Improved the above_hispeed_delay in interactive based governors for balanced profile
Improved the above_hispeed_delay in interactive based governors for battery profile
Improved the above_hispeed_delay in interactive based governors for performance profile
Improved target_loads in interactive based governors for balanced profile
Improved target_loads in interactive based governors for battery profile
Improved target_loads in interactive based governors for performance profile
Improved go_hispeed_load in interactive based governors for performance profile
Improved two_phase_freq for the compatible governors for balanced profile
Improved two_phase_freq for the compatible governors for battery profile
Improved two_phase_freq for the compatible governors for performance profile
Updated the profile application message. [I]Now it says which profile is activated when you do the tune command.[/I]

[b]v2.2.1[/b]
Fixed balanced profile not deleting performance profile from init.d

[B]v2.3.0[/B]
[B]Thread reorganized. Please, read carefully every detail.
[/B]
[B]ElementalX governor added[/B]
Tweaked every governors and every profiles to be more efficient for it purposes.
Battery profile governors tweaked to spend less time at medium/high frequencies and ramp down faster
Battery profile was heavily tweaked to be even more power saver.
Balanced profile governors scaling up/down reworked to be more efficient
Balanced profile slightly tweaked to spend less time at high frequencies
Balanced profile heavily tweaked to ramp down faster
Balanced profile more "intelligent" ramping frequencies.
Performance profile governors tweaked to be more aggressive ramping down
Performance profile governors tweaked to use very high frequencies (over 2.000.000) less often since it's just a drain for battery without [STRIKE]any[/STRIKE] real improvement in performance from the frequencies between 1.700.000 and 2.000.000
Reduced the time spent in terminal emulator user interface to apply the profiles faster

[b]v2.4.0[/b]
Added terminal emulator changelogs
Code optimizations
Battery profile above hispeed delay updated
Battery profile target loads updated
Balanced profile above hispeed delay updated
Balanced profile target loads updated

[B]The changes in 2.4.0 made all interactive based governors run smoother
without any change in the frequencies used. The battery will have
the same performance as it had in the previous version[/B]

[b]v2.4.1[/b]
Fixed error applying GovTuner

[b]v2.4.2[/b]
[B]A more detailed changelog is in the script. Type "c" in the main menu for an extended changelog[/B]
Govtuner command error fixed
Tune command error fixed
Added max_freq_hysteresis parameter to interactive governor
Added align_windows parameter to interactive governor
Fixed a bug where the frequency didn't go to the minimum possible when the screen is on
Rebalanced all the profiles target_loads
Rebalanced all the profiles above_hispeed delay
[B]
Uninstaller fixed[/B]

[b]v2.5[/b]
[B]Uninstaller fixed[/B]
Improved scrolling for battery profile
Improved scrolling for balanced profile
Improved performance in performance profile
Updated above_hispeed_delay for balanced and battery profiles
Updated target_loads for balanced and battery profiles
Slightly improved the performance when opening apps
Improved the performance for battery profile
Improved the performance for balanced profile
Reduced micro lags in battery profile (this depends on device)
Added Blu_active governor

[b]v2.5.1[/b]
Fixed all the bugs.

[b]v2.6[/b]
Changed all "above_hispeed_delay" and "target_loads" aiming to make the mod much smarter.
There must be a notable improvement in the scaling frequency. The mod now works based more on load than the time spent in frequency.
This improvements gives to govtuner a new smartness level.

All the profiles were hardly tested and worked perfect for me and other testers for the last 5 days.

Please, consider doing a feedback for this version since we reworked the mod's smartness.

[b]v2.7[/b]
[B]Fixed CLUSTER tuning which we never could tune all the cores available in cluster devices. Now every cores should be tuned.[/B]
Reworked all the interactive based governors for all the profiles.
Added [B]recommendations[/B] in the [I]in-terminal changelog[/I]. Check it out for the best recommendations for each profile.
[B]This new update uses a new scaling method.[/B]
[I]This new scaling method is more efficient for battery and performance. This new method is being used for all the profiles and should have a huge improvement in the user experience with the mod.[/I]
[B]Feedbacks for this version are really needed since it's using a brand new scaling method, which is the first time we use. We need to know if it's running better or worst than the old method for you.[/B]
[B][I]Don't forget to mention in the feedbacks the device's maximum and minimum frequency, the used profile and governor.[/I][/B]

[b]v2.7.1[/b]
Fixed invalid argument bug for some interactive based governors

[b]v2.8[/b]
[B]CLUSTER DEFINETELY FIXED[/B]
Reformulated all the scripts
Code optimization
Bug fixes
Reworked for all interactive based governors
Recoded all profiles
[B]Added init.d installer[/B] ~ thanks to [MENTION=5668533]DeveDroid[/MENTION]

[B]READ THE NEW APPLY INSTRUCTIONS[/B]

[b]v2.8.1[/b]
Fixed init.d installer

[b]v2.9[/b]
Made the profiles be dynamic (description below)
[I]Now the profiles periodically check if the governor was changed and automatically apply the tunables for the new governor (this also helps with the cluster devices)
[/I]Updated interactive based governor for balanced profile since it showed to have a huge battery drain
Fixed governor not showing in terminal emulator

[b]v2.9.1[/b]
Fixed some errors in terminal emulator
Fixed performance profile using the old tunables (it's now updated)

[b]v2.9.2 [/b]
Fixed "no such file or directory" error

[b]v3.0[/b]
Bug fixes
[B]Introduced a new method to run the script [/B](description below)
[I]This new method to run the script automatically works on boot applying the selected profile.
The script also runs in background and check periodically if the governor was changed, so it update the governor tunables for the new governor in case of changed governor.[/I]

[B]THE LOOP AFTER YOU SELECTING A PROFILE ISN'T A BUG. JUST CLOSE THE TERMINAL EMULATOR IN THE X ON THE TOP RIGHT AND IT WILL BE OVER.[/B]

Considerations for this huge update:
Balanced profile battery has improved
Battery profile smoothness has improved
Performance profile had a lot of improvements in both sides, battery and performance

[b]v3.0.1[/b]
Reverted checking interval (loop) to 3 minutes, The changes will happen every 3 minutes dynamically which will improve the battery life running the script in background.
Fixed Init.d support.

[b]v3.0.2[/b]
Fixed tunables for interactive based governors for cluster devices[/HIDE]