LeOS-GSI/arm64S.sh

25 lines
668 B
Bash

#!/bin/bash
#bash init_neu.sh
#cp LeOS/updates.sh prebuilts/prebuiltapks/foss_nano
#cd prebuilts/prebuiltapks/foss_nano
#bash updates.sh
#cd ../../..
#rm -R device/phh/treble/su
#rm -R /home/ich/src/LeOS-20/out/target/product/tdgsi_arm64_ab/system/
export USE_CCACHE=1
export CCACHE_SIZE=100G
source build/envsetup.sh
#make installclean
export WITHOUT_CHECK_API=true
export WITH_SU=true
export RELAX_USES_LIBRARY_CHECK=true
export PRODUCT_BROKEN_VERIFY_USES_LIBRARIES=true
lunch lineage_arm64_bvS-userdebug
#lunch LeOS_arm64_bvS-userdebug
make -j8 systemimage generate_verity_key
#fastboot flash system out/target/product/tdgsi_arm64_ab/system.img
#fastboot reboot