Skip to content
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.

Commit

Permalink
Add Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Devil7DK committed Jun 2, 2018
1 parent 18801c8 commit 11de8c4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
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

0 comments on commit 11de8c4

Please sign in to comment.