My smartphone is booted to the TWRP recovery and I'm running the ADB Shell as root on Windows.
I have fully unmounted
/data with the following command:
Then checked it's size:
Info: sector size = 512 Info: total sectors = 11 583 232 (in 512 bytes)
Now, how can I delete this volume (aka filesystem), and re-create it with a specified size, i.e. 11 583 168 blocks?
I don't care about the contents of this volume, it's already safe on my computer.
It'd be preferable if it could be done with native Android (Cyanogen v13) binaries, but if the only option is to download and
push 3rd-party binaries, so be it.
This is related to my other question How to resize the /data F2FS partition on Android.SE.