====== All Methods: brief info ====== === Method 1 : USB tethering + ADB === * Phones enable ADB and are connected to the Linux PC with USB tethering. * The PC forwards proxy ports to a VPS. * Proxy users connect to the VPS. * PRO: no extra Apps are installed on the phone, very simple to setup * PRO: a phone can be controlled even if its MobileData goes off * CON: not all phones models are supported * CON: a lot of wires; * CON: USB tethering may switch off * CON: expensive USB hubs ====== General Info ====== * No Android Root is needed. But it's nice to have it. --------------------------- ====== Method 1 : USB tethering + ADB====== === Brief info of the method: === * Phones enable ADB and are connected to the Linux PC with USB tethering. * The PC forwards proxy ports to a VPS. * Proxy users connect to the VPS. * PRO: no extra Apps are installed on the phone, very simple to setup * PRO: a phone can be controlled even if its MobileData goes off * CON: not all phones models are supported * CON: a lot of wires; * CON: USB tethering may switch off * CON: expensive USB hubs === Prepare the Proxysmart server:=== * Install Proxysmart on the local PC * in the WebApp -> Settings -> set ''ADB_PHONES'' = On * run ''proxysmart.sh reset_complete'' or click ''Reset Complete'' in the WebApp or reboot the Proxysmart server === Prepare a phone: === * 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. === Post Steps === * Reboot the phone * After start-up (1-2 minute later) USB tethering will be enabled * Plug in the Proxysmart server with USB data cable * When a popup box appears on the phone, 'Allow USB debugging from this computer?', answer YES * Wait until the phone appears in the WebApp of the Proxysmart server