Thank you for your interest in contributing to hack-android-framework! This project aims to make Android Open Source Project (AOSP) framework exploration, modification, and customization safe, educational, and well-documented. Whether you're fixing a bug, adding a new framework patch, improving documentation, or sharing a testing workflow, your contributions are highly valued.
- Fork & Clone
git clone https://github.com/gamm3r96/hack-android-framework.git
cd hack-android-framework- Set Up Your Environment
chmod +x setup.sh && ./setup.sh
# Follow AOSP build prerequisites in the main README if building from source- Create a Feature Branch
git checkout -b feat/your-feature-name| Directory | Purpose |
|---|---|
frameworks/base/ |
Core Android framework (AMS, WMS, PMS, etc.) |
packages/SystemUI/ |
Status bar, notifications, quick settings |
tools/ |
Helper scripts for patching, building, and debugging |
docs/ |
Architecture diagrams, guides, and reference material |
tests/ |
Emulator configs, CTS snippets, and validation scripts |
feat/for new features or framework modificationsfix/for bug fixes or build issuesdocs/for documentation improvementsci/for workflow, script, or automation updatesrefactor/for code cleanup without functional changes
- Java/Kotlin: Follow Android Code Style Guidelines
- C/C++: Use
clang-formatwith the.clang-formatconfig in the repo root - Shell/Python: Follow
shellcheck&black/flake8standards - Run
./lint.shbefore committing to ensure formatting passes
We follow a hybrid of Conventional Commits and AOSP patch conventions: