Unlock your HTC Windows Mobile device for unsigned applications and certific

Unlock your HTC Windows Mobile device for unsigned applications and certificates

I recently bought a HTC S310 and installed the Windows Mobile 5 smart phone SDK for Visual Studio 2005.

The biggest problem was not writing the code and get something to working, but actually deploying the application to the HTC was the biggest problem. First I wanted to sign the application. Therefor I needed to add my own certificate. However my HTC was completely locked down; I could not add any certificate and the usual tools to do so failed.

To add certificates go to the HTC site and download the SP_AllowCertificateInstall.cab program (signed by HTC): http://www.europe.htc.com/support/faq.html?id=510. This will unlock your S310 or Breeze (also called the Mteor) and you can now add your own certificates (great when using a self-signed OWA certificate for example).

To add unsigned apps download the HTCUnlock-CVS tool, which actually modifies the registry on your device (see http://wiki.spv-developers.com/HTC_Application_Unlock_Guide to check the changes it will make). This will allow unsigned apps to be run.Reboot your device

To completely disable certificate security download the SDA_ApplicationUnlock tool and run it on your device (http://wiki.spv-developers.com/SDA_ApplicationUnlock)

I also just bought an S310 and wanted to install TomTom. This didn’t work until I changed the registry settings by hand using the registry editor for the Mteor, which you can download it here: http://www.modaco.com/index.php?showtopic=244205. The registry editor mentioned above kept telling me that it was not able to alter the registry.

After changing the registry, I also used the SDA_applicationUnlock tool you mention above.

So, when everything went OK, it should mention that your device is unlocked, and you can proceed installing TomTom or any other programm.

Run the “SP_AllowCertificateInstall.cab” file attached

Use the registry editor “regeditSTG2” attached to change

HKEY_LOCAL_MACHINE\Security\Policies\Policies (then press “values”)\ 00001001 = 2 –>Change the value data from 2 to 1
HKEY_LOCAL_MACHINE\Security\Policies\Policies0001005 = 16 –> Change the value data from 16 to 40
HKEY_LOCAL_MACHINE\Security\Policies\Policies0001017 = 128 –> Change the value data from 128 to 144

The following reg editors DONT work

REGEDIT
REGEDITSTG
SGS Explorer

A possible alternative could be to run the “SP_AllowCertificateInstall.cab”
And then the HTC application unlocker attached (which for me didnt work before I ran “SP_AllowCertificateInstall.cab” but does work after I’ve run “SP_AllowCertificateInstall.cab”)

To ensure your phone is fully unlocked, run SDA_ApplicationUnlock on your PC (it is not meant to be run from Windows Mobile).
Make sure you re-boot your device before running SDA_ApplicationUnlock

regeditSTG2.zip (23.9 KB)

SP_AllowCertificateInstall.cab (1.25 KB)

HTCUnlock_CVS.zip (135 KB)

SDA_ApplicationUnlock.zip (96 KB)