Rebinding the hard back button? - Adam General

My Adam was very recently delivered, and I'm loving it already. I have one semi-gripe about it, though: the power switch is kind of annoying to click, and I often hold it too long and end up bringing up the power-down menu rather than putting the Adam to sleep. I recently installed the Beast Rom, and it claims to be able to rebind buttons, but I haven't found a way to rebind the hardware back button to wake / sleep.
Does anyone know of a way to do this?

You can change it in /system/build.prop
Just tested and it works. Also hated that power switch.
Sent from my Adam PixelQi 3G using XDA Premium App

The BEAST rom is nice, can't wait to see it progress more.

icewall said:
You can change it in /system/build.prop
Just tested and it works. Also hated that power switch.
Sent from my Adam PixelQi 3G using XDA Premium App
Click to expand...
Click to collapse
Any chance that you could post some instructions on how to do it. would like to try too.
Thanks and regards

lictenau said:
Any chance that you could post some instructions on how to do it. would like to try too.
Thanks and regards
Click to expand...
Click to collapse
If you have an app like Root Explorer simply navigate to /system folder, press "Mount R/W.", long press build.prop, Open in Text Editor, and change it from 'back' to 'power' here, save and exit, "Mount R/O", and reboot your device. I can't remember what the partitions are called on Adam so can't post a shell guide right now.

icewall said:
If you have an app like Root Explorer simply navigate to /system folder, press "Mount R/W.", long press build.prop, Open in Text Editor, and change it from 'back' to 'power' here, save and exit, "Mount R/O", and reboot your device. I can't remember what the partitions are called on Adam so can't post a shell guide right now.
Click to expand...
Click to collapse
I have done this and can attest to it working on several ROMs. Related question: does anyone else have issues with button responsiveness? I have to push the button or switch at least twice to awaken my Adam from sleep. Also, when I wake up the Adam, I will frequently get the popup that ask if you want to shut down. Anyone else get this?

tincansandtwine said:
I have done this and can attest to it working on several ROMs. Related question: does anyone else have issues with button responsiveness? I have to push the button or switch at least twice to awaken my Adam from sleep. Also, when I wake up the Adam, I will frequently get the popup that ask if you want to shut down. Anyone else get this?
Click to expand...
Click to collapse
I've noticed that, but only when my Adam has been asleep for a long time. The power menu I've just taken to be a quirk of rebinding the button to power, since there is no sleep/wake only option.

i had the problem also before rebinding. Seems it just has a very short timeout before invoking the menu, whether its one button or the other. Not sure where the problem is thought since I haven't really experienced, or tested it on any other Adam Roms.
Felger said:
I've noticed that, but only when my Adam has been asleep for a long time. The power menu I've just taken to be a quirk of rebinding the button to power, since there is no sleep/wake only option.
Click to expand...
Click to collapse
Sent from my Adam PixelQi 3G using XDA Premium App

What about switching the PixelQi backlit
Guys,
I can see the options are 'back,power,home,menu,search,camera,call,endcall'. It'll be great to be able to bind the button to the pixelQi backlit switch. Anybody knows is that is possible?
Thanks!

I have a PixelQI 3G, the Search and Home button (#1 and #2 from top) not working now, I have tried to reset to default, flashed other ROM, ... but still unable to make it work back

You should try using Button Saviour from the market for onscreen buttons, it's pretty nice.

Related

AnyUnlock: An app to treat N1's power button problem (no root required)

Before developoing this app, I am using
1. Nolock
2. Flyscreen
3. lock widget
in order to
1. use any key to turn the phone on
2. use widget to turn off the phone
3. Use flyscreen to prevent the accident tap
However this combination is huge and invenient. So I deciced to develop a very small app (40k in size) it can
1. Use any key to turn on the phone
2. A widget turn phone off
3. A very simple lock screen to prevent accident tap.
Search AnyUnlock in Android Market and enjoy it. If there are any porblems, please report.
i like it!
perhaps you should include an option to enable or disable the 'lock screen to prevent the accidental tap.'
deenn said:
i like it!
perhaps you should include an option to enable or disable the 'lock screen to prevent the accidental tap.'
Click to expand...
Click to collapse
Yes, I will do that in next version.
It didn't work for my N1. I enabled the app, brought me to the 2nd window where I also enabled it and let the phone shut down and nothing, I had to use the power button to turn the screen back on. Back to nolock.
It was the way I installed it, working now but after installing gingerbread the trackball wake no longer wakes the screen, have to use the volume key. Still very effective but like the trackball wake.
vinnyjr said:
It didn't work for my N1. I enabled the app, brought me to the 2nd window where I also enabled it and let the phone shut down and nothing, I had to use the power button to turn the screen back on. Back to nolock.
Click to expand...
Click to collapse
Yes, there is a bug. If you don't allow the admin permission in the first time. The program will fail. You can disable it, uninstall it and reinstall to take effect.
I also couldn't pick up on an incoming call... it just went to the screen which shows the enable/disable anylock buttons. I couldn't press home or back. Uninstalled it for now.
Sent from my Nexus One using XDA App
deenn said:
I also couldn't pick up on an incoming call... it just went to the screen which shows the enable/disable anylock buttons. I couldn't press home or back. Uninstalled it for now.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
I have updated to 1.2 with the option to disable simple lock screen. Also I tried to fix your phone call issue. Hopefully it is working.
OK 1.3 released with fixes to some non-n1 devices.
Works fantastic. After enabling the app I went back into settings and unchecked the lock screen. Now it works just the way I wanted. Thanks for the great app.
Vinny
Interesting app since my power button is acting up, Thanks.
cesar67 said:
Interesting app since my power button is acting up, Thanks.
Click to expand...
Click to collapse
You can have a try. The power button is quite vunerable for HTC devices. I hope Android would make an official option to power on the device using any keys.
works brilliantly now! thanks.
maybe you should put in the description in the market that no root is required.
and an option to still use the slider when unlocking? that would be my favorite option.
just pressing the track ball brings you to the unlocking screen with the slider.
This is super awesome, thanks for making this!
Curious, what specific activity does the widget call? I would like to be able to shut the screen off using other things (dock swipe up, tasker, custom widget) etc. is it an android acitivity or one that is specific to AnyUnlock?
I tried each of the 4 or 5 activities in AnyUnlock but they didn't work.
Thanks for making this!
Sent from my Nexus One using XDA App
Just updated to Gingerbread on N1 and the trackball doesn't wake anymore, but volume button still works.
I can also confirm the trackball doesn't work to wake the screen up, but the volume buttons still do.
Hopefully the trackball wake issue will be resolved for gingerbread.
Sent from my Nexus One using XDA App
colins said:
Just updated to Gingerbread on N1 and the trackball doesn't wake anymore, but volume button still works.
Click to expand...
Click to collapse
Yup, I noticed this also with other apps that disable the lockscreen (like Switchpro)
That's too bad.
No Lock too from what another user has stated. There's no way i'm changing from CM7 if there's no possibility of trackball wake!
Does this app just Wake the N1 or does it power ON a device which is powered off ?
I can already wake via the trackball using CM6 , but I need something which will Power it ON as my power button is broken.
OJ in Compton said:
I can also confirm the trackball doesn't work to wake the screen up, but the volume buttons still do.
Click to expand...
Click to collapse
I can also confirm trackball doesn't wake screen but the volume key will. Hopefully the dev. can fix this issue.
Thanks for a great app.
PS Will donate when trackball is fixed.

cannot take screenshots [home button] + [power button]

just realized i can't take screenshots using the usual [home button] + [power button] combo (as in, nothing happens). i killed a couple of processes using package disabler pro, but not faceProvider (which i dont even see)
anyone else having this problem, any settings i need to change? just noticed some apps don't like screenshots being taken (e.g. standard chartered's banking app, which makes it difficult to send screenshots to show payment confirmation)
The only way that I could figure out was to use the "palm swipe" across the screen. Go to Settings>Device>Advanced Features>Palm swipe to capture set to "on"
Nothing else worked for me either.
Sent from my SAMSUNG-SM-G935A using Tapatalk
You have to hold down the Home/center button and the power button for 3 seconds.. let me know if it works for you too
banking and protected apps no, you need to have root and xposed frame work and then down load a certain module to disable secure flag for screen shots system wide, then you can screenshot anything.
Palm swiping is much easier and built in.
Works for me, although I prefer the palm swipe to take a screen shot.
You have to hold them both down.
Press and hold them at the same time. If you press and hold one before the other, it might not work.
Palm swipe doesn't seem to work with nova launcher? Anyone else having that problem? Power and home button works though.
I'm also having a similar issue although in my case, when I hold down the buttons simultaneously...it launches "Ok Google" instead of taking a screenshot.
The palm swiping gesture works very inconsistently atm.
Maybe worth noting: I'm using the Samsung Good Lock app.
You ve to hold them on the same time for 2 seconds
Palm swipe, nuff said
frankbnj84 said:
Palm swipe doesn't seem to work with nova launcher? Anyone else having that problem? Power and home button works though.
Click to expand...
Click to collapse
It works for me just fine, and I'm using Nova (Prime)...
Sent from my SM-G935T using XDA-Developers mobile app
I like having the option just by pressing the power button for a short time.
nice one
Tonys7Edge said:
You ve to hold them on the same time for 2 seconds
Click to expand...
Click to collapse
Thanks, this helps!!!
My phone has flashed with International Stock Rom no mod.
Palm swipe so hard to use, it doesn't always work.
The Palm Swipe option get turns off couples time, no idea why.
When I turn it on first palm swipe works great, but after that no matter how I try it wouldn't do it.
---------- Post added at 10:50 AM ---------- Previous post was at 10:48 AM ----------
Phundamentals said:
Press and hold them at the same time. If you press and hold one before the other, it might not work.
Click to expand...
Click to collapse
I think this might be why my Palm Swipe would disable it self.
When I enable it, it would work for 1-2 times.
then how ever I try wouldn't do a screenshot.
Thank you
Phundamentals said:
Press and hold them at the same time. If you press and hold one before the other, it might not work.
Click to expand...
Click to collapse
Thank you, this was what I was doing. I always pushed one button after the other and it didn't work and now when I tried it at the same time it worked.
Palm swipe working with Nova Launcher
burrzoo said:
The only way that I could figure out was to use the "palm swipe" across the screen. Go to Settings>Device>Advanced Features>Palm swipe to capture set to "on"
Nothing else worked for me either.
Sent from my SAMSUNG-SM-G935A using Tapatalk
Click to expand...
Click to collapse
With palm swipe set to "on", It is working with nova launcher/Android 8.0 XSG region. Under nova launcher settings you have the options for swipe down or swipe up, maybe conflicting with the palm swipe capture. Try updating your Nova Launcher to the latest version to cope up with the latest OS. This may help.
sent from Samsung Galaxy S7 edge (SM G935FD)

Slightly wet the button area, now the home button keeps triggering non stop.

Slightly wet the button area, now the home button keeps triggering non stop. Everything else works fine.
Ive tried the following solutionsb
https://forum.xda-developers.com/oneplus-2/general/guide-oneplus-2-home-button-dead-t3324321
Phone is currently sitting in a bag of rice so let's see how that goes.
Meanwhile, can anybody think of a way to disable the home button (perhaps through terminal or something)? Because the phone would basically be usable.. I know there are button settings, so if only I could somehow put home button as "no action".
sl___ said:
Slightly wet the button area, now the home button keeps triggering non stop. Everything else works fine.
Ive tried the following solutionsb
https://forum.xda-developers.com/oneplus-2/general/guide-oneplus-2-home-button-dead-t3324321
Phone is currently sitting in a bag of rice so let's see how that goes.
Meanwhile, can anybody think of a way to disable the home button (perhaps through terminal or something)? Because the phone would basically be usable.. I know there are button settings, so if only I could somehow put home button as "no action".
Click to expand...
Click to collapse
Just ON " Enable on-screen nav bar " in settings>butons
and OFF " Always enable menu button " in settings>butons.
tbiwalkar said:
Just ON " Enable on-screen nav bar " in settings>butons
and OFF " Always enable menu button " in settings>butons.
Click to expand...
Click to collapse
The thing is the constant pressing of home button makes me not able to navigate anywhere.
The only place I can actually do something is in recovery, because the home button doesn't actually do anything.
If there's a way I can enable it in terminal in recovery mode that would be great.
sl___ said:
The thing is the constant pressing of home button makes me not able to navigate anywhere.
The only place I can actually do something is in recovery, because the home button doesn't actually do anything.
If there's a way I can enable it in terminal in recovery mode that would be great.
Click to expand...
Click to collapse
what rom are you on? maybe someone on same rom can pull his build.prop and use qemu string to enable nav bar and u can push it in using twrp
tbiwalkar said:
what rom are you on? maybe someone on same rom can pull his build.prop and use qemu string to enable nav bar and u can push it in using twrp
Click to expand...
Click to collapse
Thanks for the idea. I'm using resurrection remix - will ask somebody on the thread. What does qemu string mean?
tbiwalkar said:
what rom are you on? maybe someone on same rom can pull his build.prop and use qemu string to enable nav bar and u can push it in using twrp
Click to expand...
Click to collapse
Nevermind, I figured out how to enable on screen nav, but I need a way to disable the hardware buttons..
Edit: figured it all out!
sl___ said:
Nevermind, I figured out how to enable on screen nav, but I need a way to disable the hardware buttons..
Edit: figured it all out!
Click to expand...
Click to collapse
Hope the moisture dries out and your fingerprint reader starts working normally
Tip of advice for everyone who has problems with the fingerprint reader after it got wet or started to get crazy for any weird reasons at all.
Drain the phone battery until it dies. Then try to boot it up to drain even the last power in it.
Then recharge the phone.
By draining the battery and recharghing it you reset the phone's sensors.
Be lucky some of you aren't living in a country like me where the weather is moist all the time. I had to do this method thrice this week ??
Sent from my ONE+² using Tapatalk⁴

Button Mapper: Remap Bixby and other buttons (no limitations if rooted)

If the Bixby button is bothering you, I present an alternative method for remapping it to whatever you want using Button Mapper. On the Note 9 specifically, there are some differences in the way Button Mapper works compared to other Bixby remappers. I am the developer of this app and intentionally made it work differently so you have a choice. Button Mapper version 0.75 or later is required for the Note 9, check links at bottom of post.
Please note that if you have rooted your Note 9, Button Mapper allows single, double and long press native Bixby remapping that works perfectly with no limitations whatsoever.
​
Advantages:
-Bixby never appears, it can be completely disabled and remapping still works
-Single press and long press actions available
-native remapping, meaning it's faster. No polling involved, it reacts to the button press input event
-far more actions and features available than other remapping apps
​
Disadvantage:
-must run adb shell command after every boot
​
The disadvantage is not that bad, because you don't need to restart your device very often. I often let my phones run for weeks without reboot.
Please don't complain about having to do the adb command after every boot. I'm simply presenting this as an alternative method for interested users who would like to put in a little extra effort to get a better experience. If this is not for you, just move on and use something else.
​
Button Mapper is free on Google Play or XDA Labs (version 0.75 or later is required for Note 9 support)
XDA Labs (latest version always available)
https://labs.xda-developers.com/store/app/flar2.homebutton
Google Play (version with Note 9 support may not be available yet)
https://play.google.com/store/apps/details?id=flar2.homebutton
I almost never reboot my device unless I have something to flash. I am very familiar with debloating my devices via ADB. I will give it a try. Thank you for offering a way for non-root users to remap the Bixby button.
This is the best app for remapping the Bixby button to something useful. Works perfectly on my Note 9 even with Bixby 2.0. People shouldn't even bother with any other app.
It takes a 30-second ADB session and you're all set. No lag, no Bixby popups. The only niggle is it needs to be restarted every reboot but that's not a big deal.
I've used BXActions but I prefer this a whole lot more. Just a cleaner experience.
Whoa.. thanks man.
This is just like I remapped the button on my rooted S8. Cant wait to try it.
I have a question though. Is it possible to run the adb from within the phone itself? I know theres a terminal app, but I believe it needs root? I can't remember.
Thanks.
Not sure what I did wrong. I was able to remap both the single press and long press, but it does the customized action as well as launch Bixby voice at the same time.
I'm happy with just disabling Bixby voice really. My device is not rooted.
Edit: Just figured out what I missed. I forgot to add "-d" to the adb command to disable Bixby assistant. Now it works perfectly. Sorry for being a dumbass. lol
MasK said:
Whoa.. thanks man.
This is just like I remapped the button on my rooted S8. Cant wait to try it.
I have a question though. Is it possible to run the adb from within the phone itself? I know theres a terminal app, but I believe it needs root? I can't remember.
Thanks.
Click to expand...
Click to collapse
It's impossible to run the command from the phone, unfortunately.
Thanks flar2!! I really appreciate all of the work that you do. This is my 3rd app that I've purchased from you, and it won't be the last! I was using bxActions, but that app pales in comparison to this button mapper. I'm just glad I stumbled across this thread. Button Mapper Pro has made my Note 9 complete, thanks again for everything you do. I look forward to what ever is next.
Hi @flar2,
In note 9, there's a system default option to control media volume using the vol buttons. See attached pic.
But when I enable vol buttons on the mapper, it results to controlling the ringtone. And even if the toggle is on for the media control, the app still overrides the action.
I see there's a pro setting to gain back the media volume.
otaconremo said:
Hi @flar2,
In note 9, there's a system default option to control media volume using the vol buttons. See attached pic.
But when I enable vol buttons on the mapper, it results to controlling the ringtone. And even if the toggle is on for the media control, the app still overrides the action.
I see there's a pro setting to gain back the media volume.
Click to expand...
Click to collapse
The app has no way of knowing about that setting, so it is ignored. You can use the default to media option in Button Mapper
Any way to get it working by pressing whilst screen is off?
poczynek said:
Any way to get it working by pressing whilst screen is off?
Click to expand...
Click to collapse
Bixby works with the screen off by default
After using bxactions for a few days, I decided to try this app instead, and it works ALOT better! Thank you OP.
I almost never reboot my phones, so the adb thing is no big deal for me.
As much as I like bxActions, I even ended up buying the pro version, I can't help but say this just works better. I made the adb command into a batch file that I can just double click so that's not much of an issue, but I do have a couple questions/requests:
Is it normal for double tap to be greyed out? Can you add an immersive toggle to the list of available commands?
One thing I liked about bxActions is the ability to change what the button does while locked/lockscreen vs unlocked, is it possible to implement that here too?
Thanks!
rejectedjs said:
As much as I like bxActions, I even ended up buying the pro version, I can't help but say this just works better. I made the adb command into a batch file that I can just double click so that's not much of an issue, but I do have a couple questions/requests:
Is it normal for double tap to be greyed out? Can you add an immersive toggle to the list of available commands?
One thing I liked about bxActions is the ability to change what the button does while locked/lockscreen vs unlocked, is it possible to implement that here too?
Thanks!
Click to expand...
Click to collapse
I'm looking into double tap. Currently it's not available for Bixby on the N9.
Note 9 lock and home
Note nine lock and home
Hey there, using this app on my Note 9 instead of bxActions. I can say its working much better but Im missing a few features. Is it possible to have a Sound/Vibrate Toggle like bxActions without going though DND mode, like on IOS? A fullscreen mode toggle action would also be really useful.
Also having different actions for buttonpresses while locked vs. unlocked would be great. Thank you!
Azizamiri796 said:
Note nine lock and home
Click to expand...
Click to collapse
cool, but how does this relate to the button mapper in any way?
@flar2:
Whenever I use USB tethering, button mapper stops working until I run the adb command again, do you know what causes this? So apparently its not only a phone reboot that deletes the adb settings but also usb tethering
destz0r said:
@flar2:
Whenever I use USB tethering, button mapper stops working until I run the adb command again, do you know what causes this? So apparently its not only a phone reboot that deletes the adb settings but also usb tethering
Click to expand...
Click to collapse
I have no idea about this
Note 9. Same to me. Phone reboot deletes the adb settings. And if i use toggle flashlight then bixby startscreen goes ON

Navigation Buttons Mod?

Call me a bit old fashioned, but I have a specific set of "keybinds" that I always work to achieve one way or another on my android devices.
The "Menu" button of old is more important to me than a "Recents" button - really just hoping to achieve inverted behavior of the square button: short press for menu, long press for recents.
Long pressing the "Back" button should kill the foreground app.
Any other bind to quickly toggle the torch light.
Using the menus in OxygenOS, I can't seem to achieve this. Any suggestions or secrets I've yet to find out about?
In Oxygen os you can set LONG PRESS RECENT BUTTON to perform MENU Action. I use it all the time.
About long press back button to kill app, I think this feature was removed in PIE.
Me too was looking for it but didn't find a solution.
Anyway I quickly realized that I don't need it. Op6t can keep a lot of app in memory so there's no need to kill.
When i want to kill one or all i use Recents.
Not a big deal for me.
Yep that's how I'm using everything now. It gets the job done, though I find myself reverting to old habits absent-mindedly. I'm sure I'll be perfectly adapted in a matter of days.
bigcc32 said:
Call me a bit old fashioned, but I have a specific set of "keybinds" that I always work to achieve one way or another on my android devices.
The "Menu" button of old is more important to me than a "Recents" button - really just hoping to achieve inverted behavior of the square button: short press for menu, long press for recents.
Long pressing the "Back" button should kill the foreground app.
Any other bind to quickly toggle the torch light.
Using the menus in OxygenOS, I can't seem to achieve this. Any suggestions or secrets I've yet to find out about?
Click to expand...
Click to collapse
Try this app: https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner
dannejanne said:
Try this app: https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner
Click to expand...
Click to collapse
Permissions granted using root. It won't get past the compatibility check (The screen says "If you don't see anything your device is incompatible," and I certainly dont see anything). Thanks for the suggestion, though.
bigcc32 said:
Permissions granted using root. It won't get past the compatibility check (The screen says "If you don't see anything your device is incompatible," and I certainly dont see anything). Thanks for the suggestion, though.
Click to expand...
Click to collapse
It can be granted access with ADB (PC). It should work I've had it work even on LG phones and such.
dannejanne said:
It can be granted access with ADB (PC). It should work I've had it work even on LG phones and such.
Click to expand...
Click to collapse
I don't think the permissions are the problem. The app doesn't complain about that, it just doesn't do anything to the nav bar during setup, and according to the app that's indicative of incompatibility.

Categories

Resources