|
|
#1 |
|
Team Member
Lasyk Titanium Member
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. ![]() 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. ![]() 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). ![]() Flashing can go wrong and may render your phone unusable. This will also render your warranty VOID! DO THIS AT YOUR OWN RISK! ![]() 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">
Code:
<menu id="MainMenu" layout="DesktopTopMenuGFX2">> 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) ![]() 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"/> ![]() 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). ![]() 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"/>
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>
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) ![]() 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>
![]() 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>
![]() 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). ![]() 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 |
|
|
|
|
|
#2 |
|
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 |
|
|
|
|
|
#3 |
|
Team Member
Lasyk Titanium Member
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
__________________
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 |
|
|
|
|
|
#4 |
|
Team Member
Lasyk Titanium Member
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 |
|
|
|
|
|
#5 | |
|
myForum Moderator
Lasyk Titanium Member
Join Date: Jan 2005
Location: CYBERSPACE WHERE ELSE :)
Posts: 4,676
|
Quote:
__________________
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 |
|
|
|
|
|
|
#6 |
|
Team Member
Lasyk Active Member
Join Date: Feb 2007
Location: UK
Posts: 194
|
Original SE W850i Menu.ml with icons
__________________
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 |
|
|
|
|
|
#7 |
|
Team Member
Lasyk Gold Member
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...
__________________
|
|
|
|
|
|
#8 |
|
Registered User
Lasyk Friend
Join Date: Mar 2005
Posts: 25
|
Thanks for the Guide.
|
|
|
|
|
|
#9 |
|
Team Member
Lasyk Titanium Member
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 |
|
|
|
|
|
#10 |
|
Registered User
Lasyk Friend
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 |
|
|
|
|
|
#11 |
|
Team Member
Lasyk Titanium Member
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 |
|
|
|
|
|
#12 |
|
Registered User
Lasyk Friend
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? |
|
|
|
|
|
#13 |
|
Team Member
Lasyk Titanium Member
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 |
|
|
|
|
|
#14 |
|
Registered User
Lasyk Friend
Join Date: Jan 2008
Posts: 15
|
|
|
|
|
|
|
#15 | |
|
Team Member
Lasyk Titanium Member
Join Date: Dec 2006
Location: TPA\Preset\Lasyk!
Posts: 4,568
|
Quote:
__________________
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 |
|
|
|
|
|
|
#16 |
|
Registered User
Lasyk Friend
Join Date: Jan 2008
Posts: 15
|
|
|
|
|
|
|
#17 |
|
Team Member
Lasyk Power Member
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 |
|
|
|
|
|
#18 |
|
Team Member
Lasyk Gold Member
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.
__________________
|
|
|
|
|
|
#19 |
|
Registered User
Lasyk Friend
Join Date: Jan 2008
Posts: 15
|
|
|
|
|
|
|
#20 |
|
Registered User
Lasyk Friend
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? |
|
|
|
![]() |
| Thread Tools | |
|
|