Hacking my Kodak Charmera to take RAW photos and suck less

Black-and-white mirror self-portrait holding the Charmera.
Self portrait with Charmera

The Kodak Charmera

A while back I bought a Kodak Charmera keyring camera.

You might have seen these on social media. They are tiny keyring cameras, with a retro look inspired by the 1987 Kodak Fling disposable camera. Despite the brand name they’re not actually made by Kodak, the actual Kodak company famously not having handled the transition to digital very well.* The cameras are made by Reto Production Ltd, a Hong Kong based company, under license from Kodak.

As a camera, it’s a difficult purchase to justify. The photo quality is dreadful. If you have a modern smartphone, or for that matter a mid-2000s flip phone, you already carry a better camera.Yellow Kodak Charmera with a rainbow-striped front marked 1987.

So your reaction to the Charmera probably falls into one of two camps. Either “What’s the point? My phone takes better photos!” or “Yes, I do want a miniature retro camera that attaches to my bag and takes absolutely terrible pictures.”

I had two reasons for wanting a Charmera. One is the current Korean fashion for baekku – attaching small keyring trinkets and stuffed toys to your bag as a form of personal expression. The other reason is that the limitations of the Charmera’s photos are the point.

Orange booth with Korean lettering, photographed in stock colour mode.
Stock colour photo from the Charmera – not too pleasant.

Where exactly is the line between “characterful” and just “bad”? I don’t know, but the Charmera makes you ask the question. The photos are around a megapixel in size and the colour reproduction is poor. The focus is fixed at around two metres, so pictures shot at both close range and infinity are out of focus – a definite compositional challenge!

I could find some charm in the pictures it took, but I didn’t find much charm in the various filters and novelty overlays. So I quickly decided that I would only use the Charmera in black and white.

Hacking the firmware

It was here that I hit a problem. While I could tolerate the Charmera’s photographic flaws, I couldn’t stand the janky UI. Andy Westlake of Amateur Photographer called the menu arrangement “decidedly obtuse”, and I agree. To get to black and white, I had to follow this process every time:

  1. Turn the camera on
  2. Select “photo” mode
  3. Press the down button three times to cycle to black and white

 The camera doesn’t save your last selection, so this routine quickly became tiresome. It destroyed the spontaneity, as well as any reasonable prospect of using the Charmera in a shoot-from-the-hip style. It’s difficult to do that when you first need to memorise a sequence of fiddly buttons. I want my crappy novelty keyring cameras to work right – the way I think they should work!

Fortunately, AI makes niche desires like this possible. I set the latest version of GPT Astra to work on it.

The first attempt went awry. Astra found a firmware flash, but my edition of the Charmera used a different sensor. So my enthusiasm meant that my camera couldn’t take pictures for a while. Luckily, another user posted a different copy soon afterwards which matched my Charmera’s sensor.

Black and white, and exposure compensation

I started by fixing that annoying UI quirk. I modified the filter selection so that the camera now defaulted to black and white.

I wasn’t happy with the default curve of the black and white images, though. They produced safe, midrangey photos, which felt flat for my taste. So I replaced the stock black and white processing with a more film-like curve, higher contrast and a gentle rolloff in the highs.

This helped, but in order to use it effectively, I now needed exposure compensation. The Charmera clips easily; I wanted to be able to expose for the highlights. As I only cared about black and white, I got rid of the rest of the cute filters and remapped the arrow keys to provide exposure compensation of plus/minus three stops, in half-stop increments.

Bonsai at auto exposure and −2 EV. The darker shot retains leaf detail.

Adding RAW capability

Having gone this far, though, I wanted to know what else was possible. Could I also get a RAW image out of the Charmera?

Yes, I could! I modified the firmware to save a copy of the RAW image alongside the JPEG. I probably won’t spend a lot of time developing RAW photos from the Charmera – it rather defeats the point –  but it is nice to have the option, and also means I can convert my black and white images back to colour, if I want.

Glowing lamp in two camera JPEGs and a developed RAW. The RAW retains lamp detail at a similar brightness to auto exposure.

A discovery

The RAW files exposed something interesting. The RAW image is a 10-bit Bayer pattern measuring 1280 x 720 pixels – a standard 16:9 aspect ratio. But the JPEGs produced by the stock Charmera are 1440 x 1080 pixels, with a 4:3 aspect ratio. Where are these magic extra pixels coming from?

Nowhere, as it turned out. The Charmera produces its standard 4:3 photos by taking the sensor’s central 960 x 720 pixels, cropping the edges, then upscaling by 50 percent. A small cheat!

The full sensor image shows a possible reason for this choice. Besides the more “photographic” aspect ratio, the open gate images show heavy vignetting and some softness towards the edges:

Brick wall with dark, soft corners and bowed mortar lines.
Vignetting, distortion and softness in open gate.

For a camera whose limitations are its appeal, I think the wider frame and vignetting allow for much more interesting photos. So I also modified the firmware to capture the entire sensor output by default, and the 160 x 80 LCD display to show the wider image.

Snow-covered windscreen in the stock crop and the slightly wider full-sensor view.

Does it fix the Charmera?

This was the full set of enhancements I made to my Charmera:

Black-and-white photo of an umbrella hanging from a metal stair rail.
Taken with the Charmera and my modified firmware
  • Black-and-white only JPEGs
  • Every photo saved as both RAW and JPEG (RAW conversion to DNG via an external utility)
  • Exposure compensation
  • Open gate, full sensor capture and 16:9 aspect ratio
  • Live view and gallery modified to show the wider aspect ratio
  • A more film-like black-and-white curve

None of these things make the Charmera a “good” camera. But they make it more of a photographer’s camera, and less of a novelty item. My Charmera is now permanently attached to my bag. Its small, fun physical form and creative limitations encourage me to take different sorts of pictures. They might not be technically perfect, but they can be interesting for that, like a pinhole camera – or, yes, like a disposable film camera from the eighties.

Modifying your own Charmera

I’ve made the repo of my Charmera modifications available on GitHub. If you want to do something similar to your own Charmera, point a capable AI agent at it. Do so at your own risk, stay within the law, and be aware that modifying the firmware could void the warranty and possibly brick your camera. As I discovered, different Charmeras have different image sensors; use the repo’s compatibility check before flashing. It worked for me; you’re on your own.

Black-and-white photo of stacked plastic pallets in sunlight.
It’s not a bad camera, really. It’s fun, and can produce some cool photos!

Published .

Leave a comment