yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] black-DraGon82:
thats my in my rgu, reg.

REGEDIT4

[HKEY_LOCAL_MACHINE\Comm]
"AutoRunType"=dword:00000001
"TurnRadioFlag"=dword:0

"AutoRunCFG"="\\Windows\\config.txt"

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

thats in my flashfiles.dat

Directory("\Windows\AutoStart"):-File("CheckAutoRun.lnk","\Windows\CheckAutoRun.lnk")

and it wont work... or it work but on the wrong time...

if i flash my omnia it starts, uc began to run, the cab began to install and after a few seconds the preconfig reboot shut the omnia down... clear that my applications arnt installed...
[Windows Mobile Development and Hacking General] black-DraGon82:
no one?

ive just the problem that my handy reboots to fast... how to stop preconfigreboot or how to change starttime of autorun? that it starts after preconfigreboot?
[Windows Mobile Development and Hacking General] black-DraGon82:
ok i found the problem... on omnia the uc starts correctly with welcomecenter... is it possible to change that to dataconnection??? that will be great...
[Windows Mobile Development and Hacking General] black-DraGon82:
hi frinds,

is it possible to ad serials, userinformations and wlan keys at the uc process???
[Windows Mobile Development and Hacking General] Sleuth255:
What? You don't like my run-autorun-again method? ;)

My daddy always told me not to re-invent the wheel....
[Windows Mobile Development and Hacking General] BnYmN:
I tried everything but it won't work. The UC runs and it shows that it installs the cabs but it doesn't install them actually. Do you know how to fix that?

Finally I solved this problem by adding a new line in the SDConfig.txt
[Windows Mobile Development and Hacking General] Noonski:
Why then not edit your OEMLANG & OEMDRIVERS RGU files, by changing the Storage Card Values To what is shown beneath.

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]

"Name"="SD Memory Card"

"Folder"="Internal storage"

Hexing the old SDAutorun is a bit pointless as now you have set it to check Your variation of how Storage Card is called in your Reg.

Sleuth Fixed this in V2,

SDAutorun looks at the registry value:

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]

To determine where to look for the SDconfig.txt

I will add this to the first post.

(forgive Me Sleuth for i Have Skinned)
[Windows Mobile Development and Hacking General] donzx6:
Guys, I've been playing around with UC for ages (in little bits) and am now investing the time in provisioning XML etc.

One scenario (might be unlikely) is that if I flash a rom which isn't UC compliant......

What do I do?

Is there a way I can "force" SDAutorun to run...

I'm thinking...

Flash the non UC compliant rom....

Copy SDautorun to \Windows

Fudge any registry entries if necessary....

Run SDautorun....

Would this work??

Thanks in advance....
[Windows Mobile Development and Hacking General] YossyTob:
Hi, I not build ROM, but I use ckocked ROM for my HTC Touch Diamond. My question, is:

Can I use this fantastic capability for install Utilities or Games into the phone "ROM area" not in the normal memory ?

Thank you very much

Yossy
[Windows Mobile Development and Hacking General] m4rc3l1n0:
Hi Guys

I've been trying to get this User Customization thing to work on my Touch Pro wothout any luck at all, by the way I am using Da_G 2.06 Clean Rom

These are the steps that I did

1.Copy the SDAutoRun.exe to windows directory

2.Copy AutoRun.exe to windows directory

3.Replace the "RST: Reset" line in config.txt with "EXEC:\windows\SDAutoRun.exe" but I can't find anything inside config.txt in windows directory, so I Replace the "RST: Reset" line in config_operator.txt with "EXEC:\windows\SDAutoRun.exe"

4.I Copied all of my cab files to micro SD card in Cabs directory, put SDConfig.txt with this format

LOCK:Enabled

CAB: \Storage Card\Cabs\Advanced_Configuration_Tool_v3.3.cab

CAB: \Storage Card\Cabs\BeejiveIM.CAB

CAB: \Storage Card\Cabs\CorePlayer.v1.3.0.Build.6213.Diamond.Skin.cab

CAB: \Storage Card\Cabs\Fabliv Action Screen 9 Btn Diamond v6 EN.cab

CAB: \Storage Card\Cabs\GALARM.CAB

CAB: \Storage Card\Cabs\GPSTest.ppc.CAB

CAB: \Storage Card\Cabs\GPSToday0993.CAB

CAB: \Storage Card\Cabs\hicalc_arm.cab

CAB: \Storage Card\Cabs\HTC_TASK_MANAGER_2_1_34563_3R.CAB

CAB: \Storage Card\Cabs\hTorch_v3.2.cab

CAB: \Storage Card\Cabs\OffSoftKeyboardAutoPopUp.cab

CAB: \Storage Card\Cabs\Opera_v9.5_Build_1184_QVGA.cab

CAB: \Storage Card\Cabs\PicViewProEn_p.ARM.CAB

CAB: \Storage Card\Cabs\RR Keyboard Speed Increase.cab

CAB: \Storage Card\Cabs\RescoExplorer_PocketLand.ARM.cab

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

CAB: \Storage Card\Cabs\SHAPE_Services_IMPLUS_v4_58_Cracked-SergeyL.cab

CAB: \Storage Card\Cabs\Shlomki TouchPro Keyboard in Fuze ROM.cab

CAB: \Storage Card\Cabs\SpbClone.cab

CAB: \Storage Card\Cabs\UniversalConverter.sa.cab

LOCK:Disabled

RST: Reset

and save this SDConfig.txt as ANSI Type

5.I soft reset my phone, unplug and plug in my micro sd card, copy config.txt and config_operator.txt to micro SD card nothing happened

no luck at all

need help

I'm a totally newbie :)

Da_G Clean ROM says that it is supporting User Customization ?

Where did I do wrong or are there anything that I miss?

Thanks Guys
[Windows Mobile Development and Hacking General] l3v5y:
If the ROM supports UC, put the SDCOnfig.txt file in the root of your storage card, and then hardreset. The ROM should do the rest for you.
[Windows Mobile Development and Hacking General] m4rc3l1n0:
Thanks for your advice

It's working now

need to read some more :)

newbie mistakes :)
[Windows Mobile Development and Hacking General] NRGZ28:
Yes it would! But "fudging" the registry entries in hklm/comm is necessary :)
[Windows Mobile Development and Hacking General] Sleuth255:
Np. I expanded the explanation there too.
[Windows Mobile Development and Hacking General] RideTheTube:
Thanks!! works awesome in my new Diamond rom.

I only have the problem to integrate MortScript as OEMpackage, because i want that the UC automaticly starts after flash without SDConfig.txt. If i integrate MortScript and UC - the Windows Installation Routine didn´t start after flash... Anyone knows about the Problem with UC+Mortscript
[Windows Mobile Development and Hacking General] stevenh78:
Is it possible to set this up so that cabs install to storage card or other internal storage by default? just now it stores everything into device memory which is taking quite a bit of room...
[Windows Mobile Development and Hacking General] RoryB:
Go to ROM Flashing Junkies thread. There is a way to get cab set to install to SDCard, but you have to edit the cab file with something like WinCE Cabmanager. I did this for MS Reader.
[Windows Mobile Development and Hacking General] sjauquet:
Yes, try the Suiller UC

- fully automated CAB restore/installation

- The cab folder, will install you app on main memory & cabi will install the app on internal storage

by default on the diamond macadam rom
[Windows Mobile Development and Hacking General] mobilevu:
hi guys,

sorry for a newbie question i am new at cooking.

- When you say "Copy SDautorun to \Windows" I can't find any Windows directory under my kitchen folder? where is that folder?

- I think i understand about the .dsm file but for the .rgu where do I get the registry for the cab I wish to install?

Thanks in advance for any help
[Windows Mobile Development and Hacking General] Sleuth255:
Hello all. I'm working on a runcc capable UC upgrade that will be fully backwards compatible. ITNF I'll be looking for advanced chefs who might want to help me test. If you're interested and can:

cook from the dump directory

mod the hives/config.txt files to change/delete entries

make a runcc enabled ROM to test with

then PM me. The current scheme is to have sdautorun mod runcc.lua to force sdconfig.txt processing in addition to the other configs. The current technique being researched is by changing the "script" value in runcc's reg to point to the modified script file "SDruncc.lua".
[Windows Mobile Development and Hacking General] Sleuth255:
UC came about before the Ervius/Bepe inspired revolution that gave cooking to the masses. Once the package was cracked then package based cooking has become common. In the olden days, everybody cooked from the dump directory. While laborious, it did give us the ability to directly modify config.txt, place programs in /windows and tweak registry entries.

For current kitchens, there is a package on page one of the user's thread. It's labeled as being for Kaiser but it will install UC for most. I will soon be working on a more accurate package and will post this with the next UC upgrade.
[Windows Mobile Development and Hacking General] mobilevu:
Thanks for your reply it is appreciated. I figure out that it was the dump folder and have drop the file in there. All good so far, neat job guys!
[Windows Mobile Development and Hacking General] wolframio74:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ SDMemory]

"Folder"="Storage Card"

so, this reg key will fix Tier Atuo install on non Enlglish ROMs, "tautoinstal cannot find you SD..."
[Windows Mobile Development and Hacking General] ---UFO---:
Hi there!

I'm cooking ROM for HP iPAQ 614c, but there aren't any AutoRun files or registry items.

Is it possible to add AutoRun to the rom?

What files and registry items i need?

I tried to copy Autorun.exe , config.txt and SDAutoRun.exe into Windows dir, but it didnt run.

Thanks for help.
[Windows Mobile Development and Hacking General] mobilevu:
Hi Sleuth is this released already or are you still testing it?

Thanks
[Windows Mobile Development and Hacking General] faria:
thats because mortscrip has a file called "autorun.exe".... so this file is overwriting the default rom autorun.exe, you must rename the mortscrip autorun.exe to something else like "autorun2.exe ,then use the below entries in initflashfiles.txt to rename it again to default name at first boot.

add the folowing to your initflashfiles.txt;

root:-Directory("Program Files")
Directory("\Program Files"):-Directory("MortScript")
Directory("\Program Files\MortScript"):-File("AutoRun.exe","\Windows\AutoRun2.exe")

the other option is to configure a provxml or an xml file
[Windows Mobile Development and Hacking General] Noonski:
You don't need to inculde the autorun.exe file from Mortscript into the package anyway.

This file is only needed when your using mortscript when it has not been installed into the device.
[Windows Mobile Development and Hacking General] bobsbbq:
I have the Blackstone and was having trouble due to I use RunCC instead of AutoRun.exe. I was getting a error AutoRun.exe could not be found blah blah, and I just put the AutoRun found on the first post in to my operatorPkg and cooked it in and everything seemed to work. The only thing was the connection setup did not run until I soft reset again and everything was installed.

Will be good to have the new version though as not to include AutoRun.exe
[Windows Mobile Development and Hacking General] l3v5y:
SDAutoRun doesn't do all the installing/xml handling/CPY functions, it merely gets AutoRun.exe to do all the work for it.
[Windows Mobile Development and Hacking General] Noonski:
After playing around with an adjusted SDAutorun that Sleuth made. and then playing around some more i unfortunately come to the point that SDConfig.txt wasn't needed at all nor RunCC.

Unfortunatly looking at the few responses it looks like no one is interested in this new method.

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

But if you want to keep to SDAutorun you will for now need to ad the Autorun.exe to the rom.

(If it wasn't for the time Sleuth spent into helping me out and giving input with the earlier stage of this idea I would have felt guilty posting about it here)
[Windows Mobile Development and Hacking General] teorouge:
Anybody knows how to implement this simple (yet great!) choice in a ROM after flash? I've tried it a couple of times with sunnyin86 AHEN ROM, and I think it's probably the most convenient! But couldn't find anything precise... I do think this should be a default feature of any ROM, even officials! :D
[Windows Mobile Development and Hacking General] Noonski:
Check your PM messages.

Cheerz,
[Windows Mobile Development and Hacking General] c_shekhar:
Is the solution so private???????
[Windows Mobile Development and Hacking General] ---UFO---:
Sorry, but you didn't send me any PM message.
[Windows Mobile Development and Hacking General] Noonski:
I didn't want to repeat my post 269

http://xdaforums.com/showpost.php?p=3968773&postcount=269

Where i had a link to another Method of User customization.

That could be applied to other devices not using Autorun to.

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

And i don't like spamming Sleuths thread with links to my own.
[Windows Mobile Development and Hacking General] fredphoesh:
Hi Sleuth,

sounds very interesting... ive tried it and it could not find the file, despite my formatting being correct (I just changed the file names on the demo file in the tutorial here)

i was concerned the sd card is called StorageCard in windows, not Storage Card.

Is there a way to run autoconfig once the phone is up and running? I dont want to go through burning a rom each time I try to get this to work. Ive tried putitng the autorun.exe and SDautorun.exe files in the \windows directory, but neither does anything if I try run them.

your help would be much appreciated.

Thanks

Mark.
[Windows Mobile Development and Hacking General] mmcneil:
Hi, I'm a COMPLETE newb when it comes to cooking ROM's, so please bear with me. I made my first ROM last night using IndaGrooves latest kitchen. I want to make my rom UC compliant, but I don't know how to cook the sdautorun.exe and autorun.exe into the \Windows directory. Is there / should there be a specific directory in my kitchen to do this? Can someone please point me in the right direction ? Thanks in advance!

McNeil:confused:
[Windows Mobile Development and Hacking General] mma123:
Hello:

I have following settings:

[HKEY_LOCAL_MACHINE\Comm]
"AutoRunCFG"="\\Storage Card\\my\\auto\\config.txt"
"AutoRunFlag"=dword:00000000
"AutoRunType"=dword:00000000

As I am trying to run autorun.exe manually, autorun does not run. If I run checkautorun.exe, autorun runs perfectly. What I am doing wrong here?

Thanks in advance.

EDIT: BTW, I was looking at this post and had a perception that the above mentioned registry setting is enough to run autorun. In my case, I see nothing when I tap on autorun.exe.
[Windows Mobile Development and Hacking General] RoryB:
Also, bootcount needs to be 0 (as in zero)
[Windows Mobile Development and Hacking General] Noonski:
[HKEY_LOCAL_MACHINE\Comm]
"AutoRunCFG"="\\Storage Card\\my\\auto\\config.txt"

Always need to point to the Windows config file
[CODE][HKEY_LOCAL_MACHINE\Comm]
"AutoRunCFG"="\\Windows\\config.txt"

Then at the end of the config.txt file add a line
EXEC:\Windows\SDAutorun.exe
and remove the Reset in that config file.

Then SDAutorun will always look for SDConfig.txt on root of Storage Card.

This is all First Post Stuff, the reason SDAutorun was made because older Autorun did not accept config files from Storage Card.
[Windows Mobile Development and Hacking General] mma123:
Tried that with no luck.

Doesn't SDAutorun ultimately run autorun.exe? I wonder how does SDConfig do that?
[Windows Mobile Development and Hacking General] Noonski:
SDAutorun will indeed start Autorun.

But it will make it possible for Autorun to actually process the commands in SDConfig.txt
[Windows Mobile Development and Hacking General] RoryB:
Try changing to be

[HKEY_LOCAL_MACHINE\Comm]
"AutoRunCFG"="\\Windows\\config.txt"
"AutoRunFlag"=dword:00000000
"AutoRunType"=dword:00000000

I think checkautorun.exe is the program that checks the registry regarding boot count to then let autorun start. Your \windows\config.txt can be as simple as

LOCK:Disabled
EXEC: \windows\SDAutoRun.exe

SDAutoRun.exe has be in windows folder and SDConfig.txt has to be in \Storage Card folder (no sub folders).

-------------OR-----------------------

If you only want to run SDAutorun.exe then it needs to be in the windows folder and set this reg key value

[HKEY_LOCAL_MACHINE\Comm]
"SDautorunflag"=dword:00000000

Then run SDAutorun See here
[Windows Mobile Development and Hacking General] stronkyz:
me too!!!

i'm using ervius visual kitchen and i would make my rom UC capable but how i add this files to my kitchen?

pls someone help us!!! :D
[Windows Mobile Development and Hacking General] mickael91210:
Hello,

I'm using Ervius Visual Kitchen for Touch HD and I integrated "UC Package" with SDAutoRun.exe, Config.txt like the example and AutoRun.exe and a reg with security desactivated and SDAutoRunFlag=0. And I have a SDConfig.txt at the root of my SD but during the first boot all is ok excepted that the HD reboot before SDAutoRun ...

During the second boot, if I put again "0" for SDAutoRunFlag and if I launch \Windows\SDAutoRun.exe , all is good ==> SDAutoRun is functionning.

Why doesn't it function during the first boot?

Thanks a lot.
[Windows Mobile Development and Hacking General] RoryB:
I'll ask the obvious first. Did you replace the "RST: Reset" line in config.txt with "EXEC:\windows\SDAutoRun.exe"?

Tried the autorun version on first page?
[Windows Mobile Development and Hacking General] mickael91210:
Hello, and thanks for your help.

Yes, here is my config.txt :

LOCK:Enabled
LOCK:Disabled
EXEC:\windows\SDAutoRun.exe

And yes I'm using the Autorun and SDAutorun.exe versions on the first page.

And if I use it (after I put SDAutoRunFlag at "0" only) during the second boot manually, the installations are ok....
[Windows Mobile Development and Hacking General] RoryB:
Makes me think SDAutoRunFlag is not getting set correctly.

Can you look in the temp folder after you cook the ROM and see the registry? If so, check to be sure it is set to 0 in there and there is only one copy of the setting. I do not use EVK.
[Windows Mobile Development and Hacking General] mickael91210:
Thanks. I have the same idea. That's why I put SDAutoRunFlag in some cabs.... but for the moment I don't see where I'm wrong...
[Windows Mobile Development and Hacking General] RoryB:
I think there is also an AutoRunFlag. Is it getting set correctly too?

SDAutoRun uses AutoRun.
[Windows Mobile Development and Hacking General] mickael91210:
Thanks for help, when I try manually after flash SDAutoRun works even if i don't change AutoRunFlag but i'm trying a new time....
[Windows Mobile Development and Hacking General] siulmagic:
diregard my mistake
[Windows Mobile Development and Hacking General] chathar:
I am a chef, I am having strange problem in my ROM.

I have made my kitchen to place SDAutoRun.exe and AutoRun.exe in Windows Folder, but the SDAutoRun.exe is not installing applications.

I have already modified confix.txt with EXEC command, which is executing SDAutoRun.exe is running, because i can see AutoRunFlag = 1 and SDAutoRunFlag=1 under HKLM\Comm

which means SDAutoRun.exe is running on first boot, but it is not installing applications.

When i manually change Registry entries for AutoRunFlag=0 and SDAutoRunFlag=0 and execute SDAutoRun.exe manually, it works fine, means there is no issue with SDConfig.txt and cabs.

Kindly advise what is wrong and how to get it working.
[Windows Mobile Development and Hacking General] Ethermind:
I have the same problem.

Works only on manual run SDAutoRun.exe and reg fixing.

But for me it also runs and during customizing, but resets after installing FastGPSSetup.CAB.

May be extra space in paths are forbidden to use?

LOCK:Enabled

CAB: \StorageSD\Install\CommManagerCab.CAB

CAB: \StorageSD\Install\FastGPSSetup.CAB

(here resetting in auto mode, but in manual all works anyway and continue installation)

CAB: \StorageSD\Install\HTC TouchHD FM Radio.cab

CAB: \StorageSD\Install\Office Mobile 2010 From MarketPlace.cab

... etc.
[Windows Mobile Development and Hacking General] Nullstring:
Hi, sorry if this was asked or a stupid question but ..

I am cooking my fuze rom and I have SDAutorun.exe located in "Sources\Devices\HTC Raphael\OEM Packages\HTC Raphael Packages\OperatorPkg" (am using osKitchen btw) and it has config.txt. I'd like to how to install CAB file? This is CAB specifically for Sense 2.5 customization such as the background.

I see it can only install CAB from Storage Card, but what about if this CAB is from device?

how to do that?
[Windows Mobile Development and Hacking General] Noonski:
In that case you would use an already present config.txt file from the Rom to add the cab file to that is in the Rom
[Windows Mobile Development and Hacking General] Nullstring:
Inside the OperatorPkg, there are some files such as:

- SDAutoRun.exe

- config.txt

- DefaultSenseWallpaper.CAB

- AutoVer.exe

- AutoAttribute.exe

- etc. etc. etc.

those are automatically copied in \Windows

in my config.txt file, this is what I did.

But I never see the CAB got installed, so I tried this

but still the same .. any suggestions?
[Windows Mobile Development and Hacking General] Noonski:
Yes check the 5 Digits rule for commands.

CAB:\Windows\DefaultSenseWallpaper.CAB

Should be

CAB: \Windows\DefaultSenseWallpaper.CAB

And sense wallpapers can be set by the registry (it's been a while for me)

I believe it was

[HKEY_CURRENT_USER\Software\HTC\Manila]

"\\Windows\\Picture.jpg"

Unless HTC has changes Sense a lot since then concerning registry values.
[Windows Mobile Development and Hacking General] Nullstring:
YES! I was about to write another comment here. I dump the old signed .NBH and look into those customization and noticed these special 5 digits rule. So I followed it and my problem was solved!
[Windows Mobile Development and Hacking General] Sleuth255:
If using a standard kitchen, you need to stop the build process at the point where the dump directory is created. Then, look for config.txt there & edit with notepad to change the RST: Reset command to the EXEC: \windows\sdautorun.exe command. While you're there, also copy sdautorun.exe there.

I may make a package for this if enough ppl want one. The problem will be the edit to config.txt instead of replace.
[Windows Mobile Development and Hacking General] Sleuth255:
sorry :( I'm working on a version that can detect the name of your storage card. I'm just not sure what api to use for this yet.
[Windows Mobile Development and Hacking General] bigix1:
The same idea

I had same idea some weeks ago, and i realised my ExtRom on SD using Mortscript package in Rom and 3 simple file in my rom (Arte-X for Artemis)

So i can:

1-automatically

-complete rom installation (solving some problem of duplication file from windows in other directory etc....)

-write/delete (if necessary) registry key without modify hv and rgu file

-create shortcut

-copy files (example graphic files in \HTCHome with no duplicate in \windows)

-move lnk and personalize start menu\programs with folder i like

-enable/disable temporaneally plugin

-install indispensable software not included in rom

......and more.........

2. Manually (with a menu) choose the program user want install from a distribution (included in rom download (olso cab with final choice like Resco Explorer - choice language).

But your way is very interesting: not a lot of possibility like mine but very simple implementation. Compliments.
[Windows Mobile Development and Hacking General] Noonski:
Isn't the Storage Card name saved into registry?

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]

"Folder"="Storage Card"

Ah What do i know about programming i'm just a duckt Tape Cook.
[Windows Mobile Development and Hacking General] Red49er:
I'm not sure if this is possible with DogGuy's Titan/Mogul Kitchen. He has a prepit.bat file which sets up the kitchen, and I believe if you break it during the dump directory op, it will erase that directory when you re-run prepit.bat.

If there's a way to bake into /Windows after the bat is finished, or another kitchen which can be used for Vogue (nbh) ROMS, that would be great. Thanks, I love the idea of your tool, I just want to add it to No2Chem's 6.1 slimmed down ROM.