{"id":30271187,"url":"https://github.com/ytsutano/axmldec","last_synced_at":"2026-01-12T06:31:39.058Z","repository":{"id":55062588,"uuid":"89313530","full_name":"ytsutano/axmldec","owner":"ytsutano","description":"Stand-alone binary AndroidManifest.xml decoder","archived":false,"fork":false,"pushed_at":"2020-12-11T22:17:07.000Z","size":350,"stargazers_count":232,"open_issues_count":11,"forks_count":35,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-08-16T04:24:30.680Z","etag":null,"topics":["android","androidmanifest","apk","binary","boost","decoder","parser","property-tree","xml"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ytsutano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-25T03:30:34.000Z","updated_at":"2025-08-15T06:31:20.000Z","dependencies_parsed_at":"2022-08-14T10:40:39.083Z","dependency_job_id":null,"html_url":"https://github.com/ytsutano/axmldec","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ytsutano/axmldec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytsutano%2Faxmldec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytsutano%2Faxmldec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytsutano%2Faxmldec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytsutano%2Faxmldec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ytsutano","download_url":"https://codeload.github.com/ytsutano/axmldec/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytsutano%2Faxmldec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","androidmanifest","apk","binary","boost","decoder","parser","property-tree","xml"],"created_at":"2025-08-16T04:02:05.669Z","updated_at":"2026-01-12T06:31:39.053Z","avatar_url":"https://github.com/ytsutano.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"axmldec: Android Binary XML Decoder\n===================================\n\n## 1 Overview\n\n[`AndroidManifest.xml`][Android App Manifest] in an [APK file][APK] is binary\nencoded. This tool accepts either a binary or a text XML file and prints the\ndecoded XML to the standard output or a file. It also allows you to extract the\ndecoded `AndroidManifest.xml` directly from an APK file.\n\n![](doc/overview.png)\n\nTools such as [Apktool] are designed to process the whole APK file including\nthe resource files for reverse engineering purpose. They may also need a Java\nvirtual machine to run. As a result, they are too slow for batch processing\nmany APK files just to get the XML information. In contrast, axmldec is\nspecialized for binary XML decoding and written in simple modern C++, so it\nruns nicely within a shell script.\n\nThe [parser](include/jitana/util/axml_parser.hpp) is taken from [Jitana], a\ngraph-based static-dynamic hybrid DEX code analysis tool. You can use\n`jitana::read_axml()` instead of the standard\n`boost::property_tree::read_xml()` to read a binary XML file into\n`boost::property_tree::ptree` ([Boost Property Tree][ptree]) in your C++\nprogram.\n\n## 2 Installation\n\n### 2.1 macOS\n\nYou can install axmldec using [Homebrew]:\n```sh\nbrew tap ytsutano/toolbox\nbrew install axmldec\n```\n\nOr, download the binary from [Releases].\n\n### 2.2 Windows\n\nDownload the .exe file from [Releases].\n\n### 2.3 Linux\n\nBuild the tool from the source code (see below).\n\n## 3 Usage\n\n### 3.1 Decoding `AndroidManifest.xml`\n\nPass the manifest file (either binary or text) to decode:\n```sh\naxmldec -o output.xml AndroidManifest.xml\n```\n\nThis will write the decoded XML to `output.xml`. You can specify the same\nfilename for input and output to decode the file in-place.\n\n### 3.2 Decoding `AndroidManifest.xml` in an APK File\n\nIf an APK file is specified, axmldec automatically extracts and decodes\n`AndroidManifest.xml`:\n```sh\naxmldec -o output.xml com.example.app.apk\n```\n\n### 3.3 Using the Standard Output\n\naxmldec writes to the standard output if the `-o` option is not specified. This\nis useful when additional processing is required. For example, you can extract\nthe package name from an APK file using xmllint:\n```sh\naxmldec com.example.app.apk | xmllint --xpath 'string(/manifest/@package)' -\n```\n\n## 4 Building\n\n1. Install Boost, zlib, and CMake. Make sure you have a latest C++ compiler.\n\n2. Clone axmldec and its submodule from GitHub:\n    ```sh\n    git clone --recursive https://github.com/ytsutano/axmldec.git\n    ```\n\n3. Compile axmldec:\n    ```sh\n    cmake -DCMAKE_BUILD_TYPE=Release . \u0026\u0026 make\n    ```\n\n## 5 Developer\n\n- [Yutaka Tsutano] at University of Nebraska-Lincoln.\n\n## 6 License\n\n- See [LICENSE.md](LICENSE.md) for license rights and limitations (ISC).\n\n[Yutaka Tsutano]: http://yutaka.tsutano.com\n[Releases]: https://github.com/ytsutano/axmldec/releases\n[Jitana]: https://github.com/ytsutano/jitana\n[ptree]: http://www.boost.org/doc/libs/1_64_0/doc/html/property_tree.html\n[Homebrew]: https://brew.sh\n[APK]: https://en.wikipedia.org/wiki/Android_application_package\n[Android App Manifest]: https://developer.android.com/guide/topics/manifest/manifest-intro.html\n[Apktool]: https://ibotpeaches.github.io/Apktool/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytsutano%2Faxmldec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fytsutano%2Faxmldec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytsutano%2Faxmldec/lists"}