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

HighOnAndroid Facebook Page <--- If you like this post, please Like Our Facebook Page Here, thx!

Want to contact me?
Add me on:

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.

  • Bob

    Thank you Max. This zip file worked great for me. I need to save it for next time maybe or you might include it again if needed.

  • Stewart

    Oh my god this flippin worked. I tried searching all over the place on Google with anyone else’s workarounds and this is the only one that worked for me. THANK YOU SO MUCH!!!!

  • I downloaded the shamu file from google and extracted it buy it doesn’t have a boot.img … What should I do?

  • Tobias Gebler

    Ughhhh…. Thanks… that did the trick!

  • Jasmin Grenade

    thank you so much! <3