For those who might be looking for a solution to get the wifi adapter tp-link archer T2U working.
After spending some hours on internet looking for a fix, i finally managed to get ot working on both ubuntu and manjaro
Ubuntu:
sudo apt install git dkms
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
sudo ./dkms-install.sh
Manjaro for rpi4:
i had to install dkms first:
sudo pacman -S dkms
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
sudo ./dkms-install.sh
This works with the latest versions of ubuntu and manjaro on pi4
