Expand description
Library half of the andysu CLI (the binary is a thin clap front end), so integration tests
can call the same code.
Modules§
- apk
- APK reading: zip entries and a minimal binary-XML (AXML) parser for AndroidManifest.xml.
- axml
- Binary Android XML (AXML) as an editable tree: parse, modify, write.
- elf
- Minimal ELF shared-object rewriter (little-endian, 32/64-bit) for
andysu pack. - hostapk
- Build the frozen host APK from any finished APK (
andysu split --host-template ...). - init
andysu initand the sharedandysu.tomlmodel.- keys
andysu keygenandandysu cert.- pack
andysu pack: turn a payload directory into a release (content-addressed blobs, deltas against earlier releases, and a release JSON) inside a site directory.- publish
andysu publish,sign,verify,rollback: channel manifests in a site directory.- serve
andysu serve: a tiny static HTTP/1.1 server for local remotes and tests. SupportsRange: bytes=N-,ETag/If-None-Match(304), and fault injection: dropping the connection after N body bytes (once per path) to simulate network loss, and failing paths with 404/500.- split
andysu split app.apk: a finished APK becomes a payload directory (and, with the Gradle plugin or--host, a frozen host APK; see docs).