FORUMS
Remove All Ads from XDA

Wink-Relay touchscreen runs android 4.3

5 posts
Thanks Meter: 5
 
By fintina, Junior Member on 5th January 2016, 04:53 AM
Post Reply Email Thread
Unscrew the back cover.
Bottom right corner, under the green D1 LED there are 4 soldering pads,
Top to bottom, GND, RX, TX (Serial: 115200,N,8,1)
Use the RPI adafruit serial to USB cable and connect it as:
BlackGND-GND, GreenTX-RX, WhiteRX-TX , leave Red not connected.
Open a terminal in Linux and type:
$screen /dev/ttyUSB0 115200
Reset the board from the small button on the edge under the display.
Watch the Android boot messages.
You are root.
[email protected]_xxx:/ #
Tips:
wget,netstat,iperf,iwconfig,iwlist,su,wl

127|[email protected]_xxx:/system/xbin # getprop | grep edis
[build.edison.sig]: [20150520]
[edison-i7020h-corr]: [255=45,365=35,448=52,534=66,623=77,707=95,775=125]
[edison-i7020t-corr]: [-17]
[edison-runasroot]: [/data/edison/scripts/edison.sh]
[edison.backup]: [/device/edison.zip]
[edison.initialised]: [1]
[edison.otaenabled]: [0]
[edison.otafile]: [edison-ota]
[init.svc.edisonwink]: [running]
[init.svc.edisonwl]: [stopped]
[ro.build.description]: []
[ro.build.fingerprint]: []
The Following 5 Users Say Thank You to fintina For This Useful Post: [ View ] Gift fintina Ad-Free
 
 
2nd February 2016, 01:33 AM |#2  
Junior Member
Thanks Meter: 0
 
More
Hacking from buttons
...factory mode by holding down top button upon reset get's to recovery menu.
flash to factory. ...
reboot the systemwait the wink app, cover light sensor and press the lower button for 1 minute or the relay clicks several times. Android OS desktop should appear. Connect the device over wifi to local network, find the device IP, then from a computer do adb connect device-ip:5554, the adb shell has root access.
7th February 2016, 09:34 PM |#3  
OP Junior Member
Thanks Meter: 5
 
More
wink relay version 2.3.1
Quote:
Originally Posted by marinapang

...factory mode by holding down top button upon reset get's to recovery menu.
flash to factory. ...
reboot the systemwait the wink app, cover light sensor and press the lower button for 1 minute or the relay clicks several times. Android OS desktop should appear. Connect the device over wifi to local network, find the device IP, then from a computer do adb connect device-ip:5554, the adb shell has root access.

Looks like version 2.3.1 has adb root access, just a bug

adb connect the-device-ip
adb shell
su
mount -o remount,rw /dev/block/mmcblk0p5 /system
Of bring on front the android launcher
am start -n com.android.launcher/com.android.launcher2.Launcher
8th February 2016, 09:06 PM |#4  
Junior Member
Thanks Meter: 1
 
More
This is a great find.

Is the Relay interface essentially an APK on top of the Android base?
9th February 2016, 01:30 AM |#5  
OP Junior Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by mustardPersona

This is a great find.

Is the Relay interface essentially an APK on top of the Android base?


Yes

linux$ adb kill-server
linux$ adb connect 192.168.1.126
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
connected to 192.168.1.126:5555
linux$ adb shell
[email protected]_xxx:/ $ ps
USER PID PPID VSIZE RSS WCHAN PC NAME
.....
u0_a13 2881 2304 660344 21444 ffffffff 00000000 S com.android.inputmethod.latin
system 2898 2304 878728 44580 ffffffff 00000000 S com.quirky.android.wink.projectone
u0_a9 2903 2304 661576 20584 ffffffff 00000000 S android.process.media
wifi 2930 1 3192 1772 ffffffff 00000000 S /system/bin/wpa_supplicant
system 2940 2304 666764 18076 ffffffff 00000000 S com.android.settings
u0_a18 2956 2304 658464 16668 ffffffff 00000000 S com.android.music
system 2976 2304 659388 16176 ffffffff 00000000 S com.flex.edisonservice:edisonsrv
u0_a10 3000 2304 657908 15020 ffffffff 00000000 S com.flex.edison.edisonplayer
bluetooth 3031 2304 683660 21316 ffffffff 00000000 S com.android.bluetooth
u0_a5 3043 2304 657672 18116 ffffffff 00000000 S com.android.providers.calendar
u0_a8 3076 2304 660352 17680 ffffffff 00000000 S com.android.deskclock
system 3119 2304 656808 14868 ffffffff 00000000 S com.flex.edisonservice
u0_a11 3143 2304 661628 17848 ffffffff 00000000 S com.android.gallery3d
u0_a20 3158 2304 656756 15468 ffffffff 00000000 S com.android.onetimeinitializer
dhcp 3185 1 936 452 ffffffff 00000000 S /system/bin/dhcpcd
radio 3226 2304 656948 16872 ffffffff 00000000 S com.android.phone
u0_a14 3243 2304 660164 18068 ffffffff 00000000 S com.android.launcher
u0_a24 3261 2304 658488 16256 ffffffff 00000000 S com.android.quicksearchbox
u0_a19 3296 2304 656908 15016 ffffffff 00000000 S com.android.musicfx
shell 3405 2319 832 460 c004d9f0 4014ae1c S /system/bin/sh
root 3411 2 0 0 ffffffff 00000000 S kworker/0:0
shell 3412 3405 1152 460 00000000 40205060 R ps
[email protected]_xxx:/ $
13th February 2016, 03:59 PM |#6  
Junior Member
Thanks Meter: 0
 
More
wink relay issues, problems
I found several problems with the Wink application.
  1. The UI sucks, the settings are one way.
  2. After a power down the touch and switches are non responsive, then comes all in a blast. There is a lot of network activity. Junior level development ... all over.
  3. If the network is slow the touch commands are delayed. Wink is relying the commands to Wink servers forward and back, instead doing it locally and updating the server asynchronous. Looks like the software was all developed in the far east, it sucks.
13th February 2016, 08:22 PM |#7  
Junior Member
Flag Phoenix
Thanks Meter: 1
 
More
Thanks for the guide. I wonder what more practical things I can do with it like this. Great for visuals at the very least! Automate on
15th February 2016, 11:27 AM |#8  
Junior Member
Thanks Meter: 0
 
More
thanks for the helps, it really works for me. thanks !
16th February 2016, 03:38 AM |#9  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by marinapang

I found several problems with the Wink application.

  1. The UI sucks, the settings are one way.
  2. After a power down the touch and switches are non responsive, then comes all in a blast. There is a lot of network activity. Junior level development ... all over.
  3. If the network is slow the touch commands are delayed. Wink is relying the commands to Wink servers forward and back, instead doing it locally and updating the server asynchronous. Looks like the software was all developed in the far east, it sucks.

Actually, check if you have the latest Wink hub update - they added local radio support (I could be wording that wrong) and now certain actions can be done without going to the cloud. It is being deployed in waves, so it may not have hit all of them by now.

I wouldn't say it is more stable, but it definitely is quicker now.
6th March 2016, 09:39 PM |#10  
johnny grep's Avatar
Senior Member
Thanks Meter: 18
 
More
Anyone have a system dump from the Relay?
7th March 2016, 05:00 PM |#11  
Member
Thanks Meter: 31
 
More
Quote:
Originally Posted by johnny grep

Anyone have a system dump from the Relay?

I think this page used to have a rom dump. But the link looks broken. Let us know if you find a working one!
http://wink-internals.org/index.php?...Relay#Rom_Dump
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes