Originally posted by photogem Would be interesting if on can use this "forced firmware recovery" for the K30 and K50 as well?
As far as understand, this technique can be used with almost any of K-family cameras.
It's already known, that K-30 firmware contains the following filenames: KB524.BIN, KB524C.BIN, KB524C0.BIN, KB524C1.BIN, KB524B.BIN.
These files can be used for a installation of non-encrypted blocks of firmware, and this might even work if a regular firmware installation hangs.
I haven't seen any reports of their successful usage here on PF, that's why I've decided to share what I've discovered during my firmware research.
KB524.BIN contains DSP code, which starts from offset 0 in fwdc215b and occupies C00000 bytes (all offsets and lengths are hexadecimal).
KB524C0.BIN - Core0, start = 0, length = C00000
(these values look really strange to me, and I'm not sure if they are correct).
KB524C1.BIN - Core1, start = 20000, length = 80000.
KB524C.BIN - CPU code, start = C00000, length = 40000.
KB524B.BIN - both DSP and CPU, start = 0, length = C40000.
We've only used "Both" firmware, others were not tested.
KB524B.BIN is just an unencrypted firmware fwdc215b (I use
pfwtool for the firmware decryption).
To install, the file should be saved to an SD card using a card-reader. As soon as the card is inserted in the camera, the file's size, hardware IDs and checksums are checked, and if the file is considered valid, the camera requests to eject the card, and the installation starts.