diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-07-02 13:08:53 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2012-07-02 13:19:51 -0700 |
commit | 553aac193e475079a126c2f69cd3e619006fb899 (patch) | |
tree | 883b5c1ce8c10abb42cc672716920da904d97555 | |
parent | 0f3374a539fd6ca5880017a538634679197b3747 (diff) | |
download | crespo4g-553aac193e475079a126c2f69cd3e619006fb899.tar.gz |
Update crespo4g extractors
-move to IMM76L
-use full apks
Change-Id: I5f1eb7b1cacf703dc3d75c1223b782b16bd8b172
-rwxr-xr-x | self-extractors/generate-packages.sh | 13 | ||||
-rwxr-xr-x | self-extractors/samsung/staging/reassemble-apks.sh | 23 |
2 files changed, 3 insertions, 33 deletions
diff --git a/self-extractors/generate-packages.sh b/self-extractors/generate-packages.sh index 7849ff9..25f4f98 100755 --- a/self-extractors/generate-packages.sh +++ b/self-extractors/generate-packages.sh @@ -25,12 +25,13 @@ # 239410 = IML74K # 262866 = IMM30D # 299849 = IMM76D +# 345519 = IMM76L # end ics-mr1 BRANCH=ics-mr1 if test $BRANCH=ics-mr1 then - ZIP=sojus-ota-299849.zip - BUILD=imm76d + ZIP=sojus-ota-345519.zip + BUILD=imm76l fi # ics-mr1 ROOTDEVICE=crespo DEVICE=crespo4g @@ -109,14 +110,6 @@ do then chmod a+x $FILEDIR/$(basename $ONE_FILE) || echo \ \ \ \ Error chmoding $ONE_FILE fi - if test $(echo $ONE_FILE | grep \\.apk\$ | wc -l) = 1 - then - echo \ \ \ \ Splitting $ONE_FILE - mkdir -p $FILEDIR/$(basename $ONE_FILE).parts || echo \ \ \ \ Error making parts dir for $ONE_FILE - unzip $FILEDIR/$(basename $ONE_FILE) -d $FILEDIR/$(basename $ONE_FILE).parts > /dev/null || echo \ \ \ \ Error unzipping $ONE_FILE - rm $FILEDIR/$(basename $ONE_FILE) || echo \ \ \ \ Error removing original $ONE_FILE - rm -rf $FILEDIR/$(basename $ONE_FILE).parts/META-INF || echo \ \ \ \ Error removing META-INF for $ONE_FILE - fi done echo \ \ Setting up $COMPANY-specific makefiles cp -R $COMPANY/staging/* tmp/vendor/$COMPANY/$DEVICE || echo \ \ \ \ Error copying makefiles diff --git a/self-extractors/samsung/staging/reassemble-apks.sh b/self-extractors/samsung/staging/reassemble-apks.sh deleted file mode 100755 index d3dc4c2..0000000 --- a/self-extractors/samsung/staging/reassemble-apks.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# Copyright (C) 2011 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. - -(cd vendor/samsung/crespo4g/proprietary/WiMAXHiddenMenu.apk.parts ; zip -r ../WiMAXHiddenMenu.unsigned.apk .) -java -jar $(find out/host -name signapk.jar) build/target/product/security/platform.x509.pem build/target/product/security/platform.pk8 vendor/samsung/crespo4g/proprietary/WiMAXHiddenMenu.unsigned.apk vendor/samsung/crespo4g/proprietary/WiMAXHiddenMenu.apk -(cd vendor/samsung/crespo4g/proprietary/SprintMenu.apk.parts ; zip -r ../SprintMenu.unsigned.apk .) -java -jar $(find out/host -name signapk.jar) build/target/product/security/platform.x509.pem build/target/product/security/platform.pk8 vendor/samsung/crespo4g/proprietary/SprintMenu.unsigned.apk vendor/samsung/crespo4g/proprietary/SprintMenu.apk -(cd vendor/samsung/crespo4g/proprietary/SystemUpdateUI.apk.parts ; zip -r ../SystemUpdateUI.unsigned.apk .) -java -jar $(find out/host -name signapk.jar) build/target/product/security/platform.x509.pem build/target/product/security/platform.pk8 vendor/samsung/crespo4g/proprietary/SystemUpdateUI.unsigned.apk vendor/samsung/crespo4g/proprietary/SystemUpdateUI.apk -(cd vendor/samsung/crespo4g/proprietary/WiMAXSettings.apk.parts ; zip -r ../WiMAXSettings.unsigned.apk .) -java -jar $(find out/host -name signapk.jar) build/target/product/security/platform.x509.pem build/target/product/security/platform.pk8 vendor/samsung/crespo4g/proprietary/WiMAXSettings.unsigned.apk vendor/samsung/crespo4g/proprietary/WiMAXSettings.apk |