Search code examples
androidrooted-device

How to test If Android apk runs in rooted device


An Infosec team wanted to know if our app was executable on rooted Android devices. We developed a solution for it and now want to test our app. Are we able to replicate rooted devices online? If not, can anyone provide other ways to test our app?

Thanks in advance!


Solution

  • I think the best idea is to use the rooted/ rootable android emulator. Here are few android emulators that you can download for windows pc.

    Links for rootable emulators

    If you want to use the emulator provided by the android studio then i think you would have to create a new android emulator with API 22 (LOLLIPOP) or above using android studio and try rooting it with help of Kingroot app. This app helps you to root your device by directly installing on your device like an normal application. This solution must work as it works on normal real devices. I have myself tried on the real devices but not on android emulator.

    Hope this solves your query