yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] JVH3:
Have you tried Rename?

It does move folders just like files.

This moves the directory \Storage Card\Dir1 to the Directory \Storage Card\Dir2\Dir1

Rename( "\Storage Card\Dir1", "\Storage Card\Dir2\Dir1" )

I just tested it to make sure.

In my case Dir2 did exist and there was not originally a Dir1 as a subdirectory of it.

Worst case, you may need to do mkdir a few times and maybe a rmdir a few times
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cajunflavoredbob:
Ah, I understand. I was thinking that it would rename the actual folder, not rename the entire directory. That makes more sense. I'll check that out in a little bit. Thanks.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] J_M_H:
I didn't mean to "bump" the thread; just wanted those who answered to know I appreciate it. Actually, I use your SX4 program and it works quite well!

Happy holidays!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Smellie2:
App that requires disabling sense

If I want to put a .cab file of an app I want XDA_UC to install for me on my DS card, I put it in XDA_UC\SD right? But what when it is an app that requires disabling sense first? Can I still use XDA_UC or do I have to install it manually?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] JVH3:
With Energy ROMs, Sense is not started until after XDA_UC is complete, so you don't need to do anything different.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Smellie2:
Confused with copying reg.files

I was wondering, since it didn't work like I expected, when I copy a reg.file do I just copie it and put it in the root of XDA_UC file? Or do I have to put in the whole path?

For instance, if I want to copy my Twitter Tab login settings, which part of the following do I use? [HKEY_CURRENT_USER\Software\HTC\TwitterApp]
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] angusc:
You need to export the twitter folder from yout registry then copy that reg file to ur xda_uc folder. Whay you show above is only the reg folder location and not the reqiired settings

Sent from my HTC Desire
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cajunflavoredbob:
Reg files go in \Storage Card\XDA_UC\. Twitter login settings are kind of finiky. Sometimes it works, and sometimes it doesn't. I've just stopped importing it lately.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] JVH3:
For twitter, I am thinking that if you export just before you flash, then you will be OK, but if you use settings that you exported a week, a month, or many months ago, you might have problems.

I also have stopped importing twitter settings. It doesn't take long to authenticate. I still import my twitter id, so all I need to do is enter the password.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Automan:
Hey Automan here..

Do you have a copy of the files you use so they can be edited to a persons setting that are a litttle different, like the ring tones, etc?

Thanks

Col. L.A. Hutcheson

aka Automan
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cajunflavoredbob:
Who are you talking to, and which files are you after?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] QuRa:
Hi

1.Could someone tell me how Add All Contacts to Home Screen Left Softkey??

2.And How Can I change Display Names of Fav People tab
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] badboy369:
how to save in storage card?

hi there, can any one please tell me how to make the XDA_UC to install the cab files to the storage card instead of the phone memory, i don't know why they get installed there.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] JVH3:
put them in the folder

XDA_UC\SD\
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Prodeje79:
OK where is the newbie step by step guide for this? :D

Maybe I should just be using his Settings Exporter application???

My needs upon a reflash for ATT Tilt2:

-owner info

[HKEY_CURRENT_USER\ControlPanel\Owner]

-I basically have a few cab files I'd like it to install onto phone .

install flashlight and pocket uno.

Run the Carrier Provisioning at Start > Tools, select ATT 2.

fix ATT MMS running ArcSoftMMS.reg

fix ATT keyboard running AT&T-TMob Keyboard.cab

fix ATT you tube running removehiddenproxy4cws.cab

fix ATT Cingular Video running ATT_Tilt2_Opera_Proxy_Settings.cab

any other ATT files I am forgetting????

-keep my alarm settings / region etc

[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock]

[HKEY_LOCAL_MACHINE\nls]

install snooze options cRaCKwHoRe's Snooze Options.cab

-keep my windows/favorites

-keep login info for sites used on opera, facebook tab,

[HKEY_LOCAL_MACHINE\Software\HTC\HTCAccountManager]

[HKEY_LOCAL_MACHINE\Software\HTC\FacebookSDK]

-do something to make sure 'bubble texting' never shows itself. It seems to show every once in awhile. I need to confirm if this cab works.... SMS_Fix.CAB

-Run my PIM backup, I use all check except the custom one, I was unsure what that includes.

My current plan:

Place *.pib, *.cab, *.reg files noted above into \Storage Card\XDA_UC\ , although I don't want anything actually installed to card, so place some things in \Storage Card\XDA_UC\SD ?

Could someone help me create XML or whatever to do the rest?

Thanks!!!!!!!!!!!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] JVH3:
I wrote a basic tutorial here at Post #200: http://xdaforums.com/showpost.php?p=7918863&postcount=200

Since you don't want things installed to the storage card, do not put anything in XDA_UC\SD

For the carrier provisioning for att, look in your windows folder.

There is a cab - energy_att.cab

That is the file that does the AT&T provisioning.

Post 200 has a link to another post with a link to where you can download Makisu. Makisu is a great tool to generate xml for configuring your email accounts and wifi.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] faysal_u:
My htc is not upgrade to wm6.5

i connect my ppc with active synic and start setup the my phone go to boot loader mode but when i press upgrade button on pc programe it starts and remain at 0% and after 15 to 20 min messge come their is a connection error???????????????????????????????????????????????????????????????????????????????????????????????????????any one help me???:confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused:
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Prodeje79:
10characters
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] billybag:
I read through this thread in order to get Copy2Root, or an equivalent to work in Nrgrom/XDA_UC and mentioned a few times was the task of quickly restoring CHT Settings. I was wondering the same thing but figured it would be a matter of launching an exported .ink file once during xda settings exporting.

But i noticed in http://xdaforums.com/showpost.php?p=6351605&postcount=58 that their is a .dat file that can be loaded instead?

where can i find this file?

and can i have it launch through PIM restore instead?

thanks.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] JVH3:
Most Cookie settings are registry settings.

When you have Cookie configured y=how you like, use the CHTEditor to export your settings.

On home screen -> Menu -> CHTEditor

Then in the CHTEditor -> Menu -> Export settings

Pick a location. follow on screen instructions.

Then after XDA_UC completes, restore the Coookie settings.

export your settings.

On home screen -> Menu -> CHTEditor

Then in the CHTEditor -> Menu -> Import settings

Pick a location. follow on screen instructions.

Cookie settings don't restore well through XDA_UC before first restoring contacts. Actually, I should verify this, with the next flash. It used to be a problem with the contact quicklinks, but I wrote an app to fix that sync.

There is an mscr file put in a zip in this thread, that will import your cookie export.

I think I posted it at least once, so you can search the thread for posts by me to make it so you have less posts to read.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] derrickadams:
Thanks

Thanks to all for starting this thread and for all the great information. I decided I should finally make use of the XDA_UC tool.

I have been able to get everything automated from Configuring Wifi, Exchange /w Activesyc, all my Cabs, Settings (With Exporter), Copy2Root to move files, and keep my Stock listings.

I'm posting a couple registry settings below that were important to me to have.

The big one for me is having the phone not prompt to save a contact and disable the vibrate option when it connects.

If you want those settings modified they can be found below:

Items ending with 0 = Disabled , 1 = Enabled

[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\PHONE\PhoneExtendSetting]

"AddNumber"=dword:00000000 -- Prompts for Adding Contact

"ConnectingVibration"=dword:00000000 -- Vibrates Phone

"StylusOpenNote"=dword:00000000 -- Open Notes if Stylus is Pulled out during call

"RejectEnable"=dword:00000000 -- Enable Reject Caller with Message
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cajunflavoredbob:
I didn't even know that pulling out the stylus would open the notepad. That's a pretty handy feature for me. Thanks for pointing it out.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] toucan:
I am so glad I'm not the only one out here! :)

Yes - I don't think I will admit how many times I was momentarily frustrated that I got no result...

Thanks for pointing it out for others - all the tools I mentioned (except MakeCab) need to have the phone connected to the PC in order to get the phone information/data.

The actual command that I am using is:

C:\"Path to where you want the file created">makecab.exe _setup.xml 00-PhoneSetup.cab

I then copy the 00-PhoneSetup.cab file over to my \Storage Card\XDA_UC folder for inclusion of the startup script.

Please note that I had to have the XML file named _setup.xml or I was unsuccessful. Consequently I have a bunch of individual files that I have kept for my incremental testing with the renamed file always the target of MakeCab.

BTW - you are very welcome - I'm glad it has helped you out and hopefully it will help others as well!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] fone_fanatic:
I never got .xml to work with UC so i decided to make all my xml's into cabs.

With UC you had a sdconfig.txt and you listed the cabs you wanted intsalled in that txt.

Now with XDA_UC you just throw them in a folder. Anybody know how to tell it in which order to install the cabs?

For my XDA_UC folder i renamed all the cabs to start with 00 and have them going up to 35, which seems to work well. But for the cabs i want on the storage card in XDA_UC i keep changing them every rom flash so it won't be worth it to rename them all in a number sequence.

I have one cab that re-arranges all my icons so i don't have to do it manually. I need this cab to be the last installed because it won't work if it can't find the link to an app if that app isn't installed yet. I just tried by renaming the cab with a "Z" as a prefix but that didn't help, it was the 3rd or 4th last to cab to attempt to install.

so anybody know in what order XDA_UC decides to install the cabs?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] wingman1487:
[HKEY_CURRENT_USER\ControlPanel\Owner] Owner Info

[HKEY_CURRENT_USER\Software\HTC\People\OwnerInfo] More Owner Info

[HKEY_LOCAL_MACHINE\Software\HTC\SUPL AGPS] Assisted GPS Settings

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts] Saves Power Timeouts and Backlight Timeouts

[HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1\Parms] For Power Saving Mode for WiFi

For the Extreme Tweakers I would use this method to find your Reg changes.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] JVH3:
xml files in XDA_UC must be unicode

The key to getting XML provisioning files to work with XDA_UC is that the files must be save in unicode format.

I stuggled for a long time to find that after reading through tons of posts in the noonski threads.

Windows 7 makes this conversion extremely easy.

Open the xml file with notepad on a Windows 7 computer.

Save as.

Select Unicode.

Then save it.

You could just copy all the lnk files that are on your phone to your storage card.

Another trick.

Create a directory Sense under XDA_UC

Anything in the Sense directory will be copied to the Windows folder, including directories.

I use changescreen to handle g sensor rotation.

the lnk file needs to be in Windows\StartUp

So, in the folder

XDA_UC\Sense\StartUp

I copied changeScreen.lnk

and in

XDA_UC\Sense

I copied changeScreen.config
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] joking:
What I did was create a MortScript file using Notepad and save it as .mscr file type to create short cut, move shortcut to different location. Then after XDA_UC finish and restart the phone, I just click on the MortScript file to run it.

For example: I have cleanRam install on the sd card under program files\cleanRAM, the code below will create the shortcut to windows start menu

Shortcut("\Windows\Start Menu\Programs\cleanRAM.lnk","\Storage Card\Program Files\cleanRAM\htcAddicts_cleanRAM.exe")

To move the Garmin shortcut from start menu to GPS folder inside start menu, I use this code

Rename( "\Windows\Start Menu\Programs\Garmin Mobile XT.lnk","\Windows\Start Menu\Programs\GPS\Garmin Mobile XT.lnk" )
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] JVH3:
I was editting my post at the same time that you posted this.

Look 1 post up from yours. I thinks it is simpler to just copy the lnk files to

XDA_UC\Sense\Start Menu\Programs

which I think will work since copying them to

XDA_UC\Sense\StartUp

works for thinkgs you want to start with each soft reset.

Side note: The next set of ROMs will support XDA_UC\Start Menu
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] fone_fanatic:
thanks for those suggestions guys. I'll be looking more into it when i have time (finals coming up :( )

Now for another one :D

I have a cab that creates a Utilities folder (and nicely enough the icon still applies to the folder like it did in the old energy roms)

What bothers me is that the folder appears last. I'd like it to appear with the other folders and no app icon breaks between them.

so what i usually do is open my registry explorer and go to

[HKLM\Security\Shell\StartInfo\Start\Utilities] and delete the DWORD value RANK and it puts all the folders together. See pics attached.

Basicly whats the script for deleting a registry value?

Before & After.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] bsarlo:
In UC the key was adding a minus sign. I've never tried it on XDA_UC. Try it and let us know how it goes. I will do the same if I have time.

from [HKLM_blahblah... to [-HKLM_blahblah...

This thread is a good idea. Thanks.

I am working on some basic instructions for XDA_UC and will let everyone know when it's donedada...
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] orb3000:
Sticky

Congrats to OP!

This should be stickied
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] shinku:
Outlook exchange email

I searched and looked around a lot to get my work exchange email to work with XDA_UC, however it would always crap out regardless whether it was XML or CAB file. Even the example NRG has was unsuccesful for me. However the gmail email setup was a breeze. couldn't figure out what was causing it. so after few trial and errors and reading up few threads on here, here is the XML code and attached XML file in unicode.

You can change peak hours as to your liking in 24h format

if you want to sync Contacts and Tasks, change the ENABLE value 0 to 1 below.

<wap-provisioningdoc>

<characteristic type="Sync">

<characteristic type="Connection">

<parm name="Server" value="ENTER YOUR EXCHANGE SERVER"/>

<parm name="AllowSSLOption" value="1"/>

<parm name="User" value="YOUR_LOGIN"/>

<parm name="Domain" value="ENTER DOMAIN, LEAVE BLANK IF NONE"/>

<parm name="Password" value="EMAIL PASSWORD"/>

<parm name="SavePassword" value="1"/>

</characteristic>

<characteristic type="Settings">

<parm name="PeakStartTime" value="0630"/>

<parm name="PeakEndTime" value="1830"/>

<parm name="PeakFrequency" value="-1"/>

<parm name="BodyTruncation" value="-1"/>

<parm name="SyncWhenRoaming" value="1"/>

<parm name="MIMETruncation" 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="Mail">

<parm name="Enabled" value="1"/>

<parm name="MailBodyTruncation" value="-1"/>

<parm name="MailFileAttachments" value="1"/>

</characteristic>

<characteristic type="Calendar">

<parm name="Enabled" value="1"/>

</characteristic>

<characteristic type="Contacts">

<parm name="Enabled" value="0"/>

</characteristic>

<characteristic type="Tasks">

<parm name="Enabled" value="0"/>

</characteristic>

</characteristic>

</wap-provisioningdoc>
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] joking:
Thanks for posting about the Sense folder XDA_UC. Didn't I can do that until now. I'll try that way next time I flash.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] moopile:
In the ROM I'm using, I can press/hold a folder or icon for a few moments, then drag and drop it where I want it.

Does this work in all ROMS or just some of them?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Rabangus:
Anyone got an xml file they can share to demonstrate provisioning of Wifi connection?

For Raphael, Wifi power settings are here: [HKEY_LOCAL_MACHINE\Comm\TNETW12511\Parms]
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] stained-steel:
LOL, Thank you, but it might not be the best request (I've been told)! :confused: (Only if NRG's ROM is stickied... :p )

I'm working nothing but double shifts until my weekend (Fri and Sat); until then, I have no time to update the first few posts. But...

I'm seeing some GREAT suggestions flowing in, and I encourage all to keep it up! I do have a request or two of you (more informed) all:

I'd like to make this forum as simple to use for the layman (myself included :eek: , and why I created this forum). Can we shy away from the Sashimi/Mortscript protocol stuff (unless necessary, and then only with good tutorials as to how to implement them within XDA_UC)?

My second request?: Where the heck does Google Maps Mobile store your preferences :confused: :eek: (login name and password) within the registry??? I cannot find anything related to it?

I'm very glad to see this forum quickly growing; as time allows, I'll be updating the thread!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] telder:
Here you go, this is the one I use. After the second boot (XDA_UC has finished) I will turn on WiFi then run this.

<wap-provisioningdoc>

<characteristic type="CM_WiFiEntries">
<characteristic type="Name of connection">
<parm name="DestID" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
</characteristic>
</characteristic>

<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="your SSID">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
<parm name="Encryption" value="0"/>
<parm name="Authentication" value="4"/>
<parm name="Hidden" value="0"/>
<parm name="KeyProvided" value="0"/>
<parm name="NetworkKey" value="pass key for the network"/>
<parm name="KeyIndex" value="1"/>
<parm name="Use8021x" value="0"/>
</characteristic>
</characteristic>
</characteristic>

</wap-provisioningdoc>

The GUID values determine the network type, Infrastructure/Adhoc...

Name this "_setup.xml" and run it through makecab.exe (I just drag the file over makecab.exe and drop then rename "_setup.xm_" to "setup wifi.cab". (Why use a command prompt if you don't have to :))

really good information on using <wap-provisioningdoc> </wap-provisioningdoc> can be found here
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] telder:
While I'm at it

Here is another handy .xml for internet links (on the internet tab).

<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Software\HTC\Manila\InternetPush">
<parm name="EnablePushInternet" value="1" datatype="integer" />
</characteristic>

<characteristic type="HKLM\Software\HTC\Manila\InternetPush\Enabled\000">
<parm name="DownloadTime" value="AAAAAAAAAAAAAAAAAAAAAA==" datatype="binary" />
<parm name="ScheduleInterval" value="0" datatype="integer" />
<parm name="URL" value="http://mobile.bankofamerica.com/" datatype="string" />
<parm name="Name" value="BOA" datatype="string" />
</characteristic>

<characteristic type="HKLM\Software\HTC\Manila\InternetPush\Enabled\001">
<parm name="DownloadTime" value="AAAAAAAAAAAAAAAAAAAAAA==" datatype="binary" />
<parm name="ScheduleInterval" value="0" datatype="integer" />
<parm name="URL" value="http://mobile.delta.com/" datatype="string" />
<parm name="Name" value="Delta" datatype="string" />
</characteristic>

<characteristic type="HKLM\Software\HTC\Manila\InternetPush\Enabled\002">
<parm name="DownloadTime" value="AAAAAAAAAAAAAAAAAAAAAA==" datatype="binary" />
<parm name="ScheduleInterval" value="0" datatype="integer" />
<parm name="URL" value="http://www.xda-developers.com/" datatype="string" />
<parm name="Name" value="XDA" datatype="string" />
</characteristic>

<characteristic type="HKLM\Software\HTC\Manila\InternetPush\Enabled\003">
<parm name="DownloadTime" value="AAAAAAAAAAAAAAAAAAAAAA==" datatype="binary" />
<parm name="ScheduleInterval" value="0" datatype="integer" />
<parm name="URL" value="http://xdaforums.com/showthread.php?t=562773" datatype="string" />
<parm name="Name" value="XDA 'Energy'" datatype="string" />
</characteristic>

</characteristic>
</wap-provisioningdoc>

I haven't decoded the "DownloadTime" or "ScheduledInterval" tags yet, but this is a start.

again, save to _setup.xml and drop on makecab.exe then rename to *.cab
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Rabangus:
Thanks for that. Will try it out when I flash the next NRG Raphael ROM..
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] nhshah7:
was looking for this earlier too, came up with no results. might be a file not a reg value? idk...

will def try this soon, thanks!

you're my hero if this works!!

ps to stained-steel, great idea with this thread!!!

EDIT: anyone know how to get a *.exe file to run via xda_uc? i want the carrier provisioning to run for att, or if there is a cab file that the carrier provisioning program installs for att, it'd be great if i could get this extracted and dropped into my xda_uc folder!!!

EDIT2: backedup the tegic folder in teh registry (thanks to cranbone's post on page 1) - hopefully this will get the kyeboard layout properly configured when i flash. will try a flash later tonight and report back to see if any of htis worked...
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] JVH3:
Use XDA_UC to put an lnk file in the startup.

Stick the lnk in this folder.

XDA_UC\Sense\StartUp

Then after it is done. The next soft reset will run it.

I suggest creating a simple exe that will do the following

1. launch the real program you want run.

2. Delete the lnk from the StartUp folder. Otherwise, the app will launch every soft reset.

This should be pretty trivial. I wrote a similar program called camera.exe that launches cam1.exe.

If you look in your windows folder, you probably will see Cam1.exe and Camera.exe.

cam1.exe is the original camera.exe that HTC proviced, but renamed.

camera.exe is coded by me.

It changes a reg entry before launching cam1. Then changes it back when cam1 exits.

I posted the code for this in that thread that GLEONS made where he recooked an Energy ROM.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Rabangus:
Email Signature

Anyone know where email signature is saved? I've tried searching my registry and XDA, and come up with nothing.