Lawiusz Lawiusz - 6 months ago 180
Android Question

Fastboot flash system.img error

When I try to flash via fastboot system.img (from my custom AOSP build) to Sony Xperia Z3 I get the following error:

# fastboot flash system system.img
sending 'system' (584106 KB)...
OKAY [ 18.294s]
writing 'system'...
FAILED (remote: size too large)
finished. total time: 18.297s

Z3 has about 2GB system partition and I have no idea why flashing fails.


I have finally found the solution:


in was larger than it should be. Changing it fixed the issue.