Closed david-s-svedberg closed 1 month ago
@scottyab Hi there, faced the same issue, all standard android studio emulators detect as rooted. Is this an expected behavior?
Emulators are usually rooted so I think this is probably expected behaviour.
Sorry for the slow reply. This is working as expected but we should include a FAQ note about emlators to confirm this.
Emulators are usually rooted so I think this is probably expected behaviour.
I'm not sure it's correct to say emulators are usually rooted. However they are debuggable and this system property 'ro.debuggable' is classed as a dangerous property so it's flagged as an indication of root. dangerous maybe a little OTT but it's certainly not something expected on a genuine device.
Hi, using a fresh copy of the standard nexus 7 emulator in avd and your sample app it gets flagged as rooted:
I've tested it with android 7.0, 7.11, 8.0 with the same result.
Android 12 also claims to be rooted but with a different result:
even though the su file is there in system/xbin/:
Log for 7-8:
Logs for 12: