Panasonic Firmware analysis - Non-CANON cameras development - CHDK Forum supplierdeeply

Panasonic Firmware analysis

  • 7 Replies

Offline mkmenuts

  • **
  • 61
  • SD700 (1.01b)
Panasonic Firmware analysis
« on: 05 / December / 2008, 05:16:45 »
Hi all,

After spending a few fun years with my trusty SD700 (and porting CHDK to it), I decided to move to a more manual camera. I settled for the Panasonic LX3.

While it has much more control than the SD700, I still find a few things I'd like to hack.

Perhaps some of the experts here will help me identify the OS, CPU, memory & drive structure of panasonic cameras using the firmware of the TZ5 (LX3 firmware due in a few weeks)?

It seems not to be compressed/encrypted to me. I found a lot of promising strings, but I do not know how to proceed.



Re: Panasonic Firmware analysis
« Reply #1 on: 30 / December / 2008, 23:52:12 »
Hi, just started looking at the TZ5 v1.2 update file and it looks to me like there is a 2 byte ( checksum? ) after every 32 bytes in the update file.

Re: Panasonic Firmware analysis
« Reply #2 on: 31 / December / 2008, 08:12:47 »
wouldn't this thread fit better in "CHDK forum > Other Development > Non-CANON cameras development"?

Re: Panasonic Firmware analysis
« Reply #3 on: 31 / December / 2008, 12:59:58 »
Yes it would.

Re: Panasonic Firmware analysis
« Reply #4 on: 07 / April / 2009, 23:56:26 »
The Lumix FX30 uses a MN103SE00 cpu so I tried the mn103 IDA processor module that Virus pointed out in the Olympus thread, and with the TZ5 v1.2 modded bin it looks like it's a pretty good match. Loading at 55C7C000. Not sure yet why the module isn't doing xref's properly, ie.  if the version for IDA4.9 doesn't play nice with IDA5.2 or the module has bugs. Will look at the module source when I get some more time.

Re: Panasonic Firmware analysis
« Reply #5 on: 09 / April / 2009, 12:05:42 »
An improved IDA module was posted by stream here ( last post ). It not only fixes the issues with missing xref's but also adds switch/case detection that seems to work pretty good. (sure beats doing it by hand :P ) This module works fine for me (so far) with ida5.2.

3x LX3 firmware updates...
« Reply #6 on: 06 / June / 2009, 11:20:01 »
it *almost* seems like Panasonic are trying to give us the resources to reverse-engineer the LX3... add something like CHDK to the camera which is begging for it, but maybe (for commercial/marketing reasons) they cannot release themselves. Maybe simply because providing adequate documentation, technical support, and warranty, for an extended-feature-set firmware would be too expensive for the bean counters.

Anyway, the fact is we have three updates for the same camera (quite rare for the same camera to get so many updates). Can we use these multiple files to help us compare similarities/differences and start to tinker with it.

Someone mentioned that the files didn't seem to be encrypted or compressed, and other people mentioned something about an IDA.

At the risk of looking foolish, could someone elaborate a bit more on what methodology is generally used to analyse/disassemble/modify a firmware?



Related Topics