To God be the glory! Finally a way to control the voltage of the GPU on AKLU Samsung Galaxy S4 kernels!
While enrolled in an Android app developer course by Rob Perceval, I have used my limited skills to create this simple app which allows you to over volt, under volt, or reset the voltage to defaults for the AKLU kernels on the Samsung Galaxy S4!
It *could* possibly work on other S4 kernels that use ktoonsez's GPU voltage controlling code, but I don't recommend it. However, if you do try it on another S4 kernel, and it is successful, please let me know, or post it here.
The toast pop-up will tell you your current status (default, over volted, or under volted), and the buttons allow you to set a new status.
#1. The app is programmed to check if you have @ktoonsez 's GPU voltage controlling code, and if you do not, the app will immediately close to prevent a user from writing things to the /sys directory that they shouldn't.
#2. While this is inherently dangerous, the app is set to only make a small, fixed adjustment of 10 mV. I have played with numbers and I believe that this is the "safest" option possible, while potentially allowing for some gain.
That being said, USE WITH CAUTION.
This app requires root privileges and permission to read/write to your phone so it can check for the current GPU settings and write new ones.
Also, at this time the app will not automatically set the voltage again after a reboot. You must manually choose to enable this after every boot. Sorry, I am just learning how to make apps, this was the best I could do at this time.
Enjoy, and feel free to leave an on topic comment! Especially if you tried it with games, videos, or just daily driving.
I give full permission for anyone to use or abuse the source code in any way they see fit. I have put comments about each set of lines in the code.
- Initial release.