diff --git a/rw-system.sh b/rw-system.sh index 2010b357ada4..5294408e4686 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