All I find is suggestions from a few years ago, so probably outdated or maybe there appeared some better tools in the meantime, there are some apps in the play store but I need something good privacy wise, no training demon, also small battery life impact would be nice
For your unfamiliar with moto gestures I’m talking about are chop for flashlight and twist for camera, they work irrespective of app you’re in or screen being on/off
Also changing songs with volume buttons was nice
You can do it with Tasker. I’ve used it in the past to run tasks when the phone is shaken or flipped. They’re under sensor events. Shake has its own event, for something like flip you have to use a generic “Gesture” and show it the move you want.