yashsingh1/xdaforums huggingface dataset:
[Motorola Droid 3] MrJudylicious:
im not a fan of quadrant, by any means, but he does have a point that quadrant is quadrant is quadrant. I like antutu better, but i understand what argument. even linpack gives uneven results, just depending on whats running, likewise with every benchmark. I usually restart my phone, overclock, then run 5 benchmarks and find the mean. If you did that to two different phones with teh same benchmark program, i think that's a decent comparison. OC CM7 == OC CM7 but HW1 != HW2 even though in our case, our OC CM7 != OC CM7 with unlocked bootloader etc.
[Motorola Droid 3] Endoroid:
Interesting, when I was on bell 2.3.4 1200 made my phone unstable and would crash shortly after. Now on Brazil retail 2.3.5 w/liberty rom it works fine. Odd

xt860, android 2.3.5, Liberty Rom at 1.2GHz
[Motorola Droid 3] Willis111:
... edit for fr
[Motorola Droid 3] jarzy00:
XT862

I know it says it in the directions but can someone give me a noob walkthrough on how to overclock? Ive never done it before. I have terminal emulator and cpu master the free version lol. Whats next?
[Motorola Droid 3] runandhide05:
Here. I made a very easy tut with a nice one click(ish) way to oc

http://rootzwiki.com/topic/10806-easy-overclocking-almost-oneclick/
[Motorola Droid 3] jjhiza:
Maybe a dumb question, but has anyone tried this on CM9 yet, or would the scripts need to be rewritten for ICS?

Edit: decided to go guinea pig, and I can confirm that at the 1.2 and Return to Stock scripts do work on the current CM9 build. 1.3 induces a freeze, and I haven't tried 1.1, but I'm pretty stoked, because the scripts blew me into a bootloop on Preview build 4. :D

Sent from my ICS D3, powered by Hashcode
[Motorola Droid 3] oostah:
Yes they do work on Build 6
[Motorola Droid 3] The-Captain:
Great work! Now if we could only have that 1.5GHz you discussed!
[Motorola Droid 3] ChaoticWeaponry:
We probably will need a unlocked bootloader for that to work.. If most Droid 3's freeze up at 1.3 gHz, then we need to increase the core voltage, and will probably need a new kernel (unlocked bootloader allows kernel change)
[Motorola Droid 3] buckmarble:
Voltages and speeds can be changed and this is achieved by a proper module being developed. Same way milestone, x, x2, d2, d2g were.
[Motorola Droid 3] jarzy00:
"Unzip the attachment from the first post" am i missing something i am supposed to download?
[Motorola Droid 3] jjhiza:
You don't see the "xt860_overclock.zip" file in the OP?? If, for some reason, it's not displaying for you, I can re-post it for you ...

D3 CM9 Alpha 1
[Motorola Droid 3] jarzy00:
Im either retarded or its not displaying lol i literally just scanned the entire thread on both posts and no .zip so if u can post it for me that would be helpful thank you haha
[Motorola Droid 3] eww245:
Not sure why you don't see it, anyhow here is a link from the op, http://xdaforums.com/attachment.php?attachmentid=785136&d=1321507036
[Motorola Droid 3] jarzy00:
Mayb its the tapatalk app not sure but thanks man

*** failed on 1000. cross-device link. Thats the error im getting? My cpus are set to max and the files are on the root of sd whats going on does this not work for xt862?
[Motorola Droid 3] reilord:
It doesn't work for me. Maybe is should be extracted onto external sd card?
[Motorola Droid 3] 白い熊:
For how long before it reboots? I've had it run for a couple minutes, but then inadvertently, the voltage is too low and reboot...
[Motorola Droid 3] 白い熊:
Meaning?

40% of users can run it? or I'm only able to run it 40% of the time?
[Motorola Droid 3] eww245:
It can't be executed fron the sdcard as it is mounted with noexec. Copy it somewhere on /data partition.
[Motorola Droid 3] ChaoticWeaponry:
40% of users can use it, and my droid will run 1300 for a very long time -- about until it gets to 90 - 100% CPU utilization, then my phone will freeze.
[Motorola Droid 3] jarzy00:
okay ill try that thank you
[Motorola Droid 3] holeshot77:
working for me on atrix2.
[Motorola Droid 3] :
Working on Atrix 2

I also was getting the cross-device link error, so I changed the commands in the OP from "mv" to "cp" and it worked.
[Motorola Droid 3] colton22:
Underclocking?

So I have been stalking these forums for a while and actually have an idea to add to this discussion. I am currently overclocked to 1.2GHz on a Droid 3 with help from Rick#2 (Thank you very much).

I have an idea using tasker that might allow us to save a LOT of battery. Is there a way for anyone to build a file to clock to 300MHz or 600MHz? Doing so we can have tasker or similar execute the file (underclock the phone) when the screen turns off saving much desired juice. Also would like to try a 1.35GHz and maybe 1.4GHz if you are not too busy.

Once again thank you for all this great information here and everywhere on XDA!

Colton22

PS: Also do we need setCPU if there are literally no benefits while running OC'd?
[Motorola Droid 3] swbf2lord:
Could this be done for the X2?
[Motorola Droid 3] brandonmangan:
run without usb

I've been running this for a few days, I just wanted to post the alternative method I used in order to not have to be at the computer and to get around the copying issues i was having in terminal.

Do the full min/max in setcpu, then.

1. Download zip

2. Using root explorer and extract all to whichever folder you choose

3. Open the extracted 'xt60overclock'

4. select and copy whichever values ou'd like to use (I only copied over 1200)

5. navigate to system/xbin/ in root explorer, mount as r/w and paste the values you'd like

Now that those values are already copied over to system/xbin you'll only have to use the terminal to modify permissions for wichever values you'll be using.

su

cd /system/xbin

chmod 755 1000

chmod 755 1100

chmod 755 1200

Now you should be able to enter whichever value you'd like in terminal and see the nice 'clocked to 1.x'.

Thanks OP, great stuff. I just wanted to share this.
[Motorola Droid 3] Cdjones187:
What was updated/edited in the OP? Also, just wondering if your still looking into this? Wish someone would just write a kernel module so we can have on the fly scaling instead of running full out. And even better would be integration with Android overclock so we can set our own frequencies and vsel.
[Motorola Droid 3] tekahuna:
Wow, and like magic.... It appears before you. Then you realize... You've been OPPtimized!!!

http://opptimizer.googlecode.com

A new chapter in this epic thread begins...
[Motorola Droid 3] Cdjones187:
Now, someone with know how needs to look at this, because it is for development use I believe. Thanks for the link though! =] (for a GUI)

SWEET! Thanks.
[Motorola Droid 3] Endoroid:
It does work. Im using it right now.
[Motorola Droid 3] Cdjones187:
I'm about to test the beta (with vsel) JW if you have messed around with voltage at all?

EDIT: Works like a charm, already seeing it stable at 1.3ghz 1.4 vsel SWEET! Been waiting for this since this thread was opened!

EDIT2: ^^ Caused a bootloop (hotboot)
[Motorola Droid 3] tekahuna:
I don't think he's been feeling well lately... Have him holler at me if you get a hold of him.

########## .O. Android Factoid .O. ##########

Jrummy16's Android Overclock was Originally called Droid X Overclock, and supported Droid X & Droid 2. His first 10,000 downloads made using the kernel module found here:

http://androidforums.com/droid-x-al...2-overclock-kernel-module-w-instructions.html

###################################

---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------

How high could you get with the previous overclock method?
[Motorola Droid 3] Cdjones187:
The only scripts provided were up to 1.3ghz but didn't have a very high success rate, I wasn't able to run it since everything was stock voltage. But 1.2ghz could run for days with no reboots.

After trying smartbench with the 1.3ghz @ 1.4 vsel i went into a hot-boot-loop and just used adb to reset to 1ghz (or just battery pull since it looses settings)
[Motorola Droid 3] buckmarble:
I get the reboot instantly with this even when put into terminal. I can't get the overclock to work at all. Followed instruction to a "t" and last line gives me an instant reboot.
[Motorola Droid 3] tekahuna:
0.1 or 0.2 module? The 0.1 module should be fairly safe for everyone... maybe your device really doesn't like overclocking... try "echo 1050000000 > /proc/opptimizer" for the last line, with the 0.1 module. That will be only a 50MHz overclock. Some have reported only being able to do 1.1GHz with the 0.1 module.
[Motorola Droid 3] Endoroid:
I can do 1190, at 1200 it freezes when the cpu hits 100% usage. Higher voltage doesn't help. 1300 is a instant reboot

Question: depending o the settings it will either freeze or instant reboot. What is the cause of each? That way I can know what to tweak to find my optimum

Also I wrote a script with the insmod commands and it works great. Im entering the freq and volts manually until i get it right. I would recommend not setting a freq and volt at boot u ntil you find your optimum
[Motorola Droid 3] Cdjones187:
Thanks to Hashcode I've set up the modules to load at boot

Process for non-aosp (in safestrap)

Boot into safestrap and connect to USB

Go to 'mounts and storage' and 'mount /systemorig'

Open a command promt

ADB pull /systemorig/etc/safestrap/rootfs/init.mapphone_cdma.rc <target directory>

Go to target directory and open 'init.mapphone_cdma.rc' in a text editor (I use notepad++)

Add these lines "insmod /system/lib/modules/symsearch.ko" and "insmod /system/lib/modules/opptimizer.ko" save the .rc file

ADB push <remote location of 'init.mapphone_cdma.rc'> /systemorig/etc/safestrap/rootfs/init.mapphone_cdma.rc

Reboot and your done. To test use terminal or cmd prompt and put in "echo 1122000000 1388000 > /proc/opptimizer"

Now you can set up script files for different frequencies that are stable and use those on boot (ONLY ONCE THEY ARE STABLE)

Went flawless for me, thanks again Hash!
[Motorola Droid 3] ChaoticWeaponry:
Im taking a guess that the first number is the frequency, and the second is the voltage?? I ran 1400000000 and 1400000, and my Droid 3 ran for about 20 seconds :D
[Motorola Droid 3] Cdjones187:
Correct. Also 1.4v (1400000) is the CAP for moto devices.

Reference table here: http://rootzwiki.com/topic/14511-op...4-overclocking-kernel-modulesofficial-thread/
[Motorola Droid 3] ChaoticWeaponry:
Any way around the cap? Or is it hardware capped?
[Motorola Droid 3] tekahuna:
I'm not sure about how this bit of code is implemented in the greater scheme of things at this time, just haven't had a change to dig it to this particular issue. Might even be that how I have voltage being manipulated, that it doesn't even get run through this code. My LG Thrill without this bit of code doesn't like much more than 1410000V. Max voltage might also be a function of what the power supply in these devices can deliver cleanly, and the overall design. Which I have a feeling might be a factor in the reasoning for the cap.

From /arch/arm/plat-omap/opp-max.c

/*
* opp-max.c - MAX-specific functions for the OPP code
*
* Copyright (C) 2010 Motorola
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/

#include <plat/opp-max.h>

#define RAMP_REG_ADDR 0x06
#define RAMP_REG_VALUE 0x10
#define SLAVE_ADDR 0x60

/**
* omap_max8952_vsel_to_vdc - convert MAX8952 VSEL value to microvolts DC
* @vsel: MAX8952 VSEL value to convert
*
* Returns the microvolts DC that the MAX8952 Regulator should generate when
* programmed with @vsel.
*/
unsigned long omap_max8952_vsel_to_uv(unsigned char vsel)
{
if (vsel > 0x3F)
vsel = 0x3F;
return (((vsel * 100) + 7700)) * 100;
}

/**
* omap_max8952_uv_to_vsel - convert microvolts DC to MAX8952 VSEL value
* @uv: microvolts DC to convert
*
* Returns the VSEL value necessary for the MAX8952 Regulator to
* generate an output voltage equal to or greater than @uv microvolts DC.
*/
unsigned char omap_max8952_uv_to_vsel(unsigned long uv)
{
if (uv < 770000)
uv = 770000;
else if (uv > 1400000)
uv = 1400000;
return DIV_ROUND_UP(uv - 770000, 10000);
}
[Motorola Droid 3] ChaoticWeaponry:
Wow thats a lot to read.. My ASUS Tranformer that I'm currently using can run 1450mV, because it has some sort of voltage regulator built in to it, thats why I was asking.. I know there is a lot of potential in the Droid 3, but if it's hardware capped, I'm gonna be pretty mad..
[Motorola Droid 3] ChaoticWeaponry:
So in that case, I can rename this coding to get around it? I can pull 1.325 ghz stable with 1400mV. Ill go try without the coding and see what I can get..
[Motorola Droid 3] slvrarrow:
Is there any way to undervolt at each of the stock clocks levels?
[Motorola Droid 3] tekahuna:
A little further investigations brings me to /arch/arm/mach-omap2/board-mapphone.c, where we find the structural definition omap_pmic_mpu:

static struct omap_volt_pmic_info omap_pmic_mpu = {
.name = "max8952",
.slew_rate = 16000,
.step_size = 10000,
.i2c_addr = 0x60,
.i2c_vreg = 0x03,
.i2c_cmdreg = 0x03,
.vsel_to_uv = omap_max8952_vsel_to_uv,
.uv_to_vsel = omap_max8952_uv_to_vsel,
.onforce_cmd = omap_max8952_onforce_cmd,
.on_cmd = omap_max8952_on_cmd,
.sleepforce_cmd = omap_max8952_sleepforce_cmd,
.sleep_cmd = omap_max8952_sleep_cmd,
.vp_config_erroroffset = 0,
.vp_vstepmin_vstepmin = 0x01,
.vp_vstepmax_vstepmax = 0x04,
.vp_vlimitto_timeout_us = 0x200,
.vp_vlimitto_vddmin = 0x0d,
.vp_vlimitto_vddmax = 0x3a,
.vc_offmode_chnl_cmd = 0,
};

and later where it gets used in the function omap_voltage_register_pmic(&omap_pmic_mpu, "mpu"), as part of the voltage initialization process.

static void __init mapphone_voltage_init(void)
{
#ifdef CONFIG_ARM_OF
struct device_node *node;
const void *prop;
const uint32_t *val;
#endif
int size;

#ifdef CONFIG_ARM_OF
node = of_find_node_by_path("/System@0/PwrMgmt@0");
if (node) {
prop = of_get_property(node, "i2c_addr_iva", &size);
if (prop && size)
omap_pmic_iva.i2c_addr = *(u8 *)prop;
prop = of_get_property(node, "i2c_addr_core", &size);
if (prop && size)
omap_pmic_core.i2c_addr = *(u8 *)prop;

/* The enable_off_mode must be set before omap4_pm_init */
val = of_get_property(node, "enable_off_mode", NULL);
if (val != NULL) {
if (*val)
enable_off_mode = 1;
}
of_node_put(node);
}
#endif

omap_voltage_register_pmic(&omap_pmic_core, "core");
omap_voltage_register_pmic(&omap_pmic_mpu, "mpu");
omap_voltage_register_pmic(&omap_pmic_iva, "iva");

omap_voltage_init_vc(&vc_config);
}

Still not all the way there... So, hijacking omap_max8952_uv_to_vsel(), in some form or fashion is what you'd kind of want to do. Either hijacking and overwriting and redefining it, or redirecting whatever calls it to a new omap_hijack8952_uv_to_vsel(). Still haven't dug into the pmic to figure out where this all leads from here, though...

What is your max with bumping the voltage up?

---------- Post added at 12:55 PM ---------- Previous post was at 12:45 PM ----------

Not ATM. Right now I'm just testing out basic functionality when playing with voltage. I'm actually targeting nearly a dozen devices with my project. So, right now I'm trying to find out where all the different devices stand with the most basic stripped down code possible. Droid 3 users are lucky, as my code for voltage control doesn't play nice with Bionic, or LG Thrill. Long story short, it has to do with what code revision a devices kernel was built with, and how it was patched up, and ported to a particular device.

We will get there... And do things that no one realized was possible. Just be patient, follow me on twitter @tekahuna, and check the site for updates.

http://opptimizer.googlecode.com
[Motorola Droid 3] ChaoticWeaponry:
I have no idea how to put the voltages beyond 1400mV. Haha I thought the file was just sitting in a directory somewhere..
[Motorola Droid 3] phrir1:
D3 ICS OC'd 1.25mhz.....FTW!!!
[Motorola Droid 3] ChaoticWeaponry:
Is that at the 1400mV level? You should be able to get past the 1.3 - 1.35 level.. Mine crashes at 1.35, stable up to 1.32.
[Motorola Droid 3] phrir1:
Still playing with it. I just did that while @ work ;) but will try more when I get home. But I am using 0.1 modules, haven't grabbed the 0.2 (beta with voltages) yet.

Edit: been playing with different things with 0.2 but a lot locks up over 1.250, what voltages are you running @ 1.3?
[Motorola Droid 3] ChaoticWeaponry:
I can get a minimum of 1350mV for 1.3gHz. At 1400mV I can get up to 1.35gHz but it only lasts for 30 seconds before it locks up..
[Motorola Droid 3] Bobbar:
I got to 1250 @ 1388vsel before it crashed. Now it instantly reboots as soon as I set it to 1122...? :confused:
[Motorola Droid 3] Endoroid:
1350mV is lower than stock I believe. It you run cat /proc/opptimizer before entering any values it will tell you 1375mV. 1400 is the motorola cap. Try 1390 and 1.35
[Motorola Droid 3] ChaoticWeaponry:
I can run stock 1000mHz at around 1150mV (if I'm remembering correctly) ill confirm after school..
[Motorola Droid 3] ChaoticWeaponry:
Okay, I can confirm running 1000mHz at 1150mV, and my maximum of 1390-1400mV is 1320mHz stable. I can run 1350mHz, but it locks up after a minute.
[Motorola Droid 3] chevycam94:
"unsupported method" when trying to test/extract the files???
[Motorola Droid 3] the_unknownn:
What's a safe operating temperature for the droid 3 when overclocking?
[Motorola Droid 3] ChaoticWeaponry:
I haven't been able to find the file that shows that CPU temperature, most apps just use battery temperature anyways.. But if someone were to find it, maximum temperature for most CPU's is around 70 - 75 degrees Celcius, and the maximum you should let it hit for a long period of time would be around 65 degrees.. My ASUS transformer overclocked to 1.68gHz runs a maximum of 66 degrees Celcius (stress test for 2 hours), so I wouldn't worry about the CPU overheating..
[Motorola Droid 3] Rennert:
Setcpu shows the temperature

...Tapatalk
[Motorola Droid 3] Cdjones187:
You don't have to worry about this really. TI built in sensors for the cpu that will tell it to throttle its self when it hits a certain temp so it can cool down, or the phone will just reboot it self, preventing any damage. Running at 1.25ghz and stock vsel I see no difference in temps. it still runs around the same as stock and not much warmer if at all. I've seen 45c MAX (this is from looking at batt temp btw, explained below) and in order to get that I was plugged into a wall charger and used my phone camera as a web cam via streaming application for about 2 hours. (I do this frequently and nothing fails)

No, that is showing the battery temp, just like every other application that shows any temp. Until there is a module written that reads the CPU temp all applications will read from batt temp.

The omap 4460 is very similar to our 4430 so the temps might be pretty close to the same. But our sensor is located somewhere else, the command given doesn't work on the D3.
[Motorola Droid 3] Willis111:
I seriously doubt if those sensors are going to do much if you're not using motorolas governer so that it can scale down the cpu correctly but anyways...
[Motorola Droid 3] Cdjones187:
I believe this is a hardware SOC feature and doesn't matter what you have the governor or min set to. Coolbho3000 would be more insightful on the matter but haven't seen him for well over a month now.
[Motorola Droid 3] Sztunt1:
3.0 GHZ !!!

I overclock my DROID 3 to 3.0ghz but not stable hahah! I create a script for this...
[Motorola Droid 3] MrObvious:
I call Photoshop.
[Motorola Droid 3] Sztunt1:
You dont belive:)? I can do a movie:) I do it on DARK DROID 1.1 watch statusbar;)
[Motorola Droid 3] MrObvious:
No I don't. Sorry to be that guy.
[Motorola Droid 3] Sztunt1:
3GHZ

Here;) http://www.youtube.com/watch?v=7EPfzD6vQAg&feature=youtu.be
[Motorola Droid 3] Rick#2:
I've added another binary to allow overclocking to 1200MHz... aptly named "1200" in the archive attachment in the first post.

Note: I noticed that the performance governor is not really required, nor is it preferred; if the moto_hotplug governor is selected but the maximum/minimum clock speeds are both set to 1000MHz in SetCPU the results, in Linpack at least, are significantly better. I'm routinely seeing over 70MFlops at 1.2GHz in the multi-threaded Linpack test using "moto_hotplug" as opposed to the "performance" governor... guess my eyes didn't deceive me after all.
[Motorola Droid 3] LifeInAnalog:
...thanks for the great effort, Rick. Maybe there's hope for the 860 yet ;)
[Motorola Droid 3] ChaoticWeaponry:
Is there some confirmation when you change the clock? I go in setcpu, put the min and max to 1000mhz, and go to terminal, find the directory, and type chmod 755 1200, and nothing happens. My linpack scores remain the same.. im running an xt862 with steel droid..
[Motorola Droid 3] eww245:
chmod only changes the permissions. Try running, nohup 1200
[Motorola Droid 3] MrJudylicious:
This has really been bugging me. I was on 5.7.894 using liberty and ran 1200 -- resulted in my first benchmark screenshot of 3616. I SBF'd and flashed Monster rom1.2 which is 5.6.890 based, ran 1200 and came up with my second screen shot of 5387. Obviously, im much happier with that, since my old man just got a Razr and stock it scored 5500 :(

why the major difference? Even in cpu scores? I mean monster is a blurred rom and i figured AOSP would run better. It does not.
[Motorola Droid 3] CraiaSoftware:
Works great; want more :) :)

Ok I got it working great now with 1.2ghz :)

I have an extra Droid 3 (that has a bad esn) that I test things on. If you want I would be willing to test 1300, 1400 and 1500. :) :) ;)
[Motorola Droid 3] MrJudylicious:
Ok on linpack I am consistantly getting 70 mflops on multi thread. Very similar to the razr. Im sure its capable of 1.5, but since we set min and max at 1000 aren't we running wide open the whole time? Im half tempted to grab the nexus solely because of unlocked bootloader and this topic
[Motorola Droid 3] Rick#2:
That's right, the phone isn't being throttled at all when both the min and max are set to 1000MHz. Right now I'm working on a better way to do this but for now this was a rather simple hack that I figured others would like to test out.
[Motorola Droid 3] Rick#2:
Be my guest, I've updated the attachment in the first post to add 1300, 1400 and 1500. I haven't even tried it myself yet so I admit this is rather reckless but I doubt it'll do any harm if used in short bursts... but I wouldn't keep it running for any long period of time at anything higher than 1200 for now until more exhaustive testing/work is put into this.
[Motorola Droid 3] MrJudylicious:
is there anything thats actually going to show me what speed im running at? everything just shows 1000. i know my benchmarks are going up
[Motorola Droid 3] nutpn:
new at this whole terminal thing

I am sort of new at the terminal thing, I have loaded tons of roms but never did anything with the terminal.what do i type first.can u give me some instructions.i tried data/local and it said permission denied.so i prolly didnt do it right
[Motorola Droid 3] ChaoticWeaponry:
Hahahah.. well I figured out why it didn't work :) thanks!

*Edit nohup creates an output file

---------- Post added at 01:53 PM ---------- Previous post was at 01:51 PM ----------

Open Terminal

type "su" without quotes

Allow superuser permissions

find the directory your files are in

execute the file via the directions posted.

---------- Post added at 01:58 PM ---------- Previous post was at 01:53 PM ----------

What command do you guys use? I'm in data/local (files location) and I run 1100, and it says "1100 not found"
[Motorola Droid 3] dsw361:
All I did was navigate to the files after unzipping them using root explorer, then i executed 1200 with Linux script handler now I'm getting 86+ with linpack multi when before I was getting 70 and under!

I've yet to test 1300,1400,1500.

Edit: I put the files in data/local first.