This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/data/data/com.termux/files/usr/bin/bash | |
| # Pixel 5a auto data recovery script. | |
| # rotation で GCE worker から `svc data enable` が届かない時の保険: | |
| # Pixel 自身が 30 秒ごとに mobile_data 状態を見て OFF なら ON に戻す。 | |
| LOG="$HOME/auto_data.log" | |
| adb start-server >/dev/null 2>&1 | |
| adb connect localhost:5555 >/dev/null 2>&1 | |
| while true; do |