This will require a few steps to get the tuya-convert working with virtual box environment with this particular wireless adapter as the built in driver does not support the AP mode required.
- Download Kali 2018.4 install in virtualbox on a virtual drive
- add a usb device filter for your usb wifi stick
- reboot
- apt-get install git, build-essentials
- git clone https://github.com/clnhub/rtl8192eu-linux
- read the docs above
- install the latest linux kernel and headers
- apt-get install linux-image-5.2 for exmaple
- then..
sudo apt -y install linux-headers-generic build-essential dkms git
in the rl8192eu directory:
./install_wifi.sh
- reboot
- git clone https://github.com/ct-Open-Source/tuya-convert
- read the docs
- in tuya-convert
- then you'll probably need to disable the rfkill
- rfkill unblock all
- and enable the wifi
- nmcli nm wifi on
- then ./start_flash.sh
- follow the remaining instructions... should be cooking