PDA

View Full Version : add_ppm_strings.rx Script Error!



dvirus666
07-09-2004, 09:50 AM
Hi today i got this error...

# Processing: add_ppm_strings.rx THE_END
Original strings count: 1384
Number of added strings: 66
Building new PPM...
# 477 +++ c=x2c(substr(src,i+1,2))
# 181 +++ [...] call convert chmod t
# Invalid hexadecimal or binary string
# Only 0-9, a-f, A-F, and blank are valid in a hexadecimal string; found "T"

# Script error!

I have searched throught out the add.ppmstring.nrx file and found nothing that would cause this error.

Does any know anywhere else I might start looking?

mestrini
07-09-2004, 05:47 PM
I think the problem lies in the flash you're using.
For which phone is it?
Is it heavily modded?



# 181 +++ [...] call convert chmod t
# Invalid hexadecimal or binary string
# Only 0-9, a-f, A-F, and blank are valid in a hexadecimal string; found "T"

The error reported means that in line 181 of add_ppm_strings.rx the value for 't' isn't an hex value

Maybe you edited the script? If so then just copy new script to nokix's folder and pacth again.

The third option might be related to an error in the .txt with the strings to add.

post results

cheers

dvirus666
07-09-2004, 05:48 PM
Its working now. :) All i done was re-right the text.

Still very strange though.

joci2000
09-09-2004, 10:13 AM
Hi

I have a little problem with this script

it isn't work for 3330 & 3350 :cry:

i don't know why but i think the new checksum for that phone isn't right.

could somebody help for me to be able to add some new string for this models?

mestrini
09-09-2004, 11:07 AM
First off all you must find what scripts are involved in adding ppm strings or making new menu structure.

If you go through them you'll find that locate.rx has a lot of functions that are often called by other scripts.
I found out that most of the patterns existent don't work with 3410/2100 - very similar) and some don't work with this particular phone or that sw version. For example, the function make_lang_menu doesn't work with 3330 (and propably with 3350), pattern must be adjusted.
I know that the functions you asked me in another thread reported errrors but some don't and it's hard to know which is messing the patching

joci2000
11-09-2004, 05:47 PM
First off all you must find what scripts are involved in adding ppm strings or making new menu structure.

If you go through them you'll find that locate.rx has a lot of functions that are often called by other scripts.
I found out that most of the patterns existent don't work with 3410/2100 - very similar) and some don't work with this particular phone or that sw version. For example, the function make_lang_menu doesn't work with 3330 (and propably with 3350), pattern must be adjusted.
I know that the functions you asked me in another thread reported errrors but some don't and it's hard to know which is messing the patching

thx your answer

mestrini
11-09-2004, 06:13 PM
edit your add_ppm_strings.rx file to work with 3330

find the pattern+mask for make_lang_menu function and replace the original mask with this one edited by me ;)


mask=x2c(FFFFFFFFFF00FFFFFFF0FFFFFFFFFF00F000F000)
/*edited mask to work also with 3330-5210-5510*/

and then patch again and post results

cheers

joci2000
11-09-2004, 06:26 PM
edit your add_ppm_strings.rx file to work with 3330

find the pattern+mask for make_lang_menu function and replace the original mask with this one edited by me ;)


mask=x2c(FFFFFFFFFF00FFFFFFF0FFFFFFFFFF00F000F000)
/*edited mask to work also with 3330-5210-5510*/

and then patch again and post results

cheers


yes i do the same as you did & use this mask but my problem is when i start the phone the text is mixed and i think for that maybe the cheksum is wrong

mestrini
12-09-2004, 12:35 AM
i managed to get good strings in my 3330 modded flash with keylock_guard and minute_beep scripts :D

You see that there's a function called get_ppm_string that needs to be found and there are two very similar patterns in every flash file. The problem is that the original patt/mask by yak/geggo(?) skips the first and only finds the second in firmwares like 3410-3330 and probably some others (haven't looked them all yet :-P )

In my other thread ""3410 tester needed" (http://nokiafree.org/forums/t66831/h/s.html) you can see that the same problem was reported by those testing

so to get it working use this mask

mask=x2c(FFF0FFFFFF00FFFFFFFFF000FF00FF00F000FFFFF000FFF0FFFFFFFF)

enjoy 8-)

joci2000
12-09-2004, 03:19 PM
i managed to get good strings in my 3330 modded flash with keylock_guard and minute_beep scripts :D

You see that there's a function called get_ppm_string that needs to be found and there are two very similar patterns in every flash file. The problem is that the original patt/mask by yak/geggo(?) skips the first and only finds the second in firmwares like 3410-3330 and probably some others (haven't looked them all yet :-P )

In my other thread ""3410 tester needed" (http://nokiafree.org/forums/t66831/h/s.html) you can see that the same problem was reported by those testing

so to get it working use this mask

mask=x2c(FFF0FFFFFF00FFFFFFFFF000FF00FF00F000FFFFF000FFF0FFFFFFFF)

enjoy 8-)

hmm i didn't think that it was the problem :smile:

thank you very much 8)