You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
638 B
33 lines
638 B
3 years ago
|
#!/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"
|