How I Run Factorio on Android Without an Emulator Using Pocket Foundry
I play a lot of Factorio, and for years the only way to get it onto a phone meant an emulator, an x86 translation layer, and a lot of patience. Pocket Foundry takes a different road: it is a wrapper that runs the official Linux ARM64 build of the game straight on the phone's CPU and pushes rendering through Mesa, the open-source driver stack that translates OpenGL calls. There is no emulator and no x86 translation in that chain.
That does not mean it runs anywhere. The port is tied to Adreno GPUs, it needs a real Factorio licence, and the whole thing takes me about 30 to 45 minutes, most of which is spent waiting for the game archive to download. Below is the checklist I use, the commands that matter, and the three failures I ran into most.
What Pocket Foundry actually is
Two separate pieces have to meet in the middle:
- The APK from the project's GitHub Releases page. It is a launcher plus a compatibility layer, and it ships no game data whatsoever.
- The game itself, which you buy on factorio.com and download as the Linux ARM64
.tar.xzarchive.
Because the binary being executed is the genuine Linux ARM64 build, the game must be purchased separately. The APK on its own gives you nothing to play.
Before you start, make sure you have:
- [ ] Android 10 or newer
- [ ] An Adreno GPU (Qualcomm Snapdragon)
- [ ] A legitimate Factorio licence
- [ ] The Pocket Foundry APK from GitHub Releases
- [ ] The Linux ARM64
.tar.xzarchive, on the phone or on a PC you can copy from - [ ] Free internal storage for the archive plus the installed game (the exact size is not published, so check the project docs)
- [ ]
adbwith USB debugging on, or a file manager if you'd rather move files by hand
The GPU situation, as stated in the source material:
| GPU family | Typical chips | Status |
|---|---|---|
| Adreno | Qualcomm Snapdragon | Works (verified on one phone) |
| Mali | MediaTek, Exynos | Not working |
| Xclipse | Dimensity, Exynos | Not working |
If adb and Android shell basics are new to you, work through a Termux/PRoot primer first — this guide assumes you can already talk to the device from a terminal.
Step 1: confirm the GPU before downloading anything
Do this first. A multi-gigabyte download that ends on a black screen is a genuinely annoying way to spend an evening.
Plug the phone in with USB debugging enabled and read three properties:
adb devices adb shell getprop ro.build.version.release adb shell getprop ro.hardware.egl adb shell getprop ro.board.platform On a supported phone the output looks something like this:
List of devices attached R58M1234ABC device 14 adreno kalama How I read it: 14 is Android 14 and therefore ≥ 10, so the version gate passes. adreno is the GPU vendor string — if it contains mali, xclipse or mt, stop, because those families are reported as unsupported. kalama is a Snapdragon platform codename; it varies per model and is informational only.
No PC around? Install a terminal app on the phone and run the same getprop commands locally. getprop ro.hardware.egl on its own usually settles the question.
Step 2: get the right archive and verify it
Order of operations matters here, because the two most common mistakes both involve grabbing the wrong file.
- Buy Factorio on factorio.com and download the Linux ARM64 build as a
.tar.xz. Not the Windows.zip, not a build for another architecture — the app expects that Linux ARM64 archive. - Grab the APK from the Releases section of the pocket-foundry repository. Asset filenames shift between releases, so check the docs on that page for the current one.
- Verify what you actually received:
sha256sum factorio.tar.xz file factorio.tar.xz A healthy result reports XZ compressed data. If file says Zip archive data, you downloaded the wrong platform build — go back and get the Linux ARM64 .tar.xz. Compare the SHA-256 against the value published in the release notes; no hash is quoted in the original write-up, so pull it from the docs.
Step 3: install the APK and import the archive
Install and confirm the package landed:
adb install pocket-foundry.apk adb shell pm list packages | grep -i foundry You want Success from the install followed by a line such as package:...foundry.... The exact package identifier lives in the project README — check the docs. Then open the app and import the archive from inside it. When the import works, the game entry shows up without an error banner.
Step 4: first launch and logcat
Clear the log buffer, then start the game from the app while watching the output:
adb logcat -c adb logcat | grep -iE "foundry|factorio|FATAL|EGL" A healthy run streams shader and EGL lines from the graphics stack while the phone shows the Factorio main menu with the version string in the corner. My success criteria are: main menu visible, no FATAL EXCEPTION in the filtered output, and a new world loading past the map-generation step.
A failing run looks different — the app drops back to the home screen within a few seconds and the filtered log ends in a FATAL EXCEPTION: main block.
Expect lower frame rates than on a desktop. No benchmark numbers are published for this port, so measure on your own device instead of trusting quoted figures.
Troubleshooting the three failures I hit
Black screen, app closes immediately on a Dimensity or Exynos phone.
The filtered logcat ends with a FATAL EXCEPTION: main, preceded by native graphics and EGL lines. The cause is the GPU: the port targets Adreno through Mesa, and Mali and Xclipse are reported as unsupported. Confirm and stop if needed:
adb shell getprop ro.hardware.egl A value of mali, or an Xclipse value, means this hardware will not run Pocket Foundry. You need a Snapdragon device.
The installer refuses the APK with INSTALL_FAILED_INSUFFICIENT_STORAGE.
The archive plus the installed payload does not fit in free internal storage. Check the space and retry:
adb shell df -h /data adb install -r pocket-foundry.apk If you instead see INSTALL_FAILED_NO_MATCHING_ABIS, the device does not match the APK's supported CPU architecture. The release notes list the supported ABIs, so check the docs.
The import does nothing.
The dialog closes without adding a game entry, or fails generically. Nine times out of ten the file is not the Linux ARM64 .tar.xz — usually a Windows .zip pulled from the same download page. Re-check it:
file factorio.tar.xz You want XZ compressed data. Anything else needs to be replaced before you import again.
Takeaway
Pocket Foundry is not a magic compatibility layer that makes Factorio run on any Android phone — it is a narrow, GPU-specific native port, and the Adreno requirement is the whole ballgame. Check ro.hardware.egl first, verify that your archive really is the Linux ARM64 .tar.xz, keep logcat open during the first launch, and you will know within five minutes whether your device is in or out. After that, tune the in-game graphics options against your own hardware and re-test a save.
This article was originally published on AI Release — https://ai-release.org — and the channel https://t.me/ai_release1 carries similar hands-on write-ups.