yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] amidabuddha:
To create a Goldcard use these steps.

Use CID number from my phone for step 2:

035344535530384780810c1fe700b3c4

Then instead flashing with hboot, put the PG88IMG.zip on the sdcard, reboot to bootloader, press power to go to hboot, confirm update, if fails try again.
[HTC Desire S] spankranger:
~ # e2fsck -f -b 32768 /dev/mmcblk0p25

e2fsck -f -b 32768 /dev/mmcblk0p25

e2fsck 1.41.6 (30-May-2009)

e2fsck: No such file or directory while trying to open /dev/mmcblk0p25

The superblock could not be read or does not describe a correct ext2

filesystem. If the device is valid and it really contains an ext2

filesystem (and not swap or ufs or something else), then the superblock

is corrupt, and you might try running e2fsck with an alternate superblock:

e2fsck -b 8193 <device>

~ # e2fsck -f -b 32768 /dev/mmcblk0p26

e2fsck -f -b 32768 /dev/mmcblk0p26

e2fsck 1.41.6 (30-May-2009)

e2fsck: No such file or directory while trying to open /dev/mmcblk0p26

The superblock could not be read or does not describe a correct ext2

filesystem. If the device is valid and it really contains an ext2

filesystem (and not swap or ufs or something else), then the superblock

is corrupt, and you might try running e2fsck with an alternate superblock:

e2fsck -b 8193 <device>
[HTC Desire S] spankranger:
I have made the goldcard:

did i fill in the right code on "get cid" ? or does it need to be the reversed code ?

After this i format and patched the mmc with the goldcard.img and now it says GOLDCARD.

Now i have diferent PG88IMG.zip files on my pc, which one do i have to use, the one from the update.zip file from the ruu

or the ENG HBOOT for alpharevx S-OFFed phones ?
[HTC Desire S] amidabuddha:
It seems that your made your Goldcard correctly. The PG88IMG.zip has to be the one from your RUU
[HTC Desire S] spankranger:
I get the same outcome as in post # 33

SD Checking...

Loading... [PG88DIAG.zip]

No image!

Loading... [PG88DIAG.nbh]

No image or wrong image!

Loading... [PG88IMG.zip]

The progress meter goes to 100%

Then i see the folowing screen:

HBOOT

Parsing... [SD ZIP]

[1] BOOTLOADER

[2] BOOT

[3] RECOVERY

[4] SYSTEM

[5] SPLASH1

[6] USERDATA

[7] TP

[8] RADIO_V2

[9] RADIO_CUST

Do you want to start update?

<VOL UP> Yes

<VOL DOWN> No

When i press volume up i see:

Update is in progress...

Do not power off the device!

Can not roll back hboot version

I also see the folowing tekst

[1] BOOTLOADER - Bypassed

[2] BOOT - Updating

I tried 10 times yesterday, but i think the hboot version that is in the RUU does not want to update.
[HTC Desire S] amidabuddha:
Open the PG88IMG.zip, delete the hboot.img from it, close, confirm changes and try again.
[HTC Desire S] spankranger:
I tried to instal/run the program 4EXTRecovery v2.1.0 one click

When i click the runme.cmd is get the message:

pushing files with adb..

..

2660 KB/s (92632 bytes in 0.034s)

2906 KB/s (6541312 bytes in 2.198s)

..

..

writing recovery..

/sbin/sh: su: not found

..

removing leftover files..

finished

No Errors? Then it should have worked.. reboot into recovery to check

Push a button to go further. . .
[HTC Desire S] amidabuddha:
To flash the recovery:

download the file from here

Extract it

open cmd and type:

fastboot flash recovery "[I]path to the file on your computer[/I]"/recovery.img
[HTC Desire S] spankranger:
I deleted the hboot.img from the PG88IMG,

SD Checking...

Loading... [PG88DIAG.zip]

No image!

Loading... [PG88DIAG.nbh]

No image or wrong image!

Loading... [PG88IMG.zip]

but now after te sd checks it just jumps to hboot default screen.
[HTC Desire S] amidabuddha:
Try to replace with this hboot.img in the PG88IMG.zip. (rename it as the original one in the RUU)
[HTC Desire S] spankranger:
Now it is updating, but the phone freezes i think because it has been for 2 hours by now...

Parsing... [SD ZIP]

[1] BOOT

[2] USERDATA

[3] BOOTLOADER - Updating
[HTC Desire S] amidabuddha:
Yes I think the same. And since you have no write access I am afraid that you cannot remove your 6.98.1002 bootloader. Anyway before going for replacement try to format the bootloader partition with:

mke2fs /dev/block/mmcblk0p18
[HTC Desire S] spankranger:
I get this result:

~ # mke2fs /dev/block/mmcblk0p18

mke2fs /dev/block/mmcblk0p18

mke2fs 1.40.8 (13-Mar-2008)

Warning: could not erase sector 2: Attempt to write block from filesystem result

ed in short write

Filesystem label=

OS type: Linux

Block size=1024 (log=0)

Fragment size=1024 (log=0)

128 inodes, 1024 blocks

51 blocks (4.98%) reserved for the super user

First data block=1

Maximum filesystem blocks=1048576

1 block group

8192 blocks per group, 8192 fragments per group

128 inodes per group

Warning: could not read block 0: Attempt to read block from filesystem resulted

in short read

Warning: could not erase sector 0: Attempt to write block from filesystem result

ed in short write

Writing inode tables: done

Writing superblocks and filesystem accounting information:

Warning, had trouble writing out superblocks.done

This filesystem will be automatically checked every 38 mounts or

180 days, whichever comes first. Use tune2fs -c or -i to override.

~ #

I talked with some people from #revolotionary, they adviced me to putt my phone for 10 seconds in the microwave oven. :eek:

Then it will be fried totaly and the people at HTC cant see that i used the s-off tool and cant void my warranty. What's your view on that?

And what do you think is better the normal oven, electrical heater, or microwave oven ?
[HTC Desire S] fbcyborg:
:eek::eek::eek::eek::eek:

Despite that this seems to me something incredible, maybe they said something that could work.

To answer your question about the oven type: it's not a heat issue here, but a wave issue. Maybe it is the reason why they've said microwave oven.

Anyway I'm rather sceptic.
[HTC Desire S] spankranger:
I still have 3 months warranty and dont want HTC to have an excuse to void my warranty and make me pay for a replacement Mainboard.

Like this guy: [Guide] How to brick your Desire S

It seems the eMMc was not fried by me or the s-off tool, but HTC just cheaped out on the eMMC chips in these phones.
[HTC Desire S] amidabuddha:
Try to put something metal (spoon for example) in a microwave oven for 10 seconds. See the result and then decide for yourself
[HTC Desire S] fbcyborg:
In the microwave manuals (if I'm not wrong) it is written that is prohibited to put metal objects in it. This because they can generate sparkles. So if you want to do fireworks with your device, let's do it.
[HTC Desire S] amidabuddha:
Exactly. I am not sure what kind of "expert" gave the idea, but the microwave will probably make visible damage to the contents of your phone.
[HTC Desire S] fbcyborg:
At this point I don't know why they suggested to do so. Could it be a mockery? Or is it a way to definitely impair the phone without producing any visible damage?
[HTC Desire S] ivanmark52:
how safe is to flash 0.98.2000 if i have 6.98.1002?

I should just put zip file on sd card and instal it from recovery?
[HTC Desire S] fbcyborg:
It is safe enough. Read here. Post 113.
[HTC Desire S] spankranger:
Just got a message from HTC Netherlands after sending my phone to them.

They say that the eMMc was fried by the s-off tool I had used. And thats why my warranty is now void. They tell me the replacement of the main board cost me €180,- :mad:

But if i dont want that and just want to get my phone back, i still need to pay them €30,- for the research of it. WTF!! next time i will microwave the freaking phone before i sent it to them. Now they just refurbish it and give it away....

I'm totaly done with this policy. thanks again for everybody's help.
[HTC Desire S] neoliviu:
i'm in the same situation, i need to "totaly" brick my DS, other ideas except microwave?
[HTC Desire S] platforma:
I've just got my desire s back free replaced after s-off/rooting/fried emmc (UK). So do send yours if you're in the UK, no questions asked, just returned the working phone after 4 days.

And now the big question is whether I want to try it again or not. I would assume they just replaced the chip with the similar one. I've got a sheet back from them with a table of the parts that were replaced:

- Mylar, Light Leakage Proof, SAG

- Conductive Fabric, RGB TW connector Shielding, SAG

- FRU, Main Board, HTC, English-WWE, GBR, UK, Regional IDL

I suppose I can run adb and check if the emmc chip is the same as i had before that got fried, then I wouldn't risk it. But if it's something different i think it's worth a shot.

Well, the chip is exactle the one I had before:

$ cat /sys/devices/platform/msm_sdcc.2/mmc_host/mmc0/mmc0:0001/name
M4G2DE
[HTC Desire S] amidabuddha:
I am not pushing you to take my words for granted, but from all the info I have gathered for the past several months the conclusion is:

The risk of corrupting ("frying") the eMMC is minimal as long as you are not pulling the battery of a powered ON phone.
[HTC Desire S] platforma:
So what should one do if the phone is frozen, i don't know if there's a safe power off combination on desire s?
[HTC Desire S] amidabuddha:
You can try to shut it down with the Vol Up + Vol Down + Power combo, but there was a case reported here of a "fried" chip after such action.

The other way is to try to reboot it by the adb command,

adb reboot

if you device is recognized by adb when connected to PC.

But the safest way is just to be patient and wait the battery to completely drain by itself.
[HTC Desire S] kapybarus:
ok now i am really depressed... wtf they think.i get that if i put my phone to water they didn t repair it, but is it my problem that they put cheap chip in phone? one thing i know for sure, if my emmc is fried and not replaced for free i will never buy any htc phone.
[HTC Desire S] Cauf:
Hi, I followed the guide from page one and i think the chip is fried.

I am getting as last lines the four you mentioned . :(
[HTC Desire S] amidabuddha:
If you mean this lines:

mmc0: failed to get card ready
mmc0: reinit card
mmc0: Starting deferred resume
mmc0: Deferred resume failed

then sorry. Probably you should give it back to your friend.
[HTC Desire S] Cauf:
Yes, These lines i find among many lines.

they are not together, but anyway there.

Can't give it back, i bought it broken thinking i could repair it.

Is it normal that with the "fried" chip revolutionary is still working fine ?

Could i still try your guide in post 45 ?
[HTC Desire S] amidabuddha:
If you read through this thread you will see that nothing can be done when the chip is "fried". We have made here a lot of different things - as you can see nothing worked. Sorry.
[HTC Desire S] Cauf:
MM **** happens.:(

What in fact is this "fried" chip.

Do you know its function ?
[HTC Desire S] amidabuddha:
This is a state when your phone's internal memory (eMMC) denies write access. Which means that you cannot flash anything or do any changes. It is completely frozen. Only the bootloader and in some cases (like yours) the Recovery are still active, but you cannot flash any file in both. The only solution so far known to me and in this forum is to bring the device to a service center for a chip replacement. Having custom bootloader (6.98.000x), if of course it is noticed by the repair guys means that you will need to pay for the repair (how much - depends on the country). If your friend has a warranty and you are lucky then it can be repaired for free. Try it. Tell them that your device got stucked while updating apps from the Market (I think that this is actually the truth)
[HTC Desire S] basementcat:
They liked you then! I'm having eMMC issues after pulling the battery on a market lockup. didn't know then about vol +/- power combo. didn't know about leaving the battery out for longer.

I called HTC on 29th Dec 2011 and said it won't boot. Didn't say anything about S-off or Revolutionary, they collected it 30th and it came back today 4th Jan 2012 so can't fault the turn around only they did not do anything to the phone!! It is exactly the same with no excuse or reason. I can still bring up the Revolutionary screen, haven't tried flashing 4EXT yet.
[HTC Desire S] platforma:
Sorry to hear that mate. Don't they usually contact you and tell you that you need to pay for the repair, so and so. So it came with no paper, no explanation or anything?
[HTC Desire S] basementcat:
They didn't bother to contact me, to even offer me the option of paying. It came back with a letter saying "thank you for choosing HTC Europe to repair your device, blah blah blah, report any damages in transit within 2 days"

I will follow some more guides at the weekend. I can fastboot over USB into Revolutionary but that is all. Regular boot just shows HTC in green, no melody, just frozen!
[HTC Desire S] basementcat:
After a couple of days dicking about with fastboot and adb shell i've concluded that the eMMC really is cocked and i've just bought a second hand DS "as new" from Amazon. hopefully this one won't screw up because it's a really nice phone. As for the brick either ebay as non-working (!) or recycle for money.
[HTC Desire S] ammenRA:
can i change my bootloader to 0.98.2000. currently my hboot is 6.98.xxx and i'm using endymion v3.3 rom. i try to use android flasher but nothing. it seems that my phone doesn't connect when during fastboot usb mode.
[HTC Desire S] amidabuddha:
Missing drivers maybe? (do you have HTC Sync)
[HTC Desire S] fbcyborg:
Why don't you try adb?
[HTC Desire S] ammenRA:
i've installed various drivers that i can find on xda, fastboot, hboot, pdanet package. and yes i have htc sync, install-re-install still no joy

can you show me how? which is the most safe method?
[HTC Desire S] fbcyborg:
Sure!

here we go!
[HTC Desire S] ammenRA:
wohooooo:D:D:D done!!! thank you for the fast reply.
[HTC Desire S] fbcyborg:
No problem!

Glad to hear it worked for you too! :)

Bye!
[HTC Desire S] ammenRA:
so last night i went further by going back to my stock rom as i forgot to back up the stock rom first and use the step 2 tutorial from this thread coz that's the one that worked for me. fortunately all went well. again thank you amidabudha esp for the info of flashing engineering bootloader and fbcyborg.

one question though, last night i pull the battery out after i -s-off'ed my ds again, it happens because i went to recovery before i flash it and some triangle with red ! pop out, is it ok? although to be honest i was kinda hoping it would...naah nevermind :D
[HTC Desire S] amidabuddha:
This is your Stock recovery. When you have the triangle press Volume up + Power, instead of battery pull. I suggest to flash a custom one instead - 4EXT (use the 4EXT updater app) or CWM (use ROM Manager).
[HTC Desire S] ammenRA:
yes i already did the vol down+power but nothing happens and i don't have the patience to wait until my ds out of juice. . as last night i have a chance to compare between stock rom and custom rom, after seeing the result i rushed and went to recovery to get back to endy rom and one thing lead to another.

hey mate now that i have the stock rom backed up and if i want to rstore it for warranty purpose, i just go to 4ext and just restore it from there?
[HTC Desire S] amidabuddha:
Volume UP + Power

You have to install 4EXT recovery with the 4EXT recovery application. Then make the backup. Then flash the custom ROM.

To restore Stock the backup is not a solution as it will not restore the stock hboot. Only RUU. Read the sticky guides very carefully before doing anything to your phone :banghead:
[HTC Desire S] ammenRA:
fudge me :eek:. my bad :p

did that, like i said i just forgot to re-install 4ext after i went back to stock rom.

will surely do!!
[HTC Desire S] n0elite:
Hi,

My Desire S doesn't want to boot after a restore to stock ROM. I was running Hyperion 2.1 I wiped all the caches in recovery and then restored the nandroid backup. When the setup was finished I rebooted the phone but now it doesn't want to boot. It stays at the white HTC boot screen.

I can however boot up the phone in restore mode. But when I try to restore the nandroid backup it says:

E: Can't mount /cache/recovery/command

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

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

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

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

Revolution info:

SAGA PVT SHIP S-OFF RL

HBOOT- 6.98.1002

RADIO- 3805.06.02.03_M

eMMC-boot

So I want to try and see if my emmc is fried or not.

I installed latest HTC Sync and and adb/fastboot from your sig.

So I boot the phone in revolutionary mode, you know the one with [FASTBOOT, RECOVERY, FACTORY RESET, SIMLOCK, IMAGE CRC ] and plug in my usb cable.

Then It shows HBOOT USB PLUG, so I guess it's connected to my computer.

In CMD I type adb shell [enter] en then it says'' error: device not found''/

What to do now?
[HTC Desire S] fbcyborg:
Hey, did you try as it is suggested in the first post?

I mean this:

I had this problem too, with the difference that my Desire S was booting.

The only problem is that adb doesn't work for you... strange! :|

By the way: change your hBoot.
[HTC Desire S] n0elite:
Sorry, I'm a noob at this, but i thought i had to check if emmc was fried first and then if it's not then try to recover it.

So what must i do, I'm very confused now.
[HTC Desire S] fbcyborg:
In the first post, in the very begin of the post, there is explained how to check if the eMMC is fried. Please read it.
[HTC Desire S] n0elite:
I did and it says :

As I said, if I type adb shell it says error: ''error: device not found'' while revolutionairy shows that my phone is connected.

So let's assume my emmc is not fried, nandroid backup doesn't work, it only shows white HTC screen. factory reset doesn't do anything, stays at revolutionary screen and I can't seem to flash hboot 0.98.2000 with Android flasher. Doesn't do anything and revolutionary gives this error:

''error: device not found

security: off

finished. total time: 0.011s

sending 'hboot' (1024 KB)...

OKAY [ 0.203s]

writing 'hboot'...

(bootloader) image update is bypassed!

OKAY [ 0.028s]

finished. total time: 0.231s

rebooting into bootloader...

FAILED (status read failed (Too many links))

finished. total time: 113.310s

''

THIS IS DRIVING ME CRAZY aarghh
[HTC Desire S] fbcyborg:
No more ideas come into my mind now. The only check you could do, is to try if fastboot sees your device.

You can start the bootloader (Vol down + Power then enter fastboot in the bootloader) and once fastboot is active, you can see if your device is detected issuing the following command:

fastboot devices

It might be that you can do more with fastboot if you are not able to use adb, but there are people much more expert than me here for that.

For instance I've found this, and I see that you can do many things using fastboot oem, but I don't suggest you to try that, before some more skilled people than me, say to do it. If fastboot detects your desire S, maybe you may even clean the cache partition.
[HTC Desire S] n0elite:
Okay booted into flashboot. cmd ''fastboot devices'' shows that my device is detected. What to do now?
[HTC Desire S] fbcyborg:
Hey mate,

I don't want to make experiments and try something I've never done on your device. The fact that fastboot detects your device makes me confident that you can fix the phone with it. So please be patient and wait for a reply from a more expert user than me.

Or if you think you could able to do something alone, first search the fastboot documentation and try to format the cache partition (if it is possible).

As a matter of fact, adb should work in recovery mode, but maybe it's due to CWM.

For sure you can change the recovery with fastboot:

fastboot flash recovery recovery_name.img

See here for further details.

You should try to flash the 4EXT recovery and see if adb works with the new one.

The problem is that I don't find the 4EXT img recovery file here, because we use 4EXT recovery control apk to flash the recovery, but let me see if I can get it from my phone and give you the file.

For sure, with 4EXT recovery you will be able to format system, data and cache partition as ext4 filesystem (that is just what fixed the issue in my case). Of course you will have to flash the ROM again.
[HTC Desire S] fbcyborg:
OK!

Here we go. You may find the 4EXT_Recovery_v2.2.7_RC5.zip file attached to this post. I've downloaded it using the 4EXT Recovery Control apk.

You can flash the 4EXT Recovery unzipping the file and performing the following command when in fastboot mode:

fastboot flash recovery recovery.img
fastboot reboot-bootloader

And then enter into the recovery.

Make sure the file recovery.img is in your current working directory.
[HTC Desire S] n0elite:
grazie maestro! will try tomorrow, very tired now.
[HTC Desire S] fbcyborg:
No problem! I hope to read good news from you soon.

BTW: all the information I provided to you are gathered by reading other threads on this forum. Most of the procedures I suggested to you, have been already tested by me.
[HTC Desire S] n0elite:
I'm confused about whether I should install or uninstall HTC Sync? Could it be that might have caused problems for my previous attempt to flash a new bootloader?
[HTC Desire S] fbcyborg:
I don't know, but I guess HTC Sync wouldn't be a problem for these operations.
[HTC Desire S] n0elite:
Sorry that it took me a long time to reply, very busy with school :o

What do you mean with put the recovery.img in my current working directory?

On my SD card I guess?
[HTC Desire S] fbcyborg:
:) No problem! :)

I don't know if you are on Windows or Linux but for instance you would have a directory containing both fastboot and the recovery file (which is a .img file) you extracted from 4EXT_Recovery_v2.2.7_RC5.zip.

If you are on Linux you would have (for instance)

/home/n0elite/Documents/4EXT_Recovery_v2.2.7_RC5/recovery.img
/home/n0elite/Documents/4EXT_Recovery_v2.2.7_RC5/fastboot

while if you are on Windows you could have:

C:\Documents and Settings\YourUsername\4EXT_Recovery_v2.2.7_RC5\recovery.img
C:\Documents and Settings\YourUsername\4EXT_Recovery_v2.2.7_RC5\fastboot.exe

Well, the current working directory is

/home/n0elite/Documents/4EXT_Recovery_v2.2.7_RC5/

or

C:\Documents and Settings\YourUsername\4EXT_Recovery_v2.2.7_RC5\

You can move to current working directory using a Linux terminal or the Command Prompt using

cd /path/to/directory/

So, the recovery.img file will be placed in your hard disk.
[HTC Desire S] n0elite:
I'm running Windows 7 x64, so i guess my directory should be

C:\users\Admin(=my user name)\4EXT_Recovery_v2.2.7_RC5\recovery.img and
C:\users\Admin(=my user name)\4EXT_Recovery_v2.2.7_RC5\fastboot.exe

There's no fastboot.exe in your ''4EXT_Recovery_v2.2.7_RC5.zip'' though. -edit- took fastboot.exe from the android-win-tools.zip.

-update- I found out it's better to just put fastboot.exe and recovery.img in the Admin folder instead of in the ''4EXT_Recovery_v2.2.7_RC5'' because CMD uses ''UserName'' folder by default.

I don't think it's working it's been on ''writing recovery'' for a few minutes now and nothing is happening.

I booted my phone in recovery, then plugged in the usb cable and went to fastboot menu, then I typed ''fastboot flash recovery recovery.img'' in CMD.

What should I do ? :(
[HTC Desire S] fbcyborg:
OK, you may chose your working directory as you like. No matter what it is.

Ok, if you've done everything correctly the recovery file should have being flashed.

The flashing process takes a very small time, so there's certainly something not working here. This is probably something that is too difficult for me to be fixed.

What is very strange here is that it doesn't even says "Failed" (for instance).

Isn't it?

In this case, be patient please, and I hope somebody would say something more on that. Just in case I would find some information for you in this forum or somewhere else, I'll keep you up to date for sure.

Anyway, at the moment you seem to be not alone with this issue.
[Xperia Play Q&A, Help & Troubleshooting] jcsnider:
I have a Verizon R800x that has had a unlocked bootloader. I now have the stock kernel but the 2.3.3 update. Is there a kernel available to download that goes with the 2.3.3 software for full functionality (such as wifi)?

Thanks!