summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2013-02-15 20:37:59 +0100
committerBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2013-10-15 22:26:16 +0200
commit8bb681cbd1039ce3bebfc7a334f95aaeb72d65e3 (patch)
tree8494d20518a245a770b7c90d99b6545c243bb07a
parentb885c4cd7efd02fbceefaabc6c570c0444884cc5 (diff)
downloadtuna-8bb681cbd1039ce3bebfc7a334f95aaeb72d65e3.tar.gz
toro: Take blobs from 4.2.2 images
Change-Id: I45e1c25068a06a9857826c70d6dbd391ea2d0c7e Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rwxr-xr-xmerge-gnexus-blobs18
1 files changed, 9 insertions, 9 deletions
diff --git a/merge-gnexus-blobs b/merge-gnexus-blobs
index 8fe7a51..b5e11a0 100755
--- a/merge-gnexus-blobs
+++ b/merge-gnexus-blobs
@@ -80,16 +80,16 @@ if ! which simg2img &>/dev/null; then
cd ../..
fi
fi
-[ -e takju-jop40d-factory-e4d13f14.tgz ] || wget https://dl.google.com/dl/android/aosp/takju-jop40d-factory-e4d13f14.tgz
-[ -d takju-jop40d ] || tar xf takju-jop40d-factory-e4d13f14.tgz
+[ -e takju-jdq39-factory-5e273f02.tgz ] || wget https://dl.google.com/dl/android/aosp/takju-jdq39-factory-5e273f02.tgz
+[ -d takju-jdq39 ] || tar xf takju-jdq39-factory-5e273f02.tgz
[ -e recovery-clockwork-touch-6.0.2.3-maguro.img ] || wget http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-6.0.2.3-maguro.img
-cd takju-jop40d
+cd takju-jdq39
if [ ! -e system.img ]; then
- unzip image-takju-jop40d.zip
+ unzip image-takju-jdq39.zip
fi
cd ..
simg2img "$SRC"/system.img linaro.ext4
-simg2img takju-jop40d/system.img blob.ext4
+simg2img takju-jdq39/system.img blob.ext4
mkdir -p blob linaro system
$SUDO mount -t ext4 -o loop,ro linaro.ext4 linaro
$SUDO mount -t ext4 -o loop,ro blob.ext4 blob
@@ -228,14 +228,14 @@ cd tmp
cp \
"$SRC"/boot.img \
"$SRC"/userdata.img \
- ../takju-jop40d/android-info.txt \
+ ../takju-jdq39/android-info.txt \
./
# We don't currently have a Linaro recovery system, so let's use the
# most commonly used good one...
cp ../recovery-clockwork-touch-6.0.2.3-maguro.img \
recovery.img
-zip ../linaro-takju-jop40d.zip boot.img recovery.img system.img userdata.img android-info.txt
+zip ../linaro-takju-jdq39.zip boot.img recovery.img system.img userdata.img android-info.txt
cd ..
FASTBOOT="`which fastboot 2>/dev/null || :`"
@@ -282,7 +282,7 @@ if [ "$r" != "y" ]; then
echo
echo "Use"
echo " $SUDO $FASTBOOT oem unlock"
- echo " $SUDO $FASTBOOT -w update linaro-takju-jop40d.zip"
+ echo " $SUDO $FASTBOOT -w update linaro-takju-jdq39.zip"
echo "to flash the image manually. Make sure you have the current"
echo "boot loader and radio firmware installed first."
echo
@@ -302,4 +302,4 @@ echo "and volume down keys at the same time while turning the phone on."
echo
# Expected to fail if the device is already unlocked
$SUDO $FASTBOOT oem unlock || :
-$SUDO $FASTBOOT -w update linaro-takju-jop40d.zip
+$SUDO $FASTBOOT -w update linaro-takju-jdq39.zip