Uninstall Macrodroid, Termux, Termux:Api, Termux:Boot (if they were installed)
Remove Screen Lock
Enable Developers settings
Settings - Battery - select “performance” profile , disable battery savers.
Set default
DNS. (Unset Private
DNS). Settings - Connection and Sharing - Private
DNS - set OFF.
Connect the phone to the Mobile Network
Disconnect from Wifi and forget all saved WIFI networks
Connect with USB cable to the PC with Proxysmart
Enable USB tethering (USB hotspot)
In Developer settings: set Default USB mode: Tethering.
In Developer settings: 1. Enable USB debugging. 2. Disable ADB authorization timeout. 3. USB debugging, allow security settings: set ON.