Guest davidevinavil Posted April 22, 2013 Report Share Posted April 22, 2013 Hi all, I've succesfully compiled a JB kernel with undervolt control take from Doomlord source, but it's a bit annoyng to do this so I'm asking help to build an apk that run those command: echo -25 > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels to undervolt cpu echo +25 > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels to overvolt cpu I'm completely newbie in building apk so would be nice if someone help me... New kernel is coming soon Link to comment Share on other sites More sharing options...
Guest aropop Posted April 23, 2013 Report Share Posted April 23, 2013 If you know how to code java it's not that hard at all, http://stackoverflow.com/questions/6802810/running-shell-commands-from-app-rooted Just make an app with a button that executes these commands in the script from the link. If don't know how to make apps I could look into it but it's really not that hard if you know how to code ;) Greetz Aropop Link to comment Share on other sites More sharing options...
Guest Spacecaker Posted May 5, 2013 Report Share Posted May 5, 2013 cant you make this in a init.d script This is for CPU and governors as init.d script maybe u can modify this with the UV and OV codes ? #!/system/bin/sh ########################### # CPU governor # # Default: ondemand # ########################### echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ########################### # CPU frequency # # Default: 600 ~ 1552 # # Min freq.: 600 # # Max freq.: 1500 # ########################### echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq echo 1500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq ########################### # Scheduler # # Default: sio # ########################### echo "sio" > /sys/block/mmcblk0/queue/scheduler Link to comment Share on other sites More sharing options...
Guest davidevinavil Posted May 5, 2013 Report Share Posted May 5, 2013 If you know how to code java it's not that hard at all, http://stackoverflow.com/questions/6802810/running-shell-commands-from-app-rooted Just make an app with a button that executes these commands in the script from the link. If don't know how to make apps I could look into it but it's really not that hard if you know how to code ;) Greetz Aropop I don't know java at all.. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now