PDA

View Full Version : Dump error - device is not ready to use


Dr. Strangelove
13th June 2008, 12:46 AM
Hi all,

I tried dumping my ROM the same way I did when dumping my Kaiser ROM, but I can't get it to work. This is what I do/get:


C:\Diamond\itsutilsbin-20080313
>pdocread.exe -l
210.75M (0xd2c0000) DSK1:
| 3.12M (0x31f000) Part00
| 4.38M (0x460000) Part01
| 117.13M (0x7520000) Part02
| 86.13M (0x5620000) Part03
3.75G (0xf0000000) DSK7:
| 3.75G (0xf0000000) PART00
STRG handles:
handle 2689b706 3.75G (0xf0000000)
handle 67cabf16 86.13M (0x5620000)
handle a7db27be117.13M (0x7520000)
handle a7db279a 4.38M (0x460000)
handle 47db2752 3.12M (0x31f000)
disk 2689b706
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk 67cabf16
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk a7db27be
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk a7db279a
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk 47db2752
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

C:\Diamond\itsutilsbin-20080313
>pdocread -w -d DSK1 -b 0x800 -p Part00 0 0x31f000 Part00.raw
CopyTFFSToFile(0x0, 0x31f000, Part00.raw)
ERROR: ITReadDisk: outbuf==NULL
- device is not ready for use.


When I hook up my Kaiser, all goes perfect. Any idea on how to solve this?

I use Windows XP

The device is a Dutch one. If I manage to dump the RAW files, I will upload them here so someone can reconstruct them. Then we would have a stoch Dutch ROM. At the moment I lack the time and knowledge to do the reconstructing.


Thanks in advance!

tom_codon
13th June 2008, 12:49 AM
HKLM\Security\Policies\Policies
valuename '00001001' was set to dword:2, change it to dword:1

Try it my friend :)

Dr. Strangelove
13th June 2008, 12:59 AM
Thanks, but that reg setting came preloaded, so there was no need to change it. I did check that setting before trying to dump.

Other ideas?

NetrunnerAT
13th June 2008, 01:19 AM
you need to unlock your spl! is your spl locked ... you cant use the command to read out the rom. on htc trinity you have a discription to send a password to the spl to enable some commands.

the easiest way is ... to check all command you can use! if you get a error your spl is locked!

if its locked ... you need hardspl!! possible the first hardspl version isnt full patched and the importend commands are block ... but fix are avaliable!

i havent a htc diamond, to give you a 100% correct answer!

PS i am a big fan of Dr. Strange Love!

walshieau
13th June 2008, 01:34 AM
you need to unlock your spl! is your spl locked ... you cant use the command to read out the rom. on htc trinity you have a discription to send a password to the spl to enable some commands.

the easiest way is ... to check all command you can use! if you get a error your spl is locked!

if its locked ... you need hardspl!! possible the first hardspl version isnt full patched and the importend commands are block ... but fix are avaliable!

i havent a htc diamond, to give you a 100% correct answer!

PS i am a big fan of Dr. Strange Love!

the SPL doesnt have to be unlocked to read from the NAND.

walshieau
13th June 2008, 01:35 AM
Thanks, but that reg setting came preloaded, so there was no need to change it. I did check that setting before trying to dump.

Other ideas?

do a search around for EnableRAPI.cab that will help you with procread ;)

Dr. Strangelove
13th June 2008, 01:58 AM
Thanks already for the input.

I installed EnableRAPI.cab, but no effect.

I tried installing HardSPL, but my device has these details:

R: 0.93.25.NS26
G: 52.26.25.09H
D: 1.35.00.00

So no HardSPL for me yet + Radio from HELL (damn:mad:)

Still, I recently dumped a Pharos, which was certainly not equipped with HardSPL. So I guess walshieau has a point.

I will try bootloader commands now, see what that gives...

walshieau
13th June 2008, 02:02 AM
Thanks already for the input.

I installed EnableRAPI.cab, but no effect.

I tried installing HardSPL, but my device has these details:

R: 0.93.25.NS26
G: 52.26.25.09H
D: 1.35.00.00

So no HardSPL for me yet + Radio from HELL (damn:mad:)

Still, I recently dumped a Pharos, which was certainly not equipped with HardSPL. So I guess walshieau has a point.

I will try bootloader commands now, see what that gives...

connect to mtty and type this


password BsaD5SeoA

Dr. Strangelove
13th June 2008, 02:13 AM
connect to mtty and type this...

OK, command entered. Something else first or do I try to dump again now?

NOTE: this is my first time using mtty and the device is not mine (my father's, I own a Kaiser). So please make sure you provide me enough info so I don't f*ck up. ;)

walshieau
13th June 2008, 02:17 AM
OK, command entered. Something else first or do I try to dump again now?

try a simple task 32

Dr. Strangelove
13th June 2008, 02:20 AM
This is what I got:

No card inserted
SD read fail!
Level = FF

walshieau
13th June 2008, 02:22 AM
This is what I got:

No card inserted
SD read fail!
Level = FF


means the password command didnt work

Dr. Strangelove
13th June 2008, 02:52 AM
It seems my incompetence got the upper hand...:o

First time I opened MTTY I directly entered the password command (see first pic). Result: error

Second time I first hit enter. Then the CMD> appeared and only then I entered the password and task 32 command. No errors no more, but also no output. Normal?

Anyways, dumping is still no go...

walshieau
13th June 2008, 02:55 AM
It seems my incompetence got the upper hand...:o

First time I opened MTTY I directly entered the password command (see first pic). Result: error

Second time I first hit enter. Then the CMD> appeared and only then I entered the password and task 32 command. No errors no more, but also no output. Normal?

Anyways, dumping is still no go...

well it looks like the second one accepted the password, now type set 16 0

this just resets the reboot flag in the NAND if there was a bad flash of an NBH file.

Dr. Strangelove
13th June 2008, 03:17 AM
Well, I don't know what the problem is this time, but I can't get the phone/mtty to accept the password. Since I closes the second session, I had to reconnect, so far with no results.

I'm afraid that if I don't dump it tomorrow morning, I will have to wait 2 weeks before I can try again.

Anyway, thanks again for the suppport

scorpio16v
13th June 2008, 09:08 AM
Hi,
some thoughts of me. I don't know if it would help.

- try another older/newer version of itsutils.
You can find it here: itsutils (http://www.xs4all.nl/~itsme/projects/xda/tools.html)

-can you try the -h switch ?
read this (http://wiki.xda-developers.com/index.php?pagename=XdaUtils/pdocread.exe)

- maybe my way to dump the Comet ROM can explain how to use it.
link (http://forum.xda-developers.com/showthread.php?t=336365)

post #3 and 6

Dr. Strangelove
13th June 2008, 01:24 PM
Hi,
some thoughts of me. I don't know if it would help.

- try another older/newer version of itsutils.
You can find it here: itsutils (http://www.xs4all.nl/~itsme/projects/xda/tools.html)

-can you try the -h switch ?
read this (http://wiki.xda-developers.com/index.php?pagename=XdaUtils/pdocread.exe)

- maybe my way to dump the Comet ROM can explain how to use it.
link (http://forum.xda-developers.com/showthread.php?t=336365)

post #3 and 6

Thanks, but nothing worked.

I updated itsutils, but it didn't help.

I read through the thread, wiki, Mio forum, tried all the commands with my own parameters => no go.

Other than the usual error message, I sometimes get this error: "A device attached to the system is not functioning."

Again, dumping my Kaiser is no problem.

Too bad I couldn't dump it. I will try again dumping the RAW files in 2 weeks, since my father is going abroad for two weeks.

Thanks all for your time and effort. See you in two weeks.

NoThrills
13th June 2008, 01:35 PM
Guys!

Don't make things harder than they are. I have succesfully dumped a Diamond device earlier. Watch closely:

210.75M (0xd2c0000) DSK1:
| 3.12M (0x31f000) Part00
| 4.38M (0x460000) Part01
| 117.13M (0x7520000) Part02
| 86.13M (0x5620000) Part03
3.75G (0xf0000000) DSK7:
| 3.75G (0xf0000000) PART00

The disk name is not DSK1, but DSK1:! So, the correct command would be:

pdocread -w -d DSK1: -b 0x800 -p Part00 0 0x31f000 Part00.raw

Now start dumping :D

Dr. Strangelove
13th June 2008, 04:47 PM
OMG...

You've got to be kidding me... I know I'm capable of a lot of stupidity, but this time I took it a whole new level...:o If NoThrills is right (he probably is), then I'm sorry for wasting everybody's time.

Whatever. Tonight I will try to dump the ROM again. hopefully it will be successful, and I will see together with NoThrills on how to reconstruct the ROM. He has kindly offered his assistance, for which I would like to thank him publicly.

See you tonight.

rvbcrs
13th June 2008, 08:03 PM
OMG...

You've got to be kidding me... I know I'm capable of a lot of stupidity, but this time I took it a whole new level...:o If NoThrills is right (he probably is), I'm sorry for wasting everybody's time.

Whatever. Tonight I will try to dump the ROM again. hopefully it will be successful, and I will see together with NoThrills on how to reconstruct the ROM. He has kindly offered his assistance, for which I would like to thank him publicly.

See you tonight.

It fooled me too :) There is one thing more, I could dump the Part00 with the command line as provide a few posts up, but not the OS part. I had to use the -h (handle parameter) instead of -p Part00 hope that helps..

Dr. Strangelove
21st June 2008, 12:19 PM
For those still interested, here are the files:

http://rapidshare.com/files/122224452/HTC_Diamond_Dutch_Stock_RAW_dump.rar

NoThrills has reconstructed a dutch ROM, which will probably be made available later.

Yzord
21st June 2008, 12:29 PM
Very nice job..a little n00b question, can i edit this file so i can make a rom for myself?

Dr. Strangelove
21st June 2008, 12:42 PM
Of course. If you know how to reconstruct the files, you can do whatever you want with them. That was the original idea; to post these files here so someone with experience could reconstruct them (or use it for personal use).

Good luck!

Toug
26th October 2008, 11:04 AM
I have a question, I want to test some cooked ROMs but I would not loose my configuration. If a do a dump of my Diamond, will I loose all my installed programs and settings, or are they backuped too?

My diamond have the official 1.93.xx.XX HTC rom with XXX.05 radio rom. Somebody can give me a "How-To"?
Thanks a lot.