Hello all,
I recently got a MK908II TV Player as a christmas present. I used the stuff from this great forum to get rid of all the bugs that the vendor did not solve (e.g., video sync fix, bluetooth MAC fix, ...). One thing I could not find a solution for was a working VNC server. All the ones from the Play Store did show the screen correctly, but mouse input was not possible. So I solved it by myself.
It seems that Rockchip and/or Tronsmart changed the input system in a way that it does not react to touch events through the uinput device correctly. All the VNC servers use the uinput device to emit key and touch events. I solved it by injecting the touch events directly through the Android API.
Please find my solution attached. It consist of the androidvncserver binary that needs to be started in a console. The binary requires an extended version of Android's built-in input command. It is called by androidvncserver and acts as an event injection server. Installation instructions are included.
One odd thing that remains unsolved: Every once in a while the WLAN driver of my MK908II looses connection. It seems that the traffic caused by the VNC server triggers a bug in the driver. It's not a big issue: The box automatically re-connects to the WLAN. Only the vnc connection needs to be re-established.I used Finless' ROM V1.5a for MK908II.
If you have any questions, please let me know.
Bye
grueni75
Comment