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

6 Responses

  1. Bob says:

    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.

  2. Stewart says:

    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!!!!

  3. Kevin says:

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

  4. Tobias Gebler says:

    Ughhhh…. Thanks… that did the trick!

  5. Jasmin Grenade says:

    thank you so much! <3

  6. Jctatis says:

    i don’t usually comment of this kind of stuff but sir.. thanks you i was looking for a solution on redmi note 4 never had this issue with mi 3

Leave a Reply

Your email address will not be published. Required fields are marked *

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.