Skip to content

Commit

Permalink
Update obtain_token.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Willian-Zhang authored Jan 10, 2019
1 parent 0fa6469 commit 6d3ae84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/obtain_token.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ Use these methods to obtain the device token for devices that hide their tokens
* Get the ADB tool
- for Windows: https://developer.android.com/studio/releases/platform-tools.html
- for Mac: `brew install adb`
* Create a backup of the Mi Home app: `.\adb backup -noapk com.xiaomi.smarthome -f backup.ab`
* Create a backup of the Mi Home app:
- for Windows: `.\adb backup -noapk com.xiaomi.smarthome -f mi-home-backup.ab`
- for Mac: `adb backup -noapk com.xiaomi.smarthome -f mi-home-backup.ab`
* On your phone you must confirm the backup. Do not enter any password and press button to make the backup
* (Windows Only) Get ADB Backup Extractor and install it: https://sourceforge.net/projects/adbextractor/
* Extract all files from the backup on your computer:
Expand Down

0 comments on commit 6d3ae84

Please sign in to comment.