Browse Source

Add crDroid deblobbing script

master
mid-kid 3 years ago
parent
commit
17e81819f7
  1. 32
      package_deblob.sh

32
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"
Loading…
Cancel
Save