2

I am trying to get root access to the Android Emulator running Android 7.0. I found a nice description at the end of this thread: https://stackoverflow.com/questions/5095234/how-to-get-root-access-on-android-emulator However it doesn't work.

adb root does not give me root access.

The following adb remount returns: Not running as root. Try "adb root" first.

Help is appreciated!

Thank you!

2 Answers 2

1

The issue is because you are using an adb server version not matching​ the emulator version (client). In other words the adb version on your system is different from the adb version on the android sdk platform-tools.

So try this:

  • Navigate to the platform tools folder (%USERPROFILE%\AppData\Android\Android-sdk\Platform tools\)

  • Open command-prompt (or teminal) by right click + shift

  • Disconnect any USB cables and close other instances of emulator devices.

  • Now try adb devices and make sure it lists the emulator device and is not blank.

Note: If this fails first run adb kill-server

0

You can install Genymotion emulator and install Marshmallow or N, then you can have root access in default.

3
  • I know but Genymotion is not free.
    – CT900User
    Aug 8, 2017 at 11:16
  • I also tried Nox which is rooted by default. It works very well for a while on the computer on which it has to run (runs under Windows XP and that ca not be changed) but unfortunately it freezes after a while (~ 1 to 2 hrs).
    – CT900User
    Aug 8, 2017 at 11:20
  • Genymotion is free for personal use but I don't know about the nox. Aug 8, 2017 at 12:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .