You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
814 B

#!/bin/bash
#********Do not modify this file. If you want modify this file, pls contact our FAE*******
echo ""
echo "# begin fota properties"
echo "ro.fota.platform=MT6739"
#type info: phone, pad ,box, tv
echo "ro.fota.type=AIT"
#oem info
echo "ro.fota.oem=AIC"
#model info, Settings->About phone->Model number
#FotaDevice=$(grep "ro.product.model=" "$1"|awk -F "=" '{print $NF}' )
#echo "ro.fota.device=AIC$FotaDevice" | sed 's/[^0-9a-zA-Z= ._-]//g'
echo "ro.fota.device=AIC"
#version number, Settings->About phone->Build number
FotaVersion=$(grep "ro.build.display.id=" "$1"|awk -F "=" '{print $NF}' )`date +_%Y%m%d-%H%M`
echo "ro.fota.version=$FotaVersion" | sed 's/[^0-9a-zA-Z= ._-]//g'
echo "# end fota properties"
#********Do not modify this file. If you want modify this file, pls contact our FAE*******