Hi Team,
When i flash boot.img using fastboot from android platform-tools r30 and r31. I’m getting following error.
“fastboot: error: Couldn’t parse partition size ‘0x’”
To fix that, I have used fastboot flash:raw boot boot.img
. It worked. It will create a new boot.img based on information extracted from boot.img
Upon, more research to found root cause. I came across a patch on fastboot which is causing issue.
https://android.googlesource.com/platform/system/core/+/3af575bcad8a1d700b97bb8bac81db6763f5c5a9
NOTE: It was working before platform tools r29.
Any pointer in creating boot image which should work with latest fastboot.