RoboPapa — Build, Code, Create, Repeat

« Projects

Reviving a lululemon Studio Mirror

The lululemon Studio service shut down, and Mirrors like mine got stuck. Mine just kept asking for an app and a network that don't exist anymore. Under the hood it's an Android 10 computer with a big screen, a camera, speakers and microphones, all behind a locked boot chain. Most people rip out the board and put a Raspberry Pi in its place. I wanted to keep the original hardware, so we unlock the board that's already there. No new board, no new storage.

The Mirror showing 'Oops! Looks like your Mirror isn't connected to a network'
Before: stuck asking for a network…
The Mirror showing 'Visit the lululemon Studio app to start a class'
…and for an app that no longer works.

At the end you have a plain Android mirror with a full-screen clock. You can install your own apps over a USB cable. I put together a kit that does all the hard work with one script, and below I'll walk you through it step by step.

Downloads

  • mirror-kit.zip is the Mirror Revival Kit: the flash-mirror.sh script, the tool that does the patching, the Mirror Clock app and a README with every step below.
  • mirror-clock-app.zip is the demo app (Mirror Clock): a ready-to-install APK plus the full source. Use it as a starting point for your own mirror apps.

Two golden rules

  1. Set the serial adapter's jumper to 1.8V. 3.3V or 5V can damage the board.
  2. If macOS says "The disk you inserted was not readable by this computer", always click Ignore. Never click Initialize, and never erase anything in Disk Utility. That would wipe the mirror's software.

What you need

Nothing fancy:

ItemNotes
A MacApple Silicon or Intel, with Homebrew installed
USB-to-serial adapter that supports 1.8Ve.g. DSD TECH SH-U09C5. This is the important one. Set its jumper to 1.8V
3 female-to-female jumper wires
Micro-USB data cableSome cables only charge. If the Mac never sees the mirror, try another cable
Small screwdrivers / pry toolTo open the back panel

What the kit changes

  • Turns on adb (Android's developer connection) with root access over micro-USB.
  • Switches off the parts of the locked boot chain that brick the mirror once lululemon's servers are gone: verified boot, the encryption tied to it, and a boot step that gets stuck.
  • Erases the old user data. It's encrypted to the old boot chain and can't be used anyway.
  • Installs Mirror Clock as the home screen and connects the mirror to your Wi-Fi.

It does not change the bootloader itself. Before anything is written, your original partitions are backed up to ~/mirror-backup-(date)/ on your Mac. Keep the folder from your first run; later runs back up the already-modified software. The script checks everything first and writes nothing until every check passes and you type yes.

Step 1: Get the kit ready

Download mirror-kit.zip, double-click it to unzip, open Terminal, go into the folder and make the script executable:

cd ~/Downloads/mirror-kit
chmod +x flash-mirror.sh

Step 2: Open the mirror and find the debug header

Unplug the mirror, lay it face down on something soft, and take off the back panel. There's the main board. Look for a small 3-pin debug header marked A53_UART. That's the serial console, and it's how we talk to the bootloader.

The mirror lying face down with the back panel off, the board on the right edge, wired to a MacBook
My bench: mirror face down on a blanket, back panel off, Mac next to it.
The mirror's main board with the jumper wires plugged into the A53_UART header
The main board. The serial wires go into the A53_UART header.
Close-up of the A53_UART header with a connector plugged in
Close-up of the A53_UART header.

Looking at the header, the pins from left to right are:

PinSignal
1GND (ground)
2RX (the board receives)
3TX (the board transmits)

Step 3: Wire it up (crossed over)

And yes, it's crossed over. It's not like jump-starting a car; here crossing them is the right way:

AdapterBoard header
GND→pin 1 (GND)
TX→pin 2 (RX)
RX→pin 3 (TX)

TX goes to RX and RX goes to TX. Do not connect the adapter's VCC pin. Leave it alone. Double-check the adapter jumper is on 1.8V.

The USB serial adapter's pin row labelled CTS, RTS, RXD, TXD, GND, VCC with jumper wires attached
The adapter's pins are labelled: use GND, TXD and RXD, never VCC.
The jumper wires joined into a small header connector before plugging into the board
The jumper wires ready to go onto the board's header.

Plug the adapter into the Mac, and connect the micro-USB cable from the mirror to the Mac too.

Jumper wires running from the board's header along the frame to the USB serial adapter
Wired up: board header → jumper wires → USB serial adapter → Mac.

Step 4: Test run (writes nothing)

./flash-mirror.sh --dry-run

Enter your Mac password when asked. When the script says "Now UNPLUG the mirror's power, wait 3 seconds, and plug it back in", do exactly that. It catches the bootloader, opens the mirror's storage over USB and backs everything up first, then runs every check without changing anything.

You want to see Dry run complete. Nothing was written. If it says STOPPED, don't continue; check the troubleshooting list below.

So what's actually happening?

In a nutshell:

  1. Over the serial wire, the script stops the mirror in its bootloader, called U-Boot.
  2. U-Boot shares the mirror's own storage with the Mac, like a USB drive.
  3. The Mac turns on adb and switches off the lock steps that brick the mirror without its servers. Each patch is found by its content rather than a fixed position, skipped if it's already applied, and checked by reading it back.

Same drive, new brain.

Step 5: The real run

Same script, no dry run:

./flash-mirror.sh

Power-cycle the mirror again when asked and type yes when it asks for confirmation. It patches the mirror, restarts it and waits for Android. The first boot can take up to 5 minutes, and a static logo for a while is normal. Grab a coffee. It then sets the time and installs Mirror Clock.

Next it asks for your Wi-Fi name and password and connects the mirror. The mirror has no clock battery, so Wi-Fi is how it gets the right time back after a power cut. Press Enter on an empty name to skip it; you can run ./flash-mirror.sh --apps later to connect.

When you see "All done", the mirror shows the clock. Unplug the serial adapter, put the back panel on and you're finished.

Installing your own apps

From now on you only need the micro-USB cable:

adb install -r your-app.apk
adb shell cmd package set-home-activity com.your.app/.MainActivity   # make it the home screen

Just remember, there are no Google Play Services on this mirror, so apps must not depend on them. The Mirror Clock demo app is two small Java files with a build script that needs no Gradle, so it's an easy place to start. To put Mirror Clock back as the home screen, run ./flash-mirror.sh --apps.

Mine now runs a local voice assistant ("Hey Jarvis") on the original hardware, with weather, workouts and a photo slideshow. Finally, something in this house that actually listens to me.

Changed your mind?

With the serial adapter and micro-USB connected, restore from the backup folder of your first run:

./flash-mirror.sh --restore ~/mirror-backup-(date of your FIRST run)

That rewrites everything the kit changed. The old user data can't come back, because it was encrypted to the original boot chain.

Something stuck?

Check the wires, the 1.8V jumper and the cable, then run it again. It picks up where it left off.

Message / symptomWhat to do
no USB-serial adapter foundRe-plug the adapter. Try another USB port or hub
no U-Boot prompt seenCheck the 3 wires (GND/TX/RX crossed) and the 1.8V jumper. Power-cycle again
did not appear as a USB diskUse a different micro-USB cable (it must be a data cable)
unknown firmware, nothing writtenYour mirror has different software than the kit was built for. Stop and ask in the comments with the full output
READ-BACK MISMATCHPower-cycle the mirror and run the same command again; it finishes what is left. If it repeats, stop and keep the ~/mirror-backup-* folders
macOS “disk not readable” popupClick Ignore (never Initialize)
Android did not finish bootingPower-cycle once more and run ./flash-mirror.sh --apps
The mirror did not connectThe Wi-Fi name is case-sensitive; check it and the password, and that the router is in range
Clock shows the wrong timeThe mirror isn't on Wi-Fi. Run ./flash-mirror.sh --apps with the micro-USB cable connected

Tested on firmware Mirror/mirror_v1_1:10/QQ3A.200805.001. The script refuses to write to anything it doesn't recognise.

What else around the house needs a RoboPapa upgrade? Drop your idea in the comments on the video. I read every comment.

Reviving a lululemon Studio Mirror | RoboPapa