[Windows Phone 7 Development and Hacking] Whatdoyaknow:
[FONT=&quot]If I mention anything about how to quickly side load your Live Activation Code using an .xap in the forums I am often asked to explain it. So this is clarifying how to quickly load your Activation code using an .xap created using xboxmod’s WP7 Registry tweak and the AdvancedConfig_1.1.0.1_beta (included in the [/FONT][FONT=&quot]attached [/FONT][FONT=&quot]Rgu-2-xml.rar) (ALL acknowledgment and thanks to xboxmod and the contributors to that forum).[/FONT]

Although there a number of steps shown, it is actually a quick and easy process.

[FONT=&quot]Note, this is not about getting your Activation code - you must already have your Activation code!!! There is considerable discussion in the forums about obtaining an activation code if you do not already have one. It is about applying it easily after each Hard Reset or Rom install. (see footnote)[/FONT]

[FONT=&quot]So here's how to set the Activation code by installing an XAP rather than entering all those characters manually. It is much easier and worth the few minutes to setup. Simply make this the first App you install before you log into Windows Live using your email address etc. or the Marketplace - it does not ask you for you Activation code after this is run as it is already in the registry.[/FONT]

Ensure that you have Connection Setup installed

[FONT=&quot]1. Create a txt document (e.g. WP_Activation_Code.txt) exactly (ensure you have REGEDIT4 as the first line)[/FONT] as follows

REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\GwpCPC]
"ActivationCode"="*****-*****-*****-*****-*****"

[FONT=&quot]WHERE: *****-*****-*****-*****-*****" is your Activation Code[/FONT]

[FONT=&quot]Take care with the code ActivationCode"="*****-*****-*****-*****-*****" The "-" are not underscore "_", though they look like it, but dashes "-" (hyphens). I got caught with this at my first attempt.[/FONT]

[FONT=&quot]2. Rename this text file from .txt to .reg (e.g. WP_Activation_Code.reg)[/FONT]

[FONT=&quot](suggestion: make a copy of the file and rename the copy)[/FONT]

[FONT=&quot]3. Run xboxmod's Rgu-2-xml.exe (from attached .rar) to translate this text file to a provxml[/FONT]

[FONT=&quot]4. Rename this file (e.g. mxipupdate_WP_Activation_Code.provxml) to simply CustClear.provxml[/FONT]

[FONT=&quot]5. Extract AdvancedConfig 1.1.0.1 beta.xap (from attached .rar - I added this and the org. instructions to this .rar).[/FONT]

[FONT=&quot]6. Rename it to HTC-ProvXml-WP_Activation_Code.xap[/FONT]

[FONT=&quot]7. Open it with 7-Zip or WinRAR (right click on HTC-ProvXml-WP_Activation_Code.xap and select open).[/FONT]

[FONT=&quot]8. Copy custclear.provxml into HTC-ProvXml-WP_Activation_Code.xap and replace the existing custclear.provxml with custclear.provxml file you just created.[/FONT]

[FONT=&quot]9. Install (sideload) the HTC-ProvXml-WP_Activation_Code.xap to your device - it will load as HTC-ProvXml-Deploy. [/FONT][FONT=&quot]Install it [/FONT] like any other app - use an xap deployer.

[FONT=&quot]

(you can use this file each time you hard reset or load a new rom. Suggestion make it the first xap you install after initial Zune connection before you register for Marketplace or Live).[/FONT]

[FONT=&quot]10. Launch HTC-ProvXml-Deploy on your device.[/FONT]

[FONT=&quot]11. Press the green button to apply your settings.[/FONT]

[FONT=&quot]12. Uninstall HTC-ProvXml-Deploy then reboot to be sure. [/FONT]

[FONT=&quot]13. Now login to Marketplace or Live without entering the code manually :good:[/FONT]

[FONT=&quot]Works a treat and skips the Live Code step. You can then use it more than once - each time you load a rom or hard reset for example.[/FONT]

[FONT=&quot]For further instructions and the many applications for xboxmod’s WP7 Registry tweak application HTC-ProvXml-Deploy see:[/FONT]

[FONT=&quot]http://xdaforums.com/showthread.php?t=907971 [/FONT]

[FONT=&quot]Note:[/FONT]

[FONT=&quot]The Activation code is required when signing in with a Windows Live ID on your Windows Phone 7[/FONT]

[FONT=&quot]The first time that you sign in with your Windows Live ID on Windows Phone 7 you may see the following message prompting you to enter an activation code: [/FONT]

[FONT=&quot]ACTIVATION REQUIRED[/FONT]

[FONT=&quot]An activation code is required before we can finish setting up your [/FONT]
[FONT=&quot]Phone. Please contact customer service. You can skip this step and do it [/FONT]
[FONT=&quot]later.[/FONT]