时间同步

1
adb shell "settings put global ntp_server ntp.aliyun.com"

wifi 感叹号

1
2
adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204
adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204

常用软件

other

1
2
3
4
5
6
7
8
9
10
11
adb -d reboot bootloader
fastboot flash vbmeta vbmeta.img
fastboot flash dtbo dtbo.img
fastboot flash boot boot.img
fastboot wipe-super super_empty.img
fastboot flash recovery recovery.img
fastboot reboot recovery

adb reboot bootloader
fastboot flash boot PATH/TO/boot.img
fastboot reboot