yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z General] woodnymph:
i have tried flashing various ROMs, cm7 included, various ways -- as update, as zip, as pc10img.

no backups for this devices. maybe i can steal files from another device?

i have got various fastboot errors, though usually seems to flash mostly.

when i erase cache, for example, i get .. erase complete, but no auto format

i tried flashing a recovery again and get no error msg.
[G2 and Desire Z General] demkantor:
well you cant flash backups made from a different model but another dz\g2 will work fine,

if i get a second ill tray and dig a few up for you.

try to record any error you get through fastboot though

looking at your system info you show:

eMMc sandisk 2152 mb 4407295 sectors

i believe the "bad" emmc shows a

emmc samsung - for the bad chip and

emmc uknown - if its completely fried

there may be a fastboot oem command to confirm what chip you have, ill test on this

being you have already flashed a pc10img.zip why dont you go ahead and flash ONE OF THESE

only difference is one has g2 engineering hboot and the other dz, both come with a 4ext touch recovery rc

try flashing through fastboot not hboot though, this way we can get the errors if any
[G2 and Desire Z General] woodnymph:
simon@shadygrove:~$ fastboot flash zip /home/simon/Downloads/PC10IMG/DZ_PC10IMG.zip
sending 'zip' (17811 KB)...
OKAY [ 3.074s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) start image[hboot] unzipping for pre-update check...
(bootloader) start image[hboot] flushing...
(bootloader) start image[radio] unzipping for pre-update...
(bootloader) start image[radio] flushing...
FAILED (remote: hboot pre-update! please flush image again immediately)
finished. total time: 34.219s
simon@shadygrove:~$ fastboot flash zip /home/simon/Downloads/PC10IMG/DZ_PC10IMG.zip
sending 'zip' (17811 KB)...
OKAY [ 3.070s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) start image[recovery] unzipping & flushing...
(bootloader) start image[sp1] unzipping & flushing...
(bootloader) start image[tp] unzipping & flushing...
(bootloader) start image[tp] unzipping & flushing...
(bootloader) start image[rcdata] unzipping & flushing...
OKAY [ 26.993s]
finished. total time: 30.063s
simon@shadygrove:~$ fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.159s]
finished. total time: 0.159s
simon@shadygrove:~$ fastboot reboot
rebooting...

comes up to white HTC screen, buzzes once, flashes off, back to reboot-loop. something is not right :cyclops:
[G2 and Desire Z General] demkantor:
what does it say on hboot screen now? anything change?

also just a thought, have you tried hitting factory reset from booloader, this also should boot you into recovery, if choosing recovery wont get you there i doubt this will but just a thought.

if you want you can always try the latest ruu through fastboot, may risk loosing fastboot commands afterwords though
[G2 and Desire Z General] woodnymph:
the radio changed - back to the .19 radio

tried reset from bootloader - same business

i did try a newer ruu (not sure about newest?) - got the new stock bootloader, radio. i would like to try the ruu.exe from htc, but i am not on a windows machine and wine is out of date for debian stable ..

i wonder about some things:

is it possible to rewrite the misc.img from fastboot?

a way to have boot ignore the recovery partition?

abandon android all together and install a native linux?
[G2 and Desire Z General] demkantor:
well im thinking the issue maybe deeper as technically you could erase the recovery and still boot into an os so there is something even worse going on here. there is some sort of read/write issues with the emmc but what im not exactly sure

as for removing android and booting a linux distro... yes and no. you can do it if you had a working os being that you can run debian or ubuntu under chroot, like a virtualbox

there maybe a way and im sure there are some threads hear on xda, but if you cant get android running i dont think you will get anything else running.

you can always try logging onto #G2ROOT @ FREENODE and see if someone has any ideas in real time

edit:

another thought, when you flash a new recovery via fastboot does it give a message like "okay.... finished... total time..."

or does it just flicker?

if you get the message likes its complete maybe there is a chance it is being flashed to the nand but something else is keeping you from rebooting to it.

the earlier clockwork recoveries used to have a bug, when you plug your phone in

with the phone powered off, it would auto boot to recovery. just looked at another thread

and someone there had this happen with a cw touch recovery, (only ever heard of it happening with older recoveries before)

but maybe try flashing an one like THIS ONE and see what happens
[G2 and Desire Z General] woodnymph:
thanks for the help and ideas ..

i have tried flashing the older recoveries, but may try again. and when i do, i get all the good messages - "okay.... finished... total time..." etc.

I remember reading in the 'Warning' post that if the stock image gets flashed on top of root/s-off that there is a conflict of version number or something to do with misc_img or wpthis.ko business. i think i will try back to that thread and the downgrade firmware thread to see what of that i can do from fastboot.

at this point i dont have much to lose, so i'm open to experimenting some. like i said in OP - i've tried to bric this thing a thousand ways :fingers-crossed:

edit.

i've just tried a buunch of different thing with no change. am having to assume it's hardware, maybe not worth much xtra time now - but for with the screwdrivers ..
[G2 and Desire Z General] demkantor:
try and see if you can get into fastboot RUU mode?

fastboot oem rebootRUU

from here you can try to do a complete install of original ROM, radio, recovery etc.

i don't know how much help you will have with this but before you use your phone to build a wall...

BE CAREFUL WITH THESE

if it doesn't work you may end up with nothing... not much different then you have now

if it does seem to finish

fastboot reboot-bootloader

see if you can access recovery now?
[G2 and Desire Z General] woodnymph:
this is what i was doing yesterday - no luck

these are all windows.exe - i dont have access to a machine to extract the rom.zip ..

i did do this all once a week ago and i think i remember being able to get to the stock recovery at one point, but was not able to repeat that yesterday.

edit

i will try this again - these RUUs are newer than the one i had - at this point i would be happy with stock because this is a nice device otherwise. think i'll open up the back too and see what kind of squirrel is living on the board.

any chance it's possible to boot directly from SD?
[G2 and Desire Z General] woodnymph:
hey, two things here.

i thought i would try the farmat commands in fastboot, but ..

does the ENG bootloader have this turned off or ??

simon@shadygrove:~$ fastboot format userdata
formatting 'userdata' partition...
FAILED (remote: unknown command)
FAILED (remote: unknown command)
finished. total time: 0.002s

secondly, i wanted to try booting directly to recovery, not sure how to call <ramdisc>?

fastboot boot <kernel> <ramdisk>
[G2 and Desire Z General] demkantor:
so i had a few minuets to play around with a g2 having the dreaded Samsung eMMC,

i was trying to get Catherall's "boot from sd" guide going via fastboot and it did not want to play.

(I'll try and make contact and see what can be done) THIS IS THE GUIDE W/DOWNLOAD

see if you have luck, but go with opening fastboot from within BootManager/rom8 (not sd)

and in fastboot type

fastboot boot boot.img

now even it wont boot you should be able to leave phone on htc splash screen and

then have access to adb (the kernel that is written should have debugging on by default)

I have a few things to do right now but Ill see if i can get you any farther shortly,

for now see if this helps move you along! good luck!
[G2 and Desire Z General] woodnymph:
i'll work on all that ^^

@irc yesterday, maybe decided hardware afterall (?) - so this boot_from_sd might be a good trick.

also managed to extract rom.zip from latest htc_ruu, saving that for last resort ..

i wonder if i may have lost root through all this business? not really sure how all this works .
[G2 and Desire Z General] demkantor:
couldn't get fastboot to boot off sd, ill try again tonight.

i looked at the logs from irc last night to see what everyone else was thinking and it seems we are all going for the same conclusion.

everything they were telling you was right on, except the fastboot erase all, the command should be

fastboot erase system -w

that is if you want to erase all

like i said ill try to get it to boot through sd but ive always been under the impression fastboot cant read/write/use sd card

hoping catherall gets back to me to see if it really is possible and how... here's hoping!

oh and to answer your previous post - fastboot format used to work for me on other phones, not sure why but it isn't working on the g2!

at least not with the one Hboot version i tried, ill try some others

the ramdisk you were talking about should be packed into the kernel you are trying to boot from,

if you want to boot directly from a recovery image that is on PC, not SD

fastboot boot recovery.img

(name recovery.img whatever just make sure command matches file name)
[G2 and Desire Z General] woodnymph:
just tried all that ^^ now too. nothing.

also tried flashing latest RUU from htc. nada

calling it hardware and setting it aside .. i did open the back to find hiding spiders, but none there either.

thanks for all the help/ ideas.
[G2 and Desire Z General] kirbix50:
I had 2 Desire Z:s, Other one. Well, Chip fried on other one. The other one is still running happily. :p

I went thru hell to find the reason why my phone wasn't working.
[G2 and Desire Z General] demkantor:
yeah, one of the few times id be happy to see spiders in my phone, at least you could be certain of your issue

but it is just very unlikely that its recoverable now. good news is if you want another g2 the price has come down a lot!

good luck with your next phone!

exactly why I'm making this thread. this is something far to many people have had to deal with

and the information to determine if the phone is completely lost or still recoverable seems to be scattered

all over. I hope this will help others either fix their phone or learn why hope is lost and move on

more quickly.
[G2 and Desire Z General] 00sand00:
I'm pretty new at this but did you try to copy boot.img from archive to your working dir on pc and then type command ?

My DZ was bricked (it looks like fried emmc, the bad one samsung chip) and now everything works I can say far more better then stock ROM.

There is also version on forum that let's you boot from recovery via update.zip (no wifi and camera in that scenario)

but alternative is to boot with fastboot and then DZ is fully functional.
[G2 and Desire Z General] demkantor:
So you were able to get a phone with a fried emmc to boot through fastboot? I tried and tried but could not. On a friends phone I was able to boot off of SD with catheralls writeup but couldn't find a way to fastboot boot the .IMG no matter what way I tried.

Do you mind giving the specifics on how you were able to use fastboot to boot the dead phone? I'd love to be able to replicate it
[G2 and Desire Z General] 00sand00:
Downloaded the package from: http://xdaforums.com/showthread.php?t=1821663&highlight=+guide+

Followed the instructions (copied the files to sd card - Bootmanager subdirectory files and update.zip)

Copied the boot.img from arhive to directory on pc where my fastboot is stored.

VOL DN + POWER -> fastboot

connected phone usb

fastboot boot boot.img - where boot.img is boot file image copied from archive few steps back

Downside is that you have to connect phone to pc in order to fastboot.

Alternative is to start recovery and apply update.zip that is also copied and phone will also boot.

In this case wifi and camera will not work but phone and 3g data will so it's usable till you find pc to start the phone from fastboot

hope this helps
[G2 and Desire Z General] demkantor:
Yeah that's what I was doing, I was hoping there was something I was missing. Ill play around on a working phone maybe and try again as the one with the fried emmc isn't avalible to me right now.

Either way I'm glad it worked for you! Its nice to not have to through a way a phone just because of getting one of the flawed batch!
[G2 and Desire Z General] mrogulja:
Thanks man this was great! 4Ext recovery saved the day! I was getting "cant mount cache/system" on CWMR and was soft bricked.

Now back up to speed!

:)
[G2 and Desire Z General] demkantor:
hey glad it helped you out!

you probably had a corrupt cache partition, if it ever happens again you can just reformat through 4ext recovery... another improvement over clockwork!
[G2 and Desire Z General] Hammad Mustafa:
Soft bricked Desire Z - Help me plz

Hello all worthy experts there.....

This is my very 1st post in XDA forums, just joined it today....i m also new to htc and desire Z is my 1st ever HTC phone, so please be kind if i say some thing wrong as i m trying my level best to put every information upto my knowledge and understanding (which is almost zero :o )

I have bought new desire Z yesterday,got it rooted and S-Off from market (as i dont know a bit about this). got it updated to GB 2.3.3 (dont know which rom he used).

For now my cell starts and hangs at HTC on start up. it is able to boot in boot-loader where it shows the following info:

UNLOCKED

VISION PVT SHIP S-OFF

HBOOT-0.85.0015

MICROP-0425

RADIO-26.10.04.03_M

eMMC BOOT

Dec 20 2011,16:21:13

NO SYSTEM INFO OPTION

Image CRC

osbl: 0x7ee4ed8c

amss:0xb7a63815

hboot:0x6659c31c

recovery:0xbd05ec33

system:0x3980ddb7

When i select the factory reset option in bootloader it processes and reboots but again stucks at HTC logo

When i select recovery option screen goes black and shortly after a RED triangle icon appears (seems no recovery installed)

I have in detail gone thru step by step guide provided in this thread and installed ANDROID SDK here i m getting a problem

-with the "fastboot devices" command it recognizes my phone and serial number appears but with "adb devices" command "list of attached devices" appears in the next command line but no serial number. I have tried it in bootloader menu and fastboot menu both.

when i try to pull logcat "waiting for device" message appears and nothing happens

What i was doing before my phone stuck into bootloader?

I had installed romtoolbox and was going thru its options. cleared the caches of all types,then chose the flashlight option and strobe light, option camera flash light started to blink, tried to shut it off but it wont so i pulled the battery and restarted the phone........hell here i got the problem started:crying:

Following programs were installed in my phone:

SU

RAMXPANDER

ROMTOOLBOX

android assistant

firefox

seriesguide

esfile explorer (with no root access)

lucky patcher

please guide me to recover my phone....i m yet unable to digest technichal jargon being used in forums as its my first day with the HTC and Android
[G2 and Desire Z General] demkantor:
It looks like you were not rooted via gfree exploit. Do you know what method was used to root? You have stock recovery and a shipped bootloader. Right now you are in rough shape but if we are able to get you a custom recovery and an engineering hboot you will be fixed up in a jif.

Can you confirm what guide was followed to root?
[G2 and Desire Z General] PNuT.:
its had the bootloadr unlocked by htcdev by the looks of it
[G2 and Desire Z General] demkantor:
Exactly, but I'm trying to see if it was just unlocked or permroot gained via free3vo or not. I'm guessing it wasn't which makes things tough. I'm assuming flashing a new recovery should work anyway being the secure flag is removed in that layer.

So id like some confirmation before I give bad advice
[G2 and Desire Z General] PNuT.:
can he not relock the bootloader & follow the proper rooting guides from his current position?
[G2 and Desire Z General] demkantor:
Not without a working os or adb functioning
[G2 and Desire Z General] Hammad Mustafa:
Soft bricked Desire Z - Help me plz

Guys thanks a lot for ur quick replies. for now i litterly dont know that which method he used to root my phone.....today being sunday market will be closed. i will get back tommorrow with the answer of this question after visiting him again....thanx again

One more thing i noticed lately is that while in bootloader first menu (the one with recovery and fastboot option) my computer detects the phone but without drivers (means in device and printers "android phone 1.0" appears with yellow triangle icon) but as soon as i select fastboot option phone disconnects and connects again (this time android phone 1.0 zero appears without yellow triangle and in its properties it shows "MY HTC". (seems a driver is missing which is preventing adb to detect my phone,correct if i m wrong) i have used automatic driver detection of windows and didnt installed any of em manually (coz i doubt if multiple drivers can conflict)

Plz refer a link from where i can download the missing driver.
[G2 and Desire Z General] demkantor:
You won't have adb excess in bootloader, not even in fastboot mode, rather that's when you use fastboot. In the first or second post in this thread I have a link titled root you're phone right when you get it, or something like that.

Read up on that as you will be doing it soon, also you will find the link for the proper drivers. Ill check back tomorrow too and see if you need some more help
[G2 and Desire Z General] PNuT.:
missed the bit about adb...

i suspect you are right and his best option will be to flash recovery via fastboot
[G2 and Desire Z General] mohnish.killer:
Piece of Cake :D !!

I fortunately did NOT experience this issue while rooting/flashing my Desire Z,

But had a very similar one while rooting my friends One V !!

from the looks of it , ur phone's hardware part is just fine , it has been properly rooted.

The part that's causing the problem may be >>

1- kernal not supporting the Rom , have you flashed any custom Rom ??

(alternatively , are you on stock recovery ? cause if yes then obv ur on stock rom)

2- Incase the root process has caused the problem , you can start over , this time do it yourself !!

Solution >>

1- you can try & flash CWM or other recovery (CWM recommended) from fastboot , since you say that it IS getting recognized.

2- you can flash a compatible kernal from fastboot ... NOT RECOMMENDED if you dont know much !

3- Easy solution , download ur phones PC10img.zip (or something like that) , thats ur RUU for DZ , place it @ the root of ur SD & start bootloader , follow the instructions ,you'll be returned to stock easily ... afterwhich follow the wiki.cyanogen tutorial to root Htc desire Z from scratch..

Enjoy ! hope it works for you !

& press the thanks button if i helped :D
[G2 and Desire Z General] Hammad Mustafa:
Soft bricked Desire Z - Solved

:laugh::good:

For now the problem of soft brick is solved.......the market person who rooted my cell before has flashed it again with stock (rom,2.3.3 GB)stock recovery. He refused to flash any custom rom or recovery being not practice of his business. he also refused to tell me the method from which he rooted my phone. but told me the software name which he used to root it (may be it can give a clue to experts regarding the method),it is "root unlocker" or "unlockroot" (i m knda confused about the exact name).

Now i have couple of questions for ya:

1. My current kernel dont support CPU over clocking, can i replace it with the supported one without loosing stock rom if so please guide

2. Is it possible to overwrite stock recovery with CWM without harming current stock rom (in case i decide to flash custom rom in future it would be helpful i think, may be i m wrong here being newbie), if so please guide.

3. My current HBOOT is SHIP, can i jump to ENG without harming current rom?

Well in all three questions i mentioned without disturbing/harming current rom coz i dont want to get in HTC boot logo stuck or more severe situation in above processes, as i had paid plenty of bucks to the market guy for first time root as well as second time (for getting out of HTC boot logo stuck) :o:(

---------- Post added at 08:14 PM ---------- Previous post was at 08:07 PM ----------

Hello mohnish, thanx for ur time and consideration dear........ur solution was bit advanced level for newbie like me:(

My cell was rooted by a market professional guy as i mentioned in my first post and after that it worked fine, so causes you mentioned are not the case with me.

Now please help me with my current questions.
[G2 and Desire Z General] PNuT.:
you didnt really need to spend any money in the first place...

you can ENG SOFF from just reading and a couple of hours of time....

have a look at this... ideally you want to relock the bootloader downgrade & then get soff that way :) http://xdaforums.com/showthread.php?t=1453066
[G2 and Desire Z General] demkantor:
Yes follow pnut's advice on this. The method used to root your pone will actually have the potential of putting you in a bad situation again. Much more so the rooting the proper way and getting true radio s-off.

The way your phone is rooted is the half ass way and when problems come up there will be less opportunities to fix you're phone. If you want any of the benefits of a rooted phone, you should really consider relocking the bootloader and rooting the proper way.
[G2 and Desire Z General] mohnish.killer:
To start off , its useless to have rooted phone on stock ROM , AFAIK ; if you change your kernal to overclock , boot-up theoretically should be affected & will cause a bootloop .

IF you want an easy way out of this situation & planning to flash a custom Rom , you can try this.

1- download Root checker from market. If the root is verified (green font) , your good to go. (in the process it will ask for Super user permissions)

(if you just wanna overclock , get SetCPU or other overclock app & allow it to overclock) ****Dont blame me if the below mentioned steps go wrong, m typing to the best of my knowledge...... (i.e what i would do if i were you)

2- If the root checker step was verified ,,,, download ROM Manager from the play store !!!!! flash CWM through it.

3- download CM 9/10 based Roms ; or any other.. trf to SD card > flash via Rom manager ---> which will redirect you to CWM
[G2 and Desire Z General] PNuT.:
or check this thread ;) http://xdaforums.com/showthread.php?t=1660228&highlight=true+s-off
[G2 and Desire Z General] mohnish.killer:
Thats correct :p but i guess he wont be able to do all that stuff ! he claims to be noobish ... no offence !!
[G2 and Desire Z General] PNuT.:
i suspect the best way to learn is do....
[G2 and Desire Z General] mohnish.killer:
Agreed !