The question is how you can bypass your phone’s WiFi and connect your phone to the Internet via your PC, that is using the USB cable.
It is possible, and it is called reverse Tethering, as opposed to using your phone’s WiFi internet to obtain internet connection for you PC (which is then called normal tethering).
This instruction should work for any phone with Android operating system, but specifically I managed to do it for my Xiaomi Redmi 4X phone.
The reason why this was important in my case is the fact that their official MiPCSuite, which should be used for connecting to the Internet among other things, wouldn’t work with their new Redmi Phones and with my Redmi 4X as well. Their last update is dated 03.07.2015. That means that all newer phones with newer operating systems won’t be able to use Mi PC Suite.
So here we go:
- If you haven’t done so, you have to switch on USB debugging. Navigate to Settings —> About Home. Find MIUI version field. Touch it 7 times in a row. This will enable Developer Options.
- Go to Settings —> Additional Settings —> Developer Options —> USB debugging and enable it.
- Install Reverse Tethering Server from this page by downloading the Windows Zip file. (Note that your computer should have at least Java Runtime Environment 1.7 installed, which on my Windows 7 was already there.) In fact, when you download the Server, there is nothing to install, just unzip the file and start the exe file called in the current version ReverseTetheringServer_1.1.2.exe. When you start the server nothing will happen, no visual confirmation, except the fact that the server is active and will accept connections from your phone.
- On your phone, install the ReverseTethering NoRoot app. One usually uses Google Play to do that.
- Plug your phone with the USB cable. Start the app and connect to the server.
- That’s it. You can now use the newly established internet connection.