If you want to collect a lot of energy and plant trees in alipay Ant Forest, make a contribution to the green environment
Or maybe they want to dominate wechat sports every day, but they don’t want to go out and walk
As shown above, it’s actually quite simple to implement in Python
If you don’t know how to execute scripts, it doesn’t matter, the software on your computer will always work
SO! I’ve packaged the software for you to run on your computer
Before the general modification of the movement of the method is to you root mobile phone or use the Xposed module to modify the movement of the number of steps
Today’s tips are not only for Android, but also for IOS…
And the phone does not need root, do not need jailbreak, just two steps!!
- Download the installer
- Run a Python script or program
The installation
Download and install the Mi Sports APP in the APP Center
Sign up with your mobile number and set a login password,
Note: This account is not a Xiaomi account
After registration and login, open third-party synchronization in the third-party access (including wechat campaign, Alipay campaign, need to follow their public accounts to bind your wechat).
Python modifies the number of steps
With that done, it’s time to use Python to change the number of steps
To simulate an increase in the number of steps a person takes, the script only modifies your steps between 8 and 22 o ‘clock
At the same time, increase the number of steps every 5 minutes at random so that it doesn’t seem too jarring
if 8 <= hour <= 22:
random_step = random.randint(a, b)
print(F "the current time is{datetime.now()}, increase the number of steps{random_step}")
step += random_step
if step >= 98800:
print("You have reached your maximum number of steps, don't be greedy ~~")
break
Copy the code
Of course, the range of randomly increasing steps is also two variables
As you run the program, it will ask you to enter Settings
Since the maximum number of movement steps in wechat is 98800 (it used to be like this, but NOW I don’t know if there is such a limit)
So if you reach the maximum number of steps, the program automatically exits.
Comparison diagram of partial results after brushing steps:
Screenshots of variables set freely after the program runs
I’ve packaged the brush step program into software that runs directly on my computer!
Step number retrieval software in the background of the public account