yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] sinistersai4d4d:
How come visionary no longer starts on boot after placing all the overclock files in there place?

Even though it's set to autoboot I have to run it every time. It was working before.
[G2 and Desire Z Android Development] vtmn215:
issue after the fact.

Hey guys! Got this running and its awesome but, when I reboot, I cannot get root access again. I replaced the vision_oc.ko file in the root location of the SD and re-loaded all of the scripts back into the gsscript folder.

When I try to run CPOC with the vision file in the root location of the SD, nothing happens. I just get the blue screen with no scripts popping up. I am thinking that maybe it did it but I didn't notice the scripting but when I try to run OC or OHSHIIIIT, the same thing happens. I go into the setcpu app but it says I do not have root access.

Where am I going wrong? Any help would be appreciated.
[G2 and Desire Z Android Development] wpickel:
I noticed the same behavior (needing to run VISIONary after reboot). However, the commands (SU, etc) in /data/local/visionary.sh are still being executed.
[G2 and Desire Z Android Development] TheSystemHasFailed:
So you need to have temp root set up first before you try to install the Overclock, correct?

EDIT: Just found VISIONary.. I get it now. Thanks.

Can't wait to try this.. :D
[G2 and Desire Z Android Development] mgshute:
Even before overclocking I had to run VISIONary after each reboot after r4, even when selected to run at boot.
[G2 and Desire Z Android Development] Arcadia310:
Install Visionary and root your phone.
[G2 and Desire Z Android Development] Smokuevo:
You don't have root.
[G2 and Desire Z Android Development] vtmn215:
OMG! I forgot the first step! Thanks for helping me out guys! Ha Ha... I feel dumb especially since I did it last night :P
[G2 and Desire Z Android Development] TL24:
I can officially say it was the setCPU widget that was slowing/lagging the phone after an unlock! Ever since removing the widget I've had zero slowdowns!
[G2 and Desire Z Android Development] colin007:
holy sweet Jesus!, your the man.. I kneel before you. worked perfect, after I made adb work with the usb driver. I thought google sdk would have had that updated by now. Thanks for your hard work.
[G2 and Desire Z Android Development] l0uisz:
HAHA at the title " its over 9000!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! " lol i know where thats from! lol
[G2 and Desire Z Android Development] sundar2012:
I got mine up to 75/1.44 ghz. After that phone locks up and I have to battery pull. Oddly, when I tried 78 - I was able to use the buttons (power + voldown + pad) to restart, but other times it locked up i had to battery pull (annoying with the gel case).

Now my question is, has anyone played around with voltage?

insmod vision_oc.ko pll2_l_val=X vdd_mv=1200 vdd_raw=242

Where vdd_mv equals the voltage in mV and vdd_raw equals 224+(vdd_mv-750)/25.

I don't know much about OCing or how the voltage affects things - but i'd be curious to know what you guys have seen?
[G2 and Desire Z Android Development] Deuces:
just a thanks for getting my g2 running at OVER 9000 GHZ
[G2 and Desire Z Android Development] sinistersai4d4d:
Didn't I say that! But here's a question. What's an alternative? Maybe with processor speed in the notification shade?
[G2 and Desire Z Android Development] sinistersai4d4d:
http://www.youtube.com/watch?v=SiMHTK15Pik

haha
[G2 and Desire Z Android Development] 305buddyluv:
Oustanding work. Developers like you make having android a hole lot better.
[G2 and Desire Z Android Development] Moglie_blue:
1ghz results

Would it be possible for someone with the G2 and SetCPU to run a linpack and Quadrant test with the phone set to 1ghz?

I'm really interested to see how it will do against the DHD and the only fair way to see that is to set it to the current set standard that the DHD seems to be getting tested on at the moment.

If this could be done for me that would be great as I really want to know if it's worth waiting for the DZ or just going for the big daddy DHD.

I hope this hasn't already been asked and answered as I've tried looking everywhere (other sites included) but I can only find it set at 800mhz or 1.34 - 1.55

Cheers.
[G2 and Desire Z Android Development] theglock:
i have mine set to mv=1100 with 1.42ghz overclock and ive been using it for 2 days with no problems
[G2 and Desire Z Android Development] KShatzkes:
Here you go, set at 1017.6 MHz.
[G2 and Desire Z Android Development] crazedfan88:
Here are 4 pics of my results. Been running it for almost a full 24 hours now, and been smooth with no freezes. I am happy with these settings:
[G2 and Desire Z Android Development] Moglie_blue:
Thanks for the speedy results. that has helped me with my decision.
[G2 and Desire Z Android Development] sinistersai4d4d:
I'm in your boat. Got mine set at 1200 mhz.. just enough so I can laugh at the Evo, and not so much that I might have any side effects lol. Also have a setcpu profile so it doesn't go over 700mhz while screen is off, this ensures no lag when waking phone up.

Additionally I killed the setcpu widget because I find that it seems to irritate the smoothness of my setup.
[G2 and Desire Z Android Development] madpanda331:
G2 FTMFW

Thanks man!!!

Been running at 1.42 for the past 2 hours and it all runs smoothly!

no freezes nothing =)
[G2 and Desire Z Android Development] sundar2012:
Just switched it (using 1.44ghz) - seems fine. did you test lower values?
[G2 and Desire Z Android Development] aacrabtree:
So I've been running mine at 1.286GHz (the highest it would go and not freeze up on screen-wake) for over 24 hours now, with no problems. Also, I had it set as 1.286 min/max, with scaling set to performance (I was benchmarking, and forgot to put it back :D), and it's been off the charger for about 4 hours now - battery still says 100%. Obviously it's not really 100%, and I'm at school so my use has been extremely limited, but still. That's kickass.
[G2 and Desire Z Android Development] sinistersai4d4d:
I'm getting about 8 hours heavy use out of mine. Can't complain. Get a lot more time on Edge though so when I'm not browsing or at work I leave it on edge.
[G2 and Desire Z Android Development] lightningtrip:
I have been messing around with this, and I seem to get very similar benchmarks going from 1.42 to 1.53. I get a 55(avg) linpack and am getting 2270(avg) with quadrant. Seems to be very stable thus far. I tried upping value to 86 but doesnt run long without locking, 80 seems real stable though, and the phone doesnt appear to be getting hot.

Thanks for this hack :)
[G2 and Desire Z Android Development] sundar2012:
wow, when i tried 80 i got complete lock. But my quadrant on 1.44 is consistently higher than what you report - try to see what services you have running the background.
[G2 and Desire Z Android Development] ditchmagnet:
How are people getting such high linpack scores? Go to greenecomputing and look at linpack by device. How did corylulu score that 66, and eric got 87!?!
[G2 and Desire Z Android Development] d0nkey:
I cannot get mine over val=72 @ 1382Ghz. Tried under and over voltages. No luck.. any overclocking experts have any insight to get it up to 1.4+ or 1.5+ like some are reporting?
[G2 and Desire Z Android Development] sundar2012:
I'd like to know the min and max people are getting at different voltages. I suppose it might vary from phone to phone because of minor organic variations in each individual chip as well as what is running in the bg and what the temperature is.

I have mine at 1.44ghz on 1100mv. I disabled most of the bloatware as outlined in another thread and i removed the setcpu widget. i'll see if i can push it further after i full charge cycle.

To me, the real question is if you OC to 1ghz, how low can u get the voltage?
[G2 and Desire Z Android Development] lightningtrip:
I shut down all services I could and managed a 2435 on quadrant, linpack was 56.07
[G2 and Desire Z Android Development] wheeliest:
i ran val=80 for a few minutes and it locked up exiting the drawer, i have bloatware disabled and only running 3 widgets. also no adjustment to voltage, highest linpack was 52 for me
[G2 and Desire Z Android Development] EclipseX:
woOoOOw I want to get this on mine HD2 evo android :D

how I can get this values?!
[G2 and Desire Z Android Development] Vandam500:
I'm pretty sure the HD2's processor cannot handle so much overclocking? Someone confirm please.
[G2 and Desire Z Android Development] Jigga0o7:
There's gotta be some bugs or cheats going on. I got 53.636 at 1.536ghz and 2520 in quadrant. This was without shutting down any services any whatnot.
[G2 and Desire Z Android Development] sundar2012:
after restarting my phone and trying to do 1.44 @ 1100mv it freezes :confused:
[G2 and Desire Z Android Development] sundar2012:
nevermind, after a few restarts i tried again (i think launcher pro was acting up). Now i'm at 1.46 @ 1100 volts. however my quadrant went down a bit...

edit: should have waited a bit. killed the finance service and im up to 2418. why does finance service run if i dont have the widget on? time to disable.
[G2 and Desire Z Android Development] SuperFly03:
Multiplier of 63:
[G2 and Desire Z Android Development] SuperFly03:
That's my next step is to jack with the voltage.

I'm running 1.2GHz so I'm hoping to back down the voltage from stock... let's see what happens. :)
[G2 and Desire Z Android Development] sundar2012:
Later today im going to see if i can maintain 1.46 at 1000mv - that should do wonders for the battery as well as the overall device temp as most of the time i seem to be throttled back down to 768 by my temp safety profile.
[G2 and Desire Z Android Development] liberalswine:
In regards to voltage, what would be considered the safe zone? I didn't mess with voltage yet, and with following the tutorial with overclocking, what is the current voltage set at? I actually don't see anything in setcpu to change voltage. Chime in for a newb?
[G2 and Desire Z Android Development] sundar2012:
see my previous post - you need to add some params to your sh file. helps to have a calculator/app handy/open.
[G2 and Desire Z Android Development] SuperFly03:
Based on the way the CPU tables read... the kernel module sets the voltage to 1200mV.
[G2 and Desire Z Android Development] SuperFly03:
My scores for Val = 68

I get a much higher score on Quadrant when not plugged into my laptop (i.e. not running USB debugging and such).

Score went from a hair under 2k to 2280 just from unplugging it from the laptop.
[G2 and Desire Z Android Development] Vandam500:
Taken straight from his Github:

"To also change the voltage at the highest speed, run:

insmod vision_oc.ko pll2_l_val=X vdd_mv=1200 vdd_raw=242

Where vdd_mv equals the voltage in mV and vdd_raw equals 224+(vdd_mv-750)/25."
[G2 and Desire Z Android Development] liberalswine:
Thanks! This explains alot
[G2 and Desire Z Android Development] liberalswine:
Thanks man. What voltage would be optimal and safe if running a value of 71? I'm currently at ~1.3ghz
[G2 and Desire Z Android Development] Vandam500:
I think 1100 is fine.
[G2 and Desire Z Android Development] liberalswine:
Sorry for my ignorance. I want to tone down my battery usage and run 1000mv @1.36ghz. I'm assumung mv=1000, but what will raw=?

Battery is gettin hot and at 100 degrees just browsing these site right now
[G2 and Desire Z Android Development] gilnino:
So what I have learned reading through this thread is people who have problems should first do the following.

Uninstall and re install setcpu

Turn off and turn on debugging again

Turn phone off and take out battery

And start over.

On setcpu select auto detect

That should do it. Remember it will always be something small you missed

Sent from my G2 root by visionary using my XDA app
[G2 and Desire Z Android Development] rhcp011235:
Im overclocked the whole day at 1.4 and using consertive and set-at-boot.

No freezing yet. Seems good. Way faster. When i thought it couldnt be faster it just became :)

Nice work.
[G2 and Desire Z Android Development] gilnino:
Oh yeah don't just install setcpu. Use the profiles. I use the phone sleep option. Saves battery big time

Sent from my G2 root by visionary using my XDA app
[G2 and Desire Z Android Development] liberalswine:
Anyone having good result running 1000mv at 1.3ghz and higher?
[G2 and Desire Z Android Development] M3XICAN5:
Been running at 81 stable for a while now. Thank you so much for this awesome discovery.
[G2 and Desire Z Android Development] apueb008:
Hi guys. Finally found my phones sweet spot at val=76 or 1459 MHz, what would be the proper voltage value for optimal battery life??

Thanks this is amazing.
[G2 and Desire Z Android Development] liberalswine:
Here are my results with value at 71. Changed mv to 1000.
[G2 and Desire Z Android Development] SuperFly03:
Speed and Voltage are positively correlated. If you want to run a faster speed you need more voltage. To run slower you need less. If you seem to have maxed out your speed you possibly may not be able to lower the voltage.

i would take it one step at a time.
[G2 and Desire Z Android Development] byno1:
can i gety a reply asap

is there a way to this with out using a computer ppl like can i do this with terminal emulator
[G2 and Desire Z Android Development] lightningtrip:
Yes, i did it thru terminal emulator...research page 1 and 3...
[G2 and Desire Z Android Development] liberalswine:
Can someone confirm that my script is correct? I want to run value of 71 at 1000mV. I'm not sure if I did it right since I have no clue how to monitor mV. Advanced system monitor shows I'm at 3.8 volts with this script running.

insmod /data/local/vision_oc.ko pll2_l_val=71 vdd_mv=1000 vdd_raw=234
[G2 and Desire Z Android Development] SuperFly03:
just ran that script... it's right. I ran it with val 68... but that doesn't change anything else.
[G2 and Desire Z Android Development] liberalswine:
Thank you sir!
[G2 and Desire Z Android Development] lazybonez2g:
tryin to oc my g2 but it keep on sayin not permitted

every time i try to run the command (insmod /data/local/vision_oc.ko) i keep getting this error(insmod: init_module '/data/local/vision_oc.ko' faile <operation not permitted>) can someone help me plz
[G2 and Desire Z Android Development] v8pwrdz28:
What's the max safe mv we can run?
[G2 and Desire Z Android Development] Vandam500:
Type su and hit enter. Then write the commands :)
[G2 and Desire Z Android Development] Vandam500:
Pretty sure its 1200, safe at least.
[G2 and Desire Z Android Development] v8pwrdz28:
Would uping the mvs allow us to overclock it any further? More mv no locking up?
[G2 and Desire Z Android Development] liberalswine:
I had this issue too. I've always ran noreboot script everytime I want to run different overclock scripts.
[G2 and Desire Z Android Development] SuperFly03:
Yup, I used terminal emulator and GScript.

Terminal Emulator to do manual changes... then put them in a script so I can one click overclock if I ever have to reboot my phone. :)
[G2 and Desire Z Android Development] SuperFly03:
I would need to know more about the stock voltage and 45nm process...

+15% is generally considered to be save in terms of vCore.

increased voltage is inversely correlated to silicon life. Higher voltage = shorter life span of the chip. Now, this is nothing to be concerned with since, if these things are designed anywhere near mobile/desktop CPU standards they are designed for a good 15-20 year life so the increased voltage means maybe a 12 year life. :)

Good news is... if you fry it and take it back to TMo they won't have any way to know given their content protection. Reboot = it's like it never happened. :-P

That and... who the hell OC's a phone? Guarantee you TMo would never ask you if you did. :D
[G2 and Desire Z Android Development] SuperFly03:
If using terminal did you start by getting SU access?

You have to do that every time you restart the terminal. It isn't pervasive su.
[G2 and Desire Z Android Development] liberalswine:
I use gscript and granted su whenever I run it. Usually I run my script now and its good. If I get the error as mentioned, I select noreboot script, then run oc script, then noreboot again, and my desired script and works fine. This is seldom after doing a bunch of trials to overcome the error. But after a reboot, I'm usually good when first selecting oc, noreboot, and then my own script
[G2 and Desire Z Android Development] lazybonez2g:
thanks guys, i wasnt using the su cmd. i just did it again wit the su cmd and it works. thanks again.
[G2 and Desire Z Android Development] Arcadia310:
Finally got my tutorial up!! http://www.youtube.com/watch?v=wToXNT3zIqY

Please view it if you need ANY help overclocking your phone, this is the gscript method.
[G2 and Desire Z Android Development] SuperFly03:
I'm working on seeing how little voltage it will take to hold 1.3GHz

So far 1000mv works just peachy.
[G2 and Desire Z Android Development] liberalswine:
1000mv is workin for me at 1.36, but I'm still hittin 102+ temps while charging and mutitasking. Let me know how low you can go.
[G2 and Desire Z Android Development] CaliCL9:
Im running val=76 mv=1000 and this is what i got on setCPU and quadrant.. running smooth

I tried to overclock more but nothing stable.. so im sticking with 76 for now.. tried to mess around with mv and val to try to get a higher number but this is my average.
[G2 and Desire Z Android Development] G1rome:
For some reason I can't go up to 78. Anyone got any ideas? 77.is my max val :(
[G2 and Desire Z Android Development] SuperFly03:
Have you tried skipping to 79? You could also try increasing your voltage more if you really want to take it higher.
[G2 and Desire Z Android Development] SuperFly03:
I used SetCPU Stress Test for val 68 @ 950mv.

Results:

Next stop, 900mV
[G2 and Desire Z Android Development] fastludeh22:
vision_oc.ko pll2_l_val=53 vdd_mv=750 vdd_raw=224

1017mhz. Ran several hours at 800mv, locked setcpu at full speed and ran linpack, no change since full mv. 30 mins so far at 750 mv
[G2 and Desire Z Android Development] hawaiian.monzta:
The oshitttt.sh file value is too high for your g2. You need to bring the value down. You can do this by opening up terminal emulator. Run

su

Insmod /data/local/vision_oc.ko

Insmod /data/local/vision_oc.ko pll2_l_val=73

The oshitttt.sh value iz 74 i believe. So you gotta bring it down so try 73, if that freezes try 72, and jes keep going lower until you find a val that doesnt freeze on you. Oh and remember to type

Rmmod vision_oc.ko to change the value then type in insmod /data/local/vision_oc.ko pll2_l_val=#

Hope this helps
[G2 and Desire Z Android Development] SuperFly03:
Nice.

I just pulled down 900mv @ 1.3GHz.

SetCPU Stresstest result:
[G2 and Desire Z Android Development] Akulamenuri:
I don't think that undervolting is working. I'm been running my G2 at 1497mhz at 750mv and its working fine. Then I tried to run the G2 at 1516mhz at 1200mv and it froze. That doesn't seem right...
[G2 and Desire Z Android Development] coolbho3000:
Are you guys adjusting vdd_raw too? Set vdd_raw equal to 224+(vdd_mv-750)/25
[G2 and Desire Z Android Development] Flippy125:
Ive attempted overvolting to 1300 so i could get higher values. It isnt working at all. and yes im editing vdd_raw
[G2 and Desire Z Android Development] Akulamenuri:
What I enter was:

insmod /data/local/vision_oc.ko pll2_l_val=78 vdd_mv=750 vdd_raw=224

pll2_l_val=78 (equals 1497mhz)

224+(vdd_mv-750)/25

224+(750-750)/25

224+(0)/25

224

I'm running at 1497mhz at 750mv and I see no problems, that seems weird
[G2 and Desire Z Android Development] SuperFly03:
Yes.

I currently have it set to 850mv and 228 vdd raw :)
[G2 and Desire Z Android Development] fastludeh22:
Ya, I forgot earlier to ask what the code was to see what the v was in term.
[G2 and Desire Z Android Development] coolbho3000:
The voltage tweaks might not be sticking, I'll look into why this is.

I'm also looking at the GPU clocks, which look like they can be adjusted. ;)
[G2 and Desire Z Android Development] Flippy125:
Thanks! And this is great news!! This is like a superphone =p
[G2 and Desire Z Android Development] SuperFly03:
Stability test from SetCPU (1300Mhz) @ 850mv:
[G2 and Desire Z Android Development] fastludeh22:
I'm gonna have to agree. I'm running vision_oc.ko pll2_l_val=53 vdd_mv=250 vdd_raw=205

That's shouldn't run
[G2 and Desire Z Android Development] SuperFly03:
That might be why we "appear" to be getting great clocks on low voltage.

Keep us posted.

let me know if you need a guinea pig.
[G2 and Desire Z Android Development] SuperFly03:
I was going to ask if someone did something ridiculous like that...

Saves me from trying to do it, lol.

Edit:

I'm not the most savvy of users when it comes to programming (haven't used those skills in 5-7 years)...

But can someone tell me how to compile the source the OP posted? I'm wondering if I change the vdd_raw and vdd_mv there if they change in voltage will stick.

I'd be willing to try it I just don't know how to compile the source provided by the OP into the necessary binary.
[G2 and Desire Z Android Development] fastludeh22:
Like he's reading my mind. I've been wondering about gpu clocks for awhile...
[G2 and Desire Z Android Development] Arcadia310:
Its possible, but the current versions of Android doesn't support it. GPU acceleration is supposed to be a feature of Gingerbread I believe.
[G2 and Desire Z Android Development] SuperFly03:
I believe that is UI GPU acceleration for Gingerbread.

Apps currently utilize GPU acceleration.
[G2 and Desire Z Android Development] carlos2384:
so im trying to push the ko file usb adb but i keep getting an error message saying device not found. i'm obviously doing something wrong but i cant figure out what it is.. help??
[G2 and Desire Z Android Development] mark925:
What do you get when you run 'adb devices'?

Also, make sure debugging is turned on, on your phone (Hit Menu -> Settings -> Applications -> Development).
[G2 and Desire Z Android Development] carlos2384:
adb devices returned "list of devices attached" and USB debugging is set to on
[G2 and Desire Z Android Development] xKERNALx:
had gotten mine up to around 1500 until it froze, just sticking at 1420 since it runs so smooth.

Gotta thank OP. I will try to record a how to for the people who have had trouble, like I did myself.
[G2 and Desire Z Android Development] androidfeen809:
Mujujajajaja I can't believe my G2 just score 3400 on benchmark results don't believe me tho believe this screenshot

http://oi52.tinypic.com/1zn1tz5.jpg

Wahahahahahaha nothing will top this not even the htc desire hd
[G2 and Desire Z Android Development] androidfeen809:
OP you r the best!
[G2 and Desire Z Android Development] androidfeen809:
Actually I did the oshitttt and it runs smoother than butter
[G2 and Desire Z Android Development] androidfeen809:
Anyone notice the pinch and zoom doesn't lag anymore when overclock its got that iphone pinch and zoom type now that its overclock :)
[G2 and Desire Z Android Development] Sv3nt3k:
I was able to get mine to 1.42 GHz, however, it was short lived as it eventually froze on me. And I wasn't able to get back onto it since then. So I set the val to 71 (brought me to 1.36 GHz) and it's been working hunky-dory.
[G2 and Desire Z Android Development] sweetandsour:
Haha I made #7...

Haven't been able to run a better score
[G2 and Desire Z Android Development] franky1029:
You can do this right from your phone. You don't need adb. Here's the options:

Easy way:

mcp2009 made some scripts here

DYI (for those who want to learn):

obtain root

download file (you can do it directly from your phone's browser)

open terminal

type these commands into terminal

*note that "/sdcard/download" is where the stock browser sends all downloads, other browser may not save them here

su
cp /sdcard/download/vision_oc.ko /data/local/
insmod /data/local/vision_oc.ko pll2_l_val=53

53 is default and runs you at 1017.6MHz (you can actually leave out the "pll2_l_val=53" part if you want to run it at that)

I, personally replace it with 74 and am running at 1.42GHz - your results may vary, so play with that last value if you experience problems