Modern Warfare 2 Comes to Android via Static Recompilation
Call of Duty: Modern Warfare 2 lands on Android in v0.1.0, translating Xbox 360 code into a native app with Vulkan support.
Call of Duty: Modern Warfare 2 (2009) from the Xbox 360 runs natively on Android devices in mw2-recomp v0.1.0.
The project uses XenonRecomp to translate the console’s PowerPC code into C++ ahead of time. It has a runtime for the kernel, audio, controllers, and Vulkan graphics, packing the campaign, Special Ops, and multiplayer into one auto-updating app without game files included. Other hardware is untested, and the build uses disc version 1.0.557 without title updates.
Performance varies by hardware. On an AYN Thor with a Snapdragon 8 Gen 2, the app caps at 60 frames per second by default, while the first visit to a level runs slower during graphics pipeline compilation. On a Retroid Pocket Flip 2 with a Snapdragon 865, the cap is 30 frames per second without the sun’s shadows, about a fifth of frames arrive a refresh late, and Cliffhanger’s start runs at 20. Qualcomm devices use the bundled Turnip driver (Mesa 27.0.0) because the phone’s own driver leaves walls and surfaces missing during the first minutes of a level.
How to try it
- Use a 64-bit Windows 10 or 11 PC with 16 GB of memory or more and about 40 GB free, plus an
.isodump of your own Xbox 360 Modern Warfare 2 disc (version 1.0.557). - Clone the repository and supply your disc image during the PC build, keeping generated files on your own devices.
- Install the app on a 64-bit Android 8 or later device with Vulkan and about 7 GB free for the game files, plus space for the 7.3 GB disc image while installing.
