Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: jellybean
Fetching contributors…

Cannot retrieve contributors at this time

executable file 34 lines (27 sloc) 0.587 kb
#!/bin/sh
VENDOR=semc
DEVICE=iyokan
BASE=../../../vendor/$VENDOR/$DEVICE/proprietary
while getopts ":nh" options
do
case $options in
n ) NC=1 ;;
h ) echo "Usage: `basename $0` [OPTIONS] "
echo " -n No clenup"
echo " -h Show this help"
exit ;;
* ) ;;
esac
done
if [ "x$NC" != "x1" ];
then
rm -rf $BASE/*
fi
for FILE in `cat proprietary-files.txt | grep -v ^# | grep -v ^$`; do
DIR=`dirname $FILE`
if [ ! -d $BASE/$DIR ]; then
mkdir -p $BASE/$DIR
fi
adb pull /system/$FILE $BASE/$FILE
done
./setup-makefiles.sh
Jump to Line
Something went wrong with that request. Please try again.