May 3
Wink Relay Hacking (Edison-DVT)
————– First Step —————
Download tools from a site like https://www.apkmirror.com/
Kingo Root 4.5.6
Multi Action Home Button 2.5.0
Nova Launcher 5.5.4
Firefox 66.0.2-2015619145 very important for HA this build
AutoStart 2.2 No Root to launch custom UI apps on boot.
————– Second Step —————
Hold Finger Over IR Oval Press and Hold Bottom Relay 2
Button for 30 seconds
Head Straight to Settings.
Setup WiFi make sure to get the ip assigned once connected
Next Go To About Tablet
Tab Build Number 7 times
Back Out
Select Security
Check Unknown Sources
Back Down to Developer Options
Check Stay Awake, USB Debugging
reboot, small button on the bottom
—————— First Timer Backup Edison.zip ———————–
adb pull /device/edison.zip
This is just in case the device gets bricked at least you won’t find yourself SOL trying to locate an image on the internet if SHTF you’ll be able to recover using a usb ttl serial cable. 170MB over shit wifi will take a tik or two.
—————— ADB commands to interact with Device ————–
adb install “com.kingoapp.apk_4.5.6-456_minAPI16(arm64-v8a,armeabi-v7a,x86,x86_64)(nodpi).apk”
adb install “Multi action Home Button_v2.5.0_apkpure.com.apk”
adb install “com.teslacoilsw.launcher_5.5.4-59400_minAPI16(nodpi)_apkmirror.com.apk”
———— Optional —————
adb install “org.mozilla.firefox_66.0.2-2015619145_minAPI16(armeabi-v7a)(nodpi)_apkmirror.com.apk”
adb install “AutoStart No root_v2.2_apkpure.com.apk”
——————- Launch the Kingo Root ———————–
adb shell am start -n com.kingoapp.apk/com.kingoapp.root.LaunchActivity
——————- Launch Nova Launcher ———————–
adb shell am start -n com.teslacoilsw.launcher/.NovaLauncher
——————- Launch MA Home button ———————
adb shell am start -n com.home.button.bottom/com.home.button.activity.MainActivity
——————- Launch the Launcher ———————–
adb shell am start -n com.android.launcher/com.android.launcher2.Launcher
——————- Launch firefox HA ————————-
adb shell am start -n org.mozilla.firefox/.App https://homeassistant.local:8123/
<must root the device for these commands to work>
—————– Install The MQTT App ——————
adb push c:\adb\wink_manager /sdcard/wink_manager
adb push c:\adb\wink_manager.ini /sdcard/wink_manager.ini
adb shell
su
mount -o remount,rw /system
pm disable http://com.quirky.android.wink.projectone
rm /system/bin/edisonwink
cp /sdcard/wink_manager /system/bin/edisonwink
chmod 755 /system/bin/edisonwink
—- optional —-
setprop net.hostname <SomeWinkRelay>
———————– Power Management ———————-
adb shell svc power stayon false
———————– Remove Unused KingoRoot —————
adb uninstall com.kingoapp.apk
——————– Starting a package from the shell ———————
pm list packages
dumpsys package <com.android.launcher>
— find the action you want, in the case of launcher the following minus the <>
am start -n <com.android.launcher/com.android.launcher2.Launcher>