fix bootloop

This commit is contained in:
Talmid of Levi 2023-11-29 10:31:14 -05:00
parent 54a956f066
commit f00877c2eb

View File

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