PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Touch Pro (http://forum.ppcgeeks.com/forumdisplay.php?f=63)
-   -   copy DLL's from running ROM to PC (http://forum.ppcgeeks.com/showthread.php?t=78081)

raidzero 08-05-2009 11:07 AM

copy DLL's from running ROM to PC
 
I have asked a similar question but did not get any answers. Is it at all possible to copy files like system DLL's from a running ROM to any other place? I would even be happy with copying it on the phone from the windows folder to another folder on the device that I can then copy to PC. When trying to just copy with activesync I get access denied. When installing an FTP server on the device I can get the file but it is empty. Total commander cannot copy the file and neither can resco explorer. I tried using BitPim and QPST but they all offer access to a different filesystem. Can anyone help? I am in the process of dumping the rom and reconstructing it but I think it will just produce an NBH file from the RAW files and will probably be no good to me. Any ideas at all? I am willing to try anything. Thanks!!

basilray 08-05-2009 11:11 AM

Re: copy DLL's from running ROM to PC
 
Have you tried the Dump ROM app? Might get you what you're looking for. I've never used it, but saw a thread for it somewhere around here.

Hope it works for you!

raidzero 08-05-2009 12:04 PM

Re: copy DLL's from running ROM to PC
 
Quote:

Originally Posted by basilray (Post 1082801)
Have you tried the Dump ROM app? Might get you what you're looking for. I've never used it, but saw a thread for it somewhere around here.

Hope it works for you!

I tried searching and I did not find it. a while ago I found rstoyguy's guide to deconstructing NBH's and that would work if the rom was not protected! argh.

Tried flashing the protected nbh onto a TP, doing the dump into part01, part02.raw, etc and making the nbh from those but still there are errors (due to the protection)?

Can you elaborate on the dump rom app?? thanks

raidzero 08-05-2009 01:13 PM

Re: copy DLL's from running ROM to PC
 
OK I figured it out. I chopped up rstoyguy's script for deconstructing roms, cut out the last part because at that part the files I wanted would be deleted:

from http://forum.ppcgeeks.com/showthread.php?t=25529

Code:

@ECHO ON
@REM
@REM    This file cleans up anything done prior, pulls the .nbh and renames, and slices
@REM    it into a pkg'd dump. Thanks to sfaure3 and tadzio and bepe for the basis of this .bat
@REM    and all the awesome tools.
@REM

@echo Processing Input.nbh

@REM
@REM    Clean up anything prior
@REM

@echo Cleaning up prior runs....

@rd /s /q .\OEM
@rd /s /q .\SYS
@rd /s /q .\ROM
@rd /s /q .\Temp
@rd /s /q .\Temp2
@rd /s /q .\Output
@rd /s /q .\Logs
@mkdir .\Temp
@echo .... Done.

@echo Locating Starting .nbh...
@ren *.nbh Input.nbh
@cd .\Temp
@echo .... Done.

@echo Extracting the OS from the ROM...
@mkdir extract
@cd extract

@..\..\tools\NBHextract.exe ..\..\Input.nbh > nbhExtract.log

@REM Rename and Move OS.nb, then Clean up Junk.
@move *_OS.nb OS.nb
@move OS.nb ..
@cd ..
@rd /s /q extract

@echo .... Done.

@REM Split the ROM OS file.

@..\Tools\NBSplit.exe -titan OS.nb > nbsplit.log
@copy OS.nb.payload OS.nb.xip

@if errorlevel 1 goto error

@REM Cleaning again.
@del OS.nb.extra

@echo Pulling boot.rgu....
@start /wait ..\Tools\RomMaster.exe -x -w 5 OS.nb.xip -o xip.bin
@mkdir XIP
@start /wait ..\Tools\dumprom.exe -d XIP -x -5 xip.bin
@cd ..
@mkdir ROM
@mkdir ROM\XIP
@move Temp\XIP\boot.rgu ROM\XIP
@cd Temp
@rd /s /q .\dump
@rd /s /q .\XIP
@copy OS.nb.payload ..\ROM\8004000-OS.nb
@echo ... Done.

@REM Cleaning again.
@del OS.nb
@del xip.bin
@del OS.nb.xip

@echo Creating imgfs.bin...
@..\Tools\ImgfsFromNB.exe OS.nb.payload imgfs.bin > imgfsfromnb.log

@if errorlevel 1 goto error

@echo Building the dump folder....
@..\Tools\ImgfstoDump.exe imgfs.bin > imgfsdump.log

then look in temp/dump and all the files will be there, waiting to be accessed.

basilray 08-05-2009 04:29 PM

Re: copy DLL's from running ROM to PC
 
This might help you out:

http://forum.ppcgeeks.com/showthread...light=dump+ROM

Never done it myself, but found it the other day.

raidzero 08-05-2009 04:48 PM

Re: copy DLL's from running ROM to PC
 
I already did dump it, and got the files I was after, I posted how I did it so others can benefit

bikeandestroyx 08-05-2009 04:58 PM

Re: copy DLL's from running ROM to PC
 
Quote:

Originally Posted by raidzero (Post 1083436)
I already did dump it, and got the files I was after, I posted how I did it so others can benefit

also you can use total commander, or resco explorer to copy them out/replace them.

raidzero 08-05-2009 05:10 PM

Re: copy DLL's from running ROM to PC
 
Quote:

Originally Posted by bikeandestroyx (Post 1083462)
also you can use total commander, or resco explorer to copy them out/replace them.

does not work with dlls that i assume are already loaded into ram. this is why I had to get crazy on it.

ruskiyab 08-05-2009 05:18 PM

Re: copy DLL's from running ROM to PC
 
Rom Extractor


All times are GMT -4. The time now is 12:48 PM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0