Help, news and requests: join our Discord.
CoD4 Recompiled: Call of Duty 4: Modern Warfare on Android

Recorded on an AYN Thor, played from the author’s own disc: the opening of Crew Expendable, 119 FPS on average (the app’s own counter, top left).
A native Android port of Call of Duty 4: Modern Warfare, recompiled from
your own Xbox 360 disc: the campaign and multiplayer in one app. It is not
an emulator and nothing is streamed: the console’s code is translated ahead of
time by XenonRecomp and compiled
for your device, with a small runtime standing in for the console (Vulkan
graphics, audio, controllers). It is the newest of the three ports and the
least played: expect rough edges.
Unofficial fan project. Not affiliated with or endorsed by Activision or
Microsoft. This repository contains no game data, no executables and no code
made from them. You bring your own disc image; everything built from it stays
on your own devices. Never upload or share the game code package, the
extracted files or the generated code: they contain the game.
If it runs well for you, a star on GitHub helps others find it. Questions, device reports and news: our Discord.
Other games: Modern Warfare 3
(also builds for Windows) · Modern Warfare 2 ·
Advanced Warfare ·
Black Ops III ·
World at War ·
Black Ops ·
Ghosts
Supported devices (tested = run by the project on every release; nothing else is):
| Device |
Chip, GPU |
Android |
Tested |
Measured FPS in Call of Duty 4 |
| AYN Thor (120 Hz) |
Snapdragon 8 Gen 2, Adreno 740 |
13 |
yes |
117 to 119 |
| Retroid Pocket Flip 2 (60 Hz) |
Snapdragon 865, Adreno 650 |
13 |
yes |
59.5 to 60 |
| Any other Snapdragon |
Adreno 6xx, 7xx, 8xx |
10 or later |
no |
none measured |
| Mali, Xclipse, PowerVR |
Mali-G57 and newer untested; Mali-G52, G76 and older not supported |
10 or later |
no |
none measured |
What to expect, and the reports players sent: Supported devices and what to expect.
Quick start
No PC is needed. You need your own Call of Duty 4: Modern Warfare disc as
an .iso file, on the device (the Downloads folder is fine) or on its SD
card.
- Install the app from Releases
and open it. It opens on Set up the game.
- Pick your disc image. An
.iso in Downloads is usually found by
itself: tap USE THIS FILE. Otherwise tap CHOOSE THE .ISO FILE and
tap it. The app checks that it is the right game, and only reads it.
- Build the game. Tap BUILD THE GAME and wait: about 2 minutes on
the AYN Thor, 4 on the Retroid Pocket Flip 2. The campaign and the
multiplayer are built together. The first time, Android asks to allow
notifications and to install the app’s build tools: the screen says what
to tap. Keep the charger in; you can leave the app, and a notification
shows how far it is.
- Play. Skip Add your DLC unless you have map packs, then tap
PLAY.
| 2. Pick your disc image |
3. Build the game |
4. Play |
 |
 |
 |
The app updates itself. If an update needs the game built again, the app
does it by itself in the background, or the large button says UPDATE THE
GAME; no disc image is asked for again.
Once the game is built you can uninstall CoD recompilation build tools
in Android Settings to save space. All the ports share it: uninstall it only
when none of them is building. If a later update needs the game built again,
the app downloads the tools again and Android asks you to install them.
If it runs well for you, a star on GitHub helps others find it. Nothing is locked behind it. Questions, device reports and news: our Discord.
Official downloads
- The only official APKs are on this project’s GitHub releases page.
- APKs re-uploaded elsewhere (file hosts, Reddit, Discord mirrors) are not ours. They may be modified or out of date, so we can’t help with problems they cause.
- The game is never provided. Build it from your own disc image, dumped from a disc you own. We don’t link to download sites, and we can’t help with downloaded copies.
- Reporting a problem: open an issue and attach the log (LOG -> SHARE in the app).
- Help, news and requests: our Discord yassin.app/discord. For bugs, attach your log (LOG -> SHARE).
- Privacy: nothing about you or your phone is sent anywhere unless you turn on anonymous performance reports, which are off until you say yes. What they hold, and what is never sent: PRIVACY.md.
FAQ
Build or install? Neither is a choice any more: tap the one large button
(SET UP THE GAME, later CONTINUE SETUP). It asks for your .iso,
then builds the game. Nothing is copied: the game plays from the .iso
where it is. The separate build and install screens of older versions are
under Repair / rebuild, and you only need them to change something.
Is multiplayer included? Yes. One build makes the campaign and the
multiplayer, and the main screen then says “Ready - campaign and multiplayer
installed”. PLAY starts the campaign; MULTIPLAYER is under Play
options.
Where’s my .iso? The app contains no game and downloads none. The .iso
is the copy you made of your own Xbox 360 disc. Put it on the device, in
Downloads or on the SD card, and keep it there: the game reads it every time
you play. If the app does not find it by itself, tap CHOOSE THE .ISO
FILE, or Look in a folder and open the folder it is in. If the app
says the file is another game or a version it does not support, it is not
the disc this app is for (see What you need).
It’s slow, or the screen is black. Open the app, tap LOG, then
SHARE, and choose Share the log file. Then tap REPORT A PROBLEM
(or open an issue)
and attach that file. The first visit to a level may stutter while its
graphics are compiled; see Tips and Troubleshooting.
What you need
- Your own Call of Duty 4: Modern Warfare disc as an
.iso (about
7.8 GB). Normal PC disc drives can’t read Xbox 360 discs, so the dump has to
come from a drive that can. Only the USA/Europe disc (2007) is accepted; any
other is refused rather than built wrong.
- An Android 10 or newer device with a Snapdragon 865 or better, 8 GB of
RAM recommended. Tested: AYN Thor and Retroid Pocket Flip 2. Mali GPUs from
the G57 up are untested; Mali G52 and G76 (and older) are not supported.
- About 8 GB free for the disc image, on the device or an SD card, plus
about 1 GB while the game is built.
- Languages. The app follows the phone’s language: English, Spanish,
Portuguese (Brazil), French, German, Italian, Russian, Polish, Turkish,
Arabic, Simplified Chinese, Japanese, Korean and Indonesian. The game is in
its disc’s language, English on the USA/Europe disc
(docs/languages.md).
Will my phone run it?
It is built and tested for a Snapdragon 865 or better. Below that, or on
a Mali, nobody has played it comfortably yet. The two devices the project
tests are Snapdragons; what is said below of other chips is what players’
logs showed.
- The least a phone needs: Android 10 or newer, 8 GB of RAM recommended,
and a graphics chip whose driver offers Vulkan with descriptor indexing
(the app checks at start-up and says what is missing; the log’s
device:
line names it). The slowest chip tested is the Snapdragon 865 (Adreno 650),
at 60 FPS.
- Below the Snapdragon 865 the game starts if the driver allows and runs at
fewer frames, in proportion to how much slower the graphics chip is. The app
gives up sun shadows, then the 3D scene’s pixels, then frame rate by itself
(below), but there is a floor that
settings do not lower, and there is no OpenGL version to fall back on: the
games draw with Vulkan, and a second renderer is not planned.
- Mali. From the G57 up (Dimensity, Exynos, Tensor, Helio G96 and G99) a
chip meets the requirements on paper. Mali-G52, G72, G76 and older (Helio G80
to G95, Exynos 9611 and 9820, Kirin 980 and 990) have no descriptor indexing
and are refused at start-up. Nobody on the project has a Mali phone, so
Mali is fixed from players’ logs. So far:
| Phone |
What the player saw |
Where it stands |
| Mali-G610 MC6 (Dimensity 8100), driver r32 |
Black screen, then “not responding”, in Advanced Warfare, Modern Warfare 2 and 3 |
The log shows the driver’s shader compiler aborting on one of our vertex shaders, whose position is a NaN the game makes on purpose to hide a vertex. The next update has a fix for the Mali-G610 black screen, untested on a Mali phone; this row will say so when a player confirms it |
| Mali-G68 MC5 (Exynos 1380, Galaxy A35), driver r38 |
Modern Warfare 2 at 20 to 30 FPS with the scene at 70%, some dark textures |
The speed is the chip’s: 35 to 43 ms a frame. The dark textures: the phone’s own driver fails the app’s test picture, which another (community) driver passes; not settled |
| Mali-G57 MC2 (Helio G99, Galaxy A07), driver r54 |
Modern Warfare 3 under 10 FPS |
Not playable: the chip has two shader cores, the Galaxy A35’s five need 35 to 43 ms a frame |
- Find out in two minutes: install the app, start the game, and after a
few minutes of play open Menu → Share performance report. “The graphics
chip N ms a frame” tells you: under 16 ms a frame, 60 FPS is within reach;
33 ms, 30 FPS; over 50 ms, it will not be playable. On a Mali, please send
it: logs are how a phone nobody here owns gets fixed.
Supported devices and what to expect
Two devices are tested by the project, on every release. Nothing else is:
what is said of other devices below is what their players reported, and no
more.
| Device |
Tested? |
What to expect in Call of Duty 4 |
| AYN Thor (Snapdragon 8 Gen 2, Adreno 740, 120 Hz) |
yes, every release |
117 to 119 FPS |
| Retroid Pocket Flip 2 (Snapdragon 865, Adreno 650, 60 Hz; the Retroid Pocket 5 has the same chip) |
yes, every release |
59.5 to 60 FPS |
| POCO F6 (Snapdragon 8s Gen 3, Adreno 735) |
no |
120 FPS by one player’s report |
| Any other Snapdragon (Adreno 6xx, 7xx, 8xx) |
no |
Unknown. Expect less than a tested device of the same class, and tell us (below) |
| Mali, Xclipse, PowerVR |
no |
Unknown; see Will my phone run it? |
On a device we have not tested
The app does not go by the chip’s name. It measures the play in front of you
and gives up, in this order, what the device has no time for:
- Sun shadows (Settings → Graphics → Advanced → Sun shadows, Auto):
on only once half a minute of play has held its frame rate with room to
spare, off again when frames come late with them.
- The 3D scene’s pixels: drawn at 92% down to 58% of its size while the
graphics chip is late with a frame, and whole again when it is not. The
HUD and the menus keep theirs.
- The frame rate (Advanced → Frame-rate limit, Auto): from the
screen’s fastest rate down to an even 60 or 30 when ten seconds in a row
did not come near it, and up again when there is room. A limit you choose
yourself is kept whatever happens, and so are shadows you turn on or off.
The sound keeps its own time: where the processor is too busy to mix it on
time, it is buffered further ahead rather than left to crackle. An FPS limit
of 30 or 60 puts a faster screen in its 60 Hz mode, which saves power; if
the sound breaks up there (on the AYN Thor it does when other programs keep
the processor busy), the screen goes back to its fastest mode for the rest
of the run and your limit stays.
The app picks the graphics driver for your phone’s chip by itself, tests it
before the game starts, and keeps any driver you choose yourself
(Settings → Graphics driver, where you can also import one from a file,
a link, or another app’s Share). If the screen stays black or shows only
speckle, the app says so, names the graphics chip and the driver, and offers
the next driver and Share log. If it runs badly,
open the game’s Menu → Share performance report after a minute or two of
play: it sends the frame rate, the graphics chip’s time a frame, the device
and your settings as text, which is what we need to do anything about it.
What works
Measured on 23 November 2026 on an AYN Thor (Snapdragon 8 Gen 2, 120 Hz) and a
Retroid Pocket Flip 2 (Snapdragon 865, 60 Hz) with the app’s defaults. Other
hardware is untested.
|
|
Measured |
| Campaign |
✅ |
F.N.G. 119 FPS on the Thor, 60 on the Flip; Crew Expendable 119 and 60; Charlie Don’t Surf 117 and 59.5 |
| Multiplayer: System Link |
✅ |
Thor and Flip in one match on Backlot, 119 and 60 FPS; Crash 119 and 60 |
| Multiplayer: Find Match, through the project’s server (not Xbox LIVE) |
✅ |
Team Deathmatch and Free-for-all, Thor and Flip, 119 and 60 FPS |
| Bots in matches your device hosts |
✅ |
six on Crash on the Flip for ten minutes, 60 FPS; not run on the Thor |
| Checkpoints on Android |
❔ |
work on Windows; not checked on Android |
| Split screen |
⚠️ |
on Windows, with two controllers: a Team Deathmatch on Backlot plays. Flip 2, the second controller simulated (none was at hand): the same at 60 FPS |
| Xbox LIVE invitations |
❔ |
not tested |
Only three campaign levels and two multiplayer maps have been played for more
than a few minutes; the rest load from the same code but were not checked one
by one. Charlie Don’t Surf stutters where the helicopters land. What has been
checked and what is open: docs/COD4-BRINGUP.md.
Graphics settings
Settings → Graphics has five presets. Pick one; each says what it does.
| Preset |
What it does |
| Automatic (the default) |
The game measures your device as you play and settles the frame rate, the 3D scene and the sun shadows by itself |
| Battery saver |
30 FPS, a smaller 3D scene, no sun shadows: the least heat and the longest play on a charge |
| Balanced |
60 FPS, the 3D scene drawn smaller only while the graphics chip is late, sun shadows where there is room for them |
| Best looking |
The screen’s own rate where your device keeps it, the whole 3D scene at the screen’s full resolution, sun shadows on. It is drawn at twice the size only once play has shown the graphics chip has the time |
| Custom |
What the Advanced page says |
Advanced… has each setting by itself, with a line under each: resolution
scale, frame-rate limit (Auto, 30, 60, and 90 and 120 where the screen is
that fast), sun shadows (Auto, On, Off), render multiplier, dynamic
resolution and the graphics driver (the Turnip driver the app carries, or
the phone’s own). What you choose there is kept whatever the game measures,
and makes the preset Custom. Reset to automatic puts them all back.
In a game, Menu → Graphics has the same. The preset, the frame-rate
limit, sun shadows and the resolution scale change as you choose them.
Render multiplier, dynamic resolution and graphics driver are marked *
there: they take effect the next time the game starts.
The performance counter is the small line in the top left corner of the
game: frames a second, the time one frame takes, and what holds the frame
rate where it is: the limit, the graphics chip or the processor. Turn it
off or on in Settings → Graphics, or in the game’s Menu → Graphics.
Tips
-
Everything is unlocked from the start (Settings → Multiplayer →
“Unlock everything”, on by default); what you earn yourself is kept
(docs/unlocks.md).
-
Playing from the ISO. The game reads its files out of the .iso where it
lies, on the device or an SD card, so keep it there. Settings → Files
copies the game into the app instead (about 7 GB more) and moves it back.
-
AYN Thor stuck at 60 Hz? Turn on Settings → Display → Smooth Display
in Android, or the refresh-rate tile in the quick settings. The dual-screen
assistant can turn it off again after a restart.
-
Your own map packs (DLC), untested with a real pack. Copy
Content\0000000000000000\415607E6\00000002 off your Xbox 360’s hard
disk, then Add DLC → Choose a folder in the app. Only a test package
made from the disc has been tried (it played Shipment), never the Variety
Map Pack, whose maps the disc’s menus do not list. Online, every player
needs the map’s pack: docs/dlc.md.
-
Bots. Tap Bots under Multiplayer, then host a System Link game;
bots only join matches your device hosts.
-
Settings are on the app’s start screen: network, multiplayer, files,
graphics. In a game, the pause menu has Edit controls.
-
Online play goes through the project’s relay at mw3.yassin.app:3074,
which sees your IP address like any game server
(docs/relay.md). LAN plays on your own WiFi only.
-
Sun shadows are on while the frames have room for them, which at 120
FPS is seldom: with them the Thor drops to 114 to 115 with many late
frames. Settings → Graphics → Advanced → Sun shadows → On keeps
them, and so does the Best looking preset.
-
The first visit to a level may stutter while its graphics are compiled;
later visits reuse what was.
Touch controls
No controller is needed. The same in all four games:
- Move with the stick at the bottom left. Floating movement stick
puts it under your thumb wherever you touch the left side, and
Auto-sprint presses sprint for you when you hold the stick at its edge
(both under Settings → Controls, off to begin with).
- Look by dragging anywhere on the right half of the screen. The view
turns by how far your finger moves: the same swipe is the same turn
whether it is slow or a flick, at 30 frames a second or 120. There is no
stick to push and no dead zone to get past.
- Fire while you aim: press Fire and keep your thumb down; dragging
it turns the view as it does on the look area. The other buttons on that
side do the same. Or turn on Tap the look area to fire.
- Aim is a toggle at the top left: tap to raise the sight, tap again to
lower it. Short of a thumb for it, turn on Aim when firing: Fire raises
the sight too and the shot follows a moment later.
- Make it yours. In a game, Menu → Touch look and gyroscope sets how
fast the view turns (13° for a centimetre of swipe to begin with, about
half a turn across the screen), up and down against sideways, how much
slower it is while aiming, and inverts left and right and up and down (a
finger and the gyroscope); each is felt on the
next swipe. Menu → Edit controls moves, resizes or hides any button,
and brings back a right stick if you want one. The same settings are
under Settings → Controls on the app’s start screen.
- Invert on a controller. Settings → Controls (and the game’s menu)
has Invert looking left and right and up and down for a finger
and the gyroscope, and a third switch for a physical controller’s right
stick, left and right only: the game’s own invert option does up and down
there, so turn that one on in the game, not here.
- Gyroscope aiming (off to begin with): turning the phone turns the
view, always or only while you aim, on top of your finger or a
controller’s stick.
How it works and what was measured:
docs/android.md.
Troubleshooting
| Problem |
What to do |
| “The game is not built yet” or “The game has to be built first” |
Tap the large button on the main screen: it builds the game |
| “This is Call of Duty 4: Modern Warfare, but its executable is version N and this app supports version 1” |
The .iso is not the USA/Europe disc this port was made for: the message names the version found and the one supported |
| “Your .iso file is not where it was”, “Android no longer lets this app read …”, “… could not be read to the end”, “There is not enough free space on this device …” |
The .iso was moved or deleted or its SD card is out; the permission to read it was taken back; the file, its card or its drive is failing (pick it again, or copy it to the phone’s own storage first); or the phone has no room for the executables (the message says how much) |
| The build stopped or failed |
What was done is kept: tap Retry. If it fails again, tap Share log under it and attach the file to an issue |
| Android did not ask to install the build tools, or you tapped Cancel |
Tap Retry. If Android says the app isn’t allowed to install unknown apps: Settings, turn on Allow from this source, go back once, then Install |
| Stuck at 60 Hz on the AYN Thor |
See Tips: Smooth Display |
| Can’t connect online, or friends don’t see your game |
Settings → Network on Online (restart the game after changing it); everyone on the same app version; the host must have started the match |
System Link: the other device’s game is not listed, or the overlay says LAN: 0 |
Both devices must be on the same Wi-Fi network, behind the same router. With two routers, a mesh’s second network or a guest network they cannot hear each other: set Settings → Network to Online on both (restart the game) |
| “Your .iso file is not where it was” |
Put the .iso back (SD card, moved file), or tap the large button and pick it again |
| Black screen, or a picture of noise |
The app says why, or asks whether the picture is wrong, with the graphics chip and driver: take the driver it offers (or pick or import one in Settings → Graphics driver; The phone’s own driver there goes back) and send Share log |
| Low frame rate or choppy sound |
Menu → Share performance report in the game after a minute of play, and send it; see Supported devices |
| Crash on a non-Qualcomm phone |
Untested hardware; the app’s Log screen says what happened |
setup.cmd problems |
Logs are in out\logs\; use a short path such as C:\cod4; accept the USB debugging prompt on the phone |
Bug reports are welcome with the log file (LOG, then SHARE, or
REPORT A PROBLEM on the main screen).
For developers
This is the same code as mw3-recomp;
the repositories differ only in which app their releases carry.
PC setup and other ways (advanced)
The app builds the game by itself; you need none of this to play. It is for
building on a PC instead, and for the Windows game.
Other ways to install
-
Windows PC: get the code (git clone https://github.com/yassinsolim/cod4-recomp.git C:\cod4,
a short path without spaces), connect the phone over USB with USB debugging
on, and run
setup\setup.cmd -Game cod4 -Iso "D:\Games\CoD4.iso" -Install -PushIso
It downloads what it needs into .toolchain\ (only Microsoft’s C++ Build
Tools are installed system-wide, with your leave), builds out\cod4-game.apk
and installs it with the app. -Build pc or -Build both makes the Windows
game as well, in out\pc-cod4. After an app update that needs new game
code: git pull, then setup\setup.cmd -Game cod4 -GameOnly. -Check lists
what it would do and changes nothing.
-
Linux PC (tested on Ubuntu 24.04, WSL2 included), with the phone
connected over USB:
git clone https://github.com/yassinsolim/cod4-recomp.git && cd cod4-recomp
bash setup/setup.sh --game cod4 --iso ~/Downloads/CoD4.iso --install --push-iso
--game-only rebuilds the game code after an update.
-
GitHub builds it for you (no PC, a private repository of your own): not
available yet.
Every way, step by step: docs/BUILD-WITHOUT-PC.md.
How the on-device build works and what was measured:
docs/ondevice-build.md.
Credits
This port stands on the work of others:
- mw2-recompiled by Paul
Combal and contributors: the runtime, the recompilation pipeline, the relay
and the online play all of this grew from
- mw2-android, the original Android port by Player124413 and OpenPort-Labs
(its repository no longer answers), and its fork
flavinxs0/mw2-android by
flavinxs0 and contributors: the Android layer
- XenonRecomp (hedge-dev): the
PowerPC recompiler
- Xenia: the reference for the
console’s behaviour, and its FFmpeg branch’s XMA decoder
- LLVM (clang and lld in the on-device
build tools) and AOSP bionic’s headers
- libadrenotools and
Mesa Turnip (builds by
StevenMXZ): the
graphics driver on Adreno
- mw3recomp by DrK: the Modern
Warfare 3 desktop bring-up this runtime also carries
- mw3-recomp, this project: the
renderer and Android work since, the app that updates itself and the game
code as a package of its own
The full list of credits
(mw3-recomp’s README)
and the licences: THIRD_PARTY.md.
Licence
The code in this repository is licensed under the
GNU General Public License v3.0 only, as the projects it derives
from are. Third-party components keep their own licences
(THIRD_PARTY.md).
Disclaimer
This is an unofficial fan project. It is not affiliated with, endorsed by or
sponsored by Activision, Infinity Ward or Microsoft. Call of Duty and
Modern Warfare are trademarks of Activision Publishing, Inc.; Xbox 360 and
Xbox LIVE are trademarks of Microsoft. No game content is distributed here:
you need your own legally obtained copy of the game, and what you build from
it is for your own use only.
评论