If you're annoyed by using hardware buttons or you want to preserve them ,here's some apps that let you forget about most of them
Device wakeup by shaking
http://forum.xda-developers.com/showthread.php?t=612267
xdaShutdown
http://forum.xda-developers.com/showthread.php?t=544016&highlight=xda+shutdown
SetVolume
http://forum.xda-developers.com/showthread.php?t=395695
Related
My HTC Polaris wakes up when I softly touch its ring manipulator (it has almost no threshold). So I would like to stop that buttons from waking up the whole phone.
Is disabling the hw buttons completely the only way to solve my problem?
If yes, Is there a way to disable those hardware buttons without recompiling the kernel? What should I change in kernel, if there is no way?
I'm not sure if anybody has done this but I thought it may be a good idea to enable on screen buttons and turn off the capacitive buttons.
This way we have the ease and customization of on screen navigation buttons + the ability to use the physical home button to turn on the device.
coming from a Gnex, I hear ya!
crazinavy said:
I'm not sure if anybody has done this but I thought it may be a good idea to enable on screen buttons and turn off the capacitive buttons.
This way we have the ease and customization of on screen navigation buttons + the ability to use the physical home button to turn on the device.
Click to expand...
Click to collapse
The link below jumps to a thread with exactly what you want. It also changes the home button into a camera button (long press).
In the first post, Sheffy007 posted flashable zips for various ROMs. Not sure what rom you're running, but I've also linked to a step by step tutorial in case things don't work exactly as you want.
P.S. Before flashing, go into settings / display and set touch key backlights to always off. (this keeps them turned off before flashing in touchwiz based roms).
http://forum.xda-developers.com/showthread.php?p=30048716
Sent from my SCH-I535 using xda premium
Hey there,
I am looking for a way to remap my power button to launch a shortcut.
My goal is to make Tasker hibernate all 'greenified' apps, and turn off the screen when I press the power button.
This way I can turn off automatic hibernation in Greenify, and only 'greenify' apps when I explicitly turn off my screen, and not when it times out.
I've looked into several apps, but they all lack the ability to either remap the power button, or making it launch a shortcut.
I am running CyanogenMod 11 on my Samsung GT-I9300.
Hope someone could help me out!
You really don't want to do anything that would make you use the power button more. That is the first thing to die and you've got problems if it does. Much better to map a soft button or gesture to do what you want.
I thought about your comment, but it won't make me use the button more, because I use it anyway to lock my phone.
But nevertheless I could try to use it less. The problem is I use touch to wake the screen, and only if I lock it with the power button touch wil not wake the screen. If I wear the phone in my pocket, my leg wakes the screen trough the pocket.
I now made two profiles. One with proximity sensor, screen off and orientation upside down. And one the same, but orientation face down.
This way it will greenify apps when I put the phone in my pocket, standing or sitting.
I might look into gestures because then the sensors won't have to run when the screen is off saving me some precious juice am I right?
Still like to hear about remapping hw keys.
you can remap your power button here
System/usr/keylayout
then edit with text editor "Generic.kl"
kismetmookz said:
you can remap your power button here
System/usr/keylayout
then edit with text editor "Generic.kl"
Click to expand...
Click to collapse
Can I also map a shortcut to it? And do I have to remap again after an update?
GT-i9300, CM10.2, Googy-Max kernel
I accidentaly found out that there's a difference between the 'Tasker lock system' and the 'Secure Settings lock' actions.
With the Tasker action, touch to wake still works, but with the Secure Settings one it won't.
I now set up two profiles, screen on + proximity + upside down and screen on + proximity + face down. These greenify all apps and turn my screen off with Secure Settings. Also long pressing the menu (touch)key will do the same.
This way, when I put the phone in my pocket it will lock the screen and not wake up when still in my pocket.
But if I leave it face up and the screen times out my apps won't be greenified. I also made a double tap gesture in Nova Launcher that turns my screen off by the default Tasker system lock, so I can wake it by touch and my apps won't greenify.
Not really the idea that I started with, but maybe even better!
joriswagter said:
Can I also map a shortcut to it? And do I have to remap again after an update?
GT-i9300, CM10.2, Googy-Max kernel
Click to expand...
Click to collapse
you have to every update.. but i suggest you getting a CM rom =)
My i9300 is running CM11 nightlys. I update weekly, so it will be a pain in my behind
Sent from my GT-I9300
Hello,
I have a redmi note 3 and since it has an ir blaster I want to improve the use of it.
I have the app anymote smart remote where I have programmed my controller so 1 press will do a bunch of tasks at the same time, and it has a widget that I can use so I don't have to unlock to turn on my screen or whatever I have programmed the app to do.
Now, is it possible to make it like if I hold down volume up with a locked screen, the phone will press the widget by itself so I don't have to turn on the screen to press it. Like an app that reassign hardware buttons and can use widgets and such?
You could try Tasker + GravityBox/Xposed Additions
With bxActions you can remap your Bixby and Volume buttons to any action or app you like!
Use the Bixby button launch your camera, silence the phone, take a screenshot or launch any app you like!
Skip tracks with the volume buttons even when the screen is off!
Or use your phone as a Flashlight and start it with a doubletap.
Remap as you like!
FEATURES:
Double and Long press support!
Remap the Bixby button to any action!
Remap the Volume buttons to any action!
Skip tracks with the volume buttons
Different actions when phone is locked or unlocked
High performance! No lags!
No annoying ads
ACTIONS:
Switch mute - sound profiles
Take a screenshot
Google Assistant
Fullscreen Immersive mode
Launch camera or any other app
Toggle flashlight
Switch to last app
Disable Bixby button
30+ actions in total
DOWNLOAD:
Forum download:
does it need root?
edit: nevermind
No root needed.
There are many apps that do the same. However, I guess even this one has the same problem as all others:
When the phone is in sleep mode the buttons won't work, hence, the flashlight won't shine...
As stated you need to run aod to use buttons at screen off.
I just love this app.
Will it work on other phone, besides Samsung also? Oneplus 6 in particular...It would be option I will miss the most if it wouldn't work:/ Ofcourse there is no bixby button, but can you remap volume buttons on other android devices also?
Hey,
What's up with the accessibility permissions?? Why would the app need to know what apps I am using and what I type??
n01z said:
Hey,
What's up with the accessibility permissions?? Why would the app need to know what apps I am using and what I type??
Click to expand...
Click to collapse
How else do you imagine the app can work without root?