yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] ptitrusse:
Hi again

I've gotten most of it to work by cutting it out into different xmls...

but I can't manage to get this one to work

<characteristic type="FileOperation">
<characteristic type="%CE5%\My Ringtones" translation="install">
<characteristic type="MakeDir" />
<characteristic type="neon ring.mp3" translation="install">
<characteristic type="Copy">
<parm name="Source" value="Storage Card\My Documents\My Ringtones\neon ring.mp3" translation="install"/>
</characteristic>
</characteristic>
<characteristic type="Crazy on You.mp3" translation="install">
<characteristic type="Copy">
<parm name="Source" value="Storage Card\My Documents\My Ringtones\Crazy on You.mp3" translation="install"/>
</characteristic>
</characteristic>
<characteristic type="Message in a bottle.mp3" translation="install">
<characteristic type="Copy">
<parm name="Source" value="Storage Card\My Documents\My Ringtones\Message in a bottle.mp3" translation="install"/>
</characteristic>
</characteristic>
<characteristic type="the wanderer.mp3" translation="install">
<characteristic type="Copy">
<parm name="Source" value="Storage Card\My Documents\My Ringtones\the wanderer.mp3" translation="install"/>
</characteristic>
</characteristic>
</characteristic>
</characteristic>

I checked with IE to make sure the syntax was ok and it seems right..

anybody see anything wrong with it?
[Windows Mobile Software Development] RoryB:
Try taking translation="install" out of the parm lines.

I use xcopyce to copy \storage card\my ringtones folder to the device's ringtone folder.
[Windows Mobile Software Development] wolframio74:
what file contain the code to generate the start menu ????
[Windows Mobile Software Development] DomSim:
there isnt one. it is just links in the start menu folder. you can set your up easily with mortscript though. this is how i did mine,

Move("\Windows\Start Menu\*.lnk", "\Windows\Start Menu\Programs\", overwrite)
Move("\Windows\Start Menu\Programs\Calculator.lnk","\Windows\Start Menu\")
Move("\Windows\Start Menu\Programs\Camera.lnk","\Windows\Start Menu\")
Move("\Windows\Start Menu\Programs\Comm Manager.lnk","\Windows\Start Menu\")
Move("\Windows\Start Menu\Programs\File Explorer.lnk","\Windows\Start Menu\")
Move("\Windows\Start Menu\Programs\Internet Sharing.lnk","\Windows\Start Menu\")
Move("\Windows\Start Menu\Programs\Notes.lnk","\Windows\Start Menu\")
Move("\Windows\Start Menu\Programs\Total Commander.lnk","\Windows\Start Menu\")

using this as a template you can replace the shortcuts i have choosen with what you want.
[Windows Mobile Software Development] wolframio74:
thats its exactly what i need, move or delete the files on de start menu, i cant do this with the origanal htc customization at frist boot? regads!
[Windows Mobile Software Development] DomSim:
yes you can! make a new text document and paste my code from above in it. save it as mortscript.mscr place this somewhere safe on your storage card. now in your sdconfig.txt add these lines,

CPY1:\Storage Card\mortscript.mscr
CPY2:\Temp\mortscript.mscr
EXEC:\Temp\mortscript.mscr

this will move the script into the temp directory and execute it.

btw you need to install mortscript in your sdconfig.txt before running the script. you can download it free here
[Windows Mobile Software Development] ptitrusse:
Hi all..

I solved my problem above with a simple :

CPY1:\Storage Card\My Documents\My Ringtones\neonring.mp3
CPY2:\My Documents\My Ringtones\neonring.mp3

no need for an xml to do this...

see ya
[Windows Mobile Software Development] wolframio74:
so, no body know if exist some command for delete a file like DLTF:\Temp\file.file or DELF:\Temp\file.file...? any way i am gonna cook MS in my rom then try your examples, regards!
[Windows Mobile Software Development] epimazzo:
Sleuth,

that's what exactly happens to me. I'll check and changes cabs to the root and see if works.

Thanks,:cool:
[Windows Mobile Software Development] epimazzo:
I'm without luck for sure!:(

Still no clues why I'm getting ABort file not found even moving cabs to the SD root. There's no type error in SDConfig.txt that could be causing this also. All checked.

It seems that SDAutoRun really find SDconfig but with no explanations, it insist to tell that it doesn't find the cab! :mad:

I'm starting thiking that Wizard devices don't like that!:o

Sleuth, if you still have some tips, I'd appreciate your shares!:cool:

Thanks
[Windows Mobile Software Development] Noonski:
For those New Flashers that forget to install them before JumpSPL.
[Windows Mobile Software Development] Blitzed26:
Check your PM, I just clarified my previous post on how I fixed my problem. Let me know if this solves your problem.
[Windows Mobile Software Development] Sleuth255:
Note: spaces/tabs after the filename in the CAB: line will cause SDAutoRun to not find the referenced file. Check yours with notepad. NewLine characters should be immediately after the "b" in "cab" or the filename lookup in SDAutoRun (and maybe autorun too) will fail.
[Windows Mobile Software Development] epimazzo:
Yep...got that! It's all up here now...I only noticed an error message stating that PIM.VOL was not found as I posted in the Chief's thread.:rolleyes:
[Windows Mobile Software Development] jeffreycentex:
Here is a provisioning question:

How do you do a reg file like this:

[HKEY_LOCAL_MACHINE\Software\Sling Media\SlingPlayer\Player\[1]]

"Last valid addr"=dword:000000
​

I tried to do this by hand and with the registry conversion tool. I have problems with the [1] section. The conversion tool drops the "[" and "]" around the 1. I try importing the .provxml command with and without the []'s, but in the case without - I get an import error, and in the case with, I don't successfully get the reg entries in like Slingplayer wants.

Any suggestions?

This and finding out where PhoneWeaver stores the registration data is all I have left to have a completely customized phone after reinstall.

Also a few hints for some of you out there:

Phoneweaver stores all of the preferences except the registration in the My Documents\SBSH directory. You can replace this file and get all of your settings saved.

Mobibook preferences are saved in a file named "MBP_global_configuration.mbp" located in the \Windows directory.

Using CABWIZ is easier than trying to figure out FileOperations provisioning.
[Windows Mobile Software Development] stan23:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Software\test\[1]">
<parm name="myName" value="myNEWValue" datatype="string"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>

works fine in RapiConfig

What syntax did you try?
[Windows Mobile Software Development] jeffreycentex:
Exactly that... I got a syntax error due to the []'s. Without them, it inserted into the registry fine (just the wrong location).
[Windows Mobile Software Development] kwickone:
Hey doedoe, very cool!!!!!

I am just starting to play with it now. You have probably heard this already (but i did not find with search), but the UI specifically looks for a lower case .cab file. I had some with upper case .CAB and it did not see those.

Now I will go back to playing and see if I can get it to work.

Thanks again.
[Windows Mobile Software Development] kwickone:
Anyone have any idea what is going wrong? I am getting the: "Abort: File Not Found" error on every single entry.

I have a Tilt, using Dutty's new 6.1 that is now UC Compliant...and yes, my SD card is called Storage Card.

Here is my SDConfig.txt file contents:

LOCK: Enabled

CAB: \Storage Card\Cabs\Tilt_keyboard_fix.cab

CAB: \Storage Card\Cabs\SOTI_WM5_ARM_601P.cab

CAB: \Storage Card\Cabs\WkTaskL_1173c.cab

CAB: \Storage Card\Cabs\Vibra (Switch) 1.32.cab

CAB: \Storage Card\Cabs\BatteryStatusExt.1.05.build_0272.cab

CAB: \Storage Card\Cabs\CorePlayer.1.1.3.cab

CAB: \Storage Card\Cabs\PCMKeyboardEN-0.13.cab

CAB: \Storage Card\Cabs\PCMKeyboard_Touch-Skin_Layout_Collection.cab

CAB: \Storage Card\Cabs\S2U2-0.99p-WM5.cab

CAB: \Storage Card\Cabs\S2V-0.32-WM5.cab

CAB: \Storage Card\Cabs\S2P-0.10-WM5.cab

CAB: \Storage Card\Cabs\TTN.cab

HIDE: Enabled

CAB: \Storage Card\Cabs\cardexport-wm5.ARMV4.cab

HIDE: Disabled

HIDE: Enabled

CAB: \Storage Card\Cabs\pTravelAlarm_273_WM2005.STRONGARM.cab

HIDE: Disabled

LOCK: Disabled

RST: Reset

Thanks all.
[Windows Mobile Software Development] Noonski:
Sleuth has update the first post about spaces and tabs after the .cab etc
[Windows Mobile Software Development] kwickone:
EDIT: found my issue. Thanks Noonski!
[Windows Mobile Software Development] -haze-:
Sleuth,

I am trying this with dutty's new 6.1 rom and I'm having trouble getting the autorun.exe to run properly because I have TomTom installed on my memory card. Every time I pop the memory card in, TomTom opens up automatically.

How can I get around this?

Thanks.

Also, you can update the UC roms with dutty's, here's the link:

http://xdaforums.com/showthread.php?t=369505

Note, it's Build 5.219716
[Windows Mobile Software Development] kwickone:
I had this happen as well. I had a folder on my card called "2577". That is where TomTom autoruns from. What I did was copy the TTN.cab file from there and put it in my "Cabs" folder on the Storage Card. Then I deleted the rest of the files from that Dir. No more issues.

Hope that Helps.
[Windows Mobile Software Development] -haze-:
Thanks, but how do I "force" it to do the correct Autorun.exe so it will load my cabs?

Next time I flash, I will load the ttn.cab into my cab list. I currently have a "naked" rom and my SDConfig.txt is getting bored. :D
[Windows Mobile Software Development] -haze-:
Well, I can't get this working. I removed the TomTom files and did a hard reset and I still have nothing happening over here. I even tried to go into the windows folder and run the SDautorun.exe file to see if that did anything and nothing happened.

Are you supposed to have the SD card in there when you flash or do you put it in after?
[Windows Mobile Software Development] SysWiz:
You might want to add No2Chem's ROMs as being UC compatible. Starting with build 5047 they can do UC.
[Windows Mobile Software Development] -haze-:
OK, I deleted the TomTom files and re-flashed and it worked.

I also realized that you can't just pop the SD card in and have it run automatically. It looks like it only occurs after the screen align.

Is this correct?
[Windows Mobile Software Development] -haze-:
Thanks Moe, I plan on doing this for all my cabs. For the most part, I'd say I install 80% of my cabs to the storage card. Would that be the correct syntax to edit in Cab Manager? "\Storage Card\Program Files\"

Thanks again,

-HAZE-
[Windows Mobile Software Development] badwolf:
I have slingplayer and tomtom installed on the storage card. I want to copy shortcuts into the startup/program file. If i do copy i get ..lnk not found. the install doesnt seem to work.

Ideas?

Thanks
[Windows Mobile Software Development] havocnl:
Is there a good way to copy the content of an entire folder with either COPY in SDConfig or FileOperations in Provisioning?

I want to copy a custom M2D theme to \Windows from a fixed location on my SD card... It's about 320 files so a lot of work to do that manually....
[Windows Mobile Software Development] DaveShaw:
xcopyce by your's truly :)

Ta

Dave
[Windows Mobile Software Development] RoryB:
I have found that I have to stop M2D to be able to copy my custom xml to have operator tab as the action tab. I use mortscript to stop M2d, then copy the xml and I also copy the folder from my SDCard to the device that has my images for the action tab.
[Windows Mobile Software Development] havocnl:
used xcopy to copy the entire folder and works great. also the HTCHomesettings.xml is copied over. Don't have stop M2D for it. All settings are overwritten (even some I didn't mean to :p)
[Windows Mobile Software Development] wolframio74:
OK, i cook M.SCPT on my ROM, i create and cook a Script called start_menu.mscr using your example, the script goes into the windows folder, then put this line in my config_operator.txt "EXEC: \WINDOWS\start_menu.mscr", when the device do the frist boot, htc customization dosnt run, i try the script and work perfect! any ideas?
[Windows Mobile Software Development] ptitrusse:
Hi all

When I backup my owner info with the exemple given in the first page, I get a white square in front of my name in windows mobile... Should I copy the double slash which comes before the string in base64 or not? maybe that's the reason...
[Windows Mobile Software Development] ticktock:
The uc.zip file is no longer available to download. :confused:

I too am interested in seeing the correct info for wifi, ssid, WPA2, PKI, but I have yet to find anything. I tried rapiconfig based off of the post on the second page, but didn't have any luck, I tried pulling

<wap-provisioningdoc>
<characteristic-query type="Wi-Fi" recursive="true"/>
</wap-provisioningdoc>

But all it returned was the following:

<wap-provisioningdoc>
- <characteristic type="Wi-Fi" recursive="true">
<characteristic type="access-point" />
<characteristic type="ad-hoc" />
<parm name="Filter" value="1" />
<parm name="NotificationState" value="1" />
<parm name="WifiTimeout" value="0" />
</characteristic>
</wap-provisioningdoc>

which doesn't have my key or anything else in it. If anyone has any ideas please let me know. Thanks,
[Windows Mobile Software Development] ParrotSquawk:
easy things that I need to do

When resetting my phone, the cabs that need to be installed to the main memory will be installed using SDconfig.txt, They create the necessary shortcuts and registry entries. I can figure that part out.

It is the next step of reactivating already installed programs without the need for reinstalling the cabs that has me a bit befuddled.

Most of my apps have been previously been installed onto my SD card so as to leave as much main memory free as possible. In order to make them work, I had installed them all by cab, which has created the required shortcuts and registry entries. I have backed those up. Then, if I need to hard reset my machine, all I would need to do is restore those registry keys and shortcuts, as well as mailboxes and owner information. I can manually import the registry entries and copy the ".lnk"s to the appropriate main memory folder.

In simple words, what is the best way to do automate these specific tasks using UC? (thanks to the contributors in this forum but you think and write beyond my pay grade! I need small words like >>> Insert you registry key you wish to add here <<<< )
[Windows Mobile Software Development] malborc:
Hi everybody!

I try to turn on my phone using a pvrovisionxml, it can be maded?

I make a cab since a provisionxml and this contain a program to get the real time from a internet server. with mortscript i can open the program, acces to internet an syncro date and time, but only when my phone is on... :S

Excuse my bad english xD
[Windows Mobile Software Development] pechroc1:
Does anyone know what file to copy and restore with UC in order to restore the "stock tab" in TF3D2?????? i could really use some help on this.

thanx in advance.
[Windows Mobile Software Development] DomSim:
application data\ygo
[Windows Mobile Software Development] wolframio74:
anyway to make Tier Auto Install use HIDE command whe un install packages from selection list? its hang up the installing process when you try to install a package with dialogs...
[Windows Mobile Software Development] wolframio74:
anyone know how i can delete a file after i use it, i want to delete wificountrycode.cab on windows folder after user customization install it... i try puting this on an XML without any luck...

<characteristic type="\Windows\WiFicountrycode.CAB" translation="install">
<characteristic type="Delete">
<parm name="ForceDelete"/>
</characteristic>
</characteristic>
[Windows Mobile Software Development] RoryB:
Try

But, if the cab is installed as part of the ROM it will not delete. Which I am guessing is the case since you do not need to copy cab files to windows before running them in sdconfig.txt
[Windows Mobile Software Development] wolframio74:
well, dont work, as you say its part of the rom, but its there any just to change the files properties or cook outside of windows folder, per example: the file goes to the in the ROOT of memory device and not market as ROM file... i can take out the file from Windows folder before the kitchen, but i have no idea how to do the rest... Regards!
[Windows Mobile Software Development] RoryB:
Unfortunately, the files in the ROMs only get installed into the windows folder. The trick people use to reduce the number of files in the windows folder is to make a cab with some of the files in it. This cab ends up in the windows folder, but when it is run it can put it's files anywhere. The files installed by the ROM are usually set to system, read only, and sometimes hidden. The ones iinstalled by the cab usually can be erased, but they can have their attributes set too.
[Windows Mobile Software Development] ful babu:
may b this is a dumb question but i cudnt find the asnwer, does cpy1 & cp2 replace the existing file in the destination, even if it is protected ?

actually I want to replace the HTC background files from windows folder
[Windows Mobile Software Development] CheongKing:
Anyway can I configure the UC to install the programs into Storage Card rather then onto the phone?

Anyone know if its possible and how to do it?

Thanks
[Windows Mobile Software Development] ckasek:
Google Sync

has anyone set up an exchange server to use Google Sync to grab your calendar and contacts? I've been looking at the Sync config page on msdn, just figured before i jumped in and started with trial and error, i'd see if anyone else has set it up already. :)

edit: this seems to work, though I'm not sure the best options for the peak times. As it is below, it will connect sync during the "peak time" of M-F, 8am - 5pm, anytime there is an update, and never sync during offpeak times.

Not sure what the default settings are when you add the server manually on the phone.

<wap-provisioningdoc>
<characteristic type="Sync">
<characteristic type="Connection">
<parm name="Server" value="m.google.com"/>
<parm name="User" value="USERNAME@gmail.com"/>
<parm name="Domain" value=""/>
<parm name="AllowSSLOption" value="1"/>
<!-- The password and save password are optional -->
<parm name="Password" value="YourPassword" />
<parm name="SavePassword" value="1" />
</characteristic>
<characteristic type="Settings">
<parm name="PeakStartTime" value="0800"/>
<parm name="PeakEndTime" value="1700"/>
<parm name="PeakFrequency" value="-1"/>
<parm name="OffPeakFrequency" value="0"/>
<parm name="BodyTruncation" value="-1"/>
<characteristic type="PeakDays">
<parm name="Sun" value="0"/>
<parm name="Mon" value="1"/>
<parm name="Tue" value="1"/>
<parm name="Wed" value="1"/>
<parm name="Thr" value="1"/>
<parm name="Fri" value="1"/>
<parm name="Sat" value="0"/>
</characteristic>
</characteristic>
<characteristic type="Calendar">
<parm name="Enabled" value="1"/>
</characteristic>
<characteristic type="Contacts">
<parm name="Enabled" value="1"/>
</characteristic>
<characteristic type="Mail">
<parm name="Enabled" value="0"/>
</characteristic>
<characteristic type="Tasks">
<parm name="Enabled" value="0"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
[Windows Mobile Software Development] havocnl:
Had the same problem, enable your wifi first. Then connect your phone to your pc and run RapiConfig. Shoudl work then!
[Windows Mobile Software Development] karatche:
I would like for someone to build for me a UC or teach me how. I just don't think I have the tenacity to mount this task. I would be willing to learn but cannot do so without some direct instruction.
[Windows Mobile Software Development] Haspels:
Hope someone can help me with this one.

I'm fairly new to using UC.

I have my touch pro setup after hard reset to install cabs and even modify settings for the synchronization with exchange using xml in sdconfig.txt.

For some reason however I can't get user info setting installed automatically.

Below provisioning won't change the user settings.

First I took the easy way and copied Sleuths xml (from the first posts) and entered my own info:

<characteristic type="HKCU\ControlPanel\Owner">

<parm name="Name" value="Haspels" datatype="string"/>

<!-- Owner value is SZ_BINARY: 320 Unicode characters (640 bytes). XML "Binary" datatype processes this as Base64-->

<parm name="Owner" value="SGFzcGVscwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" datatype="binary"/>

</characteristic>

When that didn't work i exported the registry file and extracted the settings and reworked them to below xml.

<wap-provisioningdoc>

<characteristic type="HKCU\ControlPanel\Owner" translation="filesystem">

<parm name="Owner" datatype="binary" value="41,00,72,00,74,00,68,00,75,00,72,00,20,00,50,00,6f,00,75,00,77,00,\"/>

<parm name="Owner Notes" datatype="binary" value="00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\"/>

<parm name="Notes" datatype="string" value=""/>

<parm name="E-mail" datatype="string" value="my.name@mailserver.com"/>

<parm name="Telephone" datatype="string" value="+000000000"/>

<parm name="Name" datatype="string" value="My Name"/>

</characteristic>

</wap-provisioningdoc>

Alas, that didn't do the trick, so I gave it another shot and tried to retreive the settings with rapiconfig using

below xml

<wap-provisioningdoc>

<characteristic type="Registry">

<characteristic-query type="HKCU\ControlPanel\Owner" recursive="true"/>

</characteristic>

</wap-provisioningdoc>

this delivers the error message Config failed <0x80070005>: acces is denied.

Who can help me with this?

thanks!

ps. Running Energy Rom 3.0 / WM6.5
[Windows Mobile Software Development] Black C5:
See post 10 :)
[Windows Mobile Software Development] mcspikesky:
File not found.

LOCK:Enabled
CAB: \storage card\uc\cleanram
CAB: \storage card\uc\htorch
CAB: \storage card\uc\nitrogen
CAB: \storage card\uc\bluetooth
CAB: \storage card\uc\Gfx
HIDE:Enabled
CAB: \storage card\uc\AEB
HIDE:Disabled
LOCK:Disabled
RST:Reset

That is exactly what my UC looks like and i get a file not found error for every file. The cabs definitely are in the folder uc on my storage card. Suggestions?

BTW i know its basic but this is my first go. Ill poke around with settings later on.
[Windows Mobile Software Development] RoryB:
You actually have to have the .cab on the end of the file names.
[Windows Mobile Software Development] mcspikesky:
HOLY **** IM A MORON.

Thanks. :rolleyes:
[Windows Mobile Software Development] RoryB:
No! You would not think you would have to tell it is a cab file since the call in front is CAB:
[Windows Mobile Software Development] mouth:
trying to figure out the registry/settings to use in an XMl or other UC setting so that UC will set my timezone on the clock.

i.e. Start | Settings | Personal | Time (tab) | Home (selected).

... I hoping to be able to use UC to set this to my timezone of GMT+10

I've used the topic search with keywords of "time zone", "timezone", "clock", "GMT" and a few others, but with no avail.

Please point me in the right direction. Thanks.