yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9  Themes, Apps, and Mods] flar2:
Button Mapper update!

There is an awesome new update for Button Mapper rolling out. You can get it on XDA Labs now, and on the Play Store in the coming days. This update improves volume button behavior, has fixes for Android Pie, improves Bixby remapping, lots of updates for Blackberry devices and adds a bunch of new actions, such as fullscreen mode, invert colors, toggles for NFC, airplane mode and mobile data, broadcast intents, Greek and Arabic languages, plus the usual bugfixes.

Download on XDA Labs:

https://labs.xda-developers.com/store/app/flar2.homebutton

I want to highlight two important new features.

First, the broadcast intent action (pro version only!). With this action, you can use a button press to broadcast an intent, which is Android's way of communicating between apps. This opens up literally endless possibilities. For example, if you have my High Brightness Mode app installed, you could enter flar2.hbmwidget.TOGGLE_HBM for long-press of volume button to toggle high brightness mode.

The second feature is a new option to disable volume button remapping when the volume panel is showing. For example, if you have long press volume down mapped to toggle the flashlight, when the volume panel is showing, holding down volume will turn the volume down rather than turning on the flashlight. Once the volume panel disappears, holding the volume button will once again toggle the flashlight. I think this makes the volume button behavior more intuitive, so it's enabled by default. This can be turned off if you don't like it, the option is in Advanced options->Volume panel bypass.

Please enjoy, and don't forget to leave a positive review if you find Button Mapper useful.
[Samsung Galaxy S9  Themes, Apps, and Mods] jask05:
Thanks for your work, mate. I have a question. Recently I've updated my S9 + to Android Pie and your app stopped working (I've installed from Play Store) so I do not know if you have to update the app or I have to change any configuration. Could you help me? Do you need any log file?

Thanks a lot !!!
[Samsung Galaxy S9  Themes, Apps, and Mods] flar2:
Works on Pie, maybe uninstall and reinstall.
[Samsung Galaxy S9  Themes, Apps, and Mods] jask05:
Great, in fact I've downloaded the app from XDA Store and it works perfectly.

Thanks!!
[Samsung Galaxy S9  Themes, Apps, and Mods] Peteret:
Working just fine on S9+ with Pie. The logcat.sh method is working just excellent with no need to redo the procedure on every boot as before. Many thanks!
[Samsung Galaxy S9  Themes, Apps, and Mods] Diginix:
Could you explain this a little bit more or post a link.
[Samsung Galaxy S9  Themes, Apps, and Mods] flar2:
Install the version from XDA labs
[Samsung Galaxy S9  Themes, Apps, and Mods] j sta:
Excellent, sound for that!

Want to get the full version of it and done the donate thing over bluestacks (havent got google balast on the phone). Tried to titanium the app on bluestacks and restore the backup on the phone but its still limited. Is there any solution for that? Please dont say l need to be friends with google again
[Samsung Galaxy S9  Themes, Apps, and Mods] flar2:
Unfortunately that's the only method I have right now
[Samsung Galaxy S9  Themes, Apps, and Mods] flar2:
For problems after the recent updates:

The fix is to uninstall Button Mapper, reboot, and reinstall.

I had to make some really big changes, which unfortunately have caused problems for some users. These changes were necessary in order to make the app even better in the future.
[Samsung Galaxy S9  Themes, Apps, and Mods] j sta:
Well, so l need to put google services and play on the phone and sign in so the mapper will get a confirmation of the pat on the back? Once that is done can i remove google again or will mapper give me a cold shoulder all over again as soon as google is out the door?
[Samsung Galaxy S9  Themes, Apps, and Mods] .dan:
bug - screenshot combo activates the longpress action

when i take a screenshot using the standard button combination 'power + volume down', this activates the function i assign to bixby button 'longpress'.

for example, i assign the flashligh toggle to a longpress of bixby button. whenever i take a screenshot, the flashlight enables.

[MENTION=4684315]flar2[/MENTION]
[Samsung Galaxy S9  Themes, Apps, and Mods] flar2:
I know, I will fix it when I return from vacation.
[Samsung Galaxy S9  Themes, Apps, and Mods] SirUnreal:
I'd like to map invert colors on the bixby button, but I got the message "forbidden" after I configured and tested this configuration. What is the problem, is there a workaround? I use a Samsung S10e, rooted, App Ops working (but no actions where denied).
[Samsung Galaxy S9  Themes, Apps, and Mods] flar2:
You need to grant the "Write system settings" permission
[Samsung Galaxy S9  Themes, Apps, and Mods] SirUnreal:
Thank you so far. But that didn't help. This action is allowed.
[Samsung Galaxy S9  Themes, Apps, and Mods] flar2:
I don't know then, it works on my other Samsung phones. I have S8 and S9 running Pie.
[Samsung Galaxy S9  Themes, Apps, and Mods] SaS1551:
found this app via google search. We're getting Galaxy S9s to replace some Motorola's at work. Down side is that the Motorola has a PTT button and the S9 does not. This app appears to be able to change the Bixby button to Zello PTT in the pro version, but will it work with other PTT apps? If it works, I'm getting it and I know at least 3 other people that will get the pro version as well.
[Samsung Galaxy S9  Themes, Apps, and Mods] flar2:
It definitely works with zello, and will also work with other PTT apps that have public intents using the "Broadcast intent" action in Button Mapper
[Samsung Galaxy S9  Themes, Apps, and Mods] SaS1551:
is that a setting i need to enable in the pro version, or something that the app needs to support? or both?
[Samsung Galaxy S9  Themes, Apps, and Mods] flar2:
You would use the "Broadcast intent" action along with info you get from the PTT app. Zello, for example, provided me with the necessary info to make Button Mapper work with it.
[Samsung Galaxy S9  Themes, Apps, and Mods] galaxy mini:
Great app, bixby remap works like charm on Android Q.

Btw have changed to 5stars rating on playstore ;)

Cheers.
[Samsung Galaxy S9  Themes, Apps, and Mods] Jason1974#:
I need Google assistant instead of Bixby button
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
NOTE: On a rooted device, this is the fastest, most reliable and problem-free method for remapping Bixby (no limitations, no setup)

Button Mapper allows you to remap any action you want to physical or capacitive hardware buttons. This includes volume buttons, Bixby button, and many buttons on game controllers and other hardware you attach to your phone.

You can map shortcuts, apps or actions to single press, double tap and long press for hardware buttons.

The Bixby button on the Galaxy S9 and S9+ is supported as of version 0.62

Bixby remapping of single, double and long press is completely free. No ads. Pro version not required.

Does not require root. If your device is rooted, you will have many more options (essentially unlimited). Also with root, Bixby remapping does not involve any hacks, it is implemented at the input level (native).

This does require an adb command to remap Bixby on unrooted devices. It's a one-time setup. I do not use the method used by other apps because it leads to a poor user experience (i.e. swiping right causes actions to occur, gets stuck in a loop)

This app is continually updated with new features and improvements.

Download on XDA Labs:

https://labs.xda-developers.com/store/app/flar2.homebutton

.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Zyphur:
I'm unable to test because I don't have a computer at the moment for the adb command, so just had a question. Does this allow for one of the remapped options to still be bixby, specifically the screen/feed you get when swiping right on the default launcher? ie remap bixby button single tap to flashlight, remap double tap to bring up bixby feed (or regular bixby)?
[Samsung Galaxy S9+ Themes, Apps, and Mods] SalamanderBoy:
Perfect! Thank you. Why won't it work with the screen off though?
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
The best way to use the button for both Bixby and something else would be to have single press open Bixby and long press turn on the flashlight.

To do this, leave the bixby button "on" in bixby settings, leave single press default in Button Mapper, and set long press to flashlight.
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
It used to, I think Samsung must have changed something.

EDIT: actually, I did something. I will re-enable screen off next update.
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Version 0.64 restores Bixby while screen is off. Update is rolling out now.
[Samsung Galaxy S9+ Themes, Apps, and Mods] SalamanderBoy:
Works! Thank you! Going to donate now ;).
[Samsung Galaxy S9+ Themes, Apps, and Mods] El Maestro:
Good app, however, it needs a permission to record video!

can you please explain why?
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
The screenshot function uses Android's cast API and the flashlight requires the camera permission. The app never records video.

The app will ask for permissions as needed, that way you know which action requires the permission.
[Samsung Galaxy S9+ Themes, Apps, and Mods] DevilStyle:
Thanks for great work man
[Samsung Galaxy S9+ Themes, Apps, and Mods] jpbl1976:
This app's pretty good. I am unrooted and did the recommended ADB step and it works perfectly. Unlike other remap apps, it doesn't accidentally launch Bixby if you set it up correctly. The extra button is finally useful!
[Samsung Galaxy S9+ Themes, Apps, and Mods] SalamanderBoy:
Please see attached image.

View attachment 4454173

I just got this on my S9+. That's a lot of juice don't you think?
[Samsung Galaxy S9+ Themes, Apps, and Mods] jpbl1976:
Might be a false reading. On GSAM, mine is reading as 0.1% in the last hour of use.

I've never even seen it in the Battery drainer list. It could be any number of things on your device.
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
It shouldn't use any noticeable amount of battery.
[Samsung Galaxy S9+ Themes, Apps, and Mods] SalamanderBoy:
You're correct, it shouldn't.
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
And it doesn't. I'm running it on a S9 and and an S8 for several months and battery use is negligible.
[Samsung Galaxy S9+ Themes, Apps, and Mods] ingeniousambivert:
On G965F

The AOD breaks after sometime. Reboot fixes it though.

Please fix this issue on your app. I really find your app convenient and smoother than other apps. It works great. So please fix this bug.
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Are you using the screenshot action? That's what breaks AOD. It will work if you root.
[Samsung Galaxy S9+ Themes, Apps, and Mods] ingeniousambivert:
Yeah I use that. I ll try disabling it
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
The screenshot is definitely the problem. Unfortunately the bug is for Samsung to fix, as it seems AOD has a problem when using Android's cast API (which I use to take screenshots without root).
[Samsung Galaxy S9+ Themes, Apps, and Mods] Virgo_Guy:
Yes, after running your app setup and remapping right ?

And where shall I send it? send PM.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Virgo_Guy:
[MENTION=4684315]flar2[/MENTION] where to send the logcat.txt ?
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Email is best, you can use the feedback link in button mapper (tap the heart and select feedback, then send to open email)

Doesn't matter if you set up button mapper or not, I need the logs made by Bixby.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Robotr0n:
Damn I just updated to Pie and it seems that I cant disable Bixby. I ran thw adb Shell commands but button remapper doesnt work, only Bixby is showing when i Press that button.

Update: I rebooted, and now Button remapper works, but bixby works too... Im not rooted btw.

Any suggestions how to disable bixby?
[Samsung Galaxy S9+ Themes, Apps, and Mods] Virgo_Guy:
Sent. logcat1 & logcat2
[Samsung Galaxy S9+ Themes, Apps, and Mods] EddoWagt:
Was working perfectly when I installed it, but now it doesn't anymore. Any way to fix this?
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Which version of the app, what phone and what version of Android?
[Samsung Galaxy S9+ Themes, Apps, and Mods] Virgo_Guy:
[MENTION=4684315]flar2[/MENTION] updated version 1.02 works in Note 9 :svetius:

Edit: Single press bixby is assigned to lanunching camera and it works.

Weird part - Pressing home button also launches the camera.
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Could you please send a logcat where you press Bixby and then press Home?
[Samsung Galaxy S9+ Themes, Apps, and Mods] EddoWagt:
1.01, S9+ with Android Pie. Just updated to version 1.02 and it's working as of now, will see if it stays like this
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
adb shell pm disable-user com.samsung.android.bixby.agent
[Samsung Galaxy S9+ Themes, Apps, and Mods] Virgo_Guy:
Sent. Find logcat4.rar
[Samsung Galaxy S9+ Themes, Apps, and Mods] Robotr0n:
Thanks a lot!
[Samsung Galaxy S9+ Themes, Apps, and Mods] bark ohkba:
Anyone who knows?
[Samsung Galaxy S9+ Themes, Apps, and Mods] EddoWagt:
Just got a notification that this app has used the camera in the background. May I ask why it's doing that?
[Samsung Galaxy S9+ Themes, Apps, and Mods] sherpa25:
Thanks for the update [MENTION=4684315]flar2[/MENTION]. Nice to see that there's a setup. What are the ff. for (ie. when would be want to use these)?: 'Start Simulate keycodes' and 'Revoke WRITE_SECURE_SETTINGS permission'?
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
It's using the flash as a flashlight. Ignore.
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Simulate keycodes allows you to simulate any button press by entering the keycode as an action

WRITE_SECURE_SETTINGS opens up more actions for non-rooted users, such as invert colors, fullscreen mode, etc
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
For problems after the recent updates:

The fix is to uninstall Button Mapper, reboot, and reinstall.

I had to make some really big changes, which unfortunately have caused problems for some users. These changes were necessary in order to make the app even better in the future.
[Samsung Galaxy S9+ Themes, Apps, and Mods] sherpa25:
Thanks. Can you share a reference/link on how to do these? Perfect, as my N9's non-rooted.

What kind of problems, for ex.?
[Samsung Galaxy S9+ Themes, Apps, and Mods] Veerab:
Still facing same issues, flar2. If it works fine on my key2, it will be most wanted app for me than android pie as button mapper adds more value and improves productivity on key devices than whatever we expect next android pie update.

This app itself is OS for me, if it works.

So kindly help, how to stop activating the shortcuts while typing. I tried bypassing and alternate input and home options but nothing seems to be working fine.

Pls help
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
I really don't know. I have a keyOne and everything works fine, others claim it doesn't work. I have no idea.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Veerab:
Can you share screenshot of the app along with settings so that we can try matching ours and see. Also you said before it was something to do with language settings, more insight pls
[Samsung Galaxy S9+ Themes, Apps, and Mods] Turbojugend:
Ok, because it does not do the double press function I have it set to unless the screen is unlocked?
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Maybe the action you assigned doesn't do anything when the screen is off.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Turbojugend:
Oh maybe. I set it to open Google Pay like it is set up on my iPhone.
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Without root, button mapper can't turn on the screen
[Samsung Galaxy S9+ Themes, Apps, and Mods] Joseph Gomes:
Bxactions drains my battery for some reason. I finally uninstalled it. I checked it on various battery usage apps, Bxactions was a culprit.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Virgo_Guy:
[MENTION=4684315]flar2[/MENTION] In Note 9, long press is assigned to flashlight and can be turned ON even when phone is locked which is convenient but can't be turned off when phone is locked/lockscreen is on. To do so, one needs to go the homescreen and then long press ...

especially for a flashlight , ability to do so without unlocking would be better.

Edit 1: that "issue" occurs when "disable Button Mapper for system dialogs" is toggled ON.

Edit 2: If "Disable Button Mapper for system dialogs" is toggled OFF, volume down+power button combo that by default takes screenshot, also launches the camera whereas Bixby button single press is assigned to launch camera.
[Samsung Galaxy S9+ Themes, Apps, and Mods] EddoWagt:
Just enabled Bixby, to see how it works, I don't like it. But now I can't find the option to disable it again, so now anytime I press the button to for example open Google home, the Bixby app opens as well. How can I change this?
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
It depends on your version of Bixby. Some have a setting within Bixby, others you need to disable the package. Run the button mapper setup applicaiton on Windows and it should have an option to disable bixby.
[Samsung Galaxy S9+ Themes, Apps, and Mods] EddoWagt:
Got it, thanks!
[Samsung Galaxy S9+ Themes, Apps, and Mods] shorty87:
What are the steps I need to take to revert the changes made by Button Mapper to disable Bixby? I'm trying to get Bixby back but can't figure it out. The Bixby button currently doesn't do anything. How can I get it back to default settings (normal Bixby operation)?
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Run the Windows setup app or run the commands on this site:

setup.buttonmapper.app

You have to re-enable the bixby package
[Samsung Galaxy S9+ Themes, Apps, and Mods] saxena1:
[MENTION=4684315]flar2[/MENTION]

Waiting for s10 support.:D
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Try the version from xda labs
[Samsung Galaxy S9+ Themes, Apps, and Mods] butcher211:
Can you open-source this?
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
No chance. I've invested a lot of time and money into this and there are already a bunch of copycat apps out there. This one is far more advanced than the others, who will just steal my work and then make money off ads and data collection (which I don't do).
[Samsung Galaxy S9+ Themes, Apps, and Mods] daigoro64:
Fully agreed.

BTW: running flawlessy on S10+. Thanks Aaron.
[Samsung Galaxy S9+ Themes, Apps, and Mods] NiteKiller08:
[MENTION=4684315]flar2[/MENTION]

Hi i have an issue with the Button Mapper. When i try to press and hold the bixby button after i have remapped bixby button/before i remap, I'm getting a toast showing "Permission Denied" how do i fix it. Thanks
[Samsung Galaxy S9+ Themes, Apps, and Mods] Kai231:
[MENTION=4684315]flar2[/MENTION]

Do you know how I could add my own settings for the Do Not Distrub mode ?
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Whatever action you have selected does not have the necessary permissions to execute
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Check the system settings, there are customizations on some phones
[Samsung Galaxy S9+ Themes, Apps, and Mods] NiteKiller08:
[MENTION=4684315]flar2[/MENTION]

Hi I hate remapped the long press of bixby button to flashlight. It was working till the day before yesterday. But yesterday i was getting the toast

*Edit. I have fixed it by reinstalling Button Mapper. Thanks
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Flashlight needs the camera permission, it must have been revoked
[Samsung Galaxy S9+ Themes, Apps, and Mods] Kai231:
Well on the Galaxy S9, it shows this
[Samsung Galaxy S9+ Themes, Apps, and Mods] Ramiro6969:
I've found that If you update bixby to the latest version , it will let you remap the button . I've disabled almost all the bixby apps with package disabler pro, except one if you only leave bixby voice on you still have the option to remap the bixby button.
[Samsung Galaxy S9+ Themes, Apps, and Mods] ingeniousambivert:
Well I got another problem. I cant seem to give permissions through adb. When I try the adb command it says

/system/bin/sh : sh/data/data/flar2.homebutton/keyevent.sh : not found.

How do I fix it ?
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Uninstall and reinstall the app

Or do it manually

adb shell pm grant flar2.homebutton android.permission.READ_LOGS
[Samsung Galaxy S9+ Themes, Apps, and Mods] ingeniousambivert:
Thanks alot it works great.

PS. Can you tell me how to disable bixby voice popup when I long press the button ?
[Samsung Galaxy S9+ Themes, Apps, and Mods] salada2k:
This doesn't happen to me and I'm not rooted. Everything working perfectly.

[MENTION=4684315]flar2[/MENTION] This is awesome, good work. Now I'm actually happy Samsung included this extra button!
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Did you sign in to Bixby, then click the gear at the top right and disable the Bixby Key setting?
[Samsung Galaxy S9+ Themes, Apps, and Mods] ingeniousambivert:
Yes I did and that stopped the Bixby home from popping up but when I long press it the Bixby voice still comes up.
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Try switching off Bixby Voice in the Bixby Settings
[Samsung Galaxy S9+ Themes, Apps, and Mods] ingeniousambivert:
It worked after a reboot.
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Big update on the way soon
[Samsung Galaxy S9+ Themes, Apps, and Mods] Virgo_Guy:
Thats Gr8. I'm using the paid version from playstore and pretty happy with it.

Just curious about screenshot function as it kills the aod,... any workaround.. ? I know it's Samsung's part, but why would they fix it? instead they will provide updates so that no such app can Remap Bixby.
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
I don't think they are doing anything on purpose with that. Screenshot and AOD should work together, it's just using the cast API.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Virgo_Guy:
Does the default screenshot action break aod, it doesn't right?

Technically its for Samsung to fix bugs, if any. But I'm more confused at if "mapped button's- when-taking - screenshot won't break AOD" gonna happen.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Gilg@mesh:
[MENTION=4684315]flar2[/MENTION]

would it be possible to add the option to take a picture with single tap when inside any camera apps? thanks
[Samsung Galaxy S9+ Themes, Apps, and Mods] buddahj:
Just installed this and love it. I am noticing some lag on screen rotations. Anyone else experiencing this?
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
You can do that now if your phone is rooted. I'll see about doing this on an uprooted phone
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
No
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Default screenshot doesn't break AOD, but it can only be triggered with root (So rooted users don't have a problem with screenshot and aod)

The non-root screenshot uses Android's cast API. It's not even a hack or workaround, AOD should not crap out due to normal use of the API.
[Samsung Galaxy S9+ Themes, Apps, and Mods] buddahj:
That's weird. It takes about 10 seconds for the screen to rotate. It was around 3 seconds before.
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
Why would this app have anything to do with it? I'm using it to remap Bixby and rotation is normal.
[Samsung Galaxy S9+ Themes, Apps, and Mods] buddahj:
A reboot seems to have fixed it. Probably just a weird coinsidence.

[MENTION=4684315]flar2[/MENTION]
[Samsung Galaxy S9+ Themes, Apps, and Mods] Virgo_Guy:
Thanks for the clarification. But then why AOD breaks due to normal use of the cast API ? How's it gonna get fixed without root?
[Samsung Galaxy S9+ Themes, Apps, and Mods] flar2:
I don't know why AOD crashes. I haven't looked into the logs, but Samsung seems to have a lot of bugs. They make too many changes to Android.