yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] dzoma:
I don´t have the link,this was some months ago....all I know is that it was super wipe for eepad transformer lol...:D

I am on irc,but nobody seems to be there...or they are connected but noone writes....I am on work now,will be home in 2 hours...so I will be ready for the operation then...I have a ubuntu that I can use aswell,but it´s the server edition and I am not so good on linux..:(
[HTC Sensation] Hawke84:
ah ok so its prob wiped some of the other paritions like hboot, recovery, radio etc. hard to know exactly what its done without seeing the script.

This might be harder to fix as its potentially a lot of information that needs to be copied onto the eMMC rather than just an hboot image that we've done. So far users are reporting issues getting eMMC access to be stable.

I guess you'll need a full dump from a working sensation to try and replace what was wiped off the other paritions. i'll see if i can find the script...
[HTC Sensation] dzoma:
Heheh can u help me?
[HTC Sensation] AdamOutler:
The UnBrickable Resurrector was designed to be expandable. If you can chop the first few megs to include only the bootloaders/Kernel/Recovery, it can be included in the UnBrickable Resurrector. Of course i can make you guys owners and contributors. Currently it's just myself and Rebellos.

It's actually perfect to deploy a command line tool, a package, then pass parameters and files into the tool. It can poll the device for usb states and display an easily readable output. It's easily upgradable as well... recovery for dummies.

http://hummingbird-hibl.googlecode....elUnbrick/src/com/AdamOutler/LowLevelUnBrick/
[HTC Sensation] RussianBear:
here's the partition layout of the sensation (taken from here: http://xdaforums.com/showthread.php?t=1168521)

dev: size erasesize name
mmcblk0p1: 00400000 00000200 "sbl1"
mmcblk0p2: 00400000 00000200 "sbl2"
mmcblk0p3: unknown (start with PGFS, simlock,simunlock,security,should call it security_record)
mmcblk0p4: unknown (board info, CID,IMEI)
mmcblk0p5: unknown	(board info backup? ,CID,IMEI)
mmcblk0p6: unknown (board info,vendid,devid,boardtype,boardrev,boardflags,macaddr. etc.)
mmcblk0p7: unknown (mbr?,PGFS,20M)
mmcblk0p8: unknown (empty,no data,256K)
mmcblk0p9: 00400000 00000200 "sbl3"
mmcblk0p10: 00400000 00000200 "rpm"
mmcblk0p11: 00400000 00000200 "tz"
mmcblk0p13: unknown (empty,no data)
mmcblk0p12: 00400000 00000200 "hboot"
mmcblk0p14: 00400000 00000200 "splash"
mmcblk0p15: unknown (lot of data radio releated,wifi)
mmcblk0p16: unknown (start with HTC_622,hardware identify?,256k)
mmcblk0p17: 02800000 00000200 "radio"
mmcblk0p18: 007ffa00 00000200 "radio_config"
mmcblk0p19: 00400000 00000200 "adsp"
mmcblk0p20: 01000000 00000200 "boot"
mmcblk0p21: 00fffc00 00000200 "recovery"
[B]mmcblk0p22: 31fffc00 00000200 "system"[/B]
[B]mmcblk0p23: 4aabc400 00000200 "userdata"[/B]
mmcblk0p24: 077fde00 00000200 "cache"
mmcblk0p25: 00400000 00000200 "modem_st1"
mmcblk0p26: 00400000 00000200 "modem_st2"
mmcblk0p27: 01400000 00000200 "devlog"
mmcblk0p28: unknown (empty,no data)
mmcblk0p29: 00040000 00000200 "pdata"
mmcblk0p30: unknown (empty,no data)
mmcblk0p31: 000ffa00 00000200 "misc"

we don't need the system or user data partitions which take up the most space.

let's focus on number 7 and the first 2.

here are some samples of the hex and mbn files that cxb01 provided for us from http://bbs.malshenzu.com/read-htm-tid-50080.html

http://www.mediafire.com/?quau2zh1hjxuu9n

he also provided the address for one of their files:

see if you can find a similar address in hex.

except in our case it will be 8660_msmimage.mbn

we can do a similar dump via android terminal or adb using dd commands. any ideas are welcome.
[HTC Sensation] tasselhoff.b:
How did you find these Chinese forums? Even local Chinese like me won't have much chance to find such deep hide thread.

Let me know if you need any translation.:cool::cool:
[HTC Sensation] RussianBear:
power of google :) i guess it works in China also :D

if you can, take a look here: http://bbs.malshenzu.com/read-htm-tid-50080.html

you'll need to register to view more pictures in that thread and will even need to reply in some cases to see hidden goodies.

any chance you can find out how cxb01 was able to extract those hex and mbn files?
[HTC Sensation] tasselhoff.b:
Just registered - need to wait for 5 minutes before posting the first reply;)

I can see from one of the threads, cxb01 uploaded hex&mbn samples for "XDA friends":D anyone tried talking to him yet?
[HTC Sensation] Hawke84:
i think RussianBear has been talking with him. mbn files will need xml too wont they?
[HTC Sensation] RussianBear:
i did, but i can't really communicate with him freely, plus he's really busy :)

if you can just find out how to get those mbn, hex, and xml files from the cloned mmc or an .img dump, that would be awesome!
[HTC Sensation] tasselhoff.b:
OK, Just sent a PM to him. Let's see if we can get any reply.

BTW, I think the mbn,hex were from some kind of leaked file. Please my translation of his post below

------------------------------------------

中兴泄出来的各线刷包内都有一个烧片文件目录，究竟这烧片怎么用，怎样烧，一直没有去细究。

The package leaked from ZTE(Zhongxing Telecom Equipment Corporation) includes a folder with some "烧片文件"(files which can be flashed into the phone chip). I didn't have time to learn how/what are these files used for - until.....

今天冒着砖机的危险，终于还是把线刷包内的烧片文件给刷了。。。。

Today, I took the risk and flashed the files into my ZTE phone...

------------------------------------------

I'll try contacting him to find out his "official answer".

---------- Post added at 05:03 PM ---------- Previous post was at 04:59 PM ----------

Good news, cxb01 just replied me with his IM code. He would like to talk to me on IM this weekend. :D:D
[HTC Sensation] RussianBear:
hmm, i was under impression that we could extract them from the backup up. found out more info, please :)

thanks, man!
[HTC Sensation] cemeli:
00000000 05 00 00 00 03 00 00 00 00 00 00 00 00 00 10 40 |...............@|

00000010 d8 fc 0f 00 d8 fb 0f 00 d8 fb 1f 40 00 01 00 00 |...........@....|

00000020 d8 fc 1f 40 00 00 00 00 12 00 00 ea 31 2e 32 37 |...@........1.27|

00000030 2e 31 31 30 30 00 00 00 38 32 36 30 20 53 50 4c |.1100...8260 SPL|

00000040 00 00 00 00 00 f0 20 e3 53 48 49 50 00 00 00 00 |...... .SHIP....|

00000050 00 f0 20 e3 00 f0 20 e3 48 42 4f 4f 54 2d 38 32 |.. ... .HBOOT-82|

00000060 36 30 00 00 00 f0 20 e3 36 31 37 66 30 61 39 38 |60.... .617f0a98|

00000070 00 00 00 00 00 f0 20 e3 10 0f 11 ee 0b 0a c0 e3 |...... .........|

00000080 05 00 c0 e3 02 00 80 e3 10 0f 01 ee d3 f0 21 e3 |..............!.|

00000090 c8 02 9f e5 10 0f 01 ee 6f f0 7f f5 00 00 8f e2 |........o.......|

000000a0 b0 00 00 eb 00 00 10 00 00 00 10 00 9f 02 00 00 |................|

000000b0 04 00 00 00 00 00 00 38 00 00 00 38 80 00 00 00 |.......8...8....|

000000c0 01 00 00 00 00 00 00 40 00 00 00 40 01 00 00 00 |.......@...@....|

000000d0 09 00 00 00 00 00 10 40 00 00 10 40 ff 00 00 00 |.......@...@....|

000000e0 01 00 00 00 00 00 00 50 00 00 00 50 00 01 00 00 |.......P...P....|

000000f0 11 00 00 00 00 00 00 60 00 00 00 60 00 01 00 00 |.......`...`....|

00000100 11 00 00 00 00 00 00 70 00 00 00 70 00 01 00 00 |.......p...p....|

00000110 01 00 00 00 00 00 00 80 00 00 00 40 01 00 00 00 |...........@....|

00000120 0a 00 00 00 00 00 10 80 00 00 10 40 ff 00 00 00 |...........@....|

00000130 02 00 00 00 00 00 00 90 00 00 00 50 00 01 00 00 |...........P....|

00000140 12 00 00 00 00 00 00 a0 00 00 00 60 00 01 00 00 |...........`....|

00000150 12 00 00 00 00 00 00 b0 00 00 00 70 00 01 00 00 |...........p....|

00000160 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

:

can somebody helpme please wich hboot do i need?

and were must i put de new hboot in ubuntu?
[HTC Sensation] RussianBear:
where did you get the above hboot? it's ver 1.27.

you can extract the correct hboot from a ruu that belongs to your particular carrier/device.

read this guide, please:

http://xdaforums.com/showpost.php?p=23566551&postcount=249
[HTC Sensation] cemeli:
thanks for the answer

i readed that guide

i am at step 2

2) Check that this really is correct partition

Code:

hexdump -C backupfile.img |less

i was using thit rom and hboot

Firmware from 3.32.401.x & 3.32.401.10x RUU

must i rename this in hboot.nb0

hboot_8x60_1.27.1100_20120113_signedbyaa.nb0

http://xdaforums.com/showthread.php?t=1412618
[HTC Sensation] RussianBear:
what rom were you running prior to your bricking the phone?

type out the whole hboot (hboot_8x60_1.27.1100_20120113_signedbyaa.nb0) name in the command line.
[HTC Sensation] cemeli:
i war running arhd ics

i was putting the hboot on the home screen

and i put /emmc_recover --flash hboot.img --device /dev/sdd12

pattern not found
[HTC Sensation] dexter93:
Cemeli: always restore on a gb ruu. Just pick the one matching your cid
[HTC Sensation] RussianBear:
is there a ruu that you can run for it? i'm not familiar with ics roms.
[HTC Sensation] cemeli:
i did that i followed the steps but stuck at step 3

http://imageshack.us/photo/my-images/718/schermafdrukxt.png/

it says Cannot read image file hboot.img
[HTC Sensation] xenios:
Desire S

Hi guys and kudos for your excellent work. My Sensation is fine for the time being, but I also have a Desire S that is bricked. It goes into Qualcomm upload mode without wring anything. I took it to a service guy to recover it with JTAG but unfortunately as most of the Desire S's it has a blown fuse in the soc so you can't reflash with JTAG

Can I use this tool with this phone? I understand that the HBOOT can be located in different memory locations for different devices.

Also the phone was given dead to me so I don't know what stock firmware it's on or CID.
[HTC Sensation] RussianBear:
try putting all of that in the same folder, not just on the workstation.

how was it bricked? it could be possible if you can make it enter the mmc storage mode.
[HTC Sensation] dexter93:
To male something clear: the hboots are all in this format: hboot. blah blah numbers.nb0 not .img

Watch out what you are flashing
[HTC Sensation] MemAllocatoR:
great job!

dexter93 and all other that are responsible to this unbrickable method for sensation, i really appreciate the amazing work you have done make the sensation unbrickable and not giving up! well done guys! i didnt experience brick yet but im sure i will in the near future and now im feeling more safe thanks to you!;)
[HTC Sensation] Um3r:
Guide temporarily offline

The guide is going to be taken down for a while as we have the Hboot thing sorted out.

Shockingly a lot of people are flashing "img" files instead of the Hboot "nb0" files hence permanently killing their phones.. :eek:

If you don't know what you are doing please don't flash your phone without help from the devs.
[HTC Sensation] xenios:
I don't know how it was bricked, since they gave it to me like that. It enters qualcomm upload mode, isn't that the eMMC mode?
[HTC Sensation] dexter93:
get on irc. from now on everything goes on irc. only important stuff here, no conversations ;)
[HTC Sensation] duy_ctytvxdkg:
GOOD NEWS:

If you flash wrong hboot file. just use a wire and make it into download mode. Then press the volume down button, Linux can detect partition again. Now I need hboot for HTC sensation T mobile. Appreciate anyone can help!
[HTC Sensation] irrelephant:
Did not one see Adam outlet post in here... He is the king and will more than likely help yall out a bit if ya need it...
[HTC Sensation] Um3r:
Thats good news for you! I told you it was't completely dead. Please remember now that the hboot file will have a .nb0 (zero) extension. It can't be any thing else :)

You should have it back up in no time.
[HTC Sensation] Fuses:
Sorry for late answer, I have been little busy lately :D

MBR is easy, just take those bytes at beginning of emmc. DBL, is device bootloader. OSBL is Operating System Boot Loader. HTC phones will definetely have those.
[HTC Sensation] RussianBear:
hold on, so the wire-trick + volume down gives you access to partitions? how did you do it exactly? anyone else can verify this? you can get the needed hboot version from a correct ruu for your phone.

fuses, i'm on Windows. I've tried many programs to try and unzip those img files, but nothing worked (unyaffs and a cygwin scripts). winimage can only open a few of those imgs, and that's it.

MOVZX, anything on your end?
[HTC Sensation] seadersn:
hmm... wondering if it's possible to repartition our pyramids with these tools / methods... system partition with max. 250mb only (rest to data partition) would be nice for aosp / aokp / cm / ... builds :D but this is another story and not really related to this; sry for ot ;)
[HTC Sensation] 76redrum:
Hi all, i bricked my device a couple of times, be it because files where missing or what not, i couldnt do anything so, i took an old samsung i had laying around put my sdcard in it plugged it in went in the sdcard deleted the old files and put in the new ones and tried booting into bootloader and it worked like a charm....dont know if that would work for all but maybe worth a try for those in need ;)
[HTC Sensation] RussianBear:
was the brick showing up as qhsusb_dload on your pc?
[HTC Sensation] duy_ctytvxdkg:
@ RB

First, I try to open the dead-phone (which is flash with wrong hboot) the phone vibrate 1 time, when plug in the computer the phone so red light. it didn't turn off when I unplug the phone. Then I use the wire-trick. At that time on the windows system my phone is detect as QDLoad 9008 the same as before flash wrong hboot.

About unzip image files. I just finish extract hboot today. I do exactly tutorial here:

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

@ All

But now, after I flash the phone with new hboot, I stuck into new issue.

The phone still cannot boot.

I try to put it into download mode (both 2 phone, 1 dead, 1 good)

both can connect and detect as QDLoad 9008 on windows, but when I plug it to Linux it cannot detect partition for both phone.

Already do this:

#HTC Sensation
SUBSYSTEM=="usb", SYSFS{idVendor}=="[0bb4]", MODE="0666"
SUBSYSTEM=="usb",ATTR{idVendor}=="[0bb4]",ATTR{idProduct}=="[0c86]",SYMLINK+="android_adb"
SUBSYSTEM=="usb",ATTR{idVendor}=="[0bb4]",ATTR{idProduct}=="[0c86]",SYMLINK+="android_fastboot"

I will give some picture later!

Maybe I miss something, if any one can make Linux connect to the download mode and show partition please guide me.

Very appreciate!!!
[HTC Sensation] RussianBear:
great read on eMMC:

http://tjworld.net/wiki/Android/HTC/Vision/EmmcPartitioning
[HTC Sensation] dexter93:
dumping whole emmc atm. then i'm gonna analyse that... and see if we can get the dbl and osbl. i have the mbr :D ( thanks to fuses)

edit: i used dd to dump the whole mmcblk0 to sd and transferred to pc. cant seem to mount it. any ideas?
[HTC Sensation] MOVZX:
Next project would be awesome :D
[HTC Sensation] seadersn:
did this with a multipartition vm image; it's a real sh*t... you need the offsets of the partitions and (if i remember right) you can only mount one partition out of this image at a time. you can try googling for "mount multipartition image in linux" or sth like that; i don't have these commands anymore :(
[HTC Sensation] shahkam:
Sorry for off topic but does this mean whatever i do / flash ican recover my device ?? Sorry again for off topic..
[HTC Sensation] dexter93:
no, so far it means you have to be very careful when flashing your device, as only s on bricks can be restored atm
[HTC Sensation] akos.szekacs:
10 characters

---------------------------------------

hehe, should have been refreshed it to check if someone already answered it or not before posting the answer, sry
[HTC Sensation] duy_ctytvxdkg:
flash with wrong hboot:

Normal detect on windows 7 64x:

Change to download mode detect on ubuntu:

Already try with:

Odin (stuck at setup connection)

QPST (can detect the phone, detect 15 partition) cannot do anything, still show phone in download mode.

Heimdall: (Failed to detect compatible device) already install zadig driver

Fast boot - adb cannot detect the device

Still try to fix, will do anything to try!
[HTC Sensation] Hawke84:
Thats interesting, when I bricked mine didn't show up like that in Windows. What hboot u flash?

Get on irc ;)
[HTC Sensation] duy_ctytvxdkg:
My phone is HTC sensation T Mobile, but I flash with EU standard hboot
[HTC Sensation] tasselhoff.b:
I talked with him last weekend.:D:D those files he provided was from a ZTE leaked package.
[HTC Sensation] dexter93:
Get prepared.. proper guide is coming up. Now it works for both gingerbread and ice cream sandwich. Also let people know that if they are stuck on 1.27 hboot S ON , that now they CAN downgrade and use the revolutionary tool to S OFF
[HTC Sensation] dmcb123:
U guys are f***in awesome :D
[HTC Sensation] RussianBear:
duy, can you please describe what exactly did you do?

were you bricked and flashed the wrong hboot while recovering? if so, does the phone turn on at all? according to those screens you posted, it detects just like a "good" phone would.

need more info.
[HTC Sensation] duy_ctytvxdkg:
Yes, RB.

First I try to flash it with boot.img (3MB) but it's not successful.

Then I try to flash it with this: EU-sensation 1.45.401.3 which I pick up from here:

http://xdaforums.com/attachment.php?attachmentid=943459&d=1331556423

I thinks that if I use the wrong hboot, I can flash it again :(:(

Before that, my phone can not do anything, power, charge.... like a brick.

But after flash wrong hboot file, it show a red light when plug in charge and vibrate 1 time when press power button.

It's also the same which good phone: can use a wire to change to download mode but cannot detect partition in Linux.
[HTC Sensation] Um3r:
Try using adb..It should get detected there
[HTC Sensation] duy_ctytvxdkg:
Already Deceptivechaos, I guest that it stuck at boot, so adb cannot detect.

Already try this. Plug in the brick-phone, wait for 5' then plug in the good phone.

Adb can detect the good phone not the bad :(
[HTC Sensation] RussianBear:
does it turn on at all? have you tried holding volume down and power?
[HTC Sensation] duy_ctytvxdkg:
Last time, when I use an Artemix HTC, It also dead when I up rom (not hack the phone before), but It can come to boot loader. So I try 1 by 1 Rom until I find out that the ship rom is from Germany. So this time, I also thing the same, if I use the wrong hboot, I can try the other one. What a stupid idea!!!

@RB: It just vibrate 1 time, nothing happen, but I know that it still boot because the computer can detect Android phone 1.0. But nothing happen on screen even red light or green light. Already try with volume down also!
[HTC Sensation] RussianBear:
that's strange. deceptivechaos just had a good idea: try swapping the batteries (from the good phone) and see what happens.
[HTC Sensation] Um3r:
Also see if the good phone boots properly with the bad phones battery...
[HTC Sensation] duy_ctytvxdkg:
Nothing happen,

On windows -> Android 1.0

On Linux -> [14275.731390] usb 1-1: new high speed USB device number 9 using ehci_hcd

(the phone is vibrate 1 time)

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 001 Device 009: ID 0bb4:0ff0 High Tech Computer Corp.

Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse

Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub

The good phone boot as normal!

Try with this:

sudo modprobe usbserial vendor=0bb4 product=0ff0

which I found out here:

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

(not lucky)
[HTC Sensation] duy_ctytvxdkg:
Have success flash the correct Rom, now send it to store to check or replace the screen. Thanks much to xda and all friends here!

---------------------------------------

The store tell me that, the interface between screen and the main is broken, so have to replace the new main.

Can we break that interface when we flash a rom. So doubt about it!
[HTC Sensation] cemeli:
best people

these people (especially dexter93) have helped me:)

these people (such people are not so much left in the world that in their free time and very helpful)

I myself had a bricked phone(noob) but thanks to me that I have read it wrong have put a wrong hboot on it :mad:

So with pain and effort and time of dexter93 everything will come good

So people read read read and then step by step questions

I thank the entire team for their time that they give to noobs like me

translated from dutch to english
[HTC Sensation] RussianBear:
duy, it's a complete coincidence that this happened :(

no problem, cemeli :) change that pole vote, please lol
[HTC Sensation] cemeli:
how can i change it ?

i treid but no luck You have already voted on this poll but I want my vote change:confused:
[HTC Sensation] wess0:
hi all my phone is bricked its not working i made it run on qbst cofigration but it say that it's in download mode not diagnosis one then it run also on odin3 application so what can i do now can any one help me please ????
[HTC Sensation] dexter93:
First of all let's make something clear :You don't need to mess with qpst or Odin. You just need a linux installation on your pc(either wubi, or normal. Live distros will NOT work). Next either you follow us on irc for direct support, or you wait here for the detailed how to guide-tutorial which is quite noob friendly. The guide will be probably be here by tomorrow
[HTC Sensation] panki_86:
THX guys i was unbricked my EVO 3D GSM (bricked with

fastboot oem writesecureflag 3 command) on Ubuntu with Fuses app.

HBOOT partition on EVO 3D GSM is sdb12 too! Thanks again! :)

Sorry for my bad english.
[HTC Sensation] xHausx:
This thread has a ton of good info in it, but unfortunately if the 7x30 in those file names refers to what I think it does then it's for the wrong chipset. The MSM7x30 was the CPU in the Desire Z/HD, G2, Evo Shift, etc. Plus the windows phone bootloader is different from androids\HTCs.

I didn't realize download mode was as limited as what IEF says it is, in that case then simply reflashing the radio won't really help us. When these phones brick I believe it's the radio which is actually doing it.

At least not unless we can flash one modded to ignore the security flag.
[HTC Sensation] RussianBear:
that's exactly what i'm trying to say. if this thread bothers some high-on-the-horse people (look at some tags), then, by all means, move this somewhere else. i'm not here for any sort of recognition... just trying to help, that's all.
[HTC Sensation] dexter93:
I believe that's why we are all here...

And if anyone is bothered with that, he could pm one of us, or post here explaining his problem.
[HTC Sensation] RussianBear:
i doubt it's that limited. why would revskills people even bother then?

here's the boot process for htc g2:

http://tjworld.net/wiki/Android/HTC/Vision/BootProcess

i think we need to focus on those xml files. they'll tell qpst what to flash and where (from what i understand). you can't even pick out those .hex or .mbn files that qpst shows in the emmc download tool (they might be just for the reference?).
[HTC Sensation] dexter93:
Hey xhausx! Glad to see you around. From what it seems, we could work on a way to unbrick s OFF phones... Or finding another way to bypass it? Idk really.. but I trust ief...
[HTC Sensation] RussianBear:
is there a chance to communicate with a brick like this?

http://tjworld.net/wiki/Android/HTC/Vision/HbootAnalysis#rtaskC-TalkingtotheRadio

http://tjworld.net/wiki/Android/HTC/Vision/RadioAnalysis#TalkingtotheRadio
[HTC Sensation] dexter93:
trevE mentions something about rTask c on his op. Wanna take a look? I'm on mobile...
[HTC Sensation] RussianBear:
that's his post:

http://xdaforums.com/showpost.php?p=16125497&postcount=271

it was before evo had s-off.
[HTC Sensation] RussianBear:
just got a response from cxb01:
[HTC Sensation] skygear:
anyone look on an actual hardware/software cellphone repair/unlocking forum?

http://forum.gsmhosting.com/vbb/f272/jtag-sloutions-thread-have-look-inside-1390332/

Furious Team is awesome.

http://forum.gsmhosting.com/vbb/member.php?u=15022

.:hack3r2k:. <- Daniel