Join Today
+ Reply to Thread
Results 1 to 4 of 4

Thread: SHX files

  1. #1

    Default SHX files

    As you know, a 3 SHX files of C5 firmware have been leaked only recently. I took the oppurtunity to compare them with the older C3 SHX file, trying to decipher the chunk of binary code before the start of the S-format records. Here's what I found:

    Code:
    0x000 - 0x2ff Strings describing this file, NULL padded. All Strings seems to start on a 32-byte boundary.
    0x300 - 0x301 16-bit little-endian integer. Number of 32-byte chunks that follows.
    0x302 - 0x4e1 The 32-byte chunks. (depending on the value at 0x300 actually, this range is based on 15 chunks)
    0x4e2 - end   S-format records
    
    For each of the 32-byte chunks I've only manage to infer these
    
    0x001 - 0x001 8-bit integer. The code group number.
    0x004 - 0x007 32-bit little-endian integer. Start offset of some sort.
    0x008 - 0x00b 32-bit little-endian integer. End offset of some sort.
    I'm not sure what these are for, but my guess is that it is involved in the splitting into and checksumming of the .smg files.

    Inspecting E680I_G_0D.C3.A8P_0D.B0.B1P_T674VE_L001_S001_P006_GSOE680IT674VE006_full.shx, I found that:

    There were 14 S0 and S7 records
    There were 15 of the 32-byte chunks in the headers
    silvio extracted 17 .BIN files using binex
    If you take the (end offset - start offset + 1) you get lengths that corresponds to most of the .BIN files.

    Interesting....

    And I've written a little perl script to display some info extracted from the SHX header.

    Gotta go back to the army (stupid singapore conscription) in a few hours, so see you guys this weekend Hope someone can make more sense of the other fields.
    Attached Files Attached Files

  2. #2
    Join Date
    Feb 2005
    Location
    The Netherlands
    Cell: E680 flashed to E680i
    Posts
    1,368

    Default Re: SHX files

    Eyesonly from hofo also did some research on the header of the .shx file. Here are his findings: http://www.motorolafans.com/forums/download.php?id=428
    Yes, but does it run Linux?

  3. #3
    Join Date
    Feb 2005
    Location
    sg<br>Mobile: e680 -> i (c5a4p)
    Posts
    1,412

    Default Re: SHX files

    yup i tried his and motox guide, but realise its totally different from e680. i was hoping maybe we can flash just a part of the system, it'll be great

  4. #4
    Join Date
    Feb 2005
    Location
    The Netherlands
    Cell: E680 flashed to E680i
    Posts
    1,368

    Default Re: SHX files

    yup, it will. Eyesonly's pdf's are the only reason i keep visiting hofo lol
    Yes, but does it run Linux?


 
+ Reply to Thread

Similar Threads

  1. Replies: 0
    Last Post: 05-28-2006, 11:37 AM
  2. SHX Splitting, Editing
    By ollie-uk in forum A780 General Chat
    Replies: 0
    Last Post: 04-13-2006, 01:48 PM
  3. A780 Bootloader in .shx is here
    By Rikk in forum Development
    Replies: 2
    Last Post: 11-06-2005, 05:31 AM
  4. guys what is shx
    By sicomonos in forum E680i General Chat
    Replies: 2
    Last Post: 10-27-2005, 09:57 PM
  5. Tool for splitting *.shx
    By anhnt3 in forum Development
    Replies: 4
    Last Post: 09-22-2005, 08:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1