PDA

View Full Version : rom dumping


oplitic
11th April 2007, 06:46 PM
I tried dumping the Dash rom, but can't get this way to work (in the thread about the carousel someone said this would work) http://discussion.treocentral.com/showthread.php?p=1203197

well, I can't get it to work cause I can't get cmd.exe to change from c:\users\username to c:\ I even tried moving the files to c:\users\username but still doesn't work. I'm using vista so I don't know if this has anything to do with it. I used to use cdm.exe no problem in XP. Instead of fiddling with this though, has anyone dumped it before? Cause then I can maybe jsut get the files I want?

indiekiduk
11th April 2007, 07:04 PM
type cd .. to go up a dir

indiekiduk
11th April 2007, 07:16 PM
By the way the dash rom is available to download. You only need to dump when its a new device which hasn't had a ROM update released.

Go here and go in the Dash Files folder:
http://rapidshare.com/users/7UE30C
Pick the ROM you want it has them all.

Then extract the exe and continue the viewimgfs steps in that thread using the 64mb file you extracted. I think you might need to use prepare_imgfs first actually, since the nbf is different from a raw dump, erm sorry can't remember exactly. But I have extracted XIP ROM files this way so I know it works.

oplitic
11th April 2007, 08:28 PM
type cd .. to go up a dir

all I get is this..

37007

oplitic
11th April 2007, 08:29 PM
By the way the dash rom is available to download. You only need to dump when its a new device which hasn't had a ROM update released.

Go here and go in the Dash Files folder:
http://rapidshare.com/users/7UE30C
Pick the ROM you want it has them all.

Then extract the exe and continue the viewimgfs steps in that thread using the 64mb file you extracted. I think you might need to use prepare_imgfs first actually, since the nbf is different from a raw dump, erm sorry can't remember exactly. But I have extracted XIP ROM files this way so I know it works.

thanks, i'll try this, didn't know you could extract from an exe. never tried to get anything out of exe's or roms.

indiekiduk
11th April 2007, 08:37 PM
all I get is this..

37007


cd .. i said. Where are your 2 dots ;)

oplitic
11th April 2007, 08:46 PM
cd .. i said. Where are your 2 dots ;)

oh, i thought that was a pause in your typing, lol.

dmathis
12th April 2007, 04:26 PM
oh, i thought that was a pause in your typing, lol.

To move to the rood directory (C:\>), type cd\ and hit enter. cd.. only moves up one directory.:)

r0p3
12th April 2007, 05:14 PM
I tried dumping the Dash rom, but can't get this way to work (in the thread about the carousel someone said this would work) http://discussion.treocentral.com/showthread.php?p=1203197


this link isn't working for me. It says "Sorry. The administrator has banned your IP address." But I have never been there on this page.

Could you please post how to dump.
And is there also a way to get this dumped ROM back on the phone when I want to set it back to the original ROM?

I have a german O2 XDA Cosmo and there is no original ROM to find but I want to have a way back - and of course I could upload (to a secret place of course :rolleyes: ) for all of you to try it out.

oplitic
12th April 2007, 07:59 PM
I don't know anything about the XDA so I dunno if it still works for it or not.. but this is what Hannip wrote in his post...


I'm afraid it might be too much for a newbie. First you have to make a registry change using your favorite registry editor such as Resco.

HKLM\Security\Policies\Policies
valuename '00001001' was set to dword:2, change it to dword:1

Then you have to download and install the itsutils package from
http://nah6.com/~itsme/download/itsutils.zip

1. Unzip the contents of itsutils.zip on c:\itsutils
2. Connect your Treo 750 to PC using USB cable, and make sure ActiveSync is running and connected.
3. Open a command prompt on your PC (Start->Run enter cmd.exe)
4. At the command prompt cd c:\itsutils\build
5. List the rom partitions using the following command.
C:\itsutils\build>pdocread.exe -l

You should see a result such as:

Part00 0x31fc00 3199KB
Part01 0x2e0000 2944KB
Part02 0x2a80000 43520KB
Part03 0x4360000

You will be extracting Part00, Part01 and Part02.
6. Extract the parts
C:\itsutils\build>pdocread -w -d FLASHDR -p Part00 0 0x31fc00 Part00.raw
C:\itsutils\build>pdocread -w -d FLASHDR -p Part01 0 0x2e0000 Part01.raw
C:\itsutils\build>pdocread -w -d FLASHDR -p Part02 0 0x2a8000 Part02.raw

Make sure the hex starting addresses in the above commands match what was listed from step 5 for each partition before executing the commands.

If successful you should have 3 files. Part00.raw, Part01.raw and Part02.raw. Now would be a good time to zip this up and upload to the xda ftp server if you wish to make this available for others to help you.

Ftp it to ftp.xda-developers.com using USERNAME: xdaupload / PASSWORD: xda. If you've never used ftp before let me know and I'll give step by step.

7. The key partition you will be interested in is Part02.raw. It is the imgfs that contains most of the rom files. To extract the files from it you will need to download some more tools.

Dowload imgfs_tools_182.rar from this url and extract to the folder where your Part02.raw file is in.
http://forum.xda-developers.com/showthread.php?t=249836

Run the following two commands.
prepare_imgfs.exe Part02.raw -nosplit
viewimgfs.exe imgfs_raw_data.bin

All of the files will be extracted to a dump folder.

r0p3
13th April 2007, 09:18 AM
@oplitic: thanx a lot for posting :)

meanwhile I figured out that I can access from my PC at home - maybe treocentral doesn't like my company - but I have nothing to do with smartphones or Microsoft/Palm SW development at work...

it looks like it's a similar way itsme does with his bkondisk (http://wiki.xda-developers.com/index.php?pagename=bkondisk) (see also HTC Exalibur technical wiki (http://wiki.xda-developers.com/index.php?pagename=HTC_Excalibur_technical))
I managed to backup my ROM with it, but I still cannot find anything how to get the ROM back to the phone... :(

So if anyone find out please, please let me know

P.S.: the XDA Cosmo is of same construction as the Excalibur/Dash - don't why O2 decided to name it XDA - it's NOT a PPC

pof
13th April 2007, 10:45 AM
@oplitic: this method won't work on excalibur, see the wiki page (http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom). Will only work on devices such as hermes and trinity...

@r0p3: Excalibur bootloader will not allow you to flash unsigned code, and pdocwrite will not work on SamsungOneNAND. At the moment you won't be able to flash a dumped rom on excalibur with the existing tools.

oplitic
13th April 2007, 07:04 PM
@oplitic: this method won't work on excalibur, see the wiki page (http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom). Will only work on devices such as hermes and trinity...



I figured out that it wouldn't work last night, and have been trying to extract files from the exe for the WM5 upgrade. But I get to the last step and can't get it to work. I have the raw file but it won't dump it into a folder...

this is what I've been using to try to dump it out of the raw file...
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoExtractImgfs

by the way I used this page to extract from the exe file...
http://forum.xda-developers.com/showthread.php?t=294694

indiekiduk
14th April 2007, 02:21 AM
Get this

http://forum.xda-developers.com/attachment.php?attachmentid=25951&d=1143675141

and type viewimgfs yourdump.raw

RobvT
16th April 2007, 10:50 PM
RUU_Excalibur_TMO_US_1.20.531.1_4.1.13.34_02.79.90 _Test.exe

Will this work and not damage my HTC S620?

jeffro01
17th April 2007, 07:51 AM
i to would like to know what it takes to take the .exe wm5 tmobile rom (before its installed on the device) and dump it so i can get some files off of it...???

Is that "doable"???

Jeff

oplitic
17th April 2007, 08:11 AM
i to would like to know what it takes to take the .exe wm5 tmobile rom (before its installed on the device) and dump it so i can get some files off of it...???

Is that "doable"???

Jeff

it's suppsed to be doable, but I get to getting the raw file and can't open that. tried for a couple days but then said forget it..

r0p3
24th May 2007, 03:22 AM
@oplitic: this method won't work on excalibur, see the wiki page (http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom). Will only work on devices such as hermes and trinity...

It works exactly as described in oplitics post - I did it recently.
Important thing is the "-nosplit" Option for prepare_imgfs and that you replace FLASHDR with DSK1: and the hex values correctly as given by pdocread -l

Although I had no luck with the files created by bkondisk


@r0p3: Excalibur bootloader will not allow you to flash unsigned code, and pdocwrite will not work on SamsungOneNAND. At the moment you won't be able to flash a dumped rom on excalibur with the existing tools.

I hope this SSPL trick (http://forum.xda-developers.com/showthread.php?p=1278237#post1278237) like for the Breeze would do it

pof
24th May 2007, 03:36 AM
I hope this SSPL trick (http://forum.xda-developers.com/showthread.php?p=1278237#post1278237) like for the Breeze would do it

SSPL has an hermes or trinity IPL embedded, that won't work on excalibur. The hermes SSPL works on breeze because breeze & hermes IPLs are quite the same, but compare them with an excalibur IPL and you'll see what i mean.

You can probably replace the resource on the exe with an excalibur IPL, or try to contact Des for help with SSPL.

r0p3
24th May 2007, 04:13 AM
thank you pof!

shame on me - this became a cross post :(

will continue here (http://forum.xda-developers.com/showthread.php?p=1278298&posted=1#post1278298) regarding flashing any ROM (I hope)

curtislanham
25th May 2007, 04:00 AM
http://forum.xda-developers.com/showthread.php?t=307072&page=2