zeyad

home / work / cupertab

cupertab

a port of touchhle that runs in a web browser. it started as a fork of touchhle. early iphone apps run in a tab, and ios 4 boots from an ipsw you supply.

try it - source

the demo needs your own files: an iphone os 4 .ipsw plus its root filesystem key, or a decrypted .ipa you own. it ships no apple files and nothing gets uploaded.

the ios 4.2.1 lock screen with slide to unlock, running in a browser tab, under the status line running iPhone1,2_4.2.1_8C148_Restore.ipsw
ios 4.2.1 for the iphone 3g, booted from an ipsw in a chromium tab.

cupertab is a port of touchhle that runs in a web browser. it started as a fork of touchhle. touchhle is a high-level emulator for early ios apps: it runs the app's own arm code and swaps ios for its own versions of the system frameworks. cupertab builds it to webassembly, and it can also boot ios 4 from an ipsw you supply, so apple's own springboard runs in the tab.

it was called touchhle-web until november 2026. touchhle was started by hikari_no_yume, and many other people have worked on it since. please don't report problems with the web build to upstream touchhle, because they don't work on cupertab.

when a boot reaches the lock screen, the page saves a snapshot of it. the next time you pick the same ipsw with the same key, the lock screen shows up in about a second in chromium.

Facts

  • runs - apps for iphone os 2.x, 3.x and ios 4.0.x
  • boots - ios 4.2.1 for the iphone 3g (8C148), the only firmware tested so far
  • cpu - a rust interpreter, plus an opt-in webassembly jit (?jit=on)
  • guest memory - a 1 GiB window per process
  • memory needed - about 1.2 GB to start, past 2 GB to boot ios 4
  • tested in - desktop chromium
  • based on - touchhle by hikari_no_yume and contributors
  • licence - mpl 2.0 for the source, gpl 3 or later for binaries
the cupertab page: a root filesystem key field and three green buttons, choose .ipa, boot ios 4 .ipsw and add .ipa to home screen
the page before you pick your files.