Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I'm not sure you need the full paths. I see them using chmod in init.rc which is in /system/bin, so I'm guessing "/system/bin" is not necessary. I'd try:
insmod /system/lib/modules/overclock.ko
setscaling.sh
I'm curious about something, what is the stock "scaling" setup?
The insmod would be necessary for both lines, correct?
insmod /system/lib/modules/overclock.ko
insmod setscaling.sh
?
Okay then. I'm going for it in RE. If this bombs, I guess someone else can report using desktop while I recover.No. insmod tells it to load the kernel module overclock.ko. Just use it as I pasted it.
insmod /system/lib/modules/overclock.ko
setscaling.sh

I don't want to redo my setup, but reboot and do:
insmod /system/lib/modules/overclock.ko
cat /proc/overclock/mpu_opps
You'll notice the 1ghz slot is 66 vsel.
So an unrooted phone uses all the same values except for the 1 ghz slot that we're changing?
Well, I ran cat /proc/overclock/mpu_opps and got /proc/overclock/mpu_opps: No such file or directory. Did it not work?
So I added the lines but every time I reboot for some reason the two lines get erased. I am still trying though

Looks like we're going to have to find another startup script to modify
Edit:
I should have done my homework. init.rc is part of a ramdisk. So when you reboot, poof it is reloaded again. We'll need to find another init script that isn't part of a ramdisk. Back to the drawing board.

If you're using setclock.sh or overclock.sh, you're only changing the top slot. That is why I posted a setscaling.sh with modifications to all 4 slots.
I was looking through the init.rc and noticed it calls a couple other .sh scripts under /system. Why don't you try adding those 2 lines to:
/system/etc/install-recovery.sh

After fresh reboot:
$ su
# cd /proc/overclock
# cat mpu_opps
mpu_opps[4] rate=1150000000 opp_id=4 vsel=34
mpu_opps[3] rate=900000000 opp_id=3 vsel=30
mpu_opps[2] rate=600000000 opp_id=2 vsel=26
mpu_opps[1] rate=300000000 opp_id=1 vsel=22
After fresh reboot:
$ su
# cd /proc/overclock
# cat mpu_opps
mpu_opps[4] rate=1150000000 opp_id=4 vsel=34
mpu_opps[3] rate=900000000 opp_id=3 vsel=30
mpu_opps[2] rate=600000000 opp_id=2 vsel=26
mpu_opps[1] rate=300000000 opp_id=1 vsel=22



