yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] aro:
Move Start menu shortuts

Thanks for providing so many options.

Unfortunately I am not very good with this kind of stuff. Mortscript is already way over my head, so I am still looking for a way to "move" the shortcuts that the cab installation process is putting into the root of my start menu, into respective sub folders.

Of course I could create new shortcuts in the subfolders by using one of your options above and somehow delete the ones from the root, but is it not possible to simply tell XDA_UC to move the *.lnk from the start menu root to some sub folders?

appreciate any advise.
[Windows Mobile Apps and Games] Noonski:
New 1.1.1BETA3 is online

Also has Stand Alone Version included for Non XDA_UC Rom users.

(+ everyone can Beta Test)

http://xdaforums.com/attachment.php?attachmentid=310596&d=1271440488

Be aware that Mortscript is a powerful tools (when using your own scripts), like is said It's a BETA (that i've been testing and changing all day)
[Windows Mobile Apps and Games] nmcbe:
running a command prompt

Not sure how to run the command prompt in the folder necessary to create the xml file that will supposedly save my settings under the rapiconfig tool. Any help? I already created the folder in my storage card and placed the two files (rapiconfig and email2.xml or what not) into that folder. Now how to run a command prompt in that folder....
[Windows Mobile Apps and Games] Noonski:
Did you check a few posts back and this article from the frontpage:

http://www.xda-developers.com/windows-mobile/xml-creation-tool/
[Windows Mobile Apps and Games] bsarlo:
Do you mean that you can't get it to not work? I've tried every way I can can think of with no success. Maybe you can easily see my mistake. Here are all the different ways I tried to copy a folder:

Windows Registry Editor Version 5.00

[[B]HKLM[/B]\Software\XDA\DirCopy]
"\\Program Files\\"="\\Storage Card\\XDADirCopy\\Program Files"

Windows Registry Editor Version 5.00

[[B]HKEY_LOCAL_MACHINE[/B]\Software\XDA\DirCopy]
"\\Program Files\\"="\\Storage Card\\XDADirCopy\\Program Files"

XCopy( "\Storage Card\XDADirCopy\Program Files", "\Program Files", TRUE, TRUE )

I've also tried single VS. double forward slashes. Someone in a thread I follow suggested that XDA_UC can't copy more than a couple files at a time. The folder I'd like to copy is the Opera 10 datastorage folder that has all of the start page websites (folder 6). There are seventeen files in the folder. There are also several folders within a folder. Should that matter? Here's the file path:

\Storage Card\XDADirCopy\Program Files\Opera Mobile 10\profile\datastorage\6

I have one more question. Do I need to remove all of the files in the XDA_UC folder except the new files that I want updated if I want to run XDA_UC after I've already flashed by running the application?

Thanks.
[Windows Mobile Apps and Games] Noonski:
What i meant is that DirCopy is working with me all the time.

And this might be related to differences in NRG's Script (not sure yet) or are you flashing a non WWE Rom?

I have contacted NRG to join us here.

Also you can check if the registry tricks where parsed in the registry at:

HKLM\Software\XDA\UC

It writes a registry for every regkey parsed so then i can know where it might go wrong.

Checked the NRG script and it doesn't have the registry code yet.

Try the new Beta Standalone after flashing:

http://xdaforums.com/showpost.php?p=3954547&postcount=2
[Windows Mobile Apps and Games] warri:
ahh, that explains the background problem, but howabout the xml issue? It still didnt set-up my e-mail or ringtones.
[Windows Mobile Apps and Games] Noonski:
If you can repost it i'll test it on my device (minus your real log in)

With the ringtones ;P
[Windows Mobile Apps and Games] warri:
E-Mail Code:

<wap-provisioningdoc><characteristic type="EMAIL2">
<characteristic type="{76877040-0395-4efb-b3c6-b87c5aedce67}">
<parm name="SERVICENAME" value="Gmail" />
<parm name="SERVICETYPE" value="IMAP4" />
<parm name="INSERVER" value="imap.gmail.com" />
<parm name="OUTSERVER" value="stmp.gmail.com" />
<parm name="NAME" value="Dave Willig" />
<parm name="AUTHNAME" value="dave.willig" />
<parm name="AUTHSECRET" value="passwordhere" />
<parm name="DOMAIN" value="" />
<parm name="REPLYADDR" value="dave.willig@gmail.com" />
<parm name="FORMAT" value="2" />
<parm name="LINGER" value="30" />
<parm name="RETRIEVE" value="-1" />
<parm name="KEEPMAX" value="2" />
<parm name="DWNDAY" value="1" />
<characteristic type="TAGPROPS">
<parm name="8128000B" value="0"/>
<parm name="812C000B" value="1"/>
</characteristic>
<parm name="AUTHREQUIRED" value="1" />
<parm name="SMTPALTENABLED" value="0" />
<parm name="SMTPALTAUTHNAME" value="" />
<parm name="SMTPALTAUTHPASSWORD" value="" />
<parm name="SMTPALTDOMAIN" value="" />
</characteristic>
</characteristic>
</wap-provisioningdoc>

Ringtonecode:

- <wap-provisioningdoc>
- <!-- Applies ringtone notification settings
-->
- <characteristic type="Registry">
- <!-- New Email Message
-->
- <characteristic type="HKCU\ControlPanel\Notifications\{A877D65A-239C-47a7-9304-0D347F580408}" translation="filesystem">
<parm name="Options" datatype="integer" value="1" />
<parm name="Wave" datatype="string" value="\Windows\Alert-Crystal.wma" />
</characteristic>
- <!-- New Text Message. for a text tone to work from sd, the file needs to be a wma in the My Documents folder.
-->
- <characteristic type="HKCU\ControlPanel\Notifications\{A877D65B-239C-47a7-9304-0D347F580408}" translation="filesystem">
<parm name="Options" datatype="integer" value="13" />
<parm name="Wave" datatype="string" value="\Storage Card\My Documents\Alert-ModernMid.wma" />
</characteristic>
- <!-- Incoming Call. Both need to be the same
-->
- <characteristic type="HKCU\ControlPanel\Sounds\RingTone0" translation="filesystem">
<parm name="Script" datatype="string" value="apw3r" />
<parm name="Script-OemRingtoneGap" datatype="string" value="w3" />
<parm name="Sound" datatype="string" value="\Storage Card\My Documents\My Ringtones\doctor who.mp3" />
</characteristic>
- <characteristic type="HKCU\ControlPanel\Sounds\RingTone2" translation="filesystem">
<parm name="Sound" datatype="string" value="\Storage Card\My Documents\My Ringtones\doctor who.mp3" />
</characteristic>
</characteristic>
</wap-provisioningdoc>

http://filescloud.com/hw1t8gw8wkq6 -E-Mail .xml file

XirXes_Set_Custom_Ringtones_1_.xml - 2 Kb

is seems changing the Manila folder to Sense, did not auto move the wallpaper.
[Windows Mobile Apps and Games] bsarlo:
Wow thanks for the reply!

Yes I am running NRG's latest 4/14 Rhodium CDMA 23557 Sense2.5 Cookie HomeTab 1.7. What does WWE stand for?

I checked the registry and the reg entries are getting parsed because all of the reg edit I have in my folder are listed in that reg key. I actually deleted the CopyDir.reg entry from HKLM\Software\XDA\UC\reg and re-ran the XDA_UC application. After it ran, the registry edit was listed in that key again but the folder didn't copy over. I'm going to try to set up a folder with one file in it to test. Which of the codes that I listed in my last post should work so i can try that one?
[Windows Mobile Apps and Games] toucan:
WWE - World-Wide English

:)
[Windows Mobile Apps and Games] bsarlo:
So I created this .reg file and saved it in my XDA_UC folder on my Storage Card.

Windows Registry Editor Version 5.00

[HKLM\Software\XDA\DirCopy]
"\\My Documents\"="\\Storage Card\XDADirCopy\My Documents\"

(With a blank line at the end)

Then I created Test.txt and put it in XDADirCopy\My Documents. I ran XDA_UC by pressing the application icon in the Start Menu-Tools. When it finished I restarted. No file.

This registry key was created though

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\XDA\UC\reg]
"\\Storage Card\\XDA_UC\\CopyDirTest.reg"=dword:00000001

I guess I'll try the beta version now.
[Windows Mobile Apps and Games] Noonski:
I couldn't download the files somehow.

But i used the xml posted.

The gmail .xml workes when i pasted code into my working .xml

I have attached it (be sure to remove the registry entry when re running UC with the same xml file)

Ringtone did not work, will try to look at that xml to.

Couldn't find anything wrong with the xml file so i made a .reg file with the values.

That one workes with me to now.
[Windows Mobile Apps and Games] Noonski:
Just gave her a spin with a fresh .reg file

HKLM needs to be fully written HKEY_LOCAL_MACHINE

And there's no need for backslash at the end.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\XDA\DirCopy]
"\\My Documents\\TARGET"="\\Storage Card\\My Documents\\SOURCE"

Another key i forgot to mention to troubleshoot was at:

HKLM\Software\XDA\DirCopy (check if it was actually written)

I'll add a small sleep between Making the Dir and Copying the files over to the dir anyway for upcoming versions.
[Windows Mobile Apps and Games] claus1953:
I am also a longtime user of Sashimi but now as i have an Omnia and use a WM 6.5.5 ROM, it is not working anymore properly. I tried to modify the Sashimi.mscr but without success, as it is way to complicated for me to understand this big script.

When installing to other locations as internal memory, which is the first choice in the list there follow 3 more locations, so i normally install things to:

1 internal memory

2 My Storage (or Mi Memoria in my spanish ROM)

3 Bluetooth FTP (here i do not install nothing)

4 Storage Card (or Tarj. Memoria in my spanish ROM)

Now i have installed most of the applications that i need to reinstall every time after new flash or hard reset on Mi Memoria and some in the internal memory. Can i do an automated silent install of the cabs with XDA-UC? I know i can run the provisioning xml to set up my email and my WiFi, load all registries with the settings and registration data, and copy over some folders, as this goes all to the internal memory. The only doubts i have is about the other install locations.
[Windows Mobile Apps and Games] Noonski:
You could test with the latest beta:

It goes one option down on the installation screen (i don't know in which order Omnia's show these extra storages)

Places Cab files that need to install to storage in the Storage Folder.

But i still need to add some sort of support for Non WWE Rom's for this specific screen/functions.
[Windows Mobile Apps and Games] zenkinz:
@Noonski, just to let you know, I've finally added it to my ROM :)

Great stuff!
[Windows Mobile Apps and Games] Noonski:
Great, i've added you to the compatible Rom list.

http://xdaforums.com/showpost.php?p=3611692&postcount=2
[Windows Mobile Apps and Games] claus1953:
Ok i will try that, as i understood i can start the XDA-UC even if not cooked into my ROM with this latest beta.

The install order is as shown in my post 1-4.
[Windows Mobile Apps and Games] zenkinz:
thanks Noonski.

can I ask if there's a way for me to activate UC at the first boot? Right now it'll only start at the 2nd boot. Another feedback is that it takes awhile before UC kick in after the 2nd boot, and it's also not easy to monitor the progress of the UC process,
[Windows Mobile Apps and Games] Zepiii:
Still wishing that system of automatic install on SD :)

By the way, a french cooker is using your XDA_UC.

On HD1 :

BiCh0n's ROM (french)

On HD2

BiCh0n's ROM (french)

See you ;)

EDIT :

Btw, you have two times a section for HD2:

- Touch HD2/Leo

- HD2

It's the same ^^ And it's HD2/Leo :D Touch HD2 doesn't exist :D
[Windows Mobile Apps and Games] Noonski:
That was a me being blind mistake.

That probably is because another Default UC method like RunCC or Autorun is cooked into the rom (or the files are still present).

If XDA_UC runs at first boot along with these other OEM uc method's you run the risk that either RunCC or Aurotun reset the device before XDA_UC finishes.

It is possible to apply a method of status updates, but that would defeat the purpose of start using your device ASAP.

Have to look into the timing of when it starts at Second boot (should be the same as first boot, but first boot is longer + First boot also has Cab installs before the Start message)

I have added the Vibrate idea i found in NRG's Rom's to give some early feedback that something is happening in New Beta.
[Windows Mobile Apps and Games] Zepiii:
Thanks for adding him ! ;)

By the way, Touch HD2/Leo

The Touch HD2 doesn't exist :D

HTC Touch HD = HD1 = Blackstone

HTC HD2 = HD2 = Leo

But there are no Touch HD2 ;)

See you and thank you for ... great work !
[Windows Mobile Apps and Games] Noonski:
the 2 in HD2 stands for the second HTC Touch HD device.

So the full name would be HTC Touch HD2.

Otherwise it would have been called HTC HD.

But no one uses that full name, but it is nonetheless the full name.

Unless you where jerking around with me.

In that case you got me:eek:

http://images.google.nl/images?hl=n...ial&q=htc touch hd2&um=1&ie=UTF-8&sa=N&tab=wi
[Windows Mobile Apps and Games] Zepiii:
No no I am not annoying you but what I am saying is true..

HTC Touch HD2 is a langage error...

Check :)

> HTC HD2 : http://www.htc.com/www/product/hd2/overview.html

> HTC Touch HD : http://www.htc.com/www/product/touchhd/overview.html

But you don't have to trust me, even if it's true :D
[Windows Mobile Apps and Games] badwolf:
running nrg newest 23 cookie...

cannot get

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\XDA\AutoShortCut]

"\\Windows\\Start Menu\\Programs\\GPS\\TOMTOM.lnk"="\\Storage Card\\Program Files\\Navigator\\TomTom Navigator.exe"

to actually make a new link.

what would be best way to copy over the profile folder and contents for opera 10

and the ygoservices.db for my stocks?

thanks
[Windows Mobile Apps and Games] Noonski:
I'm not familiar with the Menu lay out on NRG rom.

But if it doesn't have the GPS folder in it then you would need to add

[HKEY_LOCAL_MACHINE\Software\XDA\DirCopy]

"\\Windows\\Start Menu\\Programs\\GPS"="MakeDir"

The one NRG rom i did flash, did not contain the part of XDA_UC Script that creates shortcuts or Directories or copy over folders.

Download the beta:

http://xdaforums.com/attachment.php?attachmentid=310730&d=1271450614

Then place the XDA_UC folder inside User_Storage Card

On your storage card.

Then make an extra mortscript in the XDA_UC folder with the script below:

Run ("Storage Card\XDA_UC\Install_UC\XDA_UC.mscr")

Just write it into notepad and save as something.mscr

It will overwrite the cooked in and hopefully also run the new script.

haven't tested it in this scenario but should work even with another XDA_UC script being cooked in.

It will start the Beta XDA_UC with all the code that creates.

It will skip installing the .cab, .cer, .xml, .xdas, .mscr & .reg files already in XDA_UC as those have been logged as already installed by the XDA_UC script. It will also not copy over your files in the manila folder as the new name is Copy2Root (Remove it if your not using it to save some time, when the folder exists the routine of shutting down Sense starts, so copied over files can be used ASAP when Sense gets restarted).

You could say I was lucky with logging these for troubleshooting issues:D.

ATM copying files is easiest done by dropping them into Copy2Root

\Storage Card\XDA_UC\Copy2Root\Windows\SomeSubFolder

Will be copied to

\Windows\SomeSubFolder

Next beta will also have a registry routine to copy files
[Windows Mobile Apps and Games] badwolf:
Thanks.

so do the mortscript first in the the file then everything cabs then \copy2root?
[Windows Mobile Apps and Games] ElanMike:
This is probably a stupid question but I did a search and couldn't find any reference so here goes: the second task performed is to copy Manilla files from the SD card to the phone. Why do this? Isn;t the configuration all in the registry? If not, how do I get the files on to the SD card? I'm using Energy's latest 2.5 ROM and there does not seem to be a Windows/Manilla folder. There are a few Manilla files I can see there.:confused:
[Windows Mobile Apps and Games] Zepiii:
Just a question, can the last beta be already cooked in? Is it stable?

What the name of the folder must we give to get the auto_install semi silently for SD in XDA_UC ?

Thank you
[Windows Mobile Apps and Games] Noonski:
This is only for if you really want to replace certain graphic theme parts of manila/sense, it has not a lot to do with settings.

NRG roms the Folder should be named Sense.
[Windows Mobile Apps and Games] Noonski:
That would be the "Storage" folder inside XDA_UC.

After the minor bugfixes you could call it stable, but the SemiAuto install does not have Other language support and it's also untested in WM 6.5.3 (again the SemiAutoInstall part).

Also contains Beta Mortscript for some of the new script parts.

PS made a typo:

Run ("\Storage Card\XDA_UC\Install_UC\XDA_UC.mscr")
[Windows Mobile Apps and Games] mncessna:
possible mods to xda_uc.mscr

Hi.

thanks for this script. in using it, i've finally found a useful tool for customizing my phone after a reset that's easier to understand than others.

however, i can't figure out how to copy multiple files successfully.

wouldn't it be possible to add an XCPY1 and XCPY2 command set that allows wildcards, uses the XCopy command with overwrite and sub-dirs both set to false?

then again, perhaps you already know of a technique that would do this as is!

thanks again!

ichthus
[Windows Mobile Apps and Games] Noonski:
It's in the Beta using SDConfig.txt, In the registry and Copy2Root.

It's documented:

http://xdaforums.com/showpost.php?p=6189291&postcount=233
[Windows Mobile Apps and Games] bsarlo:
So that's why it wouldn't work, huh?

I'm a little confused as to the steps to get the beta to auto-install so we can copy directories,

OK so I downloaded the Beta version.

Do I just extract the folder called "User_Storage Card" to the root of my storage card and save my existing XDA_UC folder contents to the sub-folders within it?? (what are the legacy and visual folders for?) Or do I extract the Copy2Root, Install_UC, Manual, and Storage folders to the root of my storage card?

Where would I put the mortscript file in order to get the beta to auto-install? Do I need to have in my root both the "User_Storage Card" folder and the original XDA_UC folder? or do I just remove the Storage Card/XDA_UC/ folder all together and just put everything into the "User_Storage Card" folder?

Sorry for the barrage of questions, but I'm getting ready to flash the new NRG ROM and I'd like to test the beta. I really like what you've dne with the different folders.
[Windows Mobile Apps and Games] Noonski:
Legacy and Visual folders are two method for Cooks only.

User_Storage Card represents whatever your Storage Card is called.

So place the XDA_UC folder inside the "User_Storage Card" folder on the root of your Storage Card.

I know the logic will make you hit your self on the head, it happens to me to sometimes.

You then open notepad

Paste in

Run ("\Storage Card\XDA_UC\Install_UC\XDA_UC.mscr")

Save as Extra.mscr

And save Extra.mscr in XDA_UC folder on the root of your storage card.
[Windows Mobile Apps and Games] Noonski:
Post three now has a More XML tips link.

And hopefully new DotFred Taskmanager is better at XML

http://www.dotfred.net/TaskMgr.htm#v3.3
[Windows Mobile Apps and Games] bsarlo:
Thanks. I was making things way too confusing and overthinking it.

I put the XDA_UC folder in my root, and all my content into the appropriate folders. The .cabs in the XDA_UC folder installed to the Device OK but the Storage .cabs did nothing. So, I ran the XDA_UC application hoping that a second time would run the .mscr file...

Nothing.

When I manually clicked the .mscr file that I created to install the beta version, it did start the install process. It successfully installed the beta version and installed my storage card .cabs! AND IT COPIED THE DIRECTORY FINALLY!!I was expecting it to be silent so when the option to install to device or card came up, I manually picked card and pressed OK. I didn't realize until the second cab that it was selecting these on its own.

Now the issue is how to get the .mscr file to run the install without me clicking on it.

??
[Windows Mobile Apps and Games] Noonski:
Don't hate me because i'm beautiful ;)

See if the Rom already has an older version of XDA_UC

It will run all mortscripts in your Storage Card\XDA_UC folder.

So placing a mortscript with:

Run ("\Storage Card\XDA_UC\Install_UC\XDA_UC.mscr")

inside

"\Storage Card\XDA_UC\"

Will automaticly run ;)

It is impossible to do full Silent installs to Storage Locations.

That's why it's called Semi Automatic.
[Windows Mobile Apps and Games] Noonski:
Saved it as UTF-8

Then removed those two extra bytes (open the xml in total commander on device to see which ones i mean)

And now the latest DotFred Taskmanager 3.3 parses the ringtone code correctly.

Tomorrow i'll test Hilaireg's tip on Dot Fred Taskmanager 3.1 to.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\Notifications\{A877D65A-239C-47a7-9304-0D347F580408}" translation="filesystem">
<parm name="Options" datatype="integer" value="1" />
<parm name="Wave" datatype="string" value="\Windows\Alert-Crystal.wma" />
</characteristic>
<characteristic type="HKCU\ControlPanel\Notifications\{A877D65B-239C-47a7-9304-0D347F580408}" translation="filesystem">
<parm name="Options" datatype="integer" value="13" />
<parm name="Wave" datatype="string" value="\Storage Card\My Documents\Alert-ModernMid.wma" />
</characteristic>
<characteristic type="HKCU\ControlPanel\Sounds\RingTone0" translation="filesystem">
<parm name="Script" datatype="string" value="apw3r" />
<parm name="Script-OemRingtoneGap" datatype="string" value="w3" />
<parm name="Sound" datatype="string" value="\Storage Card\My Documents\My Ringtones\doctor who.mp3" />
</characteristic>
<characteristic type="HKCU\ControlPanel\Sounds\RingTone2" translation="filesystem">
<parm name="Sound" datatype="string" value="\Storage Card\My Documents\My Ringtones\doctor who.mp3" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
[Windows Mobile Apps and Games] bsarlo:
I put the InstallXDABeta.mscr file in my \Storage Card\XDA_UC folder but it didn't run (until I ran the file myself from File Explorer).

It contains only this:

Run ("Storage Card\XDA_UC\Install_UC\XDA_UC.mscr")
[Windows Mobile Apps and Games] Noonski:
Which Rom are you flashing?

I tested this on NRG Cookie 18 April. (Touch Pro)

Above code is missing one slash BTW (but if it ran manually the slash can not be the issue here)
[Windows Mobile Apps and Games] bsarlo:
I am running the NRG Cookie 20 April. (Touch Pro2)

The file I created contains this code exactly. When I selected the file in File Explorer it installed XDA_UC, my .cabs to Storage, and copied the Opera directory. I think it also created another Outlook mail account based on my xml. I did a hard reset (the mscr did not run again) and am waiting until exchange is finished syncing before I run the .mscr file again. I want to see what happened the last time that set up two mail accounts.
[Windows Mobile Apps and Games] bsarlo:
I was not waiting. I chose to restart before the installation procedure got a chance to start. Patience is a virtue. Do not reset on the first prompt. Great app. Thank you for all your help. I look forward to future releases.
[Windows Mobile Apps and Games] mncessna:
multiple file copying

thanks for the response, but i checked the link you inserted and found no reference to copying multiple files.

am i missing something???

the link you sent returned a single-post about the beta as you said, but nothing related to my question. appreciate the help.
[Windows Mobile Apps and Games] mncessna:
[edit]

i modified the xda_uc script and added commands XCP1: XCP2:. i set both overwrite and sub-dir flags to false. it seems to work so far.