Help - file cannot be opened. not signed - Windows Mobile Development and Hacking General

I installed a medical program that is intended for wm2003 that someone altered so it would run on wm5/6, after softreset, some programs don't run. It says "the file 'autorun' cannot be opened. Either it si not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
I get this with a lot of programs. I uninstalled this software and nogo. I can't even reinstall .net 3.5 or .net 2.0.
Weird problem...thanks
Chris

noellenchris said:
I installed a medical program that is intended for wm2003 that someone altered so it would run on wm5/6, after softreset, some programs don't run. It says "the file 'autorun' cannot be opened. Either it si not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
I get this with a lot of programs. I uninstalled this software and nogo. I can't even reinstall .net 3.5 or .net 2.0.
Weird problem...thanks
Chris
Click to expand...
Click to collapse
Happened to me too.
Hard reset was my only choice. I tried twice with the same result.
I completely deleted it as it messed up everything.

search the forum for msigner install on your desktop signs the exe and should sort the problem

chrisd1a1 said:
search the forum for msigner install on your desktop signs the exe and should sort the problem
Click to expand...
Click to collapse
Thanks, I tried it and even after signing several files, the ppc still says not signed... any ideas what files the ppc uses to check signing? Maybe I can replace those and be done.
Chris

noellenchris said:
Thanks, I tried it and even after signing several files, the ppc still says not signed... any ideas what files the ppc uses to check signing? Maybe I can replace those and be done.
Chris
Click to expand...
Click to collapse
I tried the same, deleting the files that were still installed (one ROM file was overwritten), but HR was the solution. Keep looking for the fault took longer that a HR anyway, didn't made sense at some point.

dan1967 said:
I tried the same, deleting the files that were still installed (one ROM file was overwritten), but HR was the solution. Keep looking for the fault took longer that a HR anyway, didn't made sense at some point.
Click to expand...
Click to collapse
Agreed, HR performed....still trying to find the cause though, maybe I can help someone else with an easier fix. Thanks
Chris

Related

Slightly OT - how to install Jumlix? "Not signed"

I tried installing it and when I try to run, it reports
The file 'evm' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. You might need to reinstall or restore this file.
Click to expand...
Click to collapse
Anyone know how?
Re: Slightly OT - how to install Jumlix? "Not signed&qu
xiasma said:
I tried installing it and when I try to run, it reports
The file 'evm' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. You might need to reinstall or restore this file.
Click to expand...
Click to collapse
Anyone know how?
Click to expand...
Click to collapse
I've gotten this message with a few applications that I installed to my SD card. When I uninstalled them and reinstalled them to my device they worked fine. You might want to try that.
HTH,
Brett
No luck, but thanks for having a stab. I wonder if it needs the specific JVM rather than whatever is currently installed?

GPRS Monitor

I cannot install GPRS Monitor from myO2 CD, it says i need to update my ROM, i did a corporate install btw
Anyone else had any probs?
Another forum member had this same problem when installing the ClearVuePDF Reader also supplied by o2 as part of the HTC application suite. He has the MDA, but flashed with the o2 Exec ROMs and then installed in Corporate mode.
From work we did together, it appears to be just the install program that was not validating his device. When I tried a hard-reset and Corporate mode install, I had no problems installing. However, its beginning to look as though a hard-reset does not totally clear the Exec's memory. In his case, I found all the individual files and registry settings needed for ClearVuePDF to run and he copied those to the device. Runs perfectly for him like that.
So I'm afraid you'll have to find somebody with the o2 version of GPSMonitor installed and get them to determine all the files/locations and registry-settings needed to get it to run. Unfortunately I don't have a GPRS connection or GPRSMonitor installed.
Just a thought. Have you yet tried a full o2 Personal mode install on your device? It just might be this action that puts 'something' in memory that is not cleared by a hard-reset, and that 'something' might be what the install program is looking for.
Sorry that I can't be more helpful.
No problem thanks for your help
dazzled said:
I cannot install GPRS Monitor from myO2 CD, it says i need to update my ROM, i did a corporate install btw
Anyone else had any probs?
Click to expand...
Click to collapse
I did a basic install and I get the same error. Sorry, Not much help though.
Daz
Me too. The ClearVuew PDF reader is rubbish! Text misalighed all over - Adobe with pixel doubling is better than this.
Please try this
Could one of you having a problem to install the o2 supplied GPRSMonitor, please try installing the attached .CAB after copying it to your device.
This CAB is extracted from the CD-ROM install program, so hopefully skips the validation stuff. With luck you might be able to get around the failed validation by installing from this CAB.
Note: Even if asked to install to Storage Card, the o2 supplied version (2.3.0 build 600) puts very little there, most goes into device memory. The current version 2.41 from spb will obey the instruction to install to SD-Card, but wasn't reliable when run from there - the monitoring part aborted four times in 10-minutes whilst I was playing with it.
Unfortunately, since I don't have the install problem, I can't test this install out.
It works a treat. Thanks muchly!
Ward said:
It works a treat. Thanks muchly!
Click to expand...
Click to collapse
Am I glad about that - I was in the midst of trying to locate all the files/registry entries needed for a manual install.
Perhaps I can go to bed now! :wink:
I also managed to 'locate' another copy and it works fine, thanks for all the help.
astage said:
However, its beginning to look as though a hard-reset does not totally clear the Exec's memory.
Click to expand...
Click to collapse
I can confirm this but with other files. After several hard resets (even with the clear storage icon), the pictures I had taken were still there.
Tron_Of_Borg said:
astage said:
However, its beginning to look as though a hard-reset does not totally clear the Exec's memory.
Click to expand...
Click to collapse
I can confirm this but with other files. After several hard resets (even with the clear storage icon), the pictures I had taken were still there.
Click to expand...
Click to collapse
Ouch! I didn't realsie it was as bad as that.
The situation is made worse by the backup program I'm using (Sunnysoft Backup Manager) not backing up all the data and settings. Neither does it perform a true restore - just merges the backup with what's there after the hard-reset.
Unfortunately, I'm used to HP's backup applet from the Jornada 928; which performed a total backup/flush restore. Are there any other applets for WM5/universal that really performs a full backup/restore?
Does anyone have this cab please? I have just bought a new O2 exec and am having the same problem with it saying my ROM version is too old!!
sorry ignore that post! Work computer blocked the file out
I am running my XDA EXEC in basic mode. When I tried copying the .cab file to my device and running it from there , still get the problem.
Any suggestions ?
I was running personal mode then switched to basic mode, could this cause the problem.
Thanks for you replies in advance.
Cannot remove GPRS monotr app
I installed this file to test it out om M3000. Unfortuntely I cannot seem to uninstall it now! It doesnt show up in my Program list - How do you uninstall it?
I looked in the \\windows folder and removed all files and shoretcuts I could find, but its still showing up on my 'today' screen with an error.
Any ideas? The registry?
Cheers
rob
Linuxgeek:
I was also getting the ROM version problem installing programs to my SD card on my O2 exec. Since I'd only just added the card and was running the basic installation, I did the following:
1) Hard reset
2) Personal Install
3) Re-install ActiveSync on PC
This did the trick. Thankfully I like the Personal install best anyway, but I don't know if that step was necessary.
Tried it. Still get the problem :-(
My mistake - I managed to install the Clearvue PDF program, not the GPRS monitor program. I'm still getting the ROM version error with the GPRS monitor program, but I've not tried the above download yet.
Anyone got any other ideas to fix this problem.
Shame O2 don't have an update to fix this problem on their website.
I've now tried the CAB posted above by astage and I can confirm it worked for me. Just copy the CAB to your device and then open it to start the install.

HTC Home 2.0

Found Kaiser.HTC.Home.v2.0.814.722-schen.cab in the Hermes forum:
http://forum.xda-developers.com/sho...hlight=Kaiser.HTC.Home.v2.0.814.722-schen.cab
Versin 2.0 allows you to add a diffrent number to favorite People (1.5 defaults to the mobile thus you need to create a new contact to use the Office number.).
Well that is the good news, the bad is that I cant get it to work on my BA
It installs well.
Under Start - Settings -Today - Items - It adds a HTC Home Tab.
The tick boxes work fine (fast as well JOKE).
And on the Today screen it adds Nothing.
I have done a old uninstall, new install, wait, softreset, wait.
This is a patched version based on the thread so may be the clean version would work.
So has anybody got Version 2.o to work on a BA ??
That's v 2.0.720719.
2.0.814.722 is here: http://forum.xda-developers.com/showthread.php?t=327646
DANDANA said:
That's v 2.0.720719.
2.0.814.722 is here: http://forum.xda-developers.com/showthread.php?t=327646
Click to expand...
Click to collapse
SOME PICTURES PLEASE!!
I didn't try it and MDAIIIUser said isn't working on BA....yet
It looks the same as 1.5 with aditional options, but i can't get it to work either, i install needed certificates but still nothing
xplode said:
It looks the same as 1.5 with aditional options, but i can't get it to work either, i install needed certificates but still nothing
Click to expand...
Click to collapse
2.0.xxx.xxx work much better than v 1.5....thrust me.
Are you able to get v2.0.7xx.xxx to work?
You can see that v 2.0.8xx.xxx and v 2.0.7xx.xxx and v1.5.xxx.xxx all using DIFFERENT certificate to sign. That is my experimenting on the certificates thing. All work OK with my Hermes. Maybe it is certificate thing...maybe it is other matter that prevent the new version from working correctly for BA. But really I DONT see any reason other than certificate. You can try to sign the dll with other certificates to see if it work or not.
I only patch the dll to enable instalation outsite of windows directory and to fix the brightness shortcut. Other than that nothing. So, this should not be the issue
Congratulation guys WM6 finally arrived for BA and Hima user. I should have hold my thrustworthy Hima longer I dont have to upgrade, BUT Hermes ROCKS, no regret.
Thanks schen for your input, i have tryed al the 2.0.x versions with the same certificates (looked mainly into hermes forums) provided for hermes, but the home settings show in today options and the plugin just does not load. I agree that this is certificate error i will try to sign them with difrend certificates to see what will happen
regards xplode
Edit: I have tryed both 2.0 versions on clean hard resseted rom with both certificates installed and none ot them does not work for some reason, now i will try to sign the dll's with sdk certificate to see the results
Anyone have any luck with Home 2.0 on BA?
Same problem with HTC Plus.
I think the problem is certificate sign.
Just to let you know that this issues is just not with your devices, we are also seeing the same problems with the Apache running Helmi's port of WM6. It shows in settings, but nothing on Today screen. Have tried certs and signing as well.
However, both 2.x versions work fine with the Titan running WM6. My thought was that there were some remnants from the WM6 port that were still using WM5.
maybe you are right, because i signed all files with one certificate and then with another ans it is the same result
If you guys have install the sdkcerts.cab before installing home then I dont think it is certs problem...it is more like device specific security setting problem
Maybe you guys can take a look at the WM5 security...each of the ROM might have different default setting. Some device even dont allow security setting to be change.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/wmsecurity.asp
I will also try copying the SampleDevPrevCert.pfx to the device and click on it. It will add the root cert to the thrusted certificate store. It may work it may not but very simple and worth a try.
Bottom line, if you try the "No Security" setting which allow all signed or unsigned apps to pass and the HTC Home still not working then I dont have any idea anymore.
Please try....
Out of curiosity why v2 of HTC home working on certain device and rom and not working on others, I have resigned all the dll, exe, and mui files with my own certificate.
Installation note in the Readme file inside the zip.
I am looking for some people to try if the cab work. As soon as 2-3 report still not working I will delete the attachment.
Test it, i couldn't install at all; "installation of ... was unsuccessful"; thanks anyway Schen.
Now installing, will keep you posted in few minutes
the instalation of the cab is unsuccessful (the home cab)
DANDANA said:
Test it, i couldn't install at all; "installation of ... was unsuccessful"; thanks anyway Schen.
Click to expand...
Click to collapse
Same error message for me
schen said:
Out of curiosity why v2 of HTC home working on certain device and rom and not working on others, I have resigned all the dll, exe, and mui files with my own certificate.
Installation note in the Readme file inside the zip.
I am looking for some people to try if the cab work. As soon as 2-3 report still not working I will delete the attachment.
Click to expand...
Click to collapse
I tried 3-4 times, but always installation of HTC Home cab was unsucessfull
Hi Schen,
Thanks for your help with this issue. I can confirm DANDANA's results on my Apache (Helmi's WM6 AKU .7) with no prior version of HTC Home installed. Your cert cab installs OK but the Kaiser.HTC.Home.v2.0.814.722.Resigned-schen.cab fails to install.
I believe this is due to the mui files (from my own experience in trying to unsign/resign them I think the certificate table gets corrupted somehow).
I sent you a PM earlier, but would it be possible to obtain a copy of all of the original HTC Home 2.0.814.722 PE files (prior to any hex editing & re-signing)? Helmi would like to take a look at it since it seems to be an issue with his WM6 ROMs (also affects his AKU .42 release for APAC).
Thanks again!
i have removed flags in cab for the self registering and shared for WmpPluginToday.dll and now it installs but it still does not work
xplode said:
i have removed flags in cab for the self registering and shared for WmpPluginToday.dll and now it installs but it still does not work
Click to expand...
Click to collapse
Yes....I forgot to remove the self registering of the plugin, that is the cause of installation unsuccessfull....Earlier I tested this on my hermes manually coying the files and it work OK.
I have remove the cab. AT least I am convince by now it is not the certs thing.
Luv...got your PM...I will have to look for the original HTCHome.dll if I still have it. As I said before....the hack I did was just to change the default directory (\windows) to (\HTCHome) for the graphics AND change it to call HTCUti1.dll instead of HTCUtill.dll...They are unicode hex editing only. You could hex edit and change "\HTCHome" back to "\Windows" and "HTCUti1" back to "HTCUtill", resign it and everything is back to original. The mui files came unsign. I have to sign the mui files to get it to work for hermes.
In the mean time....the main difference between v 1.5 and v 2.0 is the "PROFILE" Tab...Try to install, disable the "Profile", reset if necessary to see if it work. The attached cab only enable the Home tab by default...if it work, you can enable all other tabs one by oneto see which tab is causing the problem.

G'Reloc error...

I'm getting crazy over here...
from one moment my G'reloc does give me errors when applying.
It says:
Can not open file C:\Kitchen\SYS\***\***
*** = a different map/file each time
I tried different G'Reloc.exe files and used different SYS-folders (even ones that worked before without any problems)
Can not cook roms anymore because they will not boot somehow...
Please help me with this weird error..
What are the files it's trying to access?
Also check out the IRC room they have, if it's still up at least.
TheChampJT said:
What are the files it's trying to access?
Also check out the IRC room they have, if it's still up at least.
Click to expand...
Click to collapse
It's a different file each time....beats me...
But often it is one of the bluetooth related files....
Maybe the files you downloaded were corrupted. Try manually replacing the files, or just uninstall and reinstall the kitchen.
TheChampJT said:
Maybe the files you downloaded were corrupted. Try manually replacing the files, or just uninstall and reinstall the kitchen.
Click to expand...
Click to collapse
Ok I know a little bit more...:
I formatted my laptop and did a clean install of windows...
After that g'reloc worked again.
I installed all programs I always use on my pc again.
And today when I used G'reloc again I get the same error each time. Even if I use different locations or diffirent SYS folders (also ones I know they work!)
Which program or setting interacts with G'reloc???
Merten i don't use that program because i don't know what it does.
But i tryed to open it but i think i got the same error as you got.
Is it something like this: cannot open file (root\dir\imageinfo.bin).
And then you only have one option to click the ok button (this will exit the program)?
Know i tryed some other g'reloc programs what i got and the all gived me the same error pointing to the imageinfo.bin and then give me one option to click the ok button.
But there was one g'reloc program what did work and gived me no error.
I send a email to you with g'reloc.exe so it could be that it will give your virusscan some trouble because it is a .exe file I hope it will work for you.
I will back in some hours so i can't respons to your questions so fast.
menomenic said:
Merten i don't use that program because i don't know what it does.
But i tryed to open it but i think i got the same error as you got.
Is it something like this: cannot open file (root\dir\imageinfo.bin).
And then you only have one option to click the ok button (this will exit the program)?
Know i tryed some other g'reloc programs what i got and the all gived me the same error pointing to the imageinfo.bin and then give me one option to click the ok button.
But there was one g'reloc program what did work and gived me no error.
I send a email to you with g'reloc.exe so it could be that it will give your virusscan some trouble because it is a .exe file I hope it will work for you.
I will back in some hours so i can't respons to your questions so fast.
Click to expand...
Click to collapse
Thanx man for the effort. But I did not receive a thing... did you mail to:
[email protected]?
If your back maybe you can upload to rapidshare?
Thanx anyway!!
Well, I came across two things in PPCGeeks forum. People reported errors when they were running G'reloc on FAT32 en fixed it by changing to NTFS.
The other thing was that people reported a fix by just disabling their antivirus program. This might explain why it worked before you started installing all your programs on a clean windows install. I hope it works for you as well because I really like your roms
Maart84 said:
Well, I came across two things in PPCGeeks forum. People reported errors when they were running G'reloc on FAT32 en fixed it by changing to NTFS.
The other thing was that people reported a fix by just disabling their antivirus program. This might explain why it worked before you started installing all your programs on a clean windows install. I hope it works for you as well because I really like your roms
Click to expand...
Click to collapse
WOOHOOOO!!!! the Virusscanner was the problem!!!! I use kaspersky for a year but probably since a recent update it messes up g'reloc....
I will be cooking again.....!!!!
Thanks for the great tip!!!!!
Next time, please post questions in the Q&A section.
thank you

SOLVED:::How to digitally sign a cab with a trusted certificate

hi
Im basically developing this titanium modification, it's already finalized and ready for cab'ing....ive tryed CE Cab manager, quikcab and they both succesfully build the cab perfect but when i go to install it i get the "installation has been unsuccesful because it is not digitally signed with a trusted certificate".....so how do I "sign" a cab?...ive installed sdcerts, ive tryed editing the xml/INF files and still no luck..ive tryed googled, looked thru the forums, n nothing....any ideas? ive attached the cab too
THNX!
usually it's sufficient to install sdkcerts followed by soft reset. however the original certificates expired on 31/12/09 so you need to make sure your sdkcerts contains the new certificates from 2010. I personally don't know about an updated sdkcerts and I installed the new certificates manually. they are available from microsoft. developers.windowsphone.com I think. and make sure to first remove ALL of the old ones, otherwise it won't work.
Download the new certificates here: http://htcpedia.com/news/new-certificates-out-for-windows-mobile-developers.html
Is there a cab with these updated certificates anywhere?
well i signed the two files that needed to be signed so you should be good to go on the install...also here is the signer program to do so in the future...
I have msigner with the updated certificates. The problem I am running into is in getting the certificates on my phone. I have tried to install manually, I have tried to delete and reinstall. But when I move a signed file to my phone it is not recognized. The sdkcerts file appears to have the certificates that expired 12/31/2009.
I have searched high and low, asked just about everywhere and cannot find a cab for the new certificates.
bboyle said:
I have msigner with the updated certificates. The problem I am running into is in getting the certificates on my phone. I have tried to install manually, I have tried to delete and reinstall. But when I move a signed file to my phone it is not recognized. The sdkcerts file appears to have the certificates that expired 12/31/2009.
I have searched high and low, asked just about everywhere and cannot find a cab for the new certificates.
Click to expand...
Click to collapse
Here ya go
jdmsleepr said:
well i signed the two files that needed to be signed so you should be good to go on the install...also here is the signer program to do so in the future...
Click to expand...
Click to collapse
WOW...you dont understand....THANK YOU!!!!!!!!!!!!!!!!!SO MUCH....like really thank you...
NilsP; said:
Here ya go
Click to expand...
Click to collapse
Thanks NilsP, i'll try this later today.
Double thanks, this works.
Doesn't one need a package called no cert also ?
Not sure what "no cert" is. unsigner works on most files. I have found a couple of dll's off of my Imagio that are not affected by unsigner though.

Categories

Resources