Last active
April 19, 2024 03:09
-
-
Save Megh-Rana/c0838d3587d621a49da75b18055bdc3c to your computer and use it in GitHub Desktop.
mi439 build script
This file contains hidden or 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
| #!/bin/bash | |
| # Init Alphadroid Source | |
| repo init --depth=1 -u https://github.com/HorizonDroidLab/manifest.git -b 14 --git-lfs | |
| # Clone local manifest | |
| rm -rf .repo/local_manifests | |
| git clone https://github.com/Meghthedev/local_manifests .repo/local_manifests | |
| # Sync the repos | |
| repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags --optimized-fetch --prune | |
| # Set up the build environment | |
| source build/envsetup.sh | |
| # Alphadroid Specific Flags | |
| export WITH_GMS=true | |
| export TARGET_ENABLE_BLUR=true | |
| export HORIZON_MAINTAINER=meghthebot | |
| # Lunch | |
| lunch aosp_Mi439-ap1a-userdebug | |
| # Make the rom! | |
| mka bacon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment