Type: Touch Screen Controller with Two Buttons
Protocol: Zigbee, WLAN, Cloud to Cloud, Bluetooth
Capabilities: Switch, Control
Device Type Author: No Device Type
- 1 Information
- 2 Rooting the Wink Relay
- 3 Factory Resetting the Wink Relay
- 4 Credits
The Wink Relay is an Android 4.3 embedded device with Zigbee, Bluetooth, Wireless N, a proximity light sensor, microphone and speaker. It also features two IO pins and two physical buttons for controlling the two embedded relays in the in-wall mount, and is capable of switching two loads on and off.
The Wink app on the Relay is required for the Proximity sensor or the buttons to function.
The Zigbee radio supports controller functions via the Wink app.
Plenty... In Progress.
Rooting the Wink Relay
After installing the Wink Relay and powering it on for the first time you'll be prompted to connect the Wink Relay to your wireless network. Connecting it to your network, you'll then be prompted to create a Wink account or sign in. It is extremely important that you do not sign into the Wink software or create an account at this time. Doing so will require that you reset the Wink device to defaults before continuing.
Gaining Access to the Android Home Screen
1. After connecting the Wink Relay to your wireless network, cover the PIR sensor above the screen with one finger, and hold the bottom button on the right side until you hear the Wink Relay click four times. This is the relay turning on and off twice. The light associated with this button will blink twice.
2. Let go of the button and uncover the PIR sensor, and you'll be shown the Android Home Screen.
Allowing Installation of Third Party Applications
3. Tap the App Drawer at the center bottom of the screen.
4. On the App Drawer, select the Settings icon.
5. Scroll down to the "Personal" Category, and select "Security".
6. Check the box for "Unknown sources" under "Device Administration", then press the top left corner of the display to go back to the previous menu.
7. Scroll down to "About Tablet" and tap on it.
8. Scroll down to the "Build Number", and tap on it repeatedly (five times or so) until it says "You are now a developer".
9. To get back to the Android Home Screen, repeat steps 1 and 2 in the "Gaining Access to the Android Home Screen" section above.
10. Open the Browser icon at the bottom of the Android Home Screen.
11. In the address bar, type www.apkpure.com and hit the Go/Enter button on the keyboard.
12. Once the APKPure website loads, tap the search glass on the top right corner, and search for APKPure.
13. Tap on the top result and when the page loads, tap the "Download APK" link below the APKPure icon.
14. When the download completes, you can tap the notification at the bottom, or you can swipe down from the top notification bar and install APKPure from there.
15. Accept the application requirements, and when APKPure is done, tap the Open button when prompted. Failure to do tap Open will require you to repeat steps 1 and 2 again to get back to the Home Screen and launch APKPure from the App Drawer.
16. Once APKPure has loaded, you'll need the following software packages:
Assistive Touch for Android (Assistive Touch Team) Google Chrome (deprecated) or Firefox (preferred) Nova Launcher (TeslaCoil Software) Optional: full!screen (tsorn)
17. After installing these packages, you may receive an error when launching Assistive Touch, but it will load an icon on the screen that sits over the top of the software.
Setting up the Wink software
18. Using your phone or tablet, download and install the Wink software, and then set up a Wink account.
19. Launch the Wink software on the Wink Relay, and sign in with your Wink account.
20. You will be prompted to update the software. There may be two or more updates. Run through all of them and set the Wink Relay up as if you intend to use it for Wink related purposes.
Rooting the Wink Relay
21. Once you have updated the Wink Relay software and are seeing the Wink dashboard, tap the Assistive Touch icon on the screen, and then tap the Home button on the display.
22. When presented with the choice of Nova Launcher or Wink, select Nova Launcher and choose Always.
23. Open the App Drawer and go into Settings.
24. Scroll down to the Developer options, and tap on it. Ensure the USB Debugging option is checked.
25. Tap the top left corner of the screen, scroll up to Security and tap on it. Ensure that Unknown sources is still checked.
26. Tap the Assistive Touch icon again, and tap Home.
27. At the Android Home Screen, open your Chrome or Firefox browser, and visit www.kingroot.net. Note: If this does not work, search for Kingroot (by kingroot studios) in APKPure app. Note: Older versions of Kingroot have less bloatware Kingroot v4.9.5
28. Download the KingRoot APK to your device and install it. Open it when complete.
29. Scroll up at each screen in KingRoot until you get to the "Try It" button. Tap on it.
30. The device may reboot several times during this process, bringing you back to the Wink home screen. Repeat steps 21 and 22 if needed.
31. Relaunch KingRoot after each reboot and let it continue running. It will eventually succeed.
32. To confirm root, tap on the top left "Hamburger" icon, and it will tell you it was successful.
Disabling Updates and Saving Third Party Software Passwords
These steps are optional, and are only required if you are trying to get the Wink Relay to store credentials for third-party services such as SmartThings. The Wink Relay software forces the removal of third party credentials from the device every hour or so. To disable this, we'll need to install some additional software, and then replace the Wink Relay application.
33. Open APKPure again and search for Root Package Disabler (VuDanThanh) and install it.
34. Open Package Disabler, and swipe left to the System category. Scroll down to find the WinkUpgrade (com.wink.winkupgrade) service and check the box. You'll also want to disable the Uber Widget (com.wink.widget.uber) and the Fitbit Widget (com.wink.widget.fitbit).
35. From your PC (not tested on Mac), you'll need to install the Android ADB Package.
36. Create a folder on your C: drive named ADB.
37. Download the modified Wink APK file from here and copy it into C:\ADB
38. Open a command prompt as Administrator on your PC and navigate to the C:\ADB folder.
39. Type adb connect ipaddressofwinkrelay and hit Enter. If this fails to connect, reboot the Wink Relay using the small button at the very bottom and try again once it comes back up.
40. Once you are connected, type: adb push wink-projectone-release.apk /data/local/tmp
41. When it completes, open an ADB shell by typing: adb shell
42. Type SU to elevate your permissions: su Note: You'll need to Allow su to run as root by tapping Allow on the Wink Relay screen after typing this command.
43. Change your working folder: cd /data/local/tmp
44. Mount the file system as read and write: mount -o rw,remount /system (Note the space)
45. Copy the old Wink app to tmp folder and rename it: cp /system/app/wink-projectone-release.apk /data/local/tmp/wink-projectone-release-orig.apk
46. Remove the old Wink app: rm /system/app/wink-projectone-release.apk
47. Copy the new Wink app into place of the old one. cp ./wink-projectone-release.apk /system/app/wink-projectone-release.apk
48. Set permissions on the new Wink app to allow it to work: chmod 644 /system/app/wink-projectone-release.apk
49. Clean the Dalvik Cache to remove all traces of old app: rm -rf /data/dalvik-cache/*
50. Exit ADB shell by typing: exit (Note: You may need to type this twice, pressing Enter after each one to get back to the C:\adb prompt)
51. Reboot the Wink device: adb reboot
Once the Wink reboots, launch the app on the Wink and your cell phone. You'll have to remove your old Wink Relay from within the app on the Cell Phone, as the new app will be seen as a new Wink Relay device within the Wink software. Note: If you already have Stringify/IFTTT/Etc links in place to allow linking the two push buttons with SmartThings, you'll need to remove and recreate those.
Factory Resetting the Wink Relay
01. While holding top right switch (physical button) on Relay, press soft reset button underneath faceplate.
02. Continue holding top right button until “System recovery” screen appears.
03. Press bottom switch thrice or until “wipe cache partition...” ...
04. Press top switch to do “wipe cache partition…” and let it do it's thing
05. Press bottom switch twice, or until “wipe data/factory reset…”
06. Press top switch to do “wipe data/factory reset…”
07. Press bottom button until "delete all user data... yes"
08. Press top switch to proceed and let it do it's thing
09. Press bottom switch all the way until "reset to factory image..."
10. Press top button and proceed with reset to factory image and let it do it's thing and return to this screen again
11. Now restart it by pressing Top switch
12. Once it reboots set up your wifi
The Wink Relay will ask you to login to Wink. Do not do this or you will need to perform the reset procedure again.
u/aj_viz on reddit.com for the Factory Reset instructions and the Step 16 and Step 27 updates.