Is it possible to use Root Visual Studio Emulator Android?

I am currently using "Visual Studio Emulator for Android" to run Android applications on my computer, I find that after using several types of emulators bluestacks, genymotion, andy etc. This VS is the most stable and easiest to use of them all.

The only problem that I compare myself with other emulators is to run applications that require root privileges, and this is an emulator that I know that it cannot go the rooting path through fastboot / recovery, this is the only method I know about how to root, as I usually do on my phone.

I tried most of the "rooting" APKs (kingo, towel, frama, etc.) and none of them worked.

So does anyone know how I can get root access to the Visual Studio Android emulator?

I am trying to run a touch-replication application (Frep and RepetiTouch), but all of them seem to require root access.

Any advice would be highly appreciated. Thanks

+6
source share
1 answer

Yes, you can. Below are some basics before the steps. In fact, all Visual Studio emulators have root access; if you run adb shell you will get a root prompt. The only thing missing is the su binary and access for applications to connect to the root shell through su . You can get the su binary from the apk superuser using clockworkmod and access the root shell via su daemon .

su installation binary

  • Download root apk from clockworkmod . The ideal way is to download the application from the google play store and go to /data/app/ and copy com.koushikdutta.superuser to your computer via adb pull /data/app/com.koushikdutta.superuser <local_path_in_your_system>
  • Change the extension .apk to .zip.
  • Go to assets / x86 / and copy the su binary to / system / xbin into your emulator

     adb push <location_of_su> /system/xbin 
  • chmod with suid and rwx

      adb shell chmod 6777 /system/xbin/su 
  • symbolic link to / system / bin

      ln -s /system/xbin/su /system/bin/su 
  • Run su daemon

     /system/xbin/su --daemon 

Providing access to applications through su

  • Install the superuser binary by dragging it to the emulator or using adb install <path_to_superuser_apk>
  • Download rootchecker for free \ basic or even a terminal emulator for this thing. We just want to check if our device is rooted.
  • Launch the rootchecker application to check root, and you can get help from the superuser.
+2
source

All Articles