Starting from my previous 1st Boots Customizations list, it was important to understand each type of customization option individually.
Now Autorun being the 1st from HTC 1st Boot Customization, is a simple tool and not highly customizable. In Autorun.exe the only setting that needs to be included to use AUTORUN is that you either have the below code in your mxipupdate_oemoperators_107.provxml (in Operatorpkg Folder) or you need to cook it in your Rom.
<!–Autorun settings–>
<characteristic type=”Registry”>
<characteristic type=”HKLM\Comm”>
<parm value=”\windows\config_operator.txt” datatype=”string” />
<parm value=”\windows\AutoRun.exe” datatype=”string” />
</characteristic>
</characteristic>
AutoRun uses this file to launch cabs and make changes automatically during the first boot after flashing. There will be a series of such config files interconnected but its not necessary to use them. Only one or even two is sufficient. Now you may change this config_operator.txt to whatever your like but make sure the contents are as below.
Example for Config_operator.txt -
LOCK:Enabled ;all input from screen & keys are disabled
TSK: \WINDOWS\HTC.tsk ; default theme is changed
XML: \WINDOWS\RemoveArrtibMMS_0409.xml ; removes attributes from MMS images
EXEC:\Windows\AutoAttribute.exe \Windows\MASD_RemoveReadOnly.txt ; removes read only attributes from files listed in txt
CAB: \WINDOWS\WM6_PPC_HTC_Opera9_WWE.CAB ; install Opera Mobile from cab
CFG: \WINDOWS\config.txt ; opens next config file
Example for Config.txt -
LOCK:Enabled ; again locks out input
LOCK: Disabled ; enables screen & key input
RST: Reset ; resets device
If any of the above commands fail while LOCK:Enabled, you will not be able to press any buttons or click on screen. If you delete one of the cabs and AutoRun errors out, it may seem like the unit has frozen, but it is simply because it is unable to continue and will not accept any input by screen or button. You can test this by calling your phone, it will ring, but you can’t answer the call.
All you need to have is “Autorun.exe”, “CheckAutoRun.exe” and “CheckAutoRun.lnk” specific for the Windows OS Version you using.


{ 1 trackback }
{ 0 comments… add one now }