Decompiling a delisted mobile app into a web app
Recovered the undocumented Bluetooth protocol of a discontinued instant camera from its shipped apps, then rebuilt its companion app as a web page that controls the real camera.

Photo: © 2016 Teenage Engineering
The camera, live
An unofficial web companion for the Impossible I-1 instant camera, built on a Bluetooth protocol I decoded myself. Its interface is a live 3D model of the camera that shows the hardware state: the knob, the ring flash, the LED and the battery. Drag the model to orbit it, and double-click to fire the flash.
Unofficial Web App companion, not affiliated with Impossible B.V. or Polaroid B.V.
The challenge
The Impossible I-1 is an instant film camera that is controlled from a companion app over Bluetooth Low Energy. The app handles focus, shutter, exposure and flash, and adds shooting modes such as Manual Mode, Light Paint, Double Exposure, Color Paint, Noise Trigger, Remote Trigger, Self Timer and Timer. The companion app, the only way to reach most of these features, was delisted from the store in 2025. Anyone who owned one was left with a camera they could no longer fully use.
The Bluetooth protocol was never published. My goal was to rebuild the app as a plain web page that talks to the real camera from the browser. It needed no native app, no backend and no store install.
Two builds, two different problems
I started from the two shipped builds of the official app. Each one revealed a different half of the picture, because Apple encrypts App Store binaries and Android does not.
iOS: the shape, not the substance
The iOS code is protected by Apple’s DRM, so tools return garbage on it. The Swift symbol table sits outside the encrypted region, though. Reading it recovered the names of the message types and their fields, but none of the actual values. It told me what the protocol talks about, not how it says it.
Android: the whole protocol, in the clear
Decompiling the Android build with jadx produced readable source. It gave me the real Bluetooth identifiers, the exact message framing and byte-level layout for every command, and the camera’s focus calibration. Even after code minification, a Kotlin quirk leaked the original field names, which turned an anonymous layout back into a labeled one.
In short: the iOS build told me what to look for, and the Android build told me exactly what it was.


Photo in both screens: © 2016 Oskar Smolowski
Decoding the protocol
The camera uses a common serial-over-Bluetooth pattern, with its own small command language layered on top. Every message has the same short header, and all multi-byte numbers are little-endian. I mapped nine commands, such as status requests, manual exposures, long exposures and eject, and five camera responses, including live status and exposure confirmations.
The decoded data included the real focus zones, from macro at 0.3 to 0.5 m out to far at 4.5 m and beyond, and the light-meter gain levels. A later round added the battery: a voltage reading and a condition byte that covers charging and low charge. A few details are still unconfirmed, such as the infrared ranging formula and whether the film counter shows shots left or shots taken. None of them blocks controlling the camera.
Recreating the app
I started by rebuilding the app for desktop as plain HTML, CSS and JavaScript with no build step, using the browser’s Web Bluetooth API. It had four screens:
- Connect: search for the camera, or explore with a simulated one.
- Home: a mode grid with a live status bar for battery, film count, Bluetooth and flash.
- Manual mode: the most complex screen, with a square viewfinder, draggable aperture and shutter rulers, a live exposure indicator, and focus and flash controls.
- Remote trigger: a simple mode with a shutter button and an event log.
I matched the interface against screenshots of the original app instead of reinterpreting it, so that someone who knew the old app would feel at home in the new one: the app’s exact yellow, #FFAF2C, condensed uppercase titles, sharp corners on photos and cards, and a square, instant-film-proportioned viewfinder.
A protocol module implements the decoded wire format exactly. A matching simulated transport lets the whole interface be built, demoed and tested without the camera, and it takes over automatically on browsers without Web Bluetooth, such as Safari on iOS.

Making the camera the interface
While recreating the screens, a better idea took over. The app talks to a physical object, so why not show that object? Instead of icons for the knob, flash and battery, the camera itself can carry that state. I modelled the I-1 in 3D and made it the centre of the interface, and the rest of the layout grew around it.
The model, embedded at the top of this page, is built in the browser with Three.js from product photos and the official spec. The home screen shows how far the interface moved from the first recreation.


Design decisions
- Icon tiles instead of photos: the original photos were replaced with icon tiles, so the model is the only picture on screen.
- Honest modes: working modes are solid yellow. The six unfinished ones are outlined and marked “In progress”, and tapping one says “This mode is not implemented yet” instead of opening an empty page.
- No hard edge: on desktop the camera sits on the left and fades into the content. A lighter panel with a hard edge created a visible split, so I removed it.
- The camera never cuts through itself: every automatic move orbits around the model.
How the model reacts
- Pairing: pressing connect swings the camera to a three-quarter view, turns the knob to the Bluetooth icon and pulses the blue LED. A soft glow on the page follows the LED.
- Shooting: the ring flash fires on the model when a shot is taken, as visual feedback only.
- Battery: the icon follows the camera’s real voltage and condition, with a charging bolt and the exact voltage on hover. The percentage is an estimate, because the camera only reports a voltage.
- Movement: drag to orbit. After a few seconds without input the camera eases back to its resting view and keeps turning slowly.
On desktop the screen is split, with the camera on the left and the content on the right. On phones the camera sits above a swipeable row of mode tiles, and swiping turns the camera from the top view to the front view.


Problems found and fixed
Protocol and app
The camera connected, then dropped a second later
Comparing against the official app showed it reads the firmware version and sends a pairing request before treating the link as established. My app skipped that handshake, so the camera silently dropped the connection.
Only some of the ring flash fired
The exposure command has two separate flash-power values, and I was setting only one of them to full power.
Images and fonts would not load in the browser
The recovered images used a non-standard Apple compression that no browser can decode, and the fonts had a broken table that Chrome rejected. I re-encoded the images and rebuilt the font tables so they render correctly.
The exposure needle floated between ruler marks
The indicator moved freely while the ruler only draws marks at fixed steps. Snapping it to the same tick grid fixed it.
3D interface
The camera flew through itself
Returning from a flipped view moved the 3D camera in a straight line between two positions, straight through the model. It now orbits around the model along the shortest path.
Dragging froze the animation
Dragging stopped the automatic turn for good. A timer now restores the resting view and the turn after a few seconds.
A lighting fix changed the whole body
A change meant to make the underside readable also altered the lighting everywhere else. I reverted it and added a separate light that fades in only when you look at the camera from below.
The tower glowed from above
A bright overhead reflection made one part glow when seen from above. I reduced the reflection on that part only.
Result
- A decoded protocolMost of the Bluetooth protocol, decoded from the vendor’s own shipped code.
- A working web appIt connects to a real camera, reads live status, fires a manual exposure with the chosen focus, aperture, exposure time and flash, and receives the camera’s confirmations, all from a browser tab.
- A camera as the interfaceA live 3D model of the camera that shows the hardware state on the object itself.
What’s next
- Build the six modes that are still marked “In progress”.
- Decode the infrared distance reading, which needs a live capture.