yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] nelsonw:
Hi noonski... NRGZ28 has reported some problems with some XML... I have this too. BUT, not with dotFred New Task Manager, you can provision XML and those that didn't worked, now works... http://www.dotfred.net/TaskMgr.htm...

I used this script and its working... before didn't

RUN("\program files\fdcSoft\taskmgr\taskmgr.exe", "/provxml \storage card\xda_uc\Nelson_wifi.xml")

RUN("\program files\fdcSoft\taskmgr\taskmgr.exe", "/provxml \storage card\xda_uc\Public_wifi.xml")

hope this help!
[Windows Mobile Software Development] NRGZ28:
ok... will cook the new one in my roms! good find :)
[Windows Mobile Software Development] nelsonw:
Ok, please post on changelog the path to change script... or you will add it to XDA_UC, so i didn't need this script anymore? If u can... please tellme where?

Thanks!
[Windows Mobile Software Development] ai6908:
This is not related to XDA_UC! Or maybe it is!?:D

How to create a mortrunner exe. Like the XDA_UC exe we have here?:)
[Windows Mobile Software Development] orviwan:
The problem with the xml files is a BOM. If you change the encoding of the file and remove the BOM, they import fine.
[Windows Mobile Software Development] Noonski:
I just used the Autorun.exe from original Mort Download, renamed (the same as the script it will run) it and gave it a new Icon with reshack and resigned it.
[Windows Mobile Software Development] ai6908:
Thank you Sir!
[Windows Mobile Software Development] steff195:
Hi!

I ran over THIS hybrid version of XDA_UC with autorun and progress bar, and I would like to cook it in my roms for i900 Omnia, to make my rom users' lives easier.:D

In my tests it seems that it works just fine (well, partially) ... the problem is that it runs at the first startup and then it gets interrupted by that restart message that comes up after the first boot (after flashing a rom): "Preconfiguration: It is necessary to restart for the changes to take effect"... after that restart it resumes installation, but only with the cabs placed under the SD folder, the ones that I want installed in My Storage (a specific 16GB memory on Omnia like a SD card but included in). The other ones, that I want installed on the main memory, are lost... I mean it doesn't install them anymore.

So, my problem is: how can I make Autorun to run at the second boot (to avoid that restart and so it can't get interrupted by it anymore)? Or how can I get rid of that restart, and leave the Autorun as it is?

I tried to modify some things, I tried to change from 1st boot to 2nd boot, but then it doesn't start up anymore... I admit I'm not that good at this, I tried blindly. :D

Waiting for a solution, please.

Thanks!

P.S.: Sorry if this has been already explained before, I tried to inform myself before I posted, but there are alot of pages and I must have missed it then. ;)
[Windows Mobile Software Development] Speedy350z:
What do you mean? I created an XML of my email accounts using nrg method but it didnt load with xda_UC. How do I change the encoding of the file and remove the BOM? can you explain or is that something the chef needs to do with the rom?

Thanks for your help.
[Windows Mobile Software Development] peshkoff:
You can do it in Notepad++ for example
[Windows Mobile Software Development] Noonski:
In laymens terms

Sometimes when you resave a file in another encoding in regular notepad a few extra bytes get added. You won't see them in Normal notepad but you will for instance in Total Commander on PPC.
[Windows Mobile Software Development] Noonski:
Can't really help with adjusted Hybrids.

But on regular XDA_UC all you need to do is add a fake autorun.exe to the rom to get UC to start at second boot.
[Windows Mobile Software Development] bignadad:
I need some help... i have sucessfully cooked Visual_XDA_UC into my ROM for Touch Pro 2.

BUT i have 2 questions

i want to set the manila wallpaper to one in \windows

everything i see refrences storage card

second,

in my ROM this is how the boot sequence goes

FLASH ROM

device starts

touch pro2 is displayed on screen

startup animation

oem customization

windows customization

then device soft resets

when windows comes up it ask to run XDA_UC

what i want to know is how i can so device from the soft reset.. just go straight into windows.

also can xda_uC run after windows customization? no restarts at all?

thanks for any help.
[Windows Mobile Software Development] Noonski:
There is a reason UC does not run at the same boot as regular customisation it can be interrupted while unfinished.

Only by removing customisation and letting UC do that to can you get it at first boot.
[Windows Mobile Software Development] bignadad:
what about manila wallpaper?

i want to set the manila wallpaper to one in \windows

everything i see refrences storage card
[Windows Mobile Software Development] chemita:
hello!!! I am not a cook. neither I understand very well English. for what I use translators. do I want to put XDA_UC as if it was an application it can be? is there any simple CAB? can they help with simple and concrete instructions?
[Windows Mobile Software Development] bignadad:
i guess maybe i should clarify what i am trying to do..

I am cooking a ROM and want to set the default manila wallpaper.

I have a cab to do that. i have placed the cab in my XDA_UC folder on storage card and when XDA_UC runs it works.

BUT how is the user supposed to get that cab on their storage device.. Can i install that cab from local drive?
[Windows Mobile Software Development] Noonski:
First i forgot but Serfer added some code to run XDA_UC on first boot no matter what.

Make a blank file without extension named:

XDAUC_on_1st_boot

But don't forget that there are risks using this method.

Setting the default Manila Wallpaper for a cook is not XDA_UC related. Unless your an End user that wants to overwrite the cooks wallpaper.

In the Manila version I use I just make sure I include

HKCU\Software\HTC\Manila

"HomeBackgroundPath"="\Windows\\SomeOtherWallPaper.png"

"HKCU", "Software\HTC\Manila

"DefaultHomeBackgroundPath"="\\Windows\\SomeOtherWallPaper.png"

Into the registry.

This might differ in your version of Sense and I don't know the contents of the cab your using.

Cooking in a cab to do this is overkill.

If you can post the cab I can get more into detail about it (or point to the cab)
[Windows Mobile Software Development] Noonski:
The latest beta's have a standalone XDA_UC version, that can even be made to run after an already cooked in XDA_UC.
[Windows Mobile Software Development] bignadad:
thanks so much for response... attaching cab... i am following this method from here....
[Windows Mobile Software Development] hlouie:
Question, is there anyway to save email and text message signature information?

Inbox -> Menu -> Tools -> Options -> Signatures
[Windows Mobile Software Development] chemita:
ok thank you very much. but he excuses me for my ignorance and my English evil. inside there are 3 folders. how, which and where I put them? pardon for asking so much

thank you again
[Windows Mobile Software Development] Noonski:
I attached a zip file.

You can either dump the image into an already existing Package or make a new one yourself. Same goes for the app.reg, either add it to an already existing app.reg or use it in a new package.

I have added in 3 extra graphics with different compression methods.

As you see there's practically no noticeable difference between the original and the others. I'd go with the 8 Bits PNG file with 256 Colours, 75% less then original. If your cooking always make the choice between shaving and quality. In the end the more you shave will improve performance a bit.

Also I have no idea why the cab file contained the file named as HomeBackground.img instead of .png.

So it might be you will need to rename the extension back to .img

Reading Cracing's post it seems that the cab is the only way to go, although I never had this problem setting Sense 2.1 wallpaper this way.

Test and Learn.
[Windows Mobile Software Development] Noonski:
Theres a folder called User_Storage Card,

Place whatever is inside there on the root of your storage card.

Then run:

"\Storage Card\XDA_UC\Install_UC\XDA_UC.exe"
[Windows Mobile Software Development] chemita:
thank you very much again. your being of big help for me
[Windows Mobile Software Development] Noonski:
Serfer i removed the Check for XDA_UC folder to be non intrusive for non UC users.

V2.RC1 Update,... New AutoShortcut Commands, new SDConfig.txt Commands, Manual and Storage Card install folders added, Extra parameters for Cooks.

I'll be updating all documentation accordingly later today.
[Windows Mobile Software Development] Zepiii:
Waiting for documentation :)
[Windows Mobile Software Development] Noonski:
Most new stuff is user side

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

As for Cook side there's variables to change if needed (if there's issues with some of them.

Installation = "Installation"

CookTheme = "Cook.tsk"

DisableTheme = 0

Timing = 30000

Installation = "Installation"

(WWE)

I will post the Language variables that the installation window uses for the Auto to SD from RoryB to work.

CookTheme = "Cook.tsk"

Still the same as first to enter your Theme,... But...

If you find XDA_UC hanging and not applying the theme use

DisableTheme = 0 and set it to

DisableTheme = 1

Lastly

Timing = 30000

Change this to change the timing of the UC start message to better fit your Rom.

30000 = 30 Second
[Windows Mobile Software Development] :
i test the new RC tomorrow.....;)
[Windows Mobile Software Development] :
i tested and it's OK for me but how can we modify to start at the first boot ?

I'm on french rom and the .cab on my storage card (to install appz on my storage card / on device it's OK) doesn't automatically install. Is it normal ?
[Windows Mobile Software Development] serfer222:
Hi,

first of all congratulations on the v2 RC1. =)

1st comment - it's very clear =)

2nd - in this code you are using constant string "Installing", and I sure it depends on localization.

you have variable

Installation = "Installation"

in the beginning and there should be second variable for "Installing" value.

Sub 2SD
WaitFor( Installation ,3 )
SendDown( Installation )
SendSPACE( Installation )
SendLeftSoft
[B][COLOR="Red"]While( WndExists( "Installing" ) )[/COLOR][/B]
Sleep(500)
EndWhile
SendOK( Installation )
EndSub

you will make your script even better if you will add support to predefined values for all variables that depend on ROM locale.

for example:

1) you can read value of

[HKEY_LOCAL_MACHINE\MUI]
"SysLang"=dword:409

ROM_MUI = RegRead( "HKLM", "MUI", "SysLang" )

2) then use it this way:

If (ROM_MUI eq 409)
#english
Installation = "Installation"
InstallingWnd = "Installing"
ElseIf (ROM_MUI eq 419)
#russian
ElseIf (ROM_MUI eq ...)
#so on...
EndIf

3rd - maybe a bug:

When you install theme you do not write regkey if it was cook theme.

# CheckForThemes Cook or User Home Theme
########################################
If (DisableTheme)
Else
If (FileExists( XDAUC_FOLDER & "\My.tsk" ))
RegWriteDword ( "HKLM", "Software\XDA\TSK", "USER", "1")
Copy( XDAUC_FOLDER & "\My.tsk", "\Windows\My.tsk")
Sleep("3000")
@RunWaitAny("\Windows\cusTSK.exe", "\Windows\My.tsk")
Else
If ((RegRead( "HKLM", "Software\XDA\TSK", "USER" ) eq 1) OR (RegRead( "HKLM", "Software\XDA", "Manual" ) eq 1))
Else
If (FileExists( "\Windows\" & CookTheme ))
[B][COLOR="Red"] #may be a bug?
#should we add a regkey like this:
#RegWriteDword ( "HKLM", "Software\XDA\TSK", "USER", "1")
#to protect theme from reinstalling?
[/COLOR][/B] @RunWaitAny("\Windows\cusTSK.exe", "\Windows\" & CookTheme)
EndIf
EndIf
EndIf
EndIf

PS: I would replace all code like

@RunWaitAny("\Windows\cusTSK.exe", "\Windows\My.tsk")

with a Sub like this

# Sub Install Theme
#################
Sub InstallTheme (themeName)
@RunWaitAny("\Windows\cusTSK.exe", themeName)
EndSub

so, in the script it will just

@InstallTheme ("\Windows\My.tsk")

@InstallTheme ("\Windows\" & CookTheme)

and so on.

Good luck =)
[Windows Mobile Software Development] serfer222:
by the way Start Message, End Message and other messages if any can be localized this way =)
[Windows Mobile Software Development] Zepiii:
I just talked with him on MSN.

Everything is working (even now the start at the first boot) except the silent installation on the SD.

Noonski, don't you have any idea from where the problem is coming?

BiCh0n is cooking a french ROM...

Thank you man !
[Windows Mobile Software Development] solidpowder:
Nice piece of work Noonski, thank you.

I find it easier for us cook to customize.

You are doing the hardest part, cook (like me) are just assembling everything together.
[Windows Mobile Software Development] elshur:
I have the same trouble: i have cooking a french rom with XDA_UC package for OEM folder, then it work but only 2 cab are installing on a list of 10 cab file with silent mode !! :confused:

I try to made 2 cab file for making an app but installation is impossible, i don't know why, if anybody can see into cab what is the problem

edit: in fact i understand why only 2 cab was installed; because I was asked to restart immediately after the first 2 cab but i must wait for final message box to restart :D
[Windows Mobile Software Development] Omega Kaos:
XDA_UC Auto Run

will XDA_UC install items from main memory instead of sd card?
[Windows Mobile Software Development] hx4700 Killer:
Set Folders to Sync in Email automatically

Whoops, wrong forum. I moved it to:

http://xdaforums.com/showpost.php?p=6649789&postcount=355
[Windows Mobile Software Development] ::indie:::
indie ::HTC HD2 Rom:: series

Thank you for your great work

I included XDA_UC in my Roms

http://xdaforums.com/showthread.php?t=692763
[Windows Mobile Software Development] traianescu:
i have an UC capable rom... what commands i need to put into sdconfig.txt to launch automatically the xda_uc on the first boot, please ? :confused:
[Windows Mobile Software Development] ::indie:::
I cooked to my rom the ConnectionSetup_3_1_19202627_00 external package

and all work well except from XDA_UC.

It does not start and it does not create an shortcut to start menu.

When I remove ConnectionSetup_3_1_19202627_00 external package works well again.

Any ideas why??

I use this EXT for XDA_UC

http://rapidshare.com/files/395072768/XDA_UC_EXT.rar
[Windows Mobile Software Development] ThrottleAbuse:
I still have not gotten this to work. I did not do the Makedir because NRG already has that directory in his rom. Any other ideas on how to get this to work? Thanks.
[Windows Mobile Software Development] serfer222:
hi, i will help Noonski with XDA_UC for some time.

how to use DirCopy:

DirCopy feature has two parameters

1) destination path

2) source path

for example:

I have SD card with name "Storage Card".

I have "XDA_UC" folder on this card.

There is "copy_to_device" folder in this XDA_UC folder.

I want to copy all the files and folders from "copy_to_device" to root folder -

I will add this regkey:

[HKEY_LOCAL_MACHINE\Software\XDA\DirCopy]
"\\"="\\Storage Card\\XDA_UC\\copy_to_device"

if general DirCopy key looks like this:

[HKEY_LOCAL_MACHINE\Software\XDA\DirCopy]
"(to) destination path"="(from) source path"

PS: there is one possible trouble with DirCopy - if you have several parameters with the same destination - only one will work.

Gues why?... =)

Because you can create only one string value named "(to) destination path" - all other attempts will be overwritten.

In your case, this reg key

[HKEY_LOCAL_MACHINE\Software\XDA\DirCopy]
"\\Windows\\Start Menu\\Programs\\GPS"="Makedir"

will create destination folder (\Windows\Start Menu\Programs\GPS)

and will try to use "Makedir" as source folder name.

the trick is - if you do not have "Makedir" folder, than the script just create new folder.
[Windows Mobile Software Development] serfer222:
can you please upload your ConnectionSetup_3_1_19202627_00 external package as well, I will try to help you.

I use XDA_UC and ConnectionSetup_3_1_19202627 in my own ROM and it works...
[Windows Mobile Software Development] ::indie:::
Here it is:

http://rapidshare.com/files/395802831/ConnectionSetup_3_1_19202627_00.7z

I aslo have 2 more problems with XDA_UC

The first when someone has a pin and uses a password to open the phone, after flash and the automatic reeboot the phone dont start.

The second is that the EXT I use for XDA_UC has a cook theme and when you select it, it messes the phones screen and needs hard reset.

I loved XDA_UC but for the moment I dont use it in my rom,

hope I can fix it to use it again

Thanx for your help.
[Windows Mobile Software Development] serfer222:
this one is easy to fix - delete Cook.tsk file.

i think Noonski used this theme for WM6.1 and it is not compatible with WM6.5

I will reply on other questions later - it needs some time.
[Windows Mobile Software Development] ::indie:::
Thank you very much for your help!
[Windows Mobile Software Development] ThrottleAbuse:
Thanks for the help. I am not trying to copy the directory. I just want to copy the file off my storage card. I already even have the shortcut saved on my storage card. I think Noonski was trying to have it make an auto shortcut from the .exe file which is fine too. I dont care how it gets done I just want it to copy a file from the storage card to the directory in the main memory that I specify. Thanks.
[Windows Mobile Software Development] serfer222:
if all that you want is create shortcut in the start menu, then I suggest use XDA_UC AutoShortCut feature.

just put this regfile to your XDA_UC folder.

XDA_UC will add it to registry and then it will create shortcut with the name IGo8.lnk in your \Windows\Start Menu\Programs\GPS folder

[HKEY_LOCAL_MACHINE\Software\XDA\AutoShortCut]
"\\Windows\\Start Menu\\Programs\\GPS\\IGo8.lnk"="\\Storage Card\\IGO8\\iGO8.exe"

I use this feature a lot in my ROM.

I like it because I don't need create .lnk files, I just need exe files.

There is only one important thing you should worry about - localization.

If you cook ROM in other language (not 0409), this path value

\\Windows\\Start Menu\\Programs\\

will be different.

And once more - sometimes WM65 start menu updates only after soft-rest. So maybe you will see your new shortcuts only when XDA_UC will restart your device at the end.

Just in case you have problem with creating reg files - see my attached AutoShortCut.reg, edit it and put in your XDA_UC folder.

I suggest to use Notepad++ because it can handle unicode files.

PS. Just found a bug in regkeys example - there are two spaces in "Storage Card".

it should be one - "Storage Card"
[Windows Mobile Software Development] ThrottleAbuse:
I still have had no luck with this. I even used your file and just edited it. I cant figure out what is going wrong. I have changed nothing other than adding these two files in. The are .reg files and the first one is labeled. AutoShortCut.reg and the second FileCopy.reg Here is what I have in them. I used notepad to edit them.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\XDA\AutoShortCut]

"\\Windows\\Start Menu\\Programs\\GPS\\IGo8.lnk"="\\Storage Card\\IGO8\\iGO8.exe"

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\XDA\FileCopy]

"\\Windows\\Rings\\NICKANI.WAV"="\\Storage Card\\Ringtones\\NICKANI.WAV"

[HKEY_LOCAL_MACHINE\Software\XDA\FileCopy]

"\\Windows\\Rings\\RINGDING.MP3"="\\Storage Card\\Ringtones\\RINGDING.MP3"
[Windows Mobile Software Development] zhuchella:
Hi!

Can U explain me where I have to put SDConfig.txt in my Storage Card ? And what varsion of [UC]XD do I Have to use for this ?

Okey, I've understood where but I Have another problem. I can't install cabs into Stprage card using SDConfig.txt because of error in the variable Instalation. I have russion Windows Mobile. What have I do ?
[Windows Mobile Software Development] kalhimeo:
Hi,

I discovered this nice UC recently (coming from original Sleuth's UC SDAutorun) and it's quite nice.

I didn't like the fact that no information was displayed while silently installing the cabs, so I modified the script a little bit. I also added a "force in focus" for pim backup application (this can easily be done for other .exe too, but I didn't test so i didn't add that).

I provide this with no guarantee although it works fine for me. Rename the .txt to .mscr

Feel free to use parts of my code for further XDA_UC updates.

Laurent
[Windows Mobile Software Development] ThrottleAbuse:
Is there some step I am missing? I simply created the .reg file and put it in the XDA_UC folder.
[Windows Mobile Software Development] peshkoff:
I've just discovered a little bug. In proc RunAnySD there is a line WaitFor( "Installation",3 ). But in russian or another language other than english, window name will be another. For example in russian it will be Установка. So RunAnySD won't work in localized roms.

And in Russian stages like selecting install place and installing have equal window title Установка =( So i don't understand how can i modify this code to catch end of install

While( WndExists( "Installing" ) )

Sleep(500)

EndWhile
[Windows Mobile Software Development] serfer222:
Hi, everybody.

I just started new thread about new app that supports some of XDA_UC features, I want to hear feedback from you =)

http://xdaforums.com/showthread.php?t=709557
[Windows Mobile Software Development] coolsac32:
Sub error in XDA_UC.mscr :(

i keep getting a error in the XDA_UC.mscr

please help. it keeps sayin:

"Sub must not be in control structure

line 546

(\windows\startup\xda_uc.mscr):

Sub installxdasfiles (pathXDAS)"

i dont know how to get it working
[Windows Mobile Software Development] saurabh88:
plz little advice and siggestion here..

i wanna cook this in my diamond rom but first confusion is if i cook thos packages given here will it work or i have to do something??

like do i have to delete autoattributr from oem packages so that customisation dont start but instead that xdauc start??

plz some more focus on this part needed.

i mean where can i fin runcc????:eek::eek::eek:

ok now i have both autorun and runcc..

\but can someone plz light on which packages must be included to xdauc work?

rc2.1 and all those three subfolder in it??

i have done it but no luck...
[Windows Mobile Software Development] shafizal:
hello to all ...will some one please explain how to cook with xda_uc ..;
[Windows Mobile Software Development] serfer222:
this depends... =)

what do you expect from XDA_UC?

It has features for cooks and for users.

Tell me what you need and I will help you.
[Windows Mobile Software Development] shafizal:
thanks

i have cooked a rom with Xda_uc it has four folders

*Copy2root

*install uc

*Manual

*Storage

when i put the cabs into storage it install automatically to storage card but when it install it shows the installation page ..;is there is any solution to do its in background without showing the installation notification ..

and what will i do if i want the cab install automatically to device without notification and in which folder i put my email settings provxml,pim backup etc...

thanks
[Windows Mobile Software Development] serfer222:
This is new feature and as far as I know there is no such option in Windows and XDA_UC emulates key presses as if user choose to install on SDCard.

Maybe in the next version someone will find solution.

all *.cab, *.reg, *.provxml from the root of XDA_UC folder are installed in silent mode. So - just put them into your XDA_UC.
[Windows Mobile Software Development] shaolin95:
Hi!

I have the latest Energy Rom on my HTC Tilt 2.

I try placing the cab files I want installed on the Storage card in the SD folder but what I get is a prompt on every installation to select memory or the Storage card.

I was hoping for a way to have those files install automatically to the Storage Card.

Am I missing something?