yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] KShatzkes:
I love you.
[G2 and Desire Z Android Development] ihateusernames:
Bravo to you. I will be buying setcpu right now.
[G2 and Desire Z Android Development] notxel21:
Great work!! :D

Thank you for this! Much appreciated! :cool:
[G2 and Desire Z Android Development] Kubernetes:
Haha, that's just sick.
[G2 and Desire Z Android Development] KShatzkes:
So I'm still new to this so... where exactly is the /data/local folder? Sorry if that is a stupid question.
[G2 and Desire Z Android Development] havikx:
i think i speak for every1 here...

thank you. you have no idea how happy you have made many many g2 owners. i will donate to you soon, sir.
[G2 and Desire Z Android Development] xile6:
damn man thats all i gotta say. The vision will blow anythign and everything out of the water. And to think i still was going to get a nexus. glad i got the vision. Now all we need is an led color changers for the trackpad :)
[G2 and Desire Z Android Development] Dalamak:
Bought setcpu to show appreciation
[G2 and Desire Z Android Development] havikx:
any1 wanna post me a terminal emulator script to make this work without use of a computer?
[G2 and Desire Z Android Development] milenko11:
I am overclocked to the default but I cannot change the value to get it higher than 1 gig. I get the message file already exists.
[G2 and Desire Z Android Development] TFJ4:
Engadget in 3.2...1...

In other news I'm loving it
[G2 and Desire Z Android Development] crr127:
it would be nice to implement this with visionary on boot. i'm sure it will be comming along the pipe line shortly... awesome work
[G2 and Desire Z Android Development] aacrabtree:
You are amazing. Mine seems to be freezing up if I try to push it all the way up, but the 1GHZ OC works amazingly.

Thanks!
[G2 and Desire Z Android Development] coolbho3000:
To change your overclock:

rmmod vision_oc.ko

insmod /data/local/vision_oc.ko pll2_l_val=74

Try that, hopefully it doesn't crash your phone at 1.42GHz. If it does try a slightly lower value for pll2_l_val, then lower, etc.
[G2 and Desire Z Android Development] soundslikemitch:
you need to use adb

adb push vision_oc.ko /data/local/
[G2 and Desire Z Android Development] luis86dr:
Does this need to be done from pc or can it be done directly from phone also I can't find /data/local on my phone :(

Sent from my HTC Vision G2
[G2 and Desire Z Android Development] Jigga0o7:
Got it up and running in 3 minutes! Great job man!! WHOO!!!!!
[G2 and Desire Z Android Development] cbmm:
this is great. nice job
[G2 and Desire Z Android Development] aacrabtree:
You'll only be able to find it on your phone if you're using a program like Root Explorer that allows you to view everything on your phone.

Easiest way to do it is to use ADB - adb push vision_oc.ko /data/local
[G2 and Desire Z Android Development] Cel1084:
Keep in mind we don't have a clean rom on the G2 and are most like taking a performance hit when we run a rom off the sd-card.
[G2 and Desire Z Android Development] johnxjets:
Mines is actually being clocked now at 706 mhz
[G2 and Desire Z Android Development] toro530:
MCP2009 thanks, that was very easy
[G2 and Desire Z Android Development] Arcadia310:
Finally got my video up: http://www.youtube.com/watch?v=DVORX-ZFblA

This phone is stupid fast.
[G2 and Desire Z Android Development] under0ath888:
appreciate it mcp quick and easy
[G2 and Desire Z Android Development] Corylulu:
damn, if you are getting those scores post up your benchmarks.

highest clock I've seen benched was at 80
[G2 and Desire Z Android Development] CaliCL9:
heh 2400 on quadrant i love it <3
[G2 and Desire Z Android Development] G1rome:
so where do i copy the file? i dont have local on my data folder, do i copy it on data on sdcard or on phone?
[G2 and Desire Z Android Development] mark925:
I have it set right now at 84 still (1.612ghz).

For Linpack it's been sticking in the 47 range.

For Quadrant, the last time I ran it was 2036... but it's been as high as the 2300 range.

I'd be happy to post screens but ddms doesn't seem to want to work on Win7.

It seems like a slightly lower speed might be more efficient... maybe? I'm going to play with it and see if I can find a happy middle for speed since these Linpack and Quadrant scores are a little lower than I thought they would be.
[G2 and Desire Z Android Development] Corylulu:
Was it you that just got the 55?

Starting to wonder how I got the 66, that wasn't even on my highest clock, after I got past 78 it started going down in speed. At 80 I couldn't get it as high.
[G2 and Desire Z Android Development] Snuggl3s:
Just awesome! Running 70 = 1344 Stable and fast! Thx again! if i could purchase SetCPU again i would! haha Keep up the good work! :D:D:D:D:D
[G2 and Desire Z Android Development] mark925:
Nope. In fact I haven't even broken 50 yet on Linpack. I've come close a lot...just haven't got there yet.
[G2 and Desire Z Android Development] Arcadia310:
Can't believe some of you are running at 1.6 Ghz! That's just crazy! Double the speed it shipped at lol.
[G2 and Desire Z Android Development] Corylulu:
Yeah, but it doesn't seem to perform well at those speeds. I think the best range is from 74-78, after that it gets a bit dicey. But its gonna be different on every phone.
[G2 and Desire Z Android Development] under0ath888:
haha this is sick.. and i got 8th highest in linpack for g2.. 52.825
[G2 and Desire Z Android Development] mark925:
I went through and tried 74-84. Seems like for me 80 is the sweet spot (1.536ghz) as my Linpack numbers are hovering in the 48 range with it and I'm getting my highest Quadrant scores with 80 (2300+).

EDIT: Strange... just tried 70 and got similar Linpack and Quadrant scores as I had with 80.

EDIT 2: Guess 80 won't do after all... just tried to launch Angry Birds and after the title screen it reset....76 seems to be fine.
[G2 and Desire Z Android Development] fearedbliss:
Alright, I bought the SetCPU for Root Users app for $1.99 by Michael Huang. I hope that's the right app. Thanks !
[G2 and Desire Z Android Development] mark925:
Yup, it is.
[G2 and Desire Z Android Development] Corylulu:
Yep, thats the one.
[G2 and Desire Z Android Development] johnxjets:
this is great
[G2 and Desire Z Android Development] wilnotdie:
I don't know how to code an app, but an app should be real ez to make....allowing us to enter our own values and change them at will, with a quick click. Give it time :)

Good stuff...perhaps ill type up something.
[G2 and Desire Z Android Development] Corylulu:
Lets hope that doesn't happen. People will be destroying there phones left or right.
[G2 and Desire Z Android Development] decksy:
okay... kinda have a problem now... i had everything running at 1.3ghz (70). so since everything was running so smoothly i decided to add it to my visionary.sh, but now after i added it... it would freeze as its getting rooted upon restart. Is there anyway for me to remove the visionary.sh file?
[G2 and Desire Z Android Development] elracing21:
Just wanted to thank you for the baby steps on doing this. This is amazing!

So many thanks to you,

many thanks to the dev of set cpu, and thanks to the person who created his thread and oc'd first!
[G2 and Desire Z Android Development] G1rome:
gscript method is the best! now how do i overclock it higher than 1.4ghz
[G2 and Desire Z Android Development] philosophics:
First of all, thank you!

Secondly, I''m thinking of one song in particular from Incredibad when I saw the stats on MY device.

This is amazing!
[G2 and Desire Z Android Development] isolated_epidemic:
same problem here. renamed ohsittt.sh to visionary.sh and put it in data/local/ and now visionary freezes my phone when it hits the script (im assuming so because it freezes on the second pass). I cant delete the file because I need root and I cant get root because I cant delete the file? Is a factory resest my only option?

Also adb isnt working for me. I hadnt tried it yet with my G2 , but its still working great for the nexus. I get an error of "remount failed: operation not permitted" when I try adb remount and nothing else will work for me either.

any help would be fantastic

p.s. i had this working fantastic at 74 for almost 45 minutes before I tried moving the script into place.
[G2 and Desire Z Android Development] franky1029:
Use one of the other ways to get temp root. Pull the file, and then you're good to go again.
[G2 and Desire Z Android Development] isolated_epidemic:
Wow, thanks, i was freaking out too much to use my common sense. I'm gonna try that now and I'm sure it will do the trick. Seriously, thank you. I feel like an idiot now.
[G2 and Desire Z Android Development] decksy:
rofl... i feel the same way! THANKS Franky! back to 1.3ghz woot!
[G2 and Desire Z Android Development] franky1029:
No problem guys. Freaking out happens when we do what we do :)
[G2 and Desire Z Android Development] ericc191:
That's a jaw dropping OC. Props to you and the G2!
[G2 and Desire Z Android Development] evojoey:
Awesome ..Bought a copy of set cpu
[G2 and Desire Z Android Development] darkfire2040:
How do u download the file using dropbox??
[G2 and Desire Z Android Development] noodles2224:
I used opera mini to download it from the phone.. Im at work, and wanted to give this a try.. :)
[G2 and Desire Z Android Development] darkfire2040:
Thanks it worked I'm at 1420
[G2 and Desire Z Android Development] soundslikemitch:
Basicly this will stop working if you accept an ota
[G2 and Desire Z Android Development] k0shi:
Hey so quick question using the gscript method. Im having a problem where if i run the oshiittt script first its fine clocks at the right speed and all but if i wanna switch to the oc script i run noreboot and the oc script right? When i do that and check it in setcpu it shows the change at first but the slider does not let me select max cpu speed? any help plz THANKS!
[G2 and Desire Z Android Development] darkfire2040:
Um its been working for me fine and yes u run noreboot first than the oc give it a couple of secs goto setcpu and use the max slider and it should hit the 1ghz
[G2 and Desire Z Android Development] darkfire2040:
Oh running 1440 on clock speed :)
[G2 and Desire Z Android Development] Diablo2424:
Running on 1017 Mhz... wonderful... also now running SetCPU to save battery life!! Thanks so much, this is great temp solution until we get full root!
[G2 and Desire Z Android Development] ultma75:
Just click on the link it should auto download.

Edit. Thought astro had ko saved in extension but guess not
[G2 and Desire Z Android Development] k0shi:
YAY! IM ON TOP 10! wooohoooo Number 8! deng i still cant believe how high corylulu scored at just 1497mhz!
[G2 and Desire Z Android Development] mcp2009:
No prob glad using gscript is making it easier for everyone. I thought that noone would pay attention to the post I made with the scripts lol good to see its being used

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] mcp2009:
No prob I love to help especially when I had trouble all the time when I first moved to android.

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] k0shi:
ok guys sorry for being such a noob but how the heck do i take screen shots?! haha
[G2 and Desire Z Android Development] mcp2009:
Go to the market and download shoot me or drocap

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] k0shi:
thanks bro worked perfect!
[G2 and Desire Z Android Development] sino8r:
Thanks friend! I glad you brought that up! Yes, and make sure your profile governer matches the oc governer (aka ondemand or performance) and makes sure your priority stays at 50. That will save your battery to better than it was at stock. Optimal set up is... 1420mhz max- 245mhz min scaling ondemand (DON'T CHECK SET ON BOOT) then create new profile condition: screen off (sleeping) 245 mhz max-245 mhz min: scaling ondemand priority 50 (default and DON'T adjust that or it will stick and not wake or sleep at proper mhz) then save. Yea! Now you don't have to worry about your battery draining too badly. I also recommend using MCP2009's scripts to make things easier! Enjoy the fastest Android powered phone in existence!
[G2 and Desire Z Android Development] sino8r:
Those are both good (I used drocap since the beginning of android) but I found one the other day called "screenshot" and it is way better than those two classics. Just my opinion... oh and thanks for making those scripts! You saved me the trouble of doing it myself. ;)
[G2 and Desire Z Android Development] k0shi:
Yay here I am!
[G2 and Desire Z Android Development] mcp2009:
Cool I'll download it today. Shootme has been very glitchy for me and no prob on the scripts.

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] sinistersai4d4d:
Wake me when this is automated. I lack the capacity to implement this hack. I donated to SetCPU.
[G2 and Desire Z Android Development] ddgarcia05:
Thanks for the scripts. I just gotta ask what's the noreboot script is good for? I ran it before switching to the oc.sh script. Over clocked it perfectly, I just don't know if it's necessary to run it before or not. Thanks again.

OP THANK YOU!!!!!
[G2 and Desire Z Android Development] ddgarcia05:
Go the the third page of the this great and you'll find a stupid easy way run it using script
[G2 and Desire Z Android Development] TL24:
Damn i'm glad to see everyone OC'in their G2 to BEAST MODE! haha

But honestly, I dont see why you'd need to OC your G2 past 1.42GHZ - anything past this is just overkill... just my opinion.

So where are all those ex-G2 owners now huh? Back at the T-Mobile store to pick up a G2? lol
[G2 and Desire Z Android Development] mcp2009:
Say for example you run the oc script for 1ghz oc'd max but you wanna try the oshittt script for 1.42ghz then you would have to use the no reboot script. You only use it when switching between different values/overclocking higher

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] soundslikemitch:
i posted a script that will make this run w/e you run visionary. http://xdaforums.com/showpost.php?p=8716515&postcount=50
[G2 and Desire Z Android Development] ddgarcia05:
Thanks. I knew it had to be of good use. Thanks again.
[G2 and Desire Z Android Development] chief2842:
BTW battery has been great had it off charger for about 6 hrs and I am at 75% that's with just music playing while I slept.
[G2 and Desire Z Android Development] mcp2009:
No prob and remember if you wanna try to oc higher just go to gscript and long press the oshittt script and click edit and change the value at the end from 74 to what you please. OP recommends 74 as highest and most stable but he says every phone is different, I personally have my value set to 78 and I'm oc'd at 1497mhz and it runs smooth. If it does freeze then just do a battery pull and go back to gscript and edit the value in oshittt to something lower

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] rhcp011235:
Nice work
[G2 and Desire Z Android Development] sinistersai4d4d:
Can I navigate to data local with astro? Or do I need root explorer? I can't find it.
[G2 and Desire Z Android Development] epakrat75:
Extra Voltage, Extra Heat, Shorter CPU Lifespan?

This is a very, very awesome accomplishment! :eek: However...

Having read much of this thread, I haven't yet seen any concerns raised about the effect of running the CPU at 1.4Ghz+ over the long term will have. With people reaching nearly double the stock speed / frequency, what happens to the additional heat that is being generated? I wouldn't expect that passive cooling in use by the device will been able to deal with this?

If the speed of the CPU were doubled then wouldn't that mean the heat would be quadrupled? Even with SetCPU only setting this frequency occasionally, how much more quickly can this hack be expected to "reduce" the life of / "cook" the CPU?

Any thoughts?
[G2 and Desire Z Android Development] TL24:
I'm worried about that too, which is why I'm def. not going past 1.42GHZ - anything past that speed is just overkill.

I might even lower it down to the 1.2GHZ range just to be safe, I guess we'll have to let the brave ones out there keep theirs at 1.5GHZ+ and see how long their G2 lasts!
[G2 and Desire Z Android Development] Arcadia310:
No and app is not easy to make.
[G2 and Desire Z Android Development] Arcadia310:
Not necessarily. The MSM7230 chip is based on 45nm technology and uses very little energy compared to previous gen chips. You can check the phones temp with SetCPU.

I noticed when I woke up this morning that my phone wasn't performing as fast as it was last night. I ran linpack and it was scoring around 45. I rebooted and ran the scripts again and its running 50 in linpack. What makes the phone run sluggish? I'm thinking its because there are several apps running in the background.
[G2 and Desire Z Android Development] Ssantos6981:
I still haven't had any lag issues with the phone. What are you guys using to make there a need to OC that high anyway, or is it just a if I can do it, I will do it type of thing?
[G2 and Desire Z Android Development] wilnotdie:
I think it is. I mean, its basically sending a couple of commands. How hard could that be to actually code? I say 5mins for any normal dev on here. We are already doing the changes manually, how much worse can things get? :)
[G2 and Desire Z Android Development] eyoung1978:
Ok i seem to be having a problem.

I am able to OC the phone by using terminal and typing in the command.

I have all the files in my data/local folder

Right after I type the command in terminal the phone is OCed but when the screen shuts of and I turn it on again I check Setcpu an it is back to the normal 800mhz.

I tried gscript as well. I downloaded the three .sh files put them in the root of my sdcard in a folder name gscript. Loaded the files but then when I come to execute or run them it says not permitted/ syntax error.

I am running the Visionary root as well.

Anybody have any suggestions?
[G2 and Desire Z Android Development] sinistersai4d4d:
How did you put the files in your data/local folder? I'm in no position to help you... but I just wanna know how. Also.. why so many files? I thought I just needed this one?
[G2 and Desire Z Android Development] mcp2009:
For me I've had lag for some reason (tons of widgets maybe) so this helps and also for the if I can do it factor :-) but also for psx roms, tony hawk runs flawless for me now. I mean if you can do it why not do it then my battery isn't even different then when it was at 800mhz and right now I'm at 1497mhz maybe a slight decrease but not noticeable, just make some profiles on setcpu they works wonders

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] mattseg:
I had concerns about running the highest speeds too, I'm at 1ghz right now, and the linpack scores are amazing.

It was a good excuse to play with adb after not needing to for about a year. fyi, for mac folks it's

./adb push xxxxxxxxxxxxxxxxx

not just

adb push xxxxxxx

I had completely flaked the ./ and it was making me insane.
[G2 and Desire Z Android Development] Hosermage:
First, thanks for the efforts by everyone involved.

I'm seeing problem with using setCPU profiles. I ran the overclock script to set it at 74 (1420MHz) and verified with setCPU. Then I enabled profiles and created a screen off profile to underclock it to max 245, priority 50, as suggested by someone since I won't need the performance while not using it.

Now when I turn off my screen and turn it back on, setCPU is reporting only 806 max again. Seems like it went back to normal, but if I try to run the oc script again, it says file already exists. So I have to rmmod and insmod again to get it back to overclocking.

Anyone else has the same experience? Or am I just using setCPU wrong?
[G2 and Desire Z Android Development] sinistersai4d4d:
I wish I had a clue as to what you guys were talking about..
[G2 and Desire Z Android Development] ch4dr0x:
I also have this same exact issue, however I uninstalled SetCPU and reinstalled (didn't ask me for root access the first time for some reason, now it has root access) and it is working fine so far today. Did you give SetCPU root access?
[G2 and Desire Z Android Development] Hosermage:
Ya, tried reinstalling setCPU. clicked on autodetect and gave it root (and remembers). It appears to have nothing to do with the profiles. Because now without any profile, if I simply turn off screen and turn if back on, setCPU reports back to 806 Max.
[G2 and Desire Z Android Development] wilnotdie:
Just in case anyone is still having problems pushing the "vision_oc.ko"

You can try this simplified scrip.

Just use your phone to download the file (vision_oc.ko)to your phone, and then run the script.

Download my attachment txt file and rename it to copyko.sh, then run it like you would any normal script.

All this is doing is pretty much trying to copy the module from 1 of the 3 locations from which the phone should download it to normally.

So now, unless you've changed your default download locations, this should work...from your phone.

you can also just manually type these commands into terminal. Just ignore the errors, one should work.

goodluck :)

su
cp /sdcard/vision_oc.ko /data/local/vision_oc.ko
cp /sdcard/download/vision_oc.ko /data/local/vision_oc.ko
cp /sdcard/tapatalkxda_download/vision_oc.ko /data/local/vision_oc.ko
[G2 and Desire Z Android Development] ch4dr0x:
That is odd. I had the same exact issue last night but for whatever reason its working fine today. I'm sure you've tried to reboot already... sorry I couldn't be of more help :(
[G2 and Desire Z Android Development] TL24:
Anyone else's G2 laggin' after unlocking? It lags for a few seconds before it gets going, whats the issue here?
[G2 and Desire Z Android Development] crr127:
That is because. It is setcpu governin it. It is at its lowest clock setting. And then u wake it up and races up to ur highest causing that second of. Lag... just throttleing
[G2 and Desire Z Android Development] Hosermage:
I rmmod and insmod again, without checking with setCPU, I turn the screen off. Then I turn it back on and run setCPU. Now it's reporting max 245MHz!

I noticed both of my max/min scroller are all the way at the left end, so drag the max to the right and now it says 1420 max again. I guess this is where I should leave it, right?

Just to make sure that setting stays, I rebooted my phone and ran setCPU again. I noticed that it's able to report max 806 with both min/max bars set all the way to the left. So it seems that I shouldn't have to change the bars for it to report correctly? I think this is becoming a problem of setCPU for me, and not about the overclocking. I'll go read some tutorials on setCPU now.
[G2 and Desire Z Android Development] sinistersai4d4d:
"Explain this to me, like you would explain it to an 8 year old."
[G2 and Desire Z Android Development] eyoung1978:
Ok I downloaded your txt file from my phone, then went to check root explorer and it wasn't there. So I downloaded to my comp and then to my phone. Renamed it as you said. What do I do to run what the script? In root explorer I clicked to "execute" the script, it said it was executed but nothing happened.

I used root explorer, the move and paste command
[G2 and Desire Z Android Development] ranyvern:
worked great thanks a bunch for all of this - bought SetCPU to show support.

now if we can only make this phone divide by zero..
[G2 and Desire Z Android Development] sinistersai4d4d:
Ok, did that. Now what? I moved the .sh file to that directory. Rebooted, installed setcpu... now what.
[G2 and Desire Z Android Development] TL24:
So should i just set the Min. to 1.42GHZ?
[G2 and Desire Z Android Development] eyoung1978:
I don't know I'm the one who can't get it to work as well. It's like the blind leading the blind here hahah