I had refer How to generate userdata.img and flashing into eMMC? via MFG tool. But after that the data partition size is equal to "BOARD_USERDATAIMAGE_PARTITION_SIZE", It's meas i can't use whole emmc.
For example, my emmc size is 16GB and I set image size on BoardConfigCommon.mk:
# 350 MB
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 367001600
BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648
after boot, i check my partition table the size of data partition is 2 GB, but actually we have more than 10 GB not allocate.
How to resize data partition after download userdata.img ?