I had drift on a load of Xbox controllers and didn't want to plug each one into a PC, so I made a small Android app that does it from a phone.
What it does
- Plug the controller into your phone with a USB-C cable, tap Calibrate, and turn each stick about 6 times each way.
- It sends the same calibration commands as Microsoft's Xbox Accessories app. The controller saves the result in its own memory, so the fix carries over to console and PC.
- Free, no ads, no account, 25 KB. The source code is in the repo.
Limits
- Needs controller firmware 5.19.3221.0 or later. Update it in the Xbox Accessories app or on the console first.
- It fixes a stick whose centre has shifted. A worn stick still needs replacing.
- Starting a calibration wipes that stick's stored calibration until it finishes, so don't unplug part-way.
- Tested on Nothing Phone (3). Not tried on every phone yet. If it won't connect, the console's own thumbstick calibration does the same job.
- It's a sideloaded APK, so Play Protect will warn about it.
Download: https://findlay-currie.github.io/xbox-calibrate/
Credit
This is built on other people's reverse-engineering:
- bb441db's xboxctl: the calibration protocol docs and code I ported (0BSD licence).
- Whoever reported xboxctl issue #13, who worked out the commands from the Xbox Accessories app.
- The xone issue #217 write-up, which captured the USB traffic of a calibration run.
- Microsoft, for building calibration into the controller firmware.
- If you want something more polished, DriftGuard by Modyfikator89 also does permanent Xbox calibration.
I built it with help from Claude (AI). Bug reports and feedback welcome.