View Full Version : A problem with pdocread
jester_b84
22nd August 2006, 06:48 PM
I am having a problem with pdocread.exe. Basically, I am trying to dump the ROM from my iPAQ hx2790 and I found the wiki on how to (http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom) do it with the HTC Hermes. I started following the wiki which used pdocread.
Initially, it seemed to detect everything just fine using "pdocread -l":
E:\Downloaded\itsutils\build>pdocread -l
45.85M MSFlash
| 1.24M Part00
| 3.50M Part01
| 41.10M Part02
135.49M TFFS
| 135.48M Part00
973.50M DSK1:
| 973.47M Part00
STRG handles: 83fabc92
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
(973.47M) c3eff86e
1 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 8d 30 02 02 2a 21 04 ba 0e 05 05 35
(135.48M) 23f9690a
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
( 41.10M) a3f968e6
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
( 3.50M) 83f96726
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
( 1.24M)
However, when I went to verify partition sizes using "pdocread -w -d....":
E:\Downloaded\itsutils\build>pdocread -w -d MSFlash -p Part00 -t
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
real nr of sectors: 1 - 512.00byte (0x200)
E:\Downloaded\itsutils\build>pdocread -w -d MSFlash -p Part01 -t
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
real nr of sectors: 1 - 512.00byte (0x200)
E:\Downloaded\itsutils\build>pdocread -w -d MSFlash -p Part02 -t
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
real nr of sectors: 1 - 512.00byte (0x200)
The offsets for all 3 partitions are detected as 0x200. Furthermore, they are all detected as 512 bytes.
If someone can tell me what I'm doing wrong, I'd greatly appreciate your help! :o
My goal is to extract MSFlash:Part02.
jester_b84
25th August 2006, 03:57 AM
Hmm...nobody has any idea about this problem?
hannip
15th October 2006, 03:51 PM
hmm, I just ran into this problem also. Maybe pdocread only works on FLASHDR devices?
hannip
16th October 2006, 12:01 AM
It's not exactly clear to me, but from what I've observed it appears that if your rom is on a MSFlash device you need to use a tool that understands the MSFlash compression. You can use grab_it to create a bin of your rom followed by dumprom.exe to extract the rom sections.
If your rom is on a FLASHDR device you can use pdocread to extract each partition to a file. Then use the rdmsflsh.pl script to extract the files from the imgfs partition.
You can use pdocread -l to list your partitions and see with device your rom is on.
Do I have this right?
jester_b84
16th October 2006, 06:05 AM
Thanks for your insight. I actually got the files in question from another ROM dump (the Treo 700 one) but I'm still interested in extracting the ROM from my device just as a challenge. I'll give it some further experimentation (after my CF card finishes formatting). In fact, I found that WM5torage has an option to export the Flash portion as a USB drive. I'll give it a try later...
Oki
23rd October 2006, 11:35 PM
You are using an outdated version of pdocread. please use the lates itsutils dated 2006.08.21.
Dump here pdocread -l return and the content of itsutils.log file in the root folder of your Pocket PC.
Regards,
Oki
pof
23rd October 2006, 11:57 PM
probably a little late response, but you can try removing the '-w' flag which makes pdocread use the disk API to access the device (this must be used in the Hermes becuase it doesn't have an m-systems disc-on-chip), but on other devices without the '-w' you can dump directly from the TFFS partition.
jester_b84
30th October 2006, 10:19 PM
Thanks for the help guys, I've updated to the latest version of itsutils, unfortunately I am having the same problems. If anyone is interested, I have posted the dump of what's going on:
First, I issue a pdocread -l command:
C:\Documents and Settings\User\Desktop\itsutilsbin>pdocread -l
45.85M (0x2dd9000) MSFlash
| 1.24M (0x13e000) Part00
| 3.50M (0x380000) Part01
| 41.10M (0x2919000) Part02
75.16M (0x4b27c00) TFFS
| 75.15M (0x4b26800) Part00
973.50M (0x3cd80000) DSK1:
| 973.47M (0x3cd79200) Part00
1.90G (0x79a1c000) DSK2:
| 256.00M (0x10000000) Part00
| 1.65G (0x69900000) Part01
STRG handles:
handle 6742cfb6 1.65G (0x69900000)
handle 076ec30e256.00M (0x10000000)
handle 67fc7c6e973.47M (0x3cd79200)
handle 67f1a88e 75.15M (0x4b26800)
handle 47fb292e 41.10M (0x2919000)
handle a7fb290a 3.50M (0x380000)
handle 47fb274a 1.24M (0x13e000)
disk 6742cfb6
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 076ec30e
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 67fc7c6e
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 67f1a88e
1 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 9c 1a 01 09 0e 26 06 9c 10 03 04 a6
disk 47fb292e
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 a7fb290a
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 47fb274a
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Then, I issue a pdocread -w command:
C:\Documents and Settings\User\Desktop\itsutilsbin>pdocread -w -d MSFlash -p Part00 -t
real nr of sectors: 1 - 512.00byte (0x200)
C:\Documents and Settings\User\Desktop\itsutilsbin>pdocread -w -d MSFlash -p Part01 -t
real nr of sectors: 1 - 512.00byte (0x200)
C:\Documents and Settings\User\Desktop\itsutilsbin>pdocread -w -d MSFlash -p Part02 -t
real nr of sectors: 1 - 512.00byte (0x200)
and then, a pdocread without "-w"
C:\Documents and Settings\User\Desktop\itsutilsbin>pdocread -d MSFlash -p Part00 -t
real nr of sectors: 1 - 512.00byte (0x200)
C:\Documents and Settings\User\Desktop\itsutilsbin>pdocread -d MSFlash -p Part01 -t
real nr of sectors: 1 - 512.00byte (0x200)
C:\Documents and Settings\User\Desktop\itsutilsbin>pdocread -d MSFlash -p Part02 -t
real nr of sectors: 1 - 512.00byte (0x200)
It seems it still is not detecting the partitions...
I have also attached the itsutils.log file if anyone is interested.
By the way, there are some differences in the size of TFFS as I sent my device in for repair and they changed the motherboard (more RAM, less ROM for some reason).
--------
EDIT: If it makes any difference, it seems pdocread can detect TFFS correctly
E:\work\itsutilsbin>pdocread -d TFFS -p Part00 -t
real nr of sectors: 153946 - 75.17Mbyte (0x4b2b400)
E:\work\itsutilsbin>pdocread -w -d TFFS -p Part00 -t
real nr of sectors: 153908 - 75.15Mbyte (0x4b26800)
but fail to detect MSFlash and the storage cards (DSK1 and DSK2) correctly
E:\work\itsutilsbin>pdocread -w -d DSK1 -p Part00 -t
ERROR: ITLogDiskInfo - The device is not ready for use.
ERROR: ITTFFSGetInfo - The device is not ready for use.
WARNING: using default 512 bytes for sectorsize
real nr of sectors: 1 - 512.00byte (0x200)
E:\work\itsutilsbin>pdocread -d DSK1 -p Part00 -t
ERROR: ITLogDiskInfo - The device is not ready for use.
ERROR: ITTFFSGetInfo - The device is not ready for use.
WARNING: using default 512 bytes for sectorsize
real nr of sectors: 1 - 512.00byte (0x200)
Hmm...so only TFFS is detected correctly, all others fail.
MAPGPS
13th October 2007, 05:29 PM
From your itsutils.log:
STOREINFO dev='MSFlash' store='MSFLASH for STRATAFLASH' nsect=2dd9 bpsect=1000 free=0 maxpartsize=0
It means the block size is 0x1000 (4096 bytes).
So you need to add a parameter "-b 0x1000", that is:
pdocread -w -d MSFlash -p Part02 -b 0x1000 -t
L3D'83
26th May 2008, 12:23 PM
I' have the same error!.. i'll try pdocread and i'll post log
here there is my 3d http://forum.xda-developers.com/showthread.php?t=393371&page=2
L3D'83
26th May 2008, 01:57 PM
i change the version of itsutils now is 2006 08 21 and the log is that
chuckbert
26th May 2008, 02:17 PM
ok, i almost expected something like this...
STOREINFO dev='MSFLASH' store='External Storage' nsect=fc00 bpsect=800 free=0 maxpartsize=0
this is the same like on my daxian!
try this:
pdocread -w -d MSFLASH -p Part02 -b 0x800 -t
i bet itīll work for you!
regards
chuckbert
L3D'83
26th May 2008, 03:05 PM
yes i think that .. i tyed and it WORK!!! ..
ok Now i dump the :
Part00
Part01
Part02
Part03
i extract part02 and i see all wm6 files eith this procedure:
C:\ROM>prepare_imgfs.exe Part02.raw -nosplit
C:\ROM>C:\ROM>viewimgfs.exe imgfs_raw_data.bin
C:\ROM>buildimgfs.exe
:D
but ... i'd like to see the versionf of my chinese Elf , the radio version and the other information..
because i want to update the rom beacuse the signal of the line is very low (vodafone) some one can help me ? :
satru
30th June 2008, 08:28 PM
deleted all
yes i think that .. i tyed and it WORK!!! ..
ok Now i dump the :
Part00
Part01
Part02
Part03
i extract part02 and i see all wm6 files eith this procedure:
C:\ROM>prepare_imgfs.exe Part02.raw -nosplit
C:\ROM>C:\ROM>viewimgfs.exe imgfs_raw_data.bin
C:\ROM>buildimgfs.exe
:D
but ... i'd like to see the versionf of my chinese Elf , the radio version and the other information..
because i want to update the rom beacuse the signal of the line is very low (vodafone) some one can help me ? :
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.