Skip to main content
1 of 3
Irfan Latif
  • 21.2k
  • 3
  • 74
  • 225

How to identify the app/process which re-mounts partitions R/W, creates files and changes file permssions?

I have a rooted device, with superuser rights granted to a few apps I trust. I have often found my /system or /vendor partition mounted read/write, and some files chmoded to 0777. Similarly directories/files with random names are created/deleted (e.g. /sdcard/.a03Degpoif), .nomedia files are created inside them to hide their contents from gallery etc.

logcat/dmesg contains no traces of all this happening in background. This doesn't happen periodically but in a slapdash way, internet connectivity isn't a condition either. I have tried disabling/uninstalling apps, looking for any suspicious processes running, but couldn't identify the culprit(s).

Is there a way to figure out who is doing this?

Irfan Latif
  • 21.2k
  • 3
  • 74
  • 225