Skip to content

Instantly share code, notes, and snippets.

@davehunt
Created July 24, 2014 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davehunt/7d9e49f251d329e97d06 to your computer and use it in GitHub Desktop.
Save davehunt/7d9e49f251d329e97d06 to your computer and use it in GitHub Desktop.
#!/bin/bash -e
echo -e "\n\033[1mResetting memory allocation\033[0m"
adb reboot bootloader
fastboot oem mem $DEVICE_MEMORY
fastboot reboot
sleep 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment