summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-03-24 14:45:25 -0700
committerJean-Baptiste Queru <jbq@google.com>2010-03-24 14:47:51 -0700
commit431a948bee852dba68ba4e638b1447391a6ac5dc (patch)
tree18019ef2b95d955261ed01dd06965e7284141854
parentca9e902f1b2702fb056a58c8f065e7124d160f5d (diff)
downloaddream-431a948bee852dba68ba4e638b1447391a6ac5dc.tar.gz
A script to extract blobs from recovery images
Bug: 1869158 Change-Id: If81d548bfbbaa413a14fd146e08ad52783c55b1a
-rwxr-xr-xunzip-files.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/unzip-files.sh b/unzip-files.sh
new file mode 100755
index 0000000..cd4567c
--- /dev/null
+++ b/unzip-files.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Use this in addition to extract-files.sh to get up-to-date verions
+# of those files.
+unzip -j -o ../../../signed-dream_devphone_userdebug-ota-14721.zip system/etc/AudioPara4.csv system/etc/firmware/brf6300.bin -d ../../../vendor/htc/dream/proprietary