[Q] Remap capacitive buttons? - Droid Ultra Q&A, Help & Troubleshooting

If possible, how would I go about remapping the capacitive buttons? I would like the recent apps button to open up a custom app instead of opening the recents. There are all sorts of new and better recent app switchers being released that look interesting and wanted to replace the stock app switcher action to open up one of these instead.

sassca129 said:
If possible, how would I go about remapping the capacitive buttons? I would like the recent apps button to open up a custom app instead of opening the recents. There are all sorts of new and better recent app switchers being released that look interesting and wanted to replace the stock app switcher action to open up one of these instead.
Click to expand...
Click to collapse
From my understanding, this is not available unless you are rooted, and even then it is up to the ROM.

opt05 said:
From my understanding, this is not available unless you are rooted, and even then it is up to the ROM.
Click to expand...
Click to collapse
I am rooted, but it's all good. Xposed module gravity box recently released an update that had exactly what I wanted. Thanks!

Related

[Q] how to launch apps with hardware keys on android

I am one of those people that appreciate minimalism, so I would like to have a completely empty homescreen with no icons whatsoever. But I would like to be able to open the app drawer (A third party app drawer downloaded from the GP Store called Quad Drawer) simply by pressing the home button on my AT&T Galaxy S3. I have Cyanogenmod 10.2, and in system settings it does allow a few unique actions to be set for the home button, but none that allow the launching of a specific app (Quad Drawer). I was wondering if anyone knows of a way to make the phone allow me to set a specific app to launch when a hardware key is pressed.
Thank you for your time.
Solution
CellularNinja said:
I am one of those people that appreciate minimalism, so I would like to have a completely empty homescreen with no icons whatsoever. But I would like to be able to open the app drawer (A third party app drawer downloaded from the GP Store called Quad Drawer) simply by pressing the home button on my AT&T Galaxy S3. I have Cyanogenmod 10.2, and in system settings it does allow a few unique actions to be set for the home button, but none that allow the launching of a specific app (Quad Drawer). I was wondering if anyone knows of a way to make the phone allow me to set a specific app to launch when a hardware key is pressed.
Thank you for your time.
Click to expand...
Click to collapse
Hi,
I am also one of those people who wants to have no icons on homescreen )
Try this solution:
- install External Keyboard Helper https://play.google.com/store/apps/details?id=com.apedroid.hwkeyboardhelperdemo
- in advanced settings, set application shortcut (A0) to the specific app (Quad Drawer)
- in advanced settings, remap your key to 0x2410 (= aplication registered under A0)
- HOME button is a special key, it is difficult (probably impossible) to remap it using External Keyboard Helper. If you really want to remap it completely, you need to edit keylayouts in /system/usr/keylayout Editing keylayouts, you can change the behaviour of the HOME button to something else, for example CALL Then you can remap this new CALL button to 0x2410 using External Keyboard Helper.
see also
http://www.apedroid.com/android-applications/external-keyboard-helper/faq
Enjoy
CellularNinja said:
I am one of those people that appreciate minimalism, so I would like to have a completely empty homescreen with no icons whatsoever. But I would like to be able to open the app drawer (A third party app drawer downloaded from the GP Store called Quad Drawer) simply by pressing the home button on my AT&T Galaxy S3. I have Cyanogenmod 10.2, and in system settings it does allow a few unique actions to be set for the home button, but none that allow the launching of a specific app (Quad Drawer). I was wondering if anyone knows of a way to make the phone allow me to set a specific app to launch when a hardware key is pressed.
Thank you for your time.
Click to expand...
Click to collapse
is there a way to do so without making custom image
just look for apps like Tasker, MacroDroid, Automate, ...
edit: btw you can select the default launcher from Settings - Apps - Configure apps - Home App
Tasker would be a good option...
galaxys said:
Tasker would be a good option...
Click to expand...
Click to collapse
is there any other method to do so??
in shell script you can watch the keys in a loop (toolbox getevent -il) and perform an action on event (am start -n <pkgname>)

Things I'd like to do with my N5. Possible?

While using the stock rom...
1. Can I get a "Reboot" option on shutdown menu?
2. Possible to rearrange or even change the "Back, Home, Recent Apps" buttons? I'd like to swap the Back and Home button locations. Maybe replace recent apps with something I actually use.
3. Possible to add more items to the settings tiles accessed from the pulldown?
4. Is it safe to disable Google+ if I'm running an alternate launcher? Will any apps like Chrome or Gmail stop working (not sure if they're tied in)? I have an alternate gallery app installed so Photos and Gallery will be unused. Hangouts is already disabled on mine. Alternate SMS app installed.
Thanks for your time.
You need to gain root (methods are available on this forum) then download xposed framework, (also on this forum) then download a module called Gravity Box included in the downloads part of Xposed Installer. It allows what you're looking for on Stock Rom.
Edit: I forgot, in my case I hate the soft keys so I used Ultimate Dynamic Navbar to do what you want with rearranging/customizing. Also look into LMT launcher, it allows a lot of customization and includes all of the normal hard keys and app drawers.
1&3 as above
2 I've not seen yet
4 yea get rid the it, nothing will happen
Sent from my Nexus 5 using Tapatalk

Screenshot app with no UI?

Looking for a screenshot app that has no UI. I had one before, but can't recall the name. Long story short, my bf has a phone with a wonky home button (Samsung) and the native screenshot method won't work. I want to use such an app as a trigger paired with either Tasker or Xposed Additions, to map 'launching' the app to a long-press of one of his nav buttons, thus taking a screenshot through long-press of a single button. My ROM allows a screenshot option in the notification panel, but his ROM (Optimized CM12.1) doesn't have this, and aside from this small missing feature the ROM is fantastic. He also doesn't want to use gestures as a trigger. GravityBox breaks touchscreen functionality, so that is also out of the question. The app I used before did not create a notification icon, so this would be great if a similar app exists or if you know the name of what I used. Any suggestions?

[guide] ( need root) how to use fingerprint button as home, back and recents button.

If you want to use the fingerprint sensor as capacitive button and remove the on screen buttons, here are how to do it. TESTED ON XT 1640 (BRAZIL VERSION)
First you need to root and install TWRP recovery. take a look on the other threads for it.
Install the EX Kernel from here (http://forum.xda-developers.com/moto-g4-plus/development/kernel-elementalx-g4-0-01-t3424836) [ READ THIS THREAD FOR MORE INFORMATION ABOUT COMPATIBILITY]
If everything works fine, this kernel makes you fingerprint work as home button, but to have others functions, intall this app ( http://forum.xda-developers.com/android/apps-games/app-button-mapper-customize-hardware-t3361340)
Now you can remapp as your wish.
TO REMOVE THE ON SCREEN BUTTONS:
Use any build.prop editor and just add this line ( qemu.hw.mainkeys=1 )
post your screenshots if you enjoy it.
thanks to flar2 for the kernel and app.
Anybody tested with xt1643????
works perfectly
Tested in xt1641 and works fine
Just I need another way to activate Google Now any idea
ajcrew said:
Anybody tested with xt1643????
Click to expand...
Click to collapse
yea,working fine
n3cta1 said:
Tested in xt1641 and works fine
Just I need another way to activate Google Now any idea
Click to expand...
Click to collapse
using "ok google" voice command!?
Does it replace the unlock function?
Kobba said:
Does it replace the unlock function?
Click to expand...
Click to collapse
no
Good to see some customizations coming along. I'm not a dev at all but I don't understand with android being custom sourced why everything is so hard to do. Its like something like this to happen requires a kernel app and than a download of another app to work with that app. Than only some things can be changed and unlock functions can't. It just reminds from 2009 and up having Activator app in the jailbreak world 7 years ago I could change my home button to do whatever along with gestures or anything. I know Apple isn't open sourced out of the box but when those restrictions are opened up they are 100% in function. Sadly Apple has more than doubled their prices since I was owning 2009-2011 phones so I've been in the android world for 4 years now. It just hurts me that the technology these days in 2016 we can't have a operating system as simple to tweak as a user but considered open sourced.
AokiAlan said:
If you want to use the fingerprint sensor as capacitive button and remove the on screen buttons, here are how to do it. TESTED ON XT 1640 (BRAZIL VERSION)
First you need to root and install TWRP recovery. take a look on the other threads for it.
Install the EX Kernel from here (http://forum.xda-developers.com/moto-g4-plus/development/kernel-elementalx-g4-0-01-t3424836) [ READ THIS THREAD FOR MORE INFORMATION ABOUT COMPATIBILITY]
If everything works fine, this kernel makes you fingerprint work as home button, but to have others functions, intall this app ( http://forum.xda-developers.com/android/apps-games/app-button-mapper-customize-hardware-t3361340)
Now you can remapp as your wish.
TO REMOVE THE ON SCREEN BUTTONS:
Use any build.prop editor and just add this line ( qemu.hw.mainkeys=1 )
post your screenshots if you enjoy it.
thanks to flar2 for the kernel and app.
Click to expand...
Click to collapse
Removing the on screen buttons method is not working for me. Nav buttons are still there after adding "qemu.hw.mainkeys=1 " in buildprop and rebooting. I am on Android N. Any ideas?
MustangLife03 said:
Good to see some customizations coming along. I'm not a dev at all but I don't understand with android being custom sourced why everything is so hard to do. Its like something like this to happen requires a kernel app and than a download of another app to work with that app. Than only some things can be changed and unlock functions can't. It just reminds from 2009 and up having Activator app in the jailbreak world 7 years ago I could change my home button to do whatever along with gestures or anything. I know Apple isn't open sourced out of the box but when those restrictions are opened up they are 100% in function. Sadly Apple has more than doubled their prices since I was owning 2009-2011 phones so I've been in the android world for 4 years now. It just hurts me that the technology these days in 2016 we can't have a operating system as simple to tweak as a user but considered open sourced.
Click to expand...
Click to collapse
For this device, the mod is at the hardware level. The fingerprint sensor is just a fingerprint sensor. I modified the kernel to make it behave like a button and send home key events by default. The additional app, Button Mapper, allows you to assign actions to single press, double tap and long press.
You can actually do all this without root, which is pretty cool. But you still need a custom kernel.

			
				
Use Xposed and gravity box fingerprint launcher
There's an Xposed module called gravity box that will let you use the fingerprint scanner as the button. No custom kernel needed!
I can't hide the navbar.. help me please
wookielover said:
There's an Xposed module called gravity box that will let you use the fingerprint scanner as the button. No custom kernel needed!
Click to expand...
Click to collapse
But there is no Xposed for Android 7.0 yet.
How can I do it without changing the kernel but got root?
Is there any way of achieving this without changing the kernel? Because I want other features of my existing kernel. Isn't there an easier way? Like just adding a script or something?
Thanks in advance!
qemu.hw.mainkeys=1 doesn't do the required stuff (hide the navigation bar).
Tried it on STOCK Nougat ROM with ElementalX kernel.
Well.. There is a much easier way. I have xt1643 running Lineage OS with Vegito kernel. Hats off to the kernel dev. My phone is so much smoother with less heating issues. Just there is a drop in battery backup. And coming back, in linage OS u have an Option to use expanded desktop with takes away the Navbar and Status bar. Use can swipe n bring it anytime you want. Also you can use the fingerprint as the home button..
Hey, I'm also an user of Lineage OS and there's an option in settings to set FP sensor as home button (an also double tap works as multitask), and the option to use expanded desktop mode (but I don't use this because apps still leave space as if the navbar existed - as it does -, showing up every time you type something etc), but I prefer to hide it completely editing build.prop as suggested.
So, with this setup, I don't really need the app cited on 1st post (also, when I tried it kept bugging).
BUT my problem is, there's no option as to set some gesture to work as back button. In a lot of apps there's a back arrow in the left top so it works nice, but there's also a lot more apps that doesn't have this, so it's kind of annoying.
Is there some way to solve this?? Or some mod to bring one button nav (as in the G5) to G4+??
Thanks in advance.
Can you tell me how to add these gestures to a custom rom which currently have none active?
Im using Lenovo P2A42. Its stock Android N has all three gestures for navigation in the fingerprint gesture natively. But none of its custom rom has this fuction. I want to add this function to the custom rom without using any third party app.

Looking for an app which acts like the recent app menu

Hello all,
I am looking for an app, which acts like a press of the "recent apps/recent activity" button. I mean the button on Android at the low end of the phone,. There is typically the back, home and recent apps button.
Background is, I want to setuo this feature on a physical keyboard button, but for this I need a dedicated app, which act like this.
Thanks a lot
[root] Recently - Apps on Google Play
Make recents (aka overview aka multitask button) useful again
play.google.com
aIecxs said:
[root] Recently - Apps on Google Play
Make recents (aka overview aka multitask button) useful again
play.google.com
Click to expand...
Click to collapse
Is there an app, which works without root ?
Terminator-XX said:
Hello all,
I am looking for an app, which acts like a press of the "recent apps/recent activity" button. I mean the button on Android at the low end of the phone,. There is typically the back, home and recent apps button.
Background is, I want to setuo this feature on a physical keyboard button, but for this I need a dedicated app, which act like this.
Thanks a lot
Click to expand...
Click to collapse
Try this app that replaces the action of physical keys. There are many apps similar in operation, but for me this one is the best.
Button Savior Non Root - Apps on Google Play
Same great Button Savior without needing to root your device!
play.google.com
The paid add-on expands the capabilities by rearranging the button selection menu items and changing the number of buttons between 4 and 10.
I found another solution, thanks.

Categories

Resources