Here is the tutorial how to connect Huawei device over wifi using adb.
- Device’s name and ip
- My target’s name: EHT0220B19001804
- My target’s ip: 192.168.0.249
- Enabled USB Debugging and checked Allow ADB debugging in charge only mode.
Then we call:
> adb devices List of devices attached EHT0220B19001804 device << TARGET 192.168.0.38:5555 device > adb -s EHT0220B19001804 tcpip 5555 > adb connect 192.168.0.249:5555 > adb -s 192.168.0.249:5555 shell
Now you can safely disconnect the cable and try write down the command:
adb -s 192.168.0.249:5555 shell
If you will see something like this below it means it works!