summaryrefslogtreecommitdiffstats
path: root/updater.sh
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-12-23 16:26:27 +0100
committerPaul Kocialkowski <contact@paulk.fr>2013-12-27 11:24:42 +0100
commit09192977a2c6a39cd59a5737c7b40da489a73df6 (patch)
tree93f5f93a7e659559495db3dcfffd9d8ffc1743f9 /updater.sh
parent6518409ecb5dee1b514aadcda37ffb93259c8303 (diff)
downloaddevice_samsung_aries-common-09192977a2c6a39cd59a5737c7b40da489a73df6.zip
device_samsung_aries-common-09192977a2c6a39cd59a5737c7b40da489a73df6.tar.gz
device_samsung_aries-common-09192977a2c6a39cd59a5737c7b40da489a73df6.tar.bz2
Get rid of modem firmware instructions
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'updater.sh')
-rwxr-xr-xupdater.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/updater.sh b/updater.sh
index 07f835c..949b27a 100755
--- a/updater.sh
+++ b/updater.sh
@@ -156,35 +156,6 @@ elif /tmp/busybox test -e /dev/block/mtdblock0 ; then
# everything is logged into /sdcard/cyanogenmod.log
set_log /sdcard/cyanogenmod_mtd.log
- if $IS_GSM ; then
- # create mountpoint for radio partition
- /tmp/busybox mkdir -p /radio
-
- # make sure radio partition is mounted
- if ! /tmp/busybox grep -q /radio /proc/mounts ; then
- /tmp/busybox umount -l /dev/block/mtdblock5
- if ! /tmp/busybox mount -t yaffs2 /dev/block/mtdblock5 /radio ; then
- /tmp/busybox echo "Cannot mount radio partition."
- exit 5
- fi
- fi
-
- # if modem.bin doesn't exist on radio partition, format the partition and copy it
- if ! /tmp/busybox test -e /radio/modem.bin ; then
- /tmp/busybox umount -l /dev/block/mtdblock5
- /tmp/erase_image radio
- if ! /tmp/busybox mount -t yaffs2 /dev/block/mtdblock5 /radio ; then
- /tmp/busybox echo "Cannot copy modem.bin to radio partition."
- exit 5
- else
- /tmp/busybox cp /tmp/modem.bin /radio/modem.bin
- fi
- fi
-
- # unmount radio partition
- /tmp/busybox umount -l /dev/block/mtdblock5
- fi
-
if ! /tmp/busybox test -e /sdcard/cyanogenmod.cfg ; then
# update install - flash boot image then skip back to updater-script
# (boot image is already flashed for first time install or old mtd upgrade)