Start an emulator with root privileges. Currently only available for Windows.
Operation:
ravd.bat [ANDROID_SDK_LOCATION] [AVD_NAME]
Based on the work done by https://android.stackexchange.com/users/209414/xavier-fakerat explained here: https://android.stackexchange.com/questions/180468/android-emulator-how-to-avoid-boot-loop-after-rooting/180516#180516