yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] as0r:
Hey Guys,

I love UC, however I can't seem to get the below configuration to work... I can't seem to find my error.

I sorta hoping that one of you guys can have a quick look and is able to point out my (very stupid mistake, I'm sure of it) error.

thanks in advance

cheers
[Windows Mobile Software Development] RoryB:
I am just getting into UC, but I did see a lot of ".ink" instead of ".lnk" for the link files. Maybe this is all you need to adjust.

Good luck.
[Windows Mobile Software Development] rollrsk8ter:
I love UC now that Juicy's HTC Touch Diamond ROMs are supporting UC!!

Sorry for the noob question.. Does anyone have details/examples on how to do the following for HTC Touch Diamond:

provision yahoo and aim messenger logins

add weather cities to HTC Weather Tab

add favorite contacts to HTC People Tab

add favorite programs to the HTC Programs Tab

Thanks in advance.....
[Windows Mobile Software Development] MisiuKP:
Can anyone tell me why DIR %CE1%\HomeScreen PlusPlus\BSBlueClock

is not created?

<wap-provisioningdoc>

<wap-provisioningdoc>

<characteristic type="Install">

<parm name="InstallPhase" value="install" />

<parm name="AppName" value="HomeScreen PlusPlus" />

<parm name="InstallDir" value="%CE1%\HomeScreen PlusPlus\BSBlueClock" translation="install" />

<parm name="NumDirs" value="3" />

</characteristic>

<characteristic type="FileOperation">

<characteristic type="%InstallDir%" translation="install">

<characteristic type="MakeDir" />

<parm name="WarnIfSkip" />

</characteristic>

</characteristic>

</wap-provisioningdoc>

</wap-provisioningdoc>
[Windows Mobile Software Development] l3v5y:
For a start, you have "<wap-provisioningdoc>" and "</wap-provisioningdoc>" twice...

You only need one set of these.
[Windows Mobile Software Development] Tek420:
Should be easy but...

I have been trying to use the UC in aruppenthal's 10-27-08]RRE 5.2.19214(build 20748.1.4.0) Home ROM which is UC compatible. I have an AT&T Tilt running 3.29 SPL.

I get to the customization screen and it takes a minute with the progress bar slowing moving saying 'installing'. When it gets to the end the progress bar goes back and forth between 'running' and installing' very quickly a bunch of times and then resets.

It seems to be reading my SDConfig.txt file as my first cab file gets installed (if it's a small, quick install) but it does not seem to be letting the other files complete installing before it resets.

I run each of the cab files individually and they all run and install fine and none of them require any user input.

Does anyone have any idea what is going on here? I would REALLY appreciate any help here. Thanks in advance!!

Dave

Here's my SDConfig file.

LOCK:Enabled

CAB: \Storage Card\Cabs\Large-Start-Menu.cab

CAB: \Storage Card\Cabs\go2contact_1.0.CAB

CAB: \Storage Card\Cabs\MusicID.CAB

CAB: \Storage Card\Cabs\PHMRegeditARM.CAB

CAB: \Storage Card\Cabs\PocketSand 0.8.3.cab

CAB: \Storage Card\Cabs\SiriusWM6.CAB

CAB: \Storage Card\Cabs\Tilt_iguidance_fix_WM61.cab

CAB: \Storage Card\Cabs\Mail_Fix_PPC.CAB

XML: \Storage Card\Cabs\Name.xml

CAB: \Storage Card\Cabs\BatteryStatusExt_Clock.1.05.CAB

CAB: \Storage Card\Cabs\Opera_Mini_18_06_2008.cab

CAB: \Storage Card\Cabs\Opera9.CAB

CAB: \Storage Card\Cabs\S2U2-1.33-QVGA.CAB

CAB: \Storage Card\Cabs\S2U2_Config.CAB

CAB: \Storage Card\Cabs\SpbBackup2.arm.cab

CAB: \Storage Card\Cabs\SpbTime2.2.2.arm.cab

CAB: \Storage Card\Cabs\SUPER ARCADE LITE Beta v2.1.cab

CAB: \Storage Card\Cabs\UltimateLaunch.CAB

CAB: \Storage Card\Cabs\DaveY Font Copy.CAB

CAB: \Storage Card\Cabs\DaveY Copy Files.cab

LOCK:Disabled

RST: Reset
[Windows Mobile Software Development] l3v5y:
As first thing to check, I'd remove the "LOCK:" tags, and try that.

Also, try testing a few cabs at a time (3 or 4) and seeing of UC can cope with those. If it fails on one of the groups, check the cabs in that individually.
[Windows Mobile Software Development] Tek420:
Thanks for the input l3v5y!! I tried your suggestions and removed the LOCK commands and only tried the first 3 cabs in my list but still the same thing. I even tried one attempt with just the three cab statements and removed the LOCK and RST and still same thing, only the first cab is loaded.

I even just did a hard reset with no SDConfig file and it did the same behavior but didn't load my first cab file.

I'm going to give up for today since I've been playing with this all day and reset my device no less than THIRTY times today!! Thanks again for your help!!

Dave
[Windows Mobile Software Development] rollrsk8ter:
Can I get a clarification of this?

In Post#43 it shows spaces after the CPY1: and CPY2: , but that is not how I have my normal copies...
[Windows Mobile Software Development] DaveShaw:
The command occupies the first 5 char's and the parameter occupies the reset of the line. So, no space

[B]123456[/B]
CPY1:\File1.txt

HTH

PS.

If you want to copy folders in UC see this app here: http://tinyurl.com/6j2ldh

Ta

Dave
[Windows Mobile Software Development] l3v5y:
Somewhere there is a tool for restarting SDAutoRun without a hard reset... I should've mentioned that earlier...
[Windows Mobile Software Development] Ameet:
I test the AutoRun by simply editing the AutoRunFlag=1 to 0 in HKLM/comm
[Windows Mobile Software Development] RoryB:
Install by UC versus cooked in ROM

I am starting to see discussions in ROM forums about leaving programs out of the ROM and letting people use UC to get what they want.

I saw a comment about the advantage of cooking the program in the ROM as "I can cook in a compressed version that works out the box. It also leaves the storage largely untouched so we can install other apps there."

If we use UC and edit the cab file to install the program onto the SDCard, wouldn't this leave even more room on the device?

I know some programs do not work from the SDCard, but others do.

I know I am a nube and may not understand this well enough.

Is this a possible path for the future of ROMs and UC?
[Windows Mobile Software Development] fdroms:
I am having problems with the following sdconfig file. It works fine without the hide commamnds and the files between them that require user input.

Anyone have any suggestions?

LOCK:Enabled

CAB: \Internal Storage\Cabs\PocketBibleWM.PPC.ARMWM.cab

CAB: \Internal Storage\Cabs\backgammon.cab

CAB: \Internal Storage\Cabs\hicalc_arm.cab

CAB: \Internal Storage\Cabs\PPC_Blocks.ARM720.cab

CAB: \Internal Storage\Cabs\PPC_Minesweeper.ARM720.cab

CAB: \Internal Storage\Cabs\PPC_Reversi.ARM720.cab

CAB: \Internal Storage\Cabs\S2U2-1.33-VGA.cab

CAB: \Internal Storage\Cabs\triptracker_ppc_en.cab

CAB: \Internal Storage\Cabs\vehiclemanager_ppc_en.cab

CAB: \Internal Storage\Cabs\SecondToday.cab

CAB: \Internal Storage\Cabs\Yahtzee.arm.cab

LOCK:Disabled

HIDE:Enabled

CAB: \Internal Storage\Manual Cabs\Pocket_Quicken_2.5_WM5_StrongARM.cab

CAB: \Internal Storage\Manual Cabs\PocketBreeze5_4_1_WM5.cab

CAB: \Internal Storage\Manual Cabs\WeatherPanel_2009.cab

CAB: \Internal Storage\Manual Cabs\eWallet-PocketPC-Install.cab

HIDE:Disabled

LOCK:Enabled

XML: \Internal Storage\Cabs\Personalinfo.xml

LOCK:Disabled

RST: Reset
[Windows Mobile Software Development] RoryB:
I did not see that you were answered. It has to do with special characters in the text string. See http://www.utexas.edu/learn/html/spchar.html.

And search for &quot in this thread for more explanation.
[Windows Mobile Software Development] RoryB:
Quote:

Originally Posted by jorge_culv

I really want to get to the bottom of this, so I tried 4 different combinations:

Option1 (no slash):

CPY1:\Storage Card\myWindowsDirStuff

CPY2:\windows\start menu\programs

Option2 (slash on CPY2):

CPY1:\Storage Card\myWindowsDirStuff

CPY2:\windows\start menu\programs\

Option3 (slash for CPY1 and CPY2):

CPY1:\Storage Card\myWindowsDirStuff\

CPY2:\windows\start menu\programs\

Option4 (slash for CPY1):

CPY1:\Storage Card\myWindowsDirStuff\

CPY2:\windows\start menu\programs

Not sure how else to do it, but in the end none of these worked for me. My conclusion is CPY can't be used to copy directories on a Sprint Mogul-may work differently on another device, but I encourage you to try all four options and see which one works then spread the word.

I know we now have xcopyce (and I use it), but did anyone try wild cards?

CPY1:\Storage Card\myWindowsDirStuff\*.*

CPY2:\windows\start menu\programs\*.*
[Windows Mobile Software Development] DaveShaw:
Copying Directories isn't supported by UC.

Try this add in by your's truly: xcopyce

Dave
[Windows Mobile Software Development] RoryB:
xml troubles

My xml files do not run within sdautorun.

They work in the "run provisional xml" of regedit in task manager.

I swear I saw someone else having this problem, but I cannot find the thread.

Can anyone give a little help on this?
[Windows Mobile Software Development] kaiguy:
Is there a way to temporarily disable an entry in SDConfig.txt? Like a semi colon or something? There are times when, trying out new ROMs, I want to prevent the install of overlapping programs but don't want to delete the paths in my config file.

Similarily, in the xml file, I can just add a "!" at the beginning of the bracketing, correct?
[Windows Mobile Software Development] l3v5y:
SDAutoRun checks for the ":" in the command, so deleting that should make SDAutoRun ignore that line.
[Windows Mobile Software Development] xxza:
cpy1 and cpy2 work for my diamond. :)
[Windows Mobile Software Development] RoryB:
interesting

Since I have not been able to get my xml files to work through sdautorun, I thought I would try something. I would have to do this for several programs.

CPY1:\Storage Card\SDAUTO\settings1.reg

CPY2:\trash\settings1.reg

EXEC:\trash\settings1.reg

CPY1:\Storage Card\SDAUTO\settings2.reg

CPY2:\trash\settings2.reg

EXEC:\trash\settings2.reg

Then I delete the trash folder after the reset.

It works. You still have to select OK to get it to install and OK after it does, whether it is HIDE enabled or disabled. So you want to be sure to run the EXEC after LOCK is Disabled. It's not automatic, but some cabs need interaction too.

I have also used WinCE CabManager to repath things like links to put them where I want them.

I can run the xml files through regedit and they work, but they refuse to work in sdautorun. I still need help figuring this out since I have one xml that did file operations.
[Windows Mobile Software Development] DaveShaw:
I put a : at the beginning of the line:

:CAB :\Dont Run.cab

:)

Dave
[Windows Mobile Software Development] RoryB:
\Storage Card error in EXEC: command

I just realized something. Sorry if this shows my ignorance.

Autorun can run files from Extended_ROM because there is no blank space in the name, hence the "_". If we renamed "Storage Card" to "Storage_Card" wouldn't we get the same effect?

I don't know how this would cascade through other programs, etc. that use "Storage Card", but I think I have seen threads about renaming "Storage Card" to "My Documents" that only affected already installed programs. So if the rename was done in the ROM cooking, it should not be a problem.

This would reduce the number of command lines in SDConfig.txt, since you would not have to copy files to the device or delete them afterward.
[Windows Mobile Software Development] RoryB:
I put a question mark since it ? shows up a little better. I also use

?statment

as a way of having comment lines. Things like

?run CAB "a" before XML "a"

so I don't accidentally load the files in the wrong sequence as I add and shuffle files.
[Windows Mobile Software Development] ghost13:
hey guys i read through a lot of the pages and posts and i can't seem to find how to install cabs to the storage card. i have my txt file set up but i dont want to install to the phone storage on my fuze. any help would be appreciated

Also- can anyone tell me how to save me favorite 15 on my fuze wtih the xml file. i do not know where this is in the registry
[Windows Mobile Software Development] DaveShaw:
You have to edit the CAB (using Win CE CAB Manager or similar) to install to the card by default.

Ta

Dave
[Windows Mobile Software Development] mnassoiy:
I am also trying to find a solution for this. Does anyone know how to do this?
[Windows Mobile Software Development] sfxc13:
Anybody know how to set the options in messaging?

For example settings signatures, keep copies of sent items in Sent folder, etc.
[Windows Mobile Software Development] RoryB:
BUMP

Anyone having similar problem of xml not working in sdautorun, but do in "run provisional xml"?
[Windows Mobile Software Development] l3v5y:
Are they stored as "*.provxml" or "*.xml".

If the first, change the extension to *.xml, and try again.
[Windows Mobile Software Development] RoryB:
Mine are in reg file format since I cannot get xml to run in sdautorun.

I cannot get signatures. I feel it is a file, but cannot find the name of the file to copy my version in place of.

Some "inbox" settings are:

[HKEY_CURRENT_USER\Software\Microsoft\Inbox]

[HKEY_CURRENT_USER\Software\Microsoft\Inbox\Settings]

"SortOrder"=dword:00000000

"MoveMessage"=dword:00000000

"AcctPicker"=dword:00000000

"SystemFontPercent"=dword:00000064

"Zoom"=dword:00000002

"SortBy"=dword:0E060040

"AttsOnCard"=dword:00000001

"WarnOnDeleteSoftkey"=dword:00000001

"LeadChar"=dword:00000000

"AddLeading"=dword:00000000

"IndentBody"=dword:00000000

"SaveSent"=dword:00000001

"TrashEmpty"=dword:00000001

This forces email attachments to save to sdcard:

[HKEY_LOCAL_MACHINE\System\Inbox]

[HKEY_LOCAL_MACHINE\System\Inbox\Attachments]

"Moving"=dword:00000000

"AttsDir"="Inbox.mst29967988.1763079552"

"BottomDir"="Mail Attachments"

"MiddleDir"="Connections"

"TopDir"="Program Files"

[HKEY_LOCAL_MACHINE\System\Inbox\Settings]"StatusTextDuration"=dword:000007d0

"AttachPath"="\\Storage Card\\Inbox.mst29967988.1763079552\\Mail Attachments\\"

You can use CeRegEdit to extract these from your phone after you get it set the way you like. There are other keys I did not show you, The trick is those two registry locations.
[Windows Mobile Software Development] RoryB:
They are stored as xml files. Does it have something to do with the translation="filesystem" and similar comments in the xml?

I have them in UNICODE.
[Windows Mobile Software Development] l3v5y:
Try and save them as ASCII.

Any chance you could upload an xml so I can have a look? (obviously delete sensitive data...)
[Windows Mobile Software Development] sfxc13:
Thanks! Found a bunch that I had been looking for.

Now to find that darn missing sig file.

Btw have you tried just turning the xml into a cab with cabarc?

I use it to test my xml before I try and run UC and it works great
[Windows Mobile Software Development] RoryB:
Here are three: file operation, email2 setup, reistry settings.

I only have choice of ANSI, Unicode, Unicode big endian, or UTF-8. ANSI did not work in sdautorun, but did in "run provisional xml".
[Windows Mobile Software Development] l3v5y:
ANSI should be good.

It may be that the ROM/device you've gots AutoRun.exe doesn't support the XML import function...

The only potential issue I've found is

<characteristic type="HKCU" translation="filesystem" />
- <!-- S2U2
-->
<characteristic type="HKCU\Software" translation="filesystem" />
<characteristic type="HKCU\Software\A_C" translation="filesystem" />

is probably unnecessary, you could probably get away with just

<characteristic type="HKCU\Software\A_C\S2U2" translation="filesystem">
[Windows Mobile Software Development] RoryB:
Your'e probably right, SVI said he managed to get xml working, but uses reg or cab files now instead. I'm using his beta 2 and he is up to beta 3.8 now.
[Windows Mobile Software Development] l3v5y:
In this thread there are several tools for creating a cab from the XML file.

Including my own here. </shameless plug!>
[Windows Mobile Software Development] RoryB:
Thank you, I'll have to give yours a try sometime soon. I used a similar one that took a _setup.xml and put it into a cab file. It did not work for the file operation xml, and I cannot remember if it worked for the email2 xml either. Maybe yours will work for me.

Right now I am using sdautorun to install my program cab files. Then I stop the programs s2u2, quickmenu, voicecommand, and manila 2d before running the file moving xml through regedit, and a personalization reg file. I found I had to stop the programs first to get the registry changes to take. Also, I noticed if I reset afterward the changes do not take, even if I wait the 15-30 seconds. So I just run the reg file and start using my phone to make some of the last changes I have not figured out registry settings for. Things like email signature, etc.
[Windows Mobile Software Development] efeene:
Hi

Need help to set folder attributes.

In my xml I have:

<characteristic type="\MainDir\NewDir" translation="install">
<characteristic type="MakeDir" />
</characteristic>

but I need to set this NewDir "hidden"

Any help please
[Windows Mobile Software Development] miles_muso:
Customisation of User Customisation for a User!

Hi all,

I've been reading through various posts on Custom ROMS with UC and am about to flash my Omnia with the latest by PasSoA, which runs M2D, Flashlight 3.1 and UC.

I am about to leave the UK for some time (I work 3 months out of every 4 on a cruiseship) and I'm worried that if I set up UC and make a mistake, I won't be able to come to this forum for support (cruiseship internet access is patchy at best and non-existent at worst!)

I would be very interested in somebody creating the correct UC config file and XML file for my specific purposes - for which I would be happy to make a donation. Who knows, it may be the start of a nice little sideline for someone!

I would hope to have ThumbCal, FunContact/SMS-Chat, NeboPad, SK Tools and G-Alarm loaded at start (and made default programs) and have an XML that enters my personal details, remembers the registration codes for my software and sets various other options, such as starting ThumbCal in month view, etc, etc.

PLEASE NOTE: I understand and in agree with the principles of technical forums: help given on a forum, any forum, should be freely given and not with a profit in mind. I only offer the donation as an inducement to getting this done quickly, due to my limited internet access.

If anyone's interested, please PM me and we can discuss further.

Thanks in advance,

miles_muso
[Windows Mobile Software Development] shaunco:
Is it possible to run SDAutoConfig.exe after the initial run? I am trying to test out my SDConfig.txt and .xml files without reflashing the device, but I can't seem to get SDAutoConfig.exe to start...
[Windows Mobile Software Development] shaunco:
Sorry, I mean SDAutoRun.exe...
[Windows Mobile Software Development] RoryB:
SDautorun is in the \windows directory.

I actually have a reg file saved on my sd card of this one registry value (set to 0) and a shortcut to \windows\sdautorun.exe there too. So I just go to storage card in file explorer and select the "autorun.reg" file I created. It resets the value to 0. The I select the shortcut and sdautorun starts. This saves time since I am in the storage card already messing with the sdconfig.txt or other files. Also, I do not have to wait for file explorer to generate the files list in \windows.
[Windows Mobile Software Development] mrjadd5:
when a newbie asked..

hey guys..im new here..and ive been using a cingular 8125 for long time and i just want to upgrade it..ive found a rom that suites for e...can anyone here tell me how this roms will be install at y phone?..i dons know such things but trust me..i love to upgrade my phone...my phone has ipl/spl 2.25..its cid/sim unlocked..so any one who cares want to teach me the step by step procedure?..thanks if someone cares..and thanks also for this roms..you rocks chefs!:; by the way..the rom that i was talking bout is the SNN diamond..thanks :D
[Windows Mobile Software Development] RoryB:
READ

Start on the Wiki and read about flashing. There are how to's there already.

http://wiki.xda-developers.com/index.php?pagename=HTC_Wizard
[Windows Mobile Software Development] msd24200:
whats going on

ok hey guys this is my first venture in UC, and for the life of me I cannot figure out why it wont work, I am running PDACornersUltimate V12 Rom and i've attatched my sdconfig text. will someone look it over for me, i used SDConfigBuilder V0.6
[Windows Mobile Software Development] sfxc13:
you are missing a LOCK:Enabled
[Windows Mobile Software Development] msd24200:
thank you I see it now, so now I will give it a try
[Windows Mobile Software Development] Bouloama:
I'm new to the custom rom world ;).. but i'm not new in the windows registry world :P

Sleuth thanks for making this nice app working fine! I flashed my device with the B16B AthineOS v.3.0. This ROM is UC complaint, i configurated my SDConfig.txt and my Provisioning.xml.

The cabs that i listed in the SDConfig.txt are installing fine, without any problem. But the Provisioning.xml isn't loading... not even 1 register tweak is changed in the register of the device.

Could someone help me.. by looking into my .txt and .xml ? Where is my problem.. is it the ROM or my files?
[Windows Mobile Software Development] sfxc13:
Quick thoughts:

1) Easy one first - are you putting the provisioning.xml file into the Storage Card\Cabs? (I only say this cause I have dumped it in the root folder before and then been confused why it wasn't working.)

2) As far as your xml code it looks fine. It is likely that one of the registry edits is misspelled or some other minor issue. Unfortunately the only way to really troubleshoot this is to build the xml into a cab and keeping dropping stuff out until it runs without error. I believe there are instructions for building the cab on the first page of this thread.
[Windows Mobile Software Development] RoryB:
I did not see anything in your files, except you probably did not need the lines regarding file operations since you do not have any.

I have the same problem with my UC. I started running the xml through regedit's provisional xml feature. Now I just run it as a reg file by using xml2rgu.exe that is in the forums somewhere. Actually, I run my file operations as an xml and my registry settings as a reg file.
[Windows Mobile Software Development] Bouloama:
1) Yes the XML is located in the Cabs dir on my Storage Card.

2) I'll will only include the backlight reg settings in to a new XML and test if the XML will run or not... it could be minor mistake in one of the tweaks..

Thanks.

Indeed I added the lines regarding file operations, because i thought that would be the problem. But that isn't the issue, it just looks like it isn't begin loaded at all.
[Windows Mobile Software Development] RoryB:
I hope you get it figured out. I tried so many different things and never got it to work.

I actually created a reg file on my sd card of the HKLM\Com\SDautorunflag=0 registry setting and created a shortcut to \windows\sdautorun.exe there too. So I just go to storage card in file explorer and select the "autorun.reg" file I created. It resets the value to 0. Then I select the shortcut and sdautorun starts. This let me try different scenarios of sdconfig.txt and the xml file. I took out the reset so I could open regedit to see if the changes were made. I noticed if I run a provisional xml and reset immediately, it did not take.

Good luck
[Windows Mobile Software Development] Bouloama:
Nice!

Fixed the problem, now the XML runs perfect within the SDConfig.txt. The issue was in my XML file.

a regtweak from my XML:

<!-- KT - Bluetooth -->
<characteristic type="HKLM\SOFTWARE\Microsoft\Obex[b]\[/b]">
<parm name="IsEnabled" value="1" datatype="integer"/>
</characteristic>

I noticed the UC tool couldn't read the last slash in the registry path. Check out the slash between the » «

Example: <characteristic type="HKLM\SOFTWARE\Microsoft\Obex »\«">

The proper code:

<!-- KT - Bluetooth -->
<characteristic type="HKLM\SOFTWARE\Microsoft\Obex">
<parm name="IsEnabled" value="1" datatype="integer"/>
</characteristic>

After removing all those slashes in my Provisioning XML... it suddenly worked without any error:D. I checked all the regkeys @ phone, and all where applied.