PDA

View Full Version : Adding A Messages Security code



-=PBCNX=-
21-06-2005, 06:06 PM
I Can't Seem To Get Where Will I Add THe 50e something in my n3330 flash. Can Someone Please help me?

yak
21-06-2005, 08:31 PM
So, I understand that you want to protect your messages with security code. Here is a step-by-step solution:

1. Dump the menu and save it to disk.
2. Find "Write message", "Inbox" and "Outbox" entries in the menu. They will look as this:

# Write~messages
@item title=1200 flags=0x4 msg=0x5E0 arg=0x20

# Inbox
@item title=1182 msg=0x5E0 arg=0x1D

# Outbox
@item title=1210 msg=0x5E0 arg=0x1C

These are for 3330 v4.50. If you're using different version, please look into your menu dump for correct values.

3. Add guard.nrx script to your NokiX project.
4. Set the parameters of guard.nrx as follows:

messages_guard 0x20 0x1D 0x1C

Those HEX values come from the menu (above), from the arg fields. If you for example don't want to protect the "Write messages" function, simply don't include its ID in guard's parameters.

5. Add following item to the menu, whereever you want (for example in Messages menu or in Security menu):

@item def=messages_guard

This item will let you enable/disable the security. Of course to change the setting you also have to give the security code :).

6. Save the menu.

Now of course set the input and output flashes, add kills and write_main_menu.nrx, start processing and flash your phone.
Voila!

-=PBCNX=-
22-06-2005, 04:51 AM
Thanks Yak!! What A Great Help. Also Thanks for a great Prog!

CooBek
22-06-2005, 02:46 PM
Yak, well what about creating security code for menus? Is possible to get it?

spaceimpact33
22-06-2005, 03:04 PM
@coobek
You can secure your whole main menu.
Just use guard.nrx with prams;


main_menu_security 0x2

use def 'main_menu_security' to configure :)

Regards

yak
25-06-2005, 12:21 AM
Heh, yes, that with ID 0x02 should do the trick.

Protecting any menu is not possible in NokiX yet. However techicaly it is quite simple. I just have to find a way to implment it in NokiX patching and menu handling system and then some free time to add it :).