Extended Rom does not start - 8525, TyTN, MDA Vario II, JasJam ROM Development

hi,
I have try a ExtRom to provide with HTC ExtRom builder.
Unfortunately do not start Rom, therefore I wanted to ask whether me someone help can the cause to find.
A How ton of which I in the XDA Dev. Himalaya forum did not find helps me unfortunately.
In the ExtRom are the following files:
Autostart.exe
Cinfig.txt
3G_Dialer.cab
Htc_default.tsk
cusTSK.exe
MSFT_Logo.bmp
SetHSDPA.exe
contents of Config.txt:
SHOW: \Extended_ROM\MSFT_Logo.bmp
LOCK: Enabled
Hide: Enabled
EXEC: \Extended_ROM\SetHSDPA.exe /Enable
EXEC: \Extended_ROM\cusTSK.exe \Extended_ROM\Htc_default.tsk
CAB: \Extended_ROM\3G_Dialer.cab
LOCK: Disabled
RST: Reset
the appropriate Registry entry looks in such a way:
[HKEY_LOCAL_MACHINE\Comm]
"AutoRunType"=dword:00000000
"BootCount"=dword:00000001
"AutoRunCFG"="\\Extended_ROM\\config.txt"
"AutoRun"="\\Extended_ROM\\autorun.exe"
Where does the error lie?
Did I forget something?
What has to be still considered?
I thank for each assistance.
with friendly greet
Starbase64

normally all the info you need should be in mxipupdate_zzPIED_101.provxml in \Windows and edit that before cooking.
i.e.
<characteristic type="FileOperation">
<characteristic type="%CE4%\CheckAutoRun.lnk" translation="install">
<characteristic type="Copy">
<parm name="Source" value="\Windows\CheckAutoRun.lnk" translation="install"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\Comm" >
<parm name="AutoRunCFG" value="\windows\Config.txt" datatype="string" />
<parm name="AutoRun" value="\windows\AutoRun.exe" datatype="string" />
<parm name="EnableNewMailAccount" value="0" datatype="integer" />
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\Software\Microsoft\Welcome" translation="filesystem" >
<parm name="Disable" datatype="integer" value="188" />
</characteristic>
</characteristic>

dan1967 said:
normally all the info you need should be in mxipupdate_zzPIED_101.provxml in \Windows and edit that before cooking.
i.e.
<characteristic type="FileOperation">
<characteristic type="%CE4%\CheckAutoRun.lnk" translation="install">
<characteristic type="Copy">
<parm name="Source" value="\Windows\CheckAutoRun.lnk" translation="install"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\Comm" >
<parm name="AutoRunCFG" value="\windows\Config.txt" datatype="string" />
<parm name="AutoRun" value="\windows\AutoRun.exe" datatype="string" />
<parm name="EnableNewMailAccount" value="0" datatype="integer" />
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\Software\Microsoft\Welcome" translation="filesystem" >
<parm name="Disable" datatype="integer" value="188" />
</characteristic>
</characteristic>
Click to expand...
Click to collapse
Contents of my (mxipupdate_zzPIED_101.provxml) file are identical to this.
But do not start it.
wfg
S64

try to put this config.txt in dump and recook.
cheers
dan

just a though - I don't have my laptop in front of me - but you need a link in your starup folder to launch it on first boot. After first boot, it will remove the link. You might peek at the PreConfig packages to get an idea about setting up the link in the initflashfile.txt - as well as the other files needed.
I hope that the will point you in the right direction anyway.

I do not think it will work like that. The startup is triggered by that provxml file and it reaches for config.txt or preconfig.txt (or not!). You need at least one of them in dump and inside it you made the call for the config.txt on ext_rom.
I have struggled with it a lot in the past and really did not find another way. It might exist but I do not know it.
I have everything on ext_rom and therefore I depend heavily on it launching after HR.
cheers,
dan

goto OEM---->OEMOPERATORS folder and make sure your "Preconfig.txt" file has this "EXEC:\Extended_ROM\autorun.exe" line right after the "Hide:Enabled" line, save, build OS and flash, see if that works!

I have all refer to converted, but does not start
wfg
S64

Cinfig.txt is a typo here only?

here is the my config.txt
SHOW: \Extended_ROM\MSFT_Logo.bmp
LOCK: Enabled
Hide: Enabled
EXEC: \Extended_ROM\autorun.exe
CFG: \Extended_ROM\Config.txt
EXEC: \Extended_ROM\SetHSDPA.exe /Enable
EXEC: \Extended_ROM\cusTSK.exe \Windows\Htc_default.tsk
CAB: \Extended_ROM\3G_Dialer.cab
LOCK: Disabled
RST: Reset

EXEC: \Extended_ROM\autorun.exe should be discarded

dan1967 said:
EXEC: \Extended_ROM\autorun.exe should be discarded
Click to expand...
Click to collapse
It does not function, all the same whether with or without this entry.
wfg
S64

if the 3 files, provxml and 2 config.txt files are right, than I am sorry to say but I am out of solutions for you.
dan

second thought,
if you use the os version that uses the additional ext_rom space (as i see in your sig) I think your ext_rom is out (overwritten) and the discussion here is useless, but I have no idea as I haven't tried myself these roms .
"new registry tweaks
- beam disabled
- show Band, PIN2, Time Zones, TTY Pages
- enable DTMF support
- enable EDGE Icon
- set Bluetooth name HTC_TyTN
- set Bit pool to 64
- disable ExtRom"

I put on now a OEMOperators Package.
Property me copied from of another Rom, works very well.
I would like to thank you micht for your assistance and pieces of advice.
wfg
S64

Related

Very frustrated

OK, so I've searched the Wiki & the forums, Googled other forums, waded through MSDN documents, tried multiple methods using makecab and WinCE Cab Manager, and I'm still unable to create a working CAB file that successfully applies customizations via the registry.
What I have are various XML files with the customizations I'd like to implement by creating one CAB I can call after hard resetting. The device of interest is an HTC Hermes running LWSV WM6, latest rom. Basically, at this point I need a "make CAB file from XML files" tutorial. I found the one in the Wiki here but the part I needed on the 2nd page hasn't been written.
Any kind soul willing to give me a hand?
TIA,
denali
Well, it would be easier to help you if you told us what is the specific problem you are running in to.
- Does makecab.exe fail to create a cab with your xml?
- Does the cab fail to install?
- Do you get some sort of error message at some point?
I made only one attempt at creating a registry only cab, but it was successful. All I did was:
makecab _setup.xml mysettings.cab
Here is one hint though: open your XML in IE or another browser. You will immediately see if it is malformed in some way (maybe a missing tag).
Thanks for your reply.
Makecab looked to be the simplest way, and it did generate a cab, which failed to install with not so much as an error message; it just informed me installation was unsuccessful. BTW, the cab was on my storage card.
One of my thoughts was that the code might be wrong, so I looked at the xml in IE, notepad, and even ran everything through the basic syntax scan Cab Manager does when trying to add text to the provisional xml areas. I did have to make some changes; maybe I'll have another go at scrubbing the files.
denali
There is another possibility for this error:
Your cab may not have permission to alter the security settings you are attempting to apply.
Some settings require a cab to be signed with a trusted certificate.
Ordinarily I'd tell you to application unlock your phone, but since you want to run the cab immediately after hard reset I am not sure how to solve the issue.
OK, so this is what I tried, following a one-bite-at-a-time strategy.
I extracted XML code and cleaned it up in Notepad, previewed it in IE with no glaring issues to my eye.
Code:
<wap-provisioningdoc>
<!-- 2-1. Home Screen Plug-in
<characteristic type="Registry">
<characteristic type="HKLM\Software\Microsoft\Today\Items">
<characteristic type="Get Xpress Mail">
<parm name="Order" value="5" datatype="integer" />
</characteristic>
</characteristic>
</characteristic> -->
<!-- 3-2. Ringtone-->
<characteristic type="FileOperation">
<characteristic type="\Windows\Rings\gm sunny audio2.wav" translation="install">
<characteristic type="Copy">
<parm name="Source" value="\Windows\gm sunny audio2.wav" translation="install"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\Sounds">
<characteristic type="RingTone0">
<parm name="Sound" value="\Windows\Rings\gm sunny audio2.wav" datatype="string"/>
<parm name="Category" value="Ring" datatype="string"/>
</characteristic>
</characteristic>
</characteristic>
<!--4-1. PIE home page
<characteristic type="FileOperation">
<characteristic type="\Windows\default.htm" translation="install">
<characteristic type="Copy">
<parm name="Source" value="\Windows\_default.htm" translation="install"/>
</characteristic>
</characteristic>
</characteristic> -->
<!--Delete Favorite-->
<characteristic type="Registry">
<nocharacteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\MSN Mobile" />
<nocharacteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\Pocket PC Web Guide" />
</characteristic>
<!--Add Favorite-->
<characteristic type="Registry">
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\MEdia Net" translation="filesystem" >
<parm name="Order" datatype="integer" value="0" />
<parm name="ReadOnly" datatype="integer" value="1" />
<parm name="URL" datatype="string" value="http://home/" />
<parm name="Icon" datatype="string" value="\windows\MEdia_Net_Home_01.bmp" translation="filesystem" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\PocketPC" >
<parm name="URL" datatype="string" value="http://pocketpc.com"/>
<parm name="Order" datatype="integer" value="1" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\AT&T Support - Pocket PC">
<parm name="URL" datatype="string" value="http://www.cingular.com/customer_service"/>
<parm name="Order" datatype="integer" value="2" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\My Windows Mobile">
<parm name="URL" datatype="string" value="http://www.mywindowsmobile.com/"/>
<parm name="Order" datatype="integer" value="3" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\WindowsMedia.com">
<parm name="URL" datatype="string" value="http://windowsmedia.com"/>
<parm name="Order" datatype="integer" value="4"/>
</characteristic>
<!-- 4-3. Settings View & Zoom -->
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main" translation="filesystem">
<parm name="ZoomSetting" datatype="integer" value="4" /> <!--zoom:medium-->
<parm name="MakeFit" datatype="integer" value="1" /> <!--view:default-->
</characteristic>
</characteristic>
<characteristic type="Registry">
<!-- 5-2. Show PIN2 Page -->
<characteristic type="HKLM\SOFTWARE\OEM\PhoneSetting" translation="filesystem">
<parm name="ShowPIN2Page" datatype="integer" value="1" />
<!-- Enable NITZ -->
<parm name="ShowNITZPage" datatype="integer" value="1" />
</characteristic>
<characteristic type="HKLM\Drivers\BuiltIn\RIL" translation="filesystem">
<parm name="NITZEnable" datatype="integer" value="1" />
<!-- Set SMS Service -->
<parm name="SMSService" datatype="integer" value="1" />
</characteristic>
<!-- SMS Settings -->
<characteristic type="HKLM\System\Inbox\Settings" translation="filesystem">
<parm name="SMStoSMTPShortCode" datatype="integer" value="121" />
<parm name="AllowSMStoSMTPConcatenation" datatype="integer" value="1" />
<parm name="AllowSMStoSMTPAddress" datatype="integer" value="1" />
<parm name="CurServiceName" datatype="string" value="SMS" />
</characteristic>
<!--Operator name string and service provider name showing rule-->
<characteristic type="HKLM\SOFTWARE\OEM\PhoneSetting" translation="filesystem">
<parm name="ONSDisplayRule" datatype="integer" value="4" />
<parm name="EnableUsimEF" datatype="integer" value="1" />
<parm name="Enable3GLongNamePrefix" datatype="integer" value="0" />
</characteristic>
<!--Override the GSM Short String Rule-->
<characteristic type="HKLM\ControlPanel\Phone" translation="filesystem">
<parm name="ShortStringExclusionList" datatype="multiplestring" value="*0","*1","*2","*3","*4","*5","*6","*7","*8","*9","#0","#1","#2","#3","#4","#5","#6","#7","#8", "#9""/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Diagnostics" translation="filesystem">
<parm name="ShowLogCode" datatype="integer" value="65535" />
<parm name="DiagCode" datatype="integer" value="65534" />
</characteristic>
<!-- WiFi QoS Settings -->
<characteristic type="HKLM\Comm\TNETWLN1\Parms" translation="filesystem">
<parm name="WME_Enable" datatype="integer" value="0" />
</characteristic>
<!-- 0: Disable QoS feature -->
<!-- 1: Enable QoS feature -->
<!-- Disable IPv6
<characteristic type="HKLM\Comm\AFD" translation="filesystem">
<parm name="Stacks" datatype="multiplestring" value="tcpstkirdastkbtd" />
</characteristic>
<nocharacteristic type="HKLM\Comm\Devices\TCPIP6" translation="filesystem"/>
-->
<!-- 1.3.03 4. Remove "Disable IPv6" settings in Generic UI, Line 199. -->
<!-- Set GSM/UMTS band. -->
<characteristic type="HKLM\SOFTWARE\OEM\UMTS\BandSelection" translation="filesystem">
<parm name="Band" datatype="integer" value="0" />
<!-- (0:AUTO, 1:Euro band, 2:US band, 3:Japan band) -->
</characteristic>
<!-- 1.3.06 1. Set both "Network type" & "GSM/UMTS band" to "AUTO". -->
<!-- Remove "Band" page of phone "Options". -->
<characteristic type="HKLM\SOFTWARE\OEM\PhoneSetting" translation="filesystem">
<parm name="ShowUMTSBandPage" datatype="integer" value="1" />
<!-- (1: show GSM/UMTS band page) -->
<!-- (0, none : hidden GSM/UMTS band page) -->
</characteristic>
<!-- 1.3.06 2. Remove "Band" page of phone "Options". -->
<!-- 1.3.03 3. Add the correct "USB to PC" related settings in Generic UI, Line 201. -->
<!-- Set USB to PC Unchecked -->
<characteristic type="HKLM\Drivers\USB\FunctionDrivers" translation="filesystem" >
<parm name="DefaultClientDriver" datatype="string" value="Serial_Class" translation="filesystem" />
</characteristic>
<!-- Wireless Modem default APN setting -->
<characteristic type="HKLM\SOFTWARE\OEM\WModem" translation="filesystem" >
<parm name="Preset GPRS APN" datatype="string" value="isp.cingular" translation="filesystem" />
</characteristic>
<!-- 1.3.03 5. Update the Wireless Modem default APN to "isp.cingular" -->
</characteristic>
</wap-provisioningdoc>
Then I renamed it to "_setup.xml" and excuted makecab _setup. xml PP_Generic_UI_Hermes_CWS.cab; a CAB was generated w/o an error message. I copied the CAB to my Storage Card via USB/Activesync 4.5; it failed to install w/ the "Installation ... was unsuccessful" message.
Then I found a signing util in this link (http://forum.xda-developers.com/showthread.php?t=250216&highlight=sign), ran it w/ only an error message saying it was signed but not time stamped. I tried install this "signed" CAB via the method above, with the same results.
Any thoughts? Anybody?
denali
Question: After you signed the cab did you still get a question "This cab is not signed by a trusted certificate ..... install YES / NO?"
From what I saw in that thread, you need to provision your device with the certificate first, because you are not signing with one that is built in.
Also, on first glance, I can't see anything problematic with the XML so I guess you have to do this the hard way: comment all but one of the settings and create a cab. If it installs ok, uncomment another setting and try again until you find out what causes the installation to fail.
As to your question, I've never gotten a message like that. I installed the test certificate and attempted to install the CAB again with the same results. FWIW, after I click on the CAB, it looks like it's inatalling, complete with the progress bar except that when the final message comes up, mine reads Installation of <foo> was unsuccesful", and not in its own error box either.
I'm not convinced it's a signing issue, rather it seems to be something internal to the CABs, like I'm missing a step or file. I will step through the code as you suggested.
Thanks again,
denali
Right methods, wrong tool(s)
I found my problem.
I was unaware WinXP came with makecab.exe, so I dowloaded the Cabinet SDK, which seems to have been developed for Win98 or so, and used that executable. Bottom line, I was using an old executable.
I've successfully made single-line changes to my registry via CAB & CPF files, and, with a little luck, will get the rest of these customizations knocked out.
Thanks for your help levenum!
denali
Your welcome.
Actually, you just taught me something too. I knew desktop windows used cab files for installation, but I did not know cabwiz / makecab for them were readily available.
I always used the utilities from Pocket PC and Smartphone SDKs for WM 5 or 2003 depending on the device I was creating the cab for.

A2DP tuning via settings.xml

Hi everyone!
I found following tweaks in Schaps settings.xml:
<!-- Improve Bluetooth A2DP settings -->
<characteristic type="Registry">
<characteristic type="HKLM\Software\Microsoft\Bluetooth\A2DP\Settings" translation="filesystem" >
<parm name="UseJointStereo" datatype="integer" value="1" />
<parm name="BitPool" datatype="integer" value="86" />
<parm name="MaxSupportedBitPool" datatype="integer" value="86" />
<parm name="SampleRate" datatype="integer" value="48000" />
</characteristic>
</characteristic>
The question:
I would like to follow hardcore's recommendations and delete all bitpool keys automatically via settings.xml.
Simply removing them from the file doesn't help.
What's the right way to let settings.xml remove reg keys??
Thanks a lot
Raist
raistlin2k said:
What's the right way to let settings.xml remove reg keys??
Click to expand...
Click to collapse
Recook the ROM with the updated settings.xml.
thanks for your reply.
I know that I have to recook the rom, but some default bitpool setting is in the registry when i simply delete the keys in the settings.xml.
So is there a way to remove keys from the registry via settings.xml?
Raist
Try using the "noparm" element:
<characteristic type="Registry">
<characteristic type="HKLM\Software\Microsoft\Bluetooth\A2DP\Settings" translation="filesystem" >
<noparm name="BitPool" />
<noparm name="MaxSupportedBitPool" />
</characteristic>
</characteristic>
You could always tweak/remove the offending reg entries in the source rgu prior to cooking...

[App] ROM Flashing Junkies: User Customization is here!

What is UC? It is a feature contained in UC capable ROMs. A UC capable ROM extends initial customization to your SD card so you can load cabs and install XML files that are located there too. What this means is that once you get your customization scripts right, you can flash any UC capable ROM and all your apps and settings will be restored as part of the initial customization process whenever your SD card is inserted in the slot.
Here's a sampling of UC capable ROMs:
Himalaya ROMs
Ather's WM 6.1 Diamond Edition
Kaiser ROMs
Kareem's REVROM v3.33
SNE V2.5 - Optimized Video
udK 7.0 R2 Vega - WWE+ITA
Mobile Vista v1.1 by Confused Stu
v1.2 Sleuth
v3.0 Sleuth
[Mar 04 08] Dutty's Official WM6.1 5.2.19716 UC RTM
[Mar 07 08] Dutty's Official WM6.1 5.2.19199 UC RTM
Laurentius26's L26 WM 6.1 Professional v6A WWE
XTRM-1.62-6.0X
akadonny's 3.08.DKv1.2 WM6.1 ROMs
maja's T.I.R. v3.0 - BLUE WOLF - WM6.1
Alex's v5.2 ROMs
Herald ROMs
ASerg.WM6.1.WWE
itje's Touch-IT v6.1.3 - Clean
JustClean - The New EasyBakeOven - Beta 1
Vogue ROMs
Mr.jcarter's Custom Rom v2 (ppcgeeks developer!)
ghettofreeryder rom v3 (ppcgeeks developer!)
OMJ's WM6.1 Custom Touch ROM with UC (ppcgeeks developer!)
Titan ROMs
dcd's ROMs & kitchen
NexVision's Hybrid
Prophet ROMs
varanusvincent's [WM6.1] Shadow Vista "My Edition"
varanusvincent's [WM6.1] Shadow Vista "Clean"
L3v5y's <WM6.1> <UC> iProphet 1.0.2.3
L3v5y's iProphet V2 beta
Bourne WM6.1 from dave.
Korand 3.1 GER by animelover
Elf ROMs
Noonski's SPC WM6.08 ROM (WM6.1, 5.2.19199)
Ababreker's UC 2.0 Capable New Ultra Clean & Clean Edition ROMs
Wizard ROMs
epimazzo's KhanX 4.0
SNN Version 3.1 WM 6.1 build 19209 from newbie1221
Hermes ROMs
CRCs PHKv12 WM6.1
PDACorner.V6 - Abusalza
Faria-R32 / Dr Puttingham WM6.1 HERMES ROM-CUSTOM+CLEAN
TNT.19199 Series from its right
Trinity ROMs
FInixNOver 3.1.1 and 3.1.1Light
Here's the current list of UC related software tools
DoeDoe's SDConfig.txt creator.
.reg -> xml conversion tool
XML Notepad 2007
CeRegEditor (can find registry changes)
DaveShaw's Folder Copy utility
Registry capture Logger
If you are a ROM chef and want to make your own ROM UC capable, then go here to learn how. The effort is trivial btw.
Ok, on to creating scripts!
First you need to read a short WiKi article on customization that's located here
How do you set up UC? By placing a file called "SDConfig.txt" in the root directory of your storage card. The best way to illustrate this is to show examples. Here is my SDConfig.txt:
Code:
LOCK:Enabled
CAB: \Storage Card\Cabs\Tiltkeyboardfix.cab
CAB: \Storage Card\Cabs\removeHiddenProxy4CWS_0522.cab
CAB: \Storage Card\Cabs\s2u2v99c.cab
CAB: \Storage Card\Cabs\CapScrUtil.CAB
CAB: \Storage Card\Cabs\Communicator mobile.cab
CAB: \Storage Card\Cabs\CorePlayer.PocketPC.cab
CAB: \Storage Card\Cabs\HTC_GPS_TOOL.cab
CAB: \Storage Card\Cabs\SpbBackup.cab
CAB: \Storage Card\Cabs\SpbPocketPlus4.arm.cab
CAB: \Storage Card\Cabs\SpbTime2.arm.cab
CAB: \Storage Card\Cabs\SpbWeather.arm.cab
CAB: \Storage Card\Cabs\SplashID.CAB
CAB: \Storage Card\Cabs\SplashPhoto.CAB
CAB: \Storage Card\Cabs\SPTimeSync.cab
CAB: \Storage Card\Cabs\stdtime.PPC30_ARM.CAB
CAB: \Storage Card\Cabs\tomtom_6_032_8351.cab
CAB: \Storage Card\Cabs\VisualGPSceInstall.CAB
CAB: \Storage Card\Cabs\ip.PPC_ARM.CAB
CAB: \Storage Card\Cabs\SleuthKaiserVoip.cab
CAB: \Storage Card\Cabs\TPGProvisioning.cab
CAB: \Storage Card\Cabs\GSM610.CAB
CAB: \Storage Card\Cabs\GoogleMaps_compressed.CAB
CAB: \Storage Card\Cabs\LiveSearch.cab
CAB: \Storage Card\Cabs\Pieff.cab
XML: \Storage Card\Cabs\SleuthProvisioning.xml
LOCK:Disabled
RST: Reset
Here are some important facts to remember:
end your file with the "RST: Reset" command
The file cannot be UNICODE
All commands must be in UPPER CASE. CAB: is valid but Cab: is not. Case is not important in the parameter portion however: \Storage Card\CABS\myCAB.cab is the same as \storage card\cabs\mycab.cab.
Cabs that specifically wait for additiional user input (other than the initial location) can be loaded but require special grouping. An example of this is the 1-calc installation which stops and makes you accept a license agreement. Go here to find out how to load these. Thanks booda!
Tabs/Spaces at the end of a line are not allowed and will cause SDAutoRun to abort on a file not found error.
The first 5 characters of a line are reserved for the command. The parameter for the command must begin on the 6th character That means to add one space to 4 character commands like "CAB:" and no spaces to 5 character commands like "HIDE:".
In my next post, I'll go over settings customization by showing you SleuthProvisioning.xml.
Settings customization is pretty advanced stuff. You might want to get going first by simply using User Customization to install some cabs. If I were first starting out, I'd install cabs that customize my device. For example, I have a Tilt, so I would install a Keyboard patch cab for the Tilt layout and another cab that disables the AT&T hidden proxy. This would require two CAB: statements in SDConfig.txt.
However, if you're yearning to do more settings customization, then the "XML:" config statement is the key. Here's my XML provisioning file called SleuthProvisioning.xml. It initializes me in cleartype mode, changes my notification settings, initializes the default SIP to Block Recognizer, sets power and backlight timeouts, re-arranges my today screen and updates my Owner Name.
Code:
<wap-provisioningdoc>
<!-- ClearType Preferences -->
<characteristic type="Registry">
<!-- Just adding this Key enables ClearType -->
<characteristic type="HKLM\System\GDI\CLEARTYPE">
<parm name="Default" value="0" datatype="integer"/>
<noparm name="Default"/>
</characteristic>
<characteristic type="HKLM\System\GDI\ClearTypeSettings">
<parm name="OffOnRotation" value="0" datatype="integer"/>
</characteristic>
<!-- Owner Preferences -->
<characteristic type="HKCU\ControlPanel\Owner">
<parm name="Name" value="Sleuth 255" datatype="string"/>
<!-- Owner value is SZ_BINARY: 320 Unicode characters (640 bytes). XML "Binary" datatype processes this as Base64-->
<parm name="Owner" value="SwBlAaSwDyuuIIgvrRRvAHgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==" datatype="binary"/>
</characteristic>
<!-- Notification Preferences -->
<!-- New Email Message -->
<characteristic type="HKCU\ControlPanel\Notifications\{A877D65A-239C-47a7-9304-0D347F580408}">
<parm name="Options" value="2" datatype="integer"/>
</characteristic>
<!-- Reminders -->
<characteristic type="HKCU\ControlPanel\Notifications\{15F11F90-8A5F-454c-89FC-BA9B7AAB0CAD}">
<parm name="Options" value="1073741833" datatype="integer"/>
</characteristic>
<!-- Power/Backlight Timeout Preferences -->
<characteristic type="HKCU\ControlPanel\BackLight">
<parm name="BatteryTimeout" value="240" datatype="integer"/>
<parm name="ACTimeout" value="360" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\Control\Power\Timeouts">
<parm name="ACSuspendTimeout" value="300" datatype="integer"/>
<parm name="BattSuspendTimeout" value="180" datatype="integer"/>
</characteristic>
<!-- Application Preferences -->
<characteristic type="HKCU\Software\The Paradigm Group\sipchange\Parameters">
<parm name="DefaultSIP" value="Block Recognizer" datatype="string"/>
<parm name="Delay" value="10" datatype="integer"/>
</characteristic>
<characteristic type="HKCU\Software\Spacreat\SP TimeSync\General settings">
<parm name="Start minimized" value="Yes" datatype="string"/>
</characteristic>
<characteristic type="HKCU\Software\Spacreat\SP TimeSync\NTP client">
<parm name="Autosync period" value="21600" datatype="string"/>
</characteristic>
<!-- Silent Keyboard Sliding Sound -->
<characteristic type="HKLM\Software\HTC\SlidingSound">
<parm name="ActiveSlidingSound" value="0" datatype="integer"/>
<parm name="SlidingSoundEffect" value="0" datatype="integer"/>
</characteristic>
<!-- Today Screen Order/Enabled Preferences -->
<characteristic type="HKLM\Software\Microsoft\Today\Items\HTC Home">
<parm name="Enabled" value="0" datatype="integer"/>
<parm name="Order" value="0" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Today\Items\Windows Live Search">
<parm name="Enabled" value="1" datatype="integer"/>
<parm name="Order" value="1" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Today\Items\"Messaging"">
<parm name="Enabled" value="1" datatype="integer"/>
<parm name="Order" value="5" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Today\Items\"Calendar"">
<parm name="Enabled" value="1" datatype="integer"/>
<parm name="Order" value="20" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Today\Items\"Tasks"">
<parm name="Enabled" value="0" datatype="integer"/>
<parm name="Order" value="21" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Today\Items\"TomTom"">
<parm name="Enabled" value="0" datatype="integer"/>
<parm name="Order" value="22" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Today\Items\Windows Live">
<parm name="Enabled" value="0" datatype="integer"/>
<parm name="Order" value="23" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Today\Items\"Pocket Plus"">
<parm name="Enabled" value="1" datatype="integer"/>
<parm name="Order" value="24" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Today\Items\"Spb Weather"">
<parm name="Enabled" value="0" datatype="integer"/>
<parm name="Order" value="26" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Today\Items\"Spb Time"">
<parm name="Enabled" value="0" datatype="integer"/>
<parm name="Order" value="28" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Today\Items\"Spb Backup"">
<parm name="Enabled" value="0" datatype="integer"/>
<parm name="Order" value="42" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Today\Items\"Owner Info"">
<parm name="Enabled" value="0" datatype="integer"/>
<parm name="Order" value="46" datatype="integer"/>
</characteristic>
<characteristic type="HKLM\Software\Microsoft\Today\Items\Getting Started">
<parm name="Enabled" value="0" datatype="integer"/>
<parm name="Order" value="47" datatype="integer"/>
</characteristic>
</characteristic>
<-- File Operations -->
<-- Copy the SP Timesync link to startup so it gets executed whenever I reset -->
<characteristic type="FileOperation">
<characteristic type="%CE2%\Startup" translation="install">
<characteristic type="MakeDir" />
<characteristic type="StartTimeSync.lnk" translation="install">
<characteristic type="Copy">
<parm name="Source" value="\windows\Start Menu\Programs\SP TimeSync.lnk" translation="install" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Lets take a look at this more closely. The XML itself sets up two Configuration Service providers. One is used for registry operations and one for file operations. both are enclosed by the wap-provisioning tags. Here they are shown without any operations:
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
</characteristic>
<characteristic type="FileOperation">
</characteristic>
</wap-provisioningdoc>
Registry CSPs
Within the registry type, I set a lot of cool stuff. You should be able to firgure out how it works if you have basic registry skills. Essentially, setting values for any registry key looks like this:
Code:
<characteristic type="HKCU\ControlPanel\BackLight">
<parm name="BatteryTimeout" value="240" datatype="integer"/>
<parm name="ACTimeout" value="360" datatype="integer"/>
</characteristic>
First you set the key with the <characteristic type> tag, then you set values with the <parm name> tags. Binary values are a PITA since they're encoded Base 64 (see my entry for Owner Information above). If you want to set owner information as I did in the example, then you need to convert Unicode to Base64. Post here if you want to learn how and I'll show you how I do it.
Special characters within quotes in XML files must be represented using html special character sequences. For instance, the double quote (") character sequence is " so "Today\Items\"Pocket Plus"" would be written as "Today\Items\"Pocket Plus"". The full list of special HTML character sequences can be found here. This is especially important when changing today screen plugin order since some today screen registry entries actually have quotes in the key name. See my provisioning file above under "Today Screen order/enabled preferences" for an example of this.
File Operation CSPs
All the File Operation CSP parameters are described here.
Here's mine:
Code:
<characteristic type="%CE2%\Startup" translation="install">
<characteristic type="MakeDir" />
<characteristic type="StartTimeSync.lnk" translation="install">
<characteristic type="Copy">
<parm name="Source" value="\windows\Start Menu\Programs\SP TimeSync.lnk" translation="install" />
</characteristic>
</characteristic>
</characteristic>
%CE2% is a shorthand way for saying "\windows". As you can see, the first characteristic types set the working directory to \windows\startup, the destination file to "StartTimeSync.lnk" and the file operation to "Copy". Finally, the source file is set and the CSP copies \windows\SP TimeSync.lnk to \windows\startup\StartTimeSync.lnk.
Here's a great example from booda. It shows shortcut creation, move, directory creation and remove operations:
Code:
<characteristic type="FileOperation">
<!--Create folder in Programs called "Docs and Ref" and move Google Maps shortcut into it-->
<characteristic type="%CE2%\Start Menu\Programs\Docs and Ref" translation="install">
<characteristic type="MakeDir" />
<characteristic type="Google Maps.lnk" translation="install">
<characteristic type="Move">
<parm name="Source" value="%CE2%\Start Menu\Programs\Google Maps.lnk" translation="install"/>
</characteristic>
</characteristic>
</characteristic>
<!--Create "Doom" shortcut from exe on storage card and copy it into Games folder-->
<characteristic type="%CE2%\Start Menu\Programs\Games" translation="install">
<characteristic type="MakeDir" />
<characteristic type="gfDoom.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="\Storage Card\Games\Doom\gfDoom.exe" translation="install"/>
</characteristic>
</characteristic>
</characteristic>
<!-- Move Office folder from Start Menu into Docs and Ref folder -->
<characteristic type="%CE2%\Start Menu\Programs\Docs and Ref\Office Mobile" translation="install">
<characteristic type="MakeDir" />
<characteristic type="Excel Mobile.lnk" translation="install">
<characteristic type="Move">
<parm name="Source" value="%CE2%\Start Menu\Programs\Office Mobile\Excel Mobile.lnk" translation="install"/>
</characteristic>
</characteristic>
<characteristic type="icon.lnk" translation="install">
<characteristic type="Move">
<parm name="Source" value="%CE2%\Start Menu\Programs\Office Mobile\icon.lnk" translation="install"/>
</characteristic>
</characteristic>
<characteristic type="OneNote Mobile.lnk" translation="install">
<characteristic type="Move">
<parm name="Source" value="%CE2%\Start Menu\Programs\Office Mobile\OneNote Mobile.lnk" translation="install"/>
</characteristic>
</characteristic>
<characteristic type="PowerPoint Mobile.lnk" translation="install">
<characteristic type="Move">
<parm name="Source" value="%CE2%\Start Menu\Programs\Office Mobile\PowerPoint Mobile.lnk" translation="install"/>
</characteristic>
</characteristic>
<characteristic type="Word Mobile.lnk" translation="install">
<characteristic type="Move">
<parm name="Source" value="%CE2%\Start Menu\Programs\Office Mobile\Word Mobile.lnk" translation="install"/>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="%CE2%\Start Menu\Programs\Office Mobile" translation="install">
<characteristic type="RemoveDir" />
</characteristic>
</characteristic>
booda said:
Couple of things to note - I always use "install" and "MakeDir" commands for folders - if the folder already exists, it won't do anything, and if it doesn't, the folder will be created. Either way, you know the folder will be there to move the shortcuts into.
The MakeDir and RemoveDir commands don't require a closing [/characteristic] tag - just make sure the slash is included as in the examples above.
You have to make sure that 1) any files you're referencing already exist and 2) you have the names exactly right. If you try to move a shortcut that isn't there or has a different name than what you referenced, the whole process bombs out.
Click to expand...
Click to collapse
Here are all the %CE#% shortcuts (thanks to chainfire)
Code:
%CE1% \Program Files
%CE2% \Windows
%CE3% ***Not Defined***
%CE4% \Windows\Startup
%CE5% \My Documents
%CE6% \Program Files\Accessories
%CE7% \Program Files\Communication
%CE8% \Program Files\Games
%CE9% ***Not Defined***
%CE10% ***Not Defined***
%CE11% \Windows\Start Menu\Programs
%CE12% \Windows\Start Menu\Programs\Accessories
%CE13% \Windows\Start Menu\Programs\Communication
%CE14% \Windows\Start Menu\Programs\Games
%CE15% \Windows\Fonts
%CE16% ***Not Defined***
%CE17% \Windows\Start Menu
EMAIL2 CSPs
All the EMAIL2 CSP provisioning parameters are described here
Elosogrande7076 shows us how to provision a couple of email accounts below. To be safe, use GUID-GEN to generate unique GUIDs. This is because duplicate GUIDs will cause undefined results on your device.
Code:
<wap-provisioningdoc>
<characteristic type="EMAIL2">
<characteristic type="{7B3D74EC-35D9-45e3-B8F3-E38F4B90D174}">
<parm name="SERVICENAME" value="Gmail" />
<parm name="SERVICETYPE" value="IMAP4" />
<parm name="INSERVER" value="imap.gmail.com" />
<parm name="OUTSERVER" value="smtp.gmail.com" />
<parm name="NAME" value="Username" />
<parm name="AUTHNAME" value="[email protected]" />
<parm name="AUTHSECRET" value="password" />
<parm name="DOMAIN" value="" />
<parm name="REPLYADDR" value="[email protected]" />
<parm name="LINGER" value="15" />
<parm name="RETRIEVE" value="-1" />
<parm name="KEEPMAX" value="-1" />
<parm name="DWNDAY" value="3" />
<parm name="AUTHREQUIRED" value="1" />
<parm name="SMTPALTENABLED" value="1" />
<parm name="SMTPALTAUTHNAME" value="[email protected]" />
<parm name="SMTPALTPASSWORD" value="password" />
<parm name="SMTPALTDOMAIN" value="smtp.gmail.com" />
</characteristic>
</characteristic>
<characteristic type="EMAIL2">
<characteristic type="{877e6100-cd6d-4a44-bd4c-3edf4b901480}">
<parm name="SERVICENAME" value="Gmail1" />
<parm name="SERVICETYPE" value="IMAP4" />
<parm name="INSERVER" value="imap.gmail.com" />
<parm name="OUTSERVER" value="smtp.gmail.com" />
<parm name="NAME" value="Username" />
<parm name="AUTHNAME" value="[email protected]" />
<parm name="AUTHSECRET" value="password1" />
<parm name="DOMAIN" value="" />
<parm name="REPLYADDR" value="[email protected]" />
<parm name="LINGER" value="15" />
<parm name="RETRIEVE" value="-1" />
<parm name="KEEPMAX" value="-1" />
<parm name="DWNDAY" value="3" />
<parm name="AUTHREQUIRED" value="1" />
<parm name="SMTPALTENABLED" value="1" />
<parm name="SMTPALTAUTHNAME" value="[email protected]" />
<parm name="SMTPALTPASSWORD" value="password1" />
<parm name="SMTPALTDOMAIN" value="smtp.gmail.com" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
XML Creation FAQ
1.- Why Provisioning file is not loaded, I mean, it doen't work nor load any registry or feature that I added to it?
Click to expand...
Click to collapse
Its probably a syntax error. Here's how I debug syntax:
first obtain a cab creation utility. For windows I use Cabarc, a free m$ utility
you can then rename your xml to _setup.xml and double click to load it into a browser. This will verify that your <tag></tag> nesting is correct along with validating tag statements. IE won't load an xml file in display mode if this isn't correct. As an added benefit, the error message will point to the exact line where the error occurs.
If it looks good, make a cab containing only _setup.xml itself and run it on your device. If the xml is good, installation will be successful & your changes will be made
if unsuccessful, use successive installs to isolate the part that isn't working.
2.- How I convert the HEX values showed at Registry Editor to base64 unicode? (I'm Mac user) It is for Owner registry stuff.
Click to expand...
Click to collapse
Being a Mac user, ymmv on this, but my technique using Windows is as follows:
create a Unicode file with your favorite text editor and enter your owner name (I use Windows Notepad for this, not sure what a Mac uses). Then pad it out to 320 characters with "%" characters.
now open that file with a Hex editor and do a global Hex replace on 25 (the hex representation of a "%") to 00. This produces a file containing the Unicode representation of your Owner name padded with binary zeros. I use WinHex for this btw.
Now browse to this site and select the file you've just created. Press "Convert the Source data". The Base64 data will appear.
Copy data to clipboard, paste into your editor (make sure word wrap is off) and remove all the newline characters (go to beginning of each line starting from bottom & press backspace). when complete, you will have one single line of base64 data. Now copy to clipboard & paste into my example.
Done!
Update: RapiConfig might be faster. See stan23's post located here. Download link is included.
Here's an easier way to create your provisioning XML files!
get the reg -> xml tool in the first post note: needs .net framework. My computer has .net v3.5 & it works fine.
load an app that can do registry exports on your device. The one I use is dotfred's task manager
export the key you want to provision & copy to desktop using activesync
fire up the tool, give it the .reg and it will create provxml that contains the Registry CSP you need
open provxml with notepad, cut out key you want & paste this into your provisioning xml within your registry CSP tags
done!
Nice contrubution....
only can say THANKS
Great work
Are you also supporting these functions?
SHOW:\Storage Card\MyImage.bmp
EXEC:\Storage Card\cusTSK.exe \Windows\MyTheme.tsk
EXEC:\windows\SetHSDPA.exe /Disable
CPY1:\Storage Card\MyFile.ext
CPY2:\My Documents\MyFile.ext
Click to expand...
Click to collapse
They were present with the orginal HTC AutoRun.exe's
I haven't gotten CPY1 and CPY2 to work. I'd make a cab to copy files itmt. EXEC: works just fine. I haven't tested SHOW: yet.
I'm acutally using AutoRun to parse btw. My program just configures the registry then runs AutoRun.exe again.
Note: many people have gotten CPY1 and CPY2 to work correctly The syntax is as follows:
CPY1: <source file to copy>
CPY2: <destination to copy to>
CPY2: must immediately follow CPY1:
YMMV on this command for sure. On a Kaiser, these commands don't appear to work properly.
Sleuth255....
This is fantastic! Excellent information. Thank you!!
About install apps to Storage Card
Hi Sleuth,
There is a way for get apps installed in my Storage Card? I preffer this way because I want the memory device free for running applications.
Thanks in advance,
Taguapire.
sorry. AutoRun, by HTC design, cannot install apps to your storage card.
edit:
Actually, AutoRun installs cabs to the location specified by the cab itself. Most cabs don't specify a location however and in this case AutoRun chooses the device. However, you can override this behavior by using WinCE Cab Manager to create a cab that will only install to the Storage Card.
I have been using this method to build devices since WM5 launched. I think that only the early versions of AutoRun.exe have the copy command - I have also seen a command which allowed you to pass additional Config.txt files...
Personally I use my own custom built AutoRun which works upon card being pushed in to the device (a 2577 autorun.exe) - This then does three things
[*]Looks for a hardcoded MyPersonalStuff.xml and pass to the Configuration.Manager - as above
[*]Then look in a dir on the storage card and sequencially install each cab
[*]Look for another hardcoded MyDeviceStuff.xml file and also configure it once the apps have been installed - reorg my start menu, populate custom application settings (Launchers etc) and do any device specific stuff.​
​
This then allows me to configure all the os stuff first (generic to WM and all devices) install all my cabs, then apply a load of device and application specific suff - like re-ordering my start menu, set info for home screen launchers etc
Really this is just a set of application classes which can be used in any order - displaying a form and having a go button, read from a XML or flat file, device type validation, doing it all silently or whatever.
Do you want me to build you a custom version of AutoRun.exe with some new functionality? Extra commands, chosen file locations, the ability to install all cabs in a certain dir?
Got the code just need some help with requirements and a spec - the build part is easy
Actually, I'm hoping for an app that lets you select cabs & xml files then builds SDConfig.txt.
A bit more complex would be an preference configuration builder that would build an XML file based on user preferences then add it to SDConfig.txt.
I'll get to work on the first one shortly.
One thing I'm not sure of though: I fire off AutoRun.exe with a RUN parameter (otherwise it doesn't run on a Kaiser). Is this a universal requirement for all devices?
Sound like one app to me - I have already started on something kinda like that anyway leave it with me for a few days
That RUN command is hardcoded into the AutoRun.exe - the developer would have chosen this when he built the file.
Good, as long as all devices fire off AutoRun with the RUN parameter then my SDAutoRun program should work universally.
About Provisioning XML File
Hi Sleuth,
I tried to use the UC feature in your ROM, but I have few questions.
1.- Why Provisioning file is not loaded, I mean, it doen't work nor load any registry or feature that I added to it?
2.- How I can add to Provisioning all my Connection profiles including APNs, etc.?
3.- How I convert the HEX values showed at Registry Editor to base64 unicode? (I'm Mac user) It is for Owner registry stuff.
4.- Which are the registry settings for Arc Soft Message composer for MMS stuff?
5.- Can I configure my Exchange account using registry settings? If it is true, how I can do it?
I just did a search to the registry but I can't find any of above things.
Best Regards,
Taguapire.
taguapire said:
Hi Sleuth,
I tried to use the UC feature in your ROM, but I have few questions.
Click to expand...
Click to collapse
Your questions are so good I turned them into a FAQ on post #3.
Sleuth255 said:
create a Unicode file with your favorite text editor and enter your owner name (I use Windows Notepad for this, not sure what a Mac uses). Then pad it out to 320 characters with "%" characters.
...
Click to expand...
Click to collapse
But you only get your name into that base64 data.
You might type in the whole owner information once, then use RapiConfig with the following input (i.e. content of RapiConfigIn.xml)
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\Owner">
<parm-query name="Owner"/>
<parm-query name="Owner Notes"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
to extract it from the registry.
This is even better, because it get's the whole owner information including telephone number and email address:
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic-query type="HKCU\ControlPanel\Owner" recursive="true"/>
</characteristic>
</wap-provisioningdoc>
Same works for E-Mail
Code:
<wap-provisioningdoc>
<characteristic-query type="EMAIL2" recursive="true"/>
</wap-provisioningdoc>
and Wi-Fi:
Code:
<wap-provisioningdoc>
<characteristic-query type="Wi-Fi" recursive="true"/>
</wap-provisioningdoc>
Of course I don't know whether there is a RapiConfig for Mac users
sorry 4 my question but where do i find the cabs
Sleuth255 said:
[*] Cabs that specifically wait for additiional user input (other than the initial location) cannot be loaded. An example of this is the 1-calc installation which stops and makes you accept a license agreement.
Click to expand...
Click to collapse
Actually, you can load cabs that need user input - you just have to group those cabs together and use the Hide command. For instance:
Code:
LOCK:Enabled
CAB: \Storage Card\Cabs\Tilt_keyboard_fix.cab
CAB: \Storage Card\Cabs\Vibra_(Switch)_1.32.cab
LOCK:Disabled
HIDE:Enabled
CAB: \Storage Card\Cabs\ListPro-PocketPC-5.cab
CAB: \Storage Card\Cabs\eWallet-PocketPC-Install.cab
HIDE:Disabled
LOCK:Enabled
XML: \Storage Card\Cabs\device_settings.xml
XML: \Storage Card\Cabs\software_settings.xml
LOCK:Disabled
RST: Reset
In the above example, the screen is unlocked and the customization window is hidden before the ListPro & eWallet cabs are launched so you can provide the user input they require. Then the screen is relocked and the customization window is restored to finish installing other cabs/xml that don't require user input.
I just tried this on your v3.0 ROM (which is great, btw) and it worked fine. UC is fantastic, thanks for implementing such a useful feature.
Woah! I didn't know there was a HIDE: command!
Great tip!

Delete this thread, please

I want to specify my own connection settings in the ext rom by replacing or editing a particular file. I just extracted _setup.xml from pp_tmhr_connection_settings.cab that was in the Ext Rom, and have no idea how to read it. I know it specifies all (or most) of the connectino settings for my device, and I can figure out the xml tags and what not, but don't know how to edit or decifer the actual data specified.... as shown below. Someone please help me.
<wap-provisioningdoc>
<nocharacteristic type="CM_ProxyEntries"/>
<!-- Default Connection for Internet -->
−
<characteristic type="CM_ProxyEntries">
−
<characteristic type="HTTP-{0811B893-9F40-4130-80EF-B0C9E0A6FEFA}"> ---->I don't understand this string of characters<----
<parm name="SrcId" value="{0811B893-9F40-4130-80EF-B0C9E0A6FEFA}"/>
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
<parm name="Proxy" value="new-inet:1159"/> ---->I don't understand this either<----
<parm name="Type" value="0"/>
<parm name="Enable" value="1"/>
</characteristic>
Click to expand...
Click to collapse

Can't create a CAB with certain files

Hi,
I tried various CAB generator, and everytime I tell it to install a certain file it fails. The CAB can't be installed. It's an executable ment to be run on a PocketPC so I don't understand why it can't be installed through a CAB file.
I tried UPX-ing the file, that failes also.
Is there a way to debug this problem? Or does anyone know why this file gives me these problems? Any help is welcome, I'm out of ideas...
Attached is the file, it's a TSR (ripped from a Via Michelin installation) that detects if AC power is connected or disconnected.
TIA,
Cheers,
/Cacti
Can you attach the cab you are installing?
<characteristic-error type="Extract">
Hi,
I picked up this project again, but still haven't a solution yet.
The setup.log of the installation looks like this:
Code:
<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="install"/>
<parm name="AppName" value="Le Cactus CU-S400 Emulator"/>
<parm name="NumDirs" value="1"/>
<parm name="NumFiles" value="1"/>
<parm name="NumRegKeys" value="0"/>
<parm name="NumRegVals" value="0"/>
<parm name="NumShortcuts" value="0"/>
</characteristic>
<characteristic type="FileOperation">
<characteristic type="\Program Files\Temp" translation="install">
<characteristic type="MakeDir"/>
<characteristic type="CarKitMode Detect Helper.exe" translation="install">
[B]<characteristic-error type="Extract"><parm name="Source" value="CARKIT~1.001"/>[/B]
[B] </characteristic-error>[/B]</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
</characteristic>
</wap-provisioningdoc>
Even with this specific error (characteristic-error type="Extract") google doesn't seem to offer an anwser.
I tried looking for other solutions, like self extrecting executables but they alle seem to only work for PC's not for pocket PC's, of need licenses for distribution.
Anyone know the answer to the Extract error, of know of a free PPC SFX creator?
TIA,
Cheers,
/Cacti

Categories

Resources