This page provides code that guides users on their smartphone to mimic the input behaviour on a target smartphone. For details on how this attack works and how the devices should be placed see the following paper.
Hassan Khan, Urs Hengartner, Daniel Vogel. 2018. Augmented Reality-based Mimicry Attacks on Behaviour-Based Smartphone Authentication. In MobiSys'18: The 16th Annual International Conference on Mobile Systems, Applications, and Services, June 10–15, 2018, Munich, Germany. ACM, New York, NY, USA, 13 pages. https://doi.org/10.1145/3210240.3210317