Last active
June 30, 2022 12:46
-
-
Save amdev01/5762c9d9b95fb9ff83ad3ddadc12f51c to your computer and use it in GitHub Desktop.
fajita build
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
| diff --git a/gms-vendor.mk b/gms-vendor.mk | |
| index 2cb6a2e..651d535 100644 | |
| --- a/gms-vendor.mk | |
| +++ b/gms-vendor.mk | |
| @@ -89,39 +89,16 @@ PRODUCT_COPY_FILES += \ | |
| PRODUCT_PACKAGES += \ | |
| GoogleExtShared \ | |
| - GooglePrintRecommendationService \ | |
| GooglePackageInstaller \ | |
| - TagGoogle \ | |
| - CalculatorGoogle \ | |
| - CalendarGoogle \ | |
| - Chrome \ | |
| DeskClockGoogle \ | |
| - Gmail2 \ | |
| - GoogleContacts \ | |
| - GoogleContactsSyncAdapter \ | |
| - GoogleLocationHistory \ | |
| LatinImeGoogle \ | |
| - Maps \ | |
| - Messages \ | |
| - Photos \ | |
| - SpeechServicesByGoogle \ | |
| TrichromeLibrary \ | |
| WebViewGoogle \ | |
| - YouTube \ | |
| - talkback \ | |
| - AndroidAutoStub \ | |
| CarrierServices \ | |
| ConfigUpdater \ | |
| GmsCore \ | |
| AndroidPlatformServices \ | |
| - GoogleDialer \ | |
| - GoogleOneTimeInitializer \ | |
| - GooglePartnerSetup \ | |
| - GoogleRestore \ | |
| Phonesky \ | |
| - Velvet \ | |
| - Wellbeing \ | |
| - GoogleFeedback \ | |
| GoogleServicesFramework \ | |
| SetupWizard \ | |
| com.google.android.dialer.support |
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
| #!/usr/bin/bash | |
| # update | |
| apt update && apt -y upgrade | |
| # get build tools | |
| apt -y install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev | |
| # symlink for python | |
| sudo ln -s /usr/bin/python3 /usr/bin/python | |
| # dir setup | |
| mkdir -p ~/bin | |
| mkdir -p ~/android/aospa | |
| curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo | |
| chmod a+x ~/bin/repo | |
| # copy to .bashrc | |
| #if [ -d "$HOME/bin" ] ; then | |
| # PATH="$HOME/bin:$PATH" | |
| #fi | |
| #rerun .bashrc | |
| source ~/.bashrc | |
| # git repo | |
| git config --global user.email "[email protected]" | |
| git config --global user.name "AMDEV01" | |
| # ccache | |
| export USE_CCACHE=1 | |
| export CCACHE_EXEC=/usr/bin/ccache | |
| ccache -M 50G | |
| # init | |
| cd ~/android/aospa | |
| repo init -u https://github.com/amdev01/manifest -b sapphire | |
| repo sync --no-clone-bundle --current-branch --no-tags -j8 | |
| # apply gapps patch (SMALL SYSTEM PARTITION) | |
| cd vendor/google/gms/ && git apply gapps.patch && cd ../../../ | |
| # run build script before applying patches to sync deps | |
| ./rom-build.sh oneplus6 --clean --build-type eng | |
| #patches (merged to local repos) | |
| #cd vendor/aospa | |
| #git fetch https://gerrit.aospa.co/AOSPA/android_vendor_aospa refs/changes/52/19852/25 && git cherry-pick FETCH_HEAD | |
| #cd ../../vendor/qcom/opensource/audio-hal/primary-hal | |
| #git fetch https://gerrit.aospa.co/AOSPA/android_hardware_qcom_audio refs/changes/04/20404/1 && git cherry-pick FETCH_HEAD | |
| #cd ../../../../../hardware/qcom/display | |
| #git fetch https://gerrit.aospa.co/AOSPA/android_hardware_qcom_display refs/changes/05/20405/1 && git cherry-pick FETCH_HEAD | |
| #cd ../../../device/qcom/kernelscripts | |
| #git fetch https://gerrit.aospa.co/AOSPA/android_kernel_build refs/changes/65/21165/2 && git cherry-pick FETCH_HEAD | |
| #cd ../../../kernel/msm-4.9 | |
| #git fetch https://github.com/ancient-devices/kernel_xiaomi_lisa -t twelve && git cherry-pick 60804d03f0b9ccbcb37aa9fc029a2fa7cc4fd91c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment