myForum Lasyk Networks Upload at Lasyk Networks
REGISTER NOW
FAQ
Go Back   myForum > Sony Ericsson > Tutorials & Mods


New! Use your Facebook, Google, AIM & Yahoo accounts to securely log into this site, click logo to login  
Reply
 
Thread Tools
Old 12-09-2007   #1
solidsnake204
Team Member
Lasyk Titanium Member
 
solidsnake204's Avatar
 
Join Date: Dec 2006
Location: TPA\Preset\Lasyk!
Posts: 4,568
menu.ml Modding Guide

What is menu.ml?
The menu.ml is the file in your phone that defines:
The Main Menu and sub menu's (Except File Manager)
-The Layout (4x3 Grid, List or Full Screen)
-What the icons go to
-And the icons (images) for the icons.
Where is it found?
It is found in tpa/preset/system/menu
-And Where is that?
It's hidden inside the phone, you need a hacking program to access it.
What if it goes wrong?
When you try to enter the menu, you get greeted with a message saying "Errors occur in the menu.ml file. This may render the menu unusable".
You may (and probably will), get missing icons, no menu and other problems.
You should have backed up your original menu.ml, if you did, good on you, and flash that menu.ml back to your phone.
If you didn't back it up however, you will need to find the original menu.ml for your phone (Also look at the end of the guide because I have attached some menu.ml's, it would also be helpful if you could post your menu.ml's for other users to share).
Word of warning
Flashing can go wrong and may render your phone unusable.
This will also render your warranty VOID!
DO THIS AT YOUR OWN RISK!

[LEFT]Editing your menu.ml
Open it in Notepad, and you'll get something similar to this:
This is a bit of the K510 menu.ml
Code:
<?xml version="1.0" encoding ="UTF-8" standalone="yes"?>
<mml ver="1.0">
  <menu id="Cleo_Generic_Id">
    <element id="MainMenu">
      <menu id="MainMenu" layout="DesktopTopMenuGFX2">>
        <accelerator>MapToKeypad</accelerator>
        <highlight>4</highlight>
        <!-- Desktop Element 1  using DESKTOP_HOOK_5 -->
        <element id="Desktop_Hook_5_Id" replace="next">
          <label type="name" textid="SONYERICSSON_TXT"/>
          <icon pos="unselected" source="internal">DESKTOP_OPERATOR_ICN</icon>
          <icon pos="selected" source="internal">DESKTOP_OPERATOR_SELECTED_ICN</icon>
          <link type="internal"/>
        </element>
        <element id="Alarm_Id">
Editing the menu layout
Code:
<menu id="MainMenu" layout="DesktopTopMenuGFX2">>
Ignore the menu id bit, the layout part is what the form the main menu takes:
DesktopTopMenuGFX2 = The standard SE menu style (4x3 grid)
DesktopTopMenuGFX1 = Same as above but slightly different animations
DesktopFullScreen = This displays one icon at a time (SE J-Series Style)
TwoRowHighlight = This displays the menu with the two row highlight (Like in the contacts menu)
SingleRow = This displays the menu with the single row highlight (Like in File Manager)
Changing where an icon goes to
You can change this by editing the line (one below is the camera)
<element id="CameraPictures">
This below would link it to the File Manager:
<element id="FileManager">

Look through your menu.ml to see what you can link to.

You can also link to a java aplication:
By changing the name to the application name (read below) (eg. Opera Mini) and then changing <link type="internal"/> to <link type="java" javasuitename="THE APPLICATION NAME" javasuitevendor="THE VENDOR" javasuitepoint="JAVA SUITE POINT (I don't know where to find this)"/>

Here's the link type for some JAVA applications:
Opera Mini: <link type="java" javasuitename="Opera Mini" javasuitevendor="Opera Software ASA" javasuitepoint="Browser"/>
KD Player: <link type="java" javasuitename="KD Player" javasuitevendor="Knyzhov Dmitry" javasuitepoint="KDPlayer"/>
BT Info: <link type="java" javasuitename="'BT INFO" javasuitevendor="Marek Šedivý" javasuitepoint="start"/>
Editing the name
You can change the name of an icon by editing <label type="name" textid="_EXAMPLE_"/> to (If a menu, eg Settings) <label type="title"><text>YourOwnTextHere</text></label> or if your menu goes to something (eg. Camera) <label type="name"><text>YourOwnTextHere</text></label>

Adding an info box.
You can add an info box (Where you press the right softkey button and a info box comes up saying what it does).
To add one, enter this line below the name label line: <label type="helptext"><text>YourTextHere</text></label>

Editing the icons (the pictures)
You can either load the images from the firmware (internal) or from tpa/preset/system/menu (file).
Grid Style (The Standard SE main menu layout)
This style uses two images per icon, selected and unselected.
These files can be PNG or Non-Animated GIF (Animated GIF does not animate)

Orignal:
Code:
       <!-- Desktop Element 4 -->
        <element id="Camera">
          <label type="name" textid="MENU_CAMI_TXT"/>
          <icon pos="unselected" source="internal">DESKTOP_CAMERA_ICN</icon>
          <icon pos="selected" source="internal">DESKTOP_CAMERA_SELECTED_ICN</icon>
          <link type="internal"/>
Changed:
Code:
        <!-- Desktop Element 4 -->
        <element id="Camera">
          <label type="name" textid="MENU_CAMI_TXT"/>
          <icon pos="unselected" source="file">icon4_unselected.png</icon>
          <icon pos="selected" source="file">icon4_selected.png</icon>
          <link type="internal"/>
        </element>
You can call your icons whatever names you like, just as long as it's the same name in the menu.ml, but iconX_unselected.png/selected.png (with X being the icon number) are the common names so it's best to stick to them.

Full Screen Menu
Like above but omit the "unselected" line.
Animated GIF's can be used for this menu style.

Single/Double Row Menu
Omit the unselected line and change the "icon pos" from "selected" to "left" (or "right" if you want the icon on the right)
Creating a sub-menu
If you want to turn a icon's location into a sub-menu, change "<link type="internal"/>" into "<menu id="MenuID_GoesHere">".
If your creating a new menu, use whatever menu id you want.

Then to add the title of your menu, add this line below the menu id line: <label type="title"> <text>YourOwnTextHere</text></label>

You can also change the layout of the menu (SingleRow is default) the same way as changing the menu layout (as above).
To change the layout, use this line instead: <menu id="MenuID_GoesHere" layout="LayoutGoesHere">

Now to add items to your sub menu:

Here's one selection:
Code:
            <element id="VideoDJ">
              <label type="name" textid="MENU_VIDEO_EDITOR_TXT"/>
              <icon pos="left" source="internal">ENTERTAINMENT_MENU_VIDEOEDITOR_ICN</icon>
              <link type="internal"/>
            </element>
To add more things to a list, just repeat above.
Here's the Entertainment menu:
Code:
            <element id="SimApplicationToolkit">
              <label type="name" textid="MENU_SAT_DEFAULT_MAIN_MENU_HEADER_TXT"/>
              <label type="helptext" textid="MENU_SAT_DEFAULT_MAIN_MENU_HEADER_HLP"/>
              <icon pos="left" source="internal">MENU_SAT_ICN</icon>
              <link type="internal"/>
            </element>
            <element id="PlayNow">
              <label type="name" textid="DIL_PRE_PLAY_LINK_TXT"/>
              <icon pos="left" source="internal">ENTERTAINMENT_MENU_PLAYNOW_ICN</icon>
              <link type="internal"/>
            </element>
            <element id="Games">
              <label type="name" textid="DB_GAMES_TXT"/>
              <icon pos="left" source="internal">ENTERTAINMENT_MENU_GAMES_ICN</icon>
              <link type="internal"/>
            </element>
            <element id="VideoDJ">
              <label type="name" textid="MENU_VIDEO_EDITOR_TXT"/>
              <icon pos="left" source="internal">ENTERTAINMENT_MENU_VIDEOEDITOR_ICN</icon>
              <link type="internal"/>
            </element>
            <element id="PictureEditor">
              <label type="name" textid="MENU_PICTURE_EDITOR_TXT"/>
              <icon pos="left" source="internal">ENTERTAINMENT_MENU_PICTUREEDITOR_ICN</icon>
              <link type="internal"/>
            </element>
            <element id="MidiComposer">
              <label type="name" textid="MENU_SUBPROJECT_MIDI_COMPOSER_TXT"/>
              <icon pos="left" source="internal">ENTERTAINMENT_MENU_MIDI_COMP_ICN</icon>
              <link type="internal"/>
            </element>
            <element id="MenuItem_Bt_HID">
              <label type="name" textid="MENU_BT_REMOTE_CONTROL_TXT"/>
              <icon pos="left" source="internal">MENU_BT_REMOTE_CONTROL_ICN</icon>
              <link type="internal"/>
            </element>
            <element id="SoundRecorder">
              <label type="name" textid="MENU_VOICE_MEMO_TXT"/>
              <label type="helptext" textid="MENU_VOICE_MEMO_HLP"/>
              <icon pos="left" source="internal">ENTERTAINMENT_MENU_SOUNDRECORDER_ICN</icon>
              <link type="internal"/>
            </element>
            <element id="DemoMode_Id">
              <label type="name" textid="MENU_PROMOTION_VIDEO_TXT"/>
              <label type="helptext" textid="MENU_PROMOTION_VIDEO_HLP"/>
              <label type="unavailable" textid="MENU_PROMOTION_VIDEO_NOT_AVAILABLE_TXT"/>
              <icon pos="left" source="internal">ENTERTAINMENT_MENU_DEMOTOUR_ICN</icon>
              <link type="internal"/>
            </element>
Then to end your menu, add </menu> then a </element> below that.
Click here to know how to put your custom menu onto your phone.

When I get the time, I'll add more to the guide.
You can also contribute to the guide by post suggestions below
(And also to the original menu.ml section).


Thank You for Reading.
Solidsnake204
__________________
Do not PM me, I'm not active on this forum so PM's will be unanswered.

http://sfx-images.mozilla.org/affili...2_best-yet.png

Last edited by solidsnake204; 05-04-2008 at 11:41 PM. Reason: Updated Link
solidsnake204 is offline   Reply With Quote
Old 12-10-2007   #2
-spyder-
Team Member
Lasyk Active Member
 
Join Date: Feb 2007
Location: UK
Posts: 194
Cool, thanks for this
__________________
Custom operator name and layout/Startup,Shutdown, Splash Screens/Sounds, Menu Icons | 'Digital' font | Walkman Skins, Visualizations | 1GB Mem | fNatic's MegaPatchV3 | Unlocked with patch | Changed Sysgfx
-spyder- is offline   Reply With Quote
Old 12-10-2007   #3
solidsnake204
Team Member
Lasyk Titanium Member
 
solidsnake204's Avatar
 
Join Date: Dec 2006
Location: TPA\Preset\Lasyk!
Posts: 4,568
Orignal menu.ml's

Please post your menu.ml's, then they'll get added here.
ZIP the files to post them here.

W850 Menu.ml (Thanks -spyder-)
W610 Menu.ml (Thanks Dimas.94)
Menu.ml Megapack (Thanks PsYcHo[666]) Contains: K310, K510, K750, K790, K800, W300, W550, W600, W710, W800, W810, W850, W900, Z520, Z530.
T650 Menu.ml
Attached Files
File Type: zip K800 Menu.ml .zip (7.5 KB, 317 views)
File Type: zip W800 Menu.ml .zip (6.4 KB, 72 views)
File Type: zip W810 Menu.ml .zip (6.3 KB, 233 views)
File Type: zip K510 Menu.ml .zip (6.1 KB, 39 views)
__________________
Do not PM me, I'm not active on this forum so PM's will be unanswered.

http://sfx-images.mozilla.org/affili...2_best-yet.png

Last edited by solidsnake204; 01-18-2008 at 06:31 PM. Reason: Added T650 Menu.ml
solidsnake204 is offline   Reply With Quote
Old 12-10-2007   #4
solidsnake204
Team Member
Lasyk Titanium Member
 
solidsnake204's Avatar
 
Join Date: Dec 2006
Location: TPA\Preset\Lasyk!
Posts: 4,568
@ -spyder-

Thanks
__________________
Do not PM me, I'm not active on this forum so PM's will be unanswered.

http://sfx-images.mozilla.org/affili...2_best-yet.png
solidsnake204 is offline   Reply With Quote
Old 12-11-2007   #5
kobrakaan
myForum Moderator
Lasyk Titanium Member
 
kobrakaan's Avatar
 
Join Date: Jan 2005
Location: CYBERSPACE WHERE ELSE :)
Posts: 4,676
Quote:

May this thread get stickied

.
Solidsnake204
nope
__________________
Always remember to use the SEARCH! Please avoid sending me a PM to ask!
or just ask in the APPROPRIATE area of the forum thats what the forums all about THANK U! find the WAP VIA BROADBAND guide here! & the JDK here & SE-SDK here & get SUPER VIDEO convertor & OPERA MINI
kobrakaan is offline   Reply With Quote
Old 12-11-2007   #6
-spyder-
Team Member
Lasyk Active Member
 
Join Date: Feb 2007
Location: UK
Posts: 194
Original SE W850i Menu.ml with icons
Attached Files
File Type: zip original_w850i_menu.zip (95.8 KB, 461 views)
__________________
Custom operator name and layout/Startup,Shutdown, Splash Screens/Sounds, Menu Icons | 'Digital' font | Walkman Skins, Visualizations | 1GB Mem | fNatic's MegaPatchV3 | Unlocked with patch | Changed Sysgfx
-spyder- is offline   Reply With Quote
Old 12-11-2007   #7
ToxicGTE
Team Member
Lasyk Gold Member
 
ToxicGTE's Avatar
 
Join Date: Jan 2007
Location: London, England, West Europe, Just north of France
Posts: 728
I posted a thread ages ago titled REAL Menu.ml editor. Its a program that does the same thing but you add/delete your own menus, change subicons etc with relative ease. I thought the Notepad option was too open for the slightest error, resulting in the "Menu unusable" too often...
ToxicGTE is offline   Reply With Quote
Old 12-11-2007   #8
bazish
Registered User
Lasyk Friend
 
Join Date: Mar 2005
Posts: 25
Thanks for the Guide.
bazish is offline   Reply With Quote
Old 12-11-2007   #9
solidsnake204
Team Member
Lasyk Titanium Member
 
solidsnake204's Avatar
 
Join Date: Dec 2006
Location: TPA\Preset\Lasyk!
Posts: 4,568
@ kobrakaan
Thanks for the sticky.

@ -spyder-
Thanks for the W850 menu.

@ ToxicGTE
And that program is in beta.
And it supported only a few phones.

@ bazish
No problem.
__________________
Do not PM me, I'm not active on this forum so PM's will be unanswered.

http://sfx-images.mozilla.org/affili...2_best-yet.png
solidsnake204 is offline   Reply With Quote
Old 01-04-2008   #10
brutalsoul
Registered User
Lasyk Friend
 
brutalsoul's Avatar
 
Join Date: Jan 2008
Posts: 15
problem

Platform: DB2020
OTP CID: 49
EROM CID: 52
EROM Color: Red
Phone ID: W850
Region: APAC
CDA: CDA102568/101 R5A
Firmware Version: R1KG001
EROM: R3A016
i have mod the menu.ml and after uploaded it, whn i press menu button...nothing functional. tha bad thing is i didnt backup the original menu.ml and i search luckily -spyder- have provided the ori menu.ml for
w850...but after restore it, the problem still is still the same...anything wrong or what can i do?

thanks in advance
brutalsoul is offline   Reply With Quote
Old 01-04-2008   #11
solidsnake204
Team Member
Lasyk Titanium Member
 
solidsnake204's Avatar
 
Join Date: Dec 2006
Location: TPA\Preset\Lasyk!
Posts: 4,568
Did you upload everything?
__________________
Do not PM me, I'm not active on this forum so PM's will be unanswered.

http://sfx-images.mozilla.org/affili...2_best-yet.png
solidsnake204 is offline   Reply With Quote
Old 01-04-2008   #12
brutalsoul
Registered User
Lasyk Friend
 
brutalsoul's Avatar
 
Join Date: Jan 2008
Posts: 15
yes indeed...
this is the XS++log file

19:48:02| Profiling SEMC phone...

19:48:02| Platform: DB2020

19:48:02| OTP CID: 49

19:48:02| EROM CID: 52

19:48:02| EROM Color: Red

19:48:02| IMEI: 35240101xxxxxx

19:48:02| Phone ID: W850

19:48:02| Region: APAC

19:48:02| CDA: CDA102568/101 R5A

19:48:02| Firmware Version: R1KG001

19:48:02| EROM: R3A016

19:48:02| Ready for operation!

19:48:03| After making any changes with FSX

19:48:03| you must press the 'Shutdown' button

19:48:05|

19:48:05| Sending db2020_cid01_prodid_p3j.bin...

19:48:05| Applet ID: 070129 0950 NGUCXC1250330_DB2020_PRODUCTIONIDLOADER_P3J

19:48:05| This is a PRODUCTION_ID loader

19:48:05|

19:48:05| Sending db2020_mem_patcher_cid52_r2a006.bin...

19:48:05| Applet ID: 061205 1523 HANCXC9876543210_DB2020_MEM_PATCHER_R2A006 0

19:48:05| This is a MEM_PATCHER loader

19:48:05|

19:48:05| Sending db2020_red52_cs_r3a009.bin...

19:48:07| Applet ID: 070410 1557 HANCXC1250562_DB2020_CSLOADER_R3A009

19:48:07| This is a CHIPSELECT loader

19:48:07| Activating loader...

19:48:07| Activating GDFS...

19:48:29| This loader is UNLOCKED

19:48:29| Success! CS-loader has been unlocked!

19:48:29| Please wait while XS builds a list of directories...

19:48:29| Activating filesystem

19:48:45| Device FS mapped...OK!

19:53:15| Uploading C:\Desktop\W810 Menu.ml\menu.ml to /tpa/preset/system/menu/menu.ml

19:53:15| Creating directory /tpa

19:53:15| Creating directory /tpa/preset

19:53:15| Creating directory /tpa/preset/system

19:53:15| Creating directory /tpa/preset/system/menu

19:53:15| Deleting file /tpa/preset/system/menu/menu.ml

19:53:15| Deleted...OK!

19:53:15| Uploading file /tpa/preset/system/menu/menu.ml

19:53:16| Done uploading

19:53:19| Shutting down FS Services

19:53:19| Shutdown...OK

19:53:19| Disconnecting phone...

19:53:19| You may now unplug your phone.

19:53:22| FSX Shutdown!

19:53:22| Disconnected... Unplug the phone

19:53:24| Shutting down..

is there anything wrong?? what can i do now?
brutalsoul is offline   Reply With Quote
Old 01-04-2008   #13
solidsnake204
Team Member
Lasyk Titanium Member
 
solidsnake204's Avatar
 
Join Date: Dec 2006
Location: TPA\Preset\Lasyk!
Posts: 4,568
What version of XS++ are you using?
__________________
Do not PM me, I'm not active on this forum so PM's will be unanswered.

http://sfx-images.mozilla.org/affili...2_best-yet.png
solidsnake204 is offline   Reply With Quote
Old 01-04-2008   #14
brutalsoul
Registered User
Lasyk Friend
 
brutalsoul's Avatar
 
Join Date: Jan 2008
Posts: 15
Quote:
Originally Posted by solidsnake204 View Post
What version of XS++ are you using?
XS++ v3.1 (Darwin)
brutalsoul is offline   Reply With Quote
Old 01-04-2008   #15
solidsnake204
Team Member
Lasyk Titanium Member
 
solidsnake204's Avatar
 
Join Date: Dec 2006
Location: TPA\Preset\Lasyk!
Posts: 4,568
Quote:
19:48:29| Activating filesystem
19:48:45| Device FS mapped...OK!
19:53:15| Uploading C:\Desktop\W810 Menu.ml\menu.ml to /tpa/preset/system/menu/menu.ml
19:53:15| Creating directory /tpa
19:53:15| Creating directory /tpa/preset
19:53:15| Creating directory /tpa/preset/system
Are you trying to use a W810 menu.ml?
__________________
Do not PM me, I'm not active on this forum so PM's will be unanswered.

http://sfx-images.mozilla.org/affili...2_best-yet.png
solidsnake204 is offline   Reply With Quote
Old 01-04-2008   #16
brutalsoul
Registered User
Lasyk Friend
 
brutalsoul's Avatar
 
Join Date: Jan 2008
Posts: 15
Quote:
Originally Posted by solidsnake204 View Post
Are you trying to use a W810 menu.ml?
i hv try to upload both w850 n w810...but also failed...can some 1 email or post the ori w850 menu.ml??
brutalsoul is offline   Reply With Quote
Old 01-04-2008   #17
runedrune
Team Member
Lasyk Power Member
 
runedrune's Avatar
 
Join Date: Oct 2007
Location: Someplace Dark
Posts: 410
It's already posted.
__________________
My W810i
Satin Black
R4EA031
512MB MC
10+ Flash Themes
RaKisTa™ f1naL MonsterBass
Sarmad's Camera Driver 6.0
Deleted Protected Files
Custom Model Name
Removed Operator Logo
144 Camera Frames
W810i Extreme Startup and Shutdown Animation

I Sony Ericsson
runedrune is offline   Reply With Quote
Old 01-04-2008   #18
ToxicGTE
Team Member
Lasyk Gold Member
 
ToxicGTE's Avatar
 
Join Date: Jan 2007
Location: London, England, West Europe, Just north of France
Posts: 728
I refer to my previous post... Anyway, you can load any menu.ml into the editor, or use the default ones thats in the program... Using a different menu.ml from a different phone isn`t a wise choice either.
ToxicGTE is offline   Reply With Quote
Old 01-04-2008   #19
brutalsoul
Registered User
Lasyk Friend
 
brutalsoul's Avatar
 
Join Date: Jan 2008
Posts: 15
Quote:
Originally Posted by runedrune View Post
It's already posted.
As i stated earlier, original_w850i_menu.zip posted by -spyder- cannot be use by my phone...after uploaded n done the nescessary step, the same problem occurs "Erros occur in the menu.ml file. This may render the menu unusable"
brutalsoul is offline   Reply With Quote
Old 01-04-2008   #20
brutalsoul
Registered User
Lasyk Friend
 
brutalsoul's Avatar
 
Join Date: Jan 2008
Posts: 15
ToxicGTE

can u post ur original w850 menu.ml?
JUst wan to make sure again, the menu.ml flash it into /tpa/preset/system/menu/**here**, right?
brutalsoul is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +2. The time now is 02:40 PM.

myForum The Mobile Phone Forum - Archive - Top

www.lasyk.net
Copyright © 2009 Lasyk Networks. All rights reserved.