#!/usr/bin/env bash

set -e
set -x

BIN=`basename $1`

adb remount
adb push $1 /data
adb shell /data/$BIN ${@:2}
adb shell rm /data/$BIN
