Originally Posted by magnafunk View Post
Apologies if this has been asked before, I have searched but it is quite a vague thing to search for.
I am wondering if there is a way to use the camera button from sleep the same way as stock Sony rom. That is, I'd like to be able to long hold the camera button from a sleep state and have the phone unlock and launch the camera. I currently am on paranoid but am happy to use any aosp type rom to achieve this, or ideally is there an xposed module that does this?
Install xperia additions as an xposed module. You can remap buttons that way. Not sure if it will launch the camera as well, but I use it to wake my phone.

How to get root on Xperia Z1 with KitKat 4.4.2, 4.4.3 & 4.4.4

If you are unsure, then read this.
If you are still unsure, watch this.

My contributions.
If I have seen further it is by standing on the shoulders of giants. Sir Isaac Newton

[X10] | [NEO] | [Xperia T/TX] |
[Xperia Z1]
You are free to share my work, but please provide the correct credits and a link to my original thread.