Edge AI and Android artifacts
Edge AI models
fat edge-ai scan discovers four model families and reports library filename hints:
| Format | Evidence collected |
|---|---|
| MAGIK/JZDL | MAGIK headers, input shapes, layer counts, and variants |
| TFLite | FlatBuffer files, embedded arrays, and ELF data |
| ONNX | ModelProto files |
| Qualcomm DLC | DLC candidates and metadata strings |
fat edge-ai scan --rootfs ./rootfs
fat edge-ai scan --rootfs ./rootfs --format magik,tflite --json
fat edge-ai scan --rootfs ./rootfs --format dlc --json > edge-ai-report.json
JSON uses schema_version: edge-ai-scan/v1 and stores format-specific details under findings[].metadata.
Library filename hints require the four-byte ELF magic and use artifact_kind: filename-match, matched_pattern, and evidence. They do not establish a runtime identity or model format; their metadata omits runtime and format. A model artifact does not prove that the model executes.
Android packages
fat android analyzes APK structure and, when given a semantic bundle or JADX tree, discovery leads and capability chains.
fat android inventory --apk app.apk
fat android inventory --apk app.apk --splits split-config.arm64_v8a.apk --json
fat android discover --apk app.apk --json
fat android locality --apk app.apk --json
fat android explain --semantic-bundle app.semantic.json
inventory reports manifest surface and split metadata. discover emits family-scoped leads; --jadx-root can synthesize a semantic bundle from a JADX decompiled tree, and --semantic-bundle-out saves it. locality classifies app and bundled logic. explain summarizes a semantic bundle.
Query capability chains between an entry and a sink:
fat android chains --apk app.apk --semantic-bundle app.semantic.json \
--entry bluetooth --sink main.lua --json
Chains prefer strong semantic edges such as runtime role clusters, explicit control surfaces, and narrow subsystems. Broad runtime overlap alone is not enough: informational endpoints and weak runtime-only connections are rejected as no-path.
Android runtime helpers live in the runtime-data bundle. See Runtime data for installation and prerequisites.