summaryrefslogtreecommitdiffstats
path: root/extract-files.sh
diff options
context:
space:
mode:
authorDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-06-17 19:06:48 +0200
committerDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-06-17 19:06:48 +0200
commit4fc16fce78b29efc1394afd6f6ad0d184cc7c63d (patch)
tree8ab5366728379dea5d127cdca6746602c055e702 /extract-files.sh
parent6265487bb06bcb8060c810f6b734ac0d09a4205c (diff)
downloaddevice_samsung_i9300-4fc16fce78b29efc1394afd6f6ad0d184cc7c63d.zip
device_samsung_i9300-4fc16fce78b29efc1394afd6f6ad0d184cc7c63d.tar.gz
device_samsung_i9300-4fc16fce78b29efc1394afd6f6ad0d184cc7c63d.tar.bz2
extract: run adb as root to get access to sbin
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-xextract-files.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/extract-files.sh b/extract-files.sh
index 3d048ac..4f2892c 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -21,6 +21,9 @@ MANUFACTURER=samsung
mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/proprietary
+adb root
+sleep 3
+
adb pull /sbin/cbd ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/sbin/cbd
adb pull /system/bin/bcm4334.hcd ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/bin/bcm4334.hcd
@@ -404,4 +407,4 @@ endif
EOF
-./setup-makefiles.sh
+exec ./setup-makefiles.sh