1. Now install the python environment on the computer (you can Baidu yourself)
2. Install python virtual environment pip3 install virtualenv
3. Create a virtual environment virtualenv venv -p python
4. Find the script folder in the installed virtual environment
5. Decompress the following auto compression package and put it under script
6. Connect the mobile phone with a data cable, the mobile phone must open the developer mode, and open the usb debugging
7. Configure the adb environment on the computer
Eight, adb devices can view connected devices
Nine, check the IP address of the mobile phone, usually you will find the IP address in [Settings] - [About Phone] - [Status Information]
10. adb tcpip 8888 (set the port number to 8888) (adb connect 192.168.2.100 if the target computer actively refuses to execute)
Eleven, adb connect 10.67.161.8:8888
12. Press shift in the script folder and right-click to open cmd
Thirteen, execute python ./auto/run.py -s 46e2d80b (device in adb devices)
Fourteen, config.json in auto/config is some parameters that can be modified
Fifteen In order to simplify the startup steps, you can write a bat script, put it on the desktop, and double-click to start it. The content is as follows
@echo off
echo '---------------add wechat friends----------------'
cd C:\Users\Administrator\venv\Scripts
adb devices
adb connect 192.168.0.100:8888
python ./auto/run.py -s 46e2d80b
pause
16. How to add friends Put a txt file with one line and one phone number in the data folder in auto, and set the file name in config.json in config
The network disk address of auto and adb: extraction code k72a
https://pan.baidu.com/s/10LbYoKYmj9mtQegqnuGh-Q
If you have any questions, you can add WeChat yxc19921115