I just bought a OnePlus 3T. I like the OxygenOS, but I wish I had the ability to preform USB HID Attacks and use
apt-get on OxygenOS if I don't want to install Nethunter. Is this possible?
Try Termux, a free application which allows you to access
apt-get and many other Unix commands right on your smartphone.
You can also install the
termux-sudo plugin, which allows you to run commands with root access.