curl --create-dirs -L -o .repo/local_manifests/local_manifest.xml -O -L https://raw.githubusercontent.com/proudlytm/local_manifests/lineage-15.1/local_manifest.xml
repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags
rm -rf vendor/qcom/opensource/dataservices
export ALLOW_MISSING_DEPENDENCIES=true
cd system/qcom && curl 'https://github.com/LineageOS/android_system_qcom/commit/07e73ebcc98757b2b4a8f863128961caffeaced8.patch' > patch && git apply patch && rm patch && cd ../../
wget https://releases.linaro.org/components/toolchain/binaries/7.2-2017.11/arm-eabi/gcc-linaro-7.2.1-2017.11-x86_64_arm-eabi.tar.xz && cd prebuilts/gcc/linux-x86/arm && tar xf ../../../../gcc-linaro-7.2.1-2017.11-x86_64_arm-eabi.tar.xz && mv gcc-linaro-7.2.1-2017.11-x86_64_arm-eabi linaro-7.2 && cd ../../../../ && rm gcc-linaro-7.2.1-2017.11-x86_64_arm-eabi.tar.xz