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 know it is maybe very stupid question but really how can I add a certificate so I can use my on-line banking.
thanks in advance.
I know you can double-click .CER files and they will be imported to the Certificate settings. I added my Equifax SSL certificate that way, it shows up under "Intermediate" certificates.
thanks - it worked !!!
Hey Guys,
can someone upload me a working copy of his QuickGPS?
I use Windows Mobile 6.1 and quick GPS just says "Could not connect, try again later" since 4 month.
I dont know if it matters, but I have a German Version of the ROM.
TomTom is working, but needs about 5-10 min to find all satelites...
So could someone send me please a original QuickGPS so I can overwrite my registry and files?
Please
I managed to uninstall my QuickGPS, but now I need a QuickGPS Install CAB
I installed Simple Calendar yesterday from store. The app does not start and uninstalling it didnt remove everything and the app is still present in apps list. The store says I have it installed, so I cant instal it again. Storage sense does not list it, so Im SOT and have this ghost app in my apps lis now.
Can someone please go to the apps folder and take Simple Calendar installation files, so I can make a .xap and try to sideload it to my Ativ and that way fix it so I can uninstal it!
Please guys someone, its easy. Just enable full FS access from SamWP8Tool, navigate to: Data\programs\
Simple calendar folder there is: 977e5d54-01d8-4cf8-9891-da9579ce2692
Copy the instal folder to your pc and send a download link in PM to me. I can try to make a .xap from that and try to fix this without having to hardreset!
I have Simple Calendar folder present, but they are empty so I cant make a .xap from my device.
Please guys someone, it will only take few minutes. THANKS!
Heres a topic about the procedure http://forum.xda-developers.com/showthread.php?t=2462730
Please somebody... Seems that this is the only thing I can try besidess hard reset, if I want to get rid of this app from my programs list.
You do know you can't sideload a XAP with the same Product ID as a store app, right?
Also, you seem a little more desperate than the situation calls for.
GoodDayToDie said:
You do know you can't sideload a XAP with the same Product ID as a store app, right?
Also, you seem a little more desperate than the situation calls for.
Click to expand...
Click to collapse
No I didnt know that, I thought I could "overwrite" it... I think I did it with one app I made a backup from, did the xap and tested it by deploying it over the original installation from the store. If its not possible, maybe I remember it wrong and actually uninstalled it before deploying it.
And yes your maybe right, but I still would like to get rid of this stupid installation if possible, without a hard reset.
I've Hijack Samsung Drivers and Services to Lumia Device.
All .Dsm .Reg files working fine. All registry entries has been successfully applied.
Placed "Non-Production Errors.txt" to Phone Documents Folder.
But RPCComponent.winmd not working yet. (External Component thrown an Exception Errors)
I've attached Package files here. It's from Samsung Ativ S GDR 1 Image.
C:\Windows\Packages\DsmFiles\Samsung.M8X30SOC.FCRouter.dsm.xml
C:\Windows\Packages\RegistryFiles\Samsung.M8X30SOC.FCRouter.reg
C:\Windows\Packages\RegistryFiles\Samsung.M8X30SOC.FCRouter.rga
C:\Windows\System32\CSCMgr.dll
C:\Windows\System32\FCRouter.dll
C:\Windows\System32\FMFTM.dll
C:\Windows\System32\Drivers\FCDriver.sys
C:\Windows\System32\Drivers\FCRouter.dll
C:\Windows\System32\CATROOT\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Samsung.M8X30SOC.FCRouter.cat
djamol said:
I've Hijack Samsung Drivers and Services to Lumia Device.
All .Dsm .Reg files working fine. All registry entries has been successfully applied.
Placed "Non-Production Errors.txt" to Phone Documents Folder.
But RPCComponent.winmd not working yet. (External Component thrown an Exception Errors)
I've attached Package files here. It's from Samsung Ativ S GDR 1 Image.
C:\Windows\Packages\DsmFiles\Samsung.M8X30SOC.FCRouter.dsm.xml
C:\Windows\Packages\RegistryFiles\Samsung.M8X30SOC.FCRouter.reg
C:\Windows\Packages\RegistryFiles\Samsung.M8X30SOC.FCRouter.rga
C:\Windows\System32\CSCMgr.dll
C:\Windows\System32\FCRouter.dll
C:\Windows\System32\FMFTM.dll
C:\Windows\System32\Drivers\FCDriver.sys
C:\Windows\System32\Drivers\FCRouter.dll
C:\Windows\System32\CATROOT\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Samsung.M8X30SOC.FCRouter.cat
Click to expand...
Click to collapse
Is it free to copy files in this folders only using MTP hack or you did something else to copy these files ?
as I remember you have to run RPCComponents service too .
also you can find witch services are running (someone share xap file to see all running services let me search for it )
@ngame
I did this using InteropServices cap and RPC lib's from extras+info app.
Some "NdtkSvc", "NokDeviceHubSvc" services runs as LocalSystem so there is no any restriction for read/write.
Wait, I'll send you a auto-patcher xap 2moro.
djamol said:
@ngame
I did this using InteropServices cap and RPC lib's from extras+info app.
Some "NdtkSvc", "NokDeviceHubSvc" services runs as LocalSystem so there is no any restriction for read/write.
Wait, I'll send you a auto-patcher xap 2moro.
Click to expand...
Click to collapse
Ok so it need to be replaced with ex info yes ?
But my doesn't support sd card i have to test somewhere else
So, OEM uses their own custom service host. M I Ryt ?
djamol said:
@ngame
I did this using InteropServices cap and RPC lib's from extras+info app.
Some "NdtkSvc", "NokDeviceHubSvc" services runs as LocalSystem so there is no any restriction for read/write.
Wait, I'll send you a auto-patcher xap 2moro.
Click to expand...
Click to collapse
can u plz send me the xap too