PDA

View Full Version : [TriX] sample scripts by g3ggo



deadspot
23-03-2006, 12:51 PM
TriX] sample scripts by g3ggo

--------------------------------------------------------------------------------

hi...

here are some sample scripts to show you what TriX is already able to do.
all these patches posted here work perfect and are our "test" patches to
check the function of TriX routines.


Code:
int g_patch_netmon ()
{
int netmon_table = 0;

netmon_table = SimpleFindPattern (
"\x01\x4A\x2A\x28\x01\x09\x08\xDC\x01\x01\x11\x00\ x01\x4A\x2A\x94\x01\x09\x09\x10\x01\x02\x11\x00",
"\xFF\x00\x00\x00\xFF\x00\x00\x00\xff\xff\xff\xff\ xFF\x00\x00\x00\xFF\x00\x00\x00\xff\xff\xff\xff",
24, 0 );

if ( netmon_table == E_FAIL )
{
say ( "no netmon table found\n" );
return 0;
}

say ( "found netmon table at %08X\n", netmon_table );
while ( GetWord(netmon_table) != 0 )
{
say ( "----------------------------------------------\n" );
say ( "Page: %i-%i Flags: 0x%04X %s\n", GetByte(netmon_table+8), GetByte(netmon_table+9), GetHalf(netmon_table+10), (GetHalf(netmon_table+10)&0x4000)?"Developer Mode":"Normal Mode" );
say ( "%s\n", GetStr(GetWord(netmon_table+4)) );

// if netmon page is for engineering mode, set it as normal page
if ( GetHalf(netmon_table+10) & 0x4000 )
SetHalf(netmon_table+10, GetHalf(netmon_table+10) & (~0x4000));
netmon_table += 12;
}
return 0;
}
output:


Code:
Loading 'test.trx'...
Loading 'nhl4_ftd.fls'...
Executing Script...
----------------------------------------------------
found netmon table at 0144DF90
----------------------------------------------
Page: 1-1 Flags: 0x1100 Normal Mode
CH RxL TxPwr
TS TA RQ RLT
C1 C2 BD
GP CHT
----------------------------------------------
Page: 1-2 Flags: 0x1100 Normal Mode
PM RAR Ro BC
RelR QLF
CRO TO PenT
H MAIO HSN
----------------------------------------------
Page: 1-3 Flags: 0x1100 Normal Mode
SCH C1 rx C2
1CH C1 rx C2
2CH C1 rx C2
1N 2N


.....


----------------------------------------------
Page: 74-7 Flags: 0x4100 Developer Mode
FlWrErrorCnt
FlRdErrorCnt
CallingGroup
CallingIndex
----------------------------------------------
Page: 74-8 Flags: 0x4100 Developer Mode
Call ToGBOT
Success GBOT
CleanUpTask
PClMx PWBMx
----------------------------------------------------
Clocks: 1562
Saving Full Flash 'test_out.fls'...
Saving Partial Flash 'test_part.fls'...

Done


or visit here for full details....http://www.gsmfreeboard.com/forum/sh...d.php?t=124372

kezsol
23-03-2006, 06:56 PM
I'm very new to everything that happened to dct4 modding since xmas.
What is this TriX? I've searched but didn't find anything about it.
Is it a patching mechanism like NokiX or something else?

NokDoc
23-03-2006, 07:16 PM
Hi,

Yes, it's the dct4 NokiX in development.

http://www.gsmfreeboard.com/forum/showthread.php?t=121597

Don't feel ashamed, it's new to about anyone here...

NokDoc

deadspot
25-03-2006, 08:09 AM
new script!

http://g3gg0.de/~geggo/cvsstat/TriX/

Riger
07-04-2006, 03:24 PM
Hi!
Do you know for what is ati9patch script?

indear
07-04-2006, 10:58 PM
Patch AT command "ATI9" for change the return text