Rooting Android Emulator Cheat Sheet

emulator -list-avds
~/Library/Android/sdk/emulator/emulator -avd <AVDNAME> -writable-system

# DOWNLOAD SUPERSU
# https://supersuroot.org/download/

adb root
adb remount
adb push UPDATE-SuperSU-v2.82-20170528234214/<x86|x64|...>/su /system/xbin/su
adb shell chmod 0755 /system/xbin/su
adb shell setenforce 0

Last updated