• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

Need help to make apk

4 posts in this topic

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

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..

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.