how to restart device after HTC startup complete? - Windows Mobile

I am building my custom rom, I want my device to restart when the HTC startup configuration is finished and the finish button pressed.
Any body know how to do this?
also I want to khow how to cook mortscript in to my rom, any documentation? , as I have cooked it in to my rom but it doesn't worked .
thank you.
OR
How to reset the phone automatically after the first boot configurations finished?
-I am using Leo.

hi dude
firstly attatched is the folder of mortscript from my sys folder in my kitchen (latest version) so delete the version you have and add this version (defo works )
secondly could you explain what you meen by:
I want my device to restart when the HTC startup configuration is finished and the finish button pressed.
Click to expand...
Click to collapse
Rn
btw your best bet for any mortscript is to ask RoryB at the mortscript examples thread here (he has helped me out a lot with scripts)

If using RunCC package change this line in the app.reg from this "ResetDevice"=dword:00000000 to this "ResetDevice"=dword:00000001
WC

exactly what I was searching for, many thanks . best forum I've ever seen.

thats xda devs for you dude, always here to help
btw - i had a problem cooking the mortscript EXT into my rom, duno why coz the packsage was perfect.. but that version i gave you there in the attatchment, i had no problems with, it worked first time..
btw, im getting better with the scripts now so if you need help, just give me a PM
Rn

Related

Copy files from ROM ?

Hi,
I'm trying to get around the problem of the quiet sound with the AT&T rom, I have another XDA running the latest T-Mo rom and was hoping to mess around with some dll's from the TMo rom to see if I could sort the problem, but the drivers used for the sound are protected somehow in the rom, so it won't let me copy them to my SD card or PC (which means I can't try it on the AT&T rom)
Is there any way of copying these files out ? and then into the AT&T rom ??
Cheers
Neil
see dumprom
No good for me then, I only have Windows Machines here..
Ok, I have thought of a possible work around, but I need someone with the T-Mobile WM2003 Rom (Pref 4.01.16) & Linux/Unix to copy the wavedev.dll & waveapi.dll from the \Windows folder and send them to me so it can try it out..
I'm sure its not only me that this "feature" annoys. it makes Tomtom especially useless on the voice prompt side of things.
Cheers
Neil
?? I don't see the problem, dumprom is a windows tool.
in case you had not found it yet, I added the link to the binary to the wiki page.
Ah right, excellent.
Sorry I assumed it was the same as the makerom tool which states its unix/linux.
-=edit=- I just tried the link on the dumprom wiki page, and get the dreaded 404 error
Thanks
Neil
oeps. a common wiki error, I forgot to '~'-escape the '~' in the url.
Thanks mate, it seems to be working now
I'll have a play about with it when I get home.
Cheers
Neil
Back again :lol:
The dumprom app crashes (tried on two machines) when I try to execute it. I have tried it with various command line configuations but the little windows xp error box pops up saying that the program must be closed
dumprom crash
Hi Swifty
Yeah I got this too - until I realised that I was the problem. I was omitting the myrom.nb1 filename (or whatever you have called yours) from the command line! D'Oh! What is your exact command line that you use?
it is known to be buggy and crash on certain roms.
I am working on an improved version in perl - dumpxip.pl
but it does not extract files stored as 'xip' yet.
:lol:
Silly me I done the same thing as you and omitted the rom file.. thanks
I have now extracted the AT&T and TMobile roms and compared the files, the AT&T's wavedev.dll is larger in size, I think this is where the modifications were made.. but I can't rebuild the TMo version into the AT&T rom because I don't use linux
Hopefully someone can help me out and we will finally have a perfect WM2003 Rom -=edit=- IF it works :lol: :roll:
Cheers
Neil
Carefull!
i fearbthat just swapping in the new dll may not help... it may have other dependancies that also need changing. The interface / entry points may also have changed and you may need a whole slew of other stuff and some other registry settings too. But pls go ahead and try... let us know!
Carefull!
i fearbthat just swapping in the new dll may not help... it may have other dependancies that also need changing. The interface / entry points may also have changed and you may need a whole slew of other stuff and some other registry settings too. But pls go ahead and try... let us know!
Swifty said:
:lol:
Silly me I done the same thing as you and omitted the rom file.. thanks
I have now extracted the AT&T and TMobile roms and compared the files, the AT&T's wavedev.dll is larger in size, I think this is where the modifications were made.. but I can't rebuild the TMo version into the AT&T rom because I don't use linux
Hopefully someone can help me out and we will finally have a perfect WM2003 Rom -=edit=- IF it works :lol: :roll:
Cheers
Neil
Click to expand...
Click to collapse
Neil,
Use CYGWIN it's an excellent "Linux running as a command line in Windows" environment. It's easy to install, start and run commands. It comes up as a DOS box-like interface and Voila! You have Linux, stable, clean and fast, including the ability to build ROMs.

Extended ROM Unlock tutorial

Hi,
Can someone point me to a simple Extended ROM Unlock tutorial because I just can't manage to find my way through the Forum.
I'de like to place my favorite apps in ROM...
Thanx
The General
GeneralPatton said:
Hi,
Can someone point me to a simple Extended ROM Unlock tutorial because I just can't manage to find my way through the Forum.
I'de like to place my favorite apps in ROM...
Thanx
The General
Click to expand...
Click to collapse
well general, depends on the OS you are using..
if you have rom version 1.6.x.x it won't work easy yet.
the pre 1.6.x.x roms are quite simple, download totalcommander for ppc, install it, run it, in the adress-bar type "\extended_rom\" without the " " 's, and voila, there they are..
good luck..
ps.
the search button on top of this page would give the oppertunity to search for words as extended rom in de wizard forums.. :wink:
Ok
Thanx works fine with TC
Just a last question, all cabs i place in extended_rom will install automatically after hard reset ?
'cause I saw i had a autorun.exe file in there and some sutomization cabs that install after Hardreset ???
Thanks
The General
Re: Ok
GeneralPatton said:
Thanx works fine with TC
Just a last question, all cabs i place in extended_rom will install automatically after hard reset ?
'cause I saw i had a autorun.exe file in there and some sutomization cabs that install after Hardreset ???
Thanks
The General
Click to expand...
Click to collapse
There's a config file in there too (can't remember it's name off hand, but it's fairly obvious). This has a list of the cab files to install after a hard reset. I guess you'd need to add your cab files to that list as well as copying them to extended ROM.
Dox
Re: Ok
GeneralPatton said:
Thanx works fine with TC
Just a last question, all cabs i place in extended_rom will install automatically after hard reset ?
'cause I saw i had a autorun.exe file in there and some sutomization cabs that install after Hardreset ???
Thanks
The General
Click to expand...
Click to collapse
depends, some have a config.txt file, if you open this one and edit it to your
needs, the files you put into it will be installed after hard reset, if you
set the right parameters from the txt file.
other roms have the autorun.exe wich installs all the files in the extrom.
i'm not sure anymore if this is right, but i believe that if you rename your
cab's like this:
applicationX.cab -> Default_applicationX.cab
it will install without any problems.
if you have problems with unsigned cabs, you can use the signed.patch
wich can be found on the ftp.
On my Cingular 8125 the extended ROM is write protected, does anyone know how do I remove the write-protection?
jsnipper said:
On my Cingular 8125 the extended ROM is write protected, does anyone know how do I remove the write-protection?
Click to expand...
Click to collapse
Only way around is to flash an older rom into your handset..
Re: Ok
nmx77 said:
GeneralPatton said:
Thanx works fine with TC
Just a last question, all cabs i place in extended_rom will install automatically after hard reset ?
'cause I saw i had a autorun.exe file in there and some sutomization cabs that install after Hardreset ???
Thanks
The General
Click to expand...
Click to collapse
depends, some have a config.txt file, if you open this one and edit it to your
needs, the files you put into it will be installed after hard reset, if you
set the right parameters from the txt file.
other roms have the autorun.exe wich installs all the files in the extrom.
i'm not sure anymore if this is right, but i believe that if you rename your
cab's like this:
applicationX.cab -> Default_applicationX.cab
it will install without any problems.
if you have problems with unsigned cabs, you can use the signed.patch
wich can be found on the ftp.
Click to expand...
Click to collapse
Hi
Could tell us where on the ftp we can found signed.patch?
Bye
Herc. 8)
Here it is
i couldn't find it on the ftp anymore as well..
i'll put it there again, but here it is for you
if it's that easy to get into extended rom, then why do people release the unlockers for extrom? i don't get it.
Ray_jai said:
if it's that easy to get into extended rom, then why do people release the unlockers for extrom? i don't get it.
Click to expand...
Click to collapse
you can access the files on the extended rom, but you can't edit any of the information there. you have to flash a new extended rom image for any changes to take effect. I think those that are looking at the extended rom unlockers is for a different purpose. I think I read somewhere that it let some people use the extended rom space as extra storage (~10 megs), but it messed up applications on the phone, especially the camera.
in general, it doesn't seem to be a good idea to unlock the extended rom. most rom builders look like they are trying to learn how to edit this properly to add it o their rom kitchens.
can one's extended rom go curropt?
after i heard about this, i went into extended rom just to see if it works.
and it did. i exited total commander and started to gather my anti theif program to get installed.
now I go back into extended rom, and everything became gibberish!
and when i click on something it says "error 3 Changing to dir!"
WTF is going on!
can someone help me out?

[Solved]Unsigned Error - Newbie Cooker (Please Help Me)

Hi,
HTC HD 2 LEO
OS Version: 21869
I'm a newbie in Cooks ... and My Inglish is a litle bad.
I'm trying to cook a PTG (Portuguese Rom) ...
I extract the rom from htc web site, so I already change somethins and everything ok ...
But now I wan't to go more depper and I'm wan't to personalize My Rom with some apliccations from here...
Like Torch ...
Like Xda ShutDown ...
And other things
But after I cook for example Torch last version it gives the unsigned and untrusted version...
How Can I Change It?
I already change the language ... already put My country code 0816 ...
But still the same error..
Is the STOCK ROM protected?
I'm using the osKitchen Zero.
Thank All,
Fiwi
Hi there, have you tried cooking in SDKCerts cab?
I think not...
Sorry... But I'm very green in this...and the English is a little Problem...
Post in your native language in google translate
Post em sua língua nativa em Traduz Google Pode ser slighly em corrigir, mas é fácil
Let me see...
I will try to explain better...
I Have a HTC HD 2 - Leo European (Portuguese);
I Have download the StockRom from the HTC WebSite;
I Have download the OsKitchen ZERO that is here in chefs forum;
I alrealdy delete somethings in My StockRom and I Cook the Rom...Upload to the Phone And OK. IT WORKS.
Until here everything fine.
But When I Put Other program like Torch ... after I Change the 0409 to 0816 code ... after I cook ... then when I install My New Cooked Rom in the LEO e apeares an Error that is a UNSIGNED FILES...
My question is...How can I change this?
Is the stock ROM PROTECTED ?
Is necessary to change something?
Hope that I explain everything ok.
Thank You For Your PATIENCE.
Best Regards
Fiwi
The 'unsigned' error almost never has anything to do with signatures. You either boffed up the shortcut in the start menu, or you're missing dependencies. You may be missing Net 3.5-that's just a guess. First, check the shortcut path and make sure it's ok. You can try just clicking on the .exe as well to see if the apps launch. Then, try installing net 3.5 (don't bother re-cooking/flashing yet), and see if the apps launch. If they do, get a Net 3.5 package and cook it in.
Farmer Ted said:
The 'unsigned' error almost never has anything to do with signatures. You either boffed up the shortcut in the start menu, or you're missing dependencies. You may be missing Net 3.5-that's just a guess. First, check the shortcut path and make sure it's ok. You can try just clicking on the .exe as well to see if the apps launch. Then, try installing net 3.5 (don't bother re-cooking/flashing yet), and see if the apps launch. If they do, get a Net 3.5 package and cook it in.
Click to expand...
Click to collapse
The Aplicattion LAUNCH in root folder
Don't launch in Start Menu... shortcut is wrong
Hummm so maybe I'm doing the language change and path root is wrong maybe...
I Will verify that ..
Thank You For Your Help,
I Will test.
FiwiPITO said:
The Aplicattion LAUNCH in root folder
Don't launch in Start Menu... shortcut is wrong
Hummm so maybe I'm doing the language change and path root is wrong maybe...
I Will verify that ..
Thank You For Your Help,
I Will test.
Click to expand...
Click to collapse
Just use total commander to open the shortcut and then fix the path. It's the easiest way (or create a new one with total commander). The problem with using .png icons for 6.5 start menu shortcuts is that you can't tell immediately that you buggered up a shortcut. If you don't use .png icons and instead use the icon in the .exe, if you mess up the shortcut path, then you get a blank icon and you know what the problem is.
Anyway, if you use EVK, there's an option to cert patch nk.exe, and then you don't have to worry at all about certificate errors.
Use the implantxip building method. That should automatically patch the certificate check.
Thank You, For All Help.
I Will test and Learn what is the best way to cook
Hi, Guys Again
Thank You,
Already Working Thank YOU.
i guess we can change this thread to [solved]...

A little help for a budding Chef!

Hi Guys,
I'm currently attempting building a ROM using the OSkitchen. I've managed to get the ROM to boot and removed all the stuff i dont want.
I've figured out how to add CAB's to the EXT packages to install the stuff i want...
There's a few things i'd like to know how to do - i've tried searching but not really found any useful info for the following things - any help would be much appreciated and im looking forward to releasing my ROM for you guys
* How do i customise where an application is installed to in the start menu - As an example the icon changer application installs into its own folder 'JWD apps'?
* How can i apply Registry tweaks and other settings so i dont have to set them after Flashing?
* And Finally how do i enable the extra RAM? I'm using a T-mobile base and Radio version 2.10.50.08_2.
Thanks a lot for any help offered.
Paul
paulrgod said:
Hi Guys,
I'm currently attempting building a ROM using the OSkitchen. I've managed to get the ROM to boot and removed all the stuff i dont want.
I've figured out how to add CAB's to the EXT packages to install the stuff i want...
There's a few things i'd like to know how to do - i've tried searching but not really found any useful info for the following things - any help would be much appreciated and im looking forward to releasing my ROM for you guys
* How do i customise where an application is installed to in the start menu - As an example the icon changer application installs into its own folder 'JWD apps'?
* How can i apply Registry tweaks and other settings so i dont have to set them after Flashing?
* And Finally how do i enable the extra RAM? I'm using a T-mobile base and Radio version 2.10.50.08_2.
Thanks a lot for any help offered.
Paul
Click to expand...
Click to collapse
I have not dealt with the first question, but for #2 all you have to do is create a new EXT package and add app.reg with all of the registry settings and tweaks you want to do. Label is something like Z_Tweaks so it gets processed last.
paulrgod said:
* How do i customise where an application is installed to in the start menu - As an example the icon changer application installs into its own folder 'JWD apps'?
* How can i apply Registry tweaks and other settings so i dont have to set them after Flashing?
* And Finally how do i enable the extra RAM? I'm using a T-mobile base and Radio version 2.10.50.08_2.
Thanks a lot for any help offered.
Paul
Click to expand...
Click to collapse
1.- Many apps needs one special folder to be installed: like "Program files\JWD apps\" and many others run fine just in Windows\ so you can try to do this... open the file called app.dat in your app ext pkg... make a backup of your ext pkg... then delete all the entries in that file, but dont delete the entrie that puts the lnk into "windows\start menu\programs... It means that all the files will be intalled in windows folder... locate the lnk of that app open it with a txt editor like notepad and change the route to Windows\jwd icon changer.lnk or exe i dont know the exact name... and try to run the app from start menu... if it works ok... you will be able to run the app without double files in windows and programfiles... that lnk entrie in the app.dat allows you to select where does the icon will be in the start menu honeycomb... and you can edit all entries if you like into another folder... but remember not all apps works like this.
2.- already correctly answered
3.- there is an answer i guess.... mmm in the thread that says something like "is it safe to use tmous 2.10 as base rom to cook wwe?" or something like that search using the tool you have the right keywords you will have the right answer
Thanks so much for the answers guys - exactly what i was after - i'll get cracking with these tonight
I think i've found the info i need for enabling the 576mb RAM - i guess i'm just using the incorrect Tmous base, i'll download another and see what the result is...
Cheers
Paul
paulrgod said:
Thanks so much for the answers guys - exactly what i was after - i'll get cracking with these tonight
I think i've found the info i need for enabling the 576mb RAM - i guess i'm just using the incorrect Tmous base, i'll download another and see what the result is...
Cheers
Paul
Click to expand...
Click to collapse
you need the nk.exe from a tmous rom, plus a radio of 2.06.50.x or higher, but only with 50 in the radio version, not the 51 radios.

[Solved] How to Stop ActiveSync from starting automatically

In this thread solved the question how to stop activesync running in backround automatically. All the credits goes to AndrewSH! Please find his post:
http://forum.xda-developers.com/showpost.php?p=16832363&postcount=5
I would like to know this as well.
Think I have the answer but will need testing. Go to Settings -> Data Services -> Internet Time Sync and turn it off.
As I said think this will work but needs futher testing to be sure.
GhostXSeries said:
Think I have the answer but will need testing. Go to Settings -> Data Services -> Internet Time Sync and turn it off.
As I said think this will work but needs futher testing to be sure.
Click to expand...
Click to collapse
Will try that and give a feedback mate!
So no-one wants to answer? Ok ....
You guys would do the following:
1. Patch ossvcs.dll
Go SYS\OS\ossvcs.dll\S000
Open with any hex editor
Find F9FEFFEB0410 and replace for 000000000410
It's about repllog.exe/hidden start
2. Take file from attachment and replace one in your future rom. It's mxip_notify.vol - already patched.
Thus your AS will start only when you connect the usb. And you both will enter the club of completely out of sync guys
Ok, trying to patch the S000 file as you suggested. I have downloaded Free Hex Editor NEO and opened S000. I have tried to find F9FEFFEB0410 but getting pattern not found error.
I am using os 21913 6.5.0. I have attached a copy of my dll file.
View attachment ossvcs.dll.zip
And oh yes I was way out of sync even before I started cooking roms, so I shouldn't notice any difference
GhostXSeries
Only your S000 is attached - I patched it for you.
Cheers, Odd that I couldn't find the address!
Well Andrew,
I think You have the answer to any question . Thanks mate for your great help
Regards,
Skyguar
Hi Andrew,
will the patched mxip_notify.vol work on any 6.5.x build or it is sys dependent?
I'm using your 29022 at the moment.
ypsmav, it should work on any latest builds.
As for me - I don't use that fix because I don't see any problems with ActiveSync. It behaves as it would do to my opinion. And I can not understand that a lot of guys here feel hatred for this program
I agree it does work the way it should, but I dont like the fact that it needs to run 24x7 taking up unnecessary resourses. I only want programs to start when I start them
AndrewSh said:
So no-one wants to answer? Ok ....
You guys would do the following:
1. Patch ossvcs.dll
Go SYS\OS\ossvcs.dll\S000
Open with any hex editor
Find F9FEFFEB0410 and replace for 000000000410
It's about repllog.exe/hidden start
2. Take file from attachment and replace one in your future rom. It's mxip_notify.vol - already patched.
Thus your AS will start only when you connect the usb. And you both will enter the club of completely out of sync guys
Click to expand...
Click to collapse
This patched mxip_notify.vol does not work on 6.5.2 (build 21916).
What is the patching string may we know?
If you look at post #7 I have the s000 file patched. This is for os 21916 and is from the ossvcs.dll file. It works perfectly for me. Now active sync only starts when I plug in the usb cable!
GhostXSeries said:
If you look at post #7 I have the s000 file patched. This is for os 21916 and is from the ossvcs.dll file. It works perfectly for me. Now active sync only starts when I plug in the usb cable!
Click to expand...
Click to collapse
Kindly read my above post carefully. I am commenting upon the mxip_notify.vol which was posted by @andrewSH and not about the ossvcs.dll. I have managed to patch the ossvcs.dll as was suggested by @andrewSH in his post.
regarding mxip_notify.vol, when I use it then all the xml files cannot be read properly and the device gives error on boot.
I guess, this one which is posted here not for 6.5.2 (perhaps).
May we have the correct mxip_notify.vol for 6.5.2 here or the patching string....
Sorry man my bad! I tried that mxip_notify.vol along with the s000 andrewSH posterd for me and it worked perfectly. I just checked my phone. I am using os 21913 not 21916 so there must be minor differences between it and 21916 but the combo works for me. Can you upload your file and I will compare the diffierences with mine?
Also what error message re you getting when you try to boot the phone?
GhostXSeries said:
Sorry man my bad! I tried that mxip_notify.vol along with the s000 andrewSH posterd for me and it worked perfectly. I just checked my phone. I am using os 21913 not 21916 so there must be minor differences between it and 21916 but the combo works for me. Can you upload your file and I will compare the diffierences with mine?
Also what error message re you getting when you try to boot the phone?
Click to expand...
Click to collapse
Here it is..
1. Mxip_Notify.vol posted by AndrewSH Gives problem (xml not loading. Gives error box saying "failed to load xxxx.xml)
2. Mxip_Notify.vol original from 21916 (I am using) gives no problem
3. OSSVCS.DLL S000 Patched as described by AndrewSH in his post

Categories

Resources