#!/bin/bash
echo "正在应用系统设置..."
adb shell locksettings set-disabled true
adb shell settings put global verifier_verify_adb_installs 0
adb shell settings put global stay_on_while_plugged_in 3
adb shell settings put system time_12_24 12
adb shell settings put system screen_off_timeout 1800000
adb shell settings put system screen_brightness 13
adb shell settings put system screen_brightness_mode 0
adb shell service call audio 13 i32 3;
adb shell service call audio 13 i32 1;
adb shell service call audio 13 i32 5;
adb shell service call audio 12 i32 4;
adb shell svc bluetooth enable
echo "正在配置WiFi连接..."
adb shell svc wifi enable
adb shell cmd wifi start-scan
adb shell cmd wifi connect-network GMS1 wpa2 yhk.0755
echo "系统设置已完成!"