PDA

View Full Version : Menu on power switch



cliffordb
04-06-2003, 06:19 AM
Hi anyone know where in the flash we can find the menu that comes up when we press the power switch on nokia phones and is it possible to change this.

Thanks

z0z3ko_Ol
04-06-2003, 06:26 AM
yes, it's possible to change the startup screen.
Use ppmedit

bobl
04-06-2003, 07:39 AM
yes, it's possible to change the startup screen.

But didn't he want a menu instead of a new startup screen?

What menu are you talking about mate :S? When I press the on button it just asks me for my pin code, then shows me my startup logo :)

Are you talking about the main menu?

Cheers

Bob

jelzon
04-06-2003, 07:48 AM
i think he is talking about his menu:

Switch off!
General
Silent
Discreet
Loud

when you press the power button this turns up right?

he asks how to change this menu if possible? am i right?

wai3000
04-06-2003, 08:42 AM
you can change it on PPM edit or go to "profiles" on the phone menu and change
but you can't change all of them
using PPMedit you can change Turn off and general

cliffordb
04-06-2003, 09:08 AM
Thanks m8s for your replies yes jelzon you are right i wanted to see if it was possible to add or remove the options available in this menu and also to have a look and see if it is possible to move the switch off option to main personal menu on phone.

iconoclast
04-06-2003, 02:45 PM
Maybe you can add a new menu and use the Function ID of "Switch Off" just like when you call the slide show function.

liteFun
04-06-2003, 04:35 PM
every other menu than general will say it's name on phone.
but this length is limited when changing profile name (in phones that have profiles).
now, when editing flash, you can use longer names there. also \x0A if you like to use 2 lines :D
with no operator logo (only operator name, can be changed too), it's nice to make profile "Nokia\x0A[model]" where [model] is eg. 5110. (yes, this will work with 5110 too, it is same menu if pressed power button).

MaciejKa
22-06-2003, 07:10 PM
2 cliffordb:
I'm not sure, but I supposed that I can help You. :))Tell me which model Nokia phones u want modify.
I hope that U konw something about 05E0 table function and adding new menu and create new menu structure.
I know that is possible to create new menu with Power off & Profiles for example on position 11 in main menu in phone, and then when U press "Menu 1-1-1" - Your phone will switch off. :))
so tell me which model You are interesting for. I hope that You know the 05E0 function table is different in different Nokia phones. :)

cliffordb
23-06-2003, 05:36 AM
Hi thanks MaciejKa i have a 8250 and i do know how to add menus to my phone dont have the 05E0 details for my phone but if you have it would apreciate a copy if possible..

Thanks

Obnoxy
23-06-2003, 06:55 PM
Like the others just said, you can't change the power-button menu, you only can change the names in it, with PPMEdit or something similar..

If you want to add a "switch off" menu, just use [0x00000000] with (0x0322) as funtion ID...

Cu MFG Obnoxy :cool:

MaciejKa
23-06-2003, 09:43 PM
Hi!
The correct function of 05E0 table for display switch off menu is 6B. Its 8250 v. 6.00 So open your flash in g3n0lite, read menu structure, type:

+ADD_TEXT Power
[0xDEADBEEF] [0x00000000] [0x0000006B] (0x0000) (0x05E0) (0x0000) (0x0000) (0x0000) (0x0000) Power

somewhere where U want, (I propose at the end of the structure), change menu or submenu counter of positions and press Write menustructure. After that, Fix all checks and upload to Your phone.
Good luck !

I'm not sure that it's impossible to change switch off menu, but...
I'll check it later...

cliffordb
24-06-2003, 05:53 AM
Thanks to MaciejKa & Obnoxy for the info any chance i could get a full copy of the 0x05E0 table for this model i would like to see what other functions are available thanks again for your help will try the new menu this evening when i get home.

Crux
13-01-2004, 12:20 AM
Thanks to MaciejKa & Obnoxy for the info any chance i could get a full copy of the 0x05E0 table for this model i would like to see what other functions are available thanks again for your help will try the new menu this evening when i get home.


nice. how about a 3310 v6.07?

how can i find it myself?

how did u find how to do it?

Tongz
13-01-2004, 09:52 AM
nice. how about a 3310 v6.07?

how can i find it myself?

how did u find how to do it?

3310v607 You can use 2 program to find by your self.
Use #FlsEdit by Jook for Search Text ID of "Switch Off!" I found id is 0x2e9
Use #WinArm 1.63b
- Search Offset Address of 0x2e9
- find Hex Data 0402E9 Found in address 3184c7
- find String #3184C7 found in address 2a0b40
- traceback to start display switch off! function in address 2a0b1c press F12 to go call this function
- return to call found in address 2a0c5e
- scroll up to PUSH { LR } command in address 2a0c36
this is function (5E0 - XX)
- find address 2a0c36 + 1 = 2a0c37 (in 5E0 table need + 1)
find Hex Data 002a0c37 found at address 3222e8
- Scroll back to Hex Data 00000000 01000000 (Start 5E0 Table)
in address 321f68
- 1 function = 8 bytes, 3222e8 - 321f68 = 380
- function number is 0x380 / 8 = 0x70
**** Switch off! = 5E0 - 70 **** Maybe true :)

Good Luck :-P
Sorry my english :-?

Crux
13-01-2004, 03:56 PM
thanks. very nice tut. i will try it. and maybe i will make a generic tuturial. nice one mate. thanks. i will try it

Crux
13-01-2004, 10:14 PM
####################################################
Example for finding 5e0 ID# for any menu (use any sub-menu name as text id)

1. In FLSedit v0.3 by Joox search for the text id of the sub-menu name you want in "Languages"
In this example text id will be 1111
2. In WinArm 1.63 by Digicroxx find address of Hex Data 04 + 1111 (041111)
In this example address of Hex Data will be 222222
3. Find address for String 222222
In this example address of String will be 333333
4. Trace back to begin of that function (right after "----------") to find address of the function
In this example address of the function will be 444444
5. Press F12 to call this function and find address of the return call
In this example address of return call will be 555555
6. Scrool up to find the address of "PUSH { LR }" command
In this example address the command will be 666666

Calculating 5E0 ID# of that function:

1. Add +1 to last found address (in 5E0 table need +1)
In this example address will be 666667
2. Find address of Hex Data 00 + 666667 (00666667)
In this example address of Hex Data will be 777777
3. Scroll back to Hex Data 00000000 0100000000 (this is the start of the 5E0 table)
In this example address of the 5E0 table start will be 888888
4. Calc 777777 - 888888.
In this example calculated value will be 9999
5. Note that one function = 8 bytes. Now you need to Calc 9999 / 8
The calculated value will be your 5E0 ID# (Example 5E0 #AA)

Tuturial by Crux ([email protected])
Big Thanks to Tongz for the help he gave me :d
####################################################

i made this. is this valid?

strange. i cant find any other 5e0 with this tut

Tongz
14-01-2004, 06:39 AM
It's cool tutorial for another model. :)

danwood76
15-02-2004, 06:16 PM
This tutorial doesn't work with 3310 v5.57

I have tried and managed to get the calculator ID instead :sad:

Is there any other way of doing it??

regards,
Danny

Tongz
16-02-2004, 06:16 AM
This tutorial doesn't work with 3310 v5.57

I have tried and managed to get the calculator ID instead :sad:

Is there any other way of doing it??

regards,
Danny

Here example for 3310 v5.57
=====================
-Use FLSEdit by Joox
found text_id "Switch Off!" = 0x2e9

-Use WinArm by Digicroxx
Find Hex Data "0402e9" -> Found "31377f"
Find String "31377f" -> Found address "29bfb4" scroll back found start function at "29bf90" press F12
It's jump to "29c0d2" and scroll found start function "PUSH { LR }" at "29c0aa"
Find 5e0 id need addr + 1 , "29c0aa + 1 = 29c0ab"
Find Hex Data "0029c0ab" found address "340c44" -> addr_5e0_xx = 5e0_xx
Scroll back to hex 00000000001000000 found address "3408cc" -> add_5e0_00 = 5e0_00

5e0_xx = Switch Off!
====================
*** 5e0_xx = (addr_5e0_xx - addr_5e0_00) / 8

(0x340c44 - 0x3408cc) / 8 = 0x378 / 8 = 0x6F

5e0_xx = 6F ("Switch Off!")

Goodluck. 8-)

danwood76
16-02-2004, 11:35 AM
Sorry it was for version 5.59

This is what I did:

Switch Off = 0x2E9

Search for 0402E9 found at 3137AB

Search for string found at 29BFC8

Scroll back to start of function address is 29BFA4
Press F12

Takes me to 29CE0E6

Scrol Up to Push {LR} function address is 29C0BE

add one to it so 29C0BF

search for hex data 0029C0BF

Found at 3403B8

scroll up to 00000000001000000 found at 340040 (start of my CODE chunk)

3403B8-340040= 354

354/8=6A

This is the 5E0 function for the calculator???

cheers for the help,
Danny

Tongz
16-02-2004, 03:57 PM
it's wrong this line: :-?
3403B8-340040= 354
354/8=6A

it's true here: :D
3403B8-340040= 378
378/8=6F

danwood76
16-02-2004, 07:45 PM
Don't see how I worked that out wrong,
I used the hexworkshop calculator

Oh well thanks for the help

Does this work with any 5E0 id??

regards,
Danny

Tongz
17-02-2004, 06:17 AM
Don't see how I worked that out wrong,
I used the hexworkshop calculator

Oh well thanks for the help

Does this work with any 5E0 id??

regards,
Danny

I'm use hexworkshop4 calculator no problem.

>> Does this work with any 5E0 id??
no, not any 5E0 id but can work with some 5E0 id. :)

Zandis
22-02-2004, 04:32 PM
This works with 5110v5.04, but with 3310v5.55:
- find Hex Data 0402E9 - Found in address 3136e7
- find String #3136E7 - not found.

Help me please.

danwood76
22-02-2004, 10:12 PM
This method is wrong and doesn't always work

The only real way to find 5E0 commands is to try them out!! :sad:

regards,
Danny

Tongz
23-02-2004, 07:26 AM
Try this gsc script find 5e0 id.
goodluck

Crux
23-02-2004, 03:52 PM
wow. pretty cool.

congratulations.

worked in my 3310 v6.07 and in 8210 v5.31

nice job. :-P

Zandis
23-02-2004, 04:31 PM
Thanx 2 me to :)

zul7234
24-02-2004, 02:36 PM
For my 3350 V 5.30 the Switch off 5e0 id is 00000075.

The problem is, it just redirect me to power button menu " Switch off! " Means i have to select twice switch off to turn off the phone.
Extras -- Power -- Switch off (shows done check mark) --Swicth off.

Is there any ways to straight away turn off the phone when i select the switch off from my Extras -- Power -- switch off, without redirecting me to power button switch Off! menu ?

BTW, is it possible to Switch on the phone without pressing the top power button i.e lets say press hang up button for 2 seconds and the phone switch on. ?

Thanks

Crux
24-02-2004, 06:10 PM
thats becouse u runned fix_5e0.gsc

dont run that script

GsmCyber
25-02-2004, 02:02 AM
i have changed the button power on/off to a shortcut to MADos :) thankx Tongz and others for this post :)

Regards

Zandis
25-02-2004, 04:22 PM
GsmCyber, how did you do that?

Bütyök
08-03-2004, 10:58 AM
Hi!

Can anyone wite me a gsc script to show 5E0 functions?
example: 0x0062 = Switch off!
0x0057 = Calendar

Thanx,
Bütyök

danwood76
08-03-2004, 12:07 PM
Like I said before the only true way to find the 5E0 functions is to try them out!!

If you are using 3310 v6.07 nokdoc has a table containing 5E0 functions that he has created but he may not wish to post it
I'm not sure really

regards,
Danny

Bütyök
08-03-2004, 07:11 PM
Like I said before the only true way to find the 5E0 functions is to try them out!!

If you are using 3310 v6.07 nokdoc has a table containing 5E0 functions that he has created but he may not wish to post it
I'm not sure really

regards,
Danny



Thanx!
I have a 6110, and the 5E0 ID find solution (by Winarm) is not works.
I will try out them. But it will be more easy if I know that I want to use.

Now I have to write a new submenu "Try", with more than 120 entry point.
It will be interesting!!

NokDoc
08-03-2004, 08:43 PM
Hi,

To find the 05E0 table, U can search for 0000000001000000

If next value after the last 00 is > 00200000 and less as Ur mcu size + 200000, U possibly just hit the 1st record.

This table exist of max 256 (FF) records of 8 bytes.

First four mean the address of the function to run, +1.

The record nr indicates the 05E0_xx subcall value.

Hope it helped...

NokDoc

Bütyök
08-03-2004, 10:26 PM
Hi,

To find the 05E0 table, U can search for 0000000001000000

If next value after the last 00 is > 00200000 and less as Ur mcu size + 200000, U possibly just hit the 1st record.

This table exist of max 256 (FF) records of 8 bytes.

First four mean the address of the function to run, +1.

The record nr indicates the 05E0_xx subcall value.

Hope it helped...

NokDoc


Thank You!
I found the 5E0 table but I dont know what is the name one of functions.
What is the 0x62, what is the 0x75, etc.
It is too complicated procedure to try it.

BR,
Bütyök

NokDoc
08-03-2004, 10:52 PM
Hi,

Unlike Mr. Danwood suggested, I have no such lists.

But there's alot about that at gFree:

http://64.246.26.121/forum/showthread.php?t=40153

It is mainly in German, but I hope it still can help U.

NokDoc

Bütyök
09-03-2004, 12:20 AM
Hi,

Unlike Mr. Danwood suggested, I have no such lists.

But there's alot about that at gFree:

http://64.246.26.121/forum/showthread.php?t=40153

It is mainly in German, but I hope it still can help U.

NokDoc


It is very kind of You!
You are a Superman!
You could help me a lot!


Big THANKS!!


Bütyök

Bütyök
10-03-2004, 12:31 AM
Hi All!

I have a "new" problem:
In a 6110 flash if I enter to "Set the date" submenu under "Calendar" it works correctly. When I enter to the "Set the date" submenu I see the actual date, and I can to modify it, and it will works (it will changes tomorrow).
But if I make a new submenu under "Settings" called "Set time and date",
and I call the 5E0 ID of the "Set the date" and enter to this, I see "yyyy.mm.dd" and I can write the date into, but the next day I will see that date, that I set the last day. It doesn't change to the correct date automatically.
And(!) if I set the clock before, to enter the "Set the day" submenu, I will see the time, Not the date. :-(

How can I call the "Set the date" function from the other menu except the "Calendar" to working correctly?

Bütyök

Bütyök
29-03-2004, 10:07 PM
Hi All!

Who knows, what is the two digits that follows the 5E0 entry point?
e.g.: 0022e3814a800000.....
22e381 is the 5E0 entry point (start address) in the 5E0 table, and the 4a 80 is the two digits, that i don't know what is it.

Can somebody help me?

yak
02-04-2004, 01:10 PM
Hi All!

Who knows, what is the two digits that follows the 5E0 entry point?
e.g.: 0022e3814a800000.....
22e381 is the 5E0 entry point (start address) in the 5E0 table, and the 4a 80 is the two digits, that i don't know what is it.

Can somebody help me?

it is some kind of flags field, one of them is responsible for making the phone stay in the previous menu after executing this 5e0 function from menu.

Bütyök
03-04-2004, 09:30 AM
it is some kind of flags field, one of them is responsible for making the phone stay in the previous menu after executing this 5e0 function from menu.


For example?

Mircea Vasiliu
05-04-2004, 11:50 AM
After the address the first byte (4A) will tell what action will be associated to the Navi key and Cancel and the second byte (80) is a set of flags. I think 80 will tell the phone to nest the 5E0 levels (so that you can go back to the previous 5E0 function, or menu level), also bits 40 and 20 have something to do with the keypad entry. One will set numeric entry, the other alphanumeric. Don't remeber which is which.

BR

Bütyök
05-04-2004, 06:27 PM
After the address the first byte (4A) will tell what action will be associated to the Navi key and Cancel and the second byte (80) is a set of flags. I think 80 will tell the phone to nest the 5E0 levels (so that you can go back to the previous 5E0 function, or menu level), also bits 40 and 20 have something to do with the keypad entry. One will set numeric entry, the other alphanumeric. Don't remeber which is which.

BR


O.K.

Thanx

BR,
Bütyök

Tracid
05-04-2004, 07:10 PM
Szevasz Bütyök!!

Tatek
08-06-2004, 02:49 AM
Hi guys!
Is it possible to change the power on button to another?
Example: I press * & 5 and the phone will turn on.
Is it possible?

Crux
08-06-2004, 03:02 PM
well
i donno how, but i think its possible.

and thats a gr8 idea.

if our phone is stolen they wont know how to turn it on :D

NokDoc
08-06-2004, 08:00 PM
Hi,

>> Is it possible to change the power on button to another?

Yes, by swapping the keybutton conversion values.

These are in 2 records, of 5 and of 25 bytes.

demo for 3310:
- 3E 0D 3E 3E 3E
- 3E 17 0A 3E 1A 3E 18 01 02 01 3E 3E 06 05 04 3E 3E 09 08 07 3E 03 0B 19 0C

If U eg cange the 03 with the 0D value, U have swapped the '3' with the power on button.

NokDoc

Tatek
09-06-2004, 07:38 AM
Thanx NokDoc!
It works!
But if i swap those values, the "3" will be the power on button and the power on will the 3. :D Swap.... Yes... :D

Thats not what i think. I want to power on for a "combo". Like press button "4" and button "5" simoultanusly or something like that....
Cause my phone's power on button is ....am.... Kaput
Is it possible?

danwood76
09-06-2004, 11:11 AM
In theory it is possible but you will need to find the startup sequences in the flash file and add your shourtcut bit in there

It could be quite difficult, Nokdoc do you have any infos on the boot sequence of the 3310?

regards,
Danny

NokDoc
09-06-2004, 06:06 PM
Hi,

Well, it sure can be made.

Mr. Krisha had such a lookalike problem once, so he designed a 2 button Keypress function.

But since that's more complex to make, I think Ur first real problem would be, who's making it for U. ;)

I think I'm too busy chatting Dan next week, and then the EC starts...

NokDoc

Tatek
10-06-2004, 02:15 AM
Hi,
"I think Ur first real problem would be, who's making it for U."
I think you're right...
But thnx all