Silly question... why can't we use the Canon supplied update firmware ? - page 2 - Firmware Dumping - CHDK Forum

Silly question... why can't we use the Canon supplied update firmware ?

  • 20 Replies
  • 30667 Views
Re: Decryption of 30D firmware is possible.
« Reply #10 on: 22 / January / 2008, 03:52:15 »
Advertisements
In fact the encryption algorithm is the same as for the IXUS cameras. The keys are different, but are known and are the same for 20D and 30D. I found a "decrypt20D.exe" somewhere on the web (the Yahoo group?) with no source. I extracted the keys from the exe and added them into a modified copy of Alex Bernstein's firmware decrypter/unpacker. The resulting program successfully decrypts a 20D firmware update.

The only difference for the 30D is that the firmware file has an extra header of 32 bytes in the beginning. Once that is skipped the rest of the files decrypts properly. It worked just fine on "30d00104.fir" and "30d00105.fir".

The source for both the 20D and 30D decrypters is attached.

Awesome!

Quote
No need. The attached program decrypts 30d00105.fir (http://web.canon.jp/imaging/eos30d/eos30d_firmware-e.html) just fine.

I have not done any further investigation of what the file format is but I know that the early IXUS unpacker does not work.

In plain text close to the beginning of both 20D and 30 files one can see:
"Copyright 1999-2001 ARM Limited
Copyright 1999-2001 Wind River Systems, Inc."

And later in the 20D file (20d00203.fir):
"VxWorks 5.5 VxWorks5.5  May 10 2005, 09:33:59"

And in the 30D file (30d00105.fir)
"VxWorks 5.5.1   VxWorks5.5.1    Nov  2 2005, 11:47:21"

So both are definitely using VxWorks just like all other DIGICII cameras.


Rocking!

Thanks!

Quote
Now "all" that is left to do is for someone to port the CHDK ;-)

Hehe, yeah..
 - And the Camera Hacking for a SLR will of course be rather different from a compact.

Wishlist for anyone that's really good:
  • The most wanted thing for me is a "reset after 5 minutes" feature: if it was longer than X minutes since last time I used the camera, I'd like exposure compensation to go to 0, color balance to auto, flash compensation to 0, ISO to 100, metering to center weighted, etc. I can't count the number of times where I've been shooting a whole bunch of images on ISO 1600 in full daylight, or getting a lot of images really dark (or having problems with too light frames) due to an image taken earlier with exposure compensation.
  • What about some mediocre "live view" on a 20D and 30D? With histogram and the lot? (One cannot do the full thing, since the hardware is lacking, as I've understood it)
  • Some "quick-mode" approximating a live-view: take a shot, but show the preview with RGB historygram overlay _right away_. Must hit a button to keep the image, or else it'll be killed by shooting again.
  • One obvious feature many of us SLR owners would like, which hopefully shouldn't be that extremely difficult, is time lapse (one can wonder very much why this isn't in there by default).
  • Large single RGB histogram when checking out the images.
  • A combined shoot-review mode - I can't stand that it is impossible to flip through and delete images when in shooting mode: pretty much all buttons throw you back to "next shot", while I'd like all buttons to work like in "play" mode, but when hitting the release button halfway or fully, I got back to shooting. So basically: some configuration where it was possible to make the shooting single-frame review instead act fully like "play" mode.

There's probably millions of things if this snowball just starts rolling sometime..

*

Offline naplam

  • *
  • 25
  • EOS 400D
Re: Silly question... why can't we use the Canon supplied update firmware ?
« Reply #11 on: 06 / February / 2008, 08:09:21 »
For people who use manual focus lenses with adapters, there's a VERY useful hack we could make: right now Canon bodies do not confirm focus if there is no lens attached (or if there's a manual focus non-EF lens with adapter to canon EF mount). So, in order to focus properly you need a perfect eyesight and some luck, or a 3rd-party split prism focusing screen which usually screws up light metering or special adapters with a chip that tricks the camera into believing it has a lens attached. Instead of buying those special adapters, we could modify the firmware to enable focus confirmation (green dot and red focus points) even with no lens detected (Nikon bodies have that feature, by the way).
I'll try to decrypt my 400D firmware when I have time...

*

Offline Zibri

  • **
  • 53
Re: Silly question... why can't we use the Canon supplied update firmware ?
« Reply #12 on: 17 / April / 2008, 16:10:43 »
hmm... from the iphone to this.. :)
it sound challenging..
I am now disassembling 400D firmware
anyone already started ?



*

Offline Zibri

  • **
  • 53
Re: Silly question... why can't we use the Canon supplied update firmware ?
« Reply #14 on: 17 / April / 2008, 16:53:52 »
Question:
how to re-encrypt a decrypted firmware ?

*

Offline Zibri

  • **
  • 53
Re: Silly question... why can't we use the Canon supplied update firmware ?
« Reply #15 on: 17 / April / 2008, 16:59:19 »
GrAnd: at the moment I am trying to do slight modifications..
Like:
changing a string, repacking original firmware and reflash.
Then I will try some code modding
i have a 400d and i wish to enable 3200 ISO :)

Re: Silly question... why can't we use the Canon supplied update firmware ?
« Reply #16 on: 18 / April / 2008, 07:15:06 »
Hi! Zibri

I want to help you. I want to enable 3200 ISO for my 400d too.

Please tell me how can I catch up with you?

Thanks

Re: Silly question... why can't we use the Canon supplied update firmware ?
« Reply #17 on: 18 / April / 2008, 13:27:50 »
Hi guys,
I own a 400D and I'm interested too in enabling ISO 3200.

I've just decrypted the latest firmware (1.1.1), and I've been to see some promising strings in plain text (ISO 3200 appears just after ISO 1600 :D ). It looks like this (i omitted some characters):

Quote
AdjHShadIso3200AdjHShadIso1600AdjHShadIso800AdjHShadIso400AdjHShadIso200AdjHShadIso100

The main problem now, is that I'm not able to unpack the decrypted firmware; I tried with module_list3, and it gave a strange error; after reading some forums, i erased the first 16 bytes of the decrypted firmware, it seemed to work, but it didn't give any reasonable output...

Does anyone have ideas about unpacking the decrypted firmware?
« Last Edit: 18 / April / 2008, 13:50:26 by el_trapador »


Hi!

I have an old Canon S45, for which Canon has issued a firmware upgrade.

PowerShot S45 Firmware Update 5E

Can I use this firmware instead of finding a way to download one from the camera?

Thank you,
Nuno

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
the firmware updates normally cannot be used. aside from that, your camera is too old for chdk, only Digic II and Digic III chips are supported (Digic I has a whole different OS).

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal