Acvcut
This tool shrinks/debloat Android apps towards executed code. Based on ACVTool instruction coverage.
Install / Use
/learn @pilgun/AcvcutREADME
- This repository is not maintained at the moment. Please explore latest shrinking functionality in ACVTool.
ACVCut
This tool prototype shrinks Android apps towards executed code. Based on the instruction coverage measured by ACVTool.
Setup
- to setup config.json please check the Installation section, step 2 at the ACVTool readme
javaandadbshould be available from the terminal- run emulator
- check Python dependecies if the script crashes
Workflow
- an APK is being instrumented by ACVTool
- installed
- instrumentation process started (code coverage measurement)
- the app is ready for tests
- instruction coverage generated
- ACVCut shrinks the app and creates the shrunk version (shrunk.apk)
Usage
> python2 prepare_wd.py <apk_path> --wd <working_dir> --package <package_name>
> python2 acvcut.py <apk_path> --wd <working_dir> --package <package_name>
Notes
ACVCut is a proof of work tool that worked with the TimeBomb sample and the Twitter Lite app on the API 25 Android Emulator. The tool is likely to have bugs and may require some tweaks when run on other apps.
Related Skills
node-connect
340.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.1kCommit, push, and open a PR
