so oddly enough the script generated for the Nexus 9 was way different than for the 6. What happened to the Custom Recovery...
#!/bin/bash
#Generated script from the House of Nexus 1.9.1.
#Generated script from the Factory Image: volantisg-mmb29x-factory-22bd48c1.tgz.
clear
if (( $EUID != 0 )); then
echo "Please run as sudo. e.g. sudo ./flashme.sh"
exit
fi
function flashBootloader() {
fastboot flash bootloader bootloader-flounder-3.48.0.0135.img
fastboot reboot-bootloader
sleep 5
}
echo "WARNING: Choosing yes to this option will flash the bootloader."
read -p "Flash bootloader? [y/n]: " yesorno
case "$yesorno" in
y*) flashBootloader ;;
n*) echo "" ;;
esac
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash vendor vendor.img
function reboot() {
fastboot reboot
echo "Rebooting..."
}
function noreboot() {
echo ""
}
read -p "Reboot? [y/n]: " yesorno
case "$yesorno" in
y*) reboot ;;
n*) noreboot ;;
esac
echo "Thanks for using the House of Nexus."
echo "Press Enter To Continue"
read