Prince of Persia: The Sands of Time gets a native Android port via static recompilation

Developer Cleverdee released pop-sot-android v0.1.2, bringing the 2003 PC action-adventure to Android arm64 natively using x86-to-C static recompilation.

PC (Windows) → Android · Recompilation

olya_nro22 Nov 2026, 20:20· watcher:recomp

Developer Cleverdee has released pop-sot-android v0.1.2, a native Android port of the PC version of Prince of Persia: The Sands of Time built through static recompilation. Instead of running the 2003 game inside an x86 emulator or a compatibility layer like Wine, the project translates the game’s original POP.EXE binary from x86 machine code into C and compiles it directly for arm64 phones.

Under the hood, the port uses Ghidra to map out functions and a custom x86toc.py translator script to generate C code. That recompiled code runs on top of a lightweight custom Windows API layer (host/) that implements kernel32, user32, DirectInput 8, and DirectSound, while playing Bink video cutscenes through FFmpeg and translating Direct3D 9 graphics to Vulkan via wgpu-native. It shares this Jade engine architecture with Cleverdee’s sister ports for Two Thrones and Warrior Within.

According to the project’s status notes, the game boots, plays cutscenes with a skip option, creates save profiles, and supports tap-to-select menus alongside on-screen touch controls. On a Galaxy A17, gameplay runs at around 45 to 60 FPS. The latest v0.1.2 update fixes a crash when opening Options > Graphics and ensures graphics settings save properly.

There are still a few rough edges to expect if you play today. Some enemies render without their legs, and tutorial prompts display blank key names where PC keyboard bindings would normally appear.

How to try it

Because the repository contains no copyrighted Ubisoft assets or code, you must supply your own PC copy of the game (the GOG release works out of the box).

  1. Download and install the APK from the project’s GitHub releases page.
  2. Copy your installed PC game folder-containing POP.EXE, prince.bf, POPData.BF, Sound, and Video-onto your phone, or pack it into a .zip archive.
  3. Launch the app, choose your rendering resolution on the start screen, and point the app to your game folder or .zip file so it can copy the data in.

If you already installed version 0.1.0 or 0.1.1, installing v0.1.2 over it preserves your existing saves and settings.

Static recompilation has mostly targeted console binaries like N64 and Xbox 360 titles, so seeing an x86 PC executable translated cleanly to arm64 C code is a notable expansion of the technique. Using a shared Windows API shim across all three Jade engine Prince of Persia games also shows how modular this approach can be for early-2000s Windows ports on mobile.

Sources: github.com