Skip to content

Instantly share code, notes, and snippets.

@rtfpessoa
Created August 22, 2015 12:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtfpessoa/f0fba3ec4376ce82b322 to your computer and use it in GitHub Desktop.
Save rtfpessoa/f0fba3ec4376ce82b322 to your computer and use it in GitHub Desktop.
Nvidia Shield Recovery Script
#!/bin/bash
dir=$1
[[ -z dir ]] && echo "Missing bins dir!"
fastboot flash recovery {dir}/recovery.img
fastboot flash boot {dir}/boot.img
fastboot flash system {dir}/system.img
fastboot flash userdata {dir}/userdata.img
fastboot flash staging {dir}/blob
fastboot flash dtb {dir}/tegra124-tn8-p1761-1270-a04-e-battery.dtb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment