Author Topic: Olympus FW analysis  (Read 6470 times)

Offline mx3

  • Developers
  • Sr. Member
  • ****
  • Posts: 372
Olympus FW analysis
« on: 12 / June / 2008, 12:01:16 »
  • Publish
  • new topic to host attached tool files to obtain and dissect Olympus FW


    update:
    fe-210
    CPU: seems to be Lexra LX4180 - MIPS R3000-like CPU
    OS: RTOS Green Hills
    usefull link: Pure Digital / CVS Disposable Digital Camcorder

    fw file contains 2 ELFs
    « Last Edit: 12 / June / 2008, 12:13:51 by mx3 »
    skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

    Offline mx3

    • Developers
    • Sr. Member
    • ****
    • Posts: 372
    Re: Olympus FW analysis
    « Reply #1 on: 12 / June / 2008, 13:21:48 »
  • Publish

  • x450
    fe100
    fe110
    fe115
    fe150 broken link
    fe160 broken link
    fe170
    fe210
    fe220
    fe270
    fe290
    fe310
    fe320
    fe330
    fe340
    fe350



    hm...
    first ELF is the same for fe210, fe220, fe270, fe290
    is it standart flasher?

    fe310's first ELF differs from fe210's one
    size of elf is the same

    fe310, fe330, fe350 - the same first ELF





    « Last Edit: 15 / June / 2008, 19:39:05 by mx3 »
    skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

    Offline kLOTTiS

    • Rookie
    • *
    • Posts: 5
    Re: Olympus FW analysis
    « Reply #2 on: 12 / June / 2008, 13:32:54 »
  • Publish
  • ive had a look through the fe210 firmware and have even found some plain text in one of the files.
    what would be the next step? are there any programs that can be used to decrypt them? id really like to start making a modified firmware but dont really know where to start.
    also is there a way to reupload the firmware once its modded?

    Offline mx3

    • Developers
    • Sr. Member
    • ****
    • Posts: 372
    Re: Olympus FW analysis
    « Reply #3 on: 12 / June / 2008, 14:04:55 »
  • Publish
  • ive had a look through the fe210 firmware and have even found some plain text in one of the files.
    there are tons of text

    what would be the next step? are there any programs that can be used to decrypt them?
    see to link in first post. there must be alot of information for starters

    id really like to start making a modified firmware but dont really know where to start.
    you need:
    - dissasembler
    - MIPS tool chain (ELF signature seems very promising)
    - would be exelent to find somewhere RTOS sources in peering network
    - alot of patience

    also is there a way to reupload the firmware once its modded?
    I see two ways.
    1) I think camera should contain some menu once file is on card
    2) it is possible to make fake web server on local machine. overriding IP address of theirs domain name will direct "Olympus Master" to local web server. then update will proceed as usual
    skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

    Offline mx3

    • Developers
    • Sr. Member
    • ****
    • Posts: 372
    Re: Olympus FW analysis
    « Reply #4 on: 12 / June / 2008, 14:07:57 »
  • Publish
  • also I suggest you to try reflash camera twice using "Olympus Master"
    It will show whether it is hard to upload modified file with the same version
    skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

    Offline mx3

    • Developers
    • Sr. Member
    • ****
    • Posts: 372
    Re: Olympus FW analysis
    « Reply #5 on: 12 / June / 2008, 14:12:49 »
  • Publish
  • SP series: sp310, sp320, sp350
    SP-500SP-510UZ, SP-550UZ, SP-560UZ, SP-570UZ

    CPU: ARM

    Flash base address: 0x40000000




    FujiFilm cameras S700 (S5700),  S800(S5800), s8000fd have the same Firmware packing structure
    and they are ARM powered

    same for Nikon E8700, CP3200, CP3700, CP5900, CP7900, CP8400, CP8800
    « Last Edit: 18 / June / 2008, 08:29:13 by mx3 »
    skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

    Offline mx3

    • Developers
    • Sr. Member
    • ****
    • Posts: 372
    Re: Olympus FW analysis
    « Reply #6 on: 12 / June / 2008, 14:44:44 »
  • Publish
  • what would be the next step?
    - guess memory addresss space configuration (ELFs disassembling)
    - find out whether it is possible to run code without firmware modification (ELFs disassembling)
    skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

    Offline mx3

    • Developers
    • Sr. Member
    • ****
    • Posts: 372
    Re: Olympus FW analysis
    « Reply #7 on: 12 / June / 2008, 14:53:44 »
  • Publish
  • what is TruePic processor?
    are there 2 processors in Olympus cameras?
    LX4180 - slave to truepic? or truepic is derivative from LX4180?

    anybody seen pictures of disassembled Olympus camera with chips visible?
    « Last Edit: 12 / June / 2008, 14:55:17 by mx3 »
    skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

    Offline kLOTTiS

    • Rookie
    • *
    • Posts: 5
    Re: Olympus FW analysis
    « Reply #8 on: 12 / June / 2008, 15:59:31 »
  • Publish
  • ive started to try dissasemble it with IDA but am still learning the program

    ive put the bin file on the memory card in many locations but no new menus have appeared, and there is no way that i see to update again. i think maybe i might have to somehow change the version of the firmware and then update it with a fake http connection

    CHDK Forum

    Re: Olympus FW analysis
    « Reply #8 on: 12 / June / 2008, 15:59:31 »

    Offline mx3

    • Developers
    • Sr. Member
    • ****
    • Posts: 372
    Re: Olympus FW analysis
    « Reply #9 on: 12 / June / 2008, 16:03:28 »
  • Publish
  • ive started to try dissasemble it with IDA but am still learning the program

    ive put the bin file on the memory card in many locations but no new menus have appeared, and there is no way that i see to update again. i think maybe i might have to somehow change the version of the firmware and then update it with a fake http connection


    I don't think "MAster"place file into camera with the same name it got while downloading it
    skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

    Offline kLOTTiS

    • Rookie
    • *
    • Posts: 5
    Re: Olympus FW analysis
    « Reply #10 on: 12 / June / 2008, 16:09:49 »
  • Publish
  • sorry i dont understand that post :) i think maybe im tired

    Offline mx3

    • Developers
    • Sr. Member
    • ****
    • Posts: 372
    Re: Olympus FW analysis
    « Reply #11 on: 12 / June / 2008, 18:34:10 »
  • Publish
  • sorry i dont understand that post :) i think maybe im tired

    my native language - russian so there are can be my mystakes

    I meant You know the name of BIN file how it was downloaded from WEB serer.
    Olympus Master places it into camera.
    I'm sure it copy it over USB with the name wich is different from original one (FAT system. Long names. it is a hunch)

    I'm sure name must be short and the same for different updates.
    the only way to found out it - analyse FW file (disassemble it)
    anyway we are speaking about "Plan A" - placing modified firmware into camera.
    do you have already update file wich you would like to test?
    skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

    Offline mx3

    • Developers
    • Sr. Member
    • ****
    • Posts: 372
    Re: Olympus FW analysis
    « Reply #12 on: 12 / June / 2008, 20:26:40 »
  • Publish
  • ive started to try dissasemble it with IDA but am still learning the program

    it seems olympus uses common EXE format - ELF.
    placing it into IDA gives you all information - including DEBUG info.
    canon geeks newer had such chance


    Update:
    IDA disassembled it in two seconds....

    PS: I loaded first ELF
    « Last Edit: 12 / June / 2008, 20:30:52 by mx3 »
    skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

    Offline kLOTTiS

    • Rookie
    • *
    • Posts: 5
    Re: Olympus FW analysis
    « Reply #13 on: 13 / June / 2008, 09:04:35 »
  • Publish
  • I meant You know the name of BIN file how it was downloaded from WEB serer.
    Olympus Master places it into camera.
    I'm sure it copy it over USB with the name wich is different from original one (FAT system. Long names. it is a hunch)

    I'm sure name must be short and the same for different updates.
    the only way to found out it - analyse FW file (disassemble it)
    anyway we are speaking about "Plan A" - placing modified firmware into camera.
    do you have already update file wich you would like to test?


    oh yes ok i understand now, would it help formatting it to fat32 or will that not make a difference? i dont think it will because as you say olympus master will rename it to something shorter to update.

    i do not have an update to test yet though, i was just thinking ahead incase we cant reupload it. because if we cant reupload it theres no point modifying it :)

    Offline mx3

    • Developers
    • Sr. Member
    • ****
    • Posts: 372
    Re: Olympus FW analysis
    « Reply #14 on: 13 / June / 2008, 11:34:55 »
  • Publish
  • unpacker attached
    skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

     


    SimplePortal 2.3.3 © 2008-2010, SimplePortal