How to Fix Nexus 6 Firmware Error! – “could not allocate 1778070480 bytes”

could not allocate 1778070480 bytes

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, unzip and put the files in the fastboot folder. then replace the lines in our update guide to:

For Widows:
mfastboot flash system system.img

For Mac OSX:

./mfastboot-mac flash system system.img

For Linux/Ubuntu:
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.

Max Lee

Max Lee is the founder of Max makes Android tutorials and review videos for people who want to get high on Android over at his YouTube channel and Korean YouTube channel.