1. Welcome to Mu-43.com—a friendly Micro 4/3 camera & photography discussion forum!

    If you are thinking of buying a camera or need help with your photos, you will find our forum members full of advice! Click here to join for free!

Modified firmware, looking for users

Discussion in 'Olympus Cameras' started by ABel, Aug 14, 2018.

  1. ABel

    ABel Mu-43 Regular

    40
    Aug 14, 2018
    Krasnoyarsk, Russia
    Alex
    Hi there,

    I've made two small hacks in E-M5ii firmware v.4.0.
    1. An arbitrary autofocus lens can be used for the in-camera focus stacking.
    2. The video recording time limitations increased from 29 minutes. Now the recording is limited by 5 MOV files the video can be split into (the detailed description is in the bottom of this message).

    A couple of proof pics for the first hack:
    43944116391_1fb0f9fbf0_c.jpg
    Subscribe to see EXIF info for this image (if available)

    43895753192_d8989e9ec9_c.jpg
    Subscribe to see EXIF info for this image (if available)

    The stacking was already tested with Oly 45/1.8, Leica 15/1.7 and Oly MZ 9-18.

    The same modifications are available for other cameras (the focus stacking will only work in E-M1, E-M1ii and E-M5ii, of course). Here are the links to the firmwares:
    • E-M5ii - e-m5ii_v4.rar, video duration limit removed, focus stacking works.
    To install the firmware, you'll need to:
    * Make sure the battery is fully charged.
    * Extract the firmware file from archive into a folder called "DCOLYMP" on your SD-Card.
    * Put the SD-Card into your camera. Start the camera while holding the OK button pressed. The focus assist LED should turn on - this means the firmware is installing, and you can release the OK button.
    * When the installation ends, the focus assist LED will start to blink. Now you can switch the camera off, and then on again. That's all.

    It's also possible to revert to the original firmware.
    The files and the instructions can be found here.

    Some details on the video recording limitations.
    1. With the original firmware, you cannot record video more than 28:59.
    2. If you try to make a long enough video in high quality, it will be split into several separate MOV files. This was made because of 4Gb file size limitation imposed by FAT filesystem used in the SD cards. In the most of the cameras it's only possible to have 5 such "splits", while E-M1ii records up to 13 parts of a video.
    My modification only removes the first of these limitations, so you can go beyond 29 minutes, and the video duration is only limited by the max number of MOV files.
    With the modified firmware, E-M5ii shows the following max recording duration depending on the video quality:
    • FHD All-I - 0:36:14.
    • FHD SF - 0:53:49.
    • FHD F - 1:34:09.
    • FHD N - 2:38:49.
    The durations can be different for other camera models.
     
    Last edited: Nov 12, 2018
    • Winner Winner x 9
    • Like Like x 8
    • Wow Wow x 4
    • Informative Informative x 2
  2. Oh Bravo! Best news I've heard in awhile! I don't have the 5.2 or I'd love to test for you.
    Thank you for continuing the art of hacking camera software to make improvements. I think it's an important tradition to keep alive.
    Would love to see you hack Panasonic software as well.
     
    • Agree Agree x 2
    • Funny Funny x 1
  3. GarethB

    GarethB Mu-43 Regular

    94
    Jul 21, 2016
    I'd love to see some hacks to the Pen-F firmware! (Hint hint...)
     
  4. dlentini

    dlentini Mu-43 Regular

    104
    Jul 26, 2015
    @ABel@ABel can you share any information around how you did these hacks?
     
  5. ABel

    ABel Mu-43 Regular

    40
    Aug 14, 2018
    Krasnoyarsk, Russia
    Alex
    @dlentini
    I've used the tools from this message and then analysed the main firmware file in IDA disassembler.
     
    • Winner Winner x 2
    • Like Like x 1
  6. steve500

    steve500 Mu-43 Regular

    37
    Aug 1, 2018
    Helper, Utah
    Steve
    This is amazing news! I hope that firmware hack does work. I switched from Sony E to MFT and on the Sony's I was able to sideload an APK (sony's optional "apps" were based on android .apk apps) called the tweak app from the Openmemories project and unlock the recording limit on my a6000, 6300, and a7rii, this was awesome.

    To have the ability to do that on my Em1 mk2 at some point would be fantastic. I find myself shooting video of events sometimes and that would be so helpful if possible on models other than the m5ii
     
  7. steve500

    steve500 Mu-43 Regular

    37
    Aug 1, 2018
    Helper, Utah
    Steve
    Abel, Awesome! Have you ran these firmwares on any of your own camera models at all?

    I am very tempted to try your Em1ii firmware on mine. I currently have 2.1 installed, will the updater tool allow me to install the firmware being that I am already current version 2.1?
     
    Last edited: Aug 14, 2018
  8. ABel

    ABel Mu-43 Regular

    40
    Aug 14, 2018
    Krasnoyarsk, Russia
    Alex
    Yes, I've tested the firmware for E-M5ii on my camera.

    It's possible to install any version above any other.
     
    Last edited: Aug 15, 2018
    • Appreciate Appreciate x 2
    • Informative Informative x 1
  9. Mack

    Mack Mu-43 Veteran

    352
    Jan 14, 2018
    Interesting, but Windows 10 (USA) blocked the rar download as unsafe (Windows Smartscreen or something like that.).
     
    • Appreciate Appreciate x 1
  10. steve500

    steve500 Mu-43 Regular

    37
    Aug 1, 2018
    Helper, Utah
    Steve
    Scanned with up-to-date Sophos enterprise security endpoint - clean
     
  11. ABel

    ABel Mu-43 Regular

    40
    Aug 14, 2018
    Krasnoyarsk, Russia
    Alex
    I can upload ZIP archives, but I'm not sure they won't be blocked too.
    If you've used Edge to download the file, the easiest solution would be to try to re-download it with Firefox or Chrome.
     
  12. Growltiger

    Growltiger Mu-43 All-Pro

    Mar 26, 2014
    UK
    When you click on the link it isn't Windows that does the download, it is your browser. I just tried it in Firefox - no problem.
    Perhaps you have an anti-virus installed that isn't the one that comes with Windows 10, and that is blocking it.
     
  13. mauve

    mauve Mu-43 All-Pro

    Mar 9, 2010
    Paris, France
    I've done this type of hack in the past, and I applaud to your efforts. In my case it was for a 10 € Chinese (not so) smart watch, so no biggie if I had bricked it. I shiver just thinking the courage you had to try that on a 500 €+ camera ! :eek-31:
    :bravo-009:

    M.
     
    • Agree Agree x 4
  14. Mack

    Mack Mu-43 Veteran

    352
    Jan 14, 2018
    Yes, it was Edge that blocked it via Windows Smartscreen (???). Firefox just sat there, but it has some adware and other stuff loaded which usually blocks Javascript so I have to use Windows Edge.

    However, I tried same Pen-F RAR file again in Edge and it is downloading it this time. Also tried the E-M1ii and is is also downloading as well. Dunno.
     
  15. ABel

    ABel Mu-43 Regular

    40
    Aug 14, 2018
    Krasnoyarsk, Russia
    Alex
    Smartscreen uses really strange heuristics, and sometimes it blocks a file just because nobody else has downloaded it before. "It's a new file. It can possibly be harmful! I'll better block it."
     
  16. ABel

    ABel Mu-43 Regular

    40
    Aug 14, 2018
    Krasnoyarsk, Russia
    Alex
    I'm modifying the device firmwares for 8 years already, and I'm used to the risk of bricking ;) 
    As long as you double-check what you are doing, make only small local changes and don't forget to charge the batteries before firmware flashing, everything goes smoothly. Of course there's always a slight chance to screw up even in a completely safe situations ;) 
     
    • Like Like x 1
    • Funny Funny x 1
  17. steve500

    steve500 Mu-43 Regular

    37
    Aug 1, 2018
    Helper, Utah
    Steve
    Alright, I flashed your modified firmware to my EM1II. Success, and even all of my settings stuck. I currently am testing video recording. I just started a video capture. I see that the time remaining in the corner of the display started at 29minutes though, should this not be a concern ? I guess I'll be finding out in about a half hour.
     
    • Informative Informative x 2
  18. steve500

    steve500 Mu-43 Regular

    37
    Aug 1, 2018
    Helper, Utah
    Steve
    Update: The camera stopped recording at 28:59 :(  Quite sure my memory card is not filling up. 64gb UHS-II card recording in 4k 24

    The camera shows 40~ minutes remaining on the card before pressing record. As soon as I press record, the counter starts from 28:59

    Tried a 128gb UHS-1 card, too. Same result: Video clip attached

     
    Last edited: Aug 15, 2018
    • Informative Informative x 2
    • Like Like x 1
  19. ABel

    ABel Mu-43 Regular

    40
    Aug 14, 2018
    Krasnoyarsk, Russia
    Alex
    Thanks a lot for the testing and for the reporting!

    In the firmware for E-M5II, there's only one place in the code where the video limitation is set.
    Looks like in E-M1II there are more than one such place. I'll look further to find others.

    Could you also please check if the focus stacking is working for previously unsupported lenses?
    Supported are the lenses listed here plus Oly 12-100 Pro.
     
  20. ABel

    ABel Mu-43 Regular

    40
    Aug 14, 2018
    Krasnoyarsk, Russia
    Alex
    Oops, it's not the limitation checking routines.
    The problem is I've uploaded the original E-M1II firmware instead of patched version by mistake. Sorry for the confusion!
    I'll re-upload the file and let you know.
     
    • Funny Funny x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.