BASEDIR=`dirname $0` mkdir -p $BASEDIR/proprietary # Get ROM Manager curl -L -o $BASEDIR/proprietary/RomManager.apk -O -L http://download.clockworkmod.com/recoveries/RomManager.apk # Get Android Terminal Emulator (we use a prebuilt so it can update from the Market) curl -L -o $BASEDIR/proprietary/Term.apk -O -L https://github.com/downloads/jackpal/Android-Terminal-Emulator/Term.apk unzip -o -d $BASEDIR/proprietary $BASEDIR/proprietary/Term.apk lib/armeabi/libjackpal-androidterm3.so