Related
I personally got no success installing both Qtek and i-mate .CAB files, provided to setup my Operator settings (TMN in Portugal) into a Qtek9000!
So, need to repeat the manual procedure, everytime I reinstall the unit. :evil:
It runs well for the MMS client settings, but not for the 'internet GPRS', 'MMS GPRS' and 'WAP GPRS' settings, which do not get into effective configuration.
Examining the correspondent .CAB files, also realised that 'MMS Client settings' are installed through a .REG method, while remaining settings are defined into a .XM file (CM_Entries.xml), despite they seem to be registry tweaks as well.
- Anyone with similar experiences?
- What may be getting wrong with these .XML setups or .CAB files?
- How to install/load settings directly from a .XML file, without using it into a .CAB?
- Why the operator settings (and others?) are always set via .XML and not through regular .REG files? Not possible?
Can I use a .XML file to do the same as a .REG file, and vice-versa?
How to load the .XML settings, without of a .CAB file?
Why use .XML files?
What does .XML files do, that we can't do the same with a .REG file?
My goal is to get the TCP data from a TCP application on the pocket pc
like data from internet explorer or active sync. I want to write a proxy
that forwards all TCP data to the application server (Web server,...).
So I have tried to replace the ws2.dll with a wrapper dll that forwards all
winsock API calls to the original ws2.dll. But when I replace the ws2.dll file
with my own and make a softreset the device hangs in boot screen and
I must do a hardreset. Could not get this to work on WM5 but it works great
on WM2003 devices.
So I have tried another thing. Have heard about API hooking and want to
try this with winsock API functions (connect, WSAConnect, send, recv,...).
After several days of investigation in some forums I have found many
informations about API hooking and API sets win WM5. But when I look
deeper there is no server process for winsock API calls. So I cannot
change the method adresses.
Another idea was to hook LoadLibrary() API function and when ws2.dll is
loaded from an application I will load my own dll and forward all calls to
the original ws2.dll. But LoadLibrary() has also no server process.
Has anybody another idea how to do this?
Thanks for any information on this.
Houser
Hi Houser!
I think the reason your original method failed on WM5 is because all system DLLs must be signed or the system will not load them.
There are several threads on this forum (sorry, can't remember precise link right now) that explain how to create\use certificates, and sign files, so just search for that.
Good luck.
Thanks levenum for your reply.
I also have thought about signing the dll but I have disabled certificate
check on the WM5 device with the Cert_SPCS.CAB file and now
my system loads every dll without asking the user.
I have written some test applications that explicite load my ws2.dll with
a different name (ws2xx.dll) and then in my ws2xx.dll I load
the org ws2.dll from \windows dir and all worked fine. I can use
any winsock function and can make TCP connects and so on.
So I think signing is not the problem, only when I do not use
the Cert_SPCS.CAB file to disable it?
Or are system file always checked at boot phase?
That would then explain the problem maybe.
Regards
Houser
I am pretty sure system files are treated separately. I once used a device with no cert ROM, which ran all programs and loaded DLLs without asking for certificate, but refused to do so for system files (MUIs).
I think you should give certificates a chance before moving on to more complicated solutions.
So I should try to sign my wrapper dll with a certificate.
So I will try to sign with the Visual Studio 2005 developer
certificate. And then I must install this certificate on my device
so that the system trusted the dll file with this certificate?
Houser
Another thing: What do you mean with MUIs?
That's correct.
There are provisioning CABs in the 2005 SDK. You just run them on your device and they insert all the test certificates.
SDK also shows how to provision devices through RAPI, but most WM5 ROMs block that option.
Also you should use the 'privileged' execution certificate to make sure you have maximum access to the system.
MUIs are duplicate system DLLs that contain resources for other languages. For example: coredll.dll.0409.mui will contain English resources for coredll.dll (409 is hex for English code page). They are used to switch interface languages both on PC windows and mobile. (Metalanguage User Interface).
P.S.
If you want, there are XML templates for provisioning CABs in the SDK, and makecert.exe that let you create your own certificate and put it on the device.
Another thing: What do you mean with MUIs?
So I have tried this:
1) Installed the SdkCerts.cab certificates on the device (copied the file on
the ppc and tap in explorer on it) A success message was displayed from
the setup process.
2) In VS2005 I have set in the project settings the cert signing to "Sample
Privileged Root for windows mobile SDK" certificate and rebuild my dll.
In the dll file properties I can see the certificate.
3) Have copied my ws2.dll file to \windows and replaced the org ws2.dll file
there, my dll loads a copy of the org ws2.dll (ws2copy.dll) that is also
in the \windows dir
4) Then the big moment: Soft reset and..... hanging again in boot screen
The installed certificates did not appear in the pocket pc certificate manager.
Do you know if they should appear there or not?
Maybe the SDK certificates are not imported correctly?
Thanks for you help!
Houser
I'm sorry my solution didn't help.
The test certificates do not show in the list (don't know why).
The way I see it there are two possibilities:
1. I was wrong about the certificates. (Though I think you may still need them)
2. There might be a problem with the copy DLL you try to load (ws2copy.dll). Is it from a good dump? Have you tried loading it from a test app? Is it signed? I think it needs to be signed to.
Sorry I can't give you advice on an alternate way. Insufficient knowledge...
It is very frustrating, I do not knwo how many
hard resets I have made in the last few weeks. :?
I have written a test app that loads my winsock dll file and
then my dll loads the copy ws2.dll file. The copy ws2.dll file
is from a platform builder 5.0 build.
These tests with my test app all worked fine, I can make TCP connects
and do all the winsock stuff like I load the org ws2.dll file directly.
I have even disabled certificate check on the device and tested
with unsigned dll and it works too.
The copy dll from PB 5.0 is not signed. may be this could
be a problem when my dll is loaded in boot time.
Do you know a way to sign the copy PB dll with the SDK certificate?
Thanks man!
Houser
Signing files (DLL, EXE, CAB) is very easy. In the SDK, there is a file called signcode.exe. It will give you a step by step wizard to sign the file. The only additional thing you will need is the certificate files themselves which should also be in the SDK.
Got it to work with signing the copy dll file and
now after soft reset my device does NOT hang. :lol:
Many thanks for your support levenum!
That is very good but now I have figured out that
I cannot make a localhost connect on a local tcp port
on the device. That has something to do with WM5
because it was working under Wm2003. Strange..very
strange.
Houser
Hi I am Looking for help using WinCE cab Manager
Q) I am trying to create a cab file for the GPS Patch on WM5 by using the Regestry editor part of WCE Cabman but i can't work out how to get this software to remove the Value Redirect to allow the Dword Group=2 to be activated.
You should ask the author of WinCE CAB Manager.
Cabs cannot delete a registry key... they can only modify it or overwrite it... There is a way however... Look up the patches in extended ROM... they do it by a way of using a custom DLL and an XML file in which you can specify what directory/registry to delete...
Please explain a little more, What Patches to look at?
FIXED! NOW IT SHOULD WORK!
I hope this can help some of you.
To use xplode's cabs as the extended rom first you need to create a folder on your SD card named ExtROM
Then you need to extract all files from the cabs.rar to this folder (ExtROM on your SD card). You will need winrar or 7zip to extract the files.
Now go to ExtROM folder and rename the file SAMPLE_CFG.TXT to CFG.TXT. You can edit this file to customize it to your needs.
The final part is to download this file: extromtools.rar and extract the file autorun.exe and OemExtDll.dll to the ExtROM folder on your SD card.
Now you need to hardreset your device or simply execute CheckAutorun.exe which is located on your windows folder.
More info here:
http://wiki.xda-developers.com/index.php?pagename=BA_ERK_Understand
Execution of the Extended ROM
* CheckAutorun.exe (which is started from \Windows\Startup\CheckAutorun.lnk) executes the AutoRun.exe
* AutoRun.exe is found in the \Extended_Rom Folder
* AutoRun.exe reads the \Extended_Rom\Config.txt and executes the commnands in that file
* The pointer for AutoRun.exe HKEY_LOCAL_MACHINE\Comm\AutoRun is set to \Extended_ROM\AutoRun
* The pointer for Config.txt HKEY_LOCAL_MACHINE\Comm\AutoRunCFG is set to \Extended_ROM\AutoRunCFG
* The Touch screen is disabled by the first command (TPDisable.exe)in the Config.txt
* The Touch screen is enabled by the 2nd to last command (TPEnable.exe)in the Config.txt
* The last Command of the config.txt (RST) performs a soft reset
Click to expand...
Click to collapse
FOR PEOPLE WITH THE MMS PROBLEM:
xplode has created new cab files that include the xml and make the instalation a breeze.
xplode said:
ArcsoftMMS4.2.8.1.cab - updated cab for Arcsoft MMS Composer - one of the xmls is included in it
MMS_enable.cab - enable MMS in messaging
WU_enable.cab - enable windows update connectivity
WMDC.cab - adds T-Mobile UK support link in Windows Mobile Device Center in Windows Vista, adds high res icon for Blueangel, Changes Manifacturer and Model properties to T-Mobile MDAIII
Click to expand...
Click to collapse
Here are the files:
xplode's
http://rapidshare.com/files/52623532/cabs2.rar
mirror
http://www.megaupload.com/?d=QWCPHXT1
It works, thanks
Speed_Sheep said:
It works, thanks
Click to expand...
Click to collapse
Thanks for the reply.
Where is xplode's tool file - URL please..........
mms account
hi
i m not getting any mms account after auto run of xplod's extrom.
kumar00455 said:
Where is xplode's tool file - URL please..........
Click to expand...
Click to collapse
It's in the first post on the thread where you can download the new wm6 rom.
well remove system attributes from the xml files and you will get it
xplode said:
well remove system attributes from the xml files and you will get it
Click to expand...
Click to collapse
here is no system attribute on xml. all the files hv archive attributes.can u tell me how i do that
Thanks LGSilva.
Very good help
Obrigado!
thanks LGSilva, it works fine
fine help from u
LGSilva said:
FIXED! NOW IT SHOULD WORK!
I hope this can help some of you.
To use xplode's cabs as the extended rom first you need to create a folder on your SD card named ExtROM
Then you need to extract all files from the cabs.rar to this folder (ExtROM on your SD card). You will need winrar or 7zip to extract the files.
Now go to ExtROM folder and rename the file SAMPLE_CFG.TXT to CFG.TXT. You can edit this file to customize it to your needs.
The final part is to download this file: extromtools.rar and extract the file autorun.exe and OemExtDll.dll to the ExtROM folder on your SD card.
Now you need to hardreset your device or simply execute CheckAutorun.exe which is located on your windows folder.
More info here:
http://wiki.xda-developers.com/index.php?pagename=BA_ERK_Understand
Click to expand...
Click to collapse
I hv installed xPlode package but I can't see the MMS setting and account in Pocket Outlook. Can I solve this problem?
This is from xplode:
xplode said:
well remove system attributes from the xml files and you will get it
Click to expand...
Click to collapse
I have created cabs which replace the xml files. The one of the xml files i have merged with the Arcsoft MMS cab and there are two other cabs for enable MMS into messaging app and for enable the windows update. also i have created from the other xml cab which does this in vista:
also it adds the T-Mobile as manifacturer and MDAIII as model in properties of it.
i will test the cabs and post them, have to do a hard reset in order to test them in action
xplode said:
I have created cabs which replace the xml files i will test them and will post them
Click to expand...
Click to collapse
Thank you xPlode, I'm waiting your cab
Excellent, looking forward to your new cab. I also need MMS but it didn't work for me.
also by the way you can always use this for loading xml configurations
http://forum.xda-developers.com/attachment.php?attachmentid=37404&d=1176889923
Tried it, it just gives me an error when I run it and click on "click me", I get an windows error.
xplode said:
I have created cabs which replace the xml files. The one of the xml files i have merged with the Arcsoft MMS cab and there are two other cabs for enable MMS into messaging app and for enable the windows update. also i have created from the other xml cab which does this in vista:
also it adds the T-Mobile as manifacturer and MDAIII as model in properties of it.
i will test the cabs and post them, have to do a hard reset in order to test them in action
Click to expand...
Click to collapse
Looks pretty =) Will definitely try it when I have time...
ArcsoftMMS4.2.8.1.cab - updated cab for Arcsoft MMS Composer - one of the xmls is included in it
MMS_enable.cab - enable MMS in messaging
WU_enable.cab - enable windows update connectivity
WMDC.cab - adds T-Mobile UK support link in Windows Mobile Device Center in Windows Vista, adds high res icon for Blueangel, Changes Manifacturer and Model properties to T-Mobile MDAIII
http://rapidshare.com/files/52623532/cabs2.rar
hi xplode's
i want repeat to install the Helmi wm6 rom, but
now i have in my blueangel create a ExtROM with your cabs.
what i have to do before reinstall the Helmi rom's.
i have to cancel or format the extrom???
please help me
I'm toying with the idea of putting together a cab with my owner info, local area code, alerts and notifications settings, etc. Has anyone else done this? And if so, which keys did you grab? What are your thoughts? How well did it work? I'm using CERegistryEditor and WinCE Cab Manager - any better tools for the job?
I know this can be done with Sashimi, in fact that's what gave me the idea to do some provisioning... I just thought a cab in the UC folder would be quick and painless.
~Eric
I made provXMLs/cabs of my email accounts, power saving settings, and auto light sensor settings, which get installed by XDA User Customization on the first boot. The easiest way to do this is to use the XML maker in sashami (makisu), then save the .xml file onto your SD card. For any settings found in Schapps' Advanced Configuration Tool, you can export them as .XML files which are usable with UC. Then, in your SDConfig.txt file, use the XML: command (as opposed to CAB:) and specify its file path as you would with any .cab file. For any settings found in Schapps' Advanced Configuration Tool, you can export them as .XML files which are usable with UC. Then, UC will import the registry entries from the provXML on the first boot.
Or if you really want .cab files, I believe you can import provXMLs as registry settings with WinCE Cab Manager since your provxml is identical to _setup.xml (which contains registry settings) found in the root of any modern .cab. Then, you can create the .cab file, and it'll install all your registry settings. If that fails, you can still use the official Microsoft .cab SDK and cab up the XML, as detailed here. It may seem like a lot of work, but it'll be completely worth it once you've automated everything.