Skip to content

Instantly share code, notes, and snippets.

@GreatApo
GreatApo / gist:f6e987cc3908bca21c73cd3a412a7ef6
Last active October 24, 2018 14:44
Amazfit watch data through ADB/Java
//Adb commands to leading all variable I have found:
adb shell content query --uri content://settings/global
adb shell content query --uri content://settings/system
adb shell content query --uri content://com.huami.watch.companion.settings
adb shell content query --uri content://settings/secure
adb shell content query --uri content://com.huami.watch.health.heartdata
//example to get or set one of them:
adb shell settings get system slpt_refresh_in_sec
adb shell settings put system slpt_refresh_in_sec 0