Help - Search - Members - Calendar
Full Version: Tutorial | Add "torch" Function To Menu
SE-NSE Forums > SE Firmware > Firmware Tutorials & Guides
petike215
Tutorial | Add "Torch" function to menu

You will need:
    • A menu.ml for your phone
    • Notepad or any text editor
    • This tutorial smile.gif


    1. Step - Get a menu.ml
    To get your phones original menu.ml download from your phone with A2Uploader/XS++(tpa\preset\system\menu\) or download your phones extracted FS from here. Thanks for devilwasabi!
    2. Step - edit the menu.ml
    Open your menu.ml and search for this part:(This may vary by phone and menu. It can be Desktop element 1-12.)
    CODE
    <!--Desktop Element 11 -->



    Under that part you find the entries from organizer.
    CODE
                <element id="Menu_FlashLight">
                  <label type="name" textid="MENU_FLASH_LIGHT_TXT" />
                  <icon pos="left" source="internal">FLASH_LIGHT_MENU_ICN</icon>
                  <link type="internal" />
                </element>

    Insert this code like in screenshot.

    3.Step - Save
    Save the edited menu.ml and upload to phone! (tpa\preset\system\menu\)





    Enjoy!

    In the attachment I attached the edited menu.ml for C510!
    cchaos
    What phones does this work on?
    Kaosblade
    All phones that supports menu modding I guess. confused.gif
    petike215
    Yes KB you're right on all phones you will have to add that string. But you have to have a phone with LED photo light like C510
    Boysie
    QUOTE (Kaosblade @ 2009-10-30 20:41) *
    All phones that supports menu modding I guess. confused.gif

    And phones with an led flashlight.
    cchaos
    So would this work on my k800? Saves me from using the torch.jar I downloaded
    petike215
    @Boysie
    Yep, but I think I precised that in the long title.
    @cchaos

    K800 has a xenon flash, or not?
    Kaosblade
    QUOTE (Boysie @ 2009-10-30 20:46) *
    And phones with an led flashlight.


    Well that's obvious! tongue.gif
    jock
    Don't anyone of you use the activity menu, it's great for purposes like this blink.gif
    Boysie
    QUOTE (cchaos @ 2009-10-30 20:48) *
    So would this work on my k800? Saves me from using the torch.jar I downloaded

    No mate it wont work. As you know k800 has xenon flash and not led. smile.gif
    cchaos
    QUOTE (petike215 @ 2009-10-30 20:49) *
    @cchaos

    K800 has a xenon flash, or not?

    Xenon, with red/orange LED (torch.jar lights up that LED)

    QUOTE (jock @ 2009-10-30 20:53) *
    Don't anyone of you use the activity menu, it's great for purposes like this blink.gif

    I did on my w810, but I dont think my k800 has it on the activity menu

    EDIT: Hmm, my shortcuts on the k800 activity menu is empty.

    QUOTE (Boysie @ 2009-10-30 20:54) *
    No mate it wont work. As you know k800 has xenon flash and not led. smile.gif

    censored.gif but how come torch.jar works then? Hmmm must be able to use it surely?
    petike215
    QUOTE (jock @ 2009-10-30 22:53) *
    Don't anyone of you use the activity menu, it's great for purposes like this blink.gif

    Activity menu? How? blink.gif

    @cchaos

    You may try it. Tomorrow I will try it on my mother's k800i
    cchaos
    QUOTE (petike215 @ 2009-10-30 20:57) *
    @cchaos

    You may try it. Tomorrow I will try it on my mother's k800i

    Im not trying it tonight: Im kinda busy.

    The earliest I could try it is probably sunday (but even then, Ive made plans)
    Kaosblade
    QUOTE (cchaos @ 2009-10-30 20:56) *
    I did on my w810, but I dont think my k800 has it on the activity menu

    EDIT: Hmm, my shortcuts on the k800 activity menu is empty.

    QUOTE (petike215 @ 2009-10-30 20:57) *
    Activity menu? How? blink.gif



    Erm, on the activity menu > shortcuts tab > at the bottom new shortcut > organiser > Light/Torch

    N0000bs! I'm sure you know this.
    petike215
    @cchaos
    Ok, no problem. Announce us when you have results!

    @Kaosblade
    Ok I got it, but if you don't have an edited menu.ml how you find light in organizer?
    lovedimpy
    I use torch/light by activity menu shortcut. it is so simple. just add new shortcut and direct it to light.. thats it. just a matter of 10 sec to create this shortcut in actuvity menu/shortcut.... if we have so easy option why should we work so much for it ohmy.gif

    and we actually can add few things we frequently use, in the activity menu/shortcut

    Jock is absolutely right on this issue.... smile.gif
    Boysie
    Just tried on my k800 and as expected it doesn't work. You get the menu options for sos etc but no response from the focus assist led.

    I guess the focus assist light works in conjunction with the xenon flash only and is not enabled by this menu mod.
    zlayaa
    Thank you! The premade C510 menu.ml worked! happy.gif
    Jinx13
    It won't work on any phone with zenon flash like C905, K800 etc you need the jar file to make the led use as a torch for K800 and some others wink.gif
    Boysie
    QUOTE (Jinx13 @ 2009-10-30 23:47) *
    It won't work on any phone with zenon flash like C905, K800 etc you need the jar file to make the led use as a torch for K800 and some others wink.gif

    As I thought but it would be nice to use the focus assist led through this menu. It should be easy enough with a patch. If only I knew how to code patches! laugh.gif
    devilwasabi
    Thought i made it for C510, C902, C901 already glare.gif
    petike215
    Yeah, but this tutorial helps people to make it on their own menu.ml . e.g They download a menu.ml from a pack but there is no Light funtion in it. They put that 4 line and it's ready to use.
    This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
    Invision Power Board © 2001-2009 Invision Power Services, Inc.