nier-android
NieR-Android is a native Android port of NieR:Automata The End of YoRHa Edition that runs the game directly on your phone.
- Type: PC port
- Game: NieR:Automata
- Runs on Android
- By Brandon04Gonzalez
- Latest release v0.2.7, 2026-11-16
- Source: https://github.com/Brandon04Gonzalez/nier-android
- Website: https://discord.gg/rMgRneBTCe
README
NieR:Automata for Android (native port)
Warning
Maintenance of this port has been stopped. This repository is no longer actively maintained.
An Android app that runs your own copy of NieR:Automata The End of YoRHa Edition (Nintendo Switch, update 1.0.3) natively on an arm64 phone or tablet. The Switch's operating system services, its audio, video and input, and NVN (the Switch's graphics API) are reimplemented on Android, with Vulkan for the graphics. The game's own code runs directly on the phone's CPU: the Switch and Android phones share the same CPU architecture (AArch64).
No PC needed: install the APK, pick your base game (.xci or .nsp), update 1.0.3 (.nsp) and your
prod.keys on the phone, let it prepare the game once (it writes the game with its update, about 12 GB, and translates
its shaders), and play.
Important
No game files are included, here or in the APK. This repository and its releases hold no game code, assets, shaders, keys or firmware. The APK is only the engine: it prepares and reads the game from your own dump. You need your own legally dumped copy of the game (the base game and update 1.0.3) and your own keys. How to dump them from your console is not covered here. Please do not ask for game files or keys.
NieR:Automata is © SQUARE ENIX. This is an unofficial fan project, not affiliated with or endorsed by SQUARE ENIX, PlatinumGames, Virtuos or Nintendo.
Community
- Discord (English and Spanish channels), for news, help and testing: https://discord.gg/rMgRneBTCe
Install
- Copy to the phone (the Download folder is fine): your base game (
.xcior.nsp, US010056B015FE8000), update 1.0.3 (.nsp,010056B015FE8800, v131072, about 24 MB) and yourprod.keys(andtitle.keysif your dump needs it). - Install NieR from the Releases page and open it; allow "All files access".
- Base game → Choose, Update 1.0.3 → Choose, Keys → Choose (or just press the big button: it asks for what is missing, in that order).
- Press Prepare the game and keep the app open: it writes the game with its update to
Internal storage/NieR Automata(about 12 GB; you need that much free space, plus the size of the largest game file, about 2.4 GB, while it writes) and translates its shaders for your GPU. Once. - Press Play. After that, the base game and update files can be deleted from the phone if you need the space.
Preparing the data on a PC (optional)
The phone does all of this by itself now. If you prefer to prepare the data folder on a PC, you need Windows, Python 3, the .NET 10 SDK, CMake and
Ninja (pip install cmake ninja), a C++ compiler (Visual Studio Build Tools, run the commands from a Developer
PowerShell), your dumps of the base game (.xci or .nsp, 010056B015FE8000) and update 1.0.3
(010056B015FE8800, v131072), and your prod.keys and title.keys. From a clone of this repository:
# 1. the importer, then the game's files with the update applied (about 12 GB, a few minutes)
cmake -S android/wonder/importer -B private/build/importer -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build private/build/importer
private\build\importer\nximport.exe --exefs --title 010056B015FE8000 --out private\nier prod.keys title.keys `
"NieR base game.xci" "NieR update 1.0.3.nsp"
# 2. the shaders: out of the game's CPK, then to SPIR-V with Ryujinx's translator (Ryubing's source first)
python games/p5r/tools/cpk.py private/nier/extract/romfs/data000.cpk --extract private/nier/extract/cpk --grep shader
python games/nier/tools/nier_shaders.py private/nier/extract/cpk private/nier/shaders_extracted/nier
mkdir private\third_party\ryubing
curl.exe -L -o private\third_party\ryubing.tar.gz https://codeberg.org/Software_arch/Ryubing/archive/a82350bb77.tar.gz
tar -xzf private\third_party\ryubing.tar.gz -C private\third_party\ryubing --strip-components=1
dotnet build tools/maxwell/spirv_harness -c Release -p:NxBuildDir=spirv_harness_nier
dotnet private/build/spirv_harness_nier/bin/Release/net10.0/spirv_harness.dll --batch private/nier/shaders_extracted `
--out private/nier/spirv --jobs 8 --no-val
Then copy private\nier\exefs, private\nier\extract\romfs and private\nier\spirv to the phone, into
Internal storage/NieR Automata/ (so that NieR Automata/exefs/main, NieR Automata/extract/romfs/data000.cpk and
NieR Automata/spirv/results.tsv exist). Keep that data to yourself: it is made from your copy of the game.
Options
Resolution (360p to 1080p), fullscreen (stretch), graphics (texture detail), 30 or 60 fps, shadows, minimum dynamic
resolution, bloom (experimental), FPS counter, touch controls (size, opacity, a layout editor with L3/R3), touch stick
and camera sensitivity, gamepad layout (Nintendo or Xbox), text and subtitle language, mods (install a .zip with a
romfs folder, or a .cpk, and turn them on or off), custom GPU drivers (Turnip), save import/export, log export, and
a home screen shortcut with a picture of your own.
Requirements
- An arm64 Android phone or tablet with Android 10 or newer and Vulkan 1.1, 8 GB of RAM recommended.
- About 13 GB of storage for the prepared game, plus room for your base game file while it is prepared.
Status
Early release: it reaches the prologue and plays, and it has been tested on few devices so far. Expect rough edges on weaker GPUs. Reports are very welcome, on Discord or in Issues: your phone model, Android version, what happened and the log (Export logs on the home screen).
How it works
- Native execution (the loader). The APK reads
mainandsdkfrom the data folder's ExeFS, maps and links them as the Switch's loader would, and runs them on the phone's CPU (runtime/src/nce/). System calls and the few instructions that cannot run on Android as they are get patched into small stubs. - The runtime is the Switch runtime of
Super Mario Bros. Wonder Recomp (SwitchGamesRecomp, MIT,
by BelmanteGu / Projeto Belmante), shared with the Persona 5 Royal port.
This port adds NieR's needs (
games/nier/): separate textures and samplers in NVN, several mixed audio outputs (Wwise and films), Opus, the system keyboard, and more. - The import on the phone (
games/nier/import/): the importer writes the base game with update 1.0.3 applied (extract/romfs,exefs) and checksmain's build ID; the shaders are taken out ofdata000.cpk's DAT archives and translated once to SPIR-V with Ryujinx's shader translator (MIT), built for Android with .NET NativeAOT (libspirvharness.so,games/nier/tools/build_harness_android.sh).
Building the APK
The same toolchain as the P5R port (with the
Ryubing source in private\third_party\ryubing), then NieR's own shader translator for Android, once (Docker
Desktop running), and the APK:
docker run --rm -v "${PWD}:/src" -w /src mcr.microsoft.com/dotnet/sdk:10.0 sh games/nier/tools/build_harness_android.sh
games\nier\tools\build_android.cmd -Nce # -> private\nier\apk_nce\nier.apk; -Install installs it with adb
En español
Warning
Se ha detenido el mantenimiento de este port. Este repositorio ya no recibe mantenimiento activo.
Una app de Android que ejecuta tu propia copia de NieR:Automata The End of YoRHa Edition (Switch, actualización 1.0.3) de forma nativa en un móvil o tablet arm64. El APK no lleva nada del juego.
- Discord (canales en español e inglés), para novedades, ayuda y pruebas: https://discord.gg/rMgRneBTCe
No hace falta PC.
- Copia al móvil (por ejemplo a Descargas) tu juego base (
.xcio.nsp, EE. UU.010056B015FE8000), la actualización 1.0.3 (.nsp, v131072, unos 24 MB) y tuprod.keys(ytitle.keyssi tu volcado lo necesita). - Instala NieR desde Releases, ábrelo y permite el acceso a todos los archivos.
- Juego base → Elegir, Actualización 1.0.3 → Elegir, Claves → Elegir (o pulsa el botón grande: te pide lo que falta, en ese orden).
- Pulsa Preparar el juego y deja la app abierta: copia el juego con su actualización a
Almacenamiento interno/NieR Automata(unos 12 GB; necesitas ese espacio libre más unos 2,4 GB mientras escribe) y traduce sus shaders para tu GPU. Una sola vez. - Pulsa Jugar. Después puedes borrar del móvil los archivos del juego base y la actualización si te falta espacio.
Si algo falla, cuéntalo en Discord o en Issues con tu modelo de móvil y el registro (Exportar registros). No se proporcionan juegos ni claves.
Credits and license
- Runtime: SwitchGamesRecomp / Super Mario Bros. Wonder Recomp by BelmanteGu (Projeto Belmante), MIT.
- Shader translation: Ryujinx's shader translator (Ryubing), MIT.
- The native-execution idea is the one Switch emulators call NCE; this implementation is written for this runtime.
- Like the upstream project, this port was written with a lot of AI assistance, directed and tested by a human.
MIT License, see LICENSE. Third-party notices: THIRD_PARTY_NOTICES.md.