## 3 Chidroid Architecture
### AppOpsManager and Privilege Extraction
The goal is to decrease the CPU utilisation requirements and optimise the resource utilisation of Chidroid. * Compatibility: While there is potential to extend the Chidroid system to support iOS devices, the current focus will remain solely on Android devices. This is due to the greater opportunity for researching and addressing security and privacy challenges on the open Android platform, as opposed to the closed architecture of iOS. In general, there are many opportunities to extend and improve the Chidroid tool to make it an even more powerful and effective tool to track the performance, security, and privacy of Android devices in the smart healthcare and IoMT domains. Conceptualisation, S.K. and L.L.R. ; methodology, S.K. ; software, L.L.R. ; validation, S.K. and L.L.R. ; formal analysis, L.L.R. ; writing--original draft preparation, S.K. ; writing--review and editing, L.L.R., E.M., C.N. and L.M.C. ; supervision, E.M. and L.M.C. All authors have read and agreed to the published version of the manuscript. This work was funded by European Union's Horizon 2020 Research and Innovation Programmes under Grant Agreement No. 883273 (AI4 HEALTHSEC) and No. 101007273 (DAIS). Not applicable. The authors would like to acknowledge the support and funding provided by the AI4 HEALTHSEC and DAIS projects. These projects have played a crucial role in the development and execution of the research presented in this paper. We are grateful for the opportunity to collaborate with the esteemed members of these projects and for the resources provided to us throughout the course of our research. The authors declare no conflict of interest. The following abbreviations are used in this manuscript: \begin{tabular}{l l} ADB & Android Debug Bridge \\ ARM architecture & Advanced RISC Machine architecture \\ API & Application programming interface \\ AI & Artificial intelligence \\ APK & Android Package Kit \\ ARM & Advanced RISC Machine \\ BMD & Bi-level malware detection \\ CPU & Control processing unit \\ CLI & Command0 Line Interface \\ DoS & Denial of service \\ HIDS & Host intrusion detection system \\ HIPAA & Health Insurance Portability and Accountability Act \\ IoMT & Internet of Medical Things \\ IoT & Internet of Things \\ MCG & Method call graph \\ mHealth & mobile Health \\ PHI & Personal health information \\ RAM & Random access memory \\ TOML & Tom's Obvious Minimal Language \\ \end{tabular} 

## References

* [PERSON] et al. (2022) [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON]; et al. Internet of things beyond the hype: Research, innovation and deployment. In _Building the Hyperconnected Society-Internet of Things Research and Innovation Value Chains, Ecosystems and Markets_; River Publishers: New York, NY, USA, 2022; pp. 15-118. [CrossRef]
* [PERSON] (2020) [PERSON]; [PERSON] [PERSON] A comprehensive analysis of the android permissions system. _IEEE Access_**2020**, \(8\), 216671-216688. [CrossRef]
* [PERSON] et al. (2019) [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] Android application development: A brief overview of android platforms and evolution of security systems. In Proceedings of the 2019 Third International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud)(I-SMAC), Palladam, India, 12-14 December 2019; pp. 73-79. [CrossRef]
* [PERSON] and [PERSON] (2021) [PERSON]; [PERSON] [PERSON] Comparative analysis of Android and iOS from security viewpoint. _Comput. Sci. Rev._**2021**, _40_, 100372. [CrossRef]* [PERSON] et al. (2014) [PERSON]; [PERSON]; [PERSON]; [PERSON] Security concerns in Android mHealth apps. _AMIA Annu. Symp. Proc._**2014**, _2014_, 645. [PubMed]
* [PERSON] et al. (2021) [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] [PERSON]; [PERSON] Implementation of App-Based Diabetes Medication Management: Outpatient and Perioperative Clinical Decision Support. _Curr. Diabetes Rep._**2021**, _21_, 50.