diff --git a/before.sh b/before.sh index 8b0019a..a8e70e5 100755 --- a/before.sh +++ b/before.sh @@ -12,15 +12,17 @@ echo "PRODUCT_PACKAGES += \\ GsfProxy \\ FakeStore \\ IchnaeaNlpBackend \\ + LocalGsmNlpBackend \\ + AuroraServices \\ NominatimGeocoderBackend" | tee "/srv/src/LINEAGE_19_1/vendor/partner_gms/products/gms.mk" ## add OxygenOS overlay to build -#git clone https://github.com/officialputuid/android_vendor_OOS.git "/srv/src/LINEAGE_19_1/vendor/OOS" - -#sed -i "1s;^;\$(call inherit-product, vendor/OOS/OOS.mk)\n\n;" "/srv/src/LINEAGE_19_1/vendor/lineage/config/common.mk" +sed -i "1s;^;\$(call inherit-product, vendor/OOS/OOS.mk)\n\n;" "/srv/src/LINEAGE_19_1/vendor/lineage/config/common.mk" ## remove unwanted app from OxygenOS -#sed -i "/ OP.*/d" OOS.mk; -#echo " OPCamera \\ -# OPFileManager \\ -# OPGallery" | tee -a OOS.mk \ No newline at end of file +DIR="/srv/src/LINEAGE_19_1/vendor/OOS/OOS.mk" + +sed -i "/ OP.*/d" $DIR; +echo " OPCamera \\ + OPFileManager \\ + OPGallery" | tee -a $DIR \ No newline at end of file diff --git a/manifests.xml b/manifests.xml index 329bb71..d686d87 100644 --- a/manifests.xml +++ b/manifests.xml @@ -2,9 +2,10 @@ - + + \ No newline at end of file