Remap Bixby manually & using all in one gestures; Bind to flashlight [ROOT] - Samsung Galaxy S8 Guides, News, & Discussion

The bixby button is an absolute waste of a physical key on samsungs part, and ever since I got my S8 a little over a month ago I've been trying to find a way to completely remap the key without any of this bypass nonsense that flashes bixby for a moment before proceeding with your action, or returning to your home screen etc. I'm currently using a rooted S8 on renovate ice r155, with the latest AIO gestures & Tasker.
I highly recommend using MiXplorer as a root explorer, you will need one for this. Basic knowledge on using tasker will help too.
Thanks to redplate, j91co & kuaka as I've pieced together their help in order to make this work on my phone.
Links to threads here:
https://forum.xda-developers.com/galaxy-s8+/how-to/root-remap-bixby-button-o-app-t3601061/page10
https://forum.xda-developers.com/s7-active/how-to/how-to-tasker-to-assign-flashlight-t3396760
So I have made a little tutorial on how to re-assign the key; this must be done manually and does not require an app for anything other than more extensive actions.
Therefore there are two parts to this: manually re-assign the key, and linking the key to all in one gestures.
Re-assign the key:
(1) Open a root explorer, and navigate to root: /system/usr/keylayout
(2) Copy generic.kl and rename the copy to generic.kl.bak
(3) Open generic.kl and edit as text; either rename to .txt and revert back or use MiXplorer to edit directly
(4) Find '703'; it should look like # input_fw Intelligent Key for Dream key 703 WAKE (or 'WINK' depending on device version, its ok)
(5) Simply rename the entry in capitals, for example WINK to VOLUME_DOWN
(6) Save the file, reboot.
(7) If any issues, restore the backup.
Link to AIO Gestures & Tasker
For this example I'm going to show you how to use AIO gestures with Tasker to toggle the flashlight with the bixby key.
(1) Manually re assign the key as shown in the first part: use something not commonly used. I used the function DVR. Save & reboot after changing this.
(2) Download tasker & AIO gestures. Grant root permissions and accessibility permissions in settings.
(3) Open AIO gestures and go to the hard keys section; 3 dots in top corner > custom keys
(4) Press bixby, it should display what you assigned it to. In my case it showed DVR. Press add.
(5) It will now be shown in the list of hard keys. Press it once to open the menu. You can choose anything you like, im going to assign it to a tasker shortcut:
(6) Swipe to the 'shortcut' section and scroll down to task shortcut
(7) Add a new task, and filter for 'torch'. Set ' toggle'. Press back, and again.
You should now have your bixby key bound to flashlight. I've tested this and it works from the AOD too. Enjoy, and please give credit to the great oaks who figured this all out cus im a flop and couldn't have done it without them
Of course if you know how to use tasker and stuff you can do whatever you want with this, take full advantage of that button! F#ck samsung for forcing the stain bixby is into our devices.
by is on us.
I haven't tested myself, but apparently this method also works with all of the bixby apps removed.
If somebody would like to incorporate this into an app, that'd be mad and you'd be a legend for doing so.
Here is a list of some actions I have accumulated from some threads you can assign to the key:
VOLUME_DOWN
VOLUME_UP
HOME
POWER - Power menu
MUSIC - starts your favorite music player
CAMERA - Open camera
APP_SWITCH - App switcher
VOICE_ASSIST - Google Assistant
SYSRQ - Take screenshot
CALENDAR - Open default calendar
CONTACTS - default contacts
MESSAGE - Default messenger
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

I guess you have never heard of the BxActions app, on xda and the play store... Remapping of Bixby button, without root even. Works great

I've used all those apps and each of them have a quirk where it flashes open for a short time, or sends you back to the home screen. In my opinion it's not an elegant solution and just isn't fluid enough, this way bixby doesn't show up at all and it works from everywhere.

Can I open a specific app on my phone with this?
Sent from my SM-G955F using Tapatalk

beugologist said:
I've used all those apps and each of them have a quirk where it flashes open for a short time, or sends you back to the home screen. In my opinion it's not an elegant solution and just isn't fluid enough, this way bixby doesn't show up at all and it works from everywhere.
Click to expand...
Click to collapse
No Bixby flashing up anymore Also, it always worked from everywhere. Maybe that is a pro thing, but I like to donate to helpful devs, so I have pro..
toole said:
Can I open a specific app on my phone with this?
Click to expand...
Click to collapse
BxActions can...

Interesting, always used a free version and had some sort of quirk. Maybe it's improved since I last used it like the other week, but it never blocked bixby properly.
Whilst it's a nice app, you're also heaps limited to what you can assign the key too so bringing tasker to the table gives you pretty much endless possibilities.
Maybe the Devs will see this thread and incorporate this into their app for free....

Yeah, a recent BxActions update made it so Bixby doesn't come up anymore. There is an extra one-time step to take with the PC (don't need adb or anything special), but it's super easy, doesn't install anything extra, steps you through it, and takes all of about 30 seconds. It has just about every option I can think of for reassigning the button, including ability to customize actions for a long press or a double press of the button. It's come a long way even in the last few weeks in my opinion.
Although, it's nice to have options, that's what I love about Android. I just thought I'd present another option in case it wasn't known, so thanks for your post!!

Cheers for that, I had no clue they had fixed up all the blocking stuff, I'd love to check it out but I've completely removed bixby in favor for rebinding it lol. Still, that's mad that the dev has sorted it all out without the need for even adb or root; I might check it out as some point as the only thing limiting me currently I'm not sure how to configure it for double and long presses, could be my lack of knowledge with tasker, I'm still learning all this stuff.
Does BxActions have tasker support?
Anyway cheers for letting me know, it's a communal effort to get rid of Bixby

DUDE....I HAD TO MAKE AN ACCOUNT TO THANK YOU! This mod make all the Bixby disabler app obsolete! You should put this in theme and mods, it really deserve more notice!

beugologist said:
Does BxActions have tasker support?
Click to expand...
Click to collapse
This I don't know, never used tasker...
Anyway cheers for letting me know, it's a communal effort to get rid of Bixby
Click to expand...
Click to collapse
My thoughts exactly!

I recommend Button Mapper (from XDA developer flar2) from the play store. It can remap every key, and you can assign actions for press, double press and long press, too. It also has a long list of actions you can assign to the buttons. More, it doesn't need Tasker to be installed.
It has rooted and rootless mode; in rooted mode you can launch the actions even without unlocking the phone. It is very smooth and light, it doesn't flash the screen when Bixby button is pressed.

kbarni said:
I recommend Button Mapper (from XDA developer flar2) from the play store. It can remap every key, and you can assign actions for press, double press and long press, too. It also has a long list of actions you can assign to the buttons. More, it doesn't need Tasker to be installed.
It has rooted and rootless mode; in rooted mode you can launch the actions even without unlocking the phone. It is very smooth and light, it doesn't flash the screen when Bixby button is pressed.
Click to expand...
Click to collapse
BxActions does all that and more apparently, as BxActions will let you launch the actions with the phone locked, even without root... Also doesn't need tasker, is smooth, light, and doesn't flash Bixby, and does single, double, and long presses, and is also from an XDA dev...
Wait, just realized you said "remap every key", as in remapping of volume keys as well? If so, that's kind of cool, even though I don't need that for anything...

otis_bartleh said:
BxActions does all that and more apparently, as BxActions will let you launch the actions with the phone locked, even without root... Also doesn't need tasker, is smooth, light, and doesn't flash Bixby, and does single, double, and long presses, and is also from an XDA dev...
Wait, just realized you said "remap every key", as in remapping of volume keys as well? If so, that's kind of cool, even though I don't need that for anything...
Click to expand...
Click to collapse
Button Mapper does all the Bixby stuff for free, has more actions to choose from, also allows you to remap other buttons, and if you have root, is faster, more reliable and will give you even more options.

flar2 said:
Button Mapper does all the Bixby stuff for free, has more actions to choose from, also allows you to remap other buttons, and if you have root, is faster, more reliable and will give you even more options.
Click to expand...
Click to collapse
Free I don't care about, developers deserve our money, it's not easy... Remapping other buttons is cool, sounds like another good one!
---------- Post added at 09:06 AM ---------- Previous post was at 09:04 AM ----------
flar2 said:
Button Mapper does all the Bixby stuff for free, has more actions to choose from, also allows you to remap other buttons, and if you have root, is faster, more reliable and will give you even more options.
Click to expand...
Click to collapse
I hit post previously and it disappeared, so if this ends up double posting, sorry about that...
I don't care about free, developers deserve our money, coding isn't quick and easy... But re-mapping other buttons, that is cool, sounds like another good one!

toole said:
Can I open a specific app on my phone with this?
Click to expand...
Click to collapse
Yeah, you can assign it to whatever you want with tasker.

otis_bartleh said:
BxActions does all that and more apparently, as BxActions will let you launch the actions with the phone locked, even without root... Also doesn't need tasker, is smooth, light, and doesn't flash Bixby, and does single, double, and long presses, and is also from an XDA dev...
Wait, just realized you said "remap every key", as in remapping of volume keys as well? If so, that's kind of cool, even though I don't need that for anything...
Click to expand...
Click to collapse
Yeah you are literally editing the keymap file, so you can change any of the hardware buttons like this.

flar2 said:
Button Mapper does all the Bixby stuff for free, has more actions to choose from, also allows you to remap other buttons, and if you have root, is faster, more reliable and will give you even more options.
Click to expand...
Click to collapse
Thanks! I'll check it out.

I've checked out using button mapper as an alternative, and discovered only the volume keys work with the display off / device locked. Whilst it is more usefull than aio guestures, it completely defeats the purpose of having an easy to access flashlight key, considering I'd have to unlock my phone. Found that bixby actions doesn't work at all now due to remapping the key (plus im too much of a stinge to pay for long / double press, everyone with an S8 should have had this from the factory but I see nothing wrong with charging for hard work).
Found a new thread describing a method using 'Xposed edge' (pro ver here https://play.google.com/store/apps/details?id=com.jozein.xedgepro&hl=en, free one too) that supposedly does all these things plus double press, through using xposed, however im a bit skeptical using this as a solution due to the current state of xposed atm.
If anyone else knows a great tool that can remap CUSTOM keys, from anywhere (aod, lockscreen, home, in app), that supports long, double and single presses I would be forever grateful.
Whilst BxActions seems like the best solution to remove bixby (from the perspective of all users) at this point in time, I've just glanced through it to find a lack of tasker support (guess you could build your own tasker app and launch it but that's trek and a dirty solution), but cheers to jawomo for his effort with this and everyone else who's contributed.

I checked out button mapper, but still prefer BxActions since it works with the lock screen without root... Nice there are so many options...
I agree that it shouldn't be needed and we shouldn't have Bixby forced upon us when we pay as much for a phone as we did (or are)...

Thanks for this. Anyone know of a way to get it to work with the screen off? It works with the always-on display, but not if that's disabled and the screen is off.
Also, I'll warn everyone else not to do what I did on my first attempt. I used Total Commander to copy generic.kl to a non-root folder, made my changes there with TC Edit (part of Total Commander, but it can't get root access to edit system files directly), deleted the original generic.kl, then moved the edited version back to /system/usr/keylayout. I don't know why this didn't work, but after a reboot I was unable to use any keys at all - not the Bixby button, not the power button, even the on-screen keyboard refused to appear. I could unlock the phone with the fingerprint scanner and open apps, but I couldn't restore my generic.kl.bak since I couldn't delete the .bak part with no keyboard. Thankfully I had a very fresh system backup I could restore, though I'm sure I could have also renamed the .bak file with ADB. I tried again, this time editing generic.kl directly with ES File Explorer (instead of using Total Commander to edit a copy) and it worked as it's supposed to.

Related

[Q] button remap?

Is it possible to remap the menu button on the verizon s 3 to multitasking?
I'm going to think your going to have to be rooted, and maybe change something in the build prop.
Apex launcher let's customize buttons in the settings.. Just download it from the play store!
http://forum.xda-developers.com/showthread.php?t=1789000
Check out this thread. This app remaps home button but on the app Page in play store the same dev also has an app that remaps other buttons if I'm not mistaken.
Hope this helps.
Home2shortcut
Sent str8 from my half eaten Banilla Ice Cream Samich
Yes, its possible, I have my buttons totally remapped with:
Menu button - Home/Multitasking
Home button - Menu/whatever holding it down does
Back - Back
I also made it so that the home button doesn't wake the phone as well.
In a couple days (or whenever i have time really) im gonna put a guide together how to do this in detail (i havent seen an extensive one yet).
BEFORE DOING THIS, BACK UP EVERYTHING!!! I'M NOT RESPONSIBLE FOR ANY PROBLEMS OR MISHAPS.
Also, you need root for your phone to mount the system as writable.
NOTE when i first did this, i only changed one at a time, and made the mistake as not having a Menu button (i had two home buttons and a back button) which proved tricky to find a way around. Just be very careful!
In short, modify the files sec_touchkey.kl and sec_keys.kl within ES File Explorer or Root Explorer under ~/system/usr/keylayout/ . As soon as you edit these and save them, the App will automatically create a sec_touchkey.kl.bak or sec_keys.kl.bak file next to your modified file. After an edit, you'll need to reboot your phone for the changes to be in effect.
I would advise to look at these files in detail before mounting the system as writable, to avoid mistakes.
Good luck!!
usatf1290 said:
Yes, its possible, I have my buttons totally remapped with:
Menu button - Home/Multitasking
Home button - Menu/whatever holding it down does
Back - Back
I also made it so that the home button doesn't wake the phone as well.
In a couple days (or whenever i have time really) im gonna put a guide together how to do this in detail (i havent seen an extensive one yet).
BEFORE DOING THIS, BACK UP EVERYTHING!!! I'M NOT RESPONSIBLE FOR ANY PROBLEMS OR MISHAPS.
Also, you need root for your phone to mount the system as writable.
NOTE when i first did this, i only changed one at a time, and made the mistake as not having a Menu button (i had two home buttons and a back button) which proved tricky to find a way around. Just be very careful!
In short, modify the files sec_touchkey.kl and sec_keys.kl within ES File Explorer or Root Explorer under ~/system/usr/keylayout/ . As soon as you edit these and save them, the App will automatically create a sec_touchkey.kl.bak or sec_keys.kl.bak file next to your modified file. After an edit, you'll need to reboot your phone for the changes to be in effect.
I would advise to look at these files in detail before mounting the system as writable, to avoid mistakes.
Good luck!!
Click to expand...
Click to collapse
Nice! So it's possible to map the menu key to "open apps" after all? I tried messing with those files awhile ago but couldn't get the menu remapped to recent apps and hold home for menu.
I've looked all over, and tried a lot of things, and its proving more difficult than i had thought to simply remap menu longpress to recent apps, and home longpress to menu.
I tried lots of things such as switching around the order, adding "APP_SWITCH" After HOME, and "RECENT" after HOME.
It seems to me there is no command that would readily do this.
In order to do this, I'll have to dig and find where the command "HOME" actually is, take out the recent apps section from that, and add it to the location of the "MENU" command.
However, if you don't mind using the Menu button as a home button (for now), and the home button as a menu button, its as simple as switching HOME and MENU within the sec_touchkey.kl file (then rebooting).
Bumpers
Try downloading nova launcher. You can remap the keys inside its settings. I used it to set the home key to google voice search.
werked said:
http://forum.xda-developers.com/showthread.php?t=1789000
Check out this thread. This app remaps home button but on the app Page in play store the same dev also has an app that remaps other buttons if I'm not mistaken.
Hope this helps.
Home2shortcut
Sent str8 from my half eaten Banilla Ice Cream Samich
Click to expand...
Click to collapse
Good find! thanks for that. This seems to be a good app, however it is not working the way i want it to. I have Nova launcher pro installed, and the ported version of Google Now. I wanted to map the double press to launch Google now, but could not make it work. I could remap anything else though, so this is a good app to have.
---------- Post added at 01:31 PM ---------- Previous post was at 01:21 PM ----------
kmdtcs said:
Try downloading nova launcher. You can remap the keys inside its settings. I used it to set the home key to google voice search.
Click to expand...
Click to collapse
I as well have Nova Prime. I could remap the home button, but not the double tap on home button. (maybe this will help someone else out as well)

How to remap buttons?

Does anyone know how to remap app switcher button to menu, and long press back to kill app?
Thanks!
Painless001 said:
Does anyone know how to remap app switcher button to menu, and long press back to kill app?
Thanks!
Click to expand...
Click to collapse
All in one gestures app in play store seems to be the best thing we've got right now
nflwideout86 said:
All in one gestures app in play store seems to be the best thing we've got right now
Click to expand...
Click to collapse
Hey - thanks very much for the tip. Haven't come across this before, but it looks like just the thing as we await xposed and or cm. Unfortunately, can't get it to work - it requires turning on universal switch, and doing so crashes my settings due no doubt to a conflict with something I've frozen... Will try to figure it out, but thanks again...
nflwideout86 said:
All in one gestures app in play store seems to be the best thing we've got right now
Click to expand...
Click to collapse
All In One Gestures doesn't have an option for the menu key, I'm guessing it's root only.
Does anyone else have a suggestion?
xxshabsxx said:
All In One Gestures doesn't have an option for the menu key, I'm guessing it's root only.
Does anyone else have a suggestion?
Click to expand...
Click to collapse
....but the S6 doesn't even have a menu key?
nflwideout86 said:
....but the S6 doesn't even have a menu key?
Click to expand...
Click to collapse
Correct. I'm talking about adding an option to either long press or short press the recent apps button to a menu button.
xxshabsxx said:
Correct. I'm talking about adding an option to either long press or short press the recent apps button to a menu button.
Click to expand...
Click to collapse
but it does.....under hard keys...might need to press the plus icon to add the recent key and then change it to menu
and i'm pretty sure that feature doesn't require root. (i could be wrong though)
just need to turn on the accessibility service.
nflwideout86 said:
but it does.....under hard keys...might need to press the plus icon to add the recent key and then change it to menu
and i'm pretty sure that feature doesn't require root. (i could be wrong though)
just need to turn on the accessibility service.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That's what I see when I try and change it. THere isn't a menu option.
xxshabsxx said:
That's what I see when I try and change it. THere isn't a menu option.
Click to expand...
Click to collapse
Hmm...looks like you do have to be rooted.
When i'm in there the menu option sits right between the recent apps and screen off option...
nvm then
All in one gestures app
nflwideout86 said:
Hmm...looks like you do have to be rooted.
When i'm in there the menu option sits right between the recent apps and screen off option...
nvm then
Click to expand...
Click to collapse
Can anyone tell me if the All in One Gestures app works on the S6 Edge? I have a S6 Edge rooted. I installed All in One Gestures app. I setup up the app to change my recent apps button to Menu and I made the long back press into Kill app. BUT when I exit the app none of my remap changes work? All my buttons work like the normal stock setup. I have accessibility enabled and all that. I'm wondering if this app does not work on the new Lollipop version on my Edge? Does anyone have any words of wisdom for me? I'm trying to remap my buttons. Thanks.
Thank so much for this thread, I didn't even know any of this was possible. I've just come from 5 prior phones with a menu button, and I hate the Recent Apps button there. I ended up making that button do nothing (I already have the backlighting disabled), set long press on the Back button to be Recent Apps, and long press on home to Voice Search. It still doesn't give me the Menu button that I want so badly, but this will be much less frustrating. I just wish I could assign screencap to one of them. (It takes me about 8 tries to successfully get a screen cap w/ power/home.)
Anyway, thanks again!
Re-map buttons
Bueller......................Bueller.............
Personally I use Xposed Additions to re-map buttons, but you need to be rooted and have Xposed Framework (idk if it's Lollipop compatible yet, I'm on KitKat).
Xposed additions is fabulous, so if you can try and get that. You could also try Pie Controls from the play store (no root needed) and it'll let you access on screen versions of any buttons you want.
Hope that helps
Xposed Nope
Xposed does not work on Lollipop.
Bricking1 said:
Xposed does not work on Lollipop.
Click to expand...
Click to collapse
False. It's been working on Lollipop since Feb. See
Xposed
los1223 said:
False. It's been working on Lollipop since Feb. See
Click to expand...
Click to collapse
But only the Alpha version, correct? Or do they now have a stable version for LP 5.2?
Change Recent Apps Button to Menu Button
Finally figured out how to remap the Recent Apps button back to Menu....
Use a root explorer (I used X-plore with root enabled).
Go to
/system/usr/keylayout/Generic.kl
Backup file Generic.kl ( copy it as a .bk or something )
Then open the file Generic.kl using the text editor within X-plore.
Then find the word APP_SWITCH linking with the code number (mine is key 254), change APP_SWITCH to MENU. Then reboot and your are done. The Recent Apps button is now back to being a Menu button. Life is great.
---------- Post added at 06:42 PM ---------- Previous post was at 06:41 PM ----------
DevonSloan said:
Thank so much for this thread, I didn't even know any of this was possible. I've just come from 5 prior phones with a menu button, and I hate the Recent Apps button there. I ended up making that button do nothing (I already have the backlighting disabled), set long press on the Back button to be Recent Apps, and long press on home to Voice Search. It still doesn't give me the Menu button that I want so badly, but this will be much less frustrating. I just wish I could assign screencap to one of them. (It takes me about 8 tries to successfully get a screen cap w/ power/home.)
Anyway, thanks again!
Click to expand...
Click to collapse
Finally figured out how to remap the Recent Apps button back to Menu....
Use a root explorer (I used X-plore with root enabled).
Go to
/system/usr/keylayout/Generic.kl
Backup file Generic.kl ( copy it as a .bk or something )
Then open the file Generic.kl using the text editor within X-plore.
Then find the word APP_SWITCH linking with the code number (mine is key 254), change APP_SWITCH to MENU. Then reboot and your are done. The Recent Apps button is now back to being a Menu button. Life is great.
Bricking1 said:
Can anyone tell me if the All in One Gestures app works on the S6 Edge? I have a S6 Edge rooted. I installed All in One Gestures app. I setup up the app to change my recent apps button to Menu and I made the long back press into Kill app. BUT when I exit the app none of my remap changes work? All my buttons work like the normal stock setup. I have accessibility enabled and all that. I'm wondering if this app does not work on the new Lollipop version on my Edge? Does anyone have any words of wisdom for me? I'm trying to remap my buttons. Thanks.
Click to expand...
Click to collapse
I have S6 edge rooted... Tryed everything and could make All in One Gestures app works, but never assigning the menu button. I think the option of having menu is not enabled in S6 rom.
Remap the Edge
That app didn't work on my edge either. But fear not my fellow Android addict! Just edit your Generic.kl file! Change the quick app to MENU. See screen shot for file location. You want to edit key 254. Change that to MENU.
BEFORE DOING THIS COPY THE ORIGINAL Generic.kl file AND NAME IT SOMETHING ELSE like Generic.org. That way you still have the original file in case......
Bricking1 said:
Can anyone tell me if the All in One Gestures app works on the S6 Edge? I have a S6 Edge rooted. I installed All in One Gestures app. I setup up the app to change my recent apps button to Menu and I made the long back press into Kill app. BUT when I exit the app none of my remap changes work? All my buttons work like the normal stock setup. I have accessibility enabled and all that. I'm wondering if this app does not work on the new Lollipop version on my Edge? Does anyone have any words of wisdom for me? I'm trying to remap my buttons. Thanks.
Click to expand...
Click to collapse
JacobManning17 said:
Personally I use Xposed Additions to re-map buttons, but you need to be rooted and have Xposed Framework (idk if it's Lollipop compatible yet, I'm on KitKat).
Xposed additions is fabulous, so if you can try and get that. You could also try Pie Controls from the play store (no root needed) and it'll let you access on screen versions of any buttons you want.
Hope that helps
Click to expand...
Click to collapse
YES IT WORKS!!!!!!!!!!!!
Menu button working on S6 edge rooted and with Pie Control.
---------- Post added at 01:03 AM ---------- Previous post was at 12:50 AM ----------
Bricking1 said:
Finally figured out how to remap the Recent Apps button back to Menu....
Use a root explorer (I used X-plore with root enabled).
Go to
/system/usr/keylayout/Generic.kl
Backup file Generic.kl ( copy it as a .bk or something )
Then open the file Generic.kl using the text editor within X-plore.
Then find the word APP_SWITCH linking with the code number (mine is key 254), change APP_SWITCH to MENU. Then reboot and your are done. The Recent Apps button is now back to being a Menu button. Life is great.
---------- Post added at 06:42 PM ---------- Previous post was at 06:41 PM ----------
Finally figured out how to remap the Recent Apps button back to Menu....
Use a root explorer (I used X-plore with root enabled).
Go to
/system/usr/keylayout/Generic.kl
Backup file Generic.kl ( copy it as a .bk or something )
Then open the file Generic.kl using the text editor within X-plore.
Then find the word APP_SWITCH linking with the code number (mine is key 254), change APP_SWITCH to MENU. Then reboot and your are done. The Recent Apps button is now back to being a Menu button. Life is great.
Click to expand...
Click to collapse
Did not worked on my S6 edge....
Tnx for trying!

Is there a No-Root Solution to bringing the Menu Button Back?

I am migrating from a pre-"recent apps" button phone, and I absolutely hate the recent apps button.
I constantly press it by accident, and since my finger was trying to do something close to where that dumb button is I also constantly accidentally click "close all".
I put my most used apps on my home screen, I don't need to ever see my most recent apps.
What I do like, is being able to open the menu whenever I want to, with a simple button press. I use some old apps that aren't cluttered with "more" or "..." buttons, so getting the menu to come up is a huge pain (holding the back button for eternity).
I'd rather have a much less useful function mapped to long-press than the actually useful function I tend to use frequently (quickly accessing the menu for a save-state with emulators...)
None of the solutions I've seen allow you to do anything with the menu button without root.
There is a thread in the S6 forum talking about modifying your generic file, but that appears to require root and I'm not sure if the procedure is the same for the S7.
There are threads that suggest "Buttons Remapper (no root)" allows you to do this, but having installed this I can verify that anything involving the "Menu" function *does* require root for this app.
Are there any true no-root options to substituting the recent-apps button with the menu button?
All in one gesture
Nandeee627 said:
All in one gesture
Click to expand...
Click to collapse
I wish this was the case. You can not set "Menu" as the action for the keys unless your phone is rooted.

Button Mapper (remap Bixby and other buttons)

Button Mapper on the Play Store:
https://play.google.com/store/apps/details?id=flar2.homebutton&hl=en
If your device is rooted, you have complete ability to remap the Bixby Button. You can disable the Bixby assistant, it does not need to be enabled for this to work. There are no compromises with this method. You can get rid of Bixby and program whatever single, double and long press actions you want.
If your device is not rooted, you can still remap Bixby using an experimental method. This method also works with Bixby disabled, and will allow you to map whatever actions you like to a single press or long press. It requires running a command in adb shell once. After this, the Bixby button can be remapped with Button Mapper. A slight inconvenience, but it works.
If you don't like the stuttering that occurs on Samsung devices with certain Accessibility features enabled, got to Advanced Options and select "Remap Bixby only"

Sweet, installing this now. I'll let you know if it works on my phone. Just what I was looking for.
---------- Post added at 12:44 PM ---------- Previous post was at 12:23 PM ----------
It works fantastic on my cricket wireless s8 with unlocked firmware on it. Just tells me I will need to resubmit the adb command anytime I restart my phone. No big deal. This is great. No more Bixby..haha.
Its working just fine, i do not have any bixby apks on my device, and with root even working with screen off. Thanks @flar2 for your great work again.
Bought Premium already!
Installing now thanks @flar2
sent from dans R.I.C.E powered V8+ on one of jesses kernels
@flar2 can you do the commands in terminal emulator or does it need adb shell?
t12icky0 said:
@flar2 can you do the commands in terminal emulator or does it need adb shell?
Click to expand...
Click to collapse
Needs adb shell, no way around that.
flar2 said:
Needs adb shell, no way around that.
Click to expand...
Click to collapse
No big to me, well worth it.
Sent from my SM-G950U1 using Tapatalk
t12icky0 said:
No big to me, well worth it.
Sent from my SM-G950U1 using Tapatalk
Click to expand...
Click to collapse
The only time I ever reboot is for system updates, so not a big deal for me either.
Hi flar,
Quick question, I already remapped my Bixby button to ASSIST action to have Google assistant on button press.
I am therefore rooted.
Would I need to remap the button to the stock feature, or can I leave it like this ?
Works like a charm ? thanks ?
Paradoxxx said:
Hi flar,
Quick question, I already remapped my Bixby button to ASSIST action to have Google assistant on button press.
I am therefore rooted.
Would I need to remap the button to the stock feature, or can I leave it like this ?
Click to expand...
Click to collapse
I'm not exactly sure what you're asking. You should be able to remap whatever you like. With root you can do almost anything.
best!
This is great!
flar2 said:
I'm not exactly sure what you're asking. You should be able to remap whatever you like. With root you can do almost anything.
Click to expand...
Click to collapse
My question is, should I revert the Generic Keylayout to its original state to use that app properly or not.
The only issue I have seen is now the volume slider only has 4 steps of volume instead of the 15 steps it used to have. When I do a volume up up or down it goes 25% each way. I uninstall this and it goes back to normal.
Am I missing something or what is the ADB command that I need to use?
Never mind.
Paradoxxx said:
My question is, should I revert the Generic Keylayout to its original state to use that app properly or not.
Click to expand...
Click to collapse
Oh I see. You should not need to change the key layout, the point of the app is to modify without having to do that. It may not even work correctly if you've modified the keylayout file.
Really appreciate this app! Got the pro already.
About the Tasker intent, how does it work really?
Can't wait to test this app, although I have a question..why does this app needs access to observe the text you write, thy is this needed? Until now I used bxActoins which did not needed this but yours doesn't need bixby services enabled so I would like to try it.. I'm just curious why is this needed
EDIT: Just tried the app and its working really really well, I am very pleased with the result on non-rooted phone Is there a way to add the google now screen scan option to open? I used to get this smart screen search with the google now on my HTC 10 but now with this I can only see it opens either google assistant or google search..
Thank you for all your hard work, I appreciate it
App works great but it's limited on the functions of the button. Would be nice to be able to start up any app. Also, after uninstalling and rebooting, I can't seem to get bxActions to work again. The button is just disabled and doesn't do anything.

[APP] Button Mapper: Remap Bixby single, double and long press for FREE

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
.
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)?
Perfect! Thank you. Why won't it work with the screen off though?
Zyphur said:
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)?
Click to expand...
Click to collapse
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.
SalamanderBoy said:
Perfect! Thank you. Why won't it work with the screen off though?
Click to expand...
Click to collapse
It used to, I think Samsung must have changed something.
EDIT: actually, I did something. I will re-enable screen off next update.
SalamanderBoy said:
Perfect! Thank you. Why won't it work with the screen off though?
Click to expand...
Click to collapse
Version 0.64 restores Bixby while screen is off. Update is rolling out now.
Works! Thank you! Going to donate now .
flar2 said:
Version 0.64 restores Bixby while screen is off. Update is rolling out now.
Click to expand...
Click to collapse
Good app, however, it needs a permission to record video!
can you please explain why?
El Maestro said:
Good app, however, it needs a permission to record video!
can you please explain why?
Click to expand...
Click to collapse
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.
flar2 said:
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
.
Click to expand...
Click to collapse
Thanks for great work man
Sent from my Samsung SM-G965F using XDA Labs
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!
Please see attached image.
View attachment 4454173
I just got this on my S9+. That's a lot of juice don't you think?
SalamanderBoy said:
Please see attached image.
I just got this on my S9+. That's a lot of juice don't you think?
Click to expand...
Click to collapse
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.
SalamanderBoy said:
Please see attached image.
View attachment 4454173
I just got this on my S9+. That's a lot of juice don't you think?
Click to expand...
Click to collapse
It shouldn't use any noticeable amount of battery.
flar2 said:
It shouldn't use any noticeable amount of battery.
Click to expand...
Click to collapse
You're correct, it shouldn't.
SalamanderBoy said:
You're correct, it shouldn't.
Click to expand...
Click to collapse
And it doesn't. I'm running it on a S9 and and an S8 for several months and battery use is negligible.
flar2 said:
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
.
Click to expand...
Click to collapse
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.
ingeniousambivert said:
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.
Click to expand...
Click to collapse
Are you using the screenshot action? That's what breaks AOD. It will work if you root.
flar2 said:
Are you using the screenshot action? That's what breaks AOD. It will work if you root.
Click to expand...
Click to collapse
Yeah I use that. I ll try disabling it
ingeniousambivert said:
Yeah I use that. I ll try disabling it
Click to expand...
Click to collapse
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).

Categories

Resources