PDA

View Full Version : New Mod!! Power Menu Edit



danwood76
12-09-2004, 09:17 PM
Hello people of nokiafree

For a while I have been looking to put my own menus on the power menu
So that it is more of a shortcuts menu rather than just profiles

With thanks to Nokdoc + Kontact the demo file is now ready

I have added a shortcut to the power button menu for the games menu
You can change this menu to whatever you want

I think I will give you a simple description of how to change the 5E0 Id and Text IDs for now

The 5E0 ID is located @ FE465 in the file this value is 72 for games
The Text ID for the menu is @ FE498 in this file it points to the 'Games' text

Note: If you change any of the other bytes the function will probably not work correctly

Any questions please ask
I will be happy to help :)

regards,
Danny

BTW I am uploading it in parts as I have problems uploading big files

danwood76
13-09-2004, 08:18 AM
This is the best I could do

To uncompress this file you will need winRAR
Place all three parts into one folder and take the '.txt' off the end of each file
then double click part one and open with winRAR

regards,
Danny

meeglee
14-09-2004, 02:53 PM
hi gud day i tied your flash and i found a little bit bug on your modz :) every time i press the # the phone hung and restart :)

danwood76
14-09-2004, 08:06 PM
I think I must have used an old flash file for my demo
I will make a clean one up :)

regards,
Danny

NokDoc
14-09-2004, 08:46 PM
Hi,

File looks healthy to me but I didn't flash it, still a good job.
(3310 plug broken)

However U make a classical bug, U're patching on top of the winners animation logos. ;)

NokDoc

danwood76
14-09-2004, 09:03 PM
Ahh so thats what those strange numbers were
I will find some better free space for the menu :)

I will post up fully working file tomoroow probably

regards,
Danny

danwood76
15-09-2004, 01:09 PM
Ok Guys here it is
Unfortunatly I have had to split it to 4 files this time :(
it is quicker for me to upload a lot of small files rather than larger ones
Again the files need to have the .txt removed and all files in same directory to be able to unrar

This flash has dead FAID and MCU chk

and heres some infos:

I have added 3 extra menus to the original power button menu although you can change the 'switch off!' menu to your own aswell

The menu I made in two sections as it is easier that way
The first two menu entries are located @ 13094E
The Second two are @ 1309DA

To modify the menu entries you can just change the hex data under both functions

The First Menu has the text IDs etc @ 1309C0
here is the data in the file:

003195B2 00000322 00000000 - Switch Off!
003199ED 000005E0 0000001E - Inbox

The first block is the text IDs same as in g3n0lite menus the second block is the function table ID and the third is the actual function ID
At the moment the second line is the Inbox function handy I thought as second on my shortcut menu :)
You could change this to any menu you could make in g3n0lite

eg.
to change the second line in the menu to games you simply change the text ID and the function ID

003195B2 00000322 00000000 - Switch Off!
003193FC 000005E0 00000072 - Games

The second set of menu IDs are located @ 130A4C

003197D7 000005E0 0000000E - Ringing Tone
003198E2 000005E0 00000067 - Alarm Clock

It is also possible to take out all the profiles from this menu so you have just shortcuts
@ A1214 are the bytes E014
this is a branch that jumps down to the profiles loop
if you modify these bytes to E06E then it jumps past the profiles and doesnt show them in the menu

As I said before any questions comments post here :)

regards,
Danny

Zandis
16-09-2004, 06:17 PM
Nice work, mate. ;-)

dvirus666
16-09-2004, 07:53 PM
I just tried your flash.

Great work on the power button. Quick question,

can you add more than 4 shortcuts?

danwood76
16-09-2004, 11:10 PM
Yes it is possible
Although you need to do some bit manipulation :)

I would suggest looking at winARM first to do this
and a hex editor to edit ;)

First step is to copy the menu section out again using a hex editor
make sure you overwrite the bytes rather than inserting them!!

The section is from 0x1309DA to 0x130A64
then there are two BLs that need calculating here to both point to 0x08633C

Next step is to add another BL into the power off menu section located @ A11E8
If you scroll down in winarm you will see a section that says b A1240 (hex data: E014) and then a lot of 0000
You will need to create a BL from the start address of the B (overwriting the B)

then you will need to create a new B from the bytes after this is simple to do but can be a little hit and miss (I am a newbie with B's)
Basically the E0 is a B and then the number after it is a hex digit for the amount of lines to skip

then all you need to do is edit the text IDs and function IDs as before
you can repeat this to add maybee 22 menus I think although I havent bothered trying
If you were to make this many menus I think it would slow down alot :)
It does involve a lot of calculating

I think it would be easier if I knew how to write nokix scripts
maybee one day I will learn

I have included my BL calculator in this post to help you
If you really get stuck I can probably help just post here :)

regards,
Danny