diff --git a/rw-system.sh b/rw-system.sh index 2010b35..5294408 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -66,3 +66,7 @@ if getprop ro.hardware |grep -qF qcom && [ -f /sys/class/backlight/panel0-backli grep -qvE '^255$' /sys/class/backlight/panel0-backlight/max_brightness;then setprop persist.sys.qcom-brightness $(cat /sys/class/backlight/panel0-backlight/max_brightness) fi + +if [ "$(getprop ro.vendor.product.device)" == "OnePlus6" ];then + resize2fs /dev/block/platform/soc/1d84000.ufshc/by-name/userdata +fi