Go Back   Android Forums > Android Phones > Motorola Droid X > Droid X - All Things Root
Droid X - All Things Root Rooting, ROMS, Overclocking, etc.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

 
 
LinkBack Thread Tools
Old August 10th, 2010, 02:22 PM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default [How-to] Overclock that survives a reboot

Warning, this process may cause our phone to become unstable if you clock it at the wrong speed. I advise that you do not continue onto steps 2 and 3 until you find the settings that work for YOUR phone best.

All credit goes to Fab for his how-to post, Elkay for the original mod of the milestone overclock and to Hilbe for his install-recovery.sh and setscaling.sh files as well as figuring out where to add on these commands. And also Airmaxx23 for helping me refine the commands. As well as FreeWELL for his Root Explorer guide and his stop overclocking commands

I am not responsible for anything that happens to your phone.

First, things first download the attachment at the bottom of this post
Now on to how to overclock that survives a reboot,
1. First follow Fabolous's guide to overclocking,
http://androidforums.com/all-things-root-droid-x/145209-how-overclock-your-droid-x.html
Here is his OP, also the overclock.ko and overclock.sh files are both in the attached Zip file at the bottom.
Quote:
Well, it's here, in very basic form. Credit to Elkay at Droid Forums for modding the Milestone overclock module to run on the DX.

The post is here:

Droid X successfully overclocked - Page 6 - Droid Forum - Verizon Droid & the Motorola Droid Forum

The file is attached to the bottom of his post, and I will attach it here as well.

unzip the files and put them both on your sdcard, then run the following in adb or terminal emulator:

Code:
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/overclock.ko /system/lib/modules/
cp /sdcard/overclock.sh /system/bin/
chmod 644 /system/lib/modules/overclock.ko
chmod 755 /system/bin/overclock.sh
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
That sets up everything you need to overclock. To use overclock, you just run the command:

overclock.sh frequency voltage

with 1000000 being the default freq and 66 being the default voltage

It is highly recommended to not go over 96 for the voltage parameter!

so an example:

Code:
su
overclock.sh 1100000 66
results in attempting to overclock to 1.1GHz on stock voltage (this is stable for me).

The mod is wiped clean after every reboot, so it will need to be run again. If you want to wipe it while the phone is running, to say, try another frequency, you can do the following:

Code:
su
busybox rmmod overclock
and proceed to overclock with different parameters.

2. Next put the setscaling.sh file and the install-recovery.sh into your tools folder or where ever your adb.exe is located, then open up cmd and point it at that folder.

3.In adb run
-"adb push setscaling.sh /sdcard"
-"adb push install-recovery.sh /sdcard"
-"adb shell"
-"su"
-"mount -o remount,rw -t yaffs2 /dev/mtd/mtdblock4 /system"
-"cp /sdcard/setscaling.sh /system/bin"
-"chmod 755 /system/bin"
-"cp /sdcard/install-recovery.sh /system/etc"
-"mount -o ro,remount -t yaffs2 /dev/mtd/mtdblock4 /system"

The whole thing can also be done with Root explorer, credit to FreeWELL for the guide

1. Download file "Survive the boot.zip"
2. Fire up Root Explorer
3. Navigate to /sdcard/downloads
4. Long press on "Survive the boot.zip" and select Extract All
5. Navigate to /sdcard/extracted/Survive the boot/
6. Long press on install-recovery.sh and select Copy
7. Navigate to /system/etc
8. Hit the Mount R/W button
9. Hit Paste
10. Hit the Mount R/O button
11. Navigate back to /sdcard/extracted/Survive the boot/
12. Long press on "overclock.ko" and select Copy
13. Navigate to /system/lib/modules (all the way at the end of ../lib)
14. Mount R/W
15. Hit Paste
16. Mount R/O
17. Navigate to /sdcard/extracted/Survive the boot/
18. Hit the Menu botton and choose Multi-select
19. Select "overclock.sh" & "setscaling.sh" (green check mark)
20. Hit "copy"
21. Navigate to /system/bin
22. Mount R/W
*23. **Think about what you're doing!!!* You are now at the end of the road. My X will not run stable with the "setscaling.sh" as supplied... my X does run well set to 400@23/700@28/900@33/1100@40... I don't think 1150@34 is stable for everyone... 1100@40 should be... i also think 400/700 is more useful than 300/600 when creating profiles with SetCPU...

24. Hit "Paste" because your setscaling.sh is edited with settings that are stable for your X and you know because you thoroughly testified this before editing/copying install-recovery.sh to overclock at boot...
25. Mount R/O


Also to disable overclocking, credit to FreeWELL

Disabling Overclock at Boot with Root Explorer:
1. Open Root Explorer
2. Navigate to /system/etc
3. Mount R/W
4. Long press on "install-recovery.sh"
4. Select Rename
5. Change to "install-recovery.oc" or whatever works for you, and then hit Ok
6. You can now Mount R/O or continue messing around with editing you setscaling.sh file

Command Line Stop boot overclock:
$ su
# mount -o rw,remount -t yaffs2 /dev/mtd/mtdblock4 /system
# cd /system/etc
# mv install-recovery.sh install-recovery.oc
# mount -o ro,remount -t yaffs2 /dev/mtd/mtdblock4 /system

And to re-enable overclocking:
With RE just change the name back to install-recovery.sh
With Cmd
$ su
# mount -o rw,remount -t yaffs2 /dev/mtd/mtdblock4 /system
# cd /system/etc
# mv install-recovery.oc install-recovery.sh
# mount -o ro,remount -t yaffs2 /dev/mtd/mtdblock4 /system



Thats it, let me know if it works and to check if it worked try rebooting your phone.
Attached Files
File Type: zip Survive the boot.zip (5.1 KB, 182 views)

__________________
This account may be run by a bot
Follow me on twitter @Iced_Jeff
D13 is offline  
Last edited by D13; August 11th, 2010 at 08:53 PM.
The Following 5 Users Say Thank You to D13 For This Useful Post:
chisholm4 (October 20th, 2010), Gskellig (August 10th, 2010), haevn (August 10th, 2010), Retrokid223 (August 11th, 2010), Rockee (August 19th, 2010)
sponsored links
Old August 10th, 2010, 04:07 PM  
Senior Member
 
Paycer's Avatar
 
Join Date: Jul 2010
Location: Omaha, Nebraska
Posts: 704
 
Device(s): Droid X (rooted) Previous: LG Ally, LG Voyager
Carrier: Not Provided

Thanks: 69
Thanked 99 Times in 77 Posts
Send a message via MSN to Paycer
Default

What if we're on the fly, aren't near a computer terminal, and want to use SetCPU or something similar instead? Is there a way for us to do everything from the phone, or not?

Sorry. I'm not quite this technologically adept when it comes to electronics, especially something this new to me, but I just had to ask. I usually just follow the instructions that are written and given and try to learn from them as best as I can.

Thanks for writing this up though. I'll probably try it when my phone arrives.
__________________
Droid X - OTA 2.2 (2.3.15) - rooted via D2 method - manually deodexed
Paycer is offline  
Old August 10th, 2010, 04:09 PM  
PJ.
Junior Member
 
Join Date: Aug 2010
Posts: 19
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Paycer View Post
What if we're on the fly, aren't near a computer terminal, and want to use SetCPU or something similar instead? Is there a way for us to do everything from the phone, or not?

Sorry. I'm not quite this technologically adept when it comes to electronics, especially something this new to me, but I just had to ask. I usually just follow the instructions that are written and given and try to learn from them as best as I can.

Thanks for writing this up though. I'll probably try it when my phone arrives.

Get Better Terminal from the market. adb on the fly basically.

Good writeup, thanks a lot.

Just got this score at 1.15/34



Battery at 40 percent, after watching Transformers 2 at full brightness and light sms/emailing.
PJ. is offline  
Old August 10th, 2010, 04:23 PM  
Senior Member
 
Paycer's Avatar
 
Join Date: Jul 2010
Location: Omaha, Nebraska
Posts: 704
 
Device(s): Droid X (rooted) Previous: LG Ally, LG Voyager
Carrier: Not Provided

Thanks: 69
Thanked 99 Times in 77 Posts
Send a message via MSN to Paycer
Default

Yeah I suppose I can use the mobile terminal emulator. I don't know why I didn't realize that. Though, I was thinking more along the lines of a user-friendly way to accomplish the same results. I realize that if someone doesn't know how to do each step manually, then maybe they shouldn't be messing with the clock speeds and voltages, but still. Sometimes user-friendly methods are a way for those of us who know what we're doing to just be lazy.
Paycer is offline  
Old August 10th, 2010, 04:37 PM  
Senior Member
 
Airmaxx23's Avatar
 
Join Date: Jun 2010
Posts: 3,142
 
Device(s): CDMA Galaxy Nexus-Rooted / Kindle Fire-CM9 / Droid X-CM7 / OG Droid
Carrier: Not Provided

Thanks: 60
Thanked 1,056 Times in 547 Posts
Default

So what would the commands be to undo this? I want to do some more tinkering without it.
__________________
"I know I was born and I know that I'll die, the in-between is mine."

My Nitro R/C Truck Videos, the blue truck is mine.

If I've helped you don't be afraid the hit the "Thanks" button.
Airmaxx23 is offline  
Old August 10th, 2010, 04:43 PM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default

I think if you deleted all the files that we pushed
overclock.sh
overclock.ko
install-recovery.sh
setscaling.sh

You should be good.
D13 is offline  
Old August 10th, 2010, 05:43 PM  
Senior Member
 
Airmaxx23's Avatar
 
Join Date: Jun 2010
Posts: 3,142
 
Device(s): CDMA Galaxy Nexus-Rooted / Kindle Fire-CM9 / Droid X-CM7 / OG Droid
Carrier: Not Provided

Thanks: 60
Thanked 1,056 Times in 547 Posts
Default

Quote:
Originally Posted by droider13 View Post
I think if you deleted all the files that we pushed
overclock.sh
overclock.ko
install-recovery.sh
setscaling.sh

You should be good.

Yes that worked and I did the whole install process again and everything works fine.
Airmaxx23 is offline  
Old August 10th, 2010, 06:43 PM  
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

Good writeup.
Hilbe is offline  
Old August 10th, 2010, 10:12 PM  
Senior Member
 
LexusBrian400's Avatar
 
Join Date: Mar 2010
Location: I'm a drifter.. here and there.
Posts: 699
 
Device(s): Droid X w/Root & OC -HTC Droid Eris (EOL)
Carrier: Not Provided

Thanks: 73
Thanked 154 Times in 79 Posts
Default

Worked great for me. Thank you guys for the work and write up Much appreciated.
LexusBrian400 is offline  
Old August 10th, 2010, 10:21 PM  
Junior Member
 
Join Date: Aug 2010
Posts: 99
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 70 Times in 20 Posts
Default

Quote:
Originally Posted by Paycer View Post
What if we're on the fly, aren't near a computer terminal, and want to use SetCPU or something similar instead? Is there a way for us to do everything from the phone, or not?

Sorry. I'm not quite this technologically adept when it comes to electronics, especially something this new to me, but I just had to ask. I usually just follow the instructions that are written and given and try to learn from them as best as I can.

Thanks for writing this up though. I'll probably try it when my phone arrives.
*warning* proceeding could be potentially very hazardous to you X

1. Download file "Survive the boot.zip"
2. Fire up Root Explorer
3. Navigate to /sdcard/downloads
4. Long press on "Survive the boot.zip" and select Extract All
5. Navigate to /sdcard/extracted/Survive the boot/
6. Long press on install-recovery.sh and select Copy
7. Navigate to /system/etc
8. Hit the Mount R/W button
9. Hit Paste
10. Hit the Mount R/O button
11. Navigate back to /sdcard/extracted/Survive the boot/
12. Long press on "overclock.ko" and select Copy
13. Navigate to /system/lib/modules (all the way at the end of ../lib)
14. Mount R/W
15. Hit Paste
16. Mount R/O
17. Navigate to /sdcard/extracted/Survive the boot/
18. Hit the Menu botton and choose Multi-select
19. Select "overclock.sh" & "setscaling.sh" (green check mark)
20. Hit "copy"
21. Navigate to /system/bin
22. Mount R/W
*23. **Think about what you're doing!!!* You are now at the end of the road. My X will not run stable with the "setscaling.sh" as supplied... my X does run well set to 400@23/700@28/900@33/1100@40... I don't think 1150@34 is stable for everyone... 1100@40 should be... i also think 400/700 is more useful than 300/600 when creating profiles with SetCPU...

24. !!!MULTIPLE CHOICE!!!
a. Realize you don't know what the he'll you're doing and "Cancel"
b. Realize that if you just hit Paste now, you will like cause your X to run at boot with settings that are unstable. Hit "Cancel"
c. Hit "Paste" because your setscaling.sh is edited with settings that are stable for your X and you know because you thoroughly testified this before editing/copying install-recovery.sh to overclock at boot...
25. Mount R/O
FreeWELL is offline  
Last edited by FreeWELL; August 10th, 2010 at 10:24 PM.
The Following User Says Thank You to FreeWELL For This Useful Post:
D13 (August 11th, 2010)
sponsored links
Old August 10th, 2010, 10:38 PM  
PJ.
Junior Member
 
Join Date: Aug 2010
Posts: 19
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Yeah, I had to edit the setscaling.sh file as well. I was getting reboots during video playback and every time I received a text message over 1 page.

Checking it out at 1.1/34 now.

Bam!

PJ. is offline  
Last edited by PJ.; August 10th, 2010 at 10:50 PM.
Old August 10th, 2010, 10:48 PM  
Junior Member
 
Join Date: Aug 2010
Posts: 99
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 70 Times in 20 Posts
Default

mv /system/etc/install-recovery.sh /system/etc/install-recovery.oc
FreeWELL is offline  
Old August 10th, 2010, 11:44 PM  
Member
 
bosox2k1's Avatar
 
Join Date: Jul 2010
Location: Williston, VT
Posts: 279
 
Device(s): Droid X
Carrier: Not Provided

Thanks: 36
Thanked 25 Times in 19 Posts
Default

Awesome, used the set scaling script and worked great. Don't want to shut it off now!
bosox2k1 is offline  
Old August 11th, 2010, 12:51 AM  
Member
 
bosox2k1's Avatar
 
Join Date: Jul 2010
Location: Williston, VT
Posts: 279
 
Device(s): Droid X
Carrier: Not Provided

Thanks: 36
Thanked 25 Times in 19 Posts
Default

OK, I am getting some issues.

I am in debugging mode and Mass storage setting.

I follow steps 2 and 3 in the OP as stated and get no errors while issuing them thru ADB.

I reboot, but none of the settings stick. So I check my sdcard (while unplugged) and the install and setscale docs are not in there.

I plug back in to the computer (debu/mass storage) and I look on astro and boom! the install and setscale docs are on the sdcard now, but disappear when I disconnect from computer.

I am doing something wrong, obviously, but I don't know how to make it stick to the sdcard after I unplug from computer....
bosox2k1 is offline  
Old August 11th, 2010, 02:35 AM  
Member
 
itsTee's Avatar
 
Join Date: Apr 2010
Posts: 183
 
Device(s): Samsung Galaxy Nexus LTE, AXI0M 2.1 ROM
Carrier: Not Provided

Thanks: 70
Thanked 10 Times in 8 Posts
Default

man i keep getting reboots, anyway to fix this?
itsTee is offline  
Old August 11th, 2010, 07:33 AM  
PJ.
Junior Member
 
Join Date: Aug 2010
Posts: 19
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by itsTee View Post
man i keep getting reboots, anyway to fix this?

Remove the setscaling.sh file. You're going to have to find the settings correct for you. I would reboot at 1.15/34, so i changed it to 1.1/34 in the setscaling file and im running GREAT now.
PJ. is offline  
Old August 11th, 2010, 07:36 AM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default

Quote:
Originally Posted by itsTee View Post
man i keep getting reboots, anyway to fix this?
When do the reboots happen? You can easily edit the setscaling.sh to lower the clock speed and change the voltages. Do you have Root explorer?
D13 is offline  
Old August 11th, 2010, 07:38 AM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default

Quote:
Originally Posted by bosox2k1 View Post
Awesome, used the set scaling script and worked great. Don't want to shut it off now!
Actually you can it survives a reboot.
D13 is offline  
Old August 11th, 2010, 07:42 AM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default

Quote:
Originally Posted by FreeWELL View Post
*warning* proceeding could be potentially very hazardous to you X

1. Download file "Survive the boot.zip"
2. Fire up Root Explorer
3. Navigate to /sdcard/downloads
4. Long press on "Survive the boot.zip" and select Extract All
5. Navigate to /sdcard/extracted/Survive the boot/
6. Long press on install-recovery.sh and select Copy
7. Navigate to /system/etc
8. Hit the Mount R/W button
9. Hit Paste
10. Hit the Mount R/O button
11. Navigate back to /sdcard/extracted/Survive the boot/
12. Long press on "overclock.ko" and select Copy
13. Navigate to /system/lib/modules (all the way at the end of ../lib)
14. Mount R/W
15. Hit Paste
16. Mount R/O
17. Navigate to /sdcard/extracted/Survive the boot/
18. Hit the Menu botton and choose Multi-select
19. Select "overclock.sh" & "setscaling.sh" (green check mark)
20. Hit "copy"
21. Navigate to /system/bin
22. Mount R/W
*23. **Think about what you're doing!!!* You are now at the end of the road. My X will not run stable with the "setscaling.sh" as supplied... my X does run well set to 400@23/700@28/900@33/1100@40... I don't think 1150@34 is stable for everyone... 1100@40 should be... i also think 400/700 is more useful than 300/600 when creating profiles with SetCPU...

24. !!!MULTIPLE CHOICE!!!
a. Realize you don't know what the he'll you're doing and "Cancel"
b. Realize that if you just hit Paste now, you will like cause your X to run at boot with settings that are unstable. Hit "Cancel"
c. Hit "Paste" because your setscaling.sh is edited with settings that are stable for your X and you know because you thoroughly testified this before editing/copying install-recovery.sh to overclock at boot...
25. Mount R/O
I think this could be helpful to alot of people, do you mind if I add it to the OP?
D13 is offline  
Old August 11th, 2010, 08:01 AM  
Member
 
bosox2k1's Avatar
 
Join Date: Jul 2010
Location: Williston, VT
Posts: 279
 
Device(s): Droid X
Carrier: Not Provided

Thanks: 36
Thanked 25 Times in 19 Posts
Default

If anyone could help me with my problem (post #14 in this thread), I would really appreciate it. I am at a loss.
bosox2k1 is offline  
sponsored links
Old August 11th, 2010, 08:06 AM  
Senior Member
 
Airmaxx23's Avatar
 
Join Date: Jun 2010
Posts: 3,142
 
Device(s): CDMA Galaxy Nexus-Rooted / Kindle Fire-CM9 / Droid X-CM7 / OG Droid
Carrier: Not Provided

Thanks: 60
Thanked 1,056 Times in 547 Posts
Default

Quote:
Originally Posted by bosox2k1 View Post
OK, I am getting some issues.

I am in debugging mode and Mass storage setting.

I follow steps 2 and 3 in the OP as stated and get no errors while issuing them thru ADB.

I reboot, but none of the settings stick. So I check my sdcard (while unplugged) and the install and setscale docs are not in there.

I plug back in to the computer (debu/mass storage) and I look on astro and boom! the install and setscale docs are on the sdcard now, but disappear when I disconnect from computer.

I am doing something wrong, obviously, but I don't know how to make it stick to the sdcard after I unplug from computer....
I had to do all of it in charge only mode. You may want to try that.
Airmaxx23 is offline  
Old August 11th, 2010, 08:10 AM  
Member
 
bosox2k1's Avatar
 
Join Date: Jul 2010
Location: Williston, VT
Posts: 279
 
Device(s): Droid X
Carrier: Not Provided

Thanks: 36
Thanked 25 Times in 19 Posts
Default

Thanks Airmaxx, will try tonight after work.
bosox2k1 is offline  
Old August 11th, 2010, 08:31 AM  
Member
 
Join Date: Aug 2010
Posts: 198
 
Device(s): Fascinate
Carrier: Not Provided

Thanks: 29
Thanked 16 Times in 15 Posts
Default

well now my phone is stuck at the M symbol thank god for that spf
EDIT:NVM fixed it
Retrokid223 is offline  
Last edited by Retrokid223; August 11th, 2010 at 08:47 AM.
Old August 11th, 2010, 08:47 AM  
Senior Member
 
Join Date: Nov 2009
Posts: 587
 
Device(s): Moto Droid, Droid X
Carrier: Not Provided

Thanks: 7
Thanked 38 Times in 32 Posts
Default

Quote:
Originally Posted by Retrokid223 View Post
well now my phone is stuck at the M symbol thank god for that spf
Is this after a successful copy all files and what not, or during?
mazz0310 is offline  
Old August 11th, 2010, 03:02 PM  
Junior Member
 
Join Date: Aug 2010
Posts: 99
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 70 Times in 20 Posts
Default

Droider13: I don't mind. Just add the filollowing as well...

Disabling Overclock at Boot with Root Explorer:
1. Open Root Explorer
2. Navigate to /system/etc
3. Mount R/W
4. Long press on "install-recovery.sh"
4. Select Rename
5. Change to "install-recovery.oc" or whatever works for you, and then hit Ok
6. You can now Mount R/O or continue messing around with editing you setscaling.sh file

Command Line Stop boot overclock:
$ su
# mount -o rw,remount -t yaffs2 /dev/mtd/mtdblock4 /system
# cd /system/etc
# mv install-recovery.sh install-recovery.oc
# mount -o ro,remount -t yaffs2 /dev/mtd/mtdblock4 /system
FreeWELL is offline  
The Following User Says Thank You to FreeWELL For This Useful Post:
D13 (August 11th, 2010)
Old August 11th, 2010, 03:02 PM  
Junior Member
 
Join Date: Aug 2010
Posts: 99
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 70 Times in 20 Posts
Default

I also suggest keeping only known to be stable settings in setscaling.sh and using testscaling.sh for testing settings...
FreeWELL is offline  
Last edited by FreeWELL; August 11th, 2010 at 03:35 PM.
The Following User Says Thank You to FreeWELL For This Useful Post:
humungus (August 11th, 2010)
Old August 11th, 2010, 03:16 PM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default

Updated OP with Root Explorer directions, thanks to FreeWELL
D13 is offline  
Old August 11th, 2010, 03:45 PM  
Member
 
Join Date: May 2010
Posts: 124
 
Device(s):
Carrier: Not Provided

Thanks: 31
Thanked 40 Times in 19 Posts
Default

Quote:
Originally Posted by FreeWELL View Post
I also suggest keeping only known to be stable settings in setscaling.sh and using testscaling.sh for testing settings...
That's an excellent idea.
humungus is offline  
Old August 11th, 2010, 03:54 PM  
Member
 
itsTee's Avatar
 
Join Date: Apr 2010
Posts: 183
 
Device(s): Samsung Galaxy Nexus LTE, AXI0M 2.1 ROM
Carrier: Not Provided

Thanks: 70
Thanked 10 Times in 8 Posts
Default

Quote:
Originally Posted by PJ. View Post
Remove the setscaling.sh file. You're going to have to find the settings correct for you. I would reboot at 1.15/34, so i changed it to 1.1/34 in the setscaling file and im running GREAT now.
So your saying remove the setscaling file. Then just go into terminal and just iinput a new freq. And volt. Will that create a new setscaljng file in the phone
itsTee is offline  
Old August 11th, 2010, 04:29 PM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default

Quote:
Originally Posted by itsTee View Post
So your saying remove the setscaling file. Then just go into terminal and just iinput a new freq. And volt. Will that create a new setscaljng file in the phone
no you can edit the setscaling.sh either on your computer or in Root Explorer and then overwrite the old one

I recommend using Notepad++ for editing the file on your computer
D13 is offline  
The Following User Says Thank You to D13 For This Useful Post:
itsTee (August 11th, 2010)
sponsored links
Old August 11th, 2010, 04:55 PM  
Junior Member
 
Join Date: Aug 2010
Posts: 99
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 70 Times in 20 Posts
Default

testscaling.sh people
keep setscaling.sh safe
I'm just sayin tho...

Here's a nugget i find useful... menu+home
FreeWELL is offline  
Last edited by FreeWELL; August 11th, 2010 at 04:58 PM.
Old August 11th, 2010, 06:17 PM  
Senior Member
 
Airmaxx23's Avatar
 
Join Date: Jun 2010
Posts: 3,142
 
Device(s): CDMA Galaxy Nexus-Rooted / Kindle Fire-CM9 / Droid X-CM7 / OG Droid
Carrier: Not Provided

Thanks: 60
Thanked 1,056 Times in 547 Posts
Default

It is necessary to have a setCPU profile set up to go along with the overclocking? This is pretty new to me so I really not sure how to set up a profile.
Airmaxx23 is offline  
Last edited by Airmaxx23; August 11th, 2010 at 06:26 PM.
Old August 11th, 2010, 06:42 PM  
Member
 
Join Date: May 2010
Posts: 124
 
Device(s):
Carrier: Not Provided

Thanks: 31
Thanked 40 Times in 19 Posts
Default

Quote:
Originally Posted by FreeWELL View Post
testscaling.sh people
keep setscaling.sh safe
I'm just sayin tho...

Here's a nugget i find useful... menu+home
menu+home?
humungus is offline  
Old August 11th, 2010, 06:55 PM  
Senior Member
 
LexusBrian400's Avatar
 
Join Date: Mar 2010
Location: I'm a drifter.. here and there.
Posts: 699
 
Device(s): Droid X w/Root & OC -HTC Droid Eris (EOL)
Carrier: Not Provided

Thanks: 73
Thanked 154 Times in 79 Posts
Default

Getting A LOT of reboots with the scaling script. The voltage must be too low.
LexusBrian400 is offline  
Old August 11th, 2010, 07:02 PM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default

Quote:
Originally Posted by LexusBrian400 View Post
Getting A LOT of reboots with the scaling script. The voltage must be too low.
Yeah I thought I could do 1.2 ghz at 34 voltage but I got a couple reboots so I changed it to 1.15 and no reboots yet
D13 is offline  
Old August 11th, 2010, 07:35 PM  
Junior Member
 
Join Date: Aug 2010
Posts: 99
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 70 Times in 20 Posts
Default

Quote:
Originally Posted by humungus View Post
menu+home?
If you press the Menu and Home buttons at the same time, it brings up a display of your most recent apps, making switching between RE, terminal emulator, SetCPU and your browser quick and easy...
FreeWELL is offline  
Old August 11th, 2010, 07:38 PM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default

Quote:
Originally Posted by FreeWELL View Post
If you press the Menu and Home buttons at the same time, it brings up a display of your most recent apps, making switching between RE, terminal emulator, SetCPU and your browser quick and easy...
I think you are referring to holding the home button, you don't have to hold menu also
D13 is offline  
Old August 11th, 2010, 07:50 PM  
Junior Member
 
Join Date: Aug 2010
Posts: 99
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 70 Times in 20 Posts
Default

LOL.... i'm new to android... not new to *nix... Operating Systems of the Unix variety for the n00bs... maybe i should take the android tutorial... lol
FreeWELL is offline  
Old August 11th, 2010, 09:23 PM  
Member
 
bosox2k1's Avatar
 
Join Date: Jul 2010
Location: Williston, VT
Posts: 279
 
Device(s): Droid X
Carrier: Not Provided

Thanks: 36
Thanked 25 Times in 19 Posts
Default

I am doing EVERYTHING to the T (as far as I know)

I run it through ADB, when I reboot--the OC doesn't stick. I look on my SD card via root explorer and I see both the setscaling and install recovery files....

When I am done step 3 (adb) do I just shut it off without exiting out of cmd prompt? Or do I have to write in a specific command before I shut off the phone to try the reboot.


I am in charge mode and I have tried it in mass storage mode, but when I did the latter, the install recovery and setscaling files didn't stick onto the SD card after removing the phone from my computer.
bosox2k1 is offline  
Old August 11th, 2010, 09:29 PM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default

Quote:
Originally Posted by bosox2k1 View Post
I am doing EVERYTHING to the T (as far as I know)

I run it through ADB, when I reboot--the OC doesn't stick. I look on my SD card via root explorer and I see both the setscaling and install recovery files....

When I am done step 3 (adb) do I just shut it off without exiting out of cmd prompt? Or do I have to write in a specific command before I shut off the phone to try the reboot.


I am in charge mode and I have tried it in mass storage mode, but when I did the latter, the install recovery and setscaling files didn't stick onto the SD card after removing the phone from my computer.
First try doing it in Pc mode that is what I did
D13 is offline  
sponsored links
Old August 11th, 2010, 09:30 PM  
Member
 
bosox2k1's Avatar
 
Join Date: Jul 2010
Location: Williston, VT
Posts: 279
 
Device(s): Droid X
Carrier: Not Provided

Thanks: 36
Thanked 25 Times in 19 Posts
Default

Quote:
Originally Posted by droider13 View Post
First try doing it in Pc mode that is what I did
Since I rebooted, do I have to do step 1 (fabolous' post) or can I just start at step two?
bosox2k1 is offline  
Old August 11th, 2010, 09:35 PM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default

Quote:
Originally Posted by bosox2k1 View Post
Since I rebooted, do I have to do step 1 (fabolous' post) or can I just start at step two?
Assuming everything went well with just setting up the overclocking part yes you can start at step 2
D13 is offline  
Old August 11th, 2010, 09:37 PM  
Member
 
bosox2k1's Avatar
 
Join Date: Jul 2010
Location: Williston, VT
Posts: 279
 
Device(s): Droid X
Carrier: Not Provided

Thanks: 36
Thanked 25 Times in 19 Posts
Default

Quote:
Originally Posted by droider13 View Post
Assuming everything went well with just setting up the overclocking part yes you can start at step 2
Yea it did, because I tested it by just doing it the original way and not the save for reboot way---and my setcpu showed an increase to 1.1ghz.

Ok, testing in PC mode, brb.
bosox2k1 is offline  
Old August 11th, 2010, 09:52 PM  
Member
 
bosox2k1's Avatar
 
Join Date: Jul 2010
Location: Williston, VT
Posts: 279
 
Device(s): Droid X
Carrier: Not Provided

Thanks: 36
Thanked 25 Times in 19 Posts
Default

Yea, same thing...reboot and nothing--attached is a copy of my command line, not sure if you can see if anything is wrong with it or not. I am confused because I am almost positive I am doing everything correctly, but clearly I am not.


Picasa Web Albums - bosox2k1

Just make sure you zoom in using the magnifier, otherwise it's too small.
bosox2k1 is offline  
Old August 11th, 2010, 10:02 PM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default

Quote:
Originally Posted by bosox2k1 View Post
Yea, same thing...reboot and nothing--attached is a copy of my command line, not sure if you can see if anything is wrong with it or not. I am confused because I am amost positive I am doing everything correctly, but clearly I am not.


Picasa Web Albums - bosox2k1

Just make sure you zoom in using the magnifier, otherwise it's too small.
can you open up the install-recovery.sh you are using and make sure there are two lines at the bottom of it. The first one starts with insmod and the second one with setscaling are those there
D13 is offline  
Old August 11th, 2010, 10:06 PM  
Member
 
bosox2k1's Avatar
 
Join Date: Jul 2010
Location: Williston, VT
Posts: 279
 
Device(s): Droid X
Carrier: Not Provided

Thanks: 36
Thanked 25 Times in 19 Posts
Default

Looks like it's there...That's what is in my sdk/tools folder...


#!/system/bin/sh
if ! applypatch -c MTD:recovery:2048:37dc5be28fe8cdeb61eae1347fdccf2e 201af07e; then
log -t recovery "Installing new recovery image"
applypatch MTD:boot:4194304:0c459f9fab93d51a3b09516c415f63352 ec9eb02 MTD:recovery 22727909bf9e1f0f844f41484d2a9cf9b6cc49ee 5242880 0c459f9fab93d51a3b09516c415f63352ec9eb02:/system/recovery-from-boot.p
else
log -t recovery "Recovery image already installed"
fi

insmod /system/lib/modules/overclock.ko
setscaling.sh
bosox2k1 is offline  
Old August 11th, 2010, 10:13 PM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default

Okay thats there
You already have overclock.ko and .sh installed

Tell me what happens when you do
adb shell
su
cat /system/bin/setscaling.sh
D13 is offline  
Old August 11th, 2010, 10:14 PM  
Junior Member
 
Join Date: Jul 2010
Posts: 15
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default rmmod issues. am i doing this wrong? anyone else having a problem

using terminal emulator

typing in

busybox rmmod overclock

when i enter the command i receive this

rmmod: chdir(/lib/modules): No such file or directory

am I missing a file? (Because I dont remember downloading any files every named busybox or rmmod) OR is there more to the command? im confused i want to fine tune my overclock on my Droid X.

Please help me out my knowledgeable friends.
auracle2g is offline  
Old August 11th, 2010, 10:17 PM  
Member
 
bosox2k1's Avatar
 
Join Date: Jul 2010
Location: Williston, VT
Posts: 279
 
Device(s): Droid X
Carrier: Not Provided

Thanks: 36
Thanked 25 Times in 19 Posts
Default

Quote:
Originally Posted by droider13 View Post
Okay thats there
You already have overclock.ko and .sh installed

Tell me what happens when you do
adb shell
su
cat /system/bin/setscaling.sh
wish i could cut and paste, haha

echo 1150000 > /proc/overclock/max_rate
echo 1 400000000 22>
echo 2 600000000 26
echo 3 900000000 30
echo 4 1150000000 38
echo 0 1150000000


etc etc
Obviously I left out a lot, let me know if you need exactly what happened.
Does that mean it worked?
bosox2k1 is offline  
Old August 11th, 2010, 10:19 PM  
D13
Senior Member
Thread Author (OP)
 
D13's Avatar
 
Join Date: May 2010
Location: Elkridge, Maryland
Posts: 2,088
 
Device(s): Fascinate; Droid 1: w/ bb 0.5
Carrier: Not Provided

Thanks: 98
Thanked 244 Times in 198 Posts
droider13af@gmail.com
Default

Quote:
Originally Posted by auracle2g View Post
using terminal emulator

typing in

busybox rmmod overclock

when i enter the command i receive this

rmmod: chdir(/lib/modules): No such file or directory

am I missing a file? (Because I dont remember downloading any files every named busybox or rmmod) OR is there more to the command? im confused i want to fine tune my overclock on my Droid X.

Please help me out my knowledgeable friends.
See if typing in "su" first helps
D13 is offline  
 

Go Back   Android Forums > Android Phones > Motorola Droid X > Droid X - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:21 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.