How to deactivate the camera button

This method will completely disable the camera button. You’ll need a rooted phone with Xposed framework installed.

Install the Xposed module Physical Button Music Control (PBMC), enable, reboot, open the module and say ‘no thanks’ when it offers to create a bunch of default chains on first launch.

  1. Tap the ‘+’ icon
  2. Tap ‘Advanced chain’.
  3. Give it a name, any name.
  4. Tap ‘Add key’
  5. Tap CHANGE and press the camera key.
  6. Check the box marked ‘Pressed’.
  7. Delay will be at 0ms, no need to change this.
  8. Tap OK.
  9. Slide “Vibration” to 0ms.
  10. Tap the bar marked “SCREEN OFF”
  11. Check the box marked “SCREEN ON”
  12. Tap OK.
  13. Make sure the very bottom option, “Cancel original key functions”, is checked.
  14. Tap the floppy disk icon to save settings.
  15. It should work immediately, so give it a try.