From 692ae115e3d4a55591c02c028906634da91c7cbb Mon Sep 17 00:00:00 2001 From: Darshan Manjrekar Date: Fri, 7 Apr 2017 12:03:46 +0000 Subject: [PATCH] Revert "land: Update firmware on install-time" This reverts commit 4796eb37b358fc5ed4c67683704b98f49295c6ad. Signed-off-by: Darshan Manjrekar --- board/recovery.mk | 3 --- extract-files.sh | 8 +----- proprietary-firmware.txt | 12 --------- radio/filesmap | 53 ---------------------------------------- setup-makefiles.sh | 3 --- 5 files changed, 1 insertion(+), 78 deletions(-) delete mode 100644 proprietary-firmware.txt delete mode 100644 radio/filesmap diff --git a/board/recovery.mk b/board/recovery.mk index 9616237..b165cbb 100644 --- a/board/recovery.mk +++ b/board/recovery.mk @@ -1,5 +1,2 @@ # Recovery TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/fstab.qcom -TARGET_RECOVERY_UI_LIB := librecovery_ui_msm -TARGET_RECOVERY_UPDATER_LIBS := librecovery_updater_msm -TARGET_RELEASETOOLS_EXTENSIONS := device/qcom/common diff --git a/extract-files.sh b/extract-files.sh index 642a1a1..437e356 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -38,13 +38,10 @@ if [ $# -eq 0 ]; then else if [ $# -eq 1 ]; then SRC=$1 - elif [ $# -eq 2 ]; then - SRC=$1 - RADIO_SRC=$2 else echo "$0: bad number of arguments" echo "" - echo "usage: $0 [PATH_TO_EXPANDED_ROM] [PATH_TO_RADIO_FOLDER]" + echo "usage: $0 [PATH_TO_EXPANDED_ROM]" echo "" echo "If PATH_TO_EXPANDED_ROM is not specified, blobs will be extracted from" echo "the device using adb pull." @@ -56,8 +53,5 @@ fi setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT" extract "$MY_DIR"/proprietary-files.txt "$SRC" -if [ -n "$RADIO_SRC" ]; then - extract_firmware "$MY_DIR"/proprietary-firmware.txt "$RADIO_SRC" -fi "$MY_DIR"/setup-makefiles.sh diff --git a/proprietary-firmware.txt b/proprietary-firmware.txt deleted file mode 100644 index ebdd7ad..0000000 --- a/proprietary-firmware.txt +++ /dev/null @@ -1,12 +0,0 @@ -# Firmware images -NON-HLOS.bin -adspso.bin -cmnlib64.mbn -cmnlib.mbn -devcfg.mbn -emmc_appsboot.mbn -keymaster.mbn -lksecapp.mbn -rpm.mbn -sbl1.mbn -tz.mbn diff --git a/radio/filesmap b/radio/filesmap deleted file mode 100644 index 939d315..0000000 --- a/radio/filesmap +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright (c) 2014, The Linux Foundation. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided -# with the distribution. -# * Neither the name of The Linux Foundation nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# filename partition - -NON-HLOS.bin /dev/block/bootdevice/by-name/modem - -sbl1.mbn /dev/block/bootdevice/by-name/sbl1 -tz.mbn /dev/block/bootdevice/by-name/tz -rpm.mbn /dev/block/bootdevice/by-name/rpm -emmc_appsboot.mbn /dev/block/bootdevice/by-name/aboot -adspso.bin /dev/block/bootdevice/by-name/dsp -devcfg.mbn /dev/block/bootdevice/by-name/devcfg -lksecapp.mbn /dev/block/bootdevice/by-name/lksecapp -cmnlib.mbn /dev/block/bootdevice/by-name/cmnlib -cmnlib64.mbn /dev/block/bootdevice/by-name/cmnlib64 -keymaster.mbn /dev/block/bootdevice/by-name/keymaster - -# filename + .bak backup partition - -sbl1.mbn.bak /dev/block/bootdevice/by-name/sbl1bak -tz.mbn.bak /dev/block/bootdevice/by-name/tzbak -rpm.mbn.bak /dev/block/bootdevice/by-name/rpmbak -emmc_appsboot.mbn.bak /dev/block/bootdevice/by-name/abootbak -devcfg.mbn.bak /dev/block/bootdevice/by-name/devcfgbak -lksecapp.mbn.bak /dev/block/bootdevice/by-name/lksecappbak -cmnlib.mbn.bak /dev/block/bootdevice/by-name/cmnlibbak -cmnlib64.mbn.bak /dev/block/bootdevice/by-name/cmnlib64bak -keymaster.mbn.bak /dev/block/bootdevice/by-name/keymasterbak diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 0fbf2ea..918f258 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -50,8 +50,5 @@ cat << EOF >> "$ANDROIDMK" EOF -# Append the calls to firmware images -append_firmware_calls_to_makefiles - # We are done! write_footers