yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] lusjash:
Please help - XDA_UC ignores some tasks..

I have already reported my issue here and got some valuable replies, which i appreciate, but they are all workarounds with no explicit coverage of issues.

My problem is - XDA_UC ignores some tasks it is assigned to do:

1) It completely ignores CAB files put in XDA_UC\Storage folder. I usually have 8 CABs there, and i have tried things like renaming them, removing all others leaving just one - didn't work.

2) even though i have exported all settings through Settings Export prog integrated in Energy ROM (and yes i did put automatic checkmark, for the settings to be revived automatically) XDA_UC imports some of the settings and ignores the others. For example it imports back light settings (which results in dimming of the screen) but my Sense doesn't change, even after restart - only when i manually import CHTsettings i get my customized Sence with all the icons on places. I tried to remove everything leaving just Export folder in XDA_UC - didn't that work.

Whereas the rest: copy2root, import of reg and pib files, deleting specific files after installation work without a problem.

Now i was suggested workarrounds to use SDauto with appropriate script for automatic CAB install, but it initiates itself after import of REG files by XDA_UC which overwrites my modifications in program regs.

I was suggested to import REG files "manually" after above mentioned installation.. but then CHT problem remains..

I thought the problem is the SD card, the way i formate it - tried FAT16/32 doesn't work. I changed my motherboard (due to USB connector hardware failure), started with fresh install - no luck..

So here I am lost and puzzled. Any suggestion?

thanks in advance
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fishawy:
I would try to re-run XDA_UC . Sometimes it misses some stuff & I have to run it again to complete all installations.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] dimikord:
if rerun xda uc,try reinstall and the cabs has installed before?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fishawy:
I believe if you ran it for the second time, the already-installed apps will not be installed again, it will only apply your missing customizations.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] dimikord:
Sorry if tired thank you!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fishawy:
lol not tired, am just out of ideas :)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] :
I know there is a complicated process in this thread that I've not tried through several ROM changes.

I save the \Garmin folder off the root of the device and then restore it to the phone before the Garmin installs. When I put my Garmin containing SD card into the phone, it asks me do I want to install the software. A yes, does everything needed. If it does not do that, run the queppc on the card. I have all my settings, recent finds, etc.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] angusc:
Come on mates!!! its not that complicated really just take the time to read and digest..... if someone wants to upload their device GARMIN folder with hte latest WWE version of Garmin Mobile I will make you all a cab but it wont be for around 7-10 days as I'm currently away from home on business. you might have to upload to a file sharing site then also include the short cute link files from the Windows/Programs menu folder and send me the link by PM...... Then all you will have to do is to copy your sw.unl and also your GARMIN_WPT.nvm and other settings files. but this is easy by using mort script to back up your files which you do prior to re flashing your ROM and then if you have the COPY file in your XDA_UC root folder the files wil lget copied back in to the righ places automatically for you. using the copy2root folder and scripts from M3PH XDA_UC thread....if you have not seen that thread check it out man!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] angusc:
OK here is the Garmin XT Installer CAB for either Garmin Mobile XT 5.00.20WWE or for the Asian Version Garmin Mobile XT 5.00.30TW.

Please read the instructions contained within the ZIP file. There is also the required MORT scripts for "copy2root" (Credits to M3PH for this) and also my own made back-up script which will back up all your Garmin settings and Way Point files so you need to run this BEFORE you do a ROM flash, then after XDA_UC does its stuff these files will be copied back to the /Garmin folder ready for use.

Remember that this Installer will only copy the Device Garmin Folder and also the Registry edits. You must have the Garmin Storage Card folders and files for it to work on your device.

Enjoy!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] lusjash:
Hey! thanks ! never knew it was thaat easy :) I thought installation also tweaks some registry...

A question:

Does one absolutely need to put both Back-up script and twicon.dll to the root of memory card? or anywhere as long as they are together, assuming of course that i change the back-up.lnk file in start folder too? (it is already rather messy in SD with android creating )

every stupid folder it can think of.:)

And another noobish: my xda_uc process once initiated asks for a soft reset several times. A pop up comes with a text "A soft reset is requred for the changes to take effect. Do you want to do it now?" and then you have to chose now or later.. annoying, disrupting, asking for manual intervention "bug".

I decided to wait as if maybe the process will take over and continue - 2 minutes - nothing... the screen goes off, but if you revive it - the pending message is still there, Ahhhh!

and second (possible a consequence of the first one ) CHTsettings are not imported automaticaly - though when done manualy everything works perfect

Thanks in advance
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] angusc:
Well lets start with the "Back-up script and twicon.dll" question....I made the LINK file to point to the Storage Card as this seemed to be the easiest way to make it flexible for everyone. In my SD card I have sub folders for Mort Scripts and also for the dll file. I do not know for sure if you even need the twicon.dll file so you can always try without it...it is the file that has the ICON picture for the Back-up.lnk file so at the wort you will loose the ICON picture and revert back to the basic MORT script Icon. As you noted, if you change the file locations then you will need to change the back-up.lnk file to point the correct place.

Regarding your XDA_UC "Restart" message. yes I get two of those for installation of G-Alarm and G-Profile, both CAB files are in my Storage Card manual install folder called "SD". they appear because these CAB files also need some user interface to select language. you MUST select "NO" to the reset dialog box otherwise you will interrupt XDA_UC before it completes the automatic installation process. Just tap NO and let XDA_UC continue until you see the "starting home screen" message box in the bottom right hand corner. (its only there for a few seconds so you have to be watching for it, or you just check to see if "Mortscript" application is still running by using TSKMGR).

There are a couple of different SD Card installation folder options for XDA_UC\:

SDAuto - will install apps to Storage Card without user interface.

SD - Manually installs to Storage Card and required user interface to select the installation location and any set up options such as language.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] lusjash:
Thanks for a quick and fast response. I will try to find the application which causes this restart-demanding behavior and move it. There is just one question left: where should i put GMXT.*.CAB file? should i install it?

Thanks in advance
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] angusc:
Bizzar question!

If you already have Garmin XT on your device??? then simply copy the CAM file to the XDA_UC folder so that is auto installs the next time that you flash a new rom. If you already have GMXT installed on your phone then no need to do anything with it. Are you going to use the Back-up script? have you already tested it to see if it saves your Garmin Device folder files to the "copy2root/Garmin" folder for later overwriting to the Device folder after ROM flash and XDA_UC has run?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] lusjash:
Thanks for the reply

Yes! It worked! and many thanks! I will send people asking about garmin backup to this post

BTW. the sentence "REMEMBER THAT THE GMXT INSTALLER CAB ONLY COPIES DEVICE FILES, " is somewhat confusing. If i were you i would still put an additional line in instructions (something like " copy the CAB file corresponding to your installed Garmin version to the Storage Card\XDA_UC folder"). You see, AFAIK CAB file not only copies the files to /Garmin, but also let's say creates appropriate shortcut and registry entries.

EDIT: Actually Garmin become very unstable (laggy, not responsive, locks the satellites in more then 4 minutes - before was ~ a minute.). I will try to revert back to 5.0.20 version and post the outcome, but definitely it is unusable in the current state(i changed to 5.0.30.tw changing the font too)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] J_M_H:
Copy2root

Does NRGZ28's Rhodium ROMs support XDA_UC\copy2root? I don't think so, but some posts in this thread seem to imply it does.

Thanks.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fishawy:
I believe they do. Extract the "copy.mscr" file from the attachment, then place it in your XDA_UC folder.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] angusc:
copy2root is a function of MORT Script and XDA_UC just runs the script during it process, so in theory the MORT script copy.mscr will work with or without XDA_UC. if you execute the MORT script independently by tapping on it, then it should invoke the copy function and any files stored within the \Storage Card\XDA_UC\copy2root folder will be copied to their respective locations on your device.

EDIT: I have added some screen shots of what the "copy2root folder structure should look like.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] joooe:
Ok, I'm using Energy Rom with XDA_UC.

I just wanted to copy some files to a few locations during XDA_UC automatic installation of reg files and cabs.

I've created this reg file (see below), and copied it to the XDA_UC folder in the SD card, but it doesn't do anything.

Can someone help me, please?

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\XDA\DirCopy]
"\\windows\\rings"="\\Storage Card\\Diamond\\Install\\Rings"

[HKEY_LOCAL_MACHINE\Software\XDA\DirCopy]
"\\windows\\Start Menu\\Programs"="\\Storage Card\\Diamond\\Install\\Start Menu\\Programs"

[HKEY_LOCAL_MACHINE\Software\XDA\FileCopy]
"\\windows\\bootuphtc.wav"="\\Storage Card\\Diamond\\Install\\bootuphtc.wav"

[HKEY_LOCAL_MACHINE\Software\XDA\FileCopy]
"\\windows\\opera9.exe"="\\Storage Card\\Diamond\\Install\\opera9.exe"

[HKEY_LOCAL_MACHINE\Software\XDA\AutoShortCut]
"\\Windows\\Startup\\XHook.lnk"="\\Storage Card\\Diamond\\Install\\xTask2.2\\XHook.exe"

[HKEY_LOCAL_MACHINE\Software\XDA\FileCopy]
"\\Program files\\Lumos\\settings.txt"="\\Storage Card\\Diamond\\Install\\settings.txt"

[HKEY_LOCAL_MACHINE\Software\XDA\FileCopy]
"\\pim.vol"="\\Storage Card\\pim.vol"
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fishawy:
Try the below from Leo's FAQ (Link in my signature). Works for all EnergyROMs.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] joooe:
Thanks! I'm going to try it out!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] joooe:
Only the pim.vol worked. But that's something already.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fishawy:
Remember, you have to create a folder called Copy2Root under \Storage Card\XDA_UC, then place inside it all the stuff you need to copy (With the same exact path of the original place). Something like \Storage Card\XDA_UC\Copy2Root\Windows\Start Menu\Programs\Games\NFS Undercover (You need to create all these sub-folders, then place to shortcut or whatever you want inside the exact equivalent path).

With the above, I successfully copy shortcuts, games links, FingerKeyboard custom skins, ringtones, custom icons & skins, ... etc.

pim.vol is to be placed in XDA_UC folder, not Copy2Root, in order to be restored.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] joooe:
Yep, you are right. I didn't create the subfolders. Gonna try that too!

Thanks so much for your help.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fishawy:
Cool. Let me know if further assistance is needed.

Good luck.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] joooe:
It worked! Thanks! :)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fishawy:
Welcome ;)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] dss4me3:
newbie help

After researching more into XDA_UC I could not figure out how to creat a file using regedit.exe, I couldm't even find rapicopnfig.exe to download. I was able to use CEregeditor to browse my phone. I was able to correlate the paths hotkeyxxxxxx to find the files on my phone but the folder has multiple files stored in them which file am I supposed to use and how do I get rapiconfig.exe to creat the xml. still very confused on this.

I also messed around with other programs like sashimi and makisu.

This is what I was able to do last night:

I found that the XDA_UC that is already programmed in the phone with the energy rom has an exporter. I used the exporter to backup everything the exporter allowed. This created a file under XDA_UC called Exporter with a bunch of registry files.

Question 1: Will these files automatically install when I re-flash the rom on the next update under the current location or will I have to use the same tool and import them back in.

Question 2: If they require me to manually import them, how can I convert the files to XML's so that it automatically updates on startup after flashing.

Additionally, I found an exporter in CHTEditor that created a CHT file and I placed that file in XDA_UC.

Question 1: Will this file auto install as a CHT or does it also require some modification.

Then to store my email settings, I used the Makisu program to create a provisioned email restore XML file. Which, I later opened in notebook and re-saved it with unicode then dropped it in XDA_UC. I tested the files by deleting the email accounts, then I ran XDA_UC application under start/tools and it re-installed all my email accounts. So this is working perfectly.

At least i got the email settings backed up, but I still need some so that I can better understand CEregedito and rapiconfig.

Thanks
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] JVH3:
I use total commander to make reg files.

It is cooked into the ROM.

Press and hold the stylus on the key that you want to make a reg file.

Select Copy.

Select the location to save it.

It creates a reg file at the location you specify.

There are alot of other great ways to do it from your PC.

See early posts in this thread by me for at least 1 good way to do it.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] blast0id:
that's because NRG ROM version of XDA_UC does not support the Copy2Root folder, check out my mod(S4XAuto, ie: Sashimi4XDAUC), in my signature for a full featured "addon" for NRGROM-XDAUC... it will perform the copy2root function and much more =) can also help you automate the "backup" process as well =)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fishawy:
Hi,

Copy2Root does work on NRG's XDA_UC.

Q: How do I

Copy Shortcuts/Directories/Ringtones/Wallpapers using XDA_UC after a fresh flash

?

A: The answer is here.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] blast0id:
ok, that is an addon script... I meant that without some sort of addon, like mine or yours, it does not work as the code is not in his XDA_UC script to complete the action...
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fishawy:
Aha, got it .. Thanks for clarifying :)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] J_M_H:
Thanks for all the help, folks. I appreciate it.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] blast0id:
I'm only asking this because you quoted yourself as if to "bump" so I'm not sure if you've read this page (last 50 or so posts), but I and at least two others (see below) gave answers that would be helpful to you... so please, if you accidentally quoted yourself then please disregard, otherwise check below for some answers that will help you greatly =)

Hope you have a great month!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] gramig:
bump

bump the thread
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cajunflavoredbob:
I recently noticed that I've only got a short list of things not set up in XDA_UC to run automagically. Perhaps some of you guys can help me out with this. First up is how to set up the CSM by default. I thought I had it right, but going into the Change Start Menu program shows that it is still using the normal start menu instead, and I'm missing quite a bit of RAM even though the hardware button and Windows soft key both pull up CSM.

How do I enable a change in font size in the Settings Tab > Personalize > Font? I normally have it set one notch left of center.

Settings tab > Locale & Text > Text Input. I'd like to have all of the options toggled on.

Start > Settings > Personal > Voice Command. Under Notifications, I want "Only during free time" unchecked. Also for Messaging Options I want "High priority messages only" unchecked. For Phone Options, I want "Announce incoming calls" to be checked.

Start > Settings > Personal > Phone . NRG recently disabled the short tones on the phone keyboard. I'd like the short tones on.

Start > Settings > Connections > Wifi. I like to have "Best Wi-Fi Performance" toggled on.

Settings Tab > Data Services > Internet time synchronization. I like to have "Get time from the internet" checked.

The Facebook tab authorization isn't working between ROMs anymore like the Twitter tab. Has anyone gotten it to work without issue lately?

What is the mortscript command to move a directory (folder) from one location to another. S2U2 and OCT both drop folders into \Windows\Start Menu\Programs that I want to move to \Windows\Start Menu\Programs\Tools

I think that about covers it. With this solved, I'll only have to sync with exchange for emails, calender, and contacts and MyPhone for texts.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fishawy:
Maybe the below threads can assist, they have some good REGs.

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

http://xdaforums.com/wiki/index.php?title=BA_Hacks

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

Hope they cover what you need.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cajunflavoredbob:
I saw the Leo tips thread, but not the others before. I checked the other two, but none of them had what I was looking for. Thanks anyway.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fishawy:
Then you might wanna search individually for each reg until you get it, then after changing it to the value you desire, just export & place into your XDA_UC folder.

Sorry I can't offer any more help.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] blast0id:
there is no "easy way to do this" I suggest doing a hard reset, the doing a full reg export using sktools, or you can do this with sashimi or my sashimi4xda_uc backup tool (see sig), then change all those settings to your preferred setting, then do another full reg export, then use a program called "windiff" or similar that can compare the two registry exports and show you only the differences that were made...
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cajunflavoredbob:
I figured as much. Thanks anyway, guys. I'll just try this later tonight and post results if I can.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] JVH3:
I actually did a full dump of HKLM and HKCU last night to find some of this for you.

But, as HKLM was dumping, I fell a sleep. I can probably find them tonight.

As far as the voice command settings.

have you looked at HKLM\Software\Microsoft\Voice Command

Then look at the subkeys: extensions and speech

3 other good programs for doing difference checks are

WinMerge, which is free from SourceForge.

Beyond Compare which is not free.

Araxis Merge, but that is more expensive, but can handle very large files.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cajunflavoredbob:
Thanks. I was kind of hoping someone might have had these on hand. I'm working on dumping the registry now. I'll post what I find later on. Thanks anyway, though.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cajunflavoredbob:
Update

I have CSM set to start up but can't figure out how to disable the normal start menu with XDA_UC. After it runs, I have CSM set to pop up from both the hardware start button and the soft key on the task bar. The RAM is still low, however, because the normal start menu is still running.

Got these done.

Still can't figure out where these are coming from even after comparing the registry.

Done.

Still need this command.

So the only things I haven't been able to figure out after comparing the registy before and after are:

1. setting CSM to start on its own and have the normal start menu disabled,

2. Start > Settings > Personal > Phone > enable short tones,

3. Start > Settings > Connections > Wifi > toggle "Best Wi-Fi Performance" on,

4. and finally move directory with mortscript.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] SyNRGz:
#2: (short tones)

[HKEY_CURRENT_USER\ControlPanel\Sounds\Keypress]

"BeepMode"=dword:00000002
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cajunflavoredbob:
I'm an idiot. I had that key exported and set to DWORD=00000000. DUH! lol Thanks.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fishawy:
If you're talking about Copy2Root, I might be able to assist.

Please check this.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] angusc:
Will you share the items that you discovered?

Regarding the moving of folders using MortScript....I use a "back-up" script which exports all of my current ROM settings.....I posted it a few pages back. this could be modified to do what you want:

The below will delete previous backed up files and then re copy the current ones from the device back to the Storage Card:

# This will Delete all files from the following location:

Delete \Storage Card\Your Folder\*.*

Sleep(500)

# This will copy all files from the follwing folder to the location on the Storage Card.

XCopy \Garmin\*.*, \Storage Card\Garmin

So you could make the back up folder like this:

Storage Card/XDA_UC/copy2root/NAME of your folder required to copy the files back after ROM flash.

You also need the copy2root,mscr file that needs to be saved in your XDA_UC folder so that it is executed eachtime XDA_UC runs. The file needs to have the following line to make it work:

XCopy("\Storage Card\XDA_UC\Copy2Root\*","\",TRUE,TRUE)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] JVH3:
For number 4 related to moving start menu shortcuts after things install.

Here's a full mortscript manual: http://www.sto-helit.de/downloads/mortscript/MortScript-Manual.pdf

(I found that by googling Mortscipt Guide) Couldn't resist.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cajunflavoredbob:
I'll share my results when I get home. I was trying to move a directory and all the files in it from one location to another. Basically, "\Windows\Start Menu\Programs\OCT\" needs to be moved to "\Windows\Start Menu\Programs\Tools\OCT\." I don't think the copy2root function supports sub folders that far.

LOL. Smarta**. :D

I did find that guide, but didn't find anything about moving an entire directory from one location to another. The quote in your post seems to be for moving or renaming a single file. I need to move a folder.