Repository navigation
Releases
v0.2.9
cia3ds-android v0.2.9
CIA-to-CCI/3DS output fix.
- Fixes
.ciato.cci/.3dsdecrypts failing at the rebuild step withmakerom: [SETTING ERROR] '' could not be opened. makerom's-content <path>:<index>argument parser mis-split single-colon paths (a long-standing upstream bug, Project_CTR #74/#152) and always produced an empty path; it now resolves the path/index split correctly for both<path>:<index>and<path>:<index>:<id>forms.
Same signing key as previous releases, so it installs straight over your existing copy.
Cert SHA-256: 7c094938b5c3c2e875d6cf478e082d96ef775ad110828c8b98f3b436a9ffe091
v0.2.8
cia3ds-android v0.2.8
Hotfix release for large game rebuild crashes.
- Fixes makerom crashing during the final rebuild step for large .3ds to .cia and .3ds/CCI jobs.
- Streamed NCCH partitions now stay on disk and are passed directly to the CIA or CCI builder instead of incorrectly being rebuilt.
- Prevents the FORTIFY: fseeko: null FILE* / SIGABRT crash that could happen after decryption had already completed.
- Keeps memory use nearly constant during the final rebuild.
The v0.2.7 release has been deleted because it contain this known issue. Users running this version should update to v0.2.8.
Same signing key as previous releases, so it installs straight over your existing copy.
Cert SHA-256: 7c094938b5c3c2e875d6cf478e082d96ef775ad110828c8b98f3b436a9ffe091
v0.2.6
cia3ds-android v0.2.6
Bug-fix release for state getting lost.
- Switching to Settings or About and back no longer clears the Decrypt screen. An in-progress decrypt keeps running
instead of being cancelled. - Rotating the device no longer restarts the zip scan or resets what you'd picked.
Same signing key as previous releases, so it installs straight over your existing copy.
Cert SHA-256: 7c094938b5c3c2e875d6cf478e082d96ef775ad110828c8b98f3b436a9ffe091
v0.2.5
cia3ds-android v0.2.5
Pick a .cia or .3ds and the app now shows the game's name and icon, pulled straight from the file before you decrypt
anything.
Also in this release:
- .3ds cartridge dumps decrypt properly now. A lot of good files were failing before.
- Seed downloads for newer games work again. They'd been failing on every device and quietly falling back to the
bundled list, so some newer titles wouldn't decrypt.
Same signing key as previous releases, so it installs straight over your existing copy. Download cia3ds-v0.2.5.apk.
Cert SHA-256: 7c094938b5c3c2e875d6cf478e082d96ef775ad110828c8b98f3b436a9ffe091
v0.2.4
cia3ds-android v0.2.4
Performance release. Decrypts are faster on ARM64 devices, especially for large games.
What's faster
Hardware AES on ARM64
Most modern ARM64 phones, Retroid handhelds, and Odin/AYN handhelds have dedicated AES instructions built into the CPU. v0.2.4 now uses them instead of doing AES in software, which is a meaningful speedup on the encrypted parts of a decrypt.
The engine log shows aes-backend: ARMv8 crypto or aes-backend: software on the first line so you can see which path your device picked. Older 32-bit devices and anything without the extension keep using the software path automatically.
Parallel partition splice
The per-partition splice step now writes the exheader, exefs, and romfs regions at the same time instead of one after the other. Tiny on simple titles, noticeable on multi-partition retail games and updates.
Faster metadata read
A new fast path reads just the first few KB of the input to identify the title kind, version, and ID, instead of running a full ctrtool info pass on the whole file.
Smaller APK
The ARM64 APK shrunk from 7.6 MB to 6.6 MB.
Install
Download cia3ds-v0.2.4.apk. Same signing key as v0.1.0 through v0.2.3, so this installs as an update over your existing install (no uninstall needed).
Signing
SHA-256 of the signing cert (unchanged): 7c094938b5c3c2e875d6cf478e082d96ef775ad110828c8b98f3b436a9ffe091.
v0.2.3
Fix DLC decryption (content index was being parsed as decimal instead of hex, causing makerom rebuilds to fail with "is corrupt" on most DLC titles).
Also includes:
- SeedFetcher: only write negative cache when all 9 country queries return a definitive 404
- Save button on the log panel: writes the full streaming engine log to a .txt file you pick.
- Engine: extra diagnostic lines in the per-partition listing (file size, first bytes of NCCH header) incase future issues come up.
v0.2.2
cia3ds-android v0.2.2
Patch release with three new features and two engine bug fixes.
What's new
Settings tab with output filename template
A new Settings tab next to Decrypt and About. The first preference is a configurable output filename template, used for both single-file and batch outputs.
- Default is unchanged:
{name}-decryptedproducesMyGame-decrypted.cia(so existing behaviour is identical out of the box). - Variables:
{name}(input filename without extension) and{format}(cia/cci/3ds). - The extension is added automatically.
- Live preview line on the Settings card shows what the next filename will look like.
- Reset button restores the default in one tap.
Free-space pre-check
Before starting a decrypt, the engine now checks whether the destination has enough free space (around 2.5x the input size, since decryption needs both a work copy and the output). If not, a dialog pops up:
Low free space — about 800 MB available, but the decrypt may need around 2.0 GB. Continue anyway?
You can Continue or Cancel. This catches the most common cause of mid-decrypt failures (rc=1, rc=2, rc=8) before they happen.
Open with cia3ds
Tapping a .cia, .3ds, or .zip in your file manager and picking "Open with" now lets you select cia3ds-android. The app opens directly on the Decrypt tab with the file pre-picked, ready to go.
Works with content URIs (modern file managers) and file URIs (older ones). The activity is now singleTask so subsequent Open-with intents reuse the existing instance instead of stacking.
Bug fixes
Plain-English explanations for every engine error
Every engine bail-out now emits a readable multi-line message with "Most common reasons" and a suggested user action, instead of dumping raw ctrtool/makerom stderr. The result panel also shows a one-line failure summary instead of "Engine error code N". This covers all internal codes: filesystem errors (rc=1/2/4/8), ctrtool failures (rc=5/6/9), makerom failures (rc=7), and "not a recognised file" (rc=12).
Engine: hard-fail on missing region files
The decrypt-regions loop used to silently skip a splice if ctrtool returned success but the region file was missing on disk. Result: a corrupt CIA the user thought was good. Now treats this as a clear rc=9 error.
Real native cancellation
The Cancel button now actually stops the engine. Previously it only cancelled the Kotlin coroutine and the native thread kept running for up to 30+ seconds (especially painful in batch mode). Now the engine checks an atomic cancel flag at every step boundary and bails within ~1 second with a "Cancelled by user" result.
Install
Download cia3ds-android-v0.2.2.apk. Same signing key as v0.1.0, v0.2.0, and v0.2.1, so this installs as an update over your existing install (no uninstall needed).
Signing
SHA-256 of the signing cert (unchanged): 7c094938b5c3c2e875d6cf478e082d96ef775ad110828c8b98f3b436a9ffe091.
v0.2.1
cia3ds-android v0.2.1
Small patch release. One bug fix.
Fixed
Clearer error when the input can't be identified
Trying to decrypt a file that ctrtool can't recognise (already-decrypted CIA, wrong file type, or corrupt) used to dump raw ctrtool stderr and a misleading "META: kind=Decrypted" line into the log, with no useful explanation.
Now the engine bails right after the info pass with a short, plain-English message:
ERR: ctrtool could not identify this file as a CIA or 3DS.
Most common reasons:
- The file is already decrypted (re-running an output is a no-op).
- The file is not a Nintendo 3DS CIA/3DS at all.
- The file is corrupt or truncated.
Pick a still-encrypted .cia or .3ds and try again.
The unknown title kind is also labelled "Unknown" instead of "Decrypted" in the metadata line.
Install
Download cia3ds-android-v0.2.1.apk. Same signing key as v0.2.0, so this installs as an update over your existing install (no uninstall needed).
Signing
SHA-256 of the signing cert (same as v0.1.0 and v0.2.0): 7c094938b5c3c2e875d6cf478e082d96ef775ad110828c8b98f3b436a9ffe091.
v0.2.0: Unified Decrypt, .zip support, theme toggle
cia3ds-android v0.2.0
The biggest changes: .zip archive support, a unified Decrypt screen, and a dark/light/system theme toggle.
What's new
Unified Decrypt screen
The Single and Batch tabs are merged into one Decrypt tab. Pick a .cia/.3ds file, or pick a .zip. The screen detects how many files are inside and adapts.
- A zip with one entry behaves like a single file (save-as picker, single result panel).
- A zip with multiple entries runs as a batch (output folder picker, per-file results list).
- Picking a
.ciaor.3dsdirectly works the same as before.
This also fixes the Downloads-folder Android 11+ restriction. Picking a .zip from Downloads works fine because the file picker bypasses the SAF tree restriction.
.zip support
The app extracts each .cia/.3ds entry inside a zip and decrypts it. Two output styles:
- No folder: outputs go directly into the folder you pick.
- Grouped: outputs go into a new subfolder named after the zip (handy when batching multiple zips).
Extraction is lazy. Each entry is extracted to cacheDir, decrypted, then deleted before the next one starts. So even a 1+ GB zip with 5 CIAs only uses ~one CIA worth of cache space at a time.
The zip scan happens on a background thread now, so picking a 900 MB zip no longer freezes the UI. A small progress bar shows while scanning.
Light / dark / system theme
About now has an Appearance card with three chips: System, Light, Dark. The choice persists.
Title metadata in the UI
Decrypted files now show their kind (Game, DLC, Update, Demo, System, DSiWare), version, and title id under the file name. Helpful for spotting which CIA in your batch is which without diving into the log.
Format-fallback warning
If you pick .cci or .3ds but the file is a DLC/Update/System title, the engine falls back to .cia (only Game CIAs can be rebuilt as NCSD). The UI now warns you when this happens, both in the single-file result and per-row in batch results.
Cancel button on single decrypt
Decrypt and save now has a Cancel button
Notification improvements
The ongoing batch notification now shows failure count once one occurs ("8 / 10 files: 2 failed"). When the batch finishes, a separate dismissable notification posts the final summary.
Smaller fixes
- Single screen progress card shows live status text and color-coded result.
- Picker buttons now show the picked file name inline with a small clear button.
- Picking a
.zipin the single-file picker is rejected with a clear error. - Recursive zip walks are protected against malformed entries.
Install
Download cia3ds-android-v0.2.0.apk
Build from source
git clone --recurse-submodules https://github.com/Hinoaaaaaf212/cia3ds-android
cd cia3ds-android
./gradlew :app:assembleDebug
Requires Android Studio Hedgehog+, NDK 28.2.13676358, JDK 17.
Signing
SHA-256 of the signing cert (same as v0.1.0): 7c094938b5c3c2e875d6cf478e082d96ef775ad110828c8b98f3b436a9ffe091.
v0.1.0 - First public release
cia3ds-android v0.1.0
First public release. On-device decryption of Nintendo 3DS .cia and .3ds files. Android port of the Windows-only Batch CIA 3DS Decryptor Redux.
What it does
- Decrypts a single
.ciaor.3dsfile end-to-end on the device, with no PC, nodecrypt.exe, no makerom.exe. - Output formats:
.cia(decrypted CIA package),.cciand.3ds(raw NCSD cartridge image, game titles only). - Batch mode: pick a folder, the app finds every
.cia/.3dsinside and writes the results to a siblingDecrypted/folder. Runs in a foreground service so it survives backgrounding. - Per-title seed fetch from the official Nintendo CDN with offline fallback to a bundled
seeddb.bin. - Live ctrtool / makerom log streaming to a side panel, with copy-to-clipboard if you need to file a bug.
- Material 3 two-pane UI for landscape handhelds (Retroid, Odin, AYN Thor) plus phone, tablet, and Android TV (leanback launcher).
Install
- Download
cia3ds-android-v0.1.0.apk. - Sideload (
adb installor "Install unknown apps" through your device file manager). - Open it, Single tab → Choose a .cia or .3ds file → pick output format → Decrypt and save….
minSdk 24 (Android 7.0). ABIs: arm64-v8a, armeabi-v7a, x86_64.
Built from
- ctrtool and makerom (3DSGuy / Project_CTR, MIT)
- mbedTLS 2.x (Apache-2.0)
- libtoolchain, libfmt, libnintendo-n3ds, libbroadon-es, libblz, libyaml (all permissively licensed)
- Bundled
seeddb.binmaintained by ihavamac and contributors
Signing
This APK is signed with a self-signed release key. SHA-256 of the signing cert: 7c094938b5c3c2e875d6cf478e082d96ef775ad110828c8b98f3b436a9ffe091. Future releases will use the same key. If a future APK won't install over this one, the signature has changed and you have a potentially malicious app.
Known limitations
- Decryption of files >2 GB has not been tested on devices with low RAM; partition extraction does temp I/O on
cacheDir. - No 3DS emulation included; install the result in Citra / Lime3DS / Azahar separately.