From f03ed3a74f009878707bf39b7acd046acfc61a5b Mon Sep 17 00:00:00 2001 From: Alireza Ivaz Date: Sat, 20 May 2023 19:07:43 +0330 Subject: [PATCH] Create README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..e60522c --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# DemoModeTile +You get a screenshot, you get a screenshot, everygets a screenshot! + +It's a very simple tool presented as a Quick Tile to simplify the process of setting up and activating Demo Mode. It's already pre-configured out of the box with perfect 7:00 clock, full WiFi, full signal and full battery icons for stunning clutter-free screenshots. + +For it to work you need to grant it two permissions through adb shell from your computer: + +``` +adb -d shell pm grant com.franco.demomode android.permission.DUMP +adb -d shell pm grant com.franco.demomode android.permission.WRITE_SECURE_SETTINGS +``` + +The `DUMP` permission is required for the Demo Mode to actually work, and the `WRITE_SECURE_SETTINGS` is necessary for the Quick Tile to read the setting and present the correct icon depending on its state. + +Since these permissions can be a little scary, for transparency sake I've open sourced it https://github.com/franciscofranco/Demo-Mode-tile.