1

I'm flashing a GSI image using fastboot. After entering fastboot flash system system.img I get this:

E:\AndroidSDK\platform-tools>fastboot flash system system.img
target reported max download size of 535822336 bytes
erasing 'system'...
OKAY [  0.016s]
sending sparse 'system' 1/7 (523260 KB)...
OKAY [ 17.280s]
writing 'system' 1/7...
FAILED (remote: size too large)
finished. total time: 17.306s

I also tried to flash it using TWRP, same problem.

What's the problem? Can I make system partition larger? Please help.

Edit: I have the latest adb version.

2
  • I installed the latest fastboot from android.com, and i'm getting the same problem. Sep 27 '19 at 16:05
  • You cannot make the system partition larger, nor should you have to... It sounds like you are not flashing the correct system image to the device. Can you add details about the device and software image you are trying to install?
    – acejavelin
    Sep 27 '19 at 16:25
1

Fastboot has an option -S Used to cut large files into small ones. Specific information can be found at man page:

fastboot --help 

So, we can set the size of the crop block to 256MB:

fastboot flash -S 256M system system.img

Source

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.