Dev discussion: Bixby Button Remap after Update

Termynat0r

Senior Member
Jan 20, 2015
207
58
0
Germany
Dev discussion:

I think what the button does is launch an intent which opens the Bixby app. Maybe if I record the intent identifier and use it in a 3rd party app (maybe also with the Bixby package name) my 3rd party app intent will be called on button press. Then I could redirect the call to whatever the user wants to happen.

I will try this as soon as possible, tell me what you think
 

Termynat0r

Senior Member
Jan 20, 2015
207
58
0
Germany
So I recorded the actual intent:
Code:
ActivityManager: Unable to start service Intent { 
	cmp=[B]com.samsung.android.bixby.agent/com.samsung.android.bixby.WinkService[/B] launchParam=MultiScreenLaunchParams { 
		mDisplayId=0 mBaseDisplayId=0 mFlags=0 
	} (has extras) 
} U=0: not found
Now the problem is that I can't seem to install a package with the same name even though the original Bixby package is disabled.. I also can not upgrade because Samsung throws me an error.

I'm not sure if I can catch the intent without having the matching package name but I will try that next
 
Last edited:
  • Like
Reactions: tzmx and ieatacid

datajosh

Inactive Recognized Contributor
Nov 13, 2009
1,274
784
143
Greenville, SC
I have a feeling this won't end up being possible without root access. Since they're intercepting it before it gets to the accessibility service, I bet you won't be able to intercept the intent from a user level app either. I'd love to be wrong, but even then Samsung could probably patch it again.
 

Termynat0r

Senior Member
Jan 20, 2015
207
58
0
Germany
I have a feeling this won't end up being possible without root access. Since they're intercepting it before it gets to the accessibility service, I bet you won't be able to intercept the intent from a user level app either. I'd love to be wrong, but even then Samsung could probably patch it again.
I guess you are right. What I've found out is that I can detect a button press with "logcat | fgrep -i WinkService" (try this via adb). This is more of a dirty solution but nevertheless it works.

Of course they will patch it but there's always a possibility.
 

xgman

Senior Member
Sep 17, 2013
338
35
0
Is there any way to envoke bixby without the hard button? It is not listed as an app of any sort. By the way, so far "bx actions" still works on my Verizon S8 but I haven't yet had any updates available.
 
Last edited:

Termynat0r

Senior Member
Jan 20, 2015
207
58
0
Germany
Is there any way to envoke bixby without the hard button? It is not listed as an app of any sort. By the way, so far "bx actions" still works on my Verizon S8 but I haven't yet had any updates available.
It can be called from any app. So an app that remaps the button could also place a Bixby shortcut in the launcher
 

xgman

Senior Member
Sep 17, 2013
338
35
0
Tried a bixby shortcut in Nova but it crashed on launch when the button was mapped to something else. Not sure if it would have worked if the button was not remapped.
 

ieatacid

Senior Member
Apr 1, 2010
302
210
63
43
Scranton, PA
Is there any way to envoke bixby without the hard button? It is not listed as an app of any sort. By the way, so far "bx actions" still works on my Verizon S8 but I haven't yet had any updates available.
You can use Quick Shortcut Maker.

Code:
Application: Hello Bixby
Activity: Hello Bixby
Package/Class: com.samsung.android.app.spage/com.samsung.android.app.spage.main.MainActivity
Goole Play: https://play.google.com/store/apps/details?id=com.samsung.android.app.spage

--
This information is exported by QuickShortcutMaker v2.4.0.
https://play.google.com/store/apps/details?id=com.sika524.android.quickshortcut
Sent from my SM-G955U using XDA-Developers Legacy app