set property in init script

This commit is contained in:
Talmid of Levi 2023-11-28 15:24:30 -05:00
parent 3b60b65306
commit e76ca1de41
2 changed files with 4 additions and 3 deletions

View File

@ -10,8 +10,7 @@ SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += device/phh/cats22flip/sepolicy
PRODUCT_SYSTEM_PROPERTIES += \
ro.system.ota.json_url=https://ota.mezimmah.net/ota.json \
persist.sys.phh.mainkeys=0 \
ro.vendor.gsi.image_running=false
persist.sys.phh.mainkeys=0
PRODUCT_PACKAGE_OVERLAYS += device/phh/cats22flip/overlay

View File

@ -1,5 +1,7 @@
#!/system/bin/sh
if getprop ro.vendor.build.fingerprint | grep -iq -e S22FLIP; then
setprop ro.vendor.gsi.image_running false
setprop ctl.start vendor.hwcomposer-2-1
touch /mnt/banana
fi
fi