All articles
GuidesNovember 21, 20265 min read

How to Solve Any Scrambled Rubik's Cube With Your Phone Camera (2×2 to 5×5)

Point your phone at a scrambled cube, upload photos, or type it in, and get a step-by-step 3D solution for 2×2, 3×3, 4×4, 5×5 and Pyraminx. Free, and your photos never leave your device.

By Cubeathon Team

You scrambled it, you lost the thread, and now you just want to see it solved. A good Rubik's cube camera solver should take you from "stuck" to "solved" in a minute, without asking you to type 54 colours by hand and without sending pictures of your living room to someone's server. Here is how Cube Rescue does it, why it works on cubes that trip up most online solvers, and how to use it on a 2×2, 3×3, 4×4, 5×5 or Pyraminx.

Why most online cube solvers fail on modern cubes

Most solvers were built around a plain sticker cube: flat, evenly lit, a matte colour in the middle of each square. A modern speedcube is none of those things.

  • Rounded centre caps and Florian-style holes. Many speedcubes have a circular centre cap and dark corner-cutting holes around it. A solver that reads a square patch of each sticker samples the black holes and the plastic seams, and reads orange as brown or white as grey.
  • Glossy stickers. A bright lamp mirrors off a glossy sticker. A blue sticker with a white highlight reads as white, and a red one turns pink.
  • Stickerless cubes. The colour is the plastic itself, with no black border to tell the cells apart.

Cube Rescue reads each cell differently. It takes a small circle at the centre of every cell, so the sample stays inside a round cap and away from the holes and the seams. Then it sorts those pixels by brightness and throws away the darkest 15% (hole shadow, black borders) and the brightest 30% (glare, white borders). The median of the middle is the sticker's colour. The same reader is used by the live camera and by uploaded photos, so a rounded-centre cube reads the same either way. On 4×4 and 5×5 all six faces are then classified together, with each colour used exactly as many times as a real cube has it, which fixes most single-sticker mistakes.

Three ways to enter your cube

Open Cube Rescue, choose your puzzle, and pick whichever input suits you.

  1. Live camera. Press Scan with camera, hold each face flat in the square and keep it steady. On 4×4 and 5×5 the corners snap onto the face; if they don't, drag them. It captures by itself once the picture is still, and shows you what it read before you accept it. The camera scan is marked experimental: always compare the result with your cube.
  2. Upload photos. Press Upload photos and give it one photo per face, one at a time or up to six at once. On a phone, Take photo opens your camera app directly. Each photo gets four corner handles that you can drag onto the face, a Rotate 90° button for sideways shots, and a warning if the photo is blurry, glary or too dark. JPEG, PNG and WebP work everywhere; iPhone HEIC photos work in Safari.
  3. Manual entry. Paint the net sticker by sticker. It is the slowest way, and the one that always works. It also checks your colour counts as you go and points at the stickers that cannot be right.

Whichever you use, the scanned or painted net is shown for you to check before anything is solved. Camera and photo readings can be wrong, and the screen says so.

What you can solve

  • 2×2 and 3×3. A staged solution: cross, pairs, last layer. The 3×3 stages are the ones you can learn to do yourself.
  • 4×4 and 5×5. Reduction: centres, then edges, then the finished cube solves like a 3×3. A 4×4 may need its two famous parity fixes, and the solution includes them when your cube needs them. The 5×5 solver works out the whole sequence inside your browser in a fraction of a second.
  • Pyraminx. Enter or scan the four faces and follow the guided solution.

Every solution plays on a 3D cube that turns exactly as yours should, with the layer to move highlighted and a plain-language cue for each turn. On a 3×3 you can also check your cube against the picture with the camera at the end of a stage.

Your photos stay on your device

A private cube solver should mean what it says. Cube Rescue runs entirely in your browser:

  • Photos are decoded and shrunk in your browser tab. They are never uploaded to a server, and nothing about your cube is sent anywhere to be solved.
  • As soon as you confirm a face or discard a photo, the picture is erased from memory: the image data is released, the temporary canvases are emptied, and the file picker is reset.
  • The camera is released the moment you close the scan, switch tabs or leave the page.

After the solve: never get stuck here again

A solution is good; being able to do it yourself is better. The Solved screen looks at which stages your cube actually needed and suggests one short, free Academy drill: the trigger behind every algorithm if you were scrambled from the start, 2-look OLL if you were one stage away with a mixed yellow top, 2-look PLL if only the last-layer edges and corners were left. On a 4×4 or 5×5 it points to the 3×3 last layer, because that is the part you will repeat the most.

Those drills are in the Cubeathon Academy, where you practise on a live 3D cube with a recognition timer. No account is needed for the first one.

Try it

Grab a scrambled cube, open the Cube Rescue camera solver, and see it solved. If your cube is a 3×3, a 4×4 or a 5×5, you can have the steps in front of you in about a minute, and your photos never leave your phone.

Related

GuidesHow to Switch Cube Timers Without Losing Your HistoryProductWhy We Built Cubeathon: A Local-First Timer Made by a Cubing FamilyPracticeHow to Improve Your Average of 5 (Ao5)