yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] lennysh:
Request for Axim's

Could you add the following as a search path for SDConfig.txt or if you want, CFConfig.txt ?

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\PCMCIA]
"Folder"="CF Card"
"Name"="PCMCIA/Compact Flash Device"

I have the Axim X51v, and I've made a UC ROM (located here), and will continue to make all of them UC. As you may know, the Axim has both SD Card, and CF Card. But as of right now, we have to put the config on the SD Card, and make it point to the CF Card if we want it to use files from that card. If you could add that path as a search path, then we could choose which card we wanted config on. Main reasoning for this is, we can only flash custom ROMs using the SD Card, and it's best to format the SD Card every so often to prevent flashing errors. So in my opinion, it's best to have the config on the CF Card, and I don't want to make the config.txt in \Windows point to CF Card because I want it to be up to the user as to which card it points to since the CF Card slot can be used for much more than just storage.

So if you don't mind, make it search SD Card first, and if nothing is found, and the PCMCIA key exist's in the registry, then search there also. If The reg key is not found, or there is no config file located there, then soft reset. That way if we want to use the config on CF Card, we'd just have to make sure the SD Card does not have a SDConfig.txt on it.

If you do decide to do this, let me know if you look for SDConfig.txt or CFConfig.txt on the CF Card.
[Windows Mobile Development and Hacking General] Ameet:
this is a great idea of standardisation.. i cook my own roms and keep flashing up everytime.. this will give me or users of my roms the bility to restore certain settings (which i find very boring everytime i flash) :D that pretty cool.. but someone please tell me, even if i cook the sdautorun and autorun files in my roms, wont i need any kind of reg entries that will help to run these files first time after the first flash? coz i think creating a shortcut in startup folder would run these files everytime the device is rebooted.. suggestions and guidance appreciated :) thanx sleuth and others too
[Windows Mobile Development and Hacking General] l3v5y:
If you have Autorun working, you need to change nothing except the last line of the config.txt file...

If you haven't, you need to add CheckAutoRun.exe and create a link to that under startup, some reg entries pointing to where AutoRun.exe is and to where the config.txt file is.

I'll find the exact locations now...
[Windows Mobile Development and Hacking General] Ameet:
Actually the problem is, I removed the CheckAutoRun.exe from OEMAPPS the day I stopped using ExtROMs from my cookings.. So I dont have any config.txt file created in my dump folder. Can you guide me a bit on to get this package back and what entries to add in which rgu so that even I can make my ROMs UC capable? That will be great help
[Windows Mobile Development and Hacking General] l3v5y:
I've just made an OEM Pack for this. However, XDA-devs isn't letting me upload anything here. I'll upload it somewhere!

EDIT: download it here: http://cid-cddbf77985693632.skydrive.live.com/self.aspx/XDA files/Packages/SDAutoRun OEM.zip
[Windows Mobile Development and Hacking General] Ameet:
cool thanks a million brother.. so now with this oem pack in my rom, users of my rom and me, we can anytime put cabs in sd card with the sdconfig.txt file and reboot.. and it will install the cabs automatically and reset right? pretty cool.. my next rom is gonna be uc capable thanx to u brother :D
[Windows Mobile Development and Hacking General] l3v5y:
Should do. I haven't had the opportunity to fully test the pack, so make sure it works first and if it doesn't I'll rebuild it, but in theory it should work.
[Windows Mobile Development and Hacking General] Ameet:
Hey Sleuth. Your program and standardisation works like a CHARM :cool: in my ROM.. Amazing work brother.. PMed you with the link to my thread, hope you'll consider posting it in your ROM links ;)
[Windows Mobile Development and Hacking General] demo05:
hi there, can i use it for add italian language for my wm6.1 asus p535? thanks
[Windows Mobile Development and Hacking General] Sleuth255:
I've been buried lately but will keep this in mind for the next release. Nice to see the Axim community is finding use for this too :)
[Windows Mobile Development and Hacking General] l3v5y:
I've got a couple of ideas for UC/SDAutoRun...

1) Uses the location of AutoRun.exe as specified in the registry (HKLM\COMM AutoRunPath)

2) Checks if the last line of the SDConfig.txt file is a RST:RESET line, and if not creates one.

3) Checks commands themselves, and only puts CAB, XML etc lines into the newly created SDConfig.txt file in \Windows

4) Checks if line begins with a character maybe "#" or something and if it does, that line gets ignored.

5) SDAutoRun looks for a "ChefConfig" file on the storage card, and if not found continues as normal. If it is found, runs through that file, which then calls SDAutoRun again, but this time, it only looks for the SDConfig.txt file

Anyway... This is already an incredible useful tool, I'm just thinking of ways it could be expanded!
[Windows Mobile Development and Hacking General] hawkeyexp:
Problems with cooked WM6.1-ROM

Hi,

i have cooked a rom with wm6.1 for artemis after i have successfully cooked a rom based on wm6.0.

Sdautorun workes on the wm6.0-rom perfectly. but on the wm6.1 i have some trouble with the same autorun.exe sdautorun.exe and sdconfig.txt on storage card.

it will normally start the sdautorun.exe and it shows loading sdconfig.txt but then it only reset the device and diddnt install the cabs which are listet in the sdconfig.txt. It should be a problem in the new rom but i didnt find errors.

here are the reginfos etc: (same as in wm6.0-rom):

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]

"Folder"="Storage Card"

[HKEY_LOCAL_MACHINE\Comm]

"AutoRun"="\windows\autorun.exe"

"AutoRunCFG"="\windows\config.txt"

config.txt (located in \windows)

LOCK:Enabled

CAB: \Windows\DisableSecurity.cab

EXEC:\Windows\SDAutorun.exe

SDConfig.txt (located on storage card)

CAB: \Storage Card\Cabs\H_Besitzer.cab

CAB: \Storage Card\Cabs\H_Adobe_Reader_LE2.cab

CAB:\Storage Card\Cabs\H_OperaBrowser_Settings.cab

CAB:\Storage Card\Cabs\H_Quickdial.cab

CAB: \Storage Card\Cabs\H_MSVC_EN_1.6.19209.cab

CAB: \Storage Card\Cabs\H_SKTools.CAB

CAB: \Storage Card\Cabs\H_SKTools_de.CAB

CAB: \Storage Card\Cabs\H_SkTools_Settings.cab

CAB: \Storage Card\Cabs\H_Paint.cab

CPY1:\Storage Card\pim.vol

CPY2:\pim.vol

LOCK:Disabled

RST:Reset

The Regsettings and files are the same as in the wm6.0 rom i cooked before and there it works without errors...

Has anybody an idea ?

Thx Hawkeye
[Windows Mobile Development and Hacking General] l3v5y:
Is it the PIM.vol? I'd try and copy that first, and then run the cabs...
[Windows Mobile Development and Hacking General] c_shekhar:
Are these command working with SDAutorun? Can anybody confirm?
[Windows Mobile Development and Hacking General] l3v5y:
Should be.... SDAutoRun just checks the formatting, and then calls AutoRun.exe to do the installing...
[Windows Mobile Development and Hacking General] deadbanana0717:
SDautorun wont run!

ive read all 20 pages, and none of these seem to work for me

HTC hermes

im using bepe's kitchen

WM build 18128.0.4.4

and i cannot get the UC to work at all =\ 3rd day in a row T_T
[Windows Mobile Development and Hacking General] boinger66:
Can we make this Diamond compatible ?

make sdconfig search in internal storage ?

my guess is it would be something similar to the CF card solution

moviNAND profile

"Folder"="Internal Storage"
[Windows Mobile Development and Hacking General] l3v5y:
Does it start?

If not, try reseting the flags under HKLM\COMM, namely "SDAutoRunFlag" and "AutoRunFlag"
[Windows Mobile Development and Hacking General] spocky12:
I've got the exact same problem as hawkeyexp : I've managed to have sdautorun launching (using l3v5y oem package, thanks to him btw), but all it does is resetting wm6 :(

And if I check windows\config.txt file generated by sdautorun, of course, there's only one line: RST: reset.

I think my sdconfig.txt file is correct (I've tried generating it by hand or with sdconfig builder 0.7). I've checked it's not saved as unicode...

LOCK:Enabled
CAB: \Carte de stockage\Cabs\S2P-0.40-WM5.cab
CAB: \Carte de stockage\Cabs\S2V-0.38-WM5.cab
CAB: \Carte de stockage\Cabs\SRS_WOWHD_ARM.cab
LOCK:Disabled
RST: Reset

Any idea, please ?

Could it be the fact that I have .net3.5 instead of 2.0 ?

I've seen that uc 2.0 detects automatically sd card name. Do I have to use a special string instead of "Carte de stockage" to have it working ?
[Windows Mobile Development and Hacking General] spocky12:
Ok, it seems it has someting to do with SDAutorun 2.0 : I replaced it with old one and everything is fine.

Sleuth255, do you have an idea why ?
[Windows Mobile Development and Hacking General] paladin77:
Anyway of making it work with non UC rom

Greaaaaaaaaaat job !! pure genius...

One question: can i make this run on a non UC rom... i.e. suppose i have the cabs all in one folder (like simonkjam style packs), and configured sdconfig.txt in storage card. How can i make the wizard run the customization? i love the current rom and i don't want to flash/hard-reset.

I am asking for too much, i know.

But is it possible ??
[Windows Mobile Development and Hacking General] Sleuth255:
checking...
[Windows Mobile Development and Hacking General] Noonski:
I can patch something up for you tomorrow.

Not the time to make it now.

And then you can test it out.

The attached file still need to Write the correct registry paths for the placement of the regular autorun and config.txt files

Maybe someone else where time isn't past midnight can take a look.
[Windows Mobile Development and Hacking General] SamuelTee:
Any news on that "just-reset" problem? Can't get it working either.
[Windows Mobile Development and Hacking General] raykisi:
Sorry, i m new here, just wondering is the UC only capable to install app in device memory? or it could also be config to install app in SD card memory as well?

I no it sounds like a noob question, but i tried search but can't find a gd defined ans.
[Windows Mobile Development and Hacking General] l3v5y:
Cabs will install to device memory by default, but you can modify this.

UC will install the cab to device memory, unless specified otherwise in the cab.
[Windows Mobile Development and Hacking General] raykisi:
So wht you mean is, if i want to install app on SD memory using UC, i hv to build cab that specifiy the installing location to SD memory?

If it is true then for most of the other 3rd party apps, it will still install on device memory by default is it?

Or i could choose the installing location by modifiying the SDConfig.txt?
[Windows Mobile Development and Hacking General] l3v5y:
Third party apps will (almost) all install to the device memory. You'll have to edit the cabs to change that.
[Windows Mobile Development and Hacking General] NotATreoFan:
I've just succeeded in cooking my first ROM (cheers), and I want to add UC to it. Just to confirm this one final time, since I'm a bit paranoid at the moment, after cooking this package in with the Kaiser Kitchen the same way I cook in my other apps, UC should run?

Or will I still need to edit the registry and play with security settings?
[Windows Mobile Development and Hacking General] l3v5y:
You'll need to add "EXEC:\Windows\sdautorun.exe" in place of "RST:RESET" in the config.txt (it'll be in one of the OEM packs, though not sure where...)
[Windows Mobile Development and Hacking General] Noonski:
Congrats and welcome NATF,

It's always best to loosen the security settings.

It's quite an easy package to ad in case you don't have it.

But you probably have enough information collected since back in the days of the NBD rom's (yeah i know just a year and a half).

Cheerz

Most of the time it's in OEMOPERATORS folder.

Now i'm not familiar with the Kaiser and if the Ext rom can be removed.

But if it's removed also check the boot.rgu in the XIP to point to the correct where abouts of the config.txt and autorun.exe

Of Topic, Sorry L3v5y won't be able to test your next Pro Rom's for a little while.
[Windows Mobile Development and Hacking General] NotATreoFan:
I downloaded the OEM package listed earlier, but I cannot cook it into my ROM without an error message popping up towards the end.

Using the Kaiser Kitchen, I follow the prompts to launch BuildOS+Package_Tools-2.7, and it detects the UC Package after I load my ROM into the program.

When I click GO, everything runs great until the very end, when I get the error message shown in the attached screenshot. All 3 of my PC's generate the same error (Vista x64 desktop, XP 32-bit desktop, and XP 32-bit laptop)

If I build the ROM without using any packages, I do not get the error.

Also, regarding editing the registry to relax the security settings, I found the key "" under [HKEY_LOCAL_MACHINE\Security\Policies\Policies], but the DWORD was already set to "1". Is it supposed to be "0"?

...I'm definitely back to n00b status when it comes to cooking... :o

-Edit-

Alright, fixed that issue. The RGU has some weird spacing, and once I shifted stuff around, BuildOS no longer errors out upon building.

However, now, for some reason, my ROM freezes after running the initial customization and does not reboot. The AT&T tsk file is also not enabling, so maybe the package is preventing the Operator Customization from running ??
[Windows Mobile Development and Hacking General] NotATreoFan:
Took care of the error myself. I had an RGU file all messed up.

I'm still having issues getting UC to run on flash, so any input on that would be greatly appreciated.
[Windows Mobile Development and Hacking General] GriFolle:
Excuse me if this is an old answered question, but I have to ask...

Is the last one version able to recognize the "Internal Storage" diamond's card as path where to search for the SDConfig.txt file?

Because I'm trying to cook it into my rom (putted the SDAutorun.exe into OEMAPPS and replaced the RST: line into config.txt of the Extendedpkg folder with EXEC:....). It seems ok for the execution of the file because at first boot I can see (in the progress bar) that the device run it...but nothing appens! As it can't recognize my SDConfig.txt or my .CABs...
[Windows Mobile Development and Hacking General] GriFolle:
Autoquoting...:o
[Windows Mobile Development and Hacking General] kleptodathief:
im lamans terms, this makes its possible to auto run progs on the sdmmc?? i still don't get this app lol
[Windows Mobile Development and Hacking General] joemanb:
I had a heck of a time finding a 'checkautorun.exe' that works with this version of 'AutoRun.exe', so I'm uploading it to save anyone else the same frustration.
[Windows Mobile Development and Hacking General] mrvanx:
Hey boys & girlsw, not sure if this has been addressed (dont think i saw this anywhere in the thread) , ive cooked 2.0 into a raphael ROm and replaced RST with the line to execture SDAutorun. When it comes to that point there seems to be a long loop of Autorun and SDAutorun over and over again? Eventually it reaches "Device Reset" and reboots the device but is this anything I can remedy?
[Windows Mobile Development and Hacking General] Unchained:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
"Folder"="Interner Speicher"

Change this to "Internal Storage"
[Windows Mobile Development and Hacking General] JNasty:
SD config

I know this is probably the wrong forum but since it is being discussed at the moment, I'll ask:

can I change CAB: \Storage Card\file.cab to CAB: \Storage Card\Cab_Install\file.cab?

Will SDautorun still pick that up?
[Windows Mobile Development and Hacking General] l3v5y:
That should be fine!

I have some with installers like:

XML: \Storage Card\Cabs\Provisioning\email\Gmail.XML

and they work fine, so what you want to do should be okay.
[Windows Mobile Development and Hacking General] elparra72:
SDAutoRun Diamond compatible

Thanks Sleuth255 !!!!!!!

Well, I detected SDAutoRun fails in diamond. After a lot of tests I found Diamond uses the registry key 'mobiNAND' and SDAutoRun uses 'SDMemory'. Then I edited the .exe with a hex editor and modified the string in it. In my tests this tool has been working really well and I think it should works in any Diamond language ROM. I'm using and Spanish ROM ;-)

http://www.megaupload.com/?d=SUYMR923

NOTE: This version is for DIAMOND or devices with internal storage ONLY

Regards to everybody.

#################

Bueno, os presento un SDAutoRun modificado para que funcione en nuestras cocinas. Después de multitud de pruebas y horas, me di cuenta que por defecto esta buena herramienta se basaba en el valor de una clave de registro que se llama 'SDMemory' (muy utilizado casi todos los modelos de WM) en lugar de 'moviNAND' que utiliza la Diamond. Lógicamente lo primero que intenté es fue modificarl en el registro el valor del 'Folder' en 'SDMemory', pero después de encontrarme infinidad de problemas y viendo que esta solución es poco portable a otras ROMS, decidí coger un editor hexadecimal y modificar manualmente la cadena en el ejecutable (A la antigua usanza). El resultado es que este fichero modificado puede ser portado a cualquier ROM de cualquier idioma (teóricamente). También mandé ayer un MP a Sleuth255, autor de la versión original, el cual muy amablemente me ha animado a publicarlo. En realidad todo el mérito es de él, yo solo he aprovechado su trabajo para adaptarlo a nuestras máquinas

En fin, a descargar el RAR y a meterlos en las cocinas.

http://www.megaupload.com/?d=TDCV70A7

Esta versión es exactamente igual a la anterior, pero en el RAR he creado la carpeta Almacenamiento Interno para que quede más claro aún donde colocar los archivos. Supongo que así se les facilitarán las cosas a muchos.

Un saludo a todos y espero que os sea útil
[Windows Mobile Development and Hacking General] chevy454:
is this similar to SASHIMI?
[Windows Mobile Development and Hacking General] Unchained:
http://xdaforums.com/showpost.php?p=2708911&postcount=219
[Windows Mobile Development and Hacking General] merten3000:
I have a new problem...

I have a kaiser for a long time and I use UC for a long time without any problems. After each flash UC would kick in and do his thing.

I never changed a thing but after a recent flash I noticed that my pim.vol was not copied anymore..

Normally I use the cpy1 cpy2 command to replace the original pim.vol with my backup one from my storage card. It always worked before. I did not change the sdconfig file...So ????? All other stuff is done by UC (cabs, xml's) without problems. Only pim.vol is not copied anymore....

Suggestions?
[Windows Mobile Development and Hacking General] l3v5y:
Does the new Autorun in the Touch Pro support CPY commands?
[Windows Mobile Development and Hacking General] merten3000:
Don't know....I'm deployed with for the military and I did not bring my new TP. I have my kaiser with me...

But the problem is getting weirder by the minute:

I spent my whole afternone flashing different roms. Finally I flashed a custom-made one (by myself) which did not had the copy pim.vol problem (still did not change a thing on the storage card). I thought the problem was solved, but....after 10 minutes the device froze. Could not even soft-reset. So I hard reset it..and guess what...PIM.VOL WAS NOT COPIED AGAIN!! I even reflashed the exact same rom whith hard-reset before and after the flashing. But untill now no movement on the pim.vol.

I'm getting really crazy over here, whaaaahhhh!!!!:eek: :eek: :eek:
[Windows Mobile Development and Hacking General] elparra72:
Yes Unchained, but my modified version doesn't need to 'touch' registry ;-)

That means less troubles creating coocking ROMs for Diamond. Just copy files and cook!
[Windows Mobile Development and Hacking General] iTnkD4iAm:
Thank you Sleuth255 for sharing this handy program for automating installation :)

I have a question however. I've recently added this program to my custom Omnia ROM and I can see it being run after a fresh flash/hard reset. My question is since the Omnia also has an internal storage (\My Storage\) would SDAutorun look for SDConfig.txt there too or does this strictly work with the removable media?
[Windows Mobile Development and Hacking General] NotATreoFan:
Read up a few posts. You will need to hex edit the SDAutoRun.exe and change "Storage Card" to "My Storage".
[Windows Mobile Development and Hacking General] iTnkD4iAm:
Thanks, NotATreoFan :) I guess that means it's either the Storage Card or My Storage but not both (for now ;) )
[Windows Mobile Development and Hacking General] zeheres:
I can't cook the *.exe files into /Windows but put them there. Will this be okay as well? And I don't even know if the ROM I use is UC capable. It's OpenTouch V7.7 Manilla 2D.

Cheers
[Windows Mobile Development and Hacking General] Iced Coffee:
Can we put SDAutorun on Storage Card to ínstall my favorite softwares while also using ROM cooked by another people with SDAutorun built in already? Or is there any way I can put something like that on Storage card? Thanks.
[Windows Mobile Development and Hacking General] l3v5y:
SDAutoRun can only be cooked in. You need to put the SDConfig.txt file on your storage card.

If the ROM is UC enabled, you need do nothing, and if it's not UC enabled the only thing you can do is recook it.

Check out the users thread rather than the chefs thread (I think it should be linked in the first post).
[Windows Mobile Development and Hacking General] Sleuth255:
Finally, I can come up for air :)

Does anyone what to get started on the wish list for the next iteration of UC?
[Windows Mobile Development and Hacking General] black-DraGon82:
hi friends,

i have a problem with uc...

ive an omnia and ive coocked in uc but the problem is if i put in the autostart folder it began to install my cab but after any secs. the hardreset after the rom init cancel the installing uc and restart my device... after that i cant start uc and no app is installed... clearly because windows restarts my device before the uc install any app.

any ideas?
[Windows Mobile Development and Hacking General] Noonski:
Autostart folder?

What does the Omnia have under

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]

"Folder"="Storage Card"

?

And what is the operator config file named under:

[HKEY_LOCAL_MACHINE\Comm]

"AutoRunType"=dword:00000001

"AutoRunCFG"="\\windows\\config_operator.txt"

?

Or do you have an internal storage Flashdisc?

Whish list, what's wrong with UC Autorun ;)
[Windows Mobile Development and Hacking General] black-DraGon82:
1. yes

2. [HKEY_LOCAL_MACHINE\Comm]

there are just two files... 1. BootCount Data 00000002 and AutoRunFlag Data 00000001

3. i have both but the config.txt and uc dir is on storage card
[Windows Mobile Development and Hacking General] Noonski:
Okay so there's no registry setting to the Autorun config file.

I'm really fumbling in the dark here covering my bases, as i don't know anything about the Omnia structure. But at first glance these settings should point to The Omnia not having an Autorun.exe, or if it's there its missing the registry reference to the config file.

And if i understood Sleuths early posts SDAutorun actually uses Autorun.exe to process the commands.

Check if there's an Autorun.exe in the Rom, if not borrow one.

And then add:

[HKEY_LOCAL_MACHINE\Comm]

"AutoRunType"=dword:00000001

"AutoRunCFG"="\\windows\\config_operator.txt"

"AutoRun"="\\Windows\\autorun.exe"

To the registry.

And make sure you set up the config_operator.txt

Correctly to start SD Autorun.

LOCK:Enabled

TSK: \WINDOWS\HTC Black.tsk

CAB: \Windows\Opera9_Build_2392_VGA_WWE.cab

EXEC:\Windows\RFO.mscr

LOCK:Disabled

EXEC:\Windows\SDAutoRun.exe