Skip to content

Filesystem Reference

Every path Auriya reads, writes, or installs on an Android device, categorized by role and lifecycle stage.

Path constants defined in src/platform/common/mod.rs and src/core/config/mod.rs. Runtime scripts: module/customize.sh, module/service.sh, module/uninstall.sh.

Runtime Paths (Installed & Running Device)

Section titled “Runtime Paths (Installed & Running Device)”

Configuration Directory — /data/adb/.config/auriya/

Section titled “Configuration Directory — /data/adb/.config/auriya/”
Path Written by Read by Purpose
settings.toml Manager App / User Daemon Global daemon configuration, default governors, tuning parameters, and feature toggles. Preserved across module updates.
gamelist.toml Manager App / User / Daemon IPC Daemon Per-game whitelists, target profiles, frequency ceilings, and refresh rate preferences. Preserved across module updates.
Path Purpose
/dev/socket/auriya.sock Local Unix domain socket used for all client-daemon IPC (GET_STATS, SET_PROFILE, INJECT_APP). Created with permissions 0666 by the daemon upon startup; unlinked cleanly on termination.
Path Written by Purpose
daemon.log DmesgLogger Structured kernel-style logs with boottime precision stamps ([ 1234.567890] [info] ...). Automatically rotated when exceeding 2 MB.
daemon.log.old DmesgLogger Previous rotated log archive.
restart.log service.sh Captured outputs during background daemon restarts.

Module Directory — /data/adb/modules/auriya/

Section titled “Module Directory — /data/adb/modules/auriya/”

Root module directory mounted into the Android overlay filesystem by KernelSU, Magisk, or APatch:

Path Permissions Purpose
module.prop 0644 Module metadata (id=auriya, name, version, versionCode, author, description).
icon.png 0644 192x192 PNG icon rendered in root manager interfaces.
service.sh 0755 Late-start background service script executed at boot (sys.boot_completed).
action.sh 0755 Action button trigger script executed when tapped in the root manager UI.
uninstall.sh 0755 Cleanup script triggered when the module is removed.
system/bin/auriya 0755 The compiled aarch64 Rust daemon binary.
system/bin/auriyactl 0755 The compiled aarch64 Rust CLI control client.
Source Path Symlink Destination Purpose
/data/adb/modules/auriya/system/bin/auriya /data/adb/ksu/bin/auriya
/data/adb/ap/bin/auriya
Allows invoking auriya directly from any root shell without specifying full paths.
/data/adb/modules/auriya/system/bin/auriyactl /data/adb/ksu/bin/auriyactl
/data/adb/ap/bin/auriyactl
Allows invoking auriyactl directly from any terminal.

These paths exist temporarily inside the flashable ZIP archive and are purged immediately by customize.sh after deployment:

ZIP Path Destination during Flash Purpose
libs/aarch64/auriya /data/adb/modules/auriya/system/bin/auriya Staged daemon binary; deleted after copying.
libs/aarch64/auriyactl /data/adb/modules/auriya/system/bin/auriyactl Staged CLI binary; deleted after copying.
libs/aarch64/checksums.sha256 Verified in memory SHA256 checksums used to verify binary integrity.
libs/app/auriya-app.apk Installed via pm install -r -g User-facing manager app; deleted from module directory after installation.