Wednesday, June 14, 2017

Theater Mode Hardware Button Shortcut in Android Wear 2.0

Thanks to someone much smarter than I, we now have the ability to map a hardware button to Theater Mode. Many users are very frustrated that double-tapping the power button/crown in Wear 2.0 no longer enables Theater Mode as it did in Wear 1.5. While this is not exactly the same, it is a good workaround for watches with more than one hardware button (since the main power/crown button cannot be mapped). These instructions will describe how to install the app via WiFi and should work on any device running Android Wear 2.0.
--

Before we begin...
--

To install...
  • Follow these instructions to Connect the watch to a WiFi network and Enable WiFi debugging.

    Once you get the step 3 and have the IP address, come back to our instructions.

    Also, make sure your computer is connected to the same network and their aren't restrictions on the network limited devices ability to see each other.
  • Navigate to your ADB install directory (C:\Program Files (x86)\Minimal ADB and Fastboot\)
  • Hold the shift button on your keyboard and right click in the folder and select "Open Command Windows Here".
  • In the command prompt, type "adb connect xxx.xxx.xxx.xxx" filling in your watch's IP address from earlier. (ex. adb connect 192.168.1.101)
  • In the command prompt, type "adb install Toggle_Theater_Mode.5.apk".

    If you renamed the apk, use that name here. Make sure the file is saved in the same folder.
  • In the command prompt, type "adb shell" and press Enter.
  • In the command prompt, type "pm grant com.tasker.wear.toggletheater android.permission.WRITE_SECURE_SETTINGS"
  • In the command prompt, type "exit"

You should now see an app named "Toggle Theater Mode" on the watch. Open the app to test that it works.

If it works, you can customize your hardware button by going to Settings -> Personalization -> Customize Hardware Buttons and selecting the app.

--
Shout out to /r/JustRollWithIt for their work on this! Their original post is here:
https://www.reddit.com/r/AndroidWear/comments/5lkif7/automating_the_watch/dc4bd19/

No comments:

Post a Comment