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

test: Reply
 
LinkBack Thread Tools
Old August 9th, 2010, 02:56 PM   #51 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 21
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 1 Time in 1 Post
Default

Many thanks to Hilbe. I got his script running and posted a 1409. I'm very interested to see how this affects battery life.


Advertisements
Dulaney22 is offline  
Reply With Quote
sponsored links
Old August 9th, 2010, 03:28 PM   #52 (permalink)
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 Hilbe View Post
setscaling.sh takes no parameters
setclock.sh mhz vsel

So just "setscaling.sh" and "setclock.sh 1150000 34" for example. One note, both assume overclock.ko has been loaded. So after a reboot, you must do it as follows:

insmod /system/lib/modules/overclock.ko (loads kernel module here)
setscaling.sh (or your setclock.sh)

Thanks, I've done the commands in the 1st post to allow over-clocking already and have had good results. With me being new to the command line stuff could you please give me all of the commands for getting your script up and running? I tried the setclock.sh command and got an error so I'm missing something even with that.

Again, I apologize but this is new to me and I don't want to mess something up.
__________________
"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  
Last edited by Airmaxx23; August 9th, 2010 at 03:54 PM.
Reply With Quote
Old August 9th, 2010, 04:07 PM   #53 (permalink)
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 Airmaxx23 View Post
Thanks, I've done the commands in the 1st post to allow over-clocking already and have had good results. With me being new to the command line stuff could you please give me all of the commands for getting your script up and running? I tried the setclock.sh command and got an error so I'm missing something even with that.

Again, I apologize but this is new to me and I don't want to mess something up.
1: Download thishttp://androidforums.com/all-things-root-droid-x/145209-how-overclock-your-droid-x.html#post1340714 file.

2: Extract it to your sdcard.

3: Move the extracted file (setscaling.sh) to /system/bin. If using Root Explorer, make sure /system/bin is read/write (R/W). After moving, make sure /system/bin is again set to read only (R/O).

4: Set permissions. If using RE, long press on setscaling.sh and make sure the permissions are as follows:

User: Read/Write/Execute
Group: Read/Execute
Other: Read/Execute

5: Open up terminal emulator on your X and type:

su
insmod /system/lib/modules/overclock.ko

This should put you at another su prompt (#).

6: Then type:

setscaling.sh

Again, you should be at another su prompt (#).

Now you should be good. Go to SetCPU and verify that your max speed is 1.15 GHz.

This mod gets wiped at every reboot, so you'll have to do steps 5 and 6 each time you start up your X.
humungus is offline  
Last edited by humungus; August 9th, 2010 at 04:11 PM.
Reply With Quote
The Following 2 Users Say Thank You to humungus For This Useful Post:
Airmaxx23 (August 9th, 2010), Pocalypse (August 9th, 2010)
Old August 9th, 2010, 04:14 PM   #54 (permalink)
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 Hilbe View Post
I have gotten some high 1300s in Quadrant and 9.5s in Linpack on 1.15ghz @ 34 vsel. The stock settings are 1.0ghz @ 66 vsel. So we're using substantially less voltage. The setscaling.sh script I posted above lowers the voltages across the board. I haven't been running overclocked long enough to know how good/bad it impacts battery, but supposedly lower voltages = less battery use.
Again, thanks for the setscaling file Hilbe. I've been running it today and it's been perfectly stable. I ran a fairly long SetCPU stress test and had no problems. Have you noticed any change in battery life? It's going to take me awhile before I'd notice anything.
humungus is offline  
Reply With Quote
Old August 9th, 2010, 05:21 PM   #55 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

I think I'm seeing better battery. Since I have less than 1 day using these speeds/voltages I don't want to rule out placebo just yet. I'm at 60% after my normal everyday use. Usually I've put it on the charger by now (meaning <30%).

Maybe others can chime in on their battery results after using the low voltages for some time.
Hilbe is offline  
Reply With Quote
Old August 9th, 2010, 05:29 PM   #56 (permalink)
Member
 
soapinmouth's Avatar
 
Join Date: Apr 2010
Posts: 321
 
Device(s): Incredible -> Droid X
Carrier: Not Provided

Thanks: 25
Thanked 56 Times in 26 Posts
Default

Can someone explain to me why motorolla has this chip running at double the necessary voltage?
soapinmouth is offline  
Reply With Quote
Old August 9th, 2010, 05:48 PM   #57 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 60
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 5 Times in 3 Posts
Default

I also have been running it fine at 1.15ghz @ 34

This could porbably give me a few more hours of phone use.

Does anyone know how to make this automatically start at boot?
tmushy is offline  
Reply With Quote
Old August 9th, 2010, 06:06 PM   #58 (permalink)
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 Hilbe View Post
I think I'm seeing better battery. Since I have less than 1 day using these speeds/voltages I don't want to rule out placebo just yet. I'm at 60% after my normal everyday use. Usually I've put it on the charger by now (meaning <30%).

Maybe others can chime in on their battery results after using the low voltages for some time.

I was having issues with the 1150000 34 max setting (lots of lag) and since I was having real good results earlier with 1125000 45 I edited the values of the setscaling.sh in RE and everything is now really stable. I'm getting Qaudrant scores in the 1380-1410 range consistently now.

I'll keep track of my battery usage tomorrow and see how it goes.
Airmaxx23 is offline  
Last edited by Airmaxx23; August 9th, 2010 at 06:10 PM.
Reply With Quote
Old August 9th, 2010, 06:07 PM   #59 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

Quote:
Originally Posted by tmushy View Post
I also have been running it fine at 1.15ghz @ 34

This could porbably give me a few more hours of phone use.

Does anyone know how to make this automatically start at boot?
You have to add the scripts to /init.rc. I'm not comfortable doing it yet. I'll let someone else add the 2 lines below to it and report back.

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

These modifications are dangerous and could brick your phone.
Hilbe is offline  
Reply With Quote
Old August 9th, 2010, 06:37 PM   #60 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

I would be willing to do this pending a few answers. First, i would need to know the exact commands. I am pretty new at all this. Here's what i would guess if had to:

Su
cp /system/bin/insmod /system/lib/modules/overclock.ko /init.rc/overclock.ko
cp /system/bin/setscaling.sh /init.rc/setscaling.sh

Maybe a reboot afterward? Also, i suppose this is the buggy, could i use the sbf to recover in the case of a brick? I would hope to be able to back my rom image up as it stands right now. Can this be done? Like, can i get it back to the way i have it now, or would i have to go back to factory settings and redo it all? This bread seems to have some pretty good help in here so i will leap if people are willing to continue the help.
kastleberg is offline  
Reply With Quote
sponsored links
Old August 9th, 2010, 06:43 PM   #61 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

Quote:
Originally Posted by Airmaxx23 View Post
I was having issues with the 1150000 34 max setting (lots of lag) and since I was having real good results earlier with 1125000 45 I edited the values of the setscaling.sh in RE and everything is now really stable. I'm getting Qaudrant scores in the 1380-1410 range consistently now.

I'll keep track of my battery usage tomorrow and see how it goes.
I would also like to adjust the setscaling.sh befoe i attempt any of this. Would i just dl the setscale zip file and do it all from the beginning again?
kastleberg is offline  
Reply With Quote
Old August 9th, 2010, 06:43 PM   #62 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

Basically pull /init.rc to your desktop, edit it to add the 2 lines to the bottom, and push it back. I think you're going to have to copy it to /sdcard first since it is owned by root. You're also going to have to remount the root file system to read/write since it is read only.

insmod /system/lib/modules/overclock.ko
setscaling.sh
Hilbe is offline  
Reply With Quote
The Following User Says Thank You to Hilbe For This Useful Post:
Dulaney22 (August 9th, 2010)
Old August 9th, 2010, 06:47 PM   #63 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 60
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 5 Times in 3 Posts
Default

After a bit more testing 1150000 34 max setting is NOT STABLE on my phone. Random reboots
tmushy is offline  
Reply With Quote
Old August 9th, 2010, 07:11 PM   #64 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

Quote:
Originally Posted by Hilbe View Post
Basically pull /init.rc to your desktop, edit it to add the 2 lines to the bottom, and push it back. I think you're going to have to copy it to /sdcard first since it is owned by root. You're also going to have to remount the root file system to read/write since it is read only.

insmod /system/lib/modules/overclock.ko
setscaling.sh
Okay, got it copied to /sdcard/init.rc. Opened up and ready to add in those two lines. One more assurance. Can I recover if this bricks? And if so, can I recover to where i was prior, or just back to factory settings?

Also, would the mount remount commands used in the op work to remount the root file system as you stated above? If so, I am assuming I would sandwich the insmod lines between them just as in the op. That correct?
kastleberg is offline  
Reply With Quote
Old August 9th, 2010, 07:33 PM   #65 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

Quote:
Originally Posted by kastleberg View Post
Okay, got it copied to /sdcard/init.rc. Opened up and ready to add in those two lines. One more assurance. Can I recover if this bricks? And if so, can I recover to where i was prior, or just back to factory settings?

Also, would the mount remount commands used in the op work to remount the root file system as you stated above? If so, I am assuming I would sandwich the insmod lines between them just as in the op. That correct?
You're going to pull (adb pull) to your desktop, edit it (add 2 lines), push back (adb push) to your sdcard, use a command similar to the OP to remount rootfs read/write, cp init.rc from sdcard to /, check permissions didn't get jacked up, remount rootfs read only. You're going to need to use the sbf to restore back to factory in case of issues. That is why I'm not touching it.
Hilbe is offline  
Reply With Quote
Old August 9th, 2010, 07:33 PM   #66 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

Can I just do this with RE? Adding it into /init.rc with that?
kastleberg is offline  
Reply With Quote
Old August 9th, 2010, 07:34 PM   #67 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

Quote:
Originally Posted by kastleberg View Post
Can I just do this with RE? Adding it into /init.rc with that?
Never used RootExplorer. I'm more of a cmd line guy.
Hilbe is offline  
Reply With Quote
Old August 9th, 2010, 07:50 PM   #68 (permalink)
D13
Senior Member
 
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 kastleberg View Post
I would also like to adjust the setscaling.sh befoe i attempt any of this. Would i just dl the setscale zip file and do it all from the beginning again?
You can just edit the file on your computer with Notepad++. Thats what Fab and I did
__________________
This account may be run by a bot
Follow me on twitter @Iced_Jeff
D13 is offline  
Reply With Quote
Old August 9th, 2010, 07:50 PM   #69 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

Quote:
Originally Posted by Hilbe View Post
Never used RootExplorer. I'm more of a cmd line guy.
Okay, be a few minutes. Putting the kids down and preparing for some work time in case this bombs.
kastleberg is offline  
Reply With Quote
Old August 9th, 2010, 07:50 PM   #70 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 21
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 1 Time in 1 Post
Default

Highest I've gotten is 1422. I've been running Hilbe's mod since early this afternoon and no issues yet.
Dulaney22 is offline  
Reply With Quote
sponsored links
Old August 9th, 2010, 07:52 PM   #71 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

Quote:
Originally Posted by droider13 View Post
You can just edit the file on your computer with Notepad++. Thats what Fab and I did
I used RE for this. That being said, i will get ur opinion droider13, think i can just edit the init.rc with RE and ha e the same outcome?
kastleberg is offline  
Last edited by kastleberg; August 9th, 2010 at 07:57 PM.
Reply With Quote
Old August 9th, 2010, 08:00 PM   #72 (permalink)
D13
Senior Member
 
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 kastleberg View Post
I used RE for this. That being said, i will get ur opinion droid13, think i can just edit the init.rc with RE and ha e the same outcome?
I would say that you would be fine. With the original Droid, at one point or another, Pete(maker of Bugless Beast, a well known dev and winner of the Droid X from Alldroid) released, can't remember exactly, some type of script that had to deal with overclocking. In the directions you could either pull to your computer the file and push the new one or use RE. I used both and everything worked fine.

Long story short yes you will be fine, matter a fact I really don't care if I have to flash a sbf file and start over so I am probably going to do it tonight.

Edit: If you do use the computer method, edit it with Notepad++
Edit 2: Remember to save changes before you exit
D13 is offline  
Last edited by D13; August 9th, 2010 at 08:02 PM.
Reply With Quote
Old August 9th, 2010, 08:08 PM   #73 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

Whoever does add it to init.rc and gets it working, please keep a log (how-to) on the commands you used. It's going to be a very frequently requested how-to.

Thanks.
Hilbe is offline  
Reply With Quote
Old August 9th, 2010, 08:13 PM   #74 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

So, just add these two lines:

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

at the end of init.rc? just like they are? Sorry to annoy anyone. Just trying to make sure.
kastleberg is offline  
Reply With Quote
Old August 9th, 2010, 08:15 PM   #75 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

Quote:
Originally Posted by kastleberg View Post
So, just add these two lines:

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

at the end of init.rc? just like they are? Sorry to annoy anyone. Just trying to make sure.
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
Hilbe is offline  
Reply With Quote
Old August 9th, 2010, 08:16 PM   #76 (permalink)
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

I'm curious about something, what is the stock "scaling" setup?
Airmaxx23 is offline  
Reply With Quote
Old August 9th, 2010, 08:19 PM   #77 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

Quote:
Originally Posted by Hilbe View Post
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

?
kastleberg is offline  
Reply With Quote
Old August 9th, 2010, 08:19 PM   #78 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

Quote:
Originally Posted by Airmaxx23 View Post
I'm curious about something, what is the stock "scaling" setup?
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.
Hilbe is offline  
Reply With Quote
Old August 9th, 2010, 08:20 PM   #79 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

Quote:
Originally Posted by kastleberg View Post
The insmod would be necessary for both lines, correct?

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

?
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
Hilbe is offline  
Reply With Quote
Old August 9th, 2010, 08:23 PM   #80 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

Quote:
Originally Posted by Hilbe View Post
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
Okay then. I'm going for it in RE. If this bombs, I guess someone else can report using desktop while I recover.
kastleberg is offline  
Reply With Quote
sponsored links
Old August 9th, 2010, 08:26 PM   #81 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

Rebooting now...

I'm up. I will run cat and check it out...
kastleberg is offline  
Reply With Quote
Old August 9th, 2010, 08:28 PM   #82 (permalink)
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 Hilbe View Post
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?
Airmaxx23 is offline  
Reply With Quote
Old August 9th, 2010, 08:30 PM   #83 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

Quote:
Originally Posted by Airmaxx23 View Post
So an unrooted phone uses all the same values except for the 1 ghz slot that we're changing?
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.
Hilbe is offline  
Reply With Quote
Old August 9th, 2010, 08:33 PM   #84 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

Well, I ran cat /proc/overclock/mpu_opps and got /proc/overclock/mpu_opps: No such file or directory. Did it not work?
kastleberg is offline  
Reply With Quote
Old August 9th, 2010, 08:34 PM   #85 (permalink)
D13
Senior Member
 
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

So I added the lines but every time I reboot for some reason the two lines get erased. I am still trying though
D13 is offline  
Reply With Quote
Old August 9th, 2010, 08:34 PM   #86 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

Quote:
Originally Posted by kastleberg View Post
Well, I ran cat /proc/overclock/mpu_opps and got /proc/overclock/mpu_opps: No such file or directory. Did it not work?
means the kernel module didn't load (insmod cmd). Check your init.rc to see if you see those 2 commands in there.
Hilbe is offline  
Reply With Quote
Old August 9th, 2010, 08:36 PM   #87 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

Quote:
Originally Posted by droider13 View Post
So I added the lines but every time I reboot for some reason the two lines get erased. I am still trying though
same here
kastleberg is offline  
Reply With Quote
Old August 9th, 2010, 08:47 PM   #88 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

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.
Hilbe is offline  
Last edited by Hilbe; August 9th, 2010 at 08:50 PM.
Reply With Quote
Old August 9th, 2010, 08:50 PM   #89 (permalink)
D13
Senior Member
 
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

Yep I have tried everything, computer, RE, a little of both, and adding /system/bin on the front of each. It just goes away on reboot
D13 is offline  
Reply With Quote
Old August 9th, 2010, 08:51 PM   #90 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

I'm game. Any ideas? Unless you think that editing it, pushing onto the sdcard and what not would have different results. Droider13, what method were you trying? Hahaha. NM, just saw above post.
kastleberg is offline  
Reply With Quote
sponsored links
Old August 9th, 2010, 08:51 PM   #91 (permalink)
D13
Senior Member
 
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 Hilbe View Post
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
I would be glad to help
D13 is offline  
Reply With Quote
Old August 9th, 2010, 08:53 PM   #92 (permalink)
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 Hilbe View Post
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.
What are the stock values for the 4 slots prior to being modified?
Airmaxx23 is offline  
Last edited by Airmaxx23; August 9th, 2010 at 09:02 PM.
Reply With Quote
Old August 9th, 2010, 08:56 PM   #93 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

I'm flipping through this to see if there's any help, if any more experienced eyes care to take a look and see.

milestone-overclock - Project Hosting on Google Code

If there's nothing in there, I mean, could we find where it got placed in the milestone?
kastleberg is offline  
Reply With Quote
Old August 9th, 2010, 08:59 PM   #94 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

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
Hilbe is offline  
Reply With Quote
The Following User Says Thank You to Hilbe For This Useful Post:
kastleberg (August 9th, 2010)
Old August 9th, 2010, 09:04 PM   #95 (permalink)
D13
Senior Member
 
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 Hilbe View Post
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
Umm...its not there
D13 is offline  
Reply With Quote
Old August 9th, 2010, 09:07 PM   #96 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

We're in business boys!
Hilbe is offline  
Reply With Quote
Old August 9th, 2010, 09:08 PM   #97 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

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
Hilbe is offline  
Reply With Quote
Old August 9th, 2010, 09:09 PM   #98 (permalink)
Senior Member
 
kastleberg's Avatar
 
Join Date: Jul 2010
Location: Richmond, VA
Posts: 577
 
Device(s): Droid X--Rooted
Carrier: Not Provided

Thanks: 195
Thanked 614 Times in 423 Posts
Default

Quote:
Originally Posted by Hilbe View Post
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
kastleberg is offline  
Last edited by kastleberg; August 9th, 2010 at 09:12 PM.
Reply With Quote
Old August 9th, 2010, 09:09 PM   #99 (permalink)
D13
Senior Member
 
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 Hilbe View Post
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

Why don't I have that file, am I looking in the wrong place
D13 is offline  
Reply With Quote
Old August 9th, 2010, 09:12 PM   #100 (permalink)
Member
 
Join Date: Jan 2010
Posts: 192
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 122 Times in 65 Posts
Default

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
Hilbe is offline  
Last edited by Hilbe; August 9th, 2010 at 09:37 PM.
Reply With Quote
The Following User Says Thank You to Hilbe For This Useful Post:
humungus (August 9th, 2010)
Reply


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:48 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.