[Q] Camera button aosp - Xperia Z1 Q&A, Help & Troubleshooting

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?
Thanks

magnafunk said:
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?
Thanks
Click to expand...
Click to collapse
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.

Related

[Q] Remapping camera button - anything goes.

Hi guys,
I am looking for a reliable way to remap the camera button. The end result should be like on stock ROM, but with a camera app of my choosing. Meaning, i press the camera button when the screen is off or the phone is locked, and a camera app pops up immediately.
I got pretty close with Tasker, but it's still not there - I need to manually unlock the phone.
My device is rooted, my bootloader is unlocked, I already flashed a ROM trying to solve this (Omni) and I don't mind flashing anything else to try and fix this. So, open to any suggestions -- apps, tasker profiles, ROMs, config changes, you name it.
I already tried the Additional Actions xposed module but that doesn't work either.
Any ideas? There has to be some way to do this... It's just a button.

How to disable the physical home button?

Details of the device
I'm using the latest CM11 version from Novafusion.
Problem and steps I've taken
Currently I've got a problem where the home button intermittently activates on its own (but only long-presses, so if I disable long-press in the OS, it'll be fine for normal operation), without any interference. The side effect (which is my main issue) of this is that it means my phone's screen effectively turns on by itself 24/7, which is obviously bad for many, many reasons.
I'm asking whether there's anyway I can disable the home button? I've tried Android-HomeKey-Locker (can't link it, but the Google Play version of the thing on GitHub) but it hasn't done anything.
I'm aware I can turn on the software buttons, but they don't deactivate the physical buttons: and I only want to disable home anyway.
So my question is, is there any way of doing this? I can take the back and menu keys if needed.
Side note
Is it possible in anyway to bind long-press back to home? I asked this for CM12 a while back (and I've since downgraded), but is this possible with Cyanogen, as I've been able to do it with Carbon ROM on 4.4.4.
Hi! I currently use this app on CM 12.1 to enable softkeys and disable hardware keys:
https//play.google.com/ store/apps/details?id=net.alviano.android.softbuttons&hl=en
sorry for my bad english
Hi
Try disable the home button by following this. it worked for me
http://forum.xda-developers.com/showthread.php?t=2032117
Hey everyone,
Thanks for the help. Someone on reddit gave me a working solution by using Xposed Additions to remap the buttons how I wanted them to.

MI5 - CM13, restore soft touch of home button?

Running Miui on my new Xiaomi Mi5, there was a really nifty feature where you could "soft touch" the home button to use is as the "home" button (instead of having to "click" it down).
It was a very useful thing! Is there a way of restoring this functionality in CM 13? I've worked out how to swap the back and menu buttons already, but haven't been able to find anything about this.
cangurob said:
Running Miui on my new Xiaomi Mi5, there was a really nifty feature where you could "soft touch" the home button to use is as the "home" button (instead of having to "click" it down).
It was a very useful thing! Is there a way of restoring this functionality in CM 13? I've worked out how to swap the back and menu buttons already, but haven't been able to find anything about this.
Click to expand...
Click to collapse
There are plenty of answers about this. It can be implemented only when kernel sources will be released.
Some new about it?
It's the only feature that I miss on my CM on Mi5.
Man, so glad to see this question here.
I'm sick of seeing the same ol' question being asked everywhere in the CM thread, spamming all around it.
Let the devs to their work. It's being developed here, so when it fully works will be added to the build. For now, it's GREAT to have official CM for our device. I'm keeping MIUI until it's good to go and to switch, BUT... I'm waiting
I would like soft home button as well.
Hope good devs will make it work one day
As a temporary solution, you can use this:
http://forum.xda-developers.com/android/apps-games/app-fingerprint-to-unlock-t3466549
Download fingerprint quick action in google play
The cyanogenmod maintainers for mi 5 are working on it

An Xposed module to remap bottom hardware buttons ?

Hi,
I've bought several Android devices and since 2014 I really hate how the multitasking button replaced the menu button.
I just want to bring the menu button back and bring the multitasking section by long-pressing the home button, I really don't care about the Google Search functions.
The problem is, the phones I bought don't have any on-screen buttons and I really don't want to add a bottom panel for that.
I also know that GravityBox may be the Xposed module which can do that, but since it mostly applies to AOSP-based ROMs, I'm affraid of having conflicts with my phones' stock ROMs (Zenfone Selfie -ZE551KL- on Marshmallow).
Some apps that I found in the internet are quite old -pre 2014-, making them surely unsuitable for Android Lollipop and above.
So the question is: Is there any Xposed module -or even an app !- that can remap the bottom hardware buttons without conflicts ?
Have you tried out Xposed Additions?

Tasker Custom Lock/Unlock

Hi everyone,
I will try to stay as clear as possible. I do not like "swipe to unlock" or something like it, what I like is to click power button to lock and unlock my android. But I noticed that lots of the time I accidentally press this power button for example in my pocket or even when I am walking holding it in my hand... So I have an idea to wake/unlock the phone not by pressing the power button once, but pressing it twice to unlock/wake the device...
Till now I have just been playing with simple tasker tasks, but this one seems to be difficult for me. Any ideas is it possible? Tried to look for app which could do like this, but couldn't find any. I own rooted Nomu S30 Android 6.
All ideas appreciated!
hi friend, I don't think Tasker can do this. Maybe you should check out some Xposed modules for that, since you have root, and this looks like system level controls.
alienyd said:
hi friend, I don't think Tasker can do this. Maybe you should check out some Xposed modules for that, since you have root, and this looks like system level controls.
Click to expand...
Click to collapse
I have xposed on my android (Nomu S30, original ROM), but it seems that modules does not want to work... It says like "module activated" but actually it does not work at all, atleast those I have tried just does not work... Any ideas about this?
sorry, I cannot assume anything generally , you probably should check with Xposed to see what happens. It could be that:
- Framework not yet active
- Device not yet restarted
- Compatibility issue
- Wrong module/usage
Maybe an app like Proximity Lock/Unlock will help.
How about gestures in wake up?

Categories

Resources