diff --git a/src/utils.sh b/src/utils.sh index ff82fd5..2729283 100755 --- a/src/utils.sh +++ b/src/utils.sh @@ -56,6 +56,8 @@ function enable_proxy_if_needed () { adb root echo "Set up the Proxy" + adb shell "content update --uri content://telephony/carriers --bind proxy:s:"0.0.0.0" --bind port:s:"$0000" --where "mcc=310" --where "mnc=260"" + sleep 5 adb shell "content update --uri content://telephony/carriers --bind proxy:s:"${p[0]}" --bind port:s:"${p[1]}" --where "mcc=310" --where "mnc=260"" adb unroot @@ -69,9 +71,9 @@ function enable_proxy_if_needed () { fi } -enable_proxy_if_needed -sleep 1 change_language_if_needed sleep 1 +enable_proxy_if_needed +sleep 1 install_google_play disable_animation