diff --git a/post-fs-data.sh b/post-fs-data.sh index 881cec3..3fa27aa 100644 --- a/post-fs-data.sh +++ b/post-fs-data.sh @@ -24,16 +24,4 @@ maybe_set_prop gsm.sim.operator.numeric "," "44011,44011" maybe_set_prop gsm.sim.operator.iso-country "," "jp,jp" # Change to MIUI Global (but less features) -# resetprop ro.product.mod_device "$(getprop "ro.product.mod_device")_global" - -# Fix NFC on Xiaomi MIUI 14 (Android 13) -lastVersion=$(getprop ro.build.version.incremental) -lastVersionFilePath=$MODDIR/lastVersion -productDirPath=$MODDIR/system/product -if [ -d "/system/product/pangu/system" ] ; then - if [ ! -f $lastVersionFilePath ] || [ ! -d "$productDirPath" ] || [ $(cat $lastVersionFilePath) != $lastVersion ] ; then - mkdir -p ${productDirPath} - cp -p -a -R /system/product/pangu/system/* ${productDirPath} - echo "$lastVersion" >$lastVersionFilePath - fi -fi \ No newline at end of file +# resetprop ro.product.mod_device "$(getprop "ro.product.mod_device")_global" \ No newline at end of file