yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z General] PiCASSiMO:
Stuck - HTC HBoot / Fastboot

I'm hoping this is the place for hope:

My brother-in-law had his T-Mobile G2 (stock, never rooted) phone for about 2-years and just after coming back from his trip from Europe his phone turned on to the white HTC HBoot/Fastboot screen. He couldn't figure out how to get out of it, so he gave the phone to me.

I'm no expert with Android, more of a noob than anything else. But I want to get the phone to work as my 1.5-year and 3.5-year old boys need a phone to play with without worrying if they break-it. So I've spent about 10-12 hours playing with it, researching everything I could, but got really no where.

What I do know:

* Volume up/down rocker buttons do not work in the white screen

* The phone will recognize a USB connection

* The phone boots up in FASTBOOT mode, but can be forced in HBOOT (via volume down + power-key)

* I can get it to boot up in the OEM 2.3.1 stock BUT it seems like it's asking for a LOCK PATTERN that my brother-in-law can't get through. With enough attempts, it asks for his Google sign-in which doesn't work.

* I've made an attempt in flashing it with a clean PC10IMG ROM to no success:

C:\HTC\Android>fastboot devices

HT09VRxxxxxx fastboot

C:\HTC\Android>fastboot flash zip pc10img.zip

sending 'zip' (124928 KB)... OKAY [ 21.859s]

writing 'zip'... INFOsignature checking...

FAILED (remote: 12 signature verify fail)

finished. total time: 42.063s

C:\HTC\Android>fastboot flash zip pc10img.zip

sending 'zip' (124928 KB)... OKAY [ 21.781s]

writing 'zip'... INFOsignature checking...

FAILED (remote: 12 signature verify fail)

finished. total time: 41.922s

C:\HTC\Android>fastboot reboot

rebooting...

finished. total time: 0.375s

C:\HTC\Android>

I would appreciate any suggestions.

Thank you!
[G2 and Desire Z General] demkantor:
Do a factory reset, it will erase all data but the phone will be as the day you got it. Or, if the phone isn't stolen you should be able to get your gmail ID, this is simply the password you use to sign into gmail on PC

I saw your other post and realized I didn't read fully, yes try the gmail if you have it but for what ever reason you can't you can flash the latest ruu without rooting and this will change os to the latest. There should be a link within this thread, it is done through fast foot and realativly easy to do. I'm trying to recall if you need the rocker function for this and I dont believe so.
[G2 and Desire Z General] PiCASSiMO:
Factory reset was my original plan. Phone is not stolen and my brother in law tried all his current and previous password iterations with no luck.

I can share with you the IMEI if you like... And it won't be on TMO or ATT blacklist. So is there a way to give root access to this phone or should I sell it for parts and forget about it?

Thank you, bro.
[G2 and Desire Z General] demkantor:
Updated my first post, its against xda rules to share how to bypass this code being that if it were stolen... well besides the point. Try the latest ruu, this should work just fine, if not then post back and let me know and I'm sure we can find another legitimate method, no reason to get rid of the phone as it is not a brick and the rocker switch may be an easy fix as well, if you're willing to open up phone and inspect it
[G2 and Desire Z General] demkantor:
Quick update for the above post. We were able to flash an ruu and get the phone working again. In case anyone finds themselves in a similar situation
[G2 and Desire Z General] underzero21:
My phone was bricked totally , i sended warranty service unhopefully,because when i try start it ,didn't answer and even I plugged in , my charging light didn't on . A week later service sended a new phone ...

If you ask why your phone was brick ,let me explain it . I want to back again s-on mode ,but my backup files were lost. I looked for how to back s-on mode without backup files(7-17-20) i found a topic in xda ,i did step to step all of them (edit others backup files -imeI editin etc. ) then my phone was brick ...

I mean ,you can try your chance if your telephone has warranty.
[G2 and Desire Z General] Mehrdad96:
I rooted my desire z with AMD tool and flashed flinny's 4.1.2 rom and It was fine for about three week. few nights ago I put my phone on the charger but in the morning it was turned off and every time i tried to turn it on, it would turn off after htc logo. I still have recovery and i can flash other roms but it's the same every time. In recovery i also can't format or mount system.

Demkantor, I already did what you said about rooted phones but no help. One more thing, my phone is not in a bootloop, it even doesn't get to the boot animation. it turns off after htc logo. Any ideas?
[G2 and Desire Z General] demkantor:
Could be a bad emmc, can you confirm any of the info about your phone, the more information the easier it is to determine your issue
[G2 and Desire Z General] Mehrdad96:
hi Demkantor

What kinds of info are you talking about? When I press volume down + power, it goes to HBOOT and these things are written in green on top of page :

VISION PVT ENG S-OFF

HBOOT-0.85.2007 (PC1011000)

MICROP-0425

RADIO-26.03.02.18_M3

eMMC-boot

Oct 11 2010,12:44:14

also, when i press recovery, it goes to ClockworkMod Recovery v5.0.2.7 and before i do anything it writes this:

E:Can't open /cache/recovery/log

E:Can't open /cache/recovery/log

E:Can't open /cache/recovery/last_log

E:Can't open /cache/recovery/last_log

And as i said before, i can't format or mount system partition.

What do you think?
[G2 and Desire Z General] demkantor:
could still be a few things, first of all are you sure you have a desire z? the hboot you provided is for a mytouch 4g or something like that which could be the source of your issue also im not too familiar with AMD tool to root, but i will say if its a one click root tool or an app for root or some other automated process then that could be your issue as well, these have been know to cause many bricks especially visionary tool for our phones.

the E:Can't open /cache/recovery/log etc you are getting can be just fine but could mean corrupt cache partition which reformatting it will fix or worst case a fried emmc tends to show up this way as well.

if your phone is fixable i highly suggest unrooting and then rooting the proper way laid out HERE and also moving away from clockwork and to 4ext recovery

for now can you confirm you have a DZ and can you run the test i layed out in second post to see which emmc you have. also can you connect your phone to pc into fastboot mode? if so this will more than likely will be where your phone gets fixed
[G2 and Desire Z General] Mehrdad96:
yes it is Desire Z and it has M4G2DE 2.10 GiB eMMC ( maid by samsung ) which i assume is the bad one. I also ran the test for fried eMMC and the output was similar to what you said in second post but i don't want to give up hope (or should i?)

I can connect my phone to pc into fastboot mode. what should i do now?
[G2 and Desire Z General] demkantor:
Well first thing I would do is try to change to the proper hboot for your phone, there is a link in one of the first few posts here for a guide to do just this from fastboot, it will explain how to setup fastboot.exe if you aren't familiar, use the engineering hboot for the dz, 0.84.2000

fastboot flash hboot XXX.IMG

If this works and you can confirm the version has changed great, next would be to try and flash a new recovery, preferably 4ext. I have instructions n that link as well to fastboot flash it as well as links for an image.

Let me know how this works out, or if you get stuck and need more help
[G2 and Desire Z General] Mehrdad96:
when i try to fastboot flash hboot, in cmd it says:

sending 'hboot' <1024 KB>

OKAY [ 0.184s]

writing 'hboot'

FAILED <remote: image update error>

finished

I also tried hboot-eng.img from cyanogen wiki but the results were the same
[G2 and Desire Z General] demkantor:
Try flashing the dz pc10img.zip I made linked in the third post, flash it through hboot, instructions are in that thread, what happens then?
[G2 and Desire Z General] Mehrdad96:
Is this the link you're talking about?

http://xdaforums.com/showpost.php?p=33347015&postcount=30

link of the pc10img.zip in dropbox is broken
[G2 and Desire Z General] demkantor:
ok its all fixed again sorry about that

read the read me for more clarifications

PC10IMG.zips
[G2 and Desire Z General] Mehrdad96:
i get this "Partition update fail!" and in front [5] BOOTLOADER it says this " - Fail-PU"
[G2 and Desire Z General] demkantor:
What if you were to just flash the dz hboot? You can extract the image and flash it through fastboot

fastboot flash hboot XXX.img

Again change XXX to whatever it is called
[G2 and Desire Z General] Mehrdad96:
if you mean flashing this file (hboot_7230_0.82.0000_100902.nb0) then it fails again and says:

sending 'hboot' <1024 KB>

OKAY [ 0.187s]

writing 'hboot'

FAILED <remote: image update error>

finished
[G2 and Desire Z General] demkantor:
Yeah it looks like although you are soff it is a fake soff as it won't allow you the permissions to flash at all security levels. Unfortunately this means there isn't really anything you can do but chances are your emmc was bad anyway.

The other option of course is to boot the os off sdcard, instructions are linked in the second or third page in this thread but being you have a bootloader for another phone installed (still not sure why this is) that may fail to boot as well, but its worth a shot... sorry I can't help out any further on this but at least dz's are cheap now and if you do get another one make sure to root properly including the proper bootloader
[G2 and Desire Z General] Mehrdad96:
booting from sdcard WORKED. Actually it was very easy. I just followed the instruction in Catherall's guide.

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

thank you very much for help demkantor. I really really appreciate your effort and support
[G2 and Desire Z General] Mehrdad96:
Is there anyway to make booting from SD Card permanent so that every time i turn on or reboot the phone, it boots from SD card ?

I know this is not the place to ask about this but no one seems to answer me in the main thread.
[G2 and Desire Z General] demkantor:
I'm not sure how easy it would be but anything is possible, pretty much the bootloader would need to be hacked. As far as I know no one has set this up as playing with your bootloader can be very dangerous. You would probably need to find someone able to jtag their phone so they can fix a brick while trying some hacks... so in short not likely
[G2 and Desire Z General] 00sand00:
Know it's a bit late...

But same thing happened to me and now I also run system from sd card.

I was also installing flinny AOSP and have samsung emmc.

Only good thing that system is much better with cynogen7
[G2 and Desire Z General] demkantor:
What ROM you are running at the time doesn't seem to matter, having the chip prone to failing seems to happen to rooted and non roots users alike. And as far as I or anyone can tell it isn't the users fault and would happen to anyone.

But of course try to reformat first as a corrupt cache partition can appear quite similar, worst case scenario is to run of SD (be sure to thank catheral for coming up with it and kebeezie for improving on it!)

Good luck to ya and if you have any questions feel free to ask
[G2 and Desire Z General] Styxed:
What I did before summary (all: http://xdaforums.com/showthread.php?t=2133575)

- downgrade to 2.2

- root using gfree method

- install 4.2.1

- downgrade to 2.2

- htc update towards 2.3

- update fails because laptop shuts down after battery running low while laptop is connected to telephone.

VISION PVT SHIP S-OFF

HBOOT-0.85.0010

MICROP-0425

RADIO-26.04.02.17_m2

eMMC-boot

<date>

IMAGE CRC:

osbl: 0x2155C755

amss: 0x183A34CE

hboot: 0xD011126C

boot: 0x36729A75

recovery: 0xBD306B05

system: 0x7053B86B

I can get into bootloader, but

- I tried via bootloader reset to factory defaults: vibrate, htc logo, image of telephone with green arrows above and loader below with image of SD-card on the right of loader. But loader doesn't progress and after some time telephone resets and stays at htc logo.

- I tried recovery via bootloader: vibrate, htc logo, and image of telephone with red exclamation mark and red triangle.

in telephone bootloader I try fastboot commands via laptop:

fastboot devices

Gives me back serial number.

fastboot oem jump

Gives me '... FAILED (status malformed (1 bytes))'. With all fastboot commands I try. Rebooting:

fastboot reboot

Gives 'rebooting...' but nothing happens on telephone.

How to unbrick my Desire Z ?
[G2 and Desire Z General] demkantor:
Just replied to your other thread but I'll add better info here

In third post of this thread, toward the bottom, under always be careful flashing firmware, you will see a link to a couple PC10IMG.zips I made. Being you still have soff you should be able to flash this in bootloader mode (I would recommend fastboot but I don't think your current SPL allows for most fastboot commands)

just place it in the root of SD (no folders) rename to PC10IMG.zip (if using windows it may hide extent ions from you so don't name it PC10IMG.zip.zip get it?)

Boot into bootloader, hit yes, let it cycle. More info in the read me file that is in the download link

Let me know how this works out for you
[G2 and Desire Z General] Styxed:
Fastboot doesn't let me do any other commands indeed, every time the 'FAILED (status malformed (1 bytes))' appears.

Renamed DZ_PC10IMG.zip to PC10IMG.zip and placed it in root of SD-card.

Booted in HBOOT with SD card in it, bootloader automatically starts scanning SD for images, but can't find the PC10IMG.zip. It does say it is scanning for it:

SD Checking...
Loading... [PC10DIAG.zip]
No image!
Loading... [PC10DIAG.nbh]
No image or wrong image!
Loading... [PC10IMG.zip]
No image!
Loading... [PC10IMG.nbh]
No image or wrong image!

and it returns. Just like what happened before when I tried to downgrade to 2.2

'PC10IMG.zip' is in root of SD card (no folder), checksum corresponds, ...

What might be wrong?

---------- Post added at 04:44 PM ---------- Previous post was at 04:31 PM ----------

Some additional info:

In bootloader when I run 'SIMLOCK' option, it gives:

FAT32 init OK
Open MCCMNC file fail
Open CID file fail
[G2 and Desire Z General] demkantor:
Either it is not named correctly (remember windows hidden file extentions) or its not on fat32 partition of sdcard (maybe reformat card) or something is wrond with hardware (bad card, bad slot, etc)
[G2 and Desire Z General] Styxed:
SDcard was FAT, not FAT32. How can a noob know those sort of things. Probably skipped some sticky threads :)

Thanks a lot !!!

With FAT32 the bootloader did read/recognize the image and installed the it. Reboot in recovery mode and I could do everything again.

So, never update telephone while it is with cable in laptop (NOT EVEN in charge only mode) if your laptop battery isn't full and laptop not rebooting, shutting down, or whatever.

Thanks again.
[G2 and Desire Z General] demkantor:
Glad its all working again and lesson learned... read as much a you can! Now go find yourself a great custom ROM and happy flashing!
[G2 and Desire Z General] Urch:
Help

This is the error i get when i try flashing recovery:

C:\Users\nwanyieze\Desktop\New folder (2)>fastboot erase recovery

erasing 'recovery'...

FAILED (remote: not allowed)

finished. total time: 0.020s

C:\Users\nwanyieze\Desktop\New folder (2)>fastboot flash recovery recovery.img

sending 'recovery' (5342 KB)...

OKAY [ 0.920s]

writing 'recovery'...

FAILED (remote: not allowed)

finished. total time: 0.940s

My eMMC is SANDISK while the Manufacturer ID is MID=45.

Please any solution to my phone.

When i try flashing PC10IMG.zip, it starts reading the zip but when it get to image, it writes "WRONG OR NO IMAGE", installation aborted.

Please help me. Thanks
[G2 and Desire Z General] demkantor:
It sounds like you don't have a bootloader capable of fastboot flashing, boot into hboot and write down everything on that screen here
[G2 and Desire Z General] Nekkuh:
Nice guide

Fixed some of my problems with this guide
[G2 and Desire Z General] jardam.cz:
ADB - no devices seen

Hello demkantor.

Thanks for your comprehensive thread and also for you reply in my separate thread. There are so many threads about similar topics, that it is difficult to find the correct one.

I have a question. I tried to read out the version / type of my eMMC chip, because maybe it is fried. However the adb connection doesn't work. Actually I didn't understand, in which "mode" should be the phone: HBOOT (vol- and power), fastboot (touchpad + power) or stuck in the HTC splash screen???

If I go to HBOOT and connect via USB to PC (I have the correct driver), device says HBOOT USB PLUG. If I switch to FASTBOOT, device says FASTBOOT USB.

In FASTBOOT session I can connect to device using FASTBOOT.exe. Device communicates, everything OK.

But how to connect the ADB? I type

adb devices

in cmd window, it replies

List of devices attached

, but no devices in list.

What am I doing wrong?

I just want to check the eMMC chip OEM / version and try to communicate to see if it is fried.
[G2 and Desire Z General] demkantor:
Being you have no access to a working os and stock recovery you won't be able to use adb, also you have a shipped bootloader which means most fastboot commands aren't available to you. Not sure if this will be allowed but you can try

fastboot getvar all

Here you can see what version you are to have and hopefully find a compatible ruu

If you're lucky you can try this command to check which chip you have

fastboot oem check_emmc_mid

If it says Samsung you have a chip prone to failure, if sandisk you may have some luck, if it says command not allowed then you don't have fastboot setup properly or your bootloader is evil and won't let you do simple command (I hate stock)

If this is the case the only way I know how to check what chip you have is to open up the phone and look at the logic board, it will say manufacture right on the emmc. But remember that will void any warranty you may have left

Good luck and feel free to ask any other questions!
[G2 and Desire Z General] jardam.cz:
update from FASTBOOT

OK, I have an update from fastboot:

C:\Users\amandikj>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 0.85.0013
(bootloader) version-baseband: 26.10.04.03_M
(bootloader) version-cpld: None
(bootloader) version-microp: 0425
(bootloader) version-main: 2.42.405.4
(bootloader) serialno: SH19SRT01642
(bootloader) imei: 352212043007355
(bootloader) product: vision
(bootloader) platform: HBOOT-7230
(bootloader) modelid: PC1011000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 4103mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 81c588a7
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: -0.000s

C:\Users\amandikj>fastboot oem check_emmc_mid
...
(bootloader) Manufacturer ID, MID=15
(bootloader) eMMC should be samsung
OKAY [ 0.016s]
finished. total time: 0.016s

Is there anything else I can try? The phone is still under warranty. But sending it to Hong Kong to Global Warranty servise will cost me around 600-800 RMB ($100), so it might be cheaper to buy a new DESIRE Z (I saw one on mobile market, but don't know the price).

BTW, which ROM should I take? I tried following:

RUU_Vision_Gingerbread_S_HTC_WWE_2.42.405.3_Radio_12.56.60.25_26.10.04.03_M_release_224299_signed.exe

RUU_Vision_Gingerbread_S_HTC_WWE_2.42.405.2_Radio_12.56.60.25_26.10.04.03_M_release_199043_signed.exe

RUU_Vision_HTC_WWE_1.72.405.2_Radio_12.28e.60.140f_26.04.02.17_M2_release_160660_signed.exe

PC10IMG_Vision_TMOUS_1.19.531.1_Radio_12.21.60.09b_26.02.01.15_M2_release_149459_signed.zip

PC10IMG_Vision_TMOUS_2.15.531.3_Radio_12.52.60.25U_26.08.04.30_M3.zip

Vision_TMOUS_1.12.531.0_Radio_12.18.60.05P_26.01.00.17_M2_144460.zip

but after checking the signiture I receive "Wrong device ID"
[G2 and Desire Z General] demkantor:
Well you have the Samsung emmc and are showing all the signs of a fried chip so I'm sorry to say that anything else but replacing that chip is futile. I would say the phone is still worth 100$ and I feel you would be hard pressed to find a new one at that price ( or factory refurbished if that's what HTC will do) there have been reports that HTC will just replace the dz with another phone rather fixing yours but I can't attest to that personally.

Does it really cost this much to ship from Asia to Europe (I think that's what you said) or is it possible to have HTC except the phone in China?
[G2 and Desire Z General] jardam.cz:
There is this bloody CUSTOMS S*H*I*T when sending stuff from China to Europe. At first I try to get the reaction from the e-shop, where I bought the phone. And then maybe send it there. The e-shop was a little suspicious, reselling phone in Czech Republic originating from Poland. But the phone was new and according to GWS it is still under warranty.

In China, there is no Global Warranty service. I called Hong Kong and Taiwan, both service in baaaaad chineglish, but at least something. They told me to send the phone to Global Warranty Service to Hong Kong. That costs something. Then they want to charge me for some GWS (Global Warranty Service) fee (or wtf???) and then charge me by sending the phone back.

I would say all of this should be paid by supplier, not customer, but ... I don't know.

Thanks for you replies so far. Better than the HTC customer service! :good::good::good:
[G2 and Desire Z General] demkantor:
No problem, hope you get this sorted out! There really isn't much better for hardware keyboard phones right now so hopefully you can get yours replaced cheap!

Wish you the best, good luck!
[G2 and Desire Z General] xhitz:
Bro, Ok so My problem,

True Root" Sanddisk, Fully S-off,

Never had a problem till one day i had to replace the lcd screen bcuz it I turned it on and it wasnt working? I didnt want to believe it was faulty due to digitilizer or lcd but when i replaced the lcd it turned backed on...

-Months Later- My screen turns on but is non responsive at all??? With a little yellow tint behind it? The keyboard lights wasnt turning on, they HW keys wouldnt light up or work" took apart cleaned then in recovery all hw keys were light up and only two would work then booted phone and only the right side of phones screen is working! so i have to g2s and yes i flashed everything formated factory restore you name it....but recently i got my 3500mah battery in the mail for my other g2 and used my other g2 to use in my video review or receiving and sure enough when i booted up the phone to see if it had batter the SCREEn WORKED!! Just as i thought it was hw problem but not all of the screen? in portrait mode only some of it and landscape most of it and after that three hw keys were working, and this problem also caused one of my sdcards to mess up so my sd-ext wasnt showing untill i put a new sd card in(before i put the 3500battery in) Ihave a gut feeling this is due to phones hw not os or the emmc problem bcuz it just happend out of no were?
[G2 and Desire Z General] demkantor:
Not fun to diagnose this kind of stuff but it sure sounds like hardware to me. If you want to be sure flash one of the PC10IMG.zips from the link in the beginning and then flash a new rom. If still the same, which my guess it will be, chances are you will need to replace either the main flex cable or the digitizer or both, probably the digitizer would be my guess. Neither is all that hard, as you know from replacing you lcd.

There is a nice app on the market called z device test that can test screen and sensors and more, its helpful to see problems but doesn't help find the cause unfortunately...