Despite being one of the signature features of the Google Pixel 4, Motion Sense has many, many limitations. Even if you live in one of the regions where Motion Sense is allowed, only certain apps and games can use the gestures. Thankfully, on rooted a Pixel 4, you can now connect Motion Sense to Tasker, creating nearly infinite possibilities.
Under the hood, we’ve found there are two ways that Motion Sense gestures can work. The first is that the Motion Sense app itself can recognize certain gestures and directly handle them, which is how skipping tracks and silencing alarms works.
The second way, and the one we’re more interested in, is that certain very specific apps can connect to a “Motion Sense Bridge” app to receive information about incoming gestures and handle them accordingly. This is how games like Pokémon Wave Hello and Headed South work, but unfortunately, Google has stated that they have no plans to open this Motion Sense Bridge to more developers.
As you might expect though, this sort of arbitrary limitation won’t stop those with rooted phones. Ashergray, via XDA-Developers, has created a modified version of the Motion Sense Bridge app as a Magisk mod for rooted Pixel 4 devices, which allows any app to have access to the gesture data, including Tasker. For the uninitiated, Tasker is a handy app that allows you to automate almost anything on your Android phone based on nearly any trigger.
Once you’ve set up the modded Motion Sense Bridge, you can use the included app “OsloBridger” to select the types of gestures you want to transmit and calibrate them to be more or less sensitive.
With that done, you’re all set to connect Tasker to your now-public Motion Sense gestures. Simply tell Tasker to use one of the four intents from OsloBridger as a trigger for whatever action you think fits.
Keep in mind, though, that the default Motion Sense gestures, like skipping tracks and ignoring phone calls, will continue to work exactly as they had before, as they do not use the bridge app at all. Because of this, you may wish to disable Motion Sense gestures in Settings app, under System, then Motion Sense.
FTC: We use income earning auto affiliate links. More.