{"id":13611249,"url":"https://github.com/ViRb3/apk-utilities","last_synced_at":"2025-04-13T04:33:53.191Z","repository":{"id":51134774,"uuid":"167910540","full_name":"ViRb3/apk-utilities","owner":"ViRb3","description":"🛠 Tools and scripts to manipulate Android APKs","archived":false,"fork":false,"pushed_at":"2023-08-01T20:41:59.000Z","size":129506,"stargazers_count":221,"open_issues_count":0,"forks_count":41,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-11-07T14:41:28.833Z","etag":null,"topics":["adb","android","apk","app","rce","reverse-engineering","reversing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ViRb3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-01-28T06:28:39.000Z","updated_at":"2024-11-05T01:34:29.000Z","dependencies_parsed_at":"2024-01-14T06:56:33.343Z","dependency_job_id":null,"html_url":"https://github.com/ViRb3/apk-utilities","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViRb3%2Fapk-utilities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViRb3%2Fapk-utilities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViRb3%2Fapk-utilities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViRb3%2Fapk-utilities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ViRb3","download_url":"https://codeload.github.com/ViRb3/apk-utilities/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223568155,"owners_count":17166610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["adb","android","apk","app","rce","reverse-engineering","reversing"],"created_at":"2024-08-01T19:01:53.325Z","updated_at":"2024-11-07T18:30:17.927Z","avatar_url":"https://github.com/ViRb3.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# APK Utilities\nA cross-platform suite of scripts and utilities for working with APK files\n\n## Features\n### Pull\n* __adb-pull__ - pull an app's APK files from a connected device to the `project` directory\n* __adb-lp-pull__ - pull all LP modified files to the `project` directory\n* __clean__ - clean the `project` directory \n* __merge__ - merge APK files into a single APK file \n### Extract\n* __apktool-decode__ - decode an `apk` to `sources`\n* __baksmali__ - decompile a `dex` to `smali`\n* __aapt-dump__ - dump Android-specific data (resources, manifest) from an `apk`\n* __enjarify__ - convert an `apk` to a `jar`\n* __dexify__ - convert a `jar` to a `dex`\n### Build\n* __apktool-build__ - build previously decoded `sources` to a `patched apk` \n* __smali__ - build previously decompiled `smali` to a `patched dex`\n* __sign__ - sign a `patched apk` to a `signed apk`\n### Push\n* __adb-install__ - install an `apk` file\n* __adb-install-multiple__ - install multiple `apk` files\n* __adb-lp-push__ - push `files` to the LP data directory\n\n## Usage\nClone this repo and use the `.sh` scripts at its root. For a clean workflow, all scripts operate under the `project` directory.\n\n## Example workflow\n* adb-pull \u003e apktool-decode \u003e *make changes* \u003e apktool-build \u003e sign \u003e adb-install\n\n## Installation\nYou need [bash](https://www.gnu.org/software/bash/) installed and accessible under `/bin/bash`. On Windows you can use [WSL](https://docs.microsoft.com/en-us/windows/wsl/), the scripts will detect that and still use the native Windows binaries.\n\nIf you want to use the `aapt-*` and `adb-*` scripts, then you also need to install the [Android SDK](https://developer.android.com/studio/#downloads\n). In Ubuntu, there is an official package `android-sdk`. Make sure the following directories are added to your `PATH`:\n* `android-sdk/platform-tools/`\n* `android-sdk/build-tools/xx.x.x/` (preferably the most up-to-date one)\n\n## 3rd party\n* [apktool](https://github.com/iBotPeaches/Apktool)\n* [smali/baksmali](https://github.com/JesusFreke/smali)\n* [uber-apk-signer](https://github.com/patrickfav/uber-apk-signer)\n* [enjarify](https://github.com/Storyyeller/enjarify)\n* [frida-android-unpinning](https://github.com/httptoolkit/frida-android-unpinning)\n* [APKEditor](https://github.com/REAndroid/APKEditor)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FViRb3%2Fapk-utilities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FViRb3%2Fapk-utilities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FViRb3%2Fapk-utilities/lists"}