PDA

View Full Version : *** HELP WITH GSC's & g3n0lite ***



ShadoW2004
18-05-2004, 04:39 AM
Hello All!
I pached FLS with intro,7bars, virus ,faiding leds ,ritmic leds, callduration ,minutebeep, clock and wont also pach with guard.gsc by Yak, but I have some truble: When I paching guard.gsc g3n0lite gived me 5e0 ID's:

5E0 ID# 104 | inbox_security_menu

5E0 ID# 106 | outbox_security_menu

I created menu, but it works incorect (when I paching guard.gsc without clock.gsc, for example, all works good)

Can it be becouse no more free space in MCU? How can I see free space?

Can I reserv some space in PPM?

Best Regards, ShadoW

danwood76
18-05-2004, 10:00 AM
This is because you have run out of 5E0 ids
the highest one you can have is 0xFF which is 255 in decimal

try patching them in a different order as some patches mess up the 5E0 table

regards,
Danny

kraze1984
18-05-2004, 06:45 PM
This is because you have run out of 5E0 ids
the highest one you can have is 0xFF which is 255 in decimal

try patching them in a different order as some patches mess up the 5E0 table

regards,
Danny

Or fill with FF's the last 00's of the 5e0 table after each patch as i do.

ShadoW2004
19-05-2004, 05:40 AM
How can I dont pach some ID's? For example after paching Fade Leds, g3n0lite generated this ID's:

5E0 ID# BC | Fade in val 1

5E0 ID# BD | Fade in val 2

5E0 ID# BE | Fade in val 3

5E0 ID# BF | Fade in val 4

5E0 ID# C0 | Fade in val 5

5E0 ID# C1 | Fade in val 6

5E0 ID# C2 | Fade in val 7

5E0 ID# C3 | Fade in val 8

5E0 ID# C4 | Fade in val 9

5E0 ID# C5 | Fade out val 0

5E0 ID# C6 | Fade out val 1

5E0 ID# C7 | Fade out val 2

5E0 ID# C8 | Fade out val 3

5E0 ID# C9 | Fade out val 4

5E0 ID# CA | Fade out val 5

5E0 ID# CB | Fade out val 6

5E0 ID# CC | Fade out val 7

5E0 ID# CD | Fade out val 8

5E0 ID# CE | Fade out val 9

But I need only:
5E0 ID# C5 | Fade out val 0
5E0 ID# C9 | Fade out val 4
5E0 ID# CC | Fade out val 7
5E0 ID# CE | Fade out val 9

For creat menu:
+ADD_TEXT Faiding Leds
[0xDEADBEEF] [0x0000000] [0x0000000] (0x0179) (0x0387) (0x0000) (0x0052) (0x0800) (0x0024)
[0x00000000] (0x04) (0xC0) (0x8A27) [0x00000000]
[0x00000000] [0x00000000] [0x00000000] (0x0179) (0x00DC) (0x0000) (0x000D) (0x1100) (0x0024)
+ADD_TEXT Off
[0xDEADBEEF] [0x00000000] [0x000000C5] (0x0179) (0x05E0) (0x0000) (0x0052) (0x0000) (0x0024)
+ADD_TEXT Short
[0xDEADBEEF] [0x00000000] [0x000000C9] (0x0179) (0x05E0) (0x0000) (0x0052) (0x0000) (0x0024)
+ADD_TEXT Medium
[0xDEADBEEF] [0x00000000] [0x000000CC] (0x0179) (0x05E0) (0x0000) (0x0052) (0x0000) (0x0024)
+ADD_TEXT Long
[0xDEADBEEF] [0x00000000] [0x000000CE] (0x0179) (0x05E0) (0x0000) (0x0052) (0x0000) (0x0024)
# --------------

I dont need Fade In functions and not all Fade out funtctions!!!

Can I create/change script who paching only this ID's? And how can I do it?

ShadoW2004
19-05-2004, 01:53 PM
Or fill with FF's the last 00's of the 5e0 table after each patch as i do.

Please exlpain how i must do it?

NokDoc
19-05-2004, 05:36 PM
Hi,

1, find one of the new inserted functions in winarm.

2, note the stat address of the 1st B5xx call. (the PUSH...)

3, add 20.0001 to that value.

4, Search for that specific value in Ur flash file, U will hit the 05E0 records.

5, Find the start/ end of the table, and make a list of all records. (8 bytes each record)

6, Delete the ones U not think U need, or replace them to Ur own wanted functions.

7, If needed, rearrange the menu lines of g3n0lite corresponding to the new 05E0_xx values U want.

Ps, there's NO tool as I know, so it's all hexediting stuff.

I hope this might help U.

It seems the regular 05E0 functions use STRB, which means it uses bytes and therefore it's impossible to use higher values as FF's, without modifying these functions first.

Anyway, 05E0's are continuous running processes.

When U use too many of them, Ur phones speed will decrease.

When it's possible, avoid 05E0 useage, and use other systems to start one time called functions.

NokDoc

ShadoW2004
19-05-2004, 08:20 PM
Can I edit script before paching for delete none userfull ID's? and how can I do it?

NokDoc
19-05-2004, 10:18 PM
Hi,

Off course, just a part from clock.gsc:

5E0: 5E0_space = 0x15
cre: clock_off = clock_off
a5e: na = clock_off
cre: clock_10s = clock_10s
a5e: na = clock_10s
cre: clock_20s = clock_20s
a5e: na = clock_20s
...

5E0: 5E0_space = 0x14
cre: clock_off = clock_off
a5e: na = clock_off
cre: clock_10s = clock_10s
a5e: na = clock_10s
#cre: clock_20s = clock_20s
#a5e: na = clock_20s
...

The entry counter is lowered from 15 into 14, and 2 lines are disabled with a # sign.

This then skips creating an entry for the clock_20s.

NokDoc

ShadoW2004
20-05-2004, 07:48 AM
2 NokDoc

Look, I wont to have only:

clock_off
clock_10s
clock_20s
clock_30s
clock_1min
clock_5min
clock_bg1
clock_bg2
clock_bg3
clock_bg4
menu_font1
menu_font2
menu_font3
menu_font4
clock_digital
clock_analog

What I must do to delete other ID's?

In script here is:



prt: creating the menu IDs you have to use...

cmp: disp_val = 0
bne: 2
5E0: 5E0_space = 0x14
skp: 1
5E0: 5E0_space = 0x15
cre: clock_off = clock_off
a5e: na = clock_off
cre: clock_10s = clock_10s
a5e: na = clock_10s
cre: clock_20s = clock_20s
a5e: na = clock_20s
cre: clock_30s = clock_30s
a5e: na = clock_30s
cre: clock_1min = clock_1min
a5e: na = clock_1min
cre: clock_2min = clock_2min
a5e: na = clock_2min
cre: clock_5min = clock_5min
a5e: na = clock_5min
cre: clock_10min = clock_10min
a5e: na = clock_10min
cre: clock_20min = clock_20min
a5e: na = clock_20min
cre: clock_30min = clock_30min
a5e: na = clock_30min
cre: clock_bg1 = clock_bg1
a5e: na = clock_bg1
cre: clock_bg2 = clock_bg2
a5e: na = clock_bg2
cre: clock_bg3 = clock_bg3
a5e: na = clock_bg3
cre: clock_bg4 = clock_bg4
a5e: na = clock_bg4
cre: menu_font1 = menu_font1
a5e: na = menu_font1
cre: menu_font2 = menu_font2
a5e: na = menu_font2
cre: menu_font3 = menu_font3
a5e: na = menu_font3
cre: menu_font4 = menu_font4
a5e: na = menu_font4
cre: clock_digital = clock_digital
a5e: na = clock_digital
cre: clock_analog = clock_analog
a5e: na = clock_analog

cmp: disp_val = 0
beq: 2
cre: show_creditz = show_creditz
a5e: na = show_creditz

GsmCyber
20-05-2004, 01:01 PM
cre: clock_off = clock_off
a5e: na = clock_off
cre: clock_10s = clock_10s
a5e: na = clock_10s
cre: clock_20s = clock_20s
a5e: na = clock_20s
cre: clock_30s = clock_30s
a5e: na = clock_30s
cre: clock_1min = clock_1min
a5e: na = clock_1min
cre: clock_2min = clock_2min
a5e: na = clock_2min
cre: clock_5min = clock_5min
a5e: na = clock_5min
#cre: clock_10min = clock_10min
#a5e: na = clock_10min
#cre: clock_20min = clock_20min
#a5e: na = clock_20min
#cre: clock_30min = clock_30min
#a5e: na = clock_30min
cre: clock_bg1 = clock_bg1
a5e: na = clock_bg1
cre: clock_bg2 = clock_bg2
a5e: na = clock_bg2
cre: clock_bg3 = clock_bg3
a5e: na = clock_bg3
cre: clock_bg4 = clock_bg4
a5e: na = clock_bg4
cre: menu_font1 = menu_font1
a5e: na = menu_font1
cre: menu_font2 = menu_font2
a5e: na = menu_font2
cre: menu_font3 = menu_font3
a5e: na = menu_font3
cre: menu_font4 = menu_font4
a5e: na = menu_font4
cre: clock_digital = clock_digital
a5e: na = clock_digital
cre: clock_analog = clock_analog
a5e: na = clock_analog

like NokDoc explain u :p

stephen6350
20-05-2004, 01:12 PM
we produce and export cellphone accessories, including LCD,housing and data cable. our price is competitive and quality is good. Welcome enquiry.

NokDoc
20-05-2004, 01:32 PM
Mr. GsmC, thanks,

I saw U blanked 3 entries, so we also must change the amount counter minus 3:

5E0: 5E0_space = 0x14 >> into 0x11
5E0: 5E0_space = 0x15 >> into 0x12

Good luck.

Mr. Stephan,

Goto sales area, never come out again...

NokDoc