## 3 Chidroid Architecture
### AppOpsManager and Privilege Extraction
For example, one of the log messages indicates that the device has established a network connection to the IP address 213.63.130.243 on port 443 using the TCP protocol. The connection is currently in the \"SYN_SENT\" state, which indicates that the device has sent a synchronisation request, but has not yet received a response. Each log message includes a timestamp indicating the date and time the message was generated. The messages include fields such as the CPU core ID, the number of CPU cores, the CPU flags, the CPU speed, and the CPU vendor ID. Other log messages provide information about device memory usage, load average, network traffic, and network connections:

* CPU usage: This metric indicates the percentage of CPU currently being used by the device. High CPU usage can indicate that the device is under heavy load and may be experiencing performance issues. * Memory usage: This metric indicates the amount of memory the device uses. High memory usage can indicate that the device is running low on memory and may be experiencing performance issues. * Battery status: This metric indicates the device's current battery level and charging status. A low battery level can indicate that the device may need to be charged more often or consumes a large amount of power. * Network usage: This metric indicates the amount of data currently being transferred over the network by the device. High network usage can indicate that the device is transmitting or receiving a large amount of data, which can affect performance and battery life. Overall, these log messages provide a snapshot of the device's performance and configuration, which can be useful for troubleshooting issues and monitoring the device's health. By tracking and analysing these metrics, it is possible to monitor the performance and overall status of an Android device. For example, if the device has high CPU usage and a low battery level, it may be experiencing performance issues and may need to be charged. Similarly, if memory usage is high, it could indicate that the device is running low on memory or that a specific software package consumes a large amount of memory. Regularly checking system metrics makes it possible to identify and address potential performance and security issues on the device. Monitoring the system metrics makes it possible to identify and address potential problems and ensure that the device runs smoothly and securely. ## 5 Conclusions

This research paper presented Chidroid, an innovative mobile Android application for collecting and distributing logs from smart healthcare and IoMT devices. With this cutting-edge tool, healthcare professionals and IT administrators can easily gather critical log data from a wide range of medical devices, including wearable fitness trackers and remote monitoring systems. The intuitive interface allows users to view, filter, and analyse log data in real-time, enabling them to quickly identify and address any potential security issues or performance problems. Additionally, the application's compatibility for distributing data to cloud-based architectures allows for the easy distribution of logs to multiple stakeholders, ensuring that everyone has access to vital information. This way, it is possible to transform how healthcare and IoMT devices are managed. It is important to note that future applications that utilise the collected log data may necessitate the sanitisation and anonymisation of the logs to address privacy concerns. Chidroid includes such functionalities, which are not finalised and were not explained in the context of this research paper. Considering that, this research paper assumed that the edge devices involved in log collection and analysis are secured by implementing appropriate security protocols. Chidroid enables a novel Android security system that can serve as a universal policy-based tool to examine and find security issues in most Android versions by distributing logs for analysis.