Description
INF/device:plugins:touch 4553 [7d068e69] Launching screen service
INF/device:plugins:touch 4553 [7d068e69] Connecting to minitouch service
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "open: Permission denied"
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "Unable to open device /dev/input/event8 for inspectionopen: Permission denied"
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "Unable to open device /dev/input/event7 for inspectionopen: Permission denied"
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "Unable to open device /dev/input/event6 for inspectionopen: Permission denied"
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "Unable to open device /dev/input/mouse2 for inspectionopen: Permission denied"
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "Unable to open device /dev/input/event3 for inspectionopen: Permission denied"
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "Unable to open device /dev/input/mouse0 for inspectionopen: Permission denied"
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "Unable to open device /dev/input/event1 for inspectionopen: Permission denied"
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "Unable to open device /dev/input/event0 for inspectionopen: Permission denied"
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "Unable to open device /dev/input/mice for inspectionopen: Permission denied"
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "Unable to open device /dev/input/event5 for inspectionopen: Permission denied"
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "Unable to open device /dev/input/event4 for inspectionopen: Permission denied"
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "Unable to open device /dev/input/mouse1 for inspectionopen: Permission denied"
INF/device:plugins:touch 4553 [7d068e69] minitouch says: "Unable to open device /dev/input/event2 for inspectionUnable to find a suitable touch device"
WRN/device:plugins:touch 4553 [7d068e69] Shell keeping minitouch running ended unexpectedly
Activity
sorccu commentedon Nov 22, 2016
I have one and it works fine. Run
adb shell getevent -ilp
and post theoutput. Also, run
adb devices -l
and post the line for your device.On Tue, Nov 22, 2016 at 12:02 PM, scottchejin notifications@github.com
wrote:
scottchejin commentedon Nov 22, 2016
adb shell getevent -ilp:
could not open /dev/input/event8, Permission denied
could not open /dev/input/event7, Permission denied
could not open /dev/input/event6, Permission denied
could not open /dev/input/mouse2, Permission denied
could not open /dev/input/event3, Permission denied
could not open /dev/input/mouse0, Permission denied
could not open /dev/input/event1, Permission denied
could not open /dev/input/event0, Permission denied
could not open /dev/input/mice, Permission denied
could not open /dev/input/event5, Permission denied
could not open /dev/input/event4, Permission denied
could not open /dev/input/mouse1, Permission denied
could not open /dev/input/event2, Permission denied
adb devices -l:
List of devices attached
7d068e69 device usb:1-1 product:gemini model:MI_5 device:gemini
sorccu commentedon Nov 22, 2016
Yeah well that's broken, then. Are you running an official ROM?
On Tue, 22 Nov 2016 at 14:04 scottchejin notifications@github.com wrote:
scottchejin commentedon Nov 22, 2016
Yes. the MIUI version is :MIUI 8.1 | Stable 8.1.3.0(MAACNDI)
I have another XIAOMI 5, version is: MIUI 7.3, it works well.
sorccu commentedon Nov 22, 2016
8.0 works fine. Not sure about 8.1, would be unfortunate if they've locked it down.
scottchejin commentedon Nov 22, 2016
Thank you for your help. I will flush 8.0 then try again. Maybe they've locked it if 8.0 can run well on the same device, and I will post the result later.
sorccu commentedon Nov 22, 2016
Looks like in MIUI 8.1 there's a new setting in Developer options called "USB debugging (Security settings)" that is disabled by default. To enable the setting you have to add your Mi account, but I believe it should work after that.
Let me know how it goes.
scottchejin commentedon Nov 22, 2016
Yes. I used my MI account then enabled the setting "USB debugging (Security settings)", The device works well. Thanks for your help.
leemeng0x61 commentedon Dec 13, 2016
ha, MI is awesome
baikaishuipp commentedon Feb 27, 2017
Hey there ,
I have the same issues , my MI 5s does't have the setting "USB debugging (Security settings)",MIUI Version : 8.0.18
sorccu commentedon Feb 27, 2017
baikaishuipp commentedon Feb 27, 2017
Updating MIUI V8.2.2.0.MAGCNDL , not sure it's have the setting...touch you later
updated to MIUI V8.2.2.0.MAGCNDL and work fine ,thx~
sorccu commentedon Feb 27, 2017
Btw did you happen to have a MI account on that device when you checked? In later versions the option is there and says you have to add a MI account first. I'm thinking that perhaps in the initial versions where they did that, they didn't even show the option unless you had an account. It's possible that if you add an account, the option would magically just appear. I have no device to test the theory with, though.
baikaishuipp commentedon Feb 27, 2017
In the initial versions V8.0 i added a MI accouunt, but it didn't show the option, the I update the MIUI Version to V8.2, it appears.
sorccu commentedon Feb 27, 2017
:(
sudheesh001 commentedon Mar 31, 2017
I think this issue needs to be reopened. It doesn't work correctly even on my MI phone. I get the following error
and on
stf
I receive the following informationsorccu commentedon Mar 31, 2017
Did you read everything in this issue? Did you change the setting that you must change?
sudheesh001 commentedon Mar 31, 2017
@sorccu Yes, i've an MI account already registered on the phone and
adb devices
shows up the device name. It works perfectly fine with a Moto G phone.sorccu commentedon Mar 31, 2017
But did you change the setting shown in #477 (comment)?
sudheesh001 commentedon Mar 31, 2017
@sorccu Yes I received 3 warning screens holding up each screen for 5 seconds before the Next button is activated and it didn't show up. I just disconnected the cable and reconnected it and it seems to be working totally fine. 😄 Thank you !
Also is there an API for just using the
<device-screen>
on a seperate webpage ? I am also trying to get this working on Windows to contribute toopenstf
and facing a few issues withlibjpeg-turbo
sorccu commentedon Mar 31, 2017
Ok good. node-jpeg-turbo is actually already compatible with Windows thanks to a contributor, but that version has not been released yet.
sorccu commentedon Jun 2, 2017
#603 now has a better guide for adding Xiaomi devices to STF.