Magisk module that installs AIPhoneAssistant
as a systemless system_ext priv-app on a rooted device, with the SELinux
rules it needs. A separate project from WD40 (which bakes
the same changes into a ROM build and keeps its own Magisk skeleton, untouched);
Kamen needs no ROM build.
Status: scaffold. See docs/PLAN.md.
scripts/build-module.sh [path/to/aiphone_assistant] # -> dist/kamen-aiphone-<ver>.zipNeeds JDK 17+ and Android build-tools >= 35 (see the app repo's tools/build-apk.sh).
Flash the zip in Magisk (or recovery), reboot. If the app was adb-installed
before, adb uninstall com.android.aiphoneassistant first, otherwise a newer
/data copy shadows the module's.
The APK is signed with the public AOSP test platform key, so the target
ROM must be ro.build.tags=test-keys (self-built LineageOS). Official
release-keys ROMs are refused by the installer.
module/- Magisk module template (module.prop,customize.sh,sepolicy.rule)scripts/build-module.sh- builds the APK via the app repo, stages and zips the modulescripts/check-sepolicy.sh- compilessepolicy.ruleinto a tree's policy conf (catches unknown types and neverallow hits).github/workflows/build.yml- CI: lint, build zip, test layout/signature, release onv*tagsdocs/TESTING.md- emulator test procedure, results and known caveatsdocs/PLAN.md- roadmap and open questions