| img | ||
| logo | ||
| .gitignore | ||
| Example.patch | ||
| MotCipher.py | ||
| MotRec.py | ||
| MotSwap.py | ||
| ReadMe.md | ||
Siemens ST55/ST60 Modding
These ODM phones, manufactured by Quanta Computer, can now be patched just like original Siemens-platform phones!
Requirements
-
A functional USB <=> RS-232 serial cable compatible with the ST55/ST60.
TODO: Verify and document pinout.
-
FTDI Driver for the ST55/ST60 cable.
-
Milano BackUp Tool v4.11 software.
Patching Recipe
-
Create a full 16 MB (8+8 MB)
BackUp.motdump of your ST55/ST60 phone using the Milano BackUp Tool. -
Decrypt the dump using the
MotCipher.pyutility:python MotCipher.py BackUp.mot BackUp_Dec.mot decrypt -
Use the HxD Hex Editor to convert the
BackUp_Dec.motS-Record file into binary chunks.- Go to: File => Import => Motorola S-Record
- Save the following memory ranges as binary files:
0x01000000...0x018000000x20000000...0x207F0000
Note: Alternatively, you can use command-line tools like
srec_catorsre2binto extract these binary ranges. -
Apply your desired patches to the extracted binary files using your preferred tools.
-
Convert your patched binary back into an S-Record chunk using the
MotRec.pyutility:python ./MotRec.py -a 0x01000000 ST55_RANGE1_CODE.bin > Chunk.mot -
Encrypt the
Chunk.motfile so the phone/flasher can recognize it:python MotCipher.py Chunk.mot Chunk_Enc.mot encrypt -
Replace the corresponding block in the original crypted
BackUp.motfile with yourChunk_Enc.motdata. You can use Notepad++ or any text editor that handles large S-Record files. -
Flash the modified file back to the device using the Milano BackUp Tool.
Graphic Patches
-
Open the firmware binary file in Image Search Editor v2.09 or a similar bitmap searching program.
-
Find and save image to the bitmap, including the offset address in the filename for reference.
-
Rename the file extension to
.dataand import it into GIMP using a 120x160 resolution and the RGB565 (Big-Endian) format. -
Edit the image as desired, then apply a Vertical Flip.
-
Export the file as a BMP image using the raw RGB565 format with no extra color space information.
-
Remove the BMP header using a Hex Editor to leave only the raw pixel data.
-
Swap the bytes in the resulting raw bitmap using the
MotSwap.pyutility:python MotSwap.py 0x01004000.bmp 0x01004000.bin -
Re-insert the
0x01004000.bindata into the firmware binary and prepare the final patch.
Tools & Scripts
MotRec.py: Converts binary files into Motorola S-Record format.MotCipher.py: Encrypts and decrypts Motorola S-Record files.MotSwap.py: Performs byte-swapping to correct the endianness of raw RGB565 bitmap images (without BMP header).
Theory
The Milano BackUp Tool utilizes a simple encryption method for its S-Record files.
The encryption logic involves appending each byte with its positional index within a 0x00...0x0F range, which also encompasses the checksum.
The crypto algorithm was obtained by analyzing the memory dump of the Milano BackUp Tool process dumped by the Process Explorer program.
Credits
- EXL | MotoFan.Ru
- alexa_ufo | siepatchdb@c.j.r
- Viktor89 | siepatchdb@c.j.r
© 10-Feb-2026
