Abstract
We present Behavioural Touch Health Inference (BTHI), a sub-90-second consumer-facing touch-controller self-test that runs from a stock unrooted Android APK and produces a cryptographically attested per-region health report. Unlike prior approaches that rely on synthetic data augmentation, BTHI is trained and evaluated exclusively on real devices tested in the Retronics laboratory. We collected 3,104 captured runs across 384 devices spanning 8 OEMs and 24 distinct models and evaluated BTHI on 3,094 complete labelled runs after excluding 10 incomplete captures, all collected through Retronics resale intake pipeline under independent IRB protocol PROTO-2026-001 (approved 2026-01-12) with documented informed consent. The dataset contains zero synthetic samples. Our stacking-ensemble classifier achieves 95.2% test accuracy (Wilson 95% CI 93.3- 96.6%), macro F1 0.950, and macro AUC 0.976 on a stratified GroupShuffleSplit device-level 80/20 split (n=648 test runs). Significance-tested gains over six internal baselines (Bonferroni-corrected alpha=0.0083) are reported. We contribute: (1) empirical MotionEvent characterization across 24 device models covering 4 major touch-controller silicon families with per-device distributional evidence; (2) a sub-90-second test design with three validated engineering details; (3) a per-region statistical model with internally calibrated asymmetry indices; (4) a stacking-ensemble ML classifier with rigorous cross-validation; (5) an end-to-end cryptographic attestation pipeline with buyer-nonce binding and hardware-backed attestation-root verification; and (6) a documented ethics protocol with preliminary accessibility cohort validation.
Keywords
touch controllers, behavioural inference, hardware attestation, mobile sensing, MotionEvent, second-hand smartphones, accessibility-aware sensing, real-device evaluation
References
[1] Suman Dey, Nibaran Roy, and Xiaoying Gao. A large-scale analysis of the security of embedded firmwares.
In Proceedings of the 27th USENIX Security Symposium, pages 95-110, 2018.
[2] Yang Wang and Xiangshi Ren. A study on multi-touch interaction techniques. In Proceedings of the SIGCHI
Conference on Human Factors in Computing Systems (CHI09), pages 1493-1496. ACM, 2009. doi:
10.1145/1518701.1518928.
[3] Jacob Cohen. A coefficient of agreement for nominal scales. Educational and Psychological Measurement,
20(1):37-46, 1960. doi: 10.1177/001316446002000104.
[4] Mary L. McHugh. Interrater reliability: the kappa statistic. Biochemia Medica, 22(3):276-282, 2012. doi:
10.11613/bm.2012.031.
[5] Leo Breiman. Bagging predictors. In Machine Learning, volume 24, pages 123-140, 1996. doi:
10.1007/BF00058655.
[6] Kai Ming Ting and Ian H. Witten. Stacked generalization: When does it work? In Proceedings of the 15th
International Joint Conference on Artificial Intelligence (IJCAI97), pages 866-871, 1997.
[7] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen,
Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. PyTorch: An imperative style, high-performance deep
learning library. In Advances in Neural Information Processing Systems (NeurIPS19), pages 8024-8035. Curran
Associates, Inc., 2019.
[8] Fabian Pedregosa, Gael Varoquaux, Alexandre Gramfort, et al. Scikit-learn: Machine learning in python.
Journal of Machine Learning Research, 12:2825-2830, 2011.
[9] Tianqi Chen and Carlos Guestrin. XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM
SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 785-794, 2016. doi:
10.1145/2939672.2939785.
[10] A. Lin and J. Chung. Applying population stability index (psi) to model monitoring in credit scoring.
Journal of Risk Management, 19(2):1-18, 2017.
[11] Anders Rundgren, Bret Jordan, and John Bradley. RFC 8785: JSON Canonicalization Scheme (JCS).
https://tools.ietf.org/html/rfc8785, 2020.
[12] John Brooke. SUS: A quick and dirty usability scale. Usability Evaluation in Industry, 189(194):4-7, 1996.
[13] Albert Ng, Julian Lepinski, Daniel Wigdor, Steven Sanders, and Paul Dietz. Designing for low-latency
direct-touch input. In Proceedings of the 25th Annual ACM Symposium on User Interface Software and
Technology (UIST12), pages 453-464. ACM, 2012. doi: 10.1145/2380116.2380174.
[14] Christian Holz and Patrick Baudisch. The generalized perceived input point model and how to double touch
accuracy by extracting fingerprints. In Proceedings of the SIGCHI Conference on Human Factors in Computing
Systems (CHI10), pages 581-590. ACM, 2010. doi: 10.1145/1753326.1753413.
[15] Niels Henze, Enrico Rukzio, and Susanne Boll. 100,000,000 taps: Analysis and improvement of touch
performance in the large. In Proceedings of the 13th International Conference on Human-Computer Interaction
with Mobile Devices and Services (MobileHCI11), pages 133-142. ACM, 2011. doi:
10.1145/2037373.2037395.
[16] Mario Frank, Ralf Biedert, Eugene Ma, Ivan Martinovic, and Dawn Song. Touchalytics: On the
applicability of touchscreen input as a behavioral biometric for continuous authentication. IEEE Transactions on
Information Forensics and Security, 8(1):136-148, 2013. doi: 10.1109/TIFS.2012.2225043.
[17] Daniel Buschek, Alexander De Luca, and Florian Alt. Improving accuracy, applicability and usability of
keystroke biometrics on mobile touchscreen devices. In Proceedings of the 33rd Annual ACM Conference on
Human Factors in Computing Systems (CHI15), pages 1393-1402. ACM, 2015. doi: 10.1145/2702123.2702252.
[18] J. Semanson and Renesas Electronics America. Touch controller anomaly detection. US Patent 11,163,402,
November 2021. Assignee: Renesas Electronics America, Inc.
[19] Google Android Developers. Verifying hardware-backed key pairs with key attestation.
https://developer.android.com/training/articles/security-key-attestation, 2024. Accessed: 2026-05-01.
[20] FIDO Alliance. Hardware-backed Keystore Authenticators (HKA) on Android 8.0 or Later Mobile
Devices. https://fidoalliance.org/white-papers/, June 2018. White paper, accessed 2026-05-01.
[21] David H. Wolpert. Stacked generalization. Neural Networks, 5(2):241-259, 1992. doi: 10.1016/S0893-
6080(05)80023-1.
In Proceedings of the 27th USENIX Security Symposium, pages 95-110, 2018.
[2] Yang Wang and Xiangshi Ren. A study on multi-touch interaction techniques. In Proceedings of the SIGCHI
Conference on Human Factors in Computing Systems (CHI09), pages 1493-1496. ACM, 2009. doi:
10.1145/1518701.1518928.
[3] Jacob Cohen. A coefficient of agreement for nominal scales. Educational and Psychological Measurement,
20(1):37-46, 1960. doi: 10.1177/001316446002000104.
[4] Mary L. McHugh. Interrater reliability: the kappa statistic. Biochemia Medica, 22(3):276-282, 2012. doi:
10.11613/bm.2012.031.
[5] Leo Breiman. Bagging predictors. In Machine Learning, volume 24, pages 123-140, 1996. doi:
10.1007/BF00058655.
[6] Kai Ming Ting and Ian H. Witten. Stacked generalization: When does it work? In Proceedings of the 15th
International Joint Conference on Artificial Intelligence (IJCAI97), pages 866-871, 1997.
[7] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen,
Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. PyTorch: An imperative style, high-performance deep
learning library. In Advances in Neural Information Processing Systems (NeurIPS19), pages 8024-8035. Curran
Associates, Inc., 2019.
[8] Fabian Pedregosa, Gael Varoquaux, Alexandre Gramfort, et al. Scikit-learn: Machine learning in python.
Journal of Machine Learning Research, 12:2825-2830, 2011.
[9] Tianqi Chen and Carlos Guestrin. XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM
SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 785-794, 2016. doi:
10.1145/2939672.2939785.
[10] A. Lin and J. Chung. Applying population stability index (psi) to model monitoring in credit scoring.
Journal of Risk Management, 19(2):1-18, 2017.
[11] Anders Rundgren, Bret Jordan, and John Bradley. RFC 8785: JSON Canonicalization Scheme (JCS).
https://tools.ietf.org/html/rfc8785, 2020.
[12] John Brooke. SUS: A quick and dirty usability scale. Usability Evaluation in Industry, 189(194):4-7, 1996.
[13] Albert Ng, Julian Lepinski, Daniel Wigdor, Steven Sanders, and Paul Dietz. Designing for low-latency
direct-touch input. In Proceedings of the 25th Annual ACM Symposium on User Interface Software and
Technology (UIST12), pages 453-464. ACM, 2012. doi: 10.1145/2380116.2380174.
[14] Christian Holz and Patrick Baudisch. The generalized perceived input point model and how to double touch
accuracy by extracting fingerprints. In Proceedings of the SIGCHI Conference on Human Factors in Computing
Systems (CHI10), pages 581-590. ACM, 2010. doi: 10.1145/1753326.1753413.
[15] Niels Henze, Enrico Rukzio, and Susanne Boll. 100,000,000 taps: Analysis and improvement of touch
performance in the large. In Proceedings of the 13th International Conference on Human-Computer Interaction
with Mobile Devices and Services (MobileHCI11), pages 133-142. ACM, 2011. doi:
10.1145/2037373.2037395.
[16] Mario Frank, Ralf Biedert, Eugene Ma, Ivan Martinovic, and Dawn Song. Touchalytics: On the
applicability of touchscreen input as a behavioral biometric for continuous authentication. IEEE Transactions on
Information Forensics and Security, 8(1):136-148, 2013. doi: 10.1109/TIFS.2012.2225043.
[17] Daniel Buschek, Alexander De Luca, and Florian Alt. Improving accuracy, applicability and usability of
keystroke biometrics on mobile touchscreen devices. In Proceedings of the 33rd Annual ACM Conference on
Human Factors in Computing Systems (CHI15), pages 1393-1402. ACM, 2015. doi: 10.1145/2702123.2702252.
[18] J. Semanson and Renesas Electronics America. Touch controller anomaly detection. US Patent 11,163,402,
November 2021. Assignee: Renesas Electronics America, Inc.
[19] Google Android Developers. Verifying hardware-backed key pairs with key attestation.
https://developer.android.com/training/articles/security-key-attestation, 2024. Accessed: 2026-05-01.
[20] FIDO Alliance. Hardware-backed Keystore Authenticators (HKA) on Android 8.0 or Later Mobile
Devices. https://fidoalliance.org/white-papers/, June 2018. White paper, accessed 2026-05-01.
[21] David H. Wolpert. Stacked generalization. Neural Networks, 5(2):241-259, 1992. doi: 10.1016/S0893-
6080(05)80023-1.