[Touch Diamond, MDA Compact IV ROM Development] peetx:
Further customizing your ROM!

RADIO

You can find recommended Radio 1.14.25.05 for latest Nataly ROM here: http://customroms.com/diam_radio_1.14.25.05.rar - Mondilv did include the corresponding rilphone.dll already in Nataly Rom!

Be shure your device is Security unlocked, which is not the same as SIM-Unlocked!!!

Read this thread please: http://xdaforums.com/showthread.php?t=470306! and thereafter this thread: http://xdaforums.com/showthread.php?t=414835!

To not let you get confused at this point a short tip to security unlock: First flash the Radio 1.00.25.05 on your phone, after that start DiamondSecUnlocker.exe from your PC and click Step 1 button. Now the flashing gui of the DiamondCustomRUU will pop up and let you flash the Radio 1.20 Olinex (which you did not see in the zip-package before :D) after that is done you will be able to complete Step 2 of the still running SecUnlocker on your PC and you will get order to complete unlock on your device. There you have to set the wanted options and close it on device. Now the SecUnlocker on PC comes to end and after this all you will be able to flash any radio onto your device you want (as long as you see text "Security Unlocked on your three colored bootup screen before flashing process). Beware of what you flash, you could even flash $¥%¢¤#in Nokia radio firmware now onto your device and brick it!!! To lock security again you will need this tool: http://xdaforums.com/attachment.php?attachmentid=155646&d=1234206431!

Comment: At the same day and weather conditions inbetween one hour with Radio 1.09.25.23, GPS needed about ~40 seconds to get 4/5 satellites fixed - with Radio 1.14.25.05 i got 9/10 satellites fixed in about ~30 seconds, which is quite a difference.

-----------------------------------​

Custom Folders

If you want to make custom folders and sort your programs in YOUR way do it this way:

make new unique named directory under path EXT/Diamond/ eg. "xyzYOURdir"

make new directory named "files" in that directory [EXT/Diamond/xyzYOURdir/files]

in "files" directory create new file named: "mxipupdate_xyzYOURdir_100.provxml"

in that file put code:

<wap-provisioningdoc>
<characteristic type="FileOperation">

<characteristic type="%CE11%\YOURdir" translation="install">
<characteristic type="MakeDir" />

[COLOR="Blue"] <characteristic type="icon.lnk" translation="install">
<characteristic type="Shortcut">
<parm name="Source" value="\Windows\shellres.192.dll,-8216" translation="install" />
</characteristic>
</characteristic> [/COLOR]

<characteristic type="Streaming Media.lnk" translation="install">
<characteristic type="[B]Shortcut[/B]">
<parm name="Source" value="\Windows\StreamingPlayer.exe" translation="install" />
</characteristic>
</characteristic>
<characteristic type="Windows Media.lnk" translation="install">
<characteristic type="[B]Copy[/B]">
<parm name="Source" value="\Windows\WMPlayer.lnk" translation="install" />
</characteristic>
</characteristic>
<characteristic type="Calculator.lnk" translation="install">
<characteristic type="[B]Move[/B]">
<parm name="Source" value="%CE11%\Calculator.lnk" translation="install" />
</characteristic>
</characteristic>

[COLOR="Red"] <characteristic type="%CE11%\Pictures [B]&[/B] Videos.lnk" translation="install">
<characteristic type="[B]Delete[/B]">
<parm name="ForceDelete"/>
</characteristic>
</characteristic>[/COLOR]

</characteristic>

</characteristic>
</wap-provisioningdoc>

Did you notice the blue part, this is creation of shortcut which is assigned with special icon like told here beneath -->

Okay you can move links or copy and later delete the source! Pay attension on paths and spelling, if special characters are used in name of link use html code as in sample, for paths there is no way to mask those, then make new shortcut from exe and delete old original, but that has to take place later and NOT here, put that delete (red) section in EXT/Diamond/zconfig/finish.provxml! Microsoft even recommends to put each command in own dir-tags (remember ONE mistake/mistype/etc. and the whole prv-file is ignored/rejected!) so the prov-file in Office oem package is nice commented file to learn. Here is listing of %CE%-commands!

-----------------------------------​

Folder Icons

You can customize every folder in startmenu by adding an icon to it (likewise Office or Games folders) In those directories there is an "icon.lnk" file which has a string inside, eg: 33#"\Windows\shellres.192.dll,-8216"

the number before # is the stringlength behind it

By changing the number and or referenced dll you can assign different icons to the folder the file is in. There are even several cabs to install whole folder-themes in the forum to find.

-----------------------------------​

Add email account to ROM

Add this eg. in your custom folders "mxipupdate_xyzYOURdir_100.provxml"

<characteristic type="EMAIL2">
<characteristic type="{[COLOR="red"]XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX[/COLOR]}">
<parm name="SERVICENAME" value="Bobs Mail Account" />
<parm name="SERVICETYPE" value="POP3" />
<parm name="INSERVER" value="mail.northwindtraders.com" />
<parm name="OUTSERVER" value="smtp.northwindtraders.com" />
<parm name="NAME" value="Bob Kelly" />
<parm name="REPLYADDR" value="bobk@northwindtraders.com" />
<parm name="AUTHNAME" value="bobk" />
<parm name="AUTHSECRET" value="bobs_password" />
<parm name="DOMAIN" value="" />
<characteristic type="NAMEDPROPS">
<parm name="MyNamedProp#0003" value="1" />
<parm name="AnotherNamedProp#0003" value="200" />
</characteristic>
<characteristic type="TAGPROPS">
<parm name="8128000B" value="1"/>
<parm name="812C000B" value="1"/>
</characteristic>
</characteristic>
</characteristic>

<GUID>

Defines one specific e-mail account. This is a globally unique identifier (GUID --> example: {1b57531a-54a0-4f2e-ab75-3b015628da62}) that you must generate for each new account, use your imagination or maybe OEMizer - section popEmail - just copy the content of prov-file :D.

-----------------------------------​

MANILA

To edit Manila grafical files you may search for this cool tool, coded by Chainfire, at this thread CFC GUI - THE Manila/TF3D Image Editor. With this tool you are able to get files directly from device, decompress them for beeing able to edit (and save to local disk), afterwards recompress them and send them back to device again (to check)- what more could we need?

To edit the manila language files you may use most text editors - i use simply notepad :D, for configuration files u may use mode9 editor

Or if you do not plan to integrate them in ROM you may use TF3D Config!

I've done some files for Manila icons and clock to customize Nataly Design you find attached below.

Add weather city to Manila

Simply edit app.reg file in "EXT/Diamond/Manila ...." (Notepad) and add this way: ""Weather.CityList"="EUR|DE|GM001|BERLIN""

In same reg file you may define your

program links manila displays

:

[HKEY_LOCAL_MACHINE\Software\HTC\Manila\ProgramLauncher\0]
"DispName"="Album"
"IconPath"=""
"IsReadOnly"=dword:0
"Path"="\Windows\Start Menu\Programs\Album.lnk"