Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: jb
Fetching contributors…

Cannot retrieve contributors at this time

file 25 lines (19 sloc) 0.507 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#!/bin/sh

VENDOR=samsung
DEVICE=galaxysmtd
COMMON=aries-common

BASE=../../../vendor/$VENDOR/$DEVICE/proprietary

# Get common files
(cd ../$COMMON && ./extract-files.sh)

echo "Pulling device files..."
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

# Modem
echo "Pulling modem..."
adb pull /radio/modem.bin $BASE/modem.bin

./setup-makefiles.sh
Something went wrong with that request. Please try again.