yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] JimmyMcGee:
OK I'm trying to get this set up so I don't have to reset up the device everytime is flash.

Anyone know if you can Overwrite your welcomehead.96.png from a backed up copy of what you want it to be.

Second. I was staring at the Notifications Registery Settings and Trying to adapt them to a Custom tone. However I am lost. I have two Custom Tones Copying into the \Windows\ Directory. But how do I set that with regard. I can't see how to Set New SMS to "smstone.mp3" or New Email to "emailalert.mp3" And setting your custom Ringtone!

EDIT: I'm thinking...

<characteristic type="HKCU\ControlPanel\Notifications\{A877D65B-239C-47a7-9304-0D347F580408}">
<parm name="Wave" value="\Windows\smsalert.mp3"/>
<parm name="Duration" value="15" datatype="integer"/>
</characteristic>

Also If you make a Pim Backup file to your Storage Card\Cabs before your flash after can you get it to copy and Restore? I know you could get it to copy, but could you get PIM backp to run a restore So you don't have to. This is a niceity but if it can be done, great, if not, oh well.
[Windows Mobile Software Development] AllTheWay:
Pretty easy to change the welcome screen.

Here's how you do it.

CPY1:\Storage Card\where ever the file is located\welcomehead.96.png

CPY2:\Windows\welcomehead.96.png
[Windows Mobile Software Development] JimmyMcGee:
Thank You. Thats what I figured. I was curious if I'd have any problems because its a read-only and system type file.
[Windows Mobile Software Development] Chainfire:
Works fine for me :)
[Windows Mobile Software Development] taiseer999:
Owner Info, Today Plugins, HTC Launcher shortcuts

Here is my small contribution guys,

Easier than ever,

You need a Registry editor & WinCE Cab Manager

Owner Info

Browse to HKCU\ControlPanel\Owner and export it

Today Plugins

Browse to HKLM\Software\Microsoft\Today and export it

HTC Launcher shortcuts

HKLM\Software\Microsoft\Today and export it

To build cab file for each category:

Copy registry files to PC

Open WinCE Cab Manager and create your own cab through the cab wizard

File-Import- Import from Reg

Save as - change file extension to .cab

To test files - install to your PPC and rest it from power button, and happy flushing

Taiseer
[Windows Mobile Software Development] Sleuth255:
@people who want to copy whole directories

There seems to be no definitive answer here. Noonski says it can be done but his example shows a single file copy example. Someone should try this then report:

CPY1:\Storage Card\<directory name to copy all files from>

CPY2:\<already existing directory name to copy all files to>

example:

CPY1:\Storage Card\myWindowsDirStuff

CPY2:\windows

If that doesn't work then how about:

CPY1:\Storage Card\myWindowsDirStuff\

CPY2:\windows\

@people who want to move shortcuts around

Sorry, no solution found yet. I can't help but think this is somewhere in the FileOperation CSP though.
[Windows Mobile Software Development] Chainfire:
Yeah it is (there's a move command in there), but the FileOperation CSP is especially awkward, unintuitive and craps out all the friggin time.
[Windows Mobile Software Development] juju-35:
Would you know the move syntax so that I an try?

Or is there an easy way to execute an exe automatically from the sdconfig,txt. I could then easily call a morstcript or an exe that I make to move around files?

I read through this thread and some people talk about setting up their start menus,..How do they do it if they want to move shortcuts around? Any other way?

Thanks

Juju
[Windows Mobile Software Development] finch:
Here is my code. Trying it on the new mar 04 dutty.

LOCK:Enabled
CAB:\Storage Card\Cabs\GroupSMS.CAB
LOCK:Disabled
RST:Reset

I get nothing. When I hard reset. it does the 3 sec to customize then i see it read the SDConfig file and nothing at all. No errors, no nothing. The phone is just ready to go.

Any ideas?

Thanks
[Windows Mobile Software Development] elgreek84:
In the first post it looks like:

CAB: \Storage Card\Cabs\s2u2v99c.cab
CAB: \Storage Card\Cabs\CapScrUtil.CAB

which I think may mean you need a space between CAB: and \Storage Card
[Windows Mobile Software Development] 1999TL:
Ill have to read this whole post in the morning. It's late and I'm tired. But I just made a Sdconfig.txt, and when I reboot it doesn't load up. It seems as if I have everything right?

I attached mine if anybody wants to take a look. The device says it is loading up customization, then the today screen looks normal, and after a minute or so, the screen turns off and I can't turn on the phone. I have to softreset it. I let it run its course for awhile but it didn't wake up.
[Windows Mobile Software Development] taiseer999:
you need a space between CAB: and \Storage Card

Your config

CAB:\Storage Card\Cabs\AEBPlus1.6.CAB

Should be:

CAB: \Storage Card\Cabs\AEBPlus1.6.CAB
[Windows Mobile Software Development] Sleuth255:
Looks like you also have tabs at the end of all your lines. This is a common error. If you run windows, open it with notepad and you'll be able to see them easily.

I'm going to update SDAutoRun soon to filter these out ;)

Interestingly, you should have actually seen a large number of "File Not found" messages.

@all new UC authors: Be sure to read the Important facts to remember at the bottom of post 1. It will help you avoid these common errors.
[Windows Mobile Software Development] JoelC:
Spaces and Tabs...

Following on from what taiseer999 said in the last post, you do need a space between CAB: and \Storage... but you also need a space after RST: and before Reset.

In addition, there are extra tab characters at the end of your lines - if you look at them in Windows Notepad they show up as oblongs.

All of these things will cause your SDConfig.txt not to run. The simple way to remember where spaces are required and where they're not is:

Commands that are THREE letters in length need a space after the colon.

Commands that are FOUR letters in length don't have a space after the colon.

So - edit your file and try again - good luck!

Sorry Sleuth255 - your reply appeared in-between me starting my reply and posting it... ;) anyway, do what Sleuth says, but don't forget the space after the RST: command!
[Windows Mobile Software Development] finch:
I used SDConfig Builder and I thought I read no spaces and when v.6 did it like this I thought it was right. I will add space and test.

Thanks.
[Windows Mobile Software Development] finch:
Sorry for new post instead of editing the last one. My browser keeps crashing when I click manage attachments.

Anyways here is my config file.

Love any advice.
[Windows Mobile Software Development] taiseer999:
Try it in the following manner:
[Windows Mobile Software Development] finch:
Any reason. Mine actaully worked. I am so freakin happy. Now to learn the xml for my settings. WHOO HOO.

Thanks everyone.

I am still curious to your order, I would like to understand as much as possible.

Thanks,
[Windows Mobile Software Development] 1999TL:
Thanks fellas. Yah, I should have read more, but I used the SDconfig tool by doedoe and I thought it would just "work."
[Windows Mobile Software Development] 1999TL:
How come it froze when It started installing AEBbuttonplus? Seemed like it took forever. Then I soft reset, and I tried to install it manually b/c I thought maybe it needed other inputs I forgot about, but when I tried to install it said it would have to remove AEB plus first....so, i checked my programs and sure enough it was there. However, nothing else is installed. I let it run for about 7 mins. am I not waiting long enough?

I changed it and pt netCv35 first, just in case it was a problem with AEB button plus, still stalls on the first cab install. ARGGGHHHHH.
[Windows Mobile Software Development] Sleuth255:
What device do you have?

edit: your config file still had a lot of tabs in it. I removed them. Try the attached file to see if that was it.
[Windows Mobile Software Development] 1999TL:
Thanks for your help Sleuth. I have a Sprint PPC-6800, aka Mogul or Titan, and I opened the text file on my phone and I could see the tabs at the end. however, when looking on my vista pc, I could never see it. I even went as far as going through each line and pressing delete(so the previous line would come up and touch my cursor, then I would press enter to ensure no tabs. Is there a way that I can see the tabs on the pc, as oppossed to the PPC? I guess it's not big deal now.

and AEB button plus pulls up the program after it installs, so I guess Ill have to put that in the unhide group. Thanks for you
[Windows Mobile Software Development] Sleuth255:
@199TL: try using notepad then drop SDConfig.txt on it. You should see the tabs as little elipses. However, maybe in the Vista version they updated Notepad so you can't see tabs any more. Let me know if this is the case.
[Windows Mobile Software Development] 1999TL:
Here is what I see. Are there ellipses? Maybe I have an ID 10 T error.
[Windows Mobile Software Development] elgreek84:
the CAB: \ need spaces
[Windows Mobile Software Development] 1999TL:
I've gotten my Sdconfig to work already. I just downloaded the file that I posted here previously, and then I took a screen shot of what it looked like on my Vista machine. When I make the config texts, I have to go to my pda now b/c I can't see the tabs at the ends like I can on my ppc. Well, they mght be there, but I might be looking at the wrong thing. I was posting that so that Sleuth could tell me if he sees the tabs at the ends or not. Sorry for the confusion.
[Windows Mobile Software Development] elgreek84:
Oh i see, no prob. What i usually do is highlight the whole thing in your notepad, and then you'll see if there's spaces at the end, otherwise the "selected" blackness will hug the last letter of the text.
[Windows Mobile Software Development] 1999TL:
I just tried your msg. In my original file, when I pressed CTR+A to highlight all, I noticed a tab at the end of lock. Thats it. Then I moved the file to my ppc, and now i can see all the tabs. ON the pc, I didn't see any of it.
[Windows Mobile Software Development] 1999TL:
That's the same file. So now that I've learned, I'll just do all my sdconfig from my PPC. No big deal, just wasted lots of time in the learning curve
[Windows Mobile Software Development] Sleuth255:
No ID10t issue 1999TL, just another Vista "fix". Notepad no longer shows tab chars. That's just great... :rolleyes:

Another way to do it is by positioning your cursor on a line and then hitting the "End" key. If there's a tab, it should go beyond the last character on the line. Then hit backspace to delete until cursor is adjacent to the last character on the line. Doesn't show things up nearly as well as elgreek84's suggestion tho.

My notepad view is attached. I'm never going to upgrade from XP.....
[Windows Mobile Software Development] 1999TL:
Ahhh, those are the oblongs that JoelC was talking about.
[Windows Mobile Software Development] LeoArg:
Where I get the "SDConfig v0.1" ?

Thank you
[Windows Mobile Software Development] Sleuth255:
There's a link to DoeDoe's development thread on post 1. I'm not sure if he has released the WM version yet but his development thread would be the best place to ask.
[Windows Mobile Software Development] LeoArg:
Thank you :)
[Windows Mobile Software Development] illusion8088:
Haa, sweet!

God bless you brain.
[Windows Mobile Software Development] SportbikeRiderXX:
I have ZERO XML experience...

OK, guys, I was able to create and implement an SDConfig.txt (on my first attempt) to get my CABs installed after a hard reset. It was easy to follow the Sleuth's instructions in the first post.

But, I'm totally stumped on the XML stuff. Now, I'm (obviously) no type of computer programmer, but I can follow step-by-step instructions. I downloaded XML Notepad, but I'm at a stand still trying to use it.

Can anyone offer a quick step-by-step tutorial on creating and saving an appropriate XML file example? The help files within XML Notepad aren't very informative. Either that, or I need it to be more simple.
[Windows Mobile Software Development] elgreek84:
easiest way to start is to copy stuff from previous posts and paste them into Microsoft Notepad (the regular one) then just save it as "all files" but save it as userconfig.xml or whatever other name

Later, once you get teh hang of it, learn about the rapiconfig program, or, if you have rescoexplorer, you can export REG files and use REG-->XML and create your own xml file under notepad.
[Windows Mobile Software Development] Scrufdog:
is there any limit to the size of the SDConfig that you know of? I'm looking to do a buttload of file copying for all my personalized stuff, about 30 cabs, maybe an exec or 2, and a friggin long xml for all the registry customizations for ringtones, notifications, owner info, anything else that i figure out.
[Windows Mobile Software Development] studentjunk:
Finding registry keys

There are a multitude of settings that I change, and my guess is that what's important to me isn't important for the next guy. I haven't come across a map for all the functions. What I did find was a registry editor that compares the current registry to a prior, saved registry. So I got all my settings the way I want them, and then saved the registry. I am now making changes to the settings that I care about to find the keys, and am making the xml files as I go. The program I am using can be found at:

http://ceregeditor.mdsoft.pl/?lang=en
[Windows Mobile Software Development] Scrufdog:
you actually get PIM.VOL to load properly? Whenever I stick that command in my sdconfig when the phone soft resets, I have no phone or messaging functions, not contacts.
[Windows Mobile Software Development] elgreek84:
what's the purpose of pim.vol????
[Windows Mobile Software Development] Scrufdog:
it has all your contacts and appointments in it.

Keeping a copy of it on your storage card wil let you get back your contacts by copying it back over, as opposed to using backup software or activesync after a hard reset.
[Windows Mobile Software Development] Sleuth255:
Nice post! added to FileOperation CSPs examples. :) Do you by any chance have the %CE#% shortcut list? There's around 16 of them iirc and I sure would like to include a full crossreference...
[Windows Mobile Software Development] juju-35:
Booda,

thanks so much for the tip.

That will make my life much easier!

Did someone also find a way to delete files?

I guess I can also delete files by moving them to a tmp folder on my card that I delete later, but it would be simpler to directly deelte.

Anyway, thanks again.

Juju
[Windows Mobile Software Development] juju-35:
Hey Studentjunk,

this is great, exactly what I as looking for. Seems ideal for people who want to make a lot of customization but are not reg experts.

I was able to make a simple reg 2 xml work, but having a tool that automatically tracks the changes of all regs is the exact thing you need to track all of your changes form a base ROM.

Thanks again.

Juju
[Windows Mobile Software Development] Sleuth255:
Nice.... link added to post 1 utilities. :)
[Windows Mobile Software Development] Noonski:
Don't know if this has been mentioned but

1. Remove USB after flashing UC Rom.

2. Don't Cook UC rom with Today Agenda Enabled from Start. (Takes control of pim.vol and breaks it from being copied over). For that matter Also disabled Calendar Plug in to be save.

3. I Love UC, even cooking i feel like such a fanboy.
[Windows Mobile Software Development] Park City:
I successfully setup SDConfig.txt except for a single typo on a cab filename and all except that one installed... but were also deleted from the card when the process completed. The properties on that remaining cab did not have "read-only" checked so all I can assume is that the others more than likely did not as well. Is it possible these cabs are still accessible as cab files on the device or will I need to try to hunt them down again?

Thanks,
[Windows Mobile Software Development] Park City:
Figured it out...all cabs did not have read only selected. Checked that and worked like a charm. Also was able to find newer versions of the cab files that were deleted so it worked out for my benefit anyway. A little time and some despiration can work wonders.

Thanks!
[Windows Mobile Software Development] AllTheWay:
This program works wonders :)

I love it. Was able to extract my entire registry or just specific key's I needed. Awesome :)
[Windows Mobile Software Development] Sleuth255:
:confused: are you saying you had to manually set the RO option? That doesn't compute especially if you were using your TyTN II with Sleuth 3.0.... That is the one ROM where I know that SDAutoRun correctly sets the RO option on CAB files. Also, if SDAutoRun encounters a single cab that it can find, it is supposed to abort the entire process and just reset the device :confused:

Didn't you get a "File not found" error dialog for the cab that had the typo?
[Windows Mobile Software Development] Chainfire:
http://www.nsbasic.com/ce/info/technotes/TN30b.htm
[Windows Mobile Software Development] Park City:
I did have to set the option on all my cabs.

I also did get the "File not found" error dialog for that specific cab but the process did not abort, it continued and installed everything else flawlessly.

Everything is working fine for me now. Tomorrow when I get Soti.net installed I will post some screenshot if needed. Any specific things you want me to post?

Thanks,
[Windows Mobile Software Development] Sleuth255:
gotta be a bug somewhere in SDAutoRun... I'll look at the code again. It obviously fell through the set RO logic but built the output file on /windows anyway.

edit: damn... logic looks good. Did the dialog box specifically have a title of "Abort: file not found" with the named file within the dialog box itself? Could you post the copy of your SDConfig.txt that had the typo? The only way this could've failed was if SDAutoRun somehow hit EOF (like if there were no crlf line delimiters) without encountering a CAB: statement.

The logic that sets RO also verifies the filename. It reads a line at a time then scans it for a "CAB:" statement. If found, it sets the RO flag or throws an error if the file isn't found.

Soooo... to create your condition, there were either no '\n' (crlf) delimiters in your file or no "CAB:" statements it could lock onto.

maybe your file is unicode?
[Windows Mobile Software Development] jjlwork:
Nevermind should have searched.
[Windows Mobile Software Development] JimSmith94:
Is there a way to modify existing CABs to install to the Storage Card without using WinCE Cab Manager? Maybe either a free manager or simply editing a file in the CAB?

I have plenty of existing CAB files that can be installed to the Storage Card, but don't want to spend the money on WinCE Cab Manager just to change their destination.
[Windows Mobile Software Development] Noonski:
Well you call someone else anwsers.

http://xdaforums.com/showpost.php?p=2003953&postcount=52

Nice Unpacker small FREE . You edit the install dir in the _setup.xml

Drop the package pack into app.

I think that should do the job.

And from Cabmanger help files....

Handheld PC Macros​

Macro

Directory

%CE1%

\Program Files

%CE2%

\Windows

%CE3%

\Windows\Desktop

%CE4%

\Windows\Startup

%CE5%

\My Documents

%CE6%

\Program Files\Accessories

%CE7%

\Program Files\Communication

%CE8%

\Program Files\Games

%CE9%

\Program Files\Information Manager

%CE10%

\Program Files\Office

%CE11%

\Windows\Programs

%CE12%

\Windows\Programs\Accessories

%CE13%

\Windows\Programs\Communication

%CE14%

\Windows\Programs\Games

%CE15%

\Windows\Fonts

%CE16%

\Windows\Recent

%CE17%

\Windows\Favorites

%CE18%

Not Used

%CE19%

Not Used
​

Palm-size & Pocket PC Macros​

Macro

Directory

%CE1%

\Program Files

%CE2%

\Windows

%CE3%

Not Used

%CE4%

\Windows\Startup

%CE5%

\My Documents

%CE6%

\Program Files\Accessories

%CE7%

\Program Files\Communication

%CE8%

\Program Files\Games

%CE9%

Not Used

%CE10%

Not Used

%CE11%

\Windows\Start Menu\Programs

%CE12%

\Windows\Start Menu\Programs\Accessories

%CE13%

\Windows\Start Menu\Programs\Communication

%CE14%

\Windows\Start Menu\Programs\Games

%CE15%

\Windows\Fonts

%CE16%

Not Used

%CE17%

\Windows\Start Menu

%CE18%

Not Used

%CE19%

Not Used
​
[Windows Mobile Software Development] JimSmith94:
Thanks for the Cab Manager link. :) If I read this correctly, I can edit _setup.xml, find the line like:

- <characteristic type="%CE2%" translation="install">

and change "%CE2%" to "\Storage Card\%CE2%". Is this correct?
[Windows Mobile Software Development] fredcatsmommy:
I must be doing something wrong; when I go to drop the cab into the app. for it to extract, nothing happens.
[Windows Mobile Software Development] Sleuth255:
%CE#% is just a shorthand way for writing the paths they represent.

@all: I have a new SDAutoRun on deck that will automatically correct SDConfig.txt formatting errors. It will also only pass lines containing a ':' to autorun so you will be able to add blank lines and comments too. It's going to public beta tomorrow. I will in-line upgrade my ROMs shortly after its proven that there are no errors (my programs never have errors.... they merely exhibit "undocumented features") ;)
[Windows Mobile Software Development] digitallsin:
PocketPC Installer Professional

forgive my ignorance:o but would this program do the same thing that you guys trying to achieve? http://www.pocketpctoolkit.com/WhatIsIt1_PPCInstaller.php
[Windows Mobile Software Development] whaut:
I hate to do this, but I have been trying to get my SDConfig.txt to run on DCD's new 3.0.0 ROM for two hours now - I've read this entire thread and cannot figure out why this is not running.

File is SDConfig.txt, saved in notepad, ANSI format. File is stored at root of storage card, full path is \Storage Card\SDConfig.txt

All spaces and tabs have been removed from end of lines, only character is a newline (verified with textpad, \n is only character at end of each line). Command spacing is good (space after three letter commands, no space after four letter commands).

Just flashed DCD's ROM for the 11th time this morning - after initial setup, I get no prompts or indications that anything is running.

I've attached my SDConfig.txt file - if I missed something obvious I am truly sorry, I don't normally post but I cannot figure this one out.
[Windows Mobile Software Development] Sleuth255:
your config file looks good to me. On DCD's ROM, look for a config.txt in \windows. Does it contain the line: EXEC: \windows\SDAutoRun.exe? If so, is there an SDAutoRun.exe in \windows? If yes, when you reset, did you see the "Customization will begin in 3 seconds" dialog box? If yes, did you let that customization run?
[Windows Mobile Software Development] booda:
For the most part, yes - but for $74.99 more than UC costs. ;)
[Windows Mobile Software Development] whaut:
Sleuth - thanks for the input.

I checked my phone, there is NOT a config.txt in the windows dir, nor is there a SDAutoRun.exe. That would probably explain why I'm not seeing the customization prompt, and why UC isn't working for me.

I'll post in the DCD rom thread, see if I can get more info there.

Thank you again for your help!!! Much appreciated!
[Windows Mobile Software Development] Sleuth255:
If a Titan has ExtROM, it might be there instead. Try unhiding it to see if the files are there.
[Windows Mobile Software Development] elgreek84:
DCD mentioned he will be putting in your new beta reease of UC compatibility in his 3.1 version of his kitchen, so if it's not there right now wait for 3.1
[Windows Mobile Software Development] Noonski:
Growing and growing.

And i saw dfereira contemplating integrating UC into a nwe Wizard rom.

I hope your taking this all as compliments Sleuth.

I'll be testing the new 2.0 Tomorow.
[Windows Mobile Software Development] Sleuth255:
I'm hoping I can shorten the first post by showing ROMs that are not UC capable someday ;)

Of course, the real cause for celebration will be the first OEM ROM that shows up with UC in it! :eek: