aboutsummaryrefslogtreecommitdiff
path: root/recovery/D6x02.sh
blob: 0bdcfe0b64d105b268e7b8120cadb221e450b6c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/sbin/sh

mkdir -p /lta-label
mount -o ro /dev/block/platform/msm_sdcc.1/by-name/LTALabel /lta-label
ls lta-label/*.html | grep -q c6[89]02
if [ $? -eq 0 ]; then
	mount /dev/block/platform/msm_sdcc.1/by-name/system /system
	cp /system/etc/firmware/c6x02/* /system/etc/firmware/
	umount /system
fi
umount /lta-label