Are you getting “could not allocate 1778070480 bytes” while flashing the latest Android 5.1 firmware or other versions?
That’s because the latest Android 5.1 firmware comes with system image that’s too big for regular fastboot to handle.
To fix this, simply download mfastboot.zip, unzip and put the files in the fastboot folder. then replace the lines in our update guide to:
mfastboot flash system system.img
For Mac OSX:
./mfastboot-mac flash system system.img
sudo ./mfastboot-linux flash system system.img
Have a question?Please post all your questions at the new Android Rehab Center at HighOnAndroid Forum, thank you for understanding!
Join the HighOnAndroid VIP Fans List for free help from Max and discounts on Android accessories.