• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [How-To] Overclock your Droid X

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

The insmod would be necessary for both lines, correct?

insmod /system/lib/modules/overclock.ko
insmod setscaling.sh

?
 
Upvote 0
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.
 
Upvote 0
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.

Do it...now, tonight, right now:p
I would be glad to help
 
Upvote 0
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

Rebooting now. Let you know what I get...

Boom. Samesies. Except, I used the 1125000 45 edit so I have

mpu_opps[4] rate=1125000000 opp_id=4 vsel=45

for top line
 
Upvote 0
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

How'da do it. Was it the install.sh or another one
:D:D:D:D
Why don't I have that file, am I looking in the wrong place
 
Upvote 0
How to do the overclock at boot:

1. Pull file off phone.

adb pull /system/etc/install-recovery.sh

2. Add 2 lines to bottom of install-recovery.sh in text editor on computer, save:

insmod /system/lib/modules/overclock.ko
setscaling.sh

3. Remount /system in read/write:

mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system

4. Push changes to sd card.

adb push install-recovery.sh /sdcard

5. Copy file to right place.

cp /sdcard/install-recovery.sh /system/etc/install-recovery.sh

6. Remount read only /system

mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system

7. Reboot
 
  • Like
Reactions: humungus
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones