Skip to content

Commit 9168823

Browse files
authored
Update README.md
Remove references to https://down-box.appspot.com/ till it is not fixed and add provisioning instructions to use the code **afw#testdpc**.
1 parent 9e5c925 commit 9168823

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,23 @@ Provisioning
1717

1818
You can find various kinds of provisioning methods [here](https://developers.google.com/android/work/prov-devices#Key_provisioning_differences_across_android_releases). Let's take a few of them as an example.
1919

20+
#### AFW# code provisioning (Device Owner M+)
21+
1. Factory reset your device and tap the welcome screen in setup wizard 6 times.
22+
2. When prompted to sign in, enter **afw#testdpc**
23+
3. Follow onscreen instructions
24+
2025
#### QR code provisioning (Device Owner N+ only) ####
2126
1. Factory reset your device and tap the welcome screen in setup wizard 6 times.
22-
2. The setup wizard prompts the user to connect to the Internet so the setup wizard can download a QR code reader.
23-
3. Modify (if needed) and scan [this QR code] (http://down-box.appspot.com/qr/nQB0tw7b).
24-
4. Follow onscreen instructions
27+
2. On Android O or older, the setup wizard prompts the user to connect to the Internet so the setup wizard can download a QR code reader.
28+
3. Generate a QR code with the content:
29+
```
30+
{
31+
"android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME": "com.afwsamples.testdpc/com.afwsamples.testdpc.DeviceAdminReceiver",
32+
"android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM": "gJD2YwtOiWJHkSMkkIfLRlj-quNqG1fb6v100QmzM9w=",
33+
"android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION": "https://testdpc-latest-apk.appspot.com"
34+
}
35+
```
36+
6. Scan the QR code and follow onscreen instructions
2537

2638
#### ADB command ####
2739

0 commit comments

Comments
 (0)