Related
I'm trying to customize a few Extended ROMs here and I'm running into some stubborn CABs. When installed manually, everything works fine. No warnings, no errors. Just click the CAB, let it do its thing, then click OK.
Put these same ROMs into an Extended ROM and hilarity ensues. Some will work, others will not and I don't know why. Any suggestions on what I might be missing will be greatly appreciated.
Quick question?
Are the CAB's signed, if not are you installing the 'signed' unsign CAB 1st .
Edit: Thinking more about this (and realising that the 1st thing you do is disable signing in your ROM's ) can you provide a little more info about the CAB's (maybe an offending CAB if the content is not private?).
I managed to replicate this issue with a CAB that had a warm reset as part of it's install process (seems to bork the autoexec batch process) and I have had a similar issue with a CAB that just contained some simple OMA in the _setup.xml.
John
yes, that's the point. But how to make any Unsigned CABs become Signed?
huangyz said:
yes, that's the point. But how to make any Unsigned CABs become Signed?
Click to expand...
Click to collapse
Without wanting to sounds facetious you sign them ;-)
You would use a private key to generate an Authenticode signature for the CAB (and maybe the apps inside if you need to) however you would still need to install the ROOT certificate into the code stores on your device. Or get your app signed by a 3rd party with a certificate that has it's ROOT already on the device (MS's MobileToMarket and things like that take care of this for ISV's that need it).
Once you have the ROOT cert on the device in the correct store signing is trivial, you either use SignTool.exe from many of the MS SDK’s or just use the GUI options if Visual Studio is your poison. All you need is an export of the PKF (Private key) and the password to the certificate.
In enterprises one of the 1st things people often do before giving Windows Mobile devices out to users is to install a ROOT certificate for the enterprise onto the device in both the code and transmission stores. This means from then on you can sign in-house apps and CAB’s and they behave as signed commercial apps and you can use features like internal signed SSL for ActiveSync etc. etc.
Don’t forget you can also do away with a lot of this by installing the HTC signed “Disable Certificates” CAB 1st and then the signatures are not checked on subsequent CAB’s, EXE’s or anything code related for that matter.
djwillis said:
huangyz said:
yes, that's the point. But how to make any Unsigned CABs become Signed?
Click to expand...
Click to collapse
Without wanting to sounds facetious you sign them ;-)
You would use a private key to generate an Authenticode signature for the CAB (and maybe the apps inside if you need to) however you would still need to install the ROOT certificate into the code stores on your device. Or get your app signed by a 3rd party with a certificate that has it's ROOT already on the device (MS's MobileToMarket and things like that take care of this for ISV's that need it).
Once you have the ROOT cert on the device in the correct store signing is trivial, you either use SignTool.exe from many of the MS SDK’s or just use the GUI options if Visual Studio is your poison. All you need is an export of the PKF (Private key) and the password to the certificate.
In enterprises one of the 1st things people often do before giving Windows Mobile devices out to users is to install a ROOT certificate for the enterprise onto the device in both the code and transmission stores. This means from then on you can sign in-house apps and CAB’s and they behave as signed commercial apps and you can use features like internal signed SSL for ActiveSync etc. etc.
Don’t forget you can also do away with a lot of this by installing the HTC signed “Disable Certificates” CAB 1st and then the signatures are not checked on subsequent CAB’s, EXE’s or anything code related for that matter.
Click to expand...
Click to collapse
I am NOT a software developer so, most of your opinions sound enigmatic to me except that the last one: put the HTC signed "Disable Cert" in the 1st place of the ext-rom config.txt.
Thanks very much! I'll try later on.
gamescan said:
I'm trying to customize a few Extended ROMs here and I'm running into some stubborn CABs. When installed manually, everything works fine. No warnings, no errors. Just click the CAB, let it do its thing, then click OK.
Put these same ROMs into an Extended ROM and hilarity ensues. Some will work, others will not and I don't know why. Any suggestions on what I might be missing will be greatly appreciated.
Click to expand...
Click to collapse
most problably you forgot to set some cab file to read-only before saving the extende-rom.check the cabs atrebutes and the config.text file while inside de program that you are using to edit the extended-rom.its not because they are not signed as long you got the cert .cab set to be the first to be installed.also cab files that require user input will not work.this is from experience, as posted above.
huangyz said:
I am NOT a software developer so, most of your opinions sound enigmatic to me except that the last one: put the HTC signed "Disable Cert" in the 1st place of the ext-rom config.txt.
Thanks very much! I'll try later on.
Click to expand...
Click to collapse
So, where did you found the signed Disable_Cert.cab?
faria said:
most problably you forgot to set some cab file to read-only before saving the extende-rom.check the cabs atrebutes and the config.text file while inside de program that you are using to edit the extended-rom.its not because they are not signed as long you got the cert .cab set to be the first to be installed.also cab files that require user input will not work.this is from experience, as posted above.
Click to expand...
Click to collapse
Sorry to ping an old thread - flogging to proceed immedietly after...
Being that this is a windows device, isn't there a flag that can be passed when executing the cab - like you can on a windows installer application? Similar to setup.exe -q or whatever you're trying to do. Some flags set the answers to yes, admin mode... you get the picture. Does the cab installer engine allow similar flags to get passed with the cab execution command?
In PPC, it calls wceload.exe to install and uninstall a cab.
As shown in http://msdn2.microsoft.com/en-us/library/ms926281.aspx , the only possible argument is to ask or not ask for destination, but no quiet mode.
How can you call wceload.exe manually at ExtROM installation may be a question.
I am trying to run a program that a friend gave me when he upgraded phones.
I have a T-Mo MDA with the latest T-Mo USA ROM on it.
Whenever I try to run the app, I get th efollowing message:
The file 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.
I verified that all the files are there, and everything is in one directory. How can I alter/add "trusted certificates"? Do I need to unlock my phone for it to run?
Thanks!
With a simple click of the "Search button" I found THIS topic. Read over it.
Wolvereen said:
I am trying to run a program that a friend gave me when he upgraded phones.
I have a T-Mo MDA with the latest T-Mo USA ROM on it.
Whenever I try to run the app, I get th efollowing message:
The file 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.
I verified that all the files are there, and everything is in one directory. How can I alter/add "trusted certificates"? Do I need to unlock my phone for it to run?
Thanks!
Click to expand...
Click to collapse
try the registrywizard, available on this forum or try:
http://forum.xda-developers.com/showthread.php?t=275081&highlight=registrywizard
Thanks guys,
I found the following, however I am stuck at step 1. Can either of you assist with issuing a "Code Signing Certificate"?
Sorry, I guess I am a bit more nube than I thought...
FYI - Registry Wizard has no effect... Says my device has AKU 2.3.0 and some options will be diabled? However, "Disable Security Warnings" is checked. I applied and soft reset, still no love...
Yes I tried it and it works!
1.First you have to issue a Code signing certificate:
- Add a code signing template using Certification Authority snap-in
- Issue a code signing certificate
2. Download and Extract code signing tools:
http://ftp.intron.ac/pub/security/ra...signingx86.exe
3. Run signcode.exe on WM5 executable file using the certificate you created earlier.
4 Copy executable file to WM5 device
1. I have installed Opera Mobile on my TyTN II and it works ok, but if I go to check my mail and wants to open a link in the mail it gives me the error:
The file OperaLaunch can't be opened. It's either not signed with a trusted certificate, or one of the components are not found. If the problem continues you can try to reinstall or reinstall the file.
How do I solve that, without reinstalling Opera, or can I make it use IE instead.
2. Is there a program that can remember pin-codes, cause it's not in there as standard program?
3. How do I make a link from perhaps an .exe file? It's no problem to copy the existing links and edit them, but it has a number in front, and I can't see which number are the latest.
4. Is it possible somehow to use activesync over wifi, or do I need another program, and in that case which one?
Thanks for the help in advance and sorry if it has been answered before.
1. Search for the Opera as default browser post & pay attention to Menneysyys or see his bible here: http://www.pocketpcmag.com/blogs/index.php?blog=3&p=1828&more=1&c=1&tb=1&pb=1
2. Try roboform for PPC
3. You can copy it then paste as shorcut using Reco or other file explorer or even dewsktop. The # you see is a reference to the number of characters in the command, i.e. 46# "\Windows\Start Menu\Programs\File Explorer.exe"
4. Bluetooth is possible with a few hacks & the right version of A/S.
Thanks for the answers
I'll try when I get home, and return if there are any more answers
Hi I am trying to create CABs from OEM Package. The cabs i want to create are below.
This Touch HD is a Orange branded phone and the HTC Streaming Media is removed by Orange. I do not at this point want 2 do a Rom upgrade.
I have tried various Streaming Cabs form this forum. The streaming cabs that do work will only stream over GPRS and not wifi.
I tried duttys streaming cab but get error of file type not supported, which i presume is because the StreamingSrcFilter is not present.
1. PACKAGE_BlackStone_StreamingMedia_HTC_All
2. PACKAGE_BlackStone_StreamingMedia_HTC_All_0409
3. PACKAGE_BlackStone_StreamingSrcFilter
4. PACKAGE_BlackStone_StreamingSrcFilter_0409
I have looked about the forum and cannot seem to find infromation on
OEM Package > Cab there is infromation on Cab > Package.
I will pay to be pointed in the right direction
Kind regrads
There are tools for this, although I've never used them personally. I don't know how well they work, I do it manually with WinCE Cab Manager.
Normally I'm creating cab files manually using WinCE CAB Manager.
cost
vangrieg said:
There are tools for this, although I've never used them personally. I don't know how well they work, I do it manually with WinCE Cab Manager.
Click to expand...
Click to collapse
if i send the packages will u create cabs - just let me know how much the cost is
help creating cabs
makkad said:
Hi I am trying to create CABs from OEM Package. The cabs i want to create are below.
1. PACKAGE_BlackStone_StreamingMedia_HTC_All
2. PACKAGE_BlackStone_StreamingMedia_HTC_All_0409
3. PACKAGE_BlackStone_StreamingSrcFilter
4. PACKAGE_BlackStone_StreamingSrcFilter_0409
I have looked about the forum and cannot seem to find infromation on
OEM Package > Cab there is infromation on Cab > Package.
I will pay to be pointed in the right direction
Kind regrads
Click to expand...
Click to collapse
Have a look and let me know the cost for creating the cabs.
Here you go ...
If you want to, you can spend me some beer .
bbc iplayer orange branded HTC touch HD getting there
johnpatcher said:
Here you go ...
If you want to, you can spend me some beer .
Click to expand...
Click to collapse
thanks John, it works, over 3G but wifi seems to be a problem will have a play around but in the meantime enjoy the beer. paypal sorted
makkad said:
but wifi seems to be a problem will have a play around
Click to expand...
Click to collapse
I can't imagine that the application has any problem with wifi. Is your wifi set up correctly? Maybe you have some network issues (no nameserver, or something like that)?
johnpatcher said:
I can't imagine that the application has any problem with wifi. Is your wifi set up correctly? Maybe you have some network issues (no nameserver, or something like that)?
Click to expand...
Click to collapse
I belive its the custom brarnding done by Orange, They installed PVplayer 2 do the streaming this was optmized for the Orange TV (subscription service)
Orange must have configured the connections so that the streams are done over Wifi rather than GPS.
I have added the connection packages that I think will remove this barnding if you could you also make these into cabs for me.
I am sorry to hijack this thread but i have been trying to convert a package to a cab for installation and so far i have been unsuccessful
I use WinCE cab manager to import the files but how exactly do you find the registraty entries relevant for each package?
makkad said:
I have added the connection packages that I think will remove this barnding if you could you also make these into cabs for me.
Click to expand...
Click to collapse
I have attached them here. I haven't tested a single one of them, so maybe some of them don't work. Just report back .
mkouk said:
I use WinCE cab manager to import the files but how exactly do you find the registraty entries relevant for each package?
Click to expand...
Click to collapse
Any registry information is stored within the appreciate "rgu" files, which come along with the oem package.
thanks will give them a try now
move post up in tread
mkouk said:
I am sorry to hijack this thread but i have been trying to convert a package to a cab for installation and so far i have been unsuccessful
I use WinCE cab manager to import the files but how exactly do you find the registraty entries relevant for each package?
Click to expand...
Click to collapse
hi Hi I am looking at how to create cabs from packages also Johnpatcher is creating packages 2 cabs for me right now.
This link has helped me create initflashfiles file which holds some information that will needed for wince (I think). i am still using google to find a solution.
well here is the link http://www.xdasite.com/showthread.php?t=1086
please post back if you can contribute more to this. In the meantime speak to John Patcher if you want cabs creating.
mkouk said:
I am sorry to hijack this thread but i have been trying to convert a package to a cab for installation and so far i have been unsuccessful
I use WinCE cab manager to import the files but how exactly do you find the registraty entries relevant for each package?
Click to expand...
Click to collapse
johnpatcher said:
I have attached them here. I haven't tested a single one of them, so maybe some of them don't work. Just report back .
Any registry information is stored within the appreciate "rgu" files, which come along with the oem package.
Click to expand...
Click to collapse
Hi I have installed them and there were no problems. But they did not solve me issues with the phone using GPRS even though a WiFi connection is available. I used a dummy GPRS connection and streaming over Wifi works.
So some where on the phone Orange must give a preference to use GPRS.
If you could create these cabs that i will attache I will see if this solves the problem.
I did another search on the forum and for bbc iplayer problems and pointed to this thread. the post i did is
http://forum.xda-developers.com/showpost.php?p=3554208&postcount=195
This packages you created seems to have helped indivduals as the views are now 13 but no feedback as yet.
The Pv package I hope to use to remove PVplayer
Again thanks
Ps I have I can extract pacakages create initflashfiles am i far of from creating packages.
Here you go. I had to upload to Rapidshare, as the forum had rejected the archive .
I haven't tested them, just as above .
makkad said:
Ps I have I can extract pacakages create initflashfiles am i far of from creating packages.
Click to expand...
Click to collapse
You don't need any initflashfiles in order to create cab files. initflashfiles are useful when you create oem packages out of cab files .
But I guess these packages won't solve your problems, normally something like that is done with some registry entries.
Why you don't just use an unbranded rom?
johnpatcher said:
I have attached them here. I haven't tested a single one of them, so maybe some of them don't work. Just report back .
Any registry information is stored within the appreciate "rgu" files, which come along with the oem package.
Click to expand...
Click to collapse
Thanks for the information Johnpatcher. I was extracting the rgu file and somehow it was not showing as extracted in the folder because of my folder view settings! duh
i have managed to import the reg file and my application installs successfully but when i am trying to run the application i get the message "The file cannot be opened. Either it is not signed with a trusted certificate or one of its components cannot be found."
What am i doing wrong?
mkouk said:
What am i doing wrong?
Click to expand...
Click to collapse
Either you have done something wrong , or you security policy isn't right, you can adjust it using Advanced Config or HDTweak.
johnpatcher said:
Here you go. I had to upload to Rapidshare, as the forum had rejected the archive .
I haven't tested them, just as above .
You don't need any initflashfiles in order to create cab files. initflashfiles are useful when you create oem packages out of cab files .
But I guess these packages won't solve your problems, normally something like that is done with some registry entries.
Why you don't just use an unbranded rom?
Click to expand...
Click to collapse
thanks John . it does works I will live with the Wifi creating dummy connections.
Thanks
johnpatcher said:
Either you have done something wrong , or you security policy isn't right, you can adjust it using Advanced Config or HDTweak.
Click to expand...
Click to collapse
I have checked the security policy and through Advance Config i have disabled the checking certificate notification when installing so no issues there. The problem arises after the cab is installed when i am trying to run the application i get the error message.
After hours of no help from searching, please tell me how I can download zip files with my 8925 Tilt! I continuously get a message stating Central directory could not be found denying me the download. Will some one help myself and others with this?
THX!
8925 Tilt
You can try this.
Edit: found your name asking same question in ppcgeeks with no answer.
Update: Probably it's a problem caused by web-server, nothing to do with client browaer side, check here:
http://forum.maxthon.com/viewthread.php?tid=6217&extra=&page=3
wg5566 said:
You can try this.
Edit: found your name asking same question in ppcgeeks with no answer.
Update: Probably it's a problem caused by web-server, nothing to do with client browaer side, check here:
http://forum.maxthon.com/viewthread.php?tid=6217&extra=&page=3
Click to expand...
Click to collapse
Thanks for trying to help me, but no go. Isn't there a tweak for the command line of zip file in the registry?
Can you open a zip file from local, ones already in your phone?
wg5566 said:
Can you open a zip file from local, ones already in your phone?
Click to expand...
Click to collapse
Yes, ones I already had on my SD card from my previous device -Wizard.
What if you install pocketrar (or another zip tool other than current default) and set it as default app to open zips?
I still think it's server side probs. Especissially if it not happens to all site. How many web-sites you tried?