How do apps check for the existence of files and folders on /data and /system partitions without having root privileges? I know some games and apps do this for anticheat and security reasons.
Asked
Active
Viewed 155 times
/data/data/
without root. Discretionary Access Control doesn't allow different UIDs (apps) to access each other's data. See this, this and this how Android's app sandboxing works. – Irfan Latif Aug 30 '21 at 18:21/data/data/com.xyz
. But it's not possible to read its contents. – Irfan Latif Aug 30 '21 at 18:28