yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] jubilleum:
So, how can i overclock my phone with this rom?
[G2 and Desire Z Android Development] sandrome:
You can't. There is no way until now.
[G2 and Desire Z Android Development] Com.Chakotey:
i have Android Version 2.2.1

Kernel

2.6.32.21-g132894e

Can i use this mod???

THX for your answer!
[G2 and Desire Z Android Development] Com.Chakotey:
Hello? ;-)
[G2 and Desire Z Android Development] slapshot30:
Can this be used successfully with CM7?
[G2 and Desire Z Android Development] redpoint73:
No, this is a Froyo based kernel (CM7 is Gingerbread). And I think Sense kernels are different from AOSP (which CM is based on). If the stock CM7 kernel does not have the OC options you are looking for, try pershoot's.
[G2 and Desire Z Android Development] gtrab:
Redpoint73 just clarified it for you

The OP specifies which kernel is this OC for
[G2 and Desire Z Android Development] kneedraggin101:
seem to be having an issue with this... when i reboot my phone, it just stays on the main screen, showing the time it boots at, and no service etc.... i can not do anything else past this....

is this a time issue i have to wait? or did something go wrong?
[G2 and Desire Z Android Development] gtrab:
Something's wrong, obviously

This update should flash in a couple of seconds, and the the rebooting time should be standard

My thoughts:

1.- Are you sure your kernel is compatible with this one ??

2.- Which Update (1 GHz, 1.2 or 1.4) you flashed ?? If you flashed the 1.4GHz version, try other one (some ppl report problem with the 1.4GHz version)

3.- Did you checkthe MD5 checksum ?? (in case of a corrupted download)

.
[G2 and Desire Z Android Development] kneedraggin101:
i have a virtuous rom on the phone, but after reading through this post, its a sense based rom, so i shouldnt have issues.... also i went for 1.4, but the problem is, how do i use the other file now, when i cant get into the phone? how do i attach the file to my sd card??

and i dont actually know how to check the checksum, any help you can give me with this, would be great
[G2 and Desire Z Android Development] gtrab:
I guess virtuous roms are based on a DIFFERENT kernel than this one !!

Re-check your kernel version, or check the kernel vesions from the virtuous rom thread

To restore your phone, just boot to clockwork recovery and restore your NANDroid backup
[G2 and Desire Z Android Development] kneedraggin101:
how do i boot to clockwork recovery? and the virturous rom is said to be based on a stock kernel
[G2 and Desire Z Android Development] kneedraggin101:
also usually you hold down, and power, but the problem is, i have a radio update on there, so when it loads, it instantly tries to load that file, and wont let me go past there...
[G2 and Desire Z Android Development] gtrab:
There are

dozens

of "stock" kernels

To learn how to boot into recovery, learn about MD5 checksums, flashing basics, etc, read the FAQ here: (post 2)

http://xdaforums.com/showthread.php?t=835777
[G2 and Desire Z Android Development] kneedraggin101:
btw, when i took out my sd card, the phone boots up fine.... any idea why that is?

and when i try and delete the file 03gtraboc, it says read only and failed.... so how do i deleted this thing
[G2 and Desire Z Android Development] gtrab:
then your SD card may have a write/read error

check it with a PC based utility, better from a card read and not from the phone
[G2 and Desire Z Android Development] gtrab:
RENAME the radio update on your SD card, otherwise your phone will try to flash it automaticcally everytime you boot recovery

You really need to read the FAQs I linked

Don't worry you will learn the basics in 8 or 9 miutes after reading the FAQs
[G2 and Desire Z Android Development] kneedraggin101:
ya i cant do it when i cant get into the phone lol.... but back to removing your file.... why cant i delete it?
[G2 and Desire Z Android Development] Utorrent76:
Your phone booted up fine because the pc10.img (radio update) file is no longer present. It's saved to the root on your sd card. To remove it your going to have to hook up your sd card to your pc via sd adapter & delete it from there. After that once you insert your card back in your phone it should boot up fine.
[G2 and Desire Z Android Development] kneedraggin101:
no no, your missing my point, the main file that mentioned in the first post on this thread, talks about how you need to delete a certain file, since i cant do that, im having issues.... i just used a card reader, to delete files off there, and the phone still freezes when i boot up with it sd card in now... as it says the system is now looking for that file...

so how do i delete the file mentioned in the first post of the thread
[G2 and Desire Z Android Development] kneedraggin101:
HOW TO DISABLE / UNINSTALL ??

Do you really wanna go back ?? OK then, manually uninstalling is EZ-DZ too:

1.- Delete the file /system/etc/init.d/03gtrabOC and reboot. The overclocking module won't be auto-loaded anymore; you're back to 806MHz.

2.- Delete /system/lib/modules/oc-dz.ko (the overclocking module). This is optional since the module won't be loaded without the script.

So this is the problem, i can NOT DELETE these files, it says read only and denied.... so how do i get this stuff off my phone
[G2 and Desire Z Android Development] gtrab:
you can't delete it because it is a system file

that file is harmless (03gtrabOC) without the OC module, but if you really want to delete it, just unmount the r/w system from an ADB shell
[G2 and Desire Z Android Development] kneedraggin101:
but i cant delete the oc-dz.ko either, it wont let me do that either....

so can you pls post step by step how to delete this, cause my sd card reads fine in the computer, and it worked perfect before this tried to load....

thank you
[G2 and Desire Z Android Development] gtrab:
your SD card has nothing to do with the the OC ko module an 03gtrabOC text file you flashed with this overclocking update

to delete the files, just mount your r/w system from an ADB shell

but the easy way is to restore your NANDroid backup
[G2 and Desire Z Android Development] kneedraggin101:
since i keep asking, and my phone for some reason didnt save the backup.... HOW do i r/w from an ADB shell... since i have NO IDEA what your talking about....
[G2 and Desire Z Android Development] kneedraggin101:
also can u pls tell me what the names of all files this installs, and where on an sd card they would go once installed, as my sd card was perfect till i tried this, now my sd has a file thats holding up the phone from booting, which is obv from this

thanks
[G2 and Desire Z Android Development] slapshot30:
Here, read all of this and learn how to use adb. It isn't right to just hold your hand through this whole process, you'll be better off just learning how to use adb because you will need it in the future.

http://xdaforums.com/showthread.php?t=865685
[G2 and Desire Z Android Development] famicom89:
I have the same issue but I have a italian DZ with WWE_1.34.405.5 and the right kernel. I've downgraded and rooted the phone following this guide:

http://xdaforums.com/showthread.php?t=1055581

1.4/1.2ghz kernel get me stuck after htc logo sound but 1.0ghz runs fine, don't know why :confused:
[G2 and Desire Z Android Development] gtrab:
yes that's correct, this is Kernel 2.6.32.21-gd2764ed as stated on first post
[G2 and Desire Z Android Development] gbarayah:
Sorry if this is a newbie question (but I am a newbie when it comes to Android), but this mod will only work if you are running the Stock ROM that the phone ships, correct? I.E. if you root and s-off and install another ROM, this MOD will not work?
[G2 and Desire Z Android Development] jark99:
I feel stupid for overeading and missing that.......wow

Sent from HTC Desire Z using XDA App
[G2 and Desire Z Android Development] jark99:
Hows the battery life with higher clock speeds? Anyone doing good?

Sent from HTC Desire Z using XDA App
[G2 and Desire Z Android Development] gtrab:
Yes: the "stock" official ROM with this particular kernel (current european version and Bell-NAM version) or any custom ROM based on this kernel

Check settings -> About phone -> Software information

There's your kernel version
[G2 and Desire Z Android Development] gtrab:
In my experience, battery drain is the same (I'm getting 28-30 mA usage measured with current widget), not affected unless you really stress the CPU (hardcore gaming)

But I only have 24 hours using it.

Better Check JupiterDroid's thread, many user input there, they've been overclocking since the dawning of the age of piscis :)
[G2 and Desire Z Android Development] blackyeh:
Hi....

Really thanks your share!

My kernel is 「2.6.32.21-gbfa36d9」, Can I use this file to overclock my Desire Z?

It's seems not work?​
[G2 and Desire Z Android Development] jark99:
I would say it works kernal numerals are same.

Sent from HTC Desire Z using XDA App
[G2 and Desire Z Android Development] gtrab:
It is the same kernel version but a different (asian I guess??) customization, so I am not sure if this will work.

You can do a NANDroid backup and then try safely

If you decide to give it a go, please report back
[G2 and Desire Z Android Development] blackyeh:
Thanks for your reply!~

Unfortunately, it doesn't work for me.....>"<

I guess the reason is 「2.6.32.21-gbfa36d9」....
[G2 and Desire Z Android Development] maus010:
My kernel version is 2.6.32.21-gd2764ed

And still running the stock (sense) rom.

I've used the download on the first page.

Tried it for the second time, but still freezes on boot-up.

I'm going to give it another go with a new download.

EDIT:

Tried it again and still freezes.

!@#$%&
[G2 and Desire Z Android Development] gtrab:
1.- are you sure you have root, s-off and clockwork ??

2.- which one you downloaded, the 1GHz or 1.4 GHz ??

3.- Euro or Bell-NorthAmerica ??

EDIT

4.- did you check the MD5 checksum to discard a corrupted download ??
[G2 and Desire Z Android Development] maus010:
See my answers above in red.
[G2 and Desire Z Android Development] gtrab:
I use a free windows app called "winMD5sum"

Right click the file and send to winMD5sum, it will tell you the file's checksum, and you compare it with the one posted here.

This way you know if file integrity was preserved during download.

Other possibilities:

1.- Are you (erroneously) unziping the downloaded file ?? The Zip is signed.

2.- Have you flashed anything else with ClockworkMod ??

3.- Have you toggled Clockwormod's "signature verification" on ??

4.- Is your SD card OK ?? (check it for bad sectors with windows)

5.- Have you checked your kernel version on your phone ??
[G2 and Desire Z Android Development] harriz:
Hi, I have an asian HTC Desire Z with the same kernel number 2.6.32.21-gd2764ed but I'm running on firmware 1.34.707.5 which is different from the one stated on the first post.

Will I be able to flash your rom without any issues? Thanks, kind of new to all this stuff :)
[G2 and Desire Z Android Development] jark99:
hey gtrab,

stupid quesion here.....i did a nandroid backup of my stock rom and kernel....just out of curiousity...does a nandroid backup restore my stock rom and kernel that i had orginally when i backed up? so lets say i flash a unofficial kernal and then use nandroid, my kernal would change back to 2.6.32.21? right?

i assume it would, but wanted to double check. thanks for the help mate :)
[G2 and Desire Z Android Development] gtrab:
If your phone has the same kernel then YES You should be able to use it.

Do a NANDroid backup first, then, if for any reason it doesn't work, retstore your backup.

If you give it a try, please come back and report.
[G2 and Desire Z Android Development] gtrab:
Yes a NANDroid backup is a snapshot of your whole internal memory, a full image (kernel, system, recovery, etc), it overrides EVERYTHING.

That's why it is so recommended: its like freezing a copy of your phone on the refrigerator, playing with the phone, and then time-travel back to when you froze it :)
[G2 and Desire Z Android Development] harriz:
Shall give it a try and let you know about the results asap :)
[G2 and Desire Z Android Development] GenghisZ:
Thanks for your hard work, but a small remark:

Setting the setCpu frequencies the way you advice, allows one to change the sliders to the values set in the text file, BUT the CPU does not actually clock to those values... Any idea? With the older kernel I used before this one, the CPU was able to do so (actual clock stepping speeds of 1.4, 1.2,1 Ghz, 806, 768, etc etc)
[G2 and Desire Z Android Development] jark99:
thanks buddy, if i want to remove the bell installed crap on the phone i use titanium backup right? but i have heard of people who rebooted and all that stuff came back?...

edit* woudl there also be a app that can check the md5 sums through the phone?...ive done it in windows, but doing it on a smartphone would be fun too :)

overclocking question---- i have set cpu and the max set to 1 ghz and min set to the lowest 245...and screen off profile at 245/245 set to priority 100. So if im understanding this right...when im using my phone it will use 1 ghz? and when i have the screen on but not doing anything it goes to 245 mhz? and when screen if off it is in standby cpu mode at 245 mhz?....right? im just trying to understand clocking speed max and mins :)
[G2 and Desire Z Android Development] maus010:
Answers in red above again ;)

Checksum of the file is ok.
[G2 and Desire Z Android Development] gtrab:
This is because you are overclocking with the module, not a tweaked (and thus dangerous for BT or WiFi) kernel.

In the kernel you can embed intermediate steps, the module just changes the allowed max

did you try making the setcpu txt in the SD card ??

if that doesnt work, make your changes to system/etc/init.d/03gtrabOC (allowed max only)
[G2 and Desire Z Android Development] gtrab:
1.- MD5 from phone ?? yes, theere's an app for that, search the market ("MD5")

2.- yes, thats whats a "scalable" processor do
[G2 and Desire Z Android Development] gtrab:
How to toggle signature verification:

Go into CWM, scroll the menu for an option called "toggle signature verification on/off", check your status.

Try flshing another thing to see if the problem is your S-OFF or CMW settings

(eg. try flashing my previous Update zip from the other thread)

Try re-flashing CWM from within ROM Manager

Check if you have USB debugging enabled in settings -> applications

Disable Fast Boot option in settings -> applications
[G2 and Desire Z Android Development] GenghisZ:
Yes, I tried it, but for example, when I put some profile that allows up to 1.2Ghz, the phone will run at 768Mhz max.

So if I understand correct: with the module it will be like this, but with an 'older' kernel (where we have the source so can edit) it will allow more intermediate steps?
[G2 and Desire Z Android Development] gtrab:
With a source Kernel you can add as meny steps as you wish

With the current kernel you can only tweak the max limited clockspeed
[G2 and Desire Z Android Development] jark99:
Gtrab! good job on the kernel, i love how you design things so its simple and doesnt write over orginal kernals and such. I installed it and thought my battery was draining cause of it, but when going into running apps it was some widgets :P

p.s. if i want to start developing roms or kernals like you do, where should i start?.....id like to get into the desire z.
[G2 and Desire Z Android Development] gtrab:
Thanks for the compliments, I'm glad to be helpful.

I'm still a "noob" on android; comming from WinMo this is a brand new unexplored parallel Universe to me. But of course I will write a developing tutorial and share everything I'm learnign (if I ever) when I finally feel comfortable enough with all this linux/unix shizz.

First thing is learning basic Linux commands, then basic ADB, then how to make an Update zip, then you can jump to ROM cooking.

In the meantime I recommend you to peek around the Android cheffs central forum; there's a couple of good guides there, even a post from cyanogen for wannabe cheffs.

Also, I learned a lot by reading the scripts from dsixda's kitchen (thoug the kitchen doesn't manage the D-Z because of the ext3 format and updater-script instead of update-script thing).
[G2 and Desire Z Android Development] fajarep:
my first android phone with desire z, root, s-off, overclock using your zip, all working fine, in my asian wwe vision version... :D battery drain about 10% per 6 hours at screen off(i don't use setcpu profile, so, i don't know how many mhz running at screen off)
[G2 and Desire Z Android Development] harriz:
Tried flashing it, was stuck at the boot up. Downloaded the 1.4ghz version. Was running stock rom but not sure if this helps but i was running the original overclocking module that was recompiled for the DZ and i undervolted the battery using gscript.
[G2 and Desire Z Android Development] gtrab:
So you flashed this update over a previous OC moudle and some Gscript commands ?? Sounds like a mess up...

I suggest reset to factory defaults and then, over a clean install, flash this update.

EDIT:

what's your kernel version ??

Can you link sources for your previous installs ?? what oc module ?? what gscripts ??
[G2 and Desire Z Android Development] maus010:
Thnx for your help.

I've tried all things you've described above, but still nothing.

My Z freezes on the HTC quietly brilliant screen. :confused:

Have to do a Nandroid restore again.
[G2 and Desire Z Android Development] gtrab:
You may have a problem with your partitions, have you tryed to flash anything else ?? Lets say, thr ROM Update zip 01 or anything else ??

NEXT STEP: flash via ROM Manager, but tap (check) the "wipe data and cache" option. This way you will discover if another app is interfering with flashing

Sent from my Godspeed 1.4GHz HTC DZ
[G2 and Desire Z Android Development] maus010:
I think my problem is the same as Harriz.

My Z is overclocked with vision_oc.ko

I did a factory reset and tried flashing you update again.

But it still freezes on boot-up.

Is there a way to disable vision_oc.ko ??
[G2 and Desire Z Android Development] D3LTA9:
If i want to change from 1ghz to 1.4ghz or vice versa should I just redo the process or do a restore back to stock before I do so?

Thanks
[G2 and Desire Z Android Development] gtrab:
flash your phone with the official RUU for your firmware version to go absolutely back to stock; you will need to root and s-off again dou...
[G2 and Desire Z Android Development] gtrab:
no you dont have to re-flash

if you want to change your OC values, just edit 03gtrabOC file and reboot,

check post 5

you can flash one over the other because the only difference between the two versions (1 GHz and 1.4GHz) is the overclocking (OC) parameter in the 03gtrabOC script
[G2 and Desire Z Android Development] harriz:
Kernel version was same as the one you listed on the first post. I flashed cyanogenmod and it's working with the new found fix for the asian/scandinavian desire z.
[G2 and Desire Z Android Development] KnalRob:
change ROM

Is it safe to just change your ROMS (from 1 to 1.4ghz) without uninstalling the other? Because I have exactly the same problem as maus010 (thanks for your translated tutorial @ androidplanet.nl). The 1Ghz version is working fine. I tried to flash the 1.4 and the phone won't boot anymore (stuck at the quietly brilliant screen). I also tried flashing the 1.4Ghz ROM after I restored my Nandroid but then its also not working. Going to try 1.0Ghz again after restoring Nandroid again.

-edit- 1.0Ghz working fine after I restored Nandroid backup.
[G2 and Desire Z Android Development] gtrab:
You dont have to reflash to the other version to change your cpu speed, check 2 posts up, I just answered this same question

Sent from my Godspeed 1.4GHz HTC DZ
[G2 and Desire Z Android Development] maczop:
I've been using this kernel for a few days and seems to work great on my bell Z, except after i start playing angry birds (maybe 5 mins in) the game starts to sloooow down and lag a bit. Interestingly the emulator games have never played so smoothly, no lag ever.
[G2 and Desire Z Android Development] curbsam:
Sorry to be a noob but how do you edit the 03grabOC file? I've located the file on the phone through a file manager but I can't seem to open it using any of the applications I have on the phone.

I've also tried to copy over an edited version of the file from my sd card with the correct values but it won't give me permission to replace or delete the file that is in the phone.
[G2 and Desire Z Android Development] Esuzu:
I have the same question as stated above.. Since I installed godspeed, apps I download from the market won't start up. Therefore, I would like to go back. (stupid that I didn't back up) How do you suggest to delete the file, because I cant do it via my file manager.. (Im pretty noob unfortunately:()
[G2 and Desire Z Android Development] gtrab:
why do you say "apps I download from the market won't start up" ??? :confused:

Everything is working fine

Can you give more details ??

PS: you don't need to "uninstall" this update zip because it doesn't add anything, except the oc-dz.ko module, the 03gtrabOC text file, and the enabled busybox run parts for init.d scrips in bootcomplete.rc

EVERYTHING ELSE IS STOCK

If you want to "uninstall", just delete the 03gtrabOC text file and, optionally, the oc-dz.ko module (it won't be invoked if the 03gtrabOC is deleted)
[G2 and Desire Z Android Development] Esuzu:
I'm sorry. Where can I change the 03gtrabOC file? Can you explain it noob-proof?:p Or delete it. I cant do it with my filemanager. The other problem seems solved. Thanks.
[G2 and Desire Z Android Development] gtrab:
How to retrieve (copy) the 03gtrabOC script, to edit it and change the overclocking value (post 5)

THIS IS NOT REALLY RELATED TO OVERCLOCKING, THIS IS MORE OF AN ADB LESSON, you can google for it.

to copy 03gtrabOC script from your phone to your PC type:

adb pull /system/etc/init.d/03gtrabOC

Edit it (with notepad or better with notepad++), change the overclocking value (ckeck post 5), save it and then,

to make your phone read/write type:

adb remount

now to copy your edited 03gtrabOC back to the phone type:

adb push /system/etc/init.d/03gtrabOC

If you want to delete the overclocking script type:

adb shell rm /system/etc/init.d/03gtrabOC

If you want to delete the overclocking module type:

adb shell rm /system/lib/modules/oc-dz.ko

You can do it from a TERMINAL EMULATOR on your phone too,

copying the 03gtrabOC script to your SD card, edit it and then copy back to /system/etc/init.d/ with Linux commands
[G2 and Desire Z Android Development] D3LTA9:
Thanks for your help realised my question was rather stupid after I posted it. Of course you just change the values! Working great for me snappy as. Previous oc kernel method killed by Bluetooth so good to be able to have oc back without messing with extra stuff. Thanks again!
[G2 and Desire Z Android Development] AnyDone:
I'm bit noob in these things and would like to know that does this kernel work with DZ which has G2 rom?
[G2 and Desire Z Android Development] gtrab:
Check your kernel version

If it matches, I'd say go

If it doesn't, no

Sent from my Godspeed 1.4GHz HTC DZ
[G2 and Desire Z Android Development] AnyDone:
Seems to me that I have older:

2.6.32.17-g9ab3677

So no go then :(

Should I update my kernel or try to find correct modules to mine?
[G2 and Desire Z Android Development] gtrab:
is that from a G2 ??

If so, go there, lots of overclocking kernels available
[G2 and Desire Z Android Development] YOUNGTWAN:
im jus curious bc im kinda noob to the rom flashing im flashing now as we speak i dunno wat its doin how long does it take to back up your existing rom and update to the godsend one ?? seems like ive been sittin here for ages lookin at the black screen with red exclamation mark
[G2 and Desire Z Android Development] gtrab:
the red exclamation mark means clockworkmod was not flashed properly

reflash clockworkmod from within ROM Manager
[G2 and Desire Z Android Development] YOUNGTWAN:
ook would that be flash clockworkmod recovory or install rom from sd im soo lost bro please help