Ok , I am trying to resign my phcanBmp.dll file to have my own images. I have used ResHack in order to change the file and make a new one but I know you need to sign the file in order for it to work...
So I have downloaded the latest BuildOS+Package 4.2b3 and it has a signapp.exe.... Problem is I cant find any information on how to use it??? I have searched google and located a sign and timestamp dll files but I am not sure if this will work with mobile applications.
Please help
ryncppr said:
Ok , I am trying to resign my phcanBmp.dll file to have my own images. I have used ResHack in order to change the file and make a new one but I know you need to sign the file in order for it to work...
So I have downloaded the latest BuildOS+Package 4.2b3 and it has a signapp.exe.... Problem is I cant find any information on how to use it??? I have searched google and located a sign and timestamp dll files but I am not sure if this will work with mobile applications.
Please help
Click to expand...
Click to collapse
ResHack will cause a dll or exe locked to sign if u edit it heavily.
Use Heaventools Resource Editor or PE Explorer instead
I bought Resource Editor and there is no way to sign the file....It shows when I edit only 6 bitmap files it says the file is no longer signed or trusted...is there a way around this
NEVER MIND GOOGLE IS MY FRIEND
ryncppr said:
I bought Resource Editor and there is no way to sign the file....It shows when I edit only 6 bitmap files it says the file is no longer signed or trusted...is there a way around this
Click to expand...
Click to collapse
i attached the program i used to sign the htchome.dll file I patched. Do the following:
1) Put the file in the same folder as the program.
2) Go into command prompt and navigate to the folder which contains the the file (in my case C:\Documents and Settings\ScottE\Desktop\Programs\ATT Tilt\Programs\SignCode\SignCode)
3) Type "sign filename" which in my case was: sign htchome.dll
Then it should give you a message that the file was signed.
I just added a screenshot
you can also use sign tool from Microsoft SDK 2008
i tought he cannot sign the file after edit it. silly me there is also multisign tool floating in this forum based on SDK but with easy GUI.
skatdawg said:
i attached the program i used to sign the htchome.dll file I patched. Do the following:
1) Put the file in the same folder as the program.
2) Go into command prompt and navigate to the folder which contains the the file (in my case C:\Documents and Settings\ScottE\Desktop\Programs\ATT Tilt\Programs\SignCode\SignCode)
3) Type "sign filename" which in my case was: sign htchome.dll
Then it should give you a message that the file was signed.
I just added a screenshot
Click to expand...
Click to collapse
Thats what I used..!!!! Thank you so much for the response...The 2008 SDK signs files but not really, you actually have to buy digital signatures...this way its free and works....
Just copied my phncanbmp test file to my phone and it works like a charm!!
ryncppr said:
Thats what I used..!!!! Thank you so much for the response...The 2008 SDK signs files but not really, you actually have to buy digital signatures...this way its free and works....
Just copied my phncanbmp test file to my phone and it works like a charm!!
Click to expand...
Click to collapse
Glad to help you man
a lot of thanks dear scotchua very useful
Related
I have this comm manager that I found from the forums a while back.. It was made my MFRAZZ... This installs correctly and works fine... However, I wanted to change the color of the buttons from blue to a maroon color that fades to black to match the theme on my phone
I opened the cab file and found quite a few files and an XML file... I found out the the other files were actually .png files renamed. I renamed them to ] .PNG and used Gimp to edit the pictures. I then renamed the files back to the origional file extension and used winrar to make it back into .cab.
I have a pic of the comm manger below, a pic of the error message and a pic of my current theme listed below. I also have the comm manager made by MFRAZZ and the comm manager I have edited attached below. They are clearly labeled.
Any help would be greatly appreciated. Maybe you could enlighten me on what I did wrong.
This is not an issue where the comm manager is open or running in the background. I think I might have done something to the files when editing them to change their colors. Any help would be greatly appreciated.
Picture titled Comm manager: This is the comm manager successfully installed to my device. This shows the blue Icons which I have changed to maroon.
Picture titled Unsuccessful: Error when I try to install the new edited comm manger.
Cab file titled Touch Comm Manager: The blue comm manger made by MFRAZZ
Cab file titled Comm Manager Maroon: The comm manager that I edited the picture colors and which will not install to my Device.
Help??
So no one interest in helping someone out?
you cant simply repack the cab with winrar , you need to sign the Comm Manager with Certificates, search the ofrum for msigner, download it and sign the comm manager with it and then hopefully you'r good to go
Do i run msigner on the cab file or do i run it on the individual files packed into the cab file? thanks
Msigner
Alright, this is what i got when using msigner on the cab file as well on the individual files inside of the cab file.... Looks like I'm doing something wrong.. Heres the error message
Error: Signing Failed. Result = 800b0003, (-2146762749)
I only found 2 threads on this error message while using msigner. Neither one was successful at helping me with my issue.
Thanks in advance
I searched some other forums on signing cab files as well as my best friend.... GOOGLE. It appears that im going to need a windows mobile 6 sdk and a program called MSDN.. Is this correct? Is there an easer way to do this?
i think it misses the Certificates, make sure you dnt take the EXE out of its root folder
Use MSCEinf to dump the CAB file (7th button from the left on the toolbar), then edit the PNGs, then repack the CAB with Cabwiz:
cabwiz "fullpath\filername.inf"
Cabwiz is included with XP, but if you can't find it, you can get it here.
the CAB does not have to be signed, and since you're not editing the EXE, it doesn't have to be signed either.
Thanks to Benthon for his wonderful MSCEinf. A free program that he continually updates for the benefit of us WinCE users.
J03M4N
Ok...
I have a folder on my desktop thats says Msigner. When I open it up, I see a file that says Ssigner.exe. I can click on that and it opens up but it wont let me write a certificate to my cab file. there is also a yellow folder that is labled tools..... It has a quite a few dll files in it.
Any help would be appreciated
Joemanb,
thanks for the software. Tried it out and it wont open up my cab file that I created. however it will open up the origional cab file... Maybe i did something wrong haha.....
*Update*
I used the program in the last post. it wouldnt readthe cab file that I created but It read the origional cab file from MFRAZZ. I put the origional cab file from MFRAZZ into the program and extracted the files.
It extracted all the files into the correct file format. All my pictures were .png. I thought I was on the right track. I went aheadand edited all the pictures to make them the colors I wanted them to be. I also saw a .mui file... and I saw comm.exe. I expect thats the comm manager. There is not .xml fle now.
How to I repack all of this back into a cab file?
Thanks in advanced
Instructions on how to create the CAB are in my first post :
then repack the CAB with Cabwiz:
cabwiz "fullpath\filename.inf"
Cabwiz is included with XP, but if you can't find it, you can get it here.
Click to expand...
Click to collapse
Type the command at a DOS prompt: 'fullpath' is the full path to the folder you dumped the CAB to, and 'filename.inf' is the name of the .inf file created when you dumped the CAB. Don't forget the quotes.
J03M4N
Sorry. I get a little ahead of myself. This is my first go at making a cab file. if all goes well i might do this more.
Nice I read on later and back tracked. I noticed that the link provided takes me to msdn's website with a title of Cabwiz(PPC Only) there is no download option. IS cabwiz built into the Windows Mobile 6 sdk?
Thanks in advanced again
ok im slowly getting this.... HaHa. I used command prompt and cabwiz. I took the inf file and pasted it into the folder that was dumped from the other program. I typed it in like this in command prompt.
cabwiz "d:\documents and settings\rzrgs6\desktop\windows\maroon_comm_manager.inf"
it kicked back with this error message...
Error: section [CEStrings] key"installDir" - data value must be an absolute path, or must start with a supported windows CE DirID <of the form %CEx%>
confused on this, maybe a little light shining on this might help.. Any Clues?
Heres an attachment of what I have so far...
you shouldn't have to move or copy the .inf, it should already be in the folder you dumped the CAB to.
It dumped a folder on my desktop callled windows. The comm manager.inf file was dumped on my desktop next to the yellow folder called windows. what you are saying is to do this
in command prompt, navigate to the cabwiz file. Type in cabwiz "d:\documents and settings\rzrgs6\desktop\windows" for the filename and just leave the .inf file on the desktop?
What to type exactly in command prompt is what is confusing me.
Thanks
Ok... I got frusturated with the .cab making process. I just took the pictures for the comm manager that I edited in GIMP and dropped them in my windows directory of my device.
It will keep me happy for now.
Below is my comm manager now and my theme on my phone which i created for Manila 2D
I'd like to help but it's hardfor me to describe it in english(my english is poor).I suggest that you can open it by winrar,see what it likes.And you can search it on google.
I appreciate everyones help.
I used WinCE to unpack the .cab file. It left me with a windows folder on my desktop with a bunch of .png files. I edited those from blue to the maroon fading black. The windows folder also had a .dll file a .mui file and the comm manager.exe file.
Next to the yellow windows folder I saw a .inf file which was dumped from the origional cab file. I expect this was the .xml installation file that was packaged in the origional cab.
Heres what I did. I searched and found Cabwiz and a few other cab making programs. I tried them all out with no success. I keep trying to use cabwiz as I fell it will do what I want. The only think is, I get an error when using Cabwiz which is in an earler post.
For now I gave up.... I just took the .png files that I edited in Gimp and copied them over to my windows Directory on my phone. I soft reset and the icons on my comm manager are the way that I want them to be
If someone could help me actually in the making of this file or just get me back on my feet and try again. I want to understand what it is that I am doing wrong.
Thanks
use the path to the .INF file like I said....
if you dumped the stuff to your desktop (WHY?) then your path to the inf file is:
"d:\documents and settings\rzrgs6\desktop\maroon_comm_manage r.inf"
so your command line is:
cabwiz "d:\documents and settings\rzrgs6\desktop\maroon_comm_manage r.inf"
why you stuck 'windows' in your path I don't know since that is NOT the path to the .INF file. The Windows folder was dumped along with the .INF file, but it was NOT the folder you dumped the CAB to. the Folder you dumped the CAB to is the folder you select after clicking the seventh button from the left in MSCEinf. Obviously you just selected the folder that was presented to you in the dialogue (Desktop) instead of navigating to a work folder and dumping it there.
I did NOT say to navigate anywhere after going to the command prompt (Cabwiz is in the system path). Nor did I say to move or copy anything.
You're reading alot into what I've said, and that seems to be your problem.
Hiya
So I figured that i better go a learn how to use this UC that i find extremly clever - however there's a few cab's that i would love to change abit to my use, for instance dont make it install all the apps its trying and so on...
However i dont really know where or how read the file - ive downloaded WinCE trial version and oped the cab, but wich file type does what and so on? Ive tried abit, deleting some program files however i still need to edit the install files to tell the cab not to install the program at all, so are there anybody out there who can guide me abit on the right direction?
And es ive allready searched this site and google, but i havnt found anything usefull :?
//M
Which program is it that you're trying to edit?
Have you tried editing the config file that lists the cabs to be installed?
Jadel said:
Which program is it that you're trying to edit?
Have you tried editing the config file that lists the cabs to be installed?
Click to expand...
Click to collapse
If you by config file means the xml file then yes - so far so good - however now im having trouble rebuilding the cab - ive tried several times using both winrar and alZip but i cant seem to rebuild the file correctly - it dosnt even have the right size even though all ive done is to extract the files and rebuild em - what am i doing wrong?
Perhaps im just too dumb to get it - but when i open the cab file in WinCE it dosnt seem to display the _setup.xml at all - so how do i edit that file and use WinCD to rebuild the cab file?
//M
Bump!
//M
use any Cab manager to do that
or cabwiz (microsoft command line utilty)
also try this : http://nedge2k.com/cab-o-matic
or, you could PM the files and i'll cab'm up
ather90 said:
use any Cab manager to do that
or cabwiz (microsoft command line utilty)
also try this : http://nedge2k.com/cab-o-matic
or, you could PM the files and i'll cab'm up
Click to expand...
Click to collapse
Hmm i allready have WinCE - i just dont know how to change the cab and repack it, perhaps you could help on that?
Ive also seen that link under my search - however the site just says: "down for bug squashing..." so not much help there anyway
Thx for the offer - however the main reason is i want to learn how to do it properly
CabWiz i has been unable to find for download :?
//M
to edit a cab, you need to have the WCM file. you can also unpack it using a Package Creator (v2.7) makes the changes needed, and create the cab again with the modifications using your CECabManager
nir36 said:
to edit a cab, you need to have the WCM file. you can also unpack it using a Package Creator (v2.7) makes the changes needed, and create the cab again with the modifications using your CECabManager
Click to expand...
Click to collapse
Hmm yea i understand that much - however i fail to see how i can edit anything in WinCE when i dont have the xml file when i open the cab? I do understand the i need to unpacvk the cab, ive dont the with different programs, ive also edited the xml file to fit my request but i simply cant repack the cab with my edited xml file and get it to work? What am i doing wrong?
//M
CeCABManager supports importing information from an *.inf file.. not xml files..
you can just provide the info on the cab to the app and it'll pack it for you..
I am looking for a run down on signing a file.
So far, I have taken other people files and just edited images from the apk moved them back and signed using Kitchen (Only way I know how)
So I am at a stand still here...
I want to add
app\Rosie.apk
and
system\com.htc.resources.apk
to a file so that I can change things a little more.
But have not had luck.
Can someone give the rest of us some steps?
Thanks.
are you on windows? if so, then use this batch script. unzip it and get to signing
how would you sign a zip on a mac?
mrchu001 said:
how would you sign a zip on a mac?
Click to expand...
Click to collapse
firstly, install java. then look inside the batch script and you'll see the basic layout for signing files from terminal.
EDIT: what it inside the script is this basic layout for signing, "java -jar signapk.jar testkey.x509.pem testkey.pk8 update.zip update_signed.zip"
replace "update.zip" with your zip file and update_signed.zip with your zip file with "signed" or something so you know it's signed appended before the .zip
darchstar said:
are you on windows? if so, then use this batch script. unzip it and get to signing
Click to expand...
Click to collapse
Yes, I am running windows. Thanks for the file! I will give it a try.
So I see the Sign.bat All I know so far, (Sorry, still new)
My folder will be laid out like this.
<update.zip>
<system>
<app>Rosie.apk</app>
<framework>com.htc.resources.apk</framework>
</system>
<update.zip>
But I dont know where to go from there?
I wonder if we counted, how many threads do you think were started here with this EXACT same question?
chaos67731 said:
Yes, I am running windows. Thanks for the file! I will give it a try.
So I see the Sign.bat All I know so far, (Sorry, still new)
My folder will be laid out like this.
<update.zip>
<system>
<app>Rosie.apk</app>
<framework>com.htc.resources.apk</framework>
</system>
<update.zip>
But I dont know where to go from there?
Click to expand...
Click to collapse
run the batch script from command prompt
darchstar said:
run the batch script from command prompt
Click to expand...
Click to collapse
I dont know how to do that or what it does.
I unziped the folder to my desktop but really dont know where to go from there.
I also dont know command prompt at all for the most part.
Only little things {cd} {*} things like that but even than its just at sight.
I looked http://forum.xda-developers.com/showthread.php?t=618874 and there does not seem to be a wiki or anything on this.
make a new folder where you'll want to zip all your files
copy the autosign.zip to this folder
unzip it.
zip up your files and update-script, name the zip update.zip and put them in this folder
run the batch script from command prompt
Code:
Sign.bat
you will now have a new zip called update_signed.zip, which is you signed update.zip
Does flipzmode's Kitchen do the same thing?
I know there is a sign part to it.
I have used it but not sure if it does the same thing.
When doing this is get an error.
It says it can not find the update script?
mrchu001 said:
how would you sign a zip on a mac?
Click to expand...
Click to collapse
Unzip this. Place the testsign.jar in the root directory of your Mac. Not the home (user) directory, but should be "Macintosh HD" or something of the sort. Then place the Android-Sign.app in /Applications. Even easier to make a shortcut to it in the dock. Whenever you want to sign a file, drag it to the Android-sign app, and it will sign it and put it in the same directory as the original, with "signed" at the end so you'll know which one is which.
For Mac there is an auto-sign program. Just put testsign.jar on the root of your computer hard drive (Macintosh HD) and it works. To sign a ROM, open the rom folder, select all the contents, right-click, and click Conpress. Rename archive.zip to whateveer you want. Drag it onto the Android Sign program and then wait for the program to close (when the dot goes away). There should be another file in the ROM folder called Archive-signed.zip. That is your signed zip.
...That's what I just posted.
ajones7279 said:
...That's what I just posted.
Click to expand...
Click to collapse
We posted it at like the same time I think he figured out how to do the actual signing, but he zipped the folder and not the contents. So... It was rom.zip>rom>contents of rom.
ajones7279 said:
Unzip this. Place the testsign.jar in the root directory of your Mac. Not the home (user) directory, but should be "Macintosh HD" or something of the sort. Then place the Android-Sign.app in /Applications. Even easier to make a shortcut to it in the dock. Whenever you want to sign a file, drag it to the Android-sign app, and it will sign it and put it in the same directory as the original, with "signed" at the end so you'll know which one is which.
Click to expand...
Click to collapse
this is great man!
many thanks!
No problem.
ok so im on windows. it says java not rec.. so im assuming i need to dl java. but would someone be able to leave a little more detailed how to on this. i figured most of it out. but idk if im spose to have the unziped auto-sign folder in my rom zip or outsided of my rom zip..
feefeeboomboom said:
ok so im on windows. it says java not rec.. so im assuming i need to dl java. but would someone be able to leave a little more detailed how to on this. i figured most of it out. but idk if im spose to have the unziped auto-sign folder in my rom zip or outsided of my rom zip..
Click to expand...
Click to collapse
You're using Stericson's autosign.bat correct?
I might be wrong but if you use Kitchen you can auto sign things and it works really good.
New Opera version: download
You know the drill... unpack and copy opera9.exe over the opera9.exe in the \windows folder (preferably using Resco File Explorer)
Changelog: don't know
Is it better than other versions: find out yourself
thank you
Thanks very much
Thanks dude.
Hi, what about the people who do not know the drill? where do i copy the file? and then what do i do? do i have to use resco explorer, i want to use the normal file explorer. i have a T-MO HD2
Kazz88 said:
Hi, what about the people who do not know the drill? where do i copy the file? and then what do i do? do i have to use resco explorer, i want to use the normal file explorer. i have a T-MO HD2
Click to expand...
Click to collapse
You have to extract the Opera9 file and copy directly to Windows.
It is all.
Best Regards,
Hi, what you have said is a bit vague. the extrated file from the download is an exe file so dnt i need to run it once i copy it over? and what windows directory? do you mean the windows folder on the device memory? not the opera9 folder in the windows directory?
so your asking i copy the exe file into the windows folder on the device memory and just run the exe? is that what i do?
please explain properly (full file path and instructions)
Thank you very much
Kazz88 said:
Hi, what you have said is a bit vague. the extrated file from the download is an exe file so dnt i need to run it once i copy it over? and what windows directory? do you mean the windows folder on the device memory? not the opera9 folder in the windows directory?
so your asking i copy the exe file into the windows folder on the device memory and just run the exe? is that what i do?
please explain properly (full file path and instructions)
Thank you very much
Click to expand...
Click to collapse
Yes you have to copy Opera9 file to the Windows device memory, then you will be asked to overwrite, so you should tam yes.
Afterthat you can normally run Opera web browser but in new version.
just in my head?
is it just in my head or is this much faster!?!
ty gonna try it out
tobiascrystal said:
is it just in my head or is this much faster!?!
Click to expand...
Click to collapse
Much faster doing what? Page loading times are about your internet connection are they not?
Faster optimization, screen rotation? Pleaze post !
I copied the file overiding the original and when I try to start opera, it says "Opera Loader" with a red cross which when pressed it exits...
Any thoughts?
appelflap said:
New Opera version: download
You know the drill... unpack and copy opera9.exe over the opera9.exe in the \windows folder (preferably using Resco File Explorer)
Changelog: don't know
Is it better than other versions: find out yourself
Click to expand...
Click to collapse
I deleted the existing Opera.exe file from the Windows folder and copied this one, but the app won't start. I think it has something to do with the attributes of the new exe file. The ROM attribute is ghosted. Any ideas?
Thanks
Procedure is clear to me. Just overwrite .exe file with new .exe file
But to spare me hazzle and spending one day to revert: does this change my opera-settings which I tweaked in operaconfig or goof them by incompatibility ?
Does this new build support flash better than the old one ?
What EXACTLY can the new build better than the old one ?
troed said:
Procedure is clear to me. Just overwrite .exe file with new .exe file
But to spare me hazzle and spending one day to revert: does this change my opera-settings which I tweaked in operaconfig or goof them by incompatibility ?
Does this new build support flash better than the old one ?
What EXACTLY can the new build better than the old one ?
Click to expand...
Click to collapse
I have similar questions,my opera is skinned and as troed mentioned
several operaconfig tweaks including having moved the Cache.
Anyone know whether these will all need re-doing if we upgrade
to newer version ?
In short is it worth the effort just to have a different version number ?
Anybody notice that with this version Manila internet ta bookmark thumbnail don't work with manila 2016?
I and others using the whole package. I have not tried only the .exe
bobsbbq said:
Anybody notice that with this version Manila internet ta bookmark thumbnail don't work with manila 2016?
I and others using the whole package. I have not tried only the .exe
Click to expand...
Click to collapse
Hey Bobsbbq, do you mean the thumbnail not populating a page image? If so, yes I have. The only way I've found to get the image to show up is to open each favorite site in IE.
I have been googling and researching for an hour but have had no luck, and my question is pretty basic
I am trying to get some XML files as described in this post
http://forum.xda-developers.com/showthread.php?p=17060997
into my phone. I have a registered dev phone, but I cant figure out how to get **** into the device! "
http://forum.xda-developers.com/showthread.php?t=1239329
RealEmotionX said:
I have been googling and researching for an hour but have had no luck, and my question is pretty basic
I am trying to get some XML files as described in this post
http://forum.xda-developers.com/showthread.php?p=17060997
into my phone. I have a registered dev phone, but I cant figure out how to get **** into the device! "
Click to expand...
Click to collapse
Visit my initial thread for Samsung provxml under Mango:
http://forum.xda-developers.com/showthread.php?t=1226030
That would have been perfect if the program you built worked. Thank you very much but I am going to have to seek another solution. Every time I try to use the IsoStoreSpy, the software crashes.
UPDATE
@contable and when I try your method, the application deployment program tells me the XAP is invalid.
RealEmotionX said:
That would have been perfect if the program you built worked. Thank you very much but I am going to have to seek another solution. Every time I try to use the IsoStoreSpy, the software crashes.
UPDATE
@contable and when I try your method, the application deployment program tells me the XAP is invalid.
Click to expand...
Click to collapse
My .xap file is working well on chevron unlocked devices, so it should also work on developer unlocked devices.
I can deploy the file with the official deployment tool or WPV xap deployer 1.5.
When I unzip the XAP and change any of the XML files is when it decides the XAP file is invalid. I can upload the original file.
RealEmotionX said:
When I unzip the XAP and change any of the XML files is when it decides the XAP file is invalid. I can upload the original file.
Click to expand...
Click to collapse
I have changed the xml files inside the xap 1000 times.
Did you change the file extension from .xap to .zip before unzipping ?
Here are the steps
1. Unzip files after renaming extension to .zip
2. Update XML
3. Rezip files with 7zip
4. Rename file extension to .xap
RealEmotionX said:
Here are the steps
1. Unzip files after renaming extension to .zip
2. Update XML
3. Rezip files with 7zip
4. Rename file extension to .xap
Click to expand...
Click to collapse
I use Winrar not 7zip...
Sent from my OMNIA7 using XDA Windows Phone 7 App
same result using winrar compression
is there another way to deploy apps?
Anyone have any suggestions?
Are you on Mango or NoDo? If Mango you have to do some reg edits when you get to Mango or you can't side load unsigned apps (I think; I could be wrong).
I was trying to be able to do what is described in my first post of this thread. Those tweaks can be applied and carried into Mango, I am currently on NoDo. About to give up though