Skip to content

Instantly share code, notes, and snippets.

@sakuramilk
Created March 30, 2013 16:07
Show Gist options
  • Save sakuramilk/5277253 to your computer and use it in GitHub Desktop.
Save sakuramilk/5277253 to your computer and use it in GitHub Desktop.
extract_file.sh diff
@@ -25,8 +25,8 @@ COMMONPROPS=../smdk4412-common/proprietary-files.txt
mkdir -p ../../../vendor/$VENDOR/$COMMON/proprietary
-adb root
-adb wait-for-device
+#adb root
+#adb wait-for-device
echo "Pulling common files..."
for FILE in `cat $COMMONPROPS | grep -v ^# | grep -v ^$`; do
@@ -34,7 +34,8 @@ for FILE in `cat $COMMONPROPS | grep -v ^# | grep -v ^$`; do
if [ ! -d $COMMONBASE/$DIR ]; then
mkdir -p $COMMONBASE/$DIR
fi
- adb pull /$FILE $COMMONBASE/$FILE
+ #adb pull /$FILE $COMMONBASE/$FILE
+ cp -av $1/$FILE $COMMONBASE/$FILE
done
@@ -93,7 +94,7 @@ done
LOCAL_PATH := \$(call my-dir)
-ifneq (\$(filter i9300 i9305 n7100 n8000 n8013 t0lte i605 l900 r950,\$(TARGET_DEVICE)),)
+ifneq (\$(filter sc03e i9300 i9305 n7100 n8000 n8013 t0lte i605 l900 r950,\$(TARGET_DEVICE)),)
include \$(CLEAR_VARS)
LOCAL_MODULE := libTVOut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment