26 lines
No EOL
1 KiB
Bash
Executable file
26 lines
No EOL
1 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
## add lawnchair overlay to build
|
|
sed -i "1s;^;\$(call inherit-product-if-exists, vendor/lawnchair/lawnchair.mk)\n\n;" "/srv/src/LINEAGE_19_1/vendor/lineage/config/common.mk"
|
|
|
|
## remove Trebuchet
|
|
sed -i 's/overrides.*/overrides: ["Home", "Launcher2", "Launcher3", "Launcher3QuickStep", "ParanoidQuickStep", "PixelLauncher", "TrebuchetQuickStep", "TrebuchetOverlay"],/' "/srv/src/LINEAGE_19_1/vendor/lawnchair/Android.bp"
|
|
|
|
## remove F-Droid
|
|
echo "PRODUCT_PACKAGES += \\
|
|
GmsCore \\
|
|
GsfProxy \\
|
|
FakeStore \\
|
|
IchnaeaNlpBackend \\
|
|
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"
|
|
|
|
## remove unwanted app from OxygenOS
|
|
#sed -i "/ OP.*/d" OOS.mk;
|
|
#echo " OPCamera \\
|
|
# OPFileManager \\
|
|
# OPGallery" | tee -a OOS.mk |