PDA

View Full Version : How to enable autorun on first boot?


bram_smulders
7th September 2007, 11:48 AM
Hi all,

I'm building my own touch rom and i had a question:

How do i enable autorun on first boot to load a .tsk file.
I've searched and tried a couple of thins but it dind't work.

Gr. bram

xvx45
7th September 2007, 12:12 PM
you must edit your extended ROM for that ;) or just replace Default_stwater_xxxx.gif files in Windows directory to make default theme. For color it's in the default.hv file :D

bram_smulders
7th September 2007, 12:37 PM
you must edit your extended ROM for that ;) or just replace Default_stwater_xxxx.gif files in Windows directory to make default theme. For color it's in the default.hv file :D

Allright, thnx for help, lets see if it works!!

Gr. bram

xvx45
7th September 2007, 12:38 PM
other help :
In the Extended ROM use cusTSK.exe
in "Config.txt" add a line like :
EXEC:\Windows\cusTSK.exe \Windows\bram_smulders_TSK.tsk
That 2 ways to do the same things.

Have a good ROM coocking ;)

WizeMan
7th September 2007, 01:41 PM
You better use the cusTSK.exe method (extended rom, autorun) because if you use an OEM package with registry settings you will have a bug:

When u go and change to another theme on your rom, then go back to the default, the colors will not be the ones you set on the reg settings, but the wm6 default ones.

So better use the CusTSK.exe, that way you dont mess with the registry and you wont have any bugs.

xvx45
7th September 2007, 01:45 PM
When u go and change to another theme on your rom, then go back to the default, the colors will not be the ones you set on the reg settings, but the wm6 default ones.

That why I say he must edit default.hv to have the colors he want after hard rest/change skin ;)

WizeMan
7th September 2007, 01:48 PM
That why I say he must edit default.hv to have the colors he want after hard rest/change skin ;)

Oh now i got it I didnt read your previous post carefully :p

mazterjay
7th September 2007, 01:50 PM
Yo bram,
Is this rom going to be Dutch, i am pleased to see an Dutch rom poppin' out here.. :D

bram_smulders
7th September 2007, 04:00 PM
other help :
In the Extended ROM use cusTSK.exe
in "Config.txt" add a line like :
EXEC:\Windows\cusTSK.exe \Windows\bram_smulders_TSK.tsk
That 2 ways to do the same things.

Have a good ROM coocking ;)


I cannot get this working. everytime i boot for the first time it doesn't launch the custsk. i've put this files into the oemoperator folder, should that be right?(I saw this in another rom)

Gr. bram

bram_smulders
7th September 2007, 04:01 PM
Yo bram,
Is this rom going to be Dutch, i am pleased to see an Dutch rom poppin' out here.. :D

Haha, its gonna be a dutch rom for the htc touch, mayb i'll port it to the wizard sometime!

Gr. bram

xvx45
7th September 2007, 04:19 PM
I cannot get this working. everytime i boot for the first time it doesn't launch the custsk. i've put this files into the oemoperator folder, should that be right?(I saw this in another rom)

Gr. bram

No ! Not in OEMfolder but in Extended ROM, and the line of code in the config.txt from Extended ROMtoo :rolleyes:

Noonski
8th September 2007, 01:33 AM
Most new ELF extracted Roms don't have Ext rom anymore.

bram_smulders
8th September 2007, 04:51 PM
Indeed noonski,

i've got it working via another way, but now it launches every boot, and that's very anoying...

Hmmm... mayb i have to write an own ext rom for the touch.
anyone experience with this?

Gr. bram