Inspecting Alinco DJ-X11E firmware

Alinco DJ-X11E firmware update tool DJ-X11_ver_2_60E.exe is written with VB6.
No need to install, just extract it:
msiexec /a DJ-x11_ver_2_60E.msi /qb targetdir=g:\temp\t\djx11\

 

Detect It Easy strings view shows that there is Motorola S-record data inside .exe


I exported extracted strings to file and wrote short Python script for extracting S-record data to file

fin = open("G:\\DJ-X11_ver_2_60E.exe.Strings.txt", mode="r", encoding="utf8")
fout = open("G:\\DJ-X11_ver_2_60E.exe.txt", mode="w", encoding="utf8")
arr = ["S00", "S22", "S20", "S80", "S21"]
while True:
    line = fin.readline()
    if not line:
        break
    for item in arr:
        i = line.find(item)
        if i > -1:
            fout.write(line[i:])
            break
fin.close()
fout.close()
print("done")


I asked copilot what is CPU of the Alinco DJ-X11E
Answer: Mitsubishi M30627FJ
Ghidra M16C/60 processor setting can decompile at least some M16C/60 code.

Ghidra V850 CPU setting can show strings in S-record file


M16C/60 CPU setting: strings and at least some code is displayed in correct looking way



Comments

Popular posts from this blog

Inspecting Alinco DJ-X100E firmware updater

Modifying old SDR# TETRA demod plug-in