Open mashkurm opened 7 years ago
It might just be that the coordinates / scaling factor are different on your device. I can't really test it as I don't have a Note3. You could try playing around with the numbers for the COL_1, COL_2, COL_3, ROW_1, ROW_2 and ROW_3 variables and see if it makes any difference.
Also try changing the MULTIPLIER as that seems to have an effect on devices with different screen densities.
I tried with same co-ordinates that I see on the device by locating pointer location. It seems that swipe-up happens but pattern doesn't unlock. I'm using Windows7 with CygWin to simulate this. Let me know if I am missing anything.
i think this because of every device has a different event number for different event types. for example one device say event2 for touch input,on another touch input event9
please it give me device unautorized
Try changing size and density using these commands:
// Emulate device adb shell wm size 2048x1536 adb shell wm density 288 // And reset to default adb shell wm size reset adb shell wm density reset
Initially it unlocks the device and swipe up, but when it comes to co-ordinates, it is sending too, but it does nothing to the device.. Please find the logs.
$ bash test.sh Sending 1: 254, 948 Sending 4: 254, 1224 Sending 7: 254, 1526 Sending 8: 513, 1526
Trying to draw L through it.. 1,4,7,8..
Here is my pattern. Please check.