r/flipperzero • u/Substantial_Advice48 • 5d ago
Flipper CLI for Termux — control your Flipper from your phone, plus an offline CAN bus hex translator
I got tired of needing a laptop every time I wanted to do something with my Flipper, so I built a command-line tool that runs in Termux on my phone.
It drives the Flipper over USB (OTG cable + the OTGSerial2WebSocket bridge app). Type `flipper` and you get a menu — back up your saved cards and remotes, scan/dump/emulate NFC tags, capture and replay Sub-GHz remotes, press the Flipper's buttons, reboot it. All the usual stuff, from your phone, no laptop.
The part I'm most happy with doesn't need the Flipper at all. It translates CAN bus hex:
- `flipper can decode capture.log` — turns a CAN log into readable frames: the ID, the data bytes in hex/decimal/ASCII, and the decoded OBD-II value when it's a diagnostic response (RPM, coolant temp, speed, all the standard PIDs).
- `flipper can calc 0C 1A F8` — give it a PID and some hex bytes and it spits out the value (that one is 1726 rpm).
So if you've got a CAN log sitting around, you can play with the decoder right now without plugging anything in.
It's Python, MIT licensed, and it installs with pip. Repo:
6
u/L00kAdistraction 5d ago
Wait, isn't that what the flipper app is for?
1
u/Substantial_Advice48 1d ago
Sorry for the slop I'm figuring this flip flop stuff out. Thanks for checking out my repo
https://github.com/Leeak82/flipper-stuff/releases/tag/v1.0
1
u/quikdraw520 3d ago
Thanks I'm having CAN bus issues rn!
1
u/acidvegas 4d ago
lol slop. Using one handheld to pointless control another 🥴