The ultimate solution for assigning an action or application to the Bixby button
I found a trick to assign the Bixby button to an action, application and more... Support a single click, double-click and hold (also works the screen off)
Here are the functions you can assign to the Bixby button
Navigates: back, home, recent apps...
Controls: sleep/wake up, show power menu, shutdown, reboot, expand notifications panel...
Rotation control.
Media controls: play/pause, next, previous, stop...
Fast scroll: scroll to top/ bottom.
Edit: copy, paste...
Universal copy, one tap copy text every where.
Settings: auto brightness, rotation, wifi, mobile data...
Start app/shortcut/activity, finish activity, previous app/next app, kill app...
Freezer: freeze/thraw app.
Input gesture, key event, text...
Shortcut panel, app drawer, freezer drawer, side bar...
Floating widget.
Swipe adjust: swipe on the edge to adjust brightness, screen filter, volume...
Gesture pointer, extends your finger.
Notification, speech, toast.
Screen filter, torch.
Conditional: if screen on, keyguard on, wifi connected/disconnected, battery level, time period, wifi connected to, app focused...
Multi action, saved multi action.
...
Disclaimer:
I AM NOT RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR DEVICE IF YOU DECIDE TO USE THIS GUIDE. IT'S PRETTY SAFE THOUGH BECAUSE I HAVE HEAVILY TESTED EVERYTHING THAT I WROTE.
Required
All Samsung rom custom Android 8.0, 8.1.x
A root access (preferably MAGISK)
Step 1
Remap Bixby Button
As in the article :
1. Go with any root Explorer (I'm using Solid Explorer) to /system/usr/keylayout
2. Rename the Generic.kl to Generic.txt
3. Open this file with an text editor
4. Search for 703 to get following entry: # input_fw Intelligent Key for Dream key 703 WINK
5. Change it to whatever you want. I simply tried following: # input_fw Intelligent Key for Dream key 703 ASSIST
6. Rename it back to Generic.kl (otherwise you won't be able to press any hardware button after reboot)
7. Check permissions
8. Restart your device
For now, Bixby is used Google Assitant with item display on the screen
Other order :
HOME - Homebutton
POWER - Powermenu
MUSIC - Starts your favorite music player
MEDIA_PLAY_PAUSE - Play pause media
VOLUME_UP - Sets volume up
VOLUME_DOWN - Sets volume down
VOLUME_MUTE - Volume media (set default media volume in phone setting)
CAMERA - Starts camera app
APP_SWITCH - Recent apps button
ASSIST - Google Assistant (with item display on the screen)
VOICE_ASSIST - Google Assistant (fast)
QPANEL_ON_OFF - Notification area
EXPLORER - Favorite internet browser
SYSRQ - Screenshot
PAGE_UP
PAGE_DOWN
CALCULATOR
CALENDAR
CONTACTS
CALL
If you want to be able to use more features such as double-clicking, long-clicking, launching an application, adjusting the vibrator or other, leave "ASSIST" and continue the steps.
Picture with the SEARCH function :
{
"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"
}
Source : https://forum.xda-developers.com/galaxy-s8+/how-to/root-remap-bixby-button-o-app-t3601061
Step 2
Install Xposed
Flash zip Xposed with Magisk, TWRP or FlashFire.
If your phone is rooting with Magisk (best method) :
Launch Magisk Manager to search, download and install the "Xposed Framework (SDK 26)" for Android 8.0 and SDK27 is Android 8.1.
or
How-to flash with TWRP :
1. Transfer the zip and apk to your phone.
2. Now boot into TWRP by pressing bixby+volume up+power on while phone is turned off
3. Go to "Install" menu of TWRP select the zip and flash the zip.
4. Restart the phone and Install the apk and run the application to verify that everything is green
or
How-to flash with FlashFire :
1. Transfer the zip and apk to your phone.
2. Install FlashFire
3. Start the application and press "+"
4. Choose "Flash ZIP or OTA" and select the zip
5. Select "Auto-Mount" and "Mount / system read / write" and validate
6. Press "Flash" and "ok" then wait until the phone restarts
7. Install the apk and run the application to verify that everything is green
The link for the ZIP to flash (xposed) for 8.0
https://dl-xda.xposed.info/framework/sdk26/arm64/xposed-v90-sdk26-arm64-beta3.zip
The link for the ZIP to flash (xposed) for 8.1
https://dl-xda.xposed.info/framework/sdk27/arm64/xposed-v90-sdk27-arm64-beta3.zip
The link for the "Xposed Installer apk"
https://forum.xda-developers.com/attachment.php?attachmentid=4393082&d=1516301692
A link to uninstall Xposed in case of problem (zip to flash with TWRP):
https://dl-xda.xposed.info/framework/uninstaller/xposed-uninstaller-20180117-arm64.zip
Source Xposed Nougat :
https://forum.xda-developers.com/showthread.php?t=3034811
Step 3
Customize the Bixby Button
This module provides you Gesture control, Key control and other smart triggers. to trigger actions you want.
Next, download "Xposed edge" or "Xposed edge pro" from the Play Store and activate the "Xposed edge" module in "Xposed Installer" and then restart the phone.
1. Launch the Xposed Edge module and activate "Keys" and access it
2. Press Add and click on the Bixby button
3. Activate the newly assigned Bixby button (KEYCODE_ASSIST)
4. And with the arrow on the side assign an action for a single click, double-click and hold down
Do not forget to activate key control and the button assign
And now it will work
Bonus
Gesture for navigation with Xposed Edge:
https://www.youtube.com/watch?v=DkAGCtbJr-U&feature=youtu.be
You have the possibility to choose a side of the screen, and to assign an action with a slide in the desired direction.
The sources that allowed me to realize this guide
Links to threads here:
https://forum.xda-developers.com/showthread.php?t=3034811 rovo89
https://forum.xda-developers.com/galaxy-s8+/how-to/root-remap-bixby-button-o-app-t3601061 redplate
Sorry for mistakes, I speak french
Not trying to shill here, but bxactions still works flawlessly without the need for root.
Worked fine on s960FD
Thanks a lot
How to change it to Immersive mode?
obedmaleka said:
The ultimate solution for assigning an action or application...
Click to expand...
Click to collapse
I've been looking how to apply theses steps o a Samsung Galaxy with Lineage OS.
You can follow the steps as described in the post, but you won't find button 703 on the "Generic.kl" file. You have to search for a file named "gpio_keys.kl" on the same folder:
/root/system/usr/keylayout/
Click to expand...
Click to collapse
Also, I've found other commands to try if you wish:
APP_SWITCH - Recent apps button
ASSIST - Google Assistant (with item display on the screen)
CALCULATOR - Open default calculator app
CALENDAR - Open default calendar
CALL - Open default call app
CAMERA - Open camera
CONTACTS - Open default contacts app
EXPLORER - Favorite internet browser
HOME - Homebutton
MEDIA_PLAY_PAUSE - Play pause media
MESSAGE - Default messenger
MUSIC - starts your favorite music player
POWER - Power menu
QPANEL_ON_OFF - Notification area
SYSRQ - Take a screenshot
VOICE_ASSIST - Google Assistant
VOLUME_DOWN - Sets volume down
VOLUME_MUTE - Volume media (set default media volume in phone setting)
VOLUME_UP - Sets volume up
All the steps described above have worked for me on a Galaxy S8 and a Galaxy S9+, with Lineage OS 15.1 and Lineage OS 16.
adrian0541 said:
I've been looking how to apply theses steps o a Samsung Galaxy with Lineage OS.
You can follow the steps as described in the post, but you won't find button 703 on the "Generic.kl" file. You have to search for a file named "gpio_keys.kl" on the same folder:
Also, I've found other commands to try if you wish:
APP_SWITCH - Recent apps button
ASSIST - Google Assistant (with item display on the screen)
CALCULATOR - Open default calculator app
CALENDAR - Open default calendar
CALL - Open default call app
CAMERA - Open camera
CONTACTS - Open default contacts app
EXPLORER - Favorite internet browser
HOME - Homebutton
MEDIA_PLAY_PAUSE - Play pause media
MESSAGE - Default messenger
MUSIC - starts your favorite music player
POWER - Power menu
QPANEL_ON_OFF - Notification area
SYSRQ - Take a screenshot
VOICE_ASSIST - Google Assistant
VOLUME_DOWN - Sets volume down
VOLUME_MUTE - Volume media (set default media volume in phone setting)
VOLUME_UP - Sets volume up
All the steps described above have worked for me on a Galaxy S8 and a Galaxy S9+, with Lineage OS 15.1 and Lineage OS 16.
Click to expand...
Click to collapse
How to set immersive mode.
On Samsung Galaxy S9 under Lineage OS 17 this button described in gpio_keys.kl
Switched it to Camera - and now camera (OpenCamera) took photos on button press, but don't launch when button is pressed.
Also no need to rename files and so on - just use ADB, remount / in RW mode and edit files in nano (it built-in in Lineage OS)
Install Xposed edge from PlayStore. Works well on S9+ with Lineageos 17.1 and Edxposed.
Got a Note 8 and flashed the Project Sakura ROM. This has disabled that bixby button (dont know how) Even bxactions does not show it. Will this xposed module give me back access to that button?
Does anyone know what the code is for the flashlight?
So, I've been able to work out everything but everytime i press my bixby button for its single double and long press functions, assistant pops up. The functions work flawlessly but assistant also launches. Is there any way to avoid it ? Like use another code in "gpio_keys.kl" and get xposed to work ?
I'm using Galaxy S8 exynos with Lineage OS 19.1
Related
Introduction:
So you have a Pebble and you love how you can check your emails and mute your boss's call without even looking at your phone?
It's all really cool, but if you're anything like me, that's just not enough. You want to do more with even less effort.
How can we expand the possibilities to near-infinity?
With the help of three awesome apps:
- Tasker [Paid]
- AutoPebble [Free/Paid]
- PebbleTasker [Paid]
Other apps mentioned in this guide:
- Canvas for Pebble [Free]
- Calendar for Pebble [Free]
Note: You can use the free version of AutoPebble, but Tasker is a must.
I believe most of you know how powerful tool Tasker is, so imagine all those possibilities on your wrist and let's do something practical:
The Basics of AutoPebble:
Every watchapp, that has a companion app or a settings in the Pebble app communicates through the Pebble app itself.
AutoPebble's purpose is to intercept and filter these communications right from Tasker and execute tasks accordingly.
My favorite feature is the ability to start watchapps on your Pebble.
One of my profile:
When I press button DOWN in Canvas it will load the Calendar watchapp.
1) To be able to load an app, we need to know the apps UUID (it's an id that is unique to every app):
a) start the AutoPebble app on your phone (you don't have to install the watchapp, it is for more advanced stuff) and make sure the "Automatically Detect" is ticked.
{
"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"
}
b) now start the Calendar watchapp on your Pebble, AutoPebble should recognise its UUID.
c) in AutoPebble open "Manage Other Pebble Apps" and longpress on the new entry, it is convenient to rename it to Calendar, now longpress again and Enable it
(if AutoPebble doesn't recognise an app, you have to manually type in the UUID, Calendar's one is: b41e3dcf-6162-4147-9c58-643e1091fb93)
d) now you have to do the same with Canvas (it's UUID is 654db887-5135-4b22-be8b-2e1b5c0cb49d)
(you have to do this procedure for every watchapp you'd like to interact with)
2) Open Tasker and create a new task:
a) add an action to it: Plugin->AutoPebble App
b) click on Configuration and scroll down to Other Pebble App, choose Calendar from the list
c) click on Action and choose Open
Note: now if you execute the task, the Calendar watchapp should start on your Pebble
3) Check the buttons and values we want to trigger the task:
a) open AutoPebble app on your phone
b) check Log other Apps
c) go to Log Listing
d) press the button on your Pebble while in Canvas (Canvas' button's are 200 and values are CL_S1 for UP, CL_S2 for SELECT and CL_S3 for DOWN)
4) Open Tasker and create a new profile:
a) choose State->Plugin->AutoPebble Other App
b) click on Configuration
c) App: Canvas
d) Direction: Watch To Phone
e) Key Filter: 200
f) Value Filter: CL_S3
Important: to make this work, uncheck every watchface in the Canvas app, except the active one
Now if you press the DOWN button while in Canvas, Tasker will catch the command and launch the Calendar watchapp.
Additional notes: This only works with watchfaces that actually send commands to the phone and sadly the BACK button cannot be intercepted.
PebbleTasker:
PebbleTasker is a handy watchface, that lets you execute any Tasker task on your phone. I'm no Tasker guru, but I use it to mute my phone, turn on/off tethering, and launch more watchfaces.
If you launch the PebbleTasker app on your phone, you can assign 3 Tasker task to the three button and one-one to longpress UP/DOWN.
If you click on "More..." and "Select Tasks for menu" you can assign another 20 tasks to the list which comes up if you longpress SELECT.
Tip: If you create an AutoPebble App task with a "Key filter: 0" you can start Canvas (or anything) on a button press in PebbleTasker while the task is being executed on your phone.
Outro:
This guide only covers the very basics of these awesome apps, but if you grasp these concepts you can do pretty much anything Tasker can do without taking out your phone and make app switching on your Pebble more dynamic.
I hope you appreciate my guide and find it useful. :fingers-crossed:
Not so bright... I have the calendar on Pebble but can't do anything with it. This step:
d) press the button on your Pebble (Canvas' button's are 200 and values are CL_S1 for UP, CL_S2 for SELECT and CL_S3 for DOWN)
WHICH button on my Pebble?
@rogerperk:
The one you want to use to start calendar. It can be any one of the UP, SELECT, DOWN.
This step's reason is to see what commands the buttons in different watchapps send to the phone (or to check if they send any).
Erovia said:
@rogerperk:
The one you want to use to start calendar. It can be any one of the UP, SELECT, DOWN.
This step's reason is to see what commands the buttons in different watchapps send to the phone (or to check if they send any).
Click to expand...
Click to collapse
Yeah, that's what I thought. Can't seem to get it to work though. Let me try again... Can't get it to pull up though. I lose it at setp 4 - Create Another State.
@rogerperk: I've just realised I've made a few mistakes and corrected them.
Erovia said:
@rogerperk: I've just realised I've made a few mistakes and corrected them.
Click to expand...
Click to collapse
Well I must be doing something wrong because I get to step 3 (check buttons) and it doesn't work.
You have Canvas and Calendar in AutoPebble's "Manage Other Pebble Apps" list?
Are they enabled?
Is "Log other Apps" turned on?
Is there any info in the "Log listing"?
erovia said:
you have canvas and calendar in autopebble's "manage other pebble apps" list?
are they enabled?
is "log other apps" turned on?
is there any info in the "log listing"?
Click to expand...
Click to collapse
yes
yes
yes
yes. A bunch of in app licence success notifications.
@rogerperk: You have to be in Canvas to catch its button values.
Erovia said:
@rogerperk: You have to be in Canvas to catch its button values.
Click to expand...
Click to collapse
Maybe I"m missing something. I now have calendar and weather on my up and down buttons. But I thought they would open those programs from my main watchface, which is a Canvas face. Instead I have to go into PebbleTasker, through the menu, on my watch and activate them. Is that right??
PebbleTasker simply starts Tasker tasks on your phone. To be able to use the buttons we have to use AutoPebble.
Also, Canvas have to be installed as a watchapp, because watchfaces can't send commands to your phone.
This thread supports Xposed for stock MIUI
{
"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"
}
What is Xposed Framework?
Xposed Framework is a framework for your rooted Android phone. It in itself does not do much. But it lets you install other apps/mods/tweak with system level functionality without having to flash them via custom recovery.
Xposed Framework makes it a lot easier to customize/mod your phone. Not only can you change the looks of your Android phone, but also increase its performance and tweak system level functionality with Xposed Framework.
Download Xposed Framework for MIUI HERE.
& Xposed Installer Apk HERE.
Top Xposed Modules For Your Device
1. XInternalSD
This module changes value (path to internal SD card) in some Android APIs which apps use. Control this path in module's settings. You can enable this module for all apps or only for specific apps. Also you can enable full access to external SD card (for KitKat+)
Download XInternalSD
2. xMIUI
Features:
- Customize grid columns and rows in launcher
- Customize launcher icons size, labels, hotseat labels
- Customize number of columns on open folder
- Customize recent tasks animation
- Customize notification icons like AOSP icons
- Flexible customization of icons in status bar (positions, size and so on)
- Allows display notifications text in status bar
- Allows to expand notifications by clicking it
- Allows to select widget that will be displayed on lockscreen (may not works with custom themes)
- Allows to answer incoming call by placing phone closely to ear
- Allows to switch audio route from ear-speaker to speaker by proximity sensor
- PIN with time option
- Customize hardware buttons actions
- Customize volume settings
and many other...
Download xMIUI
3. Youtube Adaway
This is a simple Xposed module to help you get rid of ads on the official YouTube App, it also supports YouTube TV/Gaming/Kids
What's in:
- Remove YouTube Ads
- Remove Channel Logo
- Remove videos suggestions
- Remove Information card teasers
Download Youtube Adaway
4. Youtube Swipe To Seek
(Lollipop and above)
Swipe left-right to seek, swipe up-down to change volume in youtube video player. Changing volume only works if you're in full screen mode.
Download Youtube Swipe To Seek
5. WA Tweaks
There is a lot of tweaks available in which some of them can be found on WhatsApp, and some of them are yet to come which is great.
Features include:
- Unsend messages
- Location sharing
- More chat and privacy tweaks
Download WA Tweaks
6. MIUI 8 Tweaks
This application is a Xposed Module. It allows you to fine-tune MIUI firmware and its applications. There is a lot of options! You can change the graphical elements, the system behavior when you press the buttons, control music playback by volume buttons, use alt-tab, turn off the screen by doubletap, more finely control the volume, change the desktop grid, fix some firmware errors and much more!
Download MIUI 8 Tweaks
7. Greenify
Greenify help you identify and put the bad behaving apps into hibernation when you are not using them, stop them from battery leeching, memory hogging and stealthy running, in an elegant and unique way! They could do nothing without your explicit launch, while still have full functionality when running in foreground. Like what iOS apps act!
Download Greenify
8. Min Min Guard
It can completely remove both the ads inside apps and the empty space caused by those ads. Conventional ads removing apps are only able to block the ad content, but the space taken by the ad will still remain unused (black). MinMinGuard successfully removes that black space, which extends the app window and makes your user-experience better.
Download Min Min Guard
9. Swipe Back
Here is a Xposed module, which adds global swipe back gesture to your Android phone or tablet.
Features:
* Global swipe back gesture
* Per-app settings
* Custom gesture direction
Download Swipe Back
10. xStana
XSTANA is an XPOSED-FRAMEWORK module that theme your navigation and status bars.
Download xStana
If you've more Xposed Module suggestions, please add it in the comments below.
adithbalan said:
This thread supports Xposed for stock MIUI
What is Xposed Framework?
Xposed Framework is a framework for your rooted Android phone. It in itself does not do much. But it lets you install other apps/mods/tweak with system level functionality without having to flash them via custom recovery.
Xposed Framework makes it a lot easier to customize/mod your phone. Not only can you change the looks of your Android phone, but also increase its performance and tweak system level functionality with Xposed Framework.
Download Xposed Framework for MIUI HERE.
& Xposed Installer Apk HERE.
Top Xposed Modules For Your Device
1. XInternalSD
This module changes value (path to internal SD card) in some Android APIs which apps use. Control this path in module's settings. You can enable this module for all apps or only for specific apps. Also you can enable full access to external SD card (for KitKat+)
Download XInternalSD
2. xMIUI
Features:
- Customize grid columns and rows in launcher
- Customize launcher icons size, labels, hotseat labels
- Customize number of columns on open folder
- Customize recent tasks animation
- Customize notification icons like AOSP icons
- Flexible customization of icons in status bar (positions, size and so on)
- Allows display notifications text in status bar
- Allows to expand notifications by clicking it
- Allows to select widget that will be displayed on lockscreen (may not works with custom themes)
- Allows to answer incoming call by placing phone closely to ear
- Allows to switch audio route from ear-speaker to speaker by proximity sensor
- PIN with time option
- Customize hardware buttons actions
- Customize volume settings
and many other...
Download xMIUI
3. Youtube Adaway
This is a simple Xposed module to help you get rid of ads on the official YouTube App, it also supports YouTube TV/Gaming/Kids
What's in:
- Remove YouTube Ads
- Remove Channel Logo
- Remove videos suggestions
- Remove Information card teasers
Download Youtube Adaway
4. Youtube Swipe To Seek
(Lollipop and above)
Swipe left-right to seek, swipe up-down to change volume in youtube video player. Changing volume only works if you're in full screen mode.
Download Youtube Swipe To Seek
5. WA Tweaks
There are amazing features of the application which will help you to edit many settings in the application and just some clicks. There is a lot of tweaks available in which some of them can be found on WhatsApp, and some of them are yet to come which is great.
Download WA Tweaks
6. MIUI 8 Tweaks
This application is a Xposed Module. It allows you to fine-tune MIUI firmware and its applications. There is a lot of options! You can change the graphical elements, the system behavior when you press the buttons, control music playback by volume buttons, use alt-tab, turn off the screen by doubletap, more finely control the volume, change the desktop grid, fix some firmware errors and much more!
Download MIUI 8 Tweaks
7. Greenify
Greenify help you identify and put the bad behaving apps into hibernation when you are not using them, stop them from battery leeching, memory hogging and stealthy running, in an elegant and unique way! They could do nothing without your explicit launch, while still have full functionality when running in foreground. Like what iOS apps act!
Download Greenify
8. Min Min Guard
It can completely remove both the ads inside apps and the empty space caused by those ads. Conventional ads removing apps are only able to block the ad content, but the space taken by the ad will still remain unused (black). MinMinGuard successfully removes that black space, which extends the app window and makes your user-experience better.
Download Min Min Guard
9. Swipe Back
Here is a Xposed module, which adds global swipe back gesture to your Android phone or tablet.
Features:
* Global swipe back gesture
* Per-app settings
* Custom gesture direction
Download Swipe Back
10. xStana
XSTANA is an XPOSED-FRAMEWORK module that theme your navigation and status bars.
Download xStana
If you've more Xposed Module suggestions, please add it in the comments below.
Click to expand...
Click to collapse
Thank you bro
preetnoobie said:
Thank you bro
Click to expand...
Click to collapse
always. ?
I think adblock reborn should be added
I found this Custom Navigation Bar app developed by paphonb on a different XDA thread - but it works perfectly on the Note 8. The app can be downloaded from the Play Store here
Using this app you can add up to 2 additional icons to the Navigation bar (one on the far left and the other on the far right) each with a tap or double-tap action that can launch apps or a tasker event. It works fantastically on my N8 with no lag whatsoever, and I now have 4 actions that I can easily access from any screen.
{
"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"
}
Features
- Add custom buttons to your navigation bar
- Customizable navbar layout
- Tasker integration for contextual navbar
- Easy to setup
- No root or xposed required
Compatibility
- May not work on Touchwiz launcher. (I use Lightning Launcher and it works fine)
I set mine up as follows:
Left
- Single tap: launch a dictionary
- Double tap: mute sound
Right side
- Single tap: toggle screen auto-rotate
- Double tap: kill current app
Tutorials
There are tutorials on how to set up the icons scattered throughout the 58 pages of the original thread. I have summarized them all here in one place
[Credit to Mishaal Rahman and dariomrk for writing these]
Requirements for launching Tasker Events
- Tasker ($2.99)
- AutoInput Beta (v2.0.5b.bf) (~$1.70)
1. Instructions for triggering a Tasker event
1. Configure a custom button as you would, but this time, set button type to "Tasker event" instead of "Keycode".
2. Open tasker and press add in profiles tab
3. Select "Event"
4. Select Plugin -> Custom Navigation Bar
5. Click on pencil icon to edit event
6. Select the profile you have the button set up. If you set up the button you want in "Navigation bar" section of the app, select "None"
7. Select the button that you have set up. If the option is greyed out, check if you done step 1 correctly
8. Save the event and add an action for that tasker profile.
Note:
When pressing the button first time, if a dialog pops up, select "Custom Navigation Bar" and press "Always"
2. Instructions to change the buttons to keyboard cursors whenever the keyboard is displayed
https://www.xda-developers.com/how-...ard-cursors-to-the-nav-bar-during-text-input/
** I find this one really useful as do not normally have these showing on my Swiftkey keyboard.
3. Instructions to change the buttons to media playback controls when playing Music
https://www.xda-developers.com/how-to-add-media-playback-controls-to-the-nav-bar-when-playing-music/
4. Detailed Instructions for setting up the Custom Navigation Bar
Firstly you will need:
- A PC with adb and fastboot installed; (Refer to this thread: https://forum.xda-developers.com/showthread.php?t=2588979 for how to install these);
After you have adb set up, open up a CMD window and type:
Code:
cd "Program Files(x86)\adb"
adb shell
pm grant xyz.paphonb.systemuituner android.permission.WRITE_SECURE_SETTINGS
Important: Replace "Program Files(x86)\adb" with the location where you installed adb
For more details see: https://www.xda-developers.com/nav-...ck-nougat-all-along-and-it-never-needed-root/
Found another great app Home Button Launcher that lets you remap the long press on the Note 8 Home key so it doesn't launch Google Assistant (which I never use).
It can either automatically launch a different app or a shortcut - or show a popup panel of apps/shortcuts:
I used to use All in one Gestures to do this - but that does not work on soft keys.
~
@kiwiguy99 Thanks for the posts!
What app are you using for the 'Quick Settings' style pull up bar at the bottom of your screen? Well I am assuming that is what it is lol.
chippyuk said:
What app are you using for the 'Quick Settings' style pull up bar at the bottom of your screen? Well I am assuming that is what it is lol.
Click to expand...
Click to collapse
If you mean the white circle with the dots at the bottom , that is just my App drawer icon. (I am using lightning launcher)
kiwiguy99 said:
If you mean the white circle with the dots at the bottom , that is just my App drawer icon. (I am using lightning launcher)
Click to expand...
Click to collapse
Actually, from the first post, the photo of the nav-bar, the long transparent bar along the bottom of the screen. Apologies if it is not your screen grab...
chippyuk said:
Actually, from the first post, the photo of the nav-bar, the long transparent bar along the bottom of the screen. Apologies if it is not your screen grab...
Click to expand...
Click to collapse
lol - that is Samsung pay!
kiwiguy99 said:
lol - that is Samsung pay!
Click to expand...
Click to collapse
Oh Hahahaha! Never used it!
That is one huge button to activate it though.
Thanks!
Nice find and directions! I use both Tasker and Lightning Launcher as well. Installation went quickly and I like the options to double-tap for more. Thank you!
How do I launch Google Search as in Typing with Keyboard to go to a URL or Google Search.
I download the adb tools from here : https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/
I have the adb tools in c:\androidtools
adb debugging is checked on the phone.
I can go into adb shell
I can list devices
But when I run the adb shell pm ..... command I get and error. /system/bin/sh: adb: not found
any clues?
Thanks in advance,
Matt
sudermatt said:
I download the adb tools from here : https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/
I have the adb tools in c:\androidtools
adb debugging is checked on the phone.
I can go into adb shell
I can list devices
But when I run the adb shell pm ..... command I get and error. /system/bin/sh: adb: not found
any clues?
Thanks in advance,
Matt
Click to expand...
Click to collapse
Do not run ADB SHELL by itself before running that command.
There's no need for 2 adb shell commands. Easier to just do the adb shell pm grant **** in one line.
kiwiguy99 said:
...
3. Instructions to change the buttons to media playback controls when playing Music
https://www.xda-developers.com/how-t...playing-music/
Click to expand...
Click to collapse
Thanks for collecting these tutorials in one thread ?
Btw. The link in #3 isn't working.
Btw. The link in #3 isn't working.
Click to expand...
Click to collapse
Thanks for letting me know! Have updated OP and fixed the URL.
I can not for the life of me get ADB to see my device as ONLINE. I've tried everything I can think of (restarting device, adb server, toggling USB debugging on & off, different USB ports, etc). I really hope one of ya'll has an idea I haven't tried or maybe has ran through this already. What am I missing?
Rooted snap dragon here could not get this working. Any ideas?
shdwphnx said:
Do not run ADB SHELL by itself before running that command.
Click to expand...
Click to collapse
when i do that it says "not recognized as an internal or external command,
operable program or batch file."
ckuhner said:
when i do that it says "not recognized as an internal or external command, operable program or batch file."
Click to expand...
Click to collapse
I suppose I may have been a little too cryptic in my previous response. Here's some clarification:
The original instructions basically said to open a command prompt then run...
Code:
cd "Program Files(x86)\adb"
adb shell
adb shell pm grant xyz.paphonb.systemuituner android.permission.WRITE_SECURE_SETTINGS
You would of course need to replace [highlight]"Program Files (x86)\adb"[/highlight] with the location where you installed ADB, if it is different.
The [highlight]adb shell[/highlight] line is unnecessary and will in fact cause the next line to fail. That is the piece I was hinting to skip to in my previous post.
Alternatively, this sequence will also work...
Code:
cd "Program Files(x86)\adb"
adb shell
pm grant xyz.paphonb.systemuituner android.permission.WRITE_SECURE_SETTINGS
Thanks Shadowpheonix! OP updated to reflect your better instructions.
So my navnar buttons are now out of alignment... tried uninstalling the app, but nothing happened even after reboot... how do I get the buttons to their original place? I'm really annoyed. I tried the options in the app to switch positions but they just mess them up even more...
Please help...
The ultimate solution for assigning an action or application to the Bixby button
I found a trick to assign the Bixby button to an action, application and more... Support a single click, double-click and hold (also works the screen off)
Here are the functions you can assign to the Bixby button
Navigates: back, home, recent apps...
Controls: sleep/wake up, show power menu, shutdown, reboot, expand notifications panel...
Rotation control.
Media controls: play/pause, next, previous, stop...
Fast scroll: scroll to top/ bottom.
Edit: copy, paste...
Universal copy, one tap copy text every where.
Settings: auto brightness, rotation, wifi, mobile data...
Start app/shortcut/activity, finish activity, previous app/next app, kill app...
Freezer: freeze/thraw app.
Input gesture, key event, text...
Shortcut panel, app drawer, freezer drawer, side bar...
Floating widget.
Swipe adjust: swipe on the edge to adjust brightness, screen filter, volume...
Gesture pointer, extends your finger.
Notification, speech, toast.
Screen filter, torch.
Conditional: if screen on, keyguard on, wifi connected/disconnected, battery level, time period, wifi connected to, app focused...
Multi action, saved multi action.
...
Disclaimer:
I AM NOT RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR DEVICE IF YOU DECIDE TO USE THIS GUIDE. IT'S PRETTY SAFE THOUGH BECAUSE I HAVE HEAVILY TESTED EVERYTHING THAT I WROTE.
Required
All Samsung rom custom Android 8.1
A root access (preferably MAGISK)
Step 1
Remap Bixby Button
As in the article :
1. Go with any root Explorer (I'm using Solid Explorer) to /system/usr/keylayout
2. Rename the Generic.kl to Generic.txt
3. Open this file with an text editor
4. Search for 703 to get following entry: # input_fw Intelligent Key for Dream key 703 WINK
5. Change it to whatever you want. I simply tried following: # input_fw Intelligent Key for Dream key 703 ASSIST
6. Rename it back to Generic.kl (otherwise you won't be able to press any hardware button after reboot)
7. Check permissions
8. Restart your device
For now, Bixby is used Google Assitant with item display on the screen
Other order :
HOME - Homebutton
POWER - Powermenu
MUSIC - Starts your favorite music player
MEDIA_PLAY_PAUSE - Play pause media
VOLUME_UP - Sets volume up
VOLUME_DOWN - Sets volume down
VOLUME_MUTE - Volume media (set default media volume in phone setting)
CAMERA - Starts camera app
APP_SWITCH - Recent apps button
ASSIST - Google Assistant (with item display on the screen)
VOICE_ASSIST - Google Assistant (fast)
QPANEL_ON_OFF - Notification area
EXPLORER - Favorite internet browser
SYSRQ - Screenshot
PAGE_UP
PAGE_DOWN
CALCULATOR
CALENDAR
CONTACTS
CALL
If you want to be able to use more features such as double-clicking, long-clicking, launching an application, adjusting the vibrator or other, leave "ASSIST" and continue the steps.
Picture with the SEARCH function :
{
"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"
}
Source : https://forum.xda-developers.com/galaxy-s8+/how-to/root-remap-bixby-button-o-app-t3601061
Step 2
Install Xposed
Flash zip Xposed with Magisk, TWRP or FlashFire.
If your phone is rooting with Magisk (best method) :
Launch Magisk Manager to search, download and install the "Xposed Framework (SDK 27)" for Android 8.1
or
How-to flash with TWRP :
1. Transfer the zip and apk to your phone.
2. Now boot into TWRP by pressing bixby+volume up+power on while phone is turned off
3. Go to "Install" menu of TWRP select the zip and flash the zip.
4. Restart the phone and Install the apk and run the application to verify that everything is green
or
How-to flash with FlashFire :
1. Transfer the zip and apk to your phone.
2. Install FlashFire
3. Start the application and press "+"
4. Choose "Flash ZIP or OTA" and select the zip
5. Select "Auto-Mount" and "Mount / system read / write" and validate
6. Press "Flash" and "ok" then wait until the phone restarts
7. Install the apk and run the application to verify that everything is green
The link for the ZIP to flash (xposed) for 8.1
https://dl-xda.xposed.info/framework/sdk27/arm64/xposed-v90-sdk27-arm64-beta3.zip
The link for the "Xposed Installer apk"
https://forum.xda-developers.com/attachment.php?attachmentid=4393082&d=1516301692
A link to uninstall Xposed in case of problem (zip to flash with TWRP):
https://dl-xda.xposed.info/framework/uninstaller/xposed-uninstaller-20180117-arm64.zip
Source Xposed Nougat :
https://forum.xda-developers.com/showthread.php?t=3034811
Step 3
Customize the Bixby Button
This module provides you Gesture control, Key control and other smart triggers. to trigger actions you want.
Next, download "Xposed edge" or "Xposed edge pro" from the Play Store and activate the "Xposed edge" module in "Xposed Installer" and then restart the phone.
1. Launch the Xposed Edge module and activate "Keys" and access it
2. Press Add and click on the Bixby button
3. Activate the newly assigned Bixby button (KEYCODE_ASSIST)
4. And with the arrow on the side assign an action for a single click, double-click and hold down
Do not forget to activate key control and the button assign
And now it will work
Bonus
Gesture for navigation with Xposed Edge:
https://www.youtube.com/watch?v=DkAGCtbJr-U&feature=youtu.be
You have the possibility to choose a side of the screen, and to assign an action with a slide in the desired direction
The sources that allowed me to realize this guide
Links to threads here:
https://forum.xda-developers.com/xposed/xposed-android-nougat-sdk-25-arm64-t3639221
https://forum.xda-developers.com/galaxy-s8+/how-to/root-remap-bixby-button-o-app-t3601061
Sorry for mistakes, I speak french
This is the best solution so far I found. Thank you so much obedmaleka.
If you're like me, you like using a 3rd party navigation gesture app with the navbar hidden.
In Android 11, google disabled wm overscan which makes it difficult to hide the navbar.
Luckily, it's possible with Magisk and a little bit of tinkering.
THIS GUIDE ASSUMES YOU'RE FAMILIAR WITH MAGISK AND MAGISK MODULES.
Prerequisites:
Install Magisk
Install Magisk Hide Props Config
Install Universal SafetyNet Fix
optional but recommended if you use gPay, Bank Apps, etc.
Install a terminal emulator (like Termux)
this is also theoretically possible with platform-tools and root over adb shell but my tutorial will be using the terminal
Settings > System > Gestures > System Navigation is set to 3-button Navigation
this is only required if you're using a 3rd party gesture navigation app (I use Vivid Navigation Gestures)
you can skip #5 at your own risk if you wish to keep Google's Gestural Navigation but hide the UI
To disable the Navbar, enter the following commands (don't type the descriptions).
su (gain root access)
props (open the hideprops menu)
4 (Add/edit prop values)
n (New custom prop)
qemu.hw.mainkeys (the build prop for whether to include softkey navbar)
1 (sets the build prop to disable the softkey navbar)
y (yes to continue with defaults)
y (yes to reboot)
That's it! Once your phone reboots you should no longer have a Navbar.
In theory, this should work on many devices, but I've only tested it on my stock Pixel 3 and Pixel 5.
This method is even better than overscan IMO because it doesn't come with the same quirks.
I had issues with the volume menu appearing off-screen and certain fullscreen apps assuming the Navbar was still there.
nontheoretical said:
If you're like me, you like using a 3rd party navigation gesture app with the navbar hidden.
In Android 11, google disabled wm overscan which makes it difficult to hide the navbar.
Luckily, it's possible with Magisk and a little bit of tinkering.
THIS GUIDE ASSUMES YOU'RE FAMILIAR WITH MAGISK AND MAGISK MODULES.
Prerequisites:
Install Magisk
Install Magisk Hide Props Config
Install Universal SafetyNet Fix
optional but recommended if you use gPay, Bank Apps, etc.
Install a terminal emulator (like Termux)
this is also theoretically possible with platform-tools and root over adb shell but my tutorial will be using the terminal
Settings > System > Gestures > System Navigation is set to 3-button Navigation
this is only required if you're using a 3rd party gesture navigation app (I use Vivid Navigation Gestures)
you can skip #5 at your own risk if you wish to keep Google's Gestural Navigation but hide the UI
To disable the Navbar, enter the following commands (don't type the descriptions).
su (gain root access)
props (open the hideprops menu)
4 (Add/edit prop values)
n (New custom prop)
qemu.hw.mainkeys (the build prop for whether to include softkey navbar)
1 (sets the build prop to disable the softkey navbar)
y (yes to continue with defaults)
y (yes to reboot)
That's it! Once your phone reboots you should no longer have a Navbar.
In theory, this should work on many devices, but I've only tested it on my stock Pixel 3 and Pixel 5.
This method is even better than overscan IMO because it doesn't come with the same quirks.
I had issues with the volume menu appearing off-screen and certain fullscreen apps assuming the Navbar was still there.
Click to expand...
Click to collapse
@nontheoretical Do we revert back by reverting the module back to defaults?
elong7681 said:
@nontheoretical Do we revert back by reverting the module back to defaults?
Click to expand...
Click to collapse
To revert from terminal:
su (gain root)
props (open hideprops menu)
5 (delete a prop)
r (reset all props)
y (to continue)
y (to reboot)
Nice, been using this for a few days on my pixel 4a5g without any problem, just need some time to get used to gesture navigation now
nontheoretical said:
To revert from terminal:
su (gain root)
props (open hideprops menu)
5 (delete a prop)
r (reset all props)
y (to continue)
y (to reboot)
Click to expand...
Click to collapse
Thank you for responding.
Can somebody help me real quick?
I installed it, but after reboot I only get a blinkung "lock"-icon and nothing more, cant control my phone.
Tried to revert it using adb, but I get
C:\WINDOWS\system32>adb shell
$ su -c
/system/bin/sh: su: inaccessible or not found
$
is there any way to make navbar a little bit higher?
Not working on op7 pro running a11 (oos 11.0.1.1)
I've always just edited build.prop adding the qemu.hw.mainkeys=1 myself. Neither of which seem to be working for me now.
Thanks nontheoretical. Worked on my Mi 11 Ultra with nova launcher
On Pixel 5, after setting prop, there's a delay when switching between camera modes. It goes from 1 sec without it enabled to almost 5 second after enabling it.
pchel48 said:
On Pixel 5, after setting prop, there's a delay when switching between camera modes. It goes from 1 sec without it enabled to almost 5 second after enabling it.
Click to expand...
Click to collapse
This is known issue when doing this MOD. I believe that SystemUIGoogle.apk needs to be modified to remedy it.
andybones said:
This is known issue when doing this MOD. I believe that SystemUIGoogle.apk needs to be modified to remedy it.
Click to expand...
Click to collapse
Anyone have an idea for how to do this?
Can probably pull the modified .apk from this MOD
[February 7, 2022] Pixel Tweaks for Pixel 5 with Color Picker
Badseed Customs Presents Pixel Tweaks Looking for Android 12 Support? Click Here Greetings This is a combination of a Magisk module and Substratum Theme. I originally did this as means to give custom options to people who enjoy the Pixel...
forum.xda-developers.com
nontheoretical said:
If you're like me, you like using a 3rd party navigation gesture app with the navbar hidden.
In Android 11, google disabled wm overscan which makes it difficult to hide the navbar.
Luckily, it's possible with Magisk and a little bit of tinkering.
THIS GUIDE ASSUMES YOU'RE FAMILIAR WITH MAGISK AND MAGISK MODULES.
...
Click to expand...
Click to collapse
Work perfectly on my Xiaomi.eu ROM (Mi 11) and Lawnchair 11 + My Gesture - Edge navigation gesture
Thx mate, i miss my Launcher so long time, i don't like MIUI Launcher
PS ; i have install my program after lol, without Navbar & Gestures. If Someone forget to install Gesture app BEFORE, just :
- Click Settings > Search "Google Play" > "Google Play Protect" > In "Security Status again "Google Play Protect" > Use Back Arrow on Front left > You are on Google Play, now just install your favorite Gesture app
andybones said:
Can probably pull the modified .apk from this MOD
[February 7, 2022] Pixel Tweaks for Pixel 5 with Color Picker
Badseed Customs Presents Pixel Tweaks Looking for Android 12 Support? Click Here Greetings This is a combination of a Magisk module and Substratum Theme. I originally did this as means to give custom options to people who enjoy the Pixel...
forum.xda-developers.com
Click to expand...
Click to collapse
Works perfectly. The only slight to this method is that there are three one-pixel lines along the bottom of the screen. Small price to pay compared to having the camera slowly switching modes!
Veiranx said:
Works perfectly. The only slight to this method is that there are three one-pixel lines along the bottom of the screen. Small price to pay compared to having the camera slowly switching modes!
Click to expand...
Click to collapse
can I see image?
maybe need to use his .apk in substratum
{
"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 already have the obvious three lines there, but just below them are the barely visible extra lines.
@Veiranx What are those lines the ones above the smaller ones?
andybones said:
@Veiranx What are those lines the ones above the smaller ones?
Click to expand...
Click to collapse
They're from FNG (Fluid Navigation Gestures), indicating where I have the three gestures. I have swipe up to activate: left for back, center for home, right for recents.
Veiranx said:
They're from FNG (Fluid Navigation Gestures), indicating where I have the three gestures. I have swipe up to activate: left for back, center for home, right for recents.
Click to expand...
Click to collapse
ahh ok, I could suggest trying to download his .apk for substram and hiding the 3rd party nav bar?
but it doesnt semm like it's too big of an isuse.
but worth a shot