Not yet tested by us

How to remap the shutter button on Sony Xperia phones

Many Xperia phones have a physical camera shutter button. Pressed and held, it opens the Camera app. KeySnap may be able to give it shortcuts of its own. We have not tested it on an Xperia phone yet.

Get KeySnap on Google PlayJump to the steps

What the shutter button does by default

Sony’s help guide for the Xperia 1 VII lists a camera setting named Launch with shutter button, with Launch Camera app and Off (Sony Help Guide, Xperia 1 VII, “Additional camera settings”). With it on, pressing and holding the shutter button opens the Camera app. Sony suggests turning it off to stop the camera from opening by accident.

How to remap the shutter button with KeySnap

  1. Install KeySnap and finish the setup on HomeOpen KeySnap and follow the setup steps on Home. They start with turning on the Accessibility service, which is how Android lets an app notice a hardware key.
    KeySnap setup, step 1 of 2: Turn on Accessibility, with what the service can and cannot do.
    Setup step 1: the Accessibility service.
  2. Stop the shutter button from opening the cameraOpen the Camera app’s settings and set Launch with shutter button to Off. The name and place of the setting can differ between Xperia models. Otherwise holding the button opens the camera as well as running your shortcut.
  3. Turn on Advanced ModeAndroid may hide the shutter button from normal apps, so you may need Advanced Mode. In KeySnap, tap the gear at the top right, open Setup tools and turn on Read all hardware keys. The Turn on Advanced Mode wizard pairs with your phone’s own Wireless Debugging. It needs Wi-Fi and Developer options, and does not need root.
    KeySnap Turn on Advanced Mode wizard showing Automatic ADB pairing connected and Advanced Mode is running.
    Advanced Mode running after setup.
  4. Create the shortcut and detect the shutter buttonTap + at the bottom of the screen. Next to Press, tap a key, then Record a key, and press the shutter button. Its name replaces a key. If nothing is recorded, KeySnap does not see the key on your phone yet. Check that Advanced Mode is running, then try again.
    KeySnap Choose a key sheet showing Listening, tap to stop, with a saved Volume Down key below.
    Listening for a key. Saved keys appear below.
  5. Pick a press patternTap Single press to switch to Double press or Long press.
    KeySnap editor with Press Volume Down and the press menu open: Single press, Double press, Long press.
    Tap the press pattern to change it.
  6. Choose what it doesUnder Do, tap Add action, search or pick a category, and tap + next to an action such as Toggle flashlight. Tap Save shortcut, then press the shutter button to try it. You can add another shortcut with a different press pattern on the same key.
    Finished KeySnap shortcut: Press Volume Down, Double press, Only if Always runs, Do Toggle flashlight, and Save shortcut.
    A finished shortcut, ready to save.

Limits to know about

Support varies by phone and Android version, and only keys that KeySnap detects can be remapped.

  • KeySnap can only use a key it detects. If the shutter button does not register when you record it, KeySnap cannot remap it on your phone.
  • If Launch with shutter button is still on, holding the button may open the camera as well as running your shortcut.
  • We have not tested KeySnap on an Xperia phone, so we cannot say which press patterns work on it. The Sony help guide above is not our own testing.
  • Advanced Mode needs Wi-Fi and Developer options for setup. After you restart the phone, open KeySnap again to bring it back.

Other phones and keys

See the overview of special keys for how detection works, or read the guide for another key:

Try the shutter button with KeySnap.

KeySnap is free to install from Google Play. It offers in-app purchases.

Get KeySnap on Google PlayAll special keys

KeySnap is an independent app by Arda Şen. It is not affiliated with, endorsed by or sponsored by Sony. Product names are used only to say which phones and keys this guide is about.