Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AlirezaIvaz authored May 20, 2023
1 parent 42d4af4 commit f03ed3a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit f03ed3a

Please sign in to comment.