PDA

View Full Version : [HOWTO] Modify any DLL or EXE Files you want!!


schreda
1st October 2008, 11:02 PM
Hello!

Now I found a way to Edit DLL, EXE, MUI and all other files for WM5 and WM6!
I ever had problems with the Signature in the Files bur now i have the Solution!

In This package i attached, there is a UnSigner, Signer, Editor and the Certificate for the Phone!

Step1:
First you must Unsign the file you want to edit!
Just go into the Unsign dir and drop the file over UnSigner.exe.
A DOS-Window will popup for a short time, the file is now unsigned!

Step2:
Now you can edit the file! I placed the reshacker into the package...

Step3:
If you edited the file successfully, you must sign it again!
Go into the Sign dir and open siggner.exe. Then choose the file you edited and take the "SDKSamplePrivDeveloper" Certificate.
Press "Start sign process" and close it

Viola, now your file is Modified and signed!!!

nothin
2nd October 2008, 01:06 AM
thx 4 tools in one place.
Method is rather..known, but good.

starbase64
2nd October 2008, 01:30 AM
Hi,

thanks for your good work.

wfg

starbase64

aeratos
2nd October 2008, 01:34 AM
thx nice works i need that

lepsyfou
2nd October 2008, 02:08 AM
great software suite thanks :)

gh0st-
2nd October 2008, 07:43 AM
i tried this but still cant copy into the \windows\ directory, i can copy from from \windows\ dir tho :D

leilei0209
2nd October 2008, 08:52 AM
thx 4 share.....

Spookstah
2nd October 2008, 09:03 AM
i tried this but still cant copy into the \windows\ directory, i can copy from from \windows\ dir tho :D

I have not figured this out myself eather, i read "everywhere" to use activesync, but how do i copy a file trough activesync?

ToddeSwe
5th October 2008, 12:20 AM
Hello!

Now I found a way to Edit DLL, EXE, MUI and all other files for WM5 and WM6!
I ever had problems with the Signature in the Files bur now i have the Solution!

In This package i attached, there is a UnSigner, Signer, Editor and the Certificate for the Phone!

Step1:
First you must Unsign the file you want to edit!
Just go into the Unsign dir and drop the file over UnSigner.exe.
A DOS-Window will popup for a short time, the file is now unsigned!

Step2:
Now you can edit the file! I placed the reshacker into the package...

Step3:
If you edited the file successfully, you must sign it again!
Go into the Sign dir and open siggner.exe. Then choose the file you edited and take the "SDKSamplePrivDeveloper" Certificate.
Press "Start sign process" and close it

Viola, now your file is Modified and signed!!!

THANKS! Your pakage was very helpful to me and the two certificate cab's did it for me. Now i can translate my M2D into Swedish. :)

ToddeSwe

riz306
17th November 2008, 06:30 AM
hi, I want to modify a dll file called invdb32.dll in this file an option is block i want to open it, any body help me?

riz306@hotmail.com

kancrutt
17th November 2008, 07:33 AM
good job! thanx dude :cool:

Cal-El
17th November 2008, 07:47 AM
Is there a way we can view the images instead of a bunch of numbers and stuff? BTW great job man! Thank you!:)

The_hesham
17th November 2008, 02:03 PM
Thanks for sharing
Is this can work with Windows vista

jakub_w
17th November 2008, 03:19 PM
modify the manilla2d exe with this to support animated weather other than rain???

Riccardo83
2nd January 2009, 12:29 AM
Can i use this to change the Samsung Omnia Menu to different programs being shown? Instead of TouhPlayer Kinoma?

smotrs
4th January 2009, 05:39 AM
I was able to unsign, modify and then sign a DLL file. But when I opened it in PE Explorer to check it, it gives me errors that the file is now too long. Take it you can't make additions, only changes?


EDIT: Here's the exact error I'm receiving, not sure if it's fixable or not;

03.01.2009 21:03:04 : EOF Extra Data From: 0008C400h (574464)
03.01.2009 21:03:04 : Length of EOF Extra Data: 00001948h (6472) bytes.
03.01.2009 21:03:04 : EOF Position: 0008DD48h (580936)
03.01.2009 21:03:04 : Error! (Step: Examining Exports)
03.01.2009 21:03:04 : Errors detected! Opening file in SAFE MODE...
03.01.2009 21:03:04 : Done.

the original file showed the following;

03.01.2009 21:02:25 : EOF Position: 0008C400h (574464)
03.01.2009 21:02:25 : Done.

nubail raja
26th March 2009, 08:47 PM
hi, i need expert help from any of you to kindly convert this enclosed dll file to VGA 191dpi for my Raphael. this file is part of PHM ppc Plus to enable clibboard in SIP. thanks in advance for your help

mbarvian
26th March 2009, 09:34 PM
Hi guys,

I've decided to make it quite a bit easier. Just open up the attached .zip
file, extract the MEditor to Program Files, and double-click Install Context
Menus.reg (confirm if a warning pops up).

Now, to edit a dll, mui, or exe file, just right-click on it and press Edit with
ResHacker. Once you're done editing, just save the file, close ResHacker,
and it'll take care of re-signing the file for you ;)

How it works
I didn't mean to make this post a big deal, but I'd just like to explain how this
thing works. I've added the necessary registry files for adding or removing
(if you choose) the Context Menus for "Edit with ResHacker". It calls
C:\Program Files\MEditor\open.bat, which opens a batch window (do not
close it until you're done editing, it will close itself) that removes the
readonly, archive, system, and hidden attributes off the file, then unsigns it,
then opens ResHacker.exe to edit it. When you close ResHacker.exe, it
automatically signs the file and adds the readonly and system attributes
(hidden and archive aren't necessary). Not very complicated if you think
about it, but it's what I use :)

MrRusch
11th April 2009, 08:56 AM
I was able to unsign, modify and then sign a DLL file. But when I opened it in PE Explorer to check it, it gives me errors that the file is now too long. Take it you can't make additions, only changes?

Same problem. Internal adresses are being messed up. Tried expanding array in IDA and adding complimentary bits in HEX Editor. No luck. This has to be possible right? Shifting the entire code a few bits as to add a few characters here and there? Please someone, this is driving me nuts. ;)

vikasraj
5th June 2009, 10:34 PM
Hello has any one been able to remove the file from the windows folder tried resco and total commander but in vain ..

Awaitin help...

Farmer Ted
7th June 2009, 06:14 AM
Try searching for ROMExtractor.exe. I think that's the tool you want.

nico101
13th October 2009, 11:11 PM
Hi everyone :)
I've got a problem with signing some of translated files in txt file created after signing I see "Error: Signing Failed. Result = 80070057, (-2147024809)" so translated mui's aren't loaded is there any way to sign these files or to make new fresh mui and then sign it ?

stewartmoss
16th October 2009, 11:36 AM
Thanks nice tool set

miniterror
22nd February 2010, 01:01 PM
thx gonna give it a try;)

mbinzet
8th May 2010, 12:20 PM
I tried everything but can't sign the camera0407.dll for xperia german-camera software. Can one of the experts sign it for me. My phone is in german language but my camera is in english. Please HELP

kevinpwhite
9th May 2010, 09:21 AM
Hello!

Now I found a way to Edit DLL, EXE, MUI and all other files for WM5 and WM6!
I ever had problems with the Signature in the Files bur now i have the Solution!

In This package i attached, there is a UnSigner, Signer, Editor and the Certificate for the Phone!

Step1:
First you must Unsign the file you want to edit!
Just go into the Unsign dir and drop the file over UnSigner.exe.
A DOS-Window will popup for a short time, the file is now unsigned!

Step2:
Now you can edit the file! I placed the reshacker into the package...

Step3:
If you edited the file successfully, you must sign it again!
Go into the Sign dir and open siggner.exe. Then choose the file you edited and take the "SDKSamplePrivDeveloper" Certificate.
Press "Start sign process" and close it

Viola, now your file is Modified and signed!!!

An excellent move to put all these key items together. Thank you !

One query - I am no doubt being completely dim, but would appreciate advice as to what to do with the new WM6.5 Certs .zip..... should this be unzipped and the individual files put into \windows on the phone and then the SDKCerts.cab run after or what is the correct procedure please ?

aussiebum
9th May 2010, 10:30 AM
An excellent move to put all these key items together. Thank you !

One query - I am no doubt being completely dim, but would appreciate advice as to what to do with the new WM6.5 Certs .zip..... should this be unzipped and the individual files put into \windows on the phone and then the SDKCerts.cab run after or what is the correct procedure please ?

put the new certs into the tools directory where siggner.exe is located (overwrite the old ones). They're not for sticking onto your phone.

kevinpwhite
9th May 2010, 10:56 PM
put the new certs into the tools directory where siggner.exe is located (overwrite the old ones). They're not for sticking onto your phone.

Many thanks for your prompt response - I shall try out shortly and see if I can now get past the roadblock I've been hitting with editing DLLs .... hopefully I can then also incorporate into the TG01 ROM I'm trying to finalise.




PS. One additional question if I may..... actually a few components as follows:
I have noticed that on several files I have tried to 'drop' on the unsigner app, there is no change in file size as a result. I had read that this was a key indicator that the procedure had worked.
- Is there any other means of determining whether the 'unsign' has been effective ?
- Also, in the event not, you make edits and then 'sign' - does the 'sign' superseed any previous signature or will this cause a failure ?
- And... if you extract a .dll from a .cab, unsign, edit, resign and reinsert in the .cab, should that then work OK - or do you also need to 'sign' the recompiled .cab as well ?

Sorry for lots of detailed queries, but will help immensely with understanding and effectiveness :)

aussiebum
10th May 2010, 01:57 AM
PS. One additional question if I may..... actually a few components as follows:
I have noticed that on several files I have tried to 'drop' on the unsigner app, there is no change in file size as a result. I had read that this was a key indicator that the procedure had worked.
- Is there any other means of determining whether the 'unsign' has been effective ?
- Also, in the event not, you make edits and then 'sign' - does the 'sign' superseed any previous signature or will this cause a failure ?
- And... if you extract a .dll from a .cab, unsign, edit, resign and reinsert in the .cab, should that then work OK - or do you also need to 'sign' the recompiled .cab as well ?

Sorry for lots of detailed queries, but will help immensely with understanding and effectiveness :)

- As far as I'm aware no file size change = file was not signed in the first place (or unsign failed :) ). You can actually quite easily check this in Windows (XP,etc) by right-clicking and checking Properties of the file... if there's a Digital Signature tab it's (still) signed.

- What I've noticed is that files that are still signed (dll's at least) can't be edited... by ResHacker at least. Changes will refuse to save.

- I've never had to sign a cab... but that's because I've got the unsigned cab warning turned off on my phone.

kevinpwhite
11th May 2010, 10:30 PM
I would appreciate some further help please ! I have followed the previous advice and now believe I understand and am using the required process - but simply cannot successfully replace a shellres.192.dll file onto my device.

I am running WM6.5 on a Toshiba TG01 and am trying unsuccessfully to be able to edit the shellres.192.dll file to amend the Start Button icon among others.

The recognised standard Taskbar replacements from GFreek and TS Owen install absolutely fine used as they are - but if I try replacing the .dll within the .cab and then install, all appears absolutely fine until re-boot. Equally exrtacting the .dll from one of those any trying to separately install also fails.

I have used the standard process of:
- Extract file off the device using ROMExtractor
- Unsign
- Edit; eg. Including replacing one or more icons with ones to identical sizing as originals
- Resign (using latest 2010 certificate files); check .txt file and also open properties in Windows Explorer and check for Digital Signature tab
- Make sure SDCerts is installed on the device
- Replace to device via uSD card using Resco or Total Commander (I've tried both)
- Soft reset

I have also extracted this file from both GFreek's and TSOwen's Taskbars and tried both editing and inserting as above or simply placing direct onto the device without opening. None of the above work; the end result is always that the device ends up booting after the SR to unuseable state without Start icon and usually no top bar icons at all.

I have also tried as an experiment the following:
- Hard reset and boot
- Extract base shellres.192.dll from ROM
- Lift to PC; unsign, re-sign (without opening)
- Re-insert totally untouched

Result - failure

And finally, the most basic process....
- Hard reset and boot
- Extract base shellres.192.dll from ROM
- Install SDKCerts
- Re-insert totally untouched

Result - once again total failure.

This suggests that there is something really fundamental I am missing in the whole process.....

Any help or suggestions will be greatly appreciated :)

reversehead
16th May 2010, 12:04 PM
Hi, I also try methods same as kevinpwhite and also failure ...

Could you please help us,

P.S. Tried on shellres.96.dll on:
- WM6.5 WQVGA Emulator downloaded from microsoft
- WM6.5.3 (SAMSUNG i900)

:confused:

Many thanks in advance

kevinpwhite
16th May 2010, 12:36 PM
Hi, I also try methods same as kevinpwhite and also failure ...

Could you please help us,

P.S. Tried on shellres.96.dll on:
- WM6.5 WQVGA Emulator downloaded from microsoft
- WM6.5.3 (SAMSUNG i900)

:confused:

Many thanks in advance

Hmmm..... Sorry you are having the same problem; but glad I'm not completely alone with this issue !

I have solved my problem after a fashion - by editing the .dlls and then converting to Modules (which don't include any signatures) and installing in my custom WM6.5 ROM. When compiled and flashed, that works absolutely fine.

So, having used all the editing tools without problem, I am concluding that the inability to be able to make this work with an 'external' .dll MUST be something to do with the re-application of the digital signature.

Any expert help to clarify will be much appreciated :)

k8sh
20th May 2010, 10:41 PM
I am new to all these but I learn very quickly. I did all the steps in the first post and I also copied the contents of WMCerts into the tools folder before signing. I was able to sign but the log file indicated this: "Warning: This file is signed, but not timestamped.
Succeeded".

I copied the dll file to my phone and it still did not work. Do I need to make an sdkcerts.cab file and install that first? I see a lot of mods which requires sdkcerts to be installed but how do I create those?

Is the issue related to the timestamp error? Experts please help. Thanks.

Edit: The steps in post #1 does not say anything about what to do with the contents of the certificate folder. Do I install the sdkcerts.cab first to my phone???

Edit: Never mind. I figured it out.

conthong
26th May 2010, 01:13 AM
Good post. thx

moli1984
27th May 2010, 11:03 PM
Hy Sir, :D

I worked in program, but i have error.

This log:
Error: The certificate used for signing has expired!
Error: Signing Failed. Result = 800b0101, (-2146762495)

Then I set my comp. date: 2009. May. 27.
After log:
Warning: This file is signed, but not timestamped.
Succeeded

Im, happy.---> Put my phone/pda and....



then....


"Certiface expired"...

Dont install...

Somebody helps me, its difficult...

Certiface F*****K!........

Other solution?

Thx

dunebuggydude11
31st May 2010, 07:12 PM
^^ +1 I'm getting the same error as well now. does anyone have new certificates to use?

impactops
9th August 2010, 07:36 PM
Does the unsign tool work on XP SP3 Dll's?

I want too unsign dssenh.dll & it is not working

Regards
Impactops

chek1.ramesh@gmail.com
26th August 2010, 02:06 PM
thanks dude...

lusjash
12th November 2010, 05:51 AM
Worked for me changing an icon for exe. Very easy with your walkthrough. Thanks!