Skip to content

Instantly share code, notes, and snippets.

@Albinoman887
Created August 29, 2020 22:23
Show Gist options
  • Save Albinoman887/f245ab1b877075de9f21af6a24fbb314 to your computer and use it in GitHub Desktop.
Save Albinoman887/f245ab1b877075de9f21af6a24fbb314 to your computer and use it in GitHub Desktop.
custom-los-build-script
export USE_CCACHE=1
export ROM_BUILDTYPE=GAPPS
export CCACHE_EXEC=/usr/bin/ccache
. build/envsetup.sh
export USE_CCACHE=1
export ROM_BUILDTYPE=GAPPS
export CCACHE_EXEC=/usr/bin/ccache
lunch lineage_hotdogg-user
#USE_CCACHE=1 mka bacon
USE_CCACHE=1 mka bootimage dtbimage systemimage productimage vendorimage odmimage vbmetaimage
cd out/target/product/hotdogg
rm -rf lineage-17.1*.zip
echo > android-info.txt
zip "lineage-17.1-$(date +"%Y%m%d")-UNOFFICIAL-hotdogg+GAPPS_fastboot.zip" android-info.txt boot.img system.img dtbo.img vendor.img odm.img product.img vbmeta.img vbmeta_system.img
(speaker-test -t sine -f 400 )& pid=$! ; sleep 0.5s ; kill -9 $pid >> /dev/null
(speaker-test -t sine -f 400 )& pid=$! ; sleep 0.5s ; kill -9 $pid >> /dev/null
(speaker-test -t sine -f 600 )& pid=$! ; sleep 0.7s ; kill -9 $pid >> /dev/null
cd ../../../../
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment