How to connect an Android phone to PC for internet via USB I need to share the internet connection of the PC with the smartphone, using a USB cable, is it possible to do that?

My router has some problems and the WiFi doesn't work. But on my computer, the internet works.

My phone is a Honor 7s

The Android version is 8.1.0
Yes, it is possible, but you need to root your device.

The Android kernel supports it, simply there is no option to do that in the GUI.

There are also apps to do it, but all of them requires root privilege.

The other direction (sharing your wifi or mobile network for a computer connected with usb) works seamlessly.