GSM Shop GSM Shop
GSM-Forum  

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.
Only registered members may post questions, contact other members or search our database of over 8 million posts.

Registration is fast, simple and absolutely free so please - Click to REGISTER!

If you have any problems with the registration process or your account login, please contact contact us .

Go Back   GSM-Forum > Other Gsm/Mobile Related Forums > GSM Programming & Reverse Engineering


GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets.

Reply
 
LinkBack Thread Tools Display Modes
Old 12-15-2006, 18:35   #1 (permalink)
Major Poster
 
Join Date: Sep 2006
Posts: 48
Member: 356018
Status: Offline
Thanks Meter: 2
Strange bytes in DCT4 PPM


Hi all!
When I've decompress nokia PPM Text chunks I've found some order of strange (strange for me, 'couse i'm newbie in nokia reversing). Thise bytes like that:
140191C000AF004000BE
140192000072004000BA
1401924000F9004000F3
1401928000A300400009
I found some dependence: there are always such bytes: 14 01 x x x x 00 40 00 x.
When I change them, i can't flash phone (using UFS: write error writing block)

So what mean those bytes? Explain me please.
Best regards...
  Reply With Quote
Old 12-16-2006, 19:03   #2 (permalink)
Product Supporter
 
ulymar's Avatar
 
Join Date: Sep 2004
Location: PHILIPPINES
Age: 46
Posts: 686
Member: 81952
Status: Offline
Sonork: 1597268
Thanks Meter: 2,364
writing address.

Regards
  Reply With Quote
Old 12-16-2006, 19:22   #3 (permalink)
Product Supporter
 
ulymar's Avatar
 
Join Date: Sep 2004
Location: PHILIPPINES
Age: 46
Posts: 686
Member: 81952
Status: Offline
Sonork: 1597268
Thanks Meter: 2,364
HEX: 14 AAAA AAAA CD00 LLLL CH
AA = Address
CD = Checksum of Data
LL = Length of Data
CH = Checksum of Header
  Reply With Quote
Old 12-19-2006, 10:29   #4 (permalink)
Major Poster
 
Join Date: Aug 2005
Age: 50
Posts: 44
Member: 175230
Status: Offline
Thanks Meter: 2
What is the algo to calculate these checksums?
  Reply With Quote
Old 01-09-2007, 15:36   #5 (permalink)
Major Poster
 
Join Date: Sep 2006
Posts: 48
Member: 356018
Status: Offline
Thanks Meter: 2
hmm... I also tired search algo for this checksums. It's not simple sum (or maybe i make wrong sum). I've check many combinations but no one give a answer...
  Reply With Quote
Old 01-09-2007, 16:55   #6 (permalink)
Insane Poster
 
Join Date: Apr 2004
Location: Spain
Posts: 82
Member: 63517
Status: Offline
Thanks Meter: 5
Check TriX source code
http://www.g3gg0.de/index.html?&no_cache=1&tx_eeblog[pointer]=0&tx_eeblog[showUid]=6576

  Reply With Quote
Old 01-10-2007, 03:24   #7 (permalink)
Major Poster
 
Join Date: Sep 2006
Posts: 48
Member: 356018
Status: Offline
Thanks Meter: 2
finally! :)

Finally! I've solve my question. As indear sad, i look for Trix sourses and found simple algo:
while ( length )
chk += data[--length];
return chk ^ 0xFF;
I think that it must be simple and spin around this algo a long time. I forgot about XORing 0xFF

So demonstrate with an example:
If we have this header: 14 018E 0000 AE00 4000 82
Let's check our header (14 018E 0000 AE00 4000) checksum (0x82)
1. first byte (0x14) and fifth (0x00) must be deleted ('couse they are housekeeping data): 018E 0000 AE 4000
2. Sum : 01+8E+00+00+AE+40+00 == 17D (in HEX)
3. XOR: 1FF XOR FF == 182 -> 82
Oh, it's so nice

Maybe, it'll be usefull for someone else.
Thanks for all for you attention
  Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help me DCT4 and DCT4+ PPM Editor software LONGPHONE™ Nokia Hardware & Hardware Repair 0 02-01-2010 04:34
Last 6 bytes in PPM file MAK_US1977 GSM Programming & Reverse Engineering 11 08-20-2002 16:47
Dct4 Ppm fadi79 Nokia Digital Core Technology 4 ( DCT-4 ) 3 05-25-2002 15:35
DCT4 PPM MCU, Acer T191, Siemens, ALL new and HOT !!! sixkiller666 Main Sales Section 1 05-14-2002 01:53
WinDLS PPM MCU box, now removes Security Code in DCT4 8310 and more !!!! sixkiller666 Main Sales Section 8 01-11-2002 19:18

 



All times are GMT +1. The time now is 17:17.



Powered by Searchlight © 2024 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -
Page generated in 0.15410 seconds with 9 queries

SEO by vBSEO