yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] blazingwolf:
Yep, I have run in to the same problem. I would love to get this cooked in to my ROMs but I'm just not sure how.
[Windows Mobile Development and Hacking General] elrooster:
Thanx it's a handy app.
[Windows Mobile Development and Hacking General] remlle:
ok I have the dump folder and Im not finding a config.txt
[Windows Mobile Development and Hacking General] qq108108108:
French rom for atome life wm6

Hello, when could we expect to see a french rom for xda comet flashable via SD Card? Could someone creat such a rom? Only a genius can do that!!!!:D
[Windows Mobile Development and Hacking General] Red49er:
mr.jcarter over at ppcgeeks explained how to do it:

http://forum.ppcgeeks.com/showpost.php?p=183840&postcount=21
[Windows Mobile Development and Hacking General] no2chem:
i've been looking to add this to my roms, but I need a setting where the program just terminates if there is no config.txt on the sd card, instead of starting and resetting the system.
[Windows Mobile Development and Hacking General] Sleuth255:
It'll leave your device with the phone disabled and a few other issues too.... Is there no RST: Reset statement in your existing config.txt?
[Windows Mobile Development and Hacking General] no2chem:
i've deleted config.txt from extrom, and customization does not run by default. I would prefer customization to only run if config.txt is present on the sd card.
[Windows Mobile Development and Hacking General] blazingwolf:
Thanks for the link.
[Windows Mobile Development and Hacking General] Sleuth255:
I can relate to that... my Hermes ROMs never ran autoconfig either... I'll provide a regvalue in comm in the next version that will also be able to figure out the SD name if it isn't \Storage Card
[Windows Mobile Development and Hacking General] Noonski:
My issue with Autorun not running at a moment was because of a .provxml file in the OEM operators folder that overwrote the registry with the default \Extended_Rom\AutoRun.exe

Value...

This was on an ELF but i think this provxml file exists in many HTC OEM folders.

I allready knew what i was doing wrong but did not have the time to search for it.

And i also now some cooks allready know this.

But hey you now hoe it goes sometimes on threads.

Somewhere along post #1456 a question gets asked for the 20th time ;)
[Windows Mobile Development and Hacking General] CRCinAU:
I'm looking at including this in my ROM - as it's a sweet idea - however, to work in my situation, I would like to have AutoRun.exe on the Extended ROM - as there's no need for it to be taking up space in the \Windows Directory...

Looking at a hex dump of the current exe, it looks like the path for AutoRun.exe is hardcoded at \Windows\AutoRun.exe.

Any chance you can compile a quick version to reference \Extended_ROM\AutoRun.exe ?

I could try hex-editing the current EXE, but not sure how good my luck would be :)

Also, is there a difference between PreAutoRun.exe and AutoRun.exe? I don't have the two to compare side by side at the moment, but if there's no real difference, can you check to see if one exists and not the other? I've always just used preautorun - as it suits my setup better.

ie, look for the exe files in the following:

\Windows\AutoRun.exe

\Windows\PreAutoRun.exe

\Extended_ROM\AutoRun.exe

\Extended_ROM\PreAutoRun.exe

This way it will allow you to cover ~99% of situations out there.
[Windows Mobile Development and Hacking General] Sleuth255:
Good idea! I'll code it to look for AutoRun on \Extended_Rom as well as \windows.

RE: PreAutoRun. Are there devices out there that only have this instead of AutoRun? Does it require the same "RUN" parameter to start?
[Windows Mobile Development and Hacking General] CRCinAU:
I'm not 100% sure... On the Hermes, I use preautorun.exe and preconfig.txt - as I found there were some things that I just couldn't do in config.txt

This means I don't have ANY registry entries for autorun.exe or config.txt. (something else you should make sure works on your app :)).

I already have your sdconfig.exe in my extended ROM now (ready for release 8), I guess I just need to make sure autorun.exe is found there, and hopefully it should all be good from there...

EDIT: You will probably want to check for the AutoRun and AutoRunCFG registry entries as well - as it will fail if these are not present. This will also maximise the number of systems/ROMs it will work on out of the box...
[Windows Mobile Development and Hacking General] wishmaster82:
The storage card is assumed to be \Storage Card\

very good tools. It's possible to modify the exe file to point into "Scheda di memoria" instead of Storage Card in order to work with italian localized ROM ?

Thank you in advance :)
[Windows Mobile Development and Hacking General] Sleuth255:
I've just got to find a WinAPI call that enumerates storage devices and I can locate the storage card by any name...

ITMT, how about a registry entry in HKLM\comm?
[Windows Mobile Development and Hacking General] CRCinAU:
I believe this might already exist in the registry...

What does HKCU\Software\Microsoft\File Explorer\StorageCardPath show for you guys?

If not, maybe one of the following keys:

HKLM\System\StorageManager\Profiles\MMC\Folder

HKLM\System\StorageManager\Profiles\PCMCIA\Folder

HKLM\System\StorageManager\Profiles\SDMemory\Folder

HKLM\System\StorageManager\Profiles\SDMMC\Folder

On my system, they all contain the string "Storage Card".
[Windows Mobile Development and Hacking General] remlle:
I need a way to copy whole directories is there one?
[Windows Mobile Development and Hacking General] Sleuth255:
you could experiment with CPY1: and CPY2: or try writing a filesystem CSP and do it with XML.
[Windows Mobile Development and Hacking General] trjons:
Sleuth,

Excellent ROM as always.

The only thing I haven't found yet is a Comm Manager with the 3G button.

Duttys doesn't seem to work with this ROM.

Anyone have a working one?
[Windows Mobile Development and Hacking General] epimazzo:
Sleuth,

First off, excelent idea and initiative! :D

I'm planning to make my newest one an UC compatible but I came up with these things which I can't figure out:

> SDAutorun runs fine after my previous config.txt has completed the service. But it's been stuck at this point showing the progress for a long time: "running sdautorun.exe..."

Then, after minutes, a series of pop-up messages are shown saying: Aborted file. The file was not found...followed by the path:

\Storage Card\cabs\blablabla.cab :confused:

Assume that all assumptions has been applied. Cabs are on the right place and SDConfig.txt is placed on the SD root with RST replaced for EXEC.

So, I double checked names and didn't find any issues. What am I doing wrong?:rolleyes:

Thanks for any comments!

Rgs,;)
[Windows Mobile Development and Hacking General] Sleuth255:
SDAutorun.exe generated those messages because it was unable to find the cabs on your card to change their attributes to RO. It found SDConfig.txt on the root of your storage card however so it must be a path problem on the CAB: statements themselves.
[Windows Mobile Development and Hacking General] epimazzo:
Sleuth,

Thanks for support me at this time. I did exactly what you said but still didn't make it!:(

I'm writing down all steps I have done:

> Assumptions are ok. All set.

> Checked whether the cabs have changed to RO attribute. Nope. No RO attribute. I then changed it manually. Is it ok do it manually?

> SDAutorun and config.txt are both found in Windows root folder.

> replaced RST for EXEC as mentioned in config.txt

> Checked DUMP folder for both files (config and sdautorun) and they were there.

> I then keep going with the cooking process...

> SDConfig.txt is placed in the root of my SD card as requested. Pointing to \Storage Card\Cabs

By looking into this pic attached, we can realize that SDAutorun first have found the TXT on my SD root place and also started loading it. After you say that could be a path issue, I reorganized my cabs and tried again. Same thing!

Doubts:

I have an OEM operator folder with pre-loaded cabs and customized settings which is the first screen to be loaded, then SDautorun come next. At this point, sdautorun shouldn't be a quick process? I mean, just after finish my customization screen, the message below in the progress bar saying Running SDAutorun.exe takes a long time....

After several minutes, I start getting this error messages one by one until cabs list ends. (SDconfig.txt)

There's also a particular thing from this point. I noticed that after the last error message pops-up, SDConfig.txt is loaded (customization default screen), resetting the device right away.

Sleuth, no clues...really!:confused:
[Windows Mobile Development and Hacking General] Sleuth255:
That's a real funky name for that cab. What happens if you name it something vanilla like \Storage Card\Cabs\AudioBoot.cab ?

If SDAutoRun can't find every cab on the list, it configures up a special file containing "RST: Reset" only and points autorun at it, so the behavior you noticed is by design. This is also what happens if there is no SD card or no SDConfig.txt on the card.

A several minute delay to Abort: message display is very odd.
[Windows Mobile Development and Hacking General] epimazzo:
That's sounds funny!;)

That's also what I thought about funky names and have changed all. See my SDConfig.txt attached. Now, cabs are on the root and still doesn't work. :(

That's a tough one this time...:eek:
[Windows Mobile Development and Hacking General] Noonski:
Try the attached SDconfig.

Somehow i got Tabs in your SD so the one attached is not just Without files with dots.
[Windows Mobile Development and Hacking General] Sleuth255:
Got it! I removed the spaces or tabs after the cab names in your sdconfig.txt file. DL attached & see if that works. ;) I'll get SDAutoRun fixed. I'm not removing spaces/tabs after the filename and it must be screwing up the file lookup.
[Windows Mobile Development and Hacking General] Sleuth255:
damn! sniped by Noonski :)
[Windows Mobile Development and Hacking General] Noonski:
Ghehehehe,

Two Hits is a Confirm?

Right?
[Windows Mobile Development and Hacking General] epimazzo:
Hey Noonski!

Thanks a lot as usual!:D I applied your file and finally got worked! :p I noticed CPY lines. What does it mean actually? Although all cabs has been installed, I got an error message in the end after the last cab stating that PIM.VOL file was not found in \Storage Card\Cabs\PIM.VOL

What should I do with this file or where should I get it?:o

I really appreciate your support! :rolleyes:
[Windows Mobile Development and Hacking General] epimazzo:
Thanks you too Sleuth!

All running smoothly down here....I'll release my Wizard ROM and let you know later so you can add to your list!:cool:
[Windows Mobile Development and Hacking General] Noonski:
The Copy lines are used to copy your pim.vol i posted a preconfigure cab with blank pim.vol.

Basicly when you have your contacts synced on phone you take total commander and go to the device root and copy pim.vol to SD\Cabs\.

Then when use UC autorun it will copy your agenda and contacts to main memory.

You flash and presto your contacts are allready there.

Propably the best trick for me in UC.

No more syncing or Pim Backup.
[Windows Mobile Development and Hacking General] epimazzo:
hummmm.....I see what you mean...great tip!:D

So, all I have to do is basically copy my pim file to \SD\Cabs? But you mentioned Total Commander, right? I don't use it. What I do than?

thanks Noonski:rolleyes:
[Windows Mobile Development and Hacking General] Noonski:
Hmm let me make a cab for Total Commander then Hardcoded to SD install.

Unless you have another powerfull real File Explorer..?

BTW it's not the final version of the cab, i stil need to Fix the icon for the File Explorer.lnk file that will replace the roms's default link to "You cannot copy this file yadda yadda" fexplorer.exe.

But it will help you copy the pim.vol.

http://rapidshare.com/files/93235505/SPCeed_Total_Commander.cab
[Windows Mobile Development and Hacking General] epimazzo:
Thanks Noonski! Really appreciate your efforts!:D

Just clarifying...I install this cab and run it to create a copy of my PIM, right? I then, move to my \Storage Card\Cabs folder so TXT file can find it?

Is that right?

BTW, I use Resco Explorer as my default file explorer most times!
[Windows Mobile Development and Hacking General] epimazzo:
Noonksi,

Think I got the idea....:p I'll try and post results later on...:cool:
[Windows Mobile Development and Hacking General] Noonski:
Is Resco Free?

BTW i just made another Storagecard Path Coded cab.

SPCeed HTC NetWorkWizard 1.1

It will run in auto detect mode after Restart.

And it wil keep on running in Auto Run Mode from SD, if cooks would cook the attached Package into their ROM.

Also if more people would contribute to the Network Wizard Provisioning Post

We'd have a more complete Network wizard instead of just an Asia, US or Europe one or one that misses some providers.

In a way i would also like to see a standard for the way i'd like to flash.

Flash Rom and have ALL my needed apps (Many) available and working from Storage card.

It's for Network wizard and it will run in Autoconfig mode after a restart.

I make these cabs so they are compatible with my up coming ROM.

So you don't need network wizard in rom but it will still run after flashing from storage card.

I like going through headaches to get rid of them.

That's why i really like Sleuths Aproach.

Yes there are other ways to do it. But it's better If there's a clear standard.

Cab uploading...
[Windows Mobile Development and Hacking General] Sleuth255:
Nice trick pim.vol trick Noonski :)
[Windows Mobile Development and Hacking General] Noonski:
Actually the idea came from dan1967	in Post 35 in the Users thread for UC he also posted the rgu to xml tool.

You allready have a link to it ghehehe.

But i still haven't tested copying a whole directory yet.
[Windows Mobile Development and Hacking General] dan1967:
Thanks Noonski.

I have another small trick some might find useful (I posted it elsewhere, but here may be useful as well)

- having a blank file called "welcome.not" on the root of the Storage Card skips much of boot process after HR (time set, calibration, email setup, whatever depending on WM version).

- calibration is solved with a backup of the regs calibration (HKLM\HARDWARE\DEVICEMAP\TOUCH) data put in a cab that is launched during autoconfig.

cheers.
[Windows Mobile Development and Hacking General] edsub:
I just discovered this thread.

I think things can even be easier for at least some devices, and make UC available for all:

Edit the Ext ROM (image, this is device specific)

- add the SDAutorun.exe to the EXT ROM

- Add a line (before the RST: line) to config.txt that installs a cab which relaxes the security as described above (device specific, you can make your own)

- Replace the "RST: Reset" line in config.txt with "EXEC: SDAutoRun.exe"

Be aware however that hard resetting without SD card or without SDConfig.txt does not reset your device after the UC!
[Windows Mobile Development and Hacking General] Sleuth255:
I was so excited about the reg tool that I missed that other gem you posted. Sorry!
[Windows Mobile Development and Hacking General] lokmeup:
OEM Package

Not sure if this has already been done, but I just completed a small OEM package to use with the Kaiser Kitchen Kit. It is easy to use as a simple base for your custom auto config setups.

Ron
[Windows Mobile Development and Hacking General] Sleuth255:
hmmm... wonder why that would be :confused: What SDAutoRun is supposed to do in the situation you describe is make its own SDConfig.txt in \windows, set up the hklm\comm key to point autorun there, then execute AutoRun. In the case you describe, does SDConfig.txt get created in \windows? If so, it should contain one line:

RST: Reset.
[Windows Mobile Development and Hacking General] Sleuth255:
Nicely done! Linked in post 1 now.
[Windows Mobile Development and Hacking General] Noonski:
For Elf and OEm is a bit useless as boot.rgu needs to be edited (depending on the kitchen you are using)

as for the welcome not Damn another fine trick going to try that out after getting the required keys.

For now let's test the new BT status released earlier today.
[Windows Mobile Development and Hacking General] Sleuth255:
yeah, kaiser specific was noted on pg 1 but linked b/c I thought others could easily edit components for other devicestoo.
[Windows Mobile Development and Hacking General] l3v5y:
For some strange reason, SDAutoRun loads, runs but then does not reset the device at all. Everything else works fine on my prophet except the reset.
[Windows Mobile Development and Hacking General] Sleuth255:
attach your SDConfig.txt I3v5y, & I'll take a look at it.
[Windows Mobile Development and Hacking General] Dc_striker:
Never mind findo ut the problem
[Windows Mobile Development and Hacking General] l3v5y:
Here. Although for some strange reason it's now giving an 'AutoRun cannot load... Maybe it is not signed...' Error, which it hasn't done before. It still appears to run, but doesn't install Cabs. Although it does reset now!

Edit: after a reflash, so security error, but still no reseting...
[Windows Mobile Development and Hacking General] Sleuth255:
Looks like SDConfig.txt is missing a final newline character. Try this one & let me know if it works.
[Windows Mobile Development and Hacking General] l3v5y:
Just testing now.

Edit: Still doesn't reset.
[Windows Mobile Development and Hacking General] Sleuth255:
One more thought: change the line to "RST:Reset" (no space between : and R in reset).

The command should be working if AutoRun is being executed. I've created a block logic layout for SDAutoRun in the user thread that might help you understand what's going on. That post is located here.

You can use this to help debug.
[Windows Mobile Development and Hacking General] l3v5y:
Doesn't work... I think it may be something to do with the ROM/Cab combination rather than with UC...

Without the SD card it resets normally, with the sd card IT RESETS! it just takes about 10 minutes and doesn't always work...
[Windows Mobile Development and Hacking General] Sleuth255:
I think it something to do with the cab. Are you sure cab doesn't stop and ask for something? enclose with HIDE: to see.

Look at my block logic to see why I think this. Another test: pull the cab statement and see if it resets quickly.
[Windows Mobile Development and Hacking General] l3v5y:
I have tried different cabs. I'm just trying the reset only route: it doesn't work.

I think the problem is here: execute \windows\AutoRun.exe
[Windows Mobile Development and Hacking General] gullum:
I've been trying too to make my next Prophet rom UC but no luck. it starts but never ends.. I tried putting it on my sd card and run I get an error message that it's not signed. I did the same on my kaiser and it runs and installs the cab in sdconfig.
[Windows Mobile Development and Hacking General] Sleuth255:
Yeah, it really needs to be signed. The registry technique I quote to relax security might not work on all devices. Unfortunately, I don't have a valid M2M cert for codesigning (yet).
[Windows Mobile Development and Hacking General] ogxjason15:
Anyway to Install Opera Mini 4 like this?
[Windows Mobile Development and Hacking General] dan1967:
There is a way. I use jbed and after installing opera mini I backup the s0_ (or s1_) files from \windows\Appdb that you can later copy back from your backup location or from a pre-made cab.
[Windows Mobile Development and Hacking General] ghettofreeryder:
Hi, In the instructions, it says replace RST: in config.txt with te text, however, I dont have a config_pt.exe. I have a config_operator.txt. Also, in the said config_operator, it is making a call to config_PT.txt, which is also missing. Any ideas?
[Windows Mobile Development and Hacking General] Sleuth255:
The RST: Reset command will be in the last config file in the chain. On a Kaiser, this is config.txt. Just follow the chain until you find it.
[Windows Mobile Development and Hacking General] FastRX8:
Awesome work. I installed a rom that supports UC, and it works great.

Now I want to switch to another rom, and I have a question.

Is there any way to run UC on a non-UC rom?

I have a rom that I'd like to use, but the ROM Chef does not have UC included.

Can I just copy certain files over and manually run it to start the UC process?

When I had the Apache, I could go to the Ext_Rom and select Autorun.exe to start the installation.

The rom I have now, does support UC, and it worked fine after the hard-reset.

But, after the device is up and running if I want to re-run the UC, it does not work.

I go to \Windows and try to run "AutoRun.exe" or "SDAutoRun.exe", nothing happens.

Hopefully, we can get more Chef's out there including this into their rom's.

Thanks.
[Windows Mobile Development and Hacking General] l3v5y:
As far as I can tell, the only way to do this is to re-cook the ROM with UC included.
[Windows Mobile Development and Hacking General] Sleuth255:
I'd post the request in the chef's support thread and include a link to post 1 of this thread.
[Windows Mobile Development and Hacking General] its right:
really useful tool bro, definitly it will be added to all coming TNT series (Wizard and Hermes):D

could i have AutoRun.exe that worked with this tool!!
[Windows Mobile Development and Hacking General] its right:
no need, i found one working, i suggest to you to add a note to the first post about some of AutoRun.exe files don't support the tool (i'm sure about that).

the non compatible AutoRun.exe files loading SDConfig.txt without reading it at all, all my files (txt and exe) are the same i just played with AutoRun.exe versions till i got the compatible one.

good luck and thanks again for this great tool.

keep it up
[Windows Mobile Development and Hacking General] varanusvincent:
Dear Moderator.. Would you like to add my ROM here too..

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

and

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

For Prophet and UC Capable..
[Windows Mobile Development and Hacking General] Sleuth255:
Thanks for confirming my AutoRun suspicions. I'll include the Kaiser version on post 1.
[Windows Mobile Development and Hacking General] Thoughtscape:
How to cook? Veery basic directions needed

Hi guys,

I have an HTC Universal WM6 [Jwrightmcps Crossbow ROM Update 2_12_08 WWE] and it is great except for one or two apps I want to delete and some I want to add.

I want to be able to do a hard restart anywhere I am and have it automatically install all my previous settings, etc. The settings at this stage are not important, just the files.

I have looked here http://xdaforums.com/showpost.php?p=1900610&postcount=19 for loading cabs that require user input.

So can anyone show me from basics [!!!] just how to "cook something into, say /windows" etc. as per instructions for sdautorun.exe...

Cheers,

Thoughtscape
[Windows Mobile Development and Hacking General] c_shekhar:
Hi sleuth!

I prepared the customization xml but it gives error when opened in xmlnotepad. Cant figure out how to remove error.

Registry entry :

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Today\Items\"Calendar"]
"Order"=dword:0000000a

and xml entry after converting it using rgu-2-xml.exe available on this thread it becomes:-

<characteristic type="HKLM\SOFTWARE\Microsoft\Today\Items\"Calendar"" translation="filesystem">
<parm name="Order" datatype="integer" value="10"/>

and when I open it with xmlnotepad it gives error about white space missing.

Where am I wrong?