ppareit / fujifilm

Fujifilm Firmware Unpacker, Repacker, and custom code injector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fujifilm-firmware

Fujifilm firmware unpacker, repacker, and code injector.

This will only work on modern Fujifilm cameras, such as the HS20EXR or the X-T4.
It seems like Fujifilm has been using this firmware format since 2005.

For PTP research, see my my sequoia-ptp research.

img

Notes, Interesting Findings:

  • Once you update to the latest version, you won't be able
    to install the same firmware file. (there is a workaround)

  • You can modify the header to set the
    firmware update version. When I incremented tje number by
    one, I could update a new firmware, but the new version doesn't
    update the internal number, which is a plus.

  • Additionally, the firmware numbers (X.XX) are printed in hex on
    the camera. The firmware is invalid if the hex number has any letters.

  • Both firmware numbers cannot be bigger than 0x99.

  • Fujifilm used to offer a firmware update utility. It is available
    via the internet archive.
    It seems to include many things that could help reverse engineer
    Fujifilm's PTP commands.

  • Code is 32 bit ARM (not thumb)

  • The firmware includes SQLite and some sql code. Not sure why.

  • Unlike the cameras described in https://chdk.setepontos.com/index.php?topic=6484.0, the camera I have
    does not appear to have any batch scripting or hidden menu, as far as I know.

  • The code includes "A:\DCAA\auto_act.scr". Is this some kind of script? Making the file on the SD
    card doesn't seem to do anything.
    EDIT: the fujifilm firmware update utility seems to contain AUTO_ACT.SCR
    next to FPUPDATE.DAT. Still creating the file does not appear to do anything.
    I assume it means "Automatically activated script".

  • There is a "Happy Birthday!" string in the firmware.

  • These strings suggest there may be a secret menu:

"OSD DEBUG MODE SCREEN SELECT"  
"SCREEN   <UP/DOWN>    : "  
"WARNING  <RIGHT/LEFT> : "  

About

Fujifilm Firmware Unpacker, Repacker, and custom code injector

License:MIT License


Languages

Language:C 94.4%Language:Makefile 3.2%Language:Assembly 2.4%