diff --git a/package_deblob.sh b/package_deblob.sh new file mode 100755 index 0000000..9fe78bc --- /dev/null +++ b/package_deblob.sh @@ -0,0 +1,32 @@ +#!/bin/sh +set -e + +dir=deblob +version=1 + +rm -rf "$dir" +mkdir -p "$dir" + +cat > "$dir/module.prop" << EOF +id=deblob +name=Deblob crDroid +version=$version +versionCode=1 +author=me +description= +EOF + +# https://github.com/crdroidandroid/android_vendor_addons/tree/12.1/prebuilt/ +cat > "$dir/customize.sh" << EOF +REPLACE=" +/system/product/priv-app/DeviceIntelligenceNetworkPrebuilt +/system/product/priv-app/DevicePersonalizationPrebuiltPixel2021 +/system/product/priv-app/SettingsIntelligenceGooglePrebuilt +/system/product/priv-app/TurboPrebuilt +/system/app/FlipendoPrebuilt +" +EOF + +./package.sh "$dir" +mv "$dir/package.zip" deblob.zip +rm -rf "$dir"