Any idea about this ?
It's annoying that Xperia Arc wake up in my pocket when home button is pressed.
Thank's in advance for all of you
bonze04 said:
Any idea about this ?
It's annoying that Xperia Arc wake up in my pocket when home button is pressed.
Thank's in advance for all of you
Click to expand...
Click to collapse
- root your phone
- open root explorer and go to /system/usr/keylayout
- mount as R/W
- open pm8058-keypad.kl in text editor
- go to the line KEY 102 HOME WAKE_DROPPED
- delete the text WAKE_DROPPED
- save & exit and reboot
- enjoy
kistigun said:
- root your phone
- open root explorer and go to /system/usr/keylayout
- mount as R/W
- open pm8058-keypad.kl in text editor
- go to the line KEY 102 HOME WAKE_DROPPED
- delete the text WAKE_DROPPED
- save & exit and reboot
- enjoy
Click to expand...
Click to collapse
That's amazing !
Big thank's to you.
kistigun said:
- root your phone
- open root explorer and go to /system/usr/keylayout
- mount as R/W
- open pm8058-keypad.kl in text editor
- go to the line KEY 102 HOME WAKE_DROPPED
- delete the text WAKE_DROPPED
- save & exit and reboot
- enjoy
Click to expand...
Click to collapse
Thank you so much for sharing that!
Sent from my LT15i using XDA App
kistigun said:
- root your phone
- open root explorer and go to /system/usr/keylayout
- mount as R/W
- open pm8058-keypad.kl in text editor
- go to the line KEY 102 HOME WAKE_DROPPED
- delete the text WAKE_DROPPED
- save & exit and reboot
- enjoy
Click to expand...
Click to collapse
Hi, thanks for this brilliant info. I use a wallet (authentic SE spec) for the phone that presses the Home button as you slide it in the wallet (nice one sony), so disabling this is great. However, due to the rubbish screen wakeup button on the top of the phone (too small and hard to press, I use a button downloaded off Google Play to activate screen lock), it would be good if the Go Back and Menu buttons activated the screen.
However, I tried to rewrite the file to make it do this, and only managed to fail miserably.
Any clever people happy to give me the answer on a plate?
Thanks in advance
Thank you very much!
Related
Offering my Comm Manager for HTC Athena
Update to ver 0.2 available at post #14
Update to ver 0.3 available at post #38
Update to ver 0.4 available at post #53
Update to ver 0.5 available at post #70
Highlights:
- Free
- Small (97KB including default skin)
- Quick (based on callbacks, not on Sleep() )
- Portable (uses only doccumented WM features)
- Finger-touchable
- Fully configurable (including keys, key actions and skin)
- Works evenly in all RealVGA resolutions
- VueFlo screen rotation aware
- Supports GRPS connections and 3G mode management
- Self installing/removing
Installing:
- Extract VCommManager.exe from .zip file and put anywhere in your PPC
- Run it
- Tap and hold for at least .5 secs on airplane - you will be redirected into configuration page
- Go into "About" page, and select needed options.
- Press "Save And Exit"
Removing:
- Go into configuration, the About
- Select "Cleanup and exit"
- Press "Save And Exit" (removes all shorthuts and registry customizations)
- Delete VCommManager.exe itself.
Moving .exe to another folder:
- From Settings/About select only items beginning with "Delete" or "Detach"
- "Save And Exit"
- Tap anywhere on screen to close window
- Move program to another location
- Go back to Settings/About to change custumizations
Working:
- Click any of images to perform task
- Tap and hold for at least half second to enter configuration dialog for selected option. Tapping on Airplane - enters VCommManager config. Other actions may be defined there.
- Click outside bounding rectangle to close program
Making your own skin:
Pictures are placed into .bmp file in one line. First active, then inactive ...
Transparent color is RGB(255, 0, 255)
Height of picture is defined by bitmap height
Width of picture is BitmapWidth / 12
If BitmapHeight < 16 - it is considered invalid.
If BitmapWidth < 16*12 - it is considered invalid.
If BitmapWidth is not multiple of 12 - it is considered invalid.
If external bitmap is invalid - internal is used.
Attachments: Screenshot & Program
Looks good. Can you make a cab file also? Never like having to use PC to install.
eaglesteve said:
Looks good. Can you make a cab file also? Never like having to use PC to install.
Click to expand...
Click to collapse
It's not installable from PC.
Attached file is PPC-ARM executable.
You need simply to copy it into PPC and run.
I see.... That's good. Thank. Will try out and give you feedback soon. Cheers.
edit:
Tried this. Absolutely the best comm manager I've seen. Love the short and long touch concept.
What are some examples of how we can use the user button?
Thank you for this very good tool.
This should be the comm manager of choice for ROM cooks.
eaglesteve said:
Tried this. Absolutely the best comm manager I've seen. Love the short and long touch concept.
What are some examples of how we can use the user button?
Click to expand...
Click to collapse
... simply don't use it
Seriously:
All buttons, exept "Airplane" has same behavior:
1. You can run hard-configured tasks
2. Additionaly you can run applications of your choice. Remember: only when application terminates you are getting back to VCommManager.
3. If "Perform ... tasks" is not selected - you have to specify application for status check. Return value is 0 == inactive state, !0 == active state.
4. Remember to use fully specified apps (no .lnk, etc)
For instance to take screenshot I have changed in Config/Data:
1. Unmarked "Perform configured tasks"
2. Added "\Windows\magic ss.exe" (with quotes) in "Run on Activate"
User button is treated similary, exept that it has no "predefined" and has "demo" picture - you must use external bitmap to create some look.
Nice! Its a handy little tool.
Thank you for your kind contribution, it is working very well in 128dpi.
Excellent! I like being able to turn off GPRS when required - my previous solution involved creating a "Null" connection and setting it to be the active one!
It took me a while to figure out how to get skins to work, though - I was assuming a relative path, and it needed absolute. Perhaps a browse button on the Skin text box might be a good idea?
Here's a skin I threw together from resources grabbed out of PK2 Kaiser Comm VGA:
Thanks very much for this app. Solved my problems in Real VGA Comm Manager.
Everyone, just rename the file VCommManager to CommManager and use Total Commander to replace the original Comm Manager in the ROM then soft reset. So that all icons pertaining to Comm Manager now defaults to the renamed VCommManger.
Excellent Application. Thanks.
Basically all you have to do is
1....Obtain the VCommManager.exe file from the link above.
2....Rename VCommManager to CommManager.
3....Use Total Commander or any powerful file manager to replace the ROM Comm Manager with the newly renamed CommManager (formerly VCommManager), by sending the file to the Windows folder.
4....SOFT RESET
Now all icons pertaining to the built in Comm Manager points to VCommManager. Solved all problems in VGA mode. Very nice application. Thank you again for sharing.
thanks much 8)
Multilanguage
If you like this application and want to participate to make it multilanguage...
I'm attaching Exel document of all needed to translate strings.
Those are only in my dialogs and menu's...
Control panel dialog language depends on your system.
I will recompile as soon as:
1. At least 3 languages are added
2. After last addon there are 48 hours spent
If you are adding some language - please send back modified file here (or alternitavely to my PM).
Spanish translation
vidmabal said:
If you are adding some language - please send back modified file here (or alternitavely to my PM).
Click to expand...
Click to collapse
Very good work, thanks.
Spanish translation added.
just wanted to add my comments.....awesome comm manager, using it now and probably will for awhile!
VCommManager Ver 0.2
Update to version 0.2
For instalation instructions look into post #1 in this thread.
(If you already have ver 0.1 - simply copy .exe file on top of old one)
Changes:
1. Fixed "Run On Long Press" function (realy it never worked)
2. On Long Press enabled both - internal config and external app
(for instance, if you want to run both configuration dialogs on WiFi long press you can leave "Start Network Control" checked and enter
"\Windows\WlanMgr.exe"
into Run box)
3. Fixed dialogs in "Portrait" mode (Landscape was OK)
4. Added SIM PIN support - it's for users, that have PIN enabled.
Go to "About" tab to configure your PIN.
Feature is needed to enter automatically PIN: swithing from "Aircraft" mode, swithing phone on or changing 3G <-> GPRS.
5. Added "Language" support.
For now only English-Spain: I have not received more translations.
Thanks for the update.
How do I use the skin?
The reference to relative and absolute paths in post 8 is a bit cryptic for me. I have tried inserting \windows\VCommManagerHTCSkin.bmp into the bitmap dialog box under Main tab and of course that does not work. Would you be kind enough to tell me where the reference goes? I have copied the HTC skin posted into the Windows directory. Thanks a bunch.
I don't see why that wouldn't work. I put the skin and VCommManager under Program Files, so I have: \Program Files\VCommManager\VCommManagerHTCSkin.bmp in the Bitmap box of the Main tab of the options, but I can't think why it wouldn't work for other absolute paths (starting with \).
Result should look something like this:
Bitmap works fine for me in either Windows or Program Files/Vcomm
Small problem with setup for me- if I tap/hold Bluetooth or WiFi to enter config screen, I can change configs OK, but the OK button and Start Menu are unresponsive, needing a SR to get out of.
I use iLauncher which has its own OK button- maybe that's a conflict?
NeilM said:
Small problem with setup for me- if I tap/hold Bluetooth or WiFi to enter config screen, I can change configs OK, but the OK button and Start Menu are unresponsive, needing a SR to get out of.
I use iLauncher which has its own OK button- maybe that's a conflict?
Click to expand...
Click to collapse
For BT and WiFi configuration I simply call
\Windows\ctlpnl.exe cplmain.cpl,23,0
and
\Windows\ctlpnl.exe cplmain.cpl,17,0
Can you enter those strings from System "Run" dialog and check?
Do you have same problem when entering those dialogs from Control Panel?
I activated the USER function and assigned /Windows/fexplore.exe to launch on press. It does launch File Explorer, but it leaves the VcommManager interface on top. Pressing the OK button only makes File Explorer to close and leaving me with the X button at the right upper hand corner which is unresponsive. Only a soft reset can get it out from there.
On all roms, the stock camera makes 2 sounds:
1. Focusing - Double beep when you hold down the button
2. Shutter sound - Single beep when the picture is taken
This guide will show you how to disable both these sounds. Although the camera settings allow an option to disable camera sound, this does not work on most roms
Focusing
1. Launch RootExplorer, then open the /data/.
2. Create the file local.prop (If there already is a local.prop, dont create a new one)
Press the menu button - New File
Name it local.prop
3. Open local.prop in Text Editor (Hold it down)
4. Enter the following text into the file. Press menu and then Save & Exit
Code:
ro.camera.sound.forced=0
Make sure not to leave a space after the 0
5. Reboot
Now, the camera will be completely silent when you switch the volume of your phone to silent/vibrate. I use tasker to automatically switch my volume mode when the camera is open.
Shutter
Much easier than focusing.
1. Open root explorer and head to head to /system/media/auido/ui/
2. Delete the following file
Shutter_01.ogg​3. Done, no reboot
The camera will work fine whether you have these mods or not.
Thanks a lot.
Hello Guys!
So as you know on some roms the Walkman key doesn't work, and some people feel frustrated that the fix for it doesn't work or has no effect. So they are stuck with a dead Walkman key.
Now, I have my own way of getting the Walkman key to work on each Rom if it doesn't work. And now I will share the way to all you LwW Users!
--Preparations & Requirements--
-A LwW Phone :silly:
-Root Explorer (Can be found on the web)
-DreamKeys (can be found on BlackMart Alpha)
Or Here
www.netoclub.com/m/files/view/1356500826
-Have To Be Rooted
That's all!
Note: Screenshots will not be provided but I will try to give enough detail as possible.
1) Open Root Explorer and navigate to /system -> /usr -> /keylayout and open pm8058-keypad.kl with the text editor
2) Find the lines ' #WALKMAN Key
key 200 VENDOR_1
Note: could not say 'Vendor_1' could be anything. This was just a example
3) Rename the 'VENDOR_1' To 'CALL' Make sure it is aligned properly with each row And column.
4) Move Along the lines of 'CALL' and type 'WAKE_DROPPED' (should also be aligned)
5) Save and Exit with the changes and install Dreamkeys, open it and click 'setup cal button'
6) Tick the box 'Launch>> Open Application' and 'select an application' find the preferred music app and save your changes when exiting the app.
7) Reboot! Once rebooted click the Walkman key and a dialog box should popup. Tick the box and choose Dreamkeys and then the music app should open!
Voila! You now have a working Walkman key! Thank me if this guide worked for you and leave your comments
Sent from my WT19i using xda premium
I found this mod a while back and it still works. Credit to whoever found it, I'm just sharing.
"First, you need root access and a file manager (I use Root Explorer, as I've found it works the best consistently)
-Open up your file manager, in this case it's Root Explorer
-Enable R/W at the top (cannot be R/O)
-Go to /system/csc/feature.xml (hold down on feature.xml and open in text editor)
-Scroll down to the end (on my phone, the line we are looking for was the third or fourth from the bottom)
-Find the line that looks like this:
<Cscfeature_Launcher_DisabledPageRotation>true</
-Change "true" to "false" (without quotes). It should now read:
<Cscfeature_Launcher_DisabledPageRotation>false</
-Save changes and reboot
-Profit"
Hit the "Thanks" button if I helped you.
Southern_mind said:
I found this mod a while back and it still works. Credit to whoever found it, I'm just sharing.
"First, you need root access and a file manager (I use Root Explorer, as I've found it works the best consistently)
-Open up your file manager, in this case it's Root Explorer
-Enable R/W at the top (cannot be R/O)
-Go to /system/csc/feature.xml (hold down on feature.xml and open in text editor)
-Scroll down to the end (on my phone, the line we are looking for was the third or fourth from the bottom)
-Find the line that looks like this:
<Cscfeature_Launcher_DisabledPageRotation>true</
-Change "true" to "false" (without quotes). It should now read:
<Cscfeature_Launcher_DisabledPageRotation>false</
-Save changes and reboot
-Profit"
Hit the "Thanks" button if I helped you.
Click to expand...
Click to collapse
you beat me to it lol. did this last night and it worked perfectly. thanks for letting others no.
Here is the link to the mod that I posted on AC last year with the note 2. In case someone wants to see entire thread, etc.
http://forums.androidcentral.com/ve...d-infinite-scroll-touch-wiz-home-screens.html
when i change it and save it does stick for me
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 7.1.x , 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 25)" for Android 7.1.x, for Oreo, SDK26 is 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 7.1
http://dl-xda.xposed.info/framework/sdk25/arm64/xposed-v89-sdk25-arm64.zip
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/galaxy-note-8/how-to/guide-how-to-root-note8-efs-backup-t3677038 dr.ketan
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
I added Xposed Official
Xposed update
Xposed update Nougat, Oreo and Android 8.0 and 8.1
doesnt work offscreen
and8eye said:
doesnt work offscreen
Click to expand...
Click to collapse
I did not understand what does not work. Can you develop the problem?
If the problem is that the screen does not turn on anymore with the buttons, it is that you have badly followed one of the following steps:
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)
6b. And verify that after renaming the Generic.kl file you can still read the conrenu with a text editor
7. Check permissions
thank you
i mean i remapped it to CAMERA, while the screen is on, bixby button works (opening camera app) fine, but once the screen is off, bixby button wont do its job anymore
and8eye said:
thank you
i mean i remapped it to CAMERA, while the screen is on, bixby button works (opening camera app) fine, but once the screen is off, bixby button wont do its job anymore
Click to expand...
Click to collapse
Yes indeed, the screen will remain locked but the order will be executed in the background. There is a possibility to make it work, but you have to buy the Xposed edge pro app for that. After you have to program a condition that I put on video. I made the condition assuming you have a password to disguise the screen. If this is not the case, simply replace the gesture with an unlocking condition.
https://www.youtube.com/watch?v=HsBSFBOlP3U&feature=youtu.be
and8eye said:
thank you
i mean i remapped it to CAMERA, while the screen is on, bixby button works (opening camera app) fine, but once the screen is off, bixby button wont do its job anymore
Click to expand...
Click to collapse
For those looking to start the camera with the bixby button that the screen is off or on here is a file of wild water to import into Xposed edge pro with restoration.
/Android/data/XEdgePro
View attachment XposedEdgePro.zip
Once importing the action is called Camera Bixby V2 and can be found in "action collection"
obedmaleka said:
For those looking to start the camera with the bixby button that the screen is off or on here is a file of wild water to import into Xposed edge pro with restoration.
/Android/data/XEdgePro
View attachment 4444246
Once importing the action is called Camera Bixby V2 and can be found in "action collection"
Click to expand...
Click to collapse
i assume it doesnt work with locked screen right?
Is there maybe an option to install this without xposed?
I already used this method and it worked great, but when I install xposed over magisk, it makes my phone boot up long and laggy for a few minutes after boot.
So it feels like xposed is too heavy to have for just one feature like this :/ But on the other hand... it's nice to have a camera quick launch button.
Hello
I'm accidentally deleted generic.kl file. And no hardware button is working on my note8
Can you upload it for me
Thanks very much
sepehr_sar2000 said:
Hello
I'm accidentally deleted generic.kl file. And no hardware button is working on my note8
Can you upload it for me
Thanks very much
Click to expand...
Click to collapse
View attachment Generic.zip or flash View attachment BixbyFlash.zip
Update link
obedmaleka said:
The ultimate solution for assigning an action or application to the Bixby...
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.