yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Rom:
@	XspeedPL

Hello :)

I didn't have the time to warning you about your app but with the last beta build (4 Beta 6).

I have set in your app 2 fonctions: the first for "next media" and the second "previous media", no one work.

You can check my xposed log in attachment.

Thanks in advance :good:
[Xposed Framework Modules] robogo1982:
Christ, I thought it was only me.

Happens to me on OxygenOS 3.2.6, xposed v86, latest available beta of pbmc.
[Xposed Framework Modules] matv36:
Just swipe right and click yes when prompted
[Xposed Framework Modules] imusorka:
Does not work on OxygenOS 3.2.4 for me either. Any plans for supporting it?
[Xposed Framework Modules] glenalm:
I installed the latest PBMC. But I dont know how to make it work. How do you make this thing work?
[Xposed Framework Modules] walkwitmeinhel:
I made my vibration 0ms but still i get vibration any help..i using marshmallow miui 8
[Xposed Framework Modules] sixeco:
you need:

- rooted device

- xposed framework installed

- xposed installer apk installed

- pbmc enabled in the installer

thats about it, from there on you can just create your own settings inside the module
[Xposed Framework Modules] JT1510365:
Hey dev i really want to use this app to control my media controls such as play pause prev song next song and everything seems to work except for my recents hardware key and back key. I set the recents key to go to the previous track but it never does and i also set the back key to do next track but that doesnt work either. Any idea of how i can get a log for you so you can maybe fix it:) I would love a fix i am running a galaxy tab 4 running kk 4.4.2 stock rom
[Xposed Framework Modules] kos25k:
hey!I refer to an issue I had mentioned maaany time ago,just in case..I have set power button to work as pause button when I listen to youtube etc with screen off.till now after many updates the issue persists.sometimes when I have paused the song and then press power again to resume..it doesn't resume.I have to press it again.at this point it resumes for 1 second and it pauses sttaight again itself.then I finally have to press it again to finally resume the song normally..

Peace to all
[Xposed Framework Modules] Spookymyo:
Go back to version 3.1. It's better than version 4. It works with no issues and it's way more intuitive. I'm not sure why he redid it. It wasn't broke.
[Xposed Framework Modules] glenalm:
Could you provide a link to 3.1?
[Xposed Framework Modules] Spookymyo:
It's in Xposed. Just make sure you have beta versions enabled.
[Xposed Framework Modules] glenalm:
I installed it. I press Add Mapping then I get a popup asking to press a hardware key. I press the key of my choice and nothing happens. I don't get it.
[Xposed Framework Modules] Spookymyo:
Did you enable it and restart your phone first? When you see the pop up, did you press the "change" button first?
[Xposed Framework Modules] glenalm:
There is no "change" button. Dont see it. See attachment.
[Xposed Framework Modules] Spookymyo:
Yeah, sorry. The change button is on version 4.

If it doesn't show the button once you press it then there's something else wrong. Do other Xposed modules work?
[Xposed Framework Modules] glenalm:
Do you mean PBMV 4.0 beta 4? If so then I installed it. Look at the attachment. But it still doesn't work. And yes all my X modules work.
[Xposed Framework Modules] Spookymyo:
Then I'm not sure why it's not intercepting the button signal. Take a log and send it to the dev.
[Xposed Framework Modules] stephhh:
Love this app so much thank you!! :)
[Xposed Framework Modules] Spookymyo:
I noticed your PBMC debug log is disabled. Go into PBMC an enable logging. Clear your xposed log, cause it's huge, then try to map some buttons in PBMC. Then take another log and post that. And use a spoiler to post your log so it's not so obtrusive.
[Xposed Framework Modules] kos25k:
i would like an extra feature please just to unlock screen with just pressing vol buttons.i uninstalled gravitybox cause i had some problemsand i cant find such an app.thanks.
[Xposed Framework Modules] glenalm:
How do I activate the chains?
[Xposed Framework Modules] Spookymyo:
Make sure to click save at the top. You should see the text at the top go from red to green. That's it. If that doesn't work the restart your phone, although it shouldn't need a restart.
[Xposed Framework Modules] glenalm:
I did to a chain to program the back button to increase volume when the screen is off. But it doesnt work. What is this happening?
[Xposed Framework Modules] Spookymyo:
Try mapping the volume button and see if that works. If not go back to version 3.1 and see if that does it.
[Xposed Framework Modules] glenalm:
And how do I do that?
[Xposed Framework Modules] Spookymyo:
You do have volume buttons right? When you create a new chain the window that opens where it says change. Click change and then press your volume button.
[Xposed Framework Modules] glenalm:
So after that how do I link that to the back button?
[Xposed Framework Modules] Spookymyo:
You don't. Is your back button a physical or soft key? Why use the back button? Just use the volume buttons for media. But you don't link one key to another. You should be able to do the exact same thing you did for the back button as you did for volume.
[Xposed Framework Modules] glenalm:
My back button is a hard key.

Hold up you're not making any sense. Why not use the back button? Thats one of the buttons the app is designed to use.

How about you give me the steps on how to map the back buttpn as the volume button. That way we can see if either I'm doing something wrong or there's an issue with the phone.
[Xposed Framework Modules] Spookymyo:
Which version did you decide to go with? 3 or 4?
[Xposed Framework Modules] glenalm:
I'm on the latest one, 4.0 beta 6.

And can you give me the steps needed to map the back key to increase volume please? Thanks
[Xposed Framework Modules] glenalm:
Spookymyo, did you read my last post?
[Xposed Framework Modules] Spookymyo:
I guess I'm just unclear as to why you want to use your back button to change the volume instead of your volume buttons. But you can modify any of your hard or soft keys. Open PBMC, add new chain, then assign a key. When the window pops up click change then press whatever button you want to change. It should show you the button you clicked. Then assign the function you want.
[Xposed Framework Modules] glenalm:
Yeah no problem. Let's not rehash this.

Anyway the app works for me when the screen is on. But it fails when the screen is off which is what I want.
[Xposed Framework Modules] Spookymyo:
I had a similar issue with my S4 when I wasn't using a lock screen. When I had the security set to none PBMC wouldn't work when the screen was off. When I enabled swipe to unlock it started working. I've also read that some phones just don't work right with it for some reason.
[Xposed Framework Modules] sixeco:
there's a weird bug with the latest version of the module... I installed the v4 beta 6 version and it didnt work at all. tben i tried it with the beta 5 and it worked just right as it should. updated it to beta 6 and it kept working... really weird, but hope it helps anyone

(doing it on oneplus one with cm13.1 and xposed v87)
[Xposed Framework Modules] glenalm:
Were you having issues with the app not working when the screen was off?
[Xposed Framework Modules] sixeco:
yes, still is, but i think that depends on the phone
[Xposed Framework Modules] glenalm:
I was wondering if its possible to remap a key to activate a widget. Please let me know how.
[Xposed Framework Modules] shangzhang:
Hi XspeedPL,

First all I want to thank you for this wonderful work. I use it for my Huawei P8, which is a good cell phone in terms of the hardware yet not so good when it comes to the system and APP's installed. One annoying thing is that, when I use Moon+Reader to read my books through TTS, my headset hook can't control the "Play and Pause". I guess the Moon+Reader receiver does,'t receive the signal from the system. So I have to use PBMC to help me. It works like a charm.

I have never had this before on other Samsung phones.

My question is: what happened to this stock ROM or APP's on it? What causes this?

Just thought that someone might be able to point me to a direction so that I can learn something.

Thank you in advance.

Jerry
[Xposed Framework Modules] :
Thread cleaned. Please post respectfully, always, or don't bother posting.

Thank you! :good:

Darth

Senior Moderator
[Xposed Framework Modules] vaterfa:
when i greenified poweramp, buttons doesnt work for it but when i select poweramp from "media signal receiver" it works but this time buttons doesnt work for other media apps. i tried custom uri for open poweramp and play direct but i cant write a working one. is there any way for do this ?
[Xposed Framework Modules] RaW D Coy:
does this has the command for kill and app? would love to have my back button to kill current active apps...
[Xposed Framework Modules] Spookymyo:
I don't believe it does.

Depending on your phone, install Gravity box. It will give you that option.
[Xposed Framework Modules] Dant3s:
Great app! Is it possible to remap long press headset button to something useful like media controls on Galaxy S5 neo? I've managed to do it on Htc desire 310 with mapping "endcall" to "media previous" using PBMC key chains app but only thing that doesn't work on m S5 neo is long press, it's not detected at all by the app.
[Xposed Framework Modules] tophee:
I recently installed PBMC on my Galaxy S7 (Touchwiz ROM) but I cannot assign new keys. When I select "double tap", for example, and I get this pop up allowing me to modify the delay as well as "change" the key from "unknown" to something else. But when I tap on "change", nothing happens.

Am I doing something wrong or does it just not work on my phone?

I should add that the key test intercept works fine.
[Xposed Framework Modules] Spookymyo:
When you tap change do you then press the key you are wanting to change? If so, does the box then show the name of the key you pressed?
[Xposed Framework Modules] spookyneo:
I've been trying to setup this with a Himbox (bluetooth receiver for cars) I received for Christmas. The Himbox has 3 buttons : Play/Pause, Next, Previous. Play/Pause (same button) is well detected by PBMC, but the Next and Previous buttons are not detected at all. They do work properly in Poweramp. Is there a way to make my buttons detected by PBMC ?
[Xposed Framework Modules] Errik512:
I had similar problem on Samsung A3 2016, when screen off volume keys sometimes dont work... maybe sleep or doze mode?

On my Nexus7 its work good.
[Xposed Framework Modules] Fierroso:
Hello, looking for control Music with phones physical volume buttons i found this asset. Google play apps doesnt suit all my needs so i wonder how much can be this customized before doing the root thing.

So can you for example set triple tap to volume up for play next album and viceversa with volume down?

Or doing double tap to volume down for restart song?

If you for example do double tap two times in less than 5 seconds trigger previous song.

Could this be done?

Thanks in advance
[Xposed Framework Modules] Errik512:
Here's a way to cheat sleep (doze) mode on Samsung A3.

Install Tasker, and turn on the motion sensor mode is always Keep android awake.
[Xposed Framework Modules] Errik512:
Please make different actions in different applications.

Or integrate with Tasker to switch actions.

And add option while editing text to switch the volume buttons for cursor control.

Thks.
[Xposed Framework Modules] aLexzkter:
Different actions on different apps is a very powerful and interesting feature I'd like to see in the future. In any case I hope this app works on nougat when Xposed is available.

Cursor control with volume keys can be accomplished with GravityBox.
[Xposed Framework Modules] varioventus:
Hi,

Any chance to port this great mod to Magisk? It's the only Xposed module I really miss on Nougat.

Cheers.
[Xposed Framework Modules] Xspeed:
As far as I know, it should work out of the box with systemless Xposed. In case it doesn't post some info here (logs, device info, framework, etc) and I'll do my best to fix it.
[Xposed Framework Modules] varioventus:
Thank you for your reply, XspeedPL.

Well, as far as I know, there is no Xposed for Nougat, however Xposed vanilla, systemless or as a Magisk systemless module. I'm on Xperia SP, AICP Nougat 7.1.1
[Xposed Framework Modules] aLexzkter:
I really need this module to work too without the need for Xposed, since there's no Xposed for Nougat....
[Xposed Framework Modules] Rom:
On LP and MM i think that its simply impossible to add an advanced key fonction that works without XPosed.

About Xposed support, its just an quesiton of time to get that, remember you how many time we must wait for Marshmallow support..
[Xposed Framework Modules] Errik512:
XspeedPL

what you think about "Different actions on different apps" ?
[Xposed Framework Modules] Errik512:
i want to make condition wifi enabled or disabled
[Xposed Framework Modules] Xspeed:
Exactly. To make things worse I don't own a Nougat device, so development is pretty much impossible.

I honestly think it may be a good idea. Since I've been going to release a new version soon™, I'll try to include that.

I can and will implement that in the next version.

That being said, I have plans for another version.

It will feature modifiable condition list in the UI. So instead of having every condition on every mapping, you will be able to add only those you need to keep it more intuitive and clear.
[Xposed Framework Modules] Rom:
Aie aie aie...

When XPosed will support Nougat, i could test PBMC but i understand that google devs can have edit the framework...

The most difficult things is the fact of debug your code to make it working with AOSP, pure stock , and AOKP based ROMs.

I understand that without the hadware, theses tasks will be really difficult.

I pray god that your app will works with NG but i have a habit of aiming too far at each time:angel:
[Xposed Framework Modules] KostisTTT:
OOS 3.5.4 ??

Hello guys..

I would like to ask if oneplus 3t (MM) is supported.

Thanks in advance..
[Xposed Framework Modules] Xspeed:
As stated in the first post:

Compatible with all Android versions from 2.3 'Gingerbread' to 6.0 'Marshmallow'.
[Xposed Framework Modules] KostisTTT:
Hello, again..

I tried to use it, but the only thing that works is the "cancel original key function"

I am rooted with MagiskSu..

Could this be the problem??

Should I sent logs??

Thanks in advance..
[Xposed Framework Modules] Xspeed:
Sure, just make sure to upload the whole log and not just a part of it.

If you don't know how to get logs just follow the instructions in my signature.
[Xposed Framework Modules] KostisTTT:
Logs

Sending logs..

https://pastebin.com/EUgNjmf0

Thanks again, XspeedPL
[Xposed Framework Modules] Xspeed:
You didn't upload the whole log, even though I asked explicitly :eek:

I need more information about your device that logs contain: your device manufacturer, model, running Android version, ROM version, list of other Xposed modules running, running Xposed version.

Then I'll be able to locate the cause of the problem.
[Xposed Framework Modules] KostisTTT:
Hello..

I send the whole log from Xposed. Probably you meant of the whole system..

I dont know how to do it, I am searching right now..

Oneplus 3T (OOS 3.5.4), Magisk 12, Xposed (GB, Secure Settings, Swype Row, Niwatori, Custom slider, Adblocker)
[Xposed Framework Modules] KostisTTT:
Which files should I send??

Hello again..

Which of these files do you want me to send??
[Xposed Framework Modules] HandyE:
2 more features requested :)

Hi,

thank you for this great app. I am using it since two weeks or so and I am really really excited.

But, there are two things I really miss:

1) Support to remap bluetooth redial button like AllMy... from moneytoo has, for example.

( github.com/moneytoo/AllMy.../blob/master/app/src/main/java/com/smartmadsoft/xposed/aio/tweaks/touchwiz/RemapRedialToNextTrack.java )

But I like to open a special app when pressing the redial button not just playing the next track.

2) Condition to disable button remapping when a special app is running in foreground.

Example: I use your app to remap my camera button, because normally its tied to stock camera app. Pressing the button now opens "open Camera", but sometimes I want to use stock cam app, too. But when I'm running stock app, pressing the cam button for picture taking, "open camera" is opened instead and no picture is taken. When in "open camera", picture is taken but PBMC tries to start a second instance of "open camera".

So it would be really helpful if remapping could be ignored, when one of these apps are running in forground and instead the normal button function will be used.

I would be really happy if you could add this to your list :D
[Xposed Framework Modules] Jumpin Carrot:
Please, could you add an action, that toggles screen orientation (landscape, portrait)?
[Xposed Framework Modules] Xspeed:
For the first thing I'd need to get myself a Bluetooth device like that for testing, which I could get, but I don't know when.

The second thing is already in the works (checking for background or foreground apps).

You could tell PBMC to launch a shortcut of another app that can already do that. Like my another module Forced Screen Rotation Mod :P
[Xposed Framework Modules] Infy_AsiX:
I love the app and use it for music control with the unique fast forward and rewind features. Also for answering and ending calls using buttons for when the display is inconvenient or lagging.

I've got a feature suggestion request. With the "Wake up the screen if off" function it does not seem to be affected by "Proximity wake-up" that I use from Gravitybox. What I mean is I want to enable screen waking while changing songs but only if the phone proximity sensor isn't covered like in my pocket for example. It would be great if the function could be altered to work with Gravitybox's or perhaps on it's own configuration.
[Xposed Framework Modules] jackoboy9:
How can I restore the default actions of the hardware buttons? Uninstalling doesn't work. Thanks.
[Xposed Framework Modules] Xspeed:
This module doesn't perform any hard changes (like writing to system partition). Once you uninstall it, there are no traces left behind.

[MENTION=4493018]Infy_AsiX[/MENTION] cool idea, I'll see what I can do ;)
[Xposed Framework Modules] jackoboy9:
Except now...

when I press the power button three times, the camera app opens.

also I cannot access the power menu when long-holding the power button.

The app is uninstalled, by the way. So it has written to somewhere on my phone since it's now not functioning properly.

Please help! Thanks.
[Xposed Framework Modules] Xspeed:
First thing first, did you reboot after uninstalling?

If you already did, post your Xposed logs and a list of other modules you have installed. Then we could work something out.
[Xposed Framework Modules] jackoboy9:
OK sorry about that - my bad.

It seems as though triple pressing the power button on my phone induces a very long vibration and causes the camera app to open. I'm not sure if this was a thing before I used the app, but there's nothing in the xposed log when I do it, so I can only assume it's not to do with this app - just coincidence.

I'll ask at the thread of my rom to see if it's a feature and report back. :good:
[Xposed Framework Modules] jackoboy9:
https://xdaforums.com/showpost.php?p=72768063&postcount=1359

It's not a feature of my ROM. The app has been uninstalled, but triple pressing the power button still induces a long vibration and opens the camera app. Should I reinstall the app, change no settings and then post the xposed log here along with my other xposed modules? Thanks.
[Xposed Framework Modules] Xspeed:
Do just that.
[Xposed Framework Modules] andrewilley:
Earlier in this thread, it was mentioned that v4 (now in beta) would support separate detection of three-button headset '+' and '-' 'buttons versus the on-device Vol+ and Vol- rocker keys (Samsung devices, I'm using a Galaxy Note 3 with a MM ROM for example). I can't seem to see if that works though, as both buttons are still returning the same Volume Up and Volume Down value in the Key test tab.

Running a separate KeyTest app, I get the following results - the same 115 scan code is returned for Vol+ and headset+, but the DeviceIDs are different which presumably should allow for independent detection?

Phone Vol+ rocker key:

Keycode: 24

KeyEvent: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_VOLUME_UP, scanCode=115, metaState=0, flags=0x8, repeatCount=0, eventTime=*******, downTime=*******, deviceId=7, displayId=0, source=0x101 }

Three-button headset '+' button:

Keycode: 24

KeyEvent: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_VOLUME_UP, scanCode=115, metaState=0, flags=0x8, repeatCount=0, eventTime=*******, downTime=*******, deviceId=2, displayId=0, source=0x101 }

Any thoughts? I used to be able to do this so easily on this device with my previous KitKat ROM via the system generic.kl file, but having now installed a more up-to-date ROM Samsung seem to have broken it in their firmware. :(

[Edit] I tried to get Xposed logs for you, but they just show the same identical scancodes for device volume-rocker and headset +/- buttons. The following shows sequential presses of phone then headset buttons:

06-30 12:06:16.356 I/Xposed ( 1447): PBMC: App key send request -> true

06-30 12:06:19.786 I/Xposed ( 1447): PBMC: Sending key Volume Up

06-30 12:06:19.993 I/Xposed ( 1447): PBMC: Sending key Volume Up

06-30 12:06:26.649 I/Xposed ( 1447): PBMC: Sending key Volume Up

06-30 12:06:26.799 I/Xposed ( 1447): PBMC: Sending key Volume Up

06-30 12:06:30.286 I/Xposed ( 1447): PBMC: Sending key Volume Down

06-30 12:06:30.436 I/Xposed ( 1447): PBMC: Sending key Volume Down

06-30 12:06:33.083 I/Xposed ( 1447): PBMC: Sending key Volume Down

06-30 12:06:33.243 I/Xposed ( 1447): PBMC: Sending key Volume Down

06-30 12:06:35.429 I/Xposed ( 1447): PBMC: App key send request -> false

Andre
[Xposed Framework Modules] andrewilley:
Another question: is anyone using the facility to send custom intents to other apps? I want to issue Next Category/List and Previous Category/List commands to change album/folder/etc in Poweramp, but I'm not sure I've got the syntax right. I believe I need to create something along the following lines:

Action: com.maxmpz.audioplayer.API_COMMAND

Extra: cmd:6

Target: Service

Does that seem correct and complete, or have I misunderstood the docs? It doesn't seem to work when I enter that text into the PBMC Custom Intent URI box anyway.

Any ideas?

Andre
[Xposed Framework Modules] Xspeed:
Thank you for providing this information. I will be able to add source device selection with this information.

The easiest method to understand the format is to set it to a shortcut and then select custom intent. The box will have the contents of the shortcut URI.

This is an example of a shortcut:

#Intent;action=RUN;component=xeed.app.upnij/.ShortcutActivity;end
[Xposed Framework Modules] andrewilley:
Glad I could help, feel free to contact me if you want someone to try out any test code for you.

I can do that (Poweramp supports homescreen shortcuts for triggering Playlists) and that does indeed launch the playlist as expected. However I'm still not quite sure how the the following translates into inserting the simpler (non-shortcut) syntax such as "Extra: cmd:6" and "Target: Service" into the URI box...

content://com.maxmpz.audioplayer.data/playlists/14/files#Intent;action=com.maxmpz.audioplayer.ACTION_PLAY_IMMEDIATELY;launchFlags=0x20020000;component=com.maxmpz.audioplayer/.PlayListActivity;end

I'll do some experimenting anyway and see what happens. :)

Andre
[Xposed Framework Modules] Phoenix09:
I was going to attempt adding some more functionality, but as the license says GPL and you chose to violate that by posting incomplete source, I can't
[Xposed Framework Modules] Xspeed:
Ah, sorry about that, I completely forgot about that licence. I still haven't decided about making the code of PBMC truly open sourced. So I removed the license from the project for the time being.