Skip to content

Instantly share code, notes, and snippets.

@felipendc
Last active May 10, 2019 01:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipendc/176210cdfe80ff8b360826611f078e27 to your computer and use it in GitHub Desktop.
Save felipendc/176210cdfe80ff8b360826611f078e27 to your computer and use it in GitHub Desktop.
Compiling a PE
Script
sudo apt-get install libncurses5
https://github.com/PixelExperience/manifest
...............................................
Sync
# Initialize local repository
repo init -u https://github.com/PixelExperience/manifest -b pie
# Sync
repo sync -c -jx --force-sync --no-clone-bundle --no-tags
Build
# Set up environment
$ . build/envsetup.sh
# Choose a target
$ lunch aosp_$device-userdebug
# Build the code
$ mka bacon -jX
..............................................
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment