A lot of people have been asking for this.
I did this in virtualbox with Ubuntu 18.04.

This is only for Android 9.0 Amlogic Images.
Happy modding 🙂

source