Resize userdata on OP6
We'll probably want to do that for other devices as well But this requires /data to be available at that time. That's probably true only for FBE devices, not FDE. Also, we might not want to do that on all devices So for the moment, do it only on OP6
This commit is contained in:
parent
f099635304
commit
c9b139187f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user