This repository has been archived by the owner on Aug 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## AAPT & APKName for Android | ||
|
||
**AAPT** - Android Asset Packaging Tool. This tool is part of the SDK (and build system) and allows you to view, create, and update Zip-compatible archives (zip, jar, apk). The original one is only built for host i.e. Linux, Mac and Windows. This repo has been modified to use with Android System & Recovery. | ||
|
||
**APKName** - Trimmed version of AAPT that only dumps the package name and application label of given APK. | ||
|
||
**Building :** | ||
|
||
1. Sync any android ROM. This repo is splited from [OmniROM](https://github.com/omnirom) | ||
|
||
2. Remove old aapt folder from frameworks/base | ||
|
||
`rm -rf frameworks/base/tools/aapt` | ||
|
||
3. Clone this repo to aapt path | ||
|
||
`git clone https://github.com/Devil7DK/aapt-android -b master frameworks/base/tools/aapt` | ||
|
||
4. Run following commands to build | ||
|
||
`. build/envsetup.sh && lunch <generic> && make aapt | ||
-j$(($(nproc)*2))` - for building AAPT | ||
|
||
`. build/envsetup.sh && lunch < generic > && make apkname | ||
-j$(($(nproc)*2))` - for building APKName |