File tree Expand file tree Collapse file tree
pio/src/main/assets/module/ZADD/patch_rom Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /data/data/com.tool.tree/files/home/bin/bash
22# Kakathic
33set -o pipefail
4+ IFS=$' \n '
45
56fixapps (){
67for vv in $@ ; do
@@ -300,10 +301,11 @@ elif [ "${vv##*/}" == "Settings.apk" ];then
300301 .end method' $oi /smali/classes* /com/android/settings/device/MiuiGuaranteeCard.smali
301302
302303 # thông tin
303- if [ " $( grep -cm1 device_description_cpu " $oi /resources/package_1/res/values/strings.xml" ) " == 0 ]; then
304+ if [ " $( grep -cm1 device_description_cpu " $oi /resources/package_1/res/values/strings.xml" ) " != 1 ]; then
304305 smurl1=" $( find $oi /smali/classes* /com/android/settings/device/DeviceParamsInitHelper.smali -type f) "
305306 if [ -f " $smurl1 " ]; then
306307 for vnl in $( grep -B 2 -n " langType" " $smurl1 " | tac | grep ' move-result-object' ) ; do
308+ echo " $vnl "
307309 sed -i " $( echo " $vnl " | cut -d- -f1) a\ const-string $( echo " $vnl " | awk ' {print $3}' ) , \" enUS\" " " $smurl1 "
308310 done
309311 fi
You can’t perform that action at this time.
0 commit comments