yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] elracing21:
Ok running 1.47ghz max and min when the screen is on, after the battery is drained to 70% it goes back down to 800mhz. When screen is off its at max 2xx and min 2xx.

I am not experiencing any problems with lag on unlock or when clock speed is changing. Its been pretty smooth.

I did however try a stress test on value 78 (1.497ghz) 10 times since it seemed to be running real smooth at that speed but after 3hours of use it froze and crashed the phone. Don't know if its because the stress test I ran from linpack or what not.

So I downed it to 77 now and linpack is higher (not much just a higher average of 52.xx when on 78 I was on 50.xx and rarely touched 51.xx).

Maybe a slower clock speed will make performance better? I'm a noob so I just wanted to know why is it like that?

Posted on my T-mobile G(spot)2 xD
[G2 and Desire Z Android Development] jamalkh111:
hay

thank u very much for this.im alrdy in love with the g2 and this makes it even better now.just one question i dont kno much abt hacking stuff can comeone plzz explain to me in easy words how to flash this in my phone
[G2 and Desire Z Android Development] sinistersai4d4d:
It's frustrating that every guide (even the youtube one) just breezes past parts that make no sense to those of use who aren't coding lol.

Can't they just say "Download these files", "Put them in these directories"... if you use the word "PUSH" explain what that means haha...

I'm gonna hang in their for a better tutorial or a simpler method.
[G2 and Desire Z Android Development] ThaGeNeCySt:
so with SetCPU... when the screen is off, it IMMEDIATELY underclocks to the value set in the profile? Because I'm not experiencing any lag at all when I wake the phone up and it jumps back up to the main profile and I want to make sure the profiles are actually working
[G2 and Desire Z Android Development] mcp2009:
For anyone having trouble using the gscript method I posted I get out of class in about an hour and can walk you through it then just pm me your gtalk

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] crr127:
considering the system rarely sits at it's highest speed anyways. but more then likely when you hit the power but it does throttle it. i have a off screen profile set so that when the screen is off it sits at 245 and 378... awesome on battery. and when it wakes, switching to the normal mode profile which ramps it up lol it does have a brief delay. but if you don't have any profiles set up i wouldn't see any delays
[G2 and Desire Z Android Development] g1doobie:
Using the gscript method and when I try the ooo****.sh it freezes my phone right away and I have to pull the battery
[G2 and Desire Z Android Development] ThaGeNeCySt:
that's the thing.. i have a screen off profile.. but I get 0 delay when waking the screen with the power button... it feels as if there is no screen off profile set at 245 at all.
[G2 and Desire Z Android Development] Dalamak:
Its real easy just take a minute to reread the post. You copy the.co to the sd root, the extracted zip to gscript, then shut off usb storage on the phone and launch the contents
[G2 and Desire Z Android Development] crr127:
then i feel more comfortable knowing i have that little delay. cause it is probably running at like 275 mhz lol. which is really low so a little delay is expected one would think... have you tried reinstalling and gaining root again.
[G2 and Desire Z Android Development] mcp2009:
Lol I know I posted the method. I said for anyone having trouble just pm me so I can help them because for some reason people are having trouble

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] elracing21:
Did you mess with the value in ooo****. Yet?

If not then this means your phone can't handle the 1.42ghz clock speed.

Try long pressing the ohhshitt in gscript and edit the value. Make it about 2-3 numbers lower and see if that freezes your phone. Just try and find the value that works well with your phone. Just don't go higher cuz it won't work for you.

Posted on my T-mobile G(spot)2 xD
[G2 and Desire Z Android Development] g1doobie:
Sorry for the dumb question but how do I shut off usb storage?
[G2 and Desire Z Android Development] elracing21:
Question... at what temperture does my phone become a problem? I'm steady @ 93-98 and have it underclocking once it hits 102 but I'm wondering if phones always go up that high and isn't in danger of frying and what not. What temperture should I set my profile to underclock@?

Posted on my T-mobile G(spot)2 xD
[G2 and Desire Z Android Development] elracing21:
Pull down the notification bar and hit the usb notification. The button should be under the android.

Posted on my T-mobile G(spot)2 xD
[G2 and Desire Z Android Development] sinistersai4d4d:
Doing the gscript method. Phone still says I'm at 806mhz. Do I need to change stuff in setcpu?
[G2 and Desire Z Android Development] Arcadia310:
For anyone having trouble I will be making a step by step video tutorial on how to overclock your G2 without using a computer. It'll be on my youtube channel.

I have one problem though. When I download the vision_oc.ko file from the original post on my phone, I can't seem to find the file in my phone when I use astro. It isn't in my downloads folder or the tapatalkdownloads folder. Anyone know where downloads in the web browser go to?
[G2 and Desire Z Android Development] mcp2009:
Downloads from the xda app are in the tapatalkdownloads folder. Browser downloads are in download folder

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] aacrabtree:
An important note to anyone using a visionary.sh script with this, so it runs when you start your phone:

MAKE SURE THE VALUE YOU HAVE IT OVERCLOCKED TO WORKS BEFORE YOU PUT IT IN /DATA/LOCAL!

I had it set at 70, which worked fine while I was first using it yesterday, but sometime in the night, it decided it didn't like it, and it was a pain in the ass to get it fixed, as my phone would freeze immediately after rooting.

If you do have the same problem, open up Visionary while it's running on boot and deselect the "run on boot" button. Your phone will freeze. Do a battery pull. Then, when your phone reboots, run the original root:

/data/local/rage - wait until it says Forked XXXX childs

Reset terminal. Reopen terminal, it will force close. Open again.

You should have the # prompt instead of $

run

/data/local/root

Go into Root Explorer, or a similar app that allows full read/write access to your phone (if you don't have one, it's on the Market. It does cost a couple bucks, but it's worth it), go to data, then local, then find your visionary.sh file, and either edit it to have a lower value, or delete the file.

Reboot.

Run Visionary, and reselect "run on boot"

Hope no one else has this problem like I did.
[G2 and Desire Z Android Development] c_licious:
Alright guys, I'm by far no expert but let me try to put a simple step by step guide together of how to make it work without having to use adb.

Download the vision_oc.ko file to your computer

http://dl.dropbox.com/u/36553/vision_oc.ko

Make sure the file gets saved as vision_oc.ko and not vision_oc.ko.ko which sometimes happens when the computer tries to add the file extension automatically.

Download the 2 attached zip files to your computer. Credit goes to mcp2009 (post # 24) for creating and posting them. (@mcp2009, I hope it’s ok that I attached them)

Unzip both folders.

Connect your phone to the computer. Create a new folder on the sd card named gscript. Move all of the 4 unzipped files (oshitttt.sh, noreboot.sh, oc.sh, and cpoc.sh) into the gscript folder and move the vision_oc.ko file to the root of your sd card (root meaning the main sd card folder and no subdirectory).

NOTE: All this can be done without a computer by downloading the files directly to your phone and moving them with Astro.

Download gscript from market (free version works just fine).

Make sure you are rooted (use visionary app from market to get 1-click temp root).

Open gscript app, select menu>add script>load file>cpoc.sh

Repeat for the remaining 3 files (oshitttt.sh, noreboot.sh, oc.sh)

Note: you can change the name for each script to make it easier to remember what they do.

cpoc.sh puts the vision_oc.ko file into the phone directory /data/local. Alternatively you could have downloaded root explorer to copy and paste the file directly or used adb to “push” the file directly from your computer into the directory.

oshitttt.sh will overclock it to 1.42 ghz

oc.sh will overclock it to 1 ghz

noreboot.sh will be needed if you want to change the cpu without having to reboot.

Now run “cpoc” (or whatever else you named it) in gscript to put the vision_oc.ko file into the phone directory /data/local.

Next run either “oshitttt” to clock it to 1.42ghz or “oc” to clock it to 1ghz. After every reboot you have to re-set the cpu but you do NOT have to run “cpoc” again. If you want to change the cpu without reboot run “noreboot” before selecting new clock speed.

You can easily add new scripts yourself in gscript (menu>add script) by typing in your own command. Use nsmod /data/local/vision_oc.ko pll2_l_val=[add your own value] to create scripts for different clock speeds. (Multiply value by 19.2 to know the corresponding cpu speed.)

Hope that helps!
[G2 and Desire Z Android Development] grex49:
Blazing fast!!!

My G2 is sooo ridiculously fast.....I'm loving it and the battery life is about the same as stock!:D
[G2 and Desire Z Android Development] T-MobileOne:
I'm sorry, I'm very new to this whole process. I've been trying to get this accomplished, however it hasn't happened. Does my phone need root access in order for this to happen?
[G2 and Desire Z Android Development] grex49:
Yes u do u can use Paul's VISIONary app in the marketplace to root your G2. (edit) Temp Root that is
[G2 and Desire Z Android Development] TL24:
When I unlock my phone i'm getting the following error message after it lags for about 10+ seconds:

Sorry!

Activity Lunch (in application Luncher) is not responding.

Should i lower the clock speeds?
[G2 and Desire Z Android Development] Arcadia310:
I've noticed that performance in linpack dips down the longer the phone is turned on. If I reboot I consistently get over 50 in linpack, but after the phone has been on for some time it'll get like 20 then jump up to around 45. I'm guessing its because of all the running applications.

Also, why does SetCPU randomly underclock my phone to 786mhz? It gets annoying. Ill run linpack and notice I'm only getting like 20. I have to manually switch the slider in SetCPU 1420mhz. Its kind of annoying. It isn't my profiles, I've been using setcpu for a while now so I know what I'm doing.
[G2 and Desire Z Android Development] Arcadia310:
Activity lunch? What speed is your phone clocked at? You may need to go a little lower.
[G2 and Desire Z Android Development] rioswag:
good lookin, worked like a charm. Bought setcpu as well, great work guys
[G2 and Desire Z Android Development] TL24:
It's currently clocked at 1.42GHZ - its been working fine all night and morning... Just froze up recently here after unlocking the phone... Like I've said, it's annoying that the phone lags for a few seconds before gettin' back up to speed again.

I'll lower the clock speed to see if it still crashes on me.
[G2 and Desire Z Android Development] Arcadia310:
Hmm I don't have that problem. Do you have a custom profile in SetCPU for when the screen is off?
[G2 and Desire Z Android Development] Arcadia310:
Yeah I'm looking in the download folder and the vision_oc.ko file is not there, and I've downloaded it several times. It vanishes lol
[G2 and Desire Z Android Development] droidtoid:
Works great! OCed to 1574mhz at 82(stable). quadrant scores at 2570 Benchmark PI ranking of #19 at 608ms. linkpack score of 55 mflops. bought setcpu a while back and use it on all my phones. Great job thanks for sharing coolbho3000 and thank you too mcp2009 for the scripts.

Phones

HTC Dream (G1)black - CM6

HTC Magic (mytouch3g)black - stock

HTC Nexus One - CM6

Samsung Galaxy S (Vibrant) -Bionix 1.9.1 jacs oc/uv/voodoo lagfix

HTC Vision (G2) - VISIONary_root/Oced to 1574mhz
[G2 and Desire Z Android Development] KShatzkes:
So an issue I noticed. I had my phone overclocked at 1401 MHz for a few hours now, and it was working great. However, I just picked up my phone, turned the screen on, and for some reason it was only allowing me the default 806 MHz max on SetCPU. I did not reboot or anything, just turned the screen on and saw this happened. It seems the phone adjusted itself back to default and overrode my overclock. Has anyone else encountered this?
[G2 and Desire Z Android Development] TL24:
No i dont have it set to a custom profile... I've been switching to & from:

Max: 1420mhz

Min: 245mhz

Scaling: ondemand

to

Max: 1420mhz

Min: 245mhz

Scaling: performance

Would one of these "Scaling" setup be causing the issue?
[G2 and Desire Z Android Development] Arcadia310:
I have this exact same issue! Its pretty annoying.
[G2 and Desire Z Android Development] mattseg:
me three.

gave me an excuse to try the sick nasty 1.4xghz

...just clicked off a 2406 quadrant.... also my linpack was #121 for fastest devices. ZOMFG this thing is sick.
[G2 and Desire Z Android Development] KShatzkes:
Could this be a perflock driver issue with the device reseting the settings? Or could it be the same old G2 issue with it reseting modifications to the system after a while.

To clarify, so to make sure that other people are experiencing the same problem, what happened to me is that although I had SetCPU at a max of 1401 MHz, when I randomly turned on my screen one time, SetCPU was all of a sudden set at a max 806 MHz. I had no option to move the scroll bar back up to 1401 MHz, since 806 MHz was now reported as the max. After adjusting the CPU using adb, everything was fine again, but I wonder what caused that revertion in the first place.
[G2 and Desire Z Android Development] elracing21:
It seems as if your setcpu lost its superuser permission. I noticed that sometimes the permissions go away and after messing with superuser app. I managed to keep the permission granted at all times.

Posted on my T-mobile G(spot)2 xD
[G2 and Desire Z Android Development] KShatzkes:
That would make sense! So what did you do exactly in SuperUser that allows SetCPU to be granted permissions at all times?
[G2 and Desire Z Android Development] Kalandros:
Issues with Quadrant.

It would seem that when I over clock the phone and run Quadrant, it does not run the CPU tests and the whole test is choppy with weaker FPS's than normal. It's very odd as SetCPU states it at 1017 GHZ.

Any ideas?

I've tested. Quadrant works before root. Quadrant /works/ doesn't work after root.

I was wrong it doesn't work after root.
[G2 and Desire Z Android Development] KShatzkes:
Actually, I don't know if that is the issue. I removed the SuperUser permissions for SetCPU, and went to see what would happen, and SetCPU was still set at 1401 MHz max. I don't know if SetCPU really ever loses SuperUser permissions once you allow it the first time and check off "Remember" in the popup box.

So is this some other issue maybe?
[G2 and Desire Z Android Development] d0nkey:
Okay, so disclaimer: this was a stupid idea

So visionary root can run scripts named visionary.sh in /data/local so i put the script in there to overclock it, and it freezes because I forgot to set the value to a stable number.

So here's my issue. I can't get into /data/local to remove the visionary.sh file without root, but visionary root freezes up because it auto runs the script.

Any suggestions?
[G2 and Desire Z Android Development] mattseg:
uninstall/reboot/reinstall?
[G2 and Desire Z Android Development] SL33PY24:
lost

Can someone post a vid of how to use this. i havent done anyting like this since the t-mobile wing so am a lil rusty. i just cant fig it out. I have the visionary root and connectbot and superuser bought set cpu but i dont know how to use it keep trying but get error someone please help me
[G2 and Desire Z Android Development] d0nkey:
Wouldn't visionary.sh still be in /data/local/ afterwards? So when I reinstalled it would still run the visionary.sh file?
[G2 and Desire Z Android Development] d0nkey:
Nevermind, I see the issue from the visionary thread.

I just need adb or a different method of removing the .sh file since I am too used to using terminal, but can't without su.
[G2 and Desire Z Android Development] Ready2Mosh:
I used post #289 and followed his instructions to the t and it works great. Thank You C-Licious
[G2 and Desire Z Android Development] ddgarcia05:
I'm working on a video. It's rough. Camtasia sucks at compressing avi's. I gotta convert it to WMV and upload it to youtube. Quality probably going to go down also. We'll see.
[G2 and Desire Z Android Development] Kalandros:
Have you tried ADB?

There are other ways to root than VISIONary. I temp rooted my G2 through the busybox and rage method and it works everytime.
[G2 and Desire Z Android Development] KShatzkes:
So I've read over the documentation for SetCPU, and I'm guessing this has to be a problem with the phone. I don't think SetCPU is losing SuperUser permissions, and plus, I don't think it would cause the problem anyways, since you don't necessarily need SetCPU to overclock, but rather the vision_oc.ko file in the /data/local folder.

So I'm guessing that the phone's system itself must be reseting and reverting the changes we make to the CPU speed itself after a certain amount of time. But I am surprised by this since I thought only a reboot would do that. Does this make sense?
[G2 and Desire Z Android Development] bled82:
Hey thanks , I like the gscript app it makes everything alot easier for this and other stuff .
[G2 and Desire Z Android Development] o>c:
Many people got scared off by g2 's default 800mhz

Not for me coz I came from the g1, and I am sure this is one of the fastest android device out there even in stock form

All I want to say is,I prefer underclocking or lower voltage for better battery life, I am satisfied at the current speed

Will there be more options?
[G2 and Desire Z Android Development] silverton:
I have had mine clocked at the modules "stock" 1GHz for 12 hours now with no issues. I was running at 1.50GHz for a few hours, tried 1.55 but as soon as I loaded up quadrant, it froze.
[G2 and Desire Z Android Development] naria01:
Battery issue?...

I used this mod to overclock my phone to 1420mhz and charged my phone, thought everything was gravy. Well I have had this thing off the charger for over 6 hours and the battery level still says 100%... I rebooted phone, now all scripting (root, overclock) is gone, and the battery is now counting down percentile.

Anyone else experience this?
[G2 and Desire Z Android Development] elracing21:
Hmmm I doubt its the phone resetting the oC kernel or anything above. Reason is I think its not that is because I been overclocked since around mindight last night and my clock speeds only change when my profiles meet the requirements or when I set max/min clock speeds.

Why don't you reboot, Reroot, start the process over from scratch?

Posted on my T-mobile G(spot)2 xD
[G2 and Desire Z Android Development] ddgarcia05:
[YOUTUBE]f4xZ7lnP_yQ[/YOUTUBE]

My bad. I called the G2 an HD2. ...I've made several How To's for a HD2 also. Sorry.
[G2 and Desire Z Android Development] Abaddon2501:
You sir are a god among men, I haven owned SetCPU since my G1!
[G2 and Desire Z Android Development] KShatzkes:
I may do just that if I see this issue again. Since changing the overclock back, I haven't had any issues, so I'm hoping it was a freak one-time incident. If it does happen again, I'll reboot, re-root, and apply the overclock again and see what happens.

Thanks for your help though. If anyone else has an idea of what happened, please feel free to share!
[G2 and Desire Z Android Development] liberalswine:
Just got to the step of running oshittt....and when I clicked, my phone froze at the blue screen with the close button on the bottom. Hrmmm
[G2 and Desire Z Android Development] Corylulu:
Means that the overclock failed, not all phones will be able to be pushed that hard.

Some people are gonna be luckier than others, but no worries, these phones are really powerful even without the root. 1Ghz should be easy.

You can modify the oshitt.sh in notepad and bring down where it says pll2_l_val= and instead of 74, bring it down to around 68. You might have more luck the lower you bring it. Try it out.

I would also add this to BOTH the OC.SH and OSHITTT.SH

XX = the clock you want it set at. I would advice a mid-50's version and a 60-74 version for high performance.

if you add the rmmod tho, you will be able to change speeds without rebooting.
[G2 and Desire Z Android Development] elracing21:
This means your phone doesn't support the 1.41ghz clock speed. Go back to gscript long hold the oh**** file and edit the value. Lower it down a few digits, save it then run it again.

Remember tho you need to reroot when you do a battery pull.

Also not all devices will be able to hit that clock speed so play with the values and see what works to you. If it freezes again this means your device can't be overclocked that high for now.

Posted on my T-mobile G(spot)2 xD
[G2 and Desire Z Android Development] donaliar:
hey my gtalk is donaliar@gmail.com, i'm having trouble with this since i am new with the android phone. so can you help me?
[G2 and Desire Z Android Development] Ready2Mosh:
It's easier just to unzip directly into the gscript folder, just choose the directory before unzipping.
[G2 and Desire Z Android Development] liberalswine:
Ok, so I was able to reboot and rerooted. I manually entered in the value of 71 so I can run at ~1.3. However, after opening up setcpu, and auto detect, i'm still at ~800mhz. Any thoughts?
[G2 and Desire Z Android Development] ddgarcia05:
I thought of that, but I figured it'd be easier to use copy and past then any other method. I didn't want to overwhelm the viewers.
[G2 and Desire Z Android Development] Ready2Mosh:
you have to hit cpoc, then which speed you want.
[G2 and Desire Z Android Development] Ready2Mosh:
Cool beans man, good job!!!
[G2 and Desire Z Android Development] elracing21:
When you first saved all the files in gscript did you run the cpoc file inside gscript 1st?

Posted on my T-mobile G(spot)2 xD
[G2 and Desire Z Android Development] liberalswine:
ok strange, so I ran the oc script and that seems to work. But the script I entered in myself won't do anything for some reason. Can I simply edit the values in the existing scripts, ie..ooo**** or oc?
[G2 and Desire Z Android Development] KShatzkes:
That would work fine.
[G2 and Desire Z Android Development] elracing21:
Yes its easier to just edit it.

Posted on my T-mobile G(spot)2 xD
[G2 and Desire Z Android Development] SL33PY24:
Super fast

thanks for the vid. it was so easy to do. this thing is super fast now loving my g2
[G2 and Desire Z Android Development] sinistersai4d4d:
Using the gscript method (which I finally figured out) do we need to run the script after every reboot?
[G2 and Desire Z Android Development] KShatzkes:
Yes. Rebooting causes you to lose everything.
[G2 and Desire Z Android Development] liberalswine:
Ok, I was able to run the OC file and got it up to 1ghz. However, after trying to change the value, I didn't get an increase. I even made sure to run noboot a few times before attempting to change the values. Another strange thing is that I changed the value in ooo****, and attempted to run, but had a message saying vision ko could not be found. Tried running it again, and froze up. Sorry for my newbishness
[G2 and Desire Z Android Development] ddgarcia05:
Do you have to push the module as well or just straight to overclocking?
[G2 and Desire Z Android Development] sinistersai4d4d:
When the phone simply goes to sleep for a little bit and then wakes up I've noticed the speed drop back down to 800mhz. Any ideas?
[G2 and Desire Z Android Development] jcX4ever:
Tnx!

Tnx for your time posting this (for us the noobs).

It's working... It's ALIVE!!