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.
NOTE: It was working before platform tools r29.
Any pointer in creating boot image which should work with latest fastboot.