[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Quentin-:
Hermes Upgrading Guide - Part 2/2

[ Part IV - Create Custom ExtROM (Optional) ]

FILE:	/Hermes/Tools_and_Programs/HERMES_MountExtROM.CAB

WIKI:	http://wiki.xda-developers.com/index.php?pagename=Hermes_Unhide_Extrom

WIKI:	http://wiki.xda-developers.com/index.php?pagename=Hermes_ExtendedRoms

This is probably the most complicated part and by no means is it necessary for you

to create your own custom ExtROM; however if you would like a customized installer

that includes your own desired applications and settings, then this section is for

you. Download the HERMES_MountExtROM.CAB file, and install it on your device. Then

perform a soft reset and the \Extended_ROM folder should now be available.

Generally it is recommended to copy this folder to your main computer, and operate

on it from that platform. Using the second wiki page linked above, and information

from forums, download whichever ExtROM zipfiles may have additional files you wish

to have in your custom ExtROM. Also download (or extract) cab files for any custom

applications you wish to include in your "cooked" ExtROM.

You will generally have to play around quite a bit doing many hard resets pressing

the left and right softkeys while pressing reset until you have determined all the

necessary cab files that result in your desired operation. The Config.txt file has

a listing of all the commands that are performed during the installation of ExtROM

cab files and settings. Of course, every time you do a hard reset you will have to

download and run the HERMES_MountExtROM.CAB file again in order to be able to have

access the ExtROM. The following is a list of commands for the Config.txt file:

CAB: \<directory>\<filename>

This is the install directive, with the argument being the full path to a CAB file

that is to be installed. The directory is usually "Extended_ROM" since the rest of

the device will be clear; however it can be set to point to a directory on storage

cards (though this is not recommended for obvious reasons--the storage card is not

guaranteed to be present during a hard reset of the device).

EXEC:\<directory>\<filename>

This is used to execute a file present either in the Extended_ROM, or somewhere on

the device itself (or again possibly on a storage card). Usually on the Hermes for

instance you might see "EXEC:\Windows\SetHSDPA.exe /Disable" if the ROM has chosen

to disable HSDPA (please note that this file is not always present on all versions

of ROMs).

CPY1:<directory>\<srcfile> / CPY2:\<directory>\<dstfile>

These commands are used to copy a file from one place to another, CPY1 is used for

identifying the file to copy and CPY2 is used to point to its destination. They're

quite useful if you need to copy settings, or other information from the ExtROM to

the main filesystem. As with CAB and EXEC there are technically no restrictions on

the source and destination directories, but it is generally not recommended to use

storage card references from within the ExtROM.

LOCK:Enabled / LOCK:Disabled

These commands lock the user interface so that no input can be made (interference)

during the installation process. Assuming you are installing any unsigned or other

custom applications you will need to put it outside this grouping.

SHOW:<directory>\<bitmap>

This should display a background image during the install process of your choosing

but as I've never had the ocassion to use it I am unsure of the specifications for

the image itself. Search forums for more information if you would like to use it.

HIDE:Enabled / HIDE:Disabled

These commands hide (enabled) and show again (disabled) the "installer" screen for

the ExtROM installation process. These commands are most useful when you have need

to install unsigned applications (or other custom apps that require user input) so

that the user is able to see (and when not in LOCK mode interact with) the install

process for that specific application. Usually you would exit LOCK mode then enter

HIDE mode before performing the installation of non-signed applications.

RST: Reset

This does exactly what you would expect--it performs a soft reset. This command is

usually placed at the end and in fact it shouldn't go anywhere else or the install

will be interrupted at the point of reset (and not resume afterwards).

The following is an example of how one might choose to set up their Config.txt. It

includes installation of cab files, the copying of an application from ExtROM into

main memory and its execution, the interactive installation of applications and an

example interactive application execution. Please note that it is not necessary to

copy an application to main memory in order to execute it.

LOCK:Enabled

CAB: \Extended_ROM\file1.CAB

CAB: \Extended_ROM\file2.CAB

CAB: \Extended_ROM\file3.CAB

CPY1:\Extended_ROM\app.exe

CPY2:\My Documents\app.exe

EXEC:\My Documents\app.exe

LOCK:Disabled

HIDE:Enabled

CAB: \Extended_ROM\app1.CAB

CAB: \Extended_ROM\app2.CAB

EXEC:\Extended_ROM\interactive.exe

HIDE:Disabled

RST: Reset

Thats it! You're on your own from here as to how you would like to create your own

custom ExtROM. You should now have an upgraded ROM/RADIO ROM/ExtROM and a reset of

the device (using the left and right soft keys with reset) will make sure that the

ExtROM is hidden and locked again (and of course provide a fresh install).

Hope this document has been useful, feel free to chime in with additional tips and

any comments on errors in this doc or additional information that may be useful!

-Q