PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro

Notices



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-05-2009, 11:07 AM
raidzero's Avatar
N00b
Offline
Pocket PC: Moto Droid @ 1.1GHz
Carrier: VZW
Location: PPCG
 
Join Date: Dec 2008
Posts: 2,193
Reputation: 5220
raidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to raidzero
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!!
__________________
Reply With Quote
  #2 (permalink)  
Old 08-05-2009, 11:11 AM
basilray's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Touch Pro/Touch Diamond/BlackBerry Tour 9630
Carrier: Sprint
Location: MPLS
 
Join Date: Oct 2008
Posts: 699
Reputation: 815
basilray knows their stuffbasilray knows their stuffbasilray knows their stuffbasilray knows their stuffbasilray knows their stuffbasilray knows their stuffbasilray knows their stuff
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
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!
__________________
Inching my way towards VIP status!
Not getting as much done as I should at work...Dang you PPCGeeks!
Reply With Quote
  #3 (permalink)  
Old 08-05-2009, 12:04 PM
raidzero's Avatar
N00b
Offline
Pocket PC: Moto Droid @ 1.1GHz
Carrier: VZW
Threadstarter
Location: PPCG
 
Join Date: Dec 2008
Posts: 2,193
Reputation: 5220
raidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to raidzero
Re: copy DLL's from running ROM to PC

Quote:
Originally Posted by basilray View Post
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

Last edited by raidzero; 08-05-2009 at 12:18 PM.
Reply With Quote
  #4 (permalink)  
Old 08-05-2009, 01:13 PM
raidzero's Avatar
N00b
Offline
Pocket PC: Moto Droid @ 1.1GHz
Carrier: VZW
Threadstarter
Location: PPCG
 
Join Date: Dec 2008
Posts: 2,193
Reputation: 5220
raidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to raidzero
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 How to Customize a Custom Rom: Adding/Removing Programs

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.
Reply With Quote
  #5 (permalink)  
Old 08-05-2009, 04:29 PM
basilray's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Touch Pro/Touch Diamond/BlackBerry Tour 9630
Carrier: Sprint
Location: MPLS
 
Join Date: Oct 2008
Posts: 699
Reputation: 815
basilray knows their stuffbasilray knows their stuffbasilray knows their stuffbasilray knows their stuffbasilray knows their stuffbasilray knows their stuffbasilray knows their stuff
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Re: copy DLL's from running ROM to PC

This might help you out:

ROM Dump How To?

Never done it myself, but found it the other day.
Reply With Quote
  #6 (permalink)  
Old 08-05-2009, 04:48 PM
raidzero's Avatar
N00b
Offline
Pocket PC: Moto Droid @ 1.1GHz
Carrier: VZW
Threadstarter
Location: PPCG
 
Join Date: Dec 2008
Posts: 2,193
Reputation: 5220
raidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to raidzero
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
Reply With Quote
  #7 (permalink)  
Old 08-05-2009, 04:58 PM
bikeandestroyx's Avatar
Mobileunderground.info
Offline
Pocket PC: HD2
Carrier: T-Mobile
Location: Chico, Ca
 
Join Date: Jun 2008
Posts: 3,222
Reputation: 8328
bikeandestroyx is a trusted member of the communitybikeandestroyx is a trusted member of the communitybikeandestroyx is a trusted member of the communitybikeandestroyx is a trusted member of the communitybikeandestroyx is a trusted member of the communitybikeandestroyx is a trusted member of the communitybikeandestroyx is a trusted member of the communitybikeandestroyx is a trusted member of the communitybikeandestroyx is a trusted member of the communitybikeandestroyx is a trusted member of the communitybikeandestroyx is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to bikeandestroyx Send a message via MSN to bikeandestroyx
Re: copy DLL's from running ROM to PC

Quote:
Originally Posted by raidzero View Post
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.
__________________
Reply With Quote
  #8 (permalink)  
Old 08-05-2009, 05:10 PM
raidzero's Avatar
N00b
Offline
Pocket PC: Moto Droid @ 1.1GHz
Carrier: VZW
Threadstarter
Location: PPCG
 
Join Date: Dec 2008
Posts: 2,193
Reputation: 5220
raidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to raidzero
Re: copy DLL's from running ROM to PC

Quote:
Originally Posted by bikeandestroyx View Post
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.
Reply With Quote
  #9 (permalink)  
Old 08-05-2009, 05:18 PM
ruskiyab's Avatar
Very Important Person
Offline
Pocket PC: HTC Hero
Carrier: Sprint
Location: St. Louis, MO
 
Join Date: Nov 2006
Posts: 958
Reputation: 3405
ruskiyab is still contributing even after becoming a VIPruskiyab is still contributing even after becoming a VIPruskiyab is still contributing even after becoming a VIPruskiyab is still contributing even after becoming a VIPruskiyab is still contributing even after becoming a VIPruskiyab is still contributing even after becoming a VIPruskiyab is still contributing even after becoming a VIPruskiyab is still contributing even after becoming a VIPruskiyab is still contributing even after becoming a VIPruskiyab is still contributing even after becoming a VIPruskiyab is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: copy DLL's from running ROM to PC

Rom Extractor
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:10 AM.


Powered by vBulletin® ©2000 - 2020, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com