Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,250 Members 41,087 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Problem while downgrading Desire Z

Tip us?
 
Nipqer
Old
#11  
Nipqer's Avatar
Recognized Contributor
Thanks Meter 388
Posts: 897
Join Date: Mar 2011
You can still root using the wiki instructions if your on g2 froyo.
You shouldn't have used visionary, its evil.
If you perm-root using the wiki, you can then flash a dz hboot following these instructions

-Nipqer
The Following User Says Thank You to Nipqer For This Useful Post: [ Click to Expand ]
 
ammm84
Old
(Last edited by ammm84; 5th March 2012 at 11:12 PM.)
#12  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Mar 2012
I have tried what you tell me, rooting device as said on the wiki, but after this step:

We call these two md5_2 and md5_3 in the next section

If md5_3 matches md5_1: gfree 0.7 failed to powercycle your emmc chip. Either your software version is to high and you did not downgrade (see "Downgrading HTC Desire Z and Desire HD" in the beginning of this guide) or you did something wrong. Try again or join #G2ROOT on Freenode and ask for help!

If md5_3 does not match md5_1 and md5_3 does not match md5_2: First DON'T REBOOT and second run for help at #G2ROOT on Freenode.

If md5_3 matches md5_2: You are fine, Reboot your phone by executing the following command in the root shell (indicated by the #):

# reboot


Green HTC logo gets freezed on the screen, and doesn't start. Obviously, md5_3 matches md5_2
I want to kill myself.

Edit: When I try to enter recovery, it has detected the original rom on the SD, and has started updating. I will write tomorrow with the results!
Thanks!!
 
ammm84
Old
#13  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Mar 2012
As I told you, after the reboot, my desire gets freezed on the green HTC logo. I have Desire Z stock froyo ROM downloaded from the downgrading tutorial here, and it has detected it, and started installing it. Now the device starts perfect, and except the trackpad, all the buttons works perfect.
I think I need to install the Desire Z HBoot. Do I need? Will this solve the problem of the trackpad? I want to change the rom, an donít know if trackpad wonít work with other roms.

Is there someway to make a donation to this forum?
hoffmas Old
#14  
Guest
Thanks Meter
Posts: n/a
...if you want to install sense 3+ roms you have to change your hboot to the dz one (use the link nipqer provided)

and remove the pc10img.zip from your sdcard (otherwise it will always update if you try to enter recovery)

donations are not necessary, use the thanks button

EDIT: be sure that your bootloader shows s-off and you have root !
The Following User Says Thank You to For This Useful Post: [ Click to Expand ]
 
lineaira
Old
#15  
Member
Thanks Meter 18
Posts: 64
Join Date: Mar 2010
Default Hboot

Quote:
Originally Posted by ammm84 View Post
As I told you, after the reboot, my desire gets freezed on the green HTC logo. I have Desire Z stock froyo ROM downloaded from the downgrading tutorial here, and it has detected it, and started installing it. Now the device starts perfect, and except the trackpad, all the buttons works perfect.
I think I need to install the Desire Z HBoot. Do I need? Will this solve the problem of the trackpad? I want to change the rom, an donít know if trackpad wonít work with other roms.
First, to load an custom rom you do need load the Desire Z engineering HBoot. If you have done so, you need to flash a recovery image (I use Clockworkmod) and install a custom rom for your vision (this is done in the tutorials further down this post).

Second, the trackpad should be set in the keylayout, if the wrong keynumbers are assigned to the trackpad functions it won't work. But this is indeed set in the rom. (on an rooted device you can access the configuration file trough an root explorer, like ESFileExplorer, just download from the market.., the keyboardlayout files are in /system/usr/keylayout/ depending on your rom you can edit these files, mostly qwerty.kl Generic.kl vision-keypad.kl or vision-keypad-wwe.kl, this should look something like this:
key 232 DPAD_CENTER WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
key 103 DPAD_UP WAKE_DROPPED
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED

in all those files... depending on your rom.)

So HBoot won't fix your trackpad problems, it's all set in the rom. HBoot just enables you to load custom roms. If you wan't to stick with your current rom, you need to look if those settings are correct.

NOTE:
If you can't edit the file but you can read them, first check in the explorer settings if /system/ is mounted read/write, if so and you still can't edit the files
you can use an adb shell to chmod the file to 777 by typing:
Code:
Select Code
adb shell
su -
cd /system/usr/
chmod -r 777 keylayout
OR do the the same from the phone through an terminal emulator:
Code:
Select Code
su -
cd /system/usr/
chmod -r 777 keylayout
and change again.



Follow for Desire Z (only from Froyo or Gingerbread, but as you said you're on Froyo already) this tutorial to install HBOOT and gain root:
http://wiki.cyanogenmod.com/wiki/HTC...e_HTC_Desire_Z

if this ain't working it could also be that your device is an G2, but as you're on vodafone I highly doubt that... still then try this tutorial:
http://wiki.cyanogenmod.com/wiki/TMo...the_TMobile_G2

Then you can load an custom rom, using an recovery image like Clockworkmod:
take your SD card out and put the desired rom on it. Rename the package to: update.zip
Put the SDcard back in your phone and start the phone by holding power and volume down together. The phone boots and displays the HBOOT, first it will start looking for Stockroms on your SD, if those are not there it will display an menu. Use your volume buttons to select recovery and confirm with the power button. This should restart your phone and ClockworkMod should come up. with the volume buttons or the trackpad you can select options and power and trackpad center buttons will select the options. Do a full wipe ( option: wipe data or something similar) go to advanced options and wipe the dalvik cache. Go back to main and select install from SD, (or again something similar, I can't remember precisely) use the update.zip you placed on your SD.

This will delete all data on your phone, but the data on your SD will be save.
After it finishes you can reboot the phone in the mainscreen. Note that the first boot with an custom rom can take up to 10 minutes to load... if the rom won't boot, no worries, just try another one. CM7 is a good one, or if you want ICS (Ice Cream Sandwich, Android 4.0.3) try Andromadus or CM9 (CM9 is not yet officially deployed and needs some work with the microphone and camera, apps as gstrings and voicesearch won't work yet, unless you manually use the audiodrivers from JIBwitch) I can't say anything about Andromadus, as I didn't test that rom yet.

CyanogenMod 9 pre-Alpha

Andromadus Rom
The Following User Says Thank You to lineaira For This Useful Post: [ Click to Expand ]
 
syaiful_86
Old
#16  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Mar 2012
Quote:
Originally Posted by lineaira View Post
First, to load an custom rom you do need load the Desire Z engineering HBoot. If you have done so, you need to flash a recovery image (I use Clockworkmod) and install a custom rom for your vision (this is done in the tutorials further down this post).

Second, the trackpad should be set in the keylayout, if the wrong keynumbers are assigned to the trackpad functions it won't work. But this is indeed set in the rom. (on an rooted device you can access the configuration file trough an root explorer, like ESFileExplorer, just download from the market.., the keyboardlayout files are in /system/usr/keylayout/ depending on your rom you can edit these files, mostly qwerty.kl Generic.kl vision-keypad.kl or vision-keypad-wwe.kl, this should look something like this:
key 232 DPAD_CENTER WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
key 103 DPAD_UP WAKE_DROPPED
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED

in all those files... depending on your rom.)

So HBoot won't fix your trackpad problems, it's all set in the rom. HBoot just enables you to load custom roms. If you wan't to stick with your current rom, you need to look if those settings are correct.

NOTE:
If you can't edit the file but you can read them, first check in the explorer settings if /system/ is mounted read/write, if so and you still can't edit the files
you can use an adb shell to chmod the file to 777 by typing:
Code:
Select Code
adb shell
su -
cd /system/usr/
chmod -r 777 keylayout
OR do the the same from the phone through an terminal emulator:
Code:
Select Code
su -
cd /system/usr/
chmod -r 777 keylayout
and change again.



Follow for Desire Z (only from Froyo or Gingerbread, but as you said you're on Froyo already) this tutorial to install HBOOT and gain root:
http://wiki.cyanogenmod.com/wiki/HTC...e_HTC_Desire_Z

if this ain't working it could also be that your device is an G2, but as you're on vodafone I highly doubt that... still then try this tutorial:
http://wiki.cyanogenmod.com/wiki/TMo...the_TMobile_G2

Then you can load an custom rom, using an recovery image like Clockworkmod:
take your SD card out and put the desired rom on it. Rename the package to: update.zip
Put the SDcard back in your phone and start the phone by holding power and volume down together. The phone boots and displays the HBOOT, first it will start looking for Stockroms on your SD, if those are not there it will display an menu. Use your volume buttons to select recovery and confirm with the power button. This should restart your phone and ClockworkMod should come up. with the volume buttons or the trackpad you can select options and power and trackpad center buttons will select the options. Do a full wipe ( option: wipe data or something similar) go to advanced options and wipe the dalvik cache. Go back to main and select install from SD, (or again something similar, I can't remember precisely) use the update.zip you placed on your SD.

This will delete all data on your phone, but the data on your SD will be save.
After it finishes you can reboot the phone in the mainscreen. Note that the first boot with an custom rom can take up to 10 minutes to load... if the rom won't boot, no worries, just try another one. CM7 is a good one, or if you want ICS (Ice Cream Sandwich, Android 4.0.3) try Andromadus or CM9 (CM9 is not yet officially deployed and needs some work with the microphone and camera, apps as gstrings and voicesearch won't work yet, unless you manually use the audiodrivers from JIBwitch) I can't say anything about Andromadus, as I didn't test that rom yet.

CyanogenMod 9 pre-Alpha

Andromadus Rom
huhuhu


to many link ... sorry for this stupid question... there anyway that i can get tutorial to downgrade the software or to restock original software (android froyo)?

coz im suspecting my DZ problem coz by software...

http://forum.xda-developers.com/show....php?t=1533329
 
lineaira
Old
#17  
Member
Thanks Meter 18
Posts: 64
Join Date: Mar 2010
Quote:
Originally Posted by syaiful_86 View Post
huhuhu


to many link ... sorry for this stupid question... there anyway that i can get tutorial to downgrade the software or to restock original software (android froyo)?

coz im suspecting my DZ problem coz by software...

http://forum.xda-developers.com/show....php?t=1533329
I don't mind questions , besides, stupid questions don't exist, only stupid answers.
The tutorial I used to downgrade my Vision is:
For HTC Desire Z

For T-mobile G2

just follow it by heart and don't panic if you do not understand something. If you just copy paste the commands all should go well.
After that use the links I posted in my previous post for rooting..
The Following User Says Thank You to lineaira For This Useful Post: [ Click to Expand ]
 
ammm84
Old
#18  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Mar 2012
Now, I'm root, and S-Off. I want to install the HBoot of the DZ, but how can I know wich HBOOT I have? after my problem instaling the first ROM, I don't know wich HBOOT I have, and this warning of the tutorial frigtens to me:
DesireZ users, none of this applies to you unless you flashed the G2 HBOOT at some point, such as when you rooted. While the process has been tested on my own device and several testers, there remains a small amount of risk of bricking your phone. I think it is unlikely but I will not be responsible if it happens; consider yourself warned.


In another hand on the trackpad problem, I have opened qwerty.kl, and at the middle, more or less, I have found waht you tell me:
key 232 DPAD_CENTER WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
key 103 DPAD_UP WAKE_DROPPED
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED

However, in vision-keypad.kl, and vision-keypad-wwe.kl, there is a part of the text with the tittle #not use in vision:
...
...
...
#232 DPAD_CENTER WAKE DROPPED

But nothing about 108, 103, 105, and 106


Do I need to erase the "#", and type the rest of the keys?
 
lineaira
Old
(Last edited by lineaira; 6th March 2012 at 06:38 PM.)
#19  
Member
Thanks Meter 18
Posts: 64
Join Date: Mar 2010
Yesh, you should do so. Then it should work.

And if you followed the guide I provided, you should have the Engineering HBOOT, and you should be able to flash any rom you like...
And that message has to be there, because rooting and such will always bring the slight risk of bricking your phone.

Sent from my HTC Vision using XDA
 
ammm84
Old
(Last edited by ammm84; 6th March 2012 at 10:42 PM.)
#20  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Mar 2012
I have no permission to write in System folder. I have tried to do what you tell me:
Code:
Select Code
adb shell
su -
cd /system/usr/
chmod -r 777 keylayout
but after typing the last command, I get a message:

Code:
Select Code
Bad mode
By terminal emulator, I get the same error

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes