I am currently using 'Visual Studio Emulator for Android' to run android apps on my computer, i find that after using multiple types of emulators bluestacks, genymotion, andy etc. That VS is the most stable and easy-to-use out of them all.
The only problem that i have compared to the other emulators is running apps that require root permission, with this being an emulator i know that its not possible to go the route of rooting via fastboot/recovery, this is the only method i know of rooting as thats how i normally do it on my phone.
I have tried most of the 'rooting' APK's (kingo,towel,frama etc) and none of those have worked.
So would anybody happen to know how i can get root access on Visual Studio Android Emulator?
I am trying to run a touch-replication app (Frep & RepetiTouch) but all of them seem to require root access.
Any advice would be much appreciated. Thanks
Best Answer
Yes, you can. Here are some basics before the steps. Fundamentally all Visual Studio Emulator has root access; if you do
adb shell
you will get a root prompt. The only thing that is missing is thesu
binary and access for applications to connect to root shell throughsu
. You can get thesu
binary from superuser apk from clockworkmod and the access to the root shell through thesu daemon
.Installing
su
binary/data/app/
and copy com.koushikdutta.superuser to your pc throughadb pull /data/app/com.koushikdutta.superuser <local_path_in_your_system>
Navigate to assets/x86/ and copy the
su
binary to /system/xbin in your emulatorchmod with suid and rwx
symlink to /system/bin
Run the su daemon
Giving Access to Applications through
su
adb install <path_to_superuser_apk>