yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Lazaroth:
I did it 3-4 times now in a row, and after a few more tries it seemed to start saving. But otherwise it just didn't save anything.

One of the tries, it saved input key and action, but lost condition. So I needed to add that one again. Then everything was saved.

I have an OP6, and it seems smooth without crashes.

I will do some more testing later, after work, but let me know if you have more questions.
[Xposed Framework Modules] iiSAHAMii:
Same here. Sometime it saved, sometime not.

No crash, everything seems to work well, except the not saving issue.

I have an Samsung galaxy S7 flat with an Oreo ROM (from Teamexykings).

More tries today : 2 crash

1/ Choose "kill forgetting app" action crash PBMC

2/ When trying to change setting in "PBMC Settings", my phone stoped to respond : need hard reboot.
[Xposed Framework Modules] D412:
The headset is just a cheap MPow Flame, but I tried it with various other cheap BT devices I have and none of them are picked up.

It seems to completely circumvent the key intercept test screen. Scenario is:

1) Open key intercept test screen, hit intercept button

2) Press Vol Up (phone) to make sure it's intercepting, it is correctly intercepting

3) Press Volume Up Button on Headset

4) Headset button carries out the action on the phone, turning the volume up, key intercept doesn't show anything

5) Press Vol Up (phone) to make sure key intercept mode is still on, it is

Same issue with vol down, play/pause button, or vol up+vol down together which fires assistant

re torch If no one else is having the torch issue no need to worry about it, but if you do end up needing a logcat let me know I'll post one.

Have you tried setting up the chain then adding the name then hitting apply>then save? I was having the same problem but that seems to have fixed it for me, at least so far. I also have the issue with "Kill foreground app" crashing PBMC when I click it in the app. Doesn't show up in Xposed logs.
[Xposed Framework Modules] amplatfus:
I disabled all other modules and kept enabled only PBMC.

After restart I cleared the logs ans then entered in PBMC, press intercept. Then pressed volume buttons. Here are the logs, but I cannot see any error. And I think we have no useful information.

Modules log (xposed error)

08-19 19:35:16.320 11508 11508 I EdXposed-Bridge: Loading modules from /data/app/xeed.xposed.cbppmod-jhQNujjbjv8gIDpDB1JwQA==/base.apk
08-19 19:35:16.556 11508 11508 I EdXposed-Bridge: Loading class xeed.xposed.cbppmod.XposedInit
08-19 19:35:40.713 11509 11509 I EdXposed-Bridge: Loading modules from /data/app/xeed.xposed.cbppmod-jhQNujjbjv8gIDpDB1JwQA==/base.apk
08-19 19:35:40.923 11509 11509 I EdXposed-Bridge: Loading class xeed.xposed.cbppmod.XposedInit

Verbose log (xposed all)

08-19 19:37:11.927 14715 17468 I XposedInstaller: RepoLoader -> Downloaded https://dl.xposed.info/repo/partial/17640.xml.gz with status 0 (error: null), size 66 bytes
08-19 19:37:11.929 14715 17468 I XposedInstaller: RepoLoader -> Updated repository https://dl-xda.xposed.info/repo/full.xml.gz to version 17640 (0 new / 0 removed modules)

Thank you for support,

amplatfus
[Xposed Framework Modules] lugia19:
I'm also having the issue where it doesn't save the diagram. I'm on a pocophone F1.
[Xposed Framework Modules] Xspeed:
[MENTION=7189662]Lazaroth[/MENTION] [MENTION=7670499]lugia19[/MENTION] [MENTION=1432926]iiSAHAMii[/MENTION]

Could you post exact steps to reproduce the saving issue? Or is it extremely random?

Post the LogCat. Seems your Android may be processing bluetooth key presses differently.

Maybe I'll be able to figure something out.

The log is too small, go to the developer options in Android settings and increase the log size to maximum, then reboot and try getting the logs again.
[Xposed Framework Modules] Xspeed:
[MENTION=2050470]amplatfus[/MENTION] Now I see the problem, you're using EdXposed in whitelist mode.

PBMC is a system hooking module, so it requires you to add "Android System" to the whitelist.

Otherwise nothing will work at all.

Also, I managed to locate the saving problem.

It happens when you exit the chain diagram with the arrow button instead of pressing the back key.

It will be fixed in the upcoming version.
[Xposed Framework Modules] Xspeed:
I just posted a new version (4.1 confusing2) with a few bugs fixed, like the diagram saving one, among others.

Also two new types of conditions got added, input method state and screen rotation.

With those you can create a volume key mappings to make them act as arrow keys during typing text.

Then if you're feeling fancy you can make mappings with arrows reversed when device is held in reverse :)
[Xposed Framework Modules] rngqf595:
Thank you for update. I could restore this app's data by Titanium Backup.

I've just tried to install on android oreo. But, It didn't work on this version.

Please, Update.
[Xposed Framework Modules] amplatfus:
àndroid System to White list

I confirm it's working after adding àndroid System to White list. Thank you for support!

amplatfus
[Xposed Framework Modules] D412:
Here's a log. I pressed the volume button on the phone after clicking the intercept button in the app, then I pressed volume on headset a few times as well as Vol Up + Vol Down (triggers google assistant). Hopefully this helps.

https://pastebin.com/ubuGpRp5
[Xposed Framework Modules] Xspeed:
Send me your Xposed logs then.

Again, I may need to see the logs.

Logs here are needed too.

Example:

Under "Volume up signals", set "Volume up signal key" to: "Media next".

Send me your Xposed logs, it's possible that it will help me solve your problem.

This log shows clearly what your problem is: you have several modules installed on external storage!

When they are, they simply don't work.

Look:

Loading modules from /mnt/asec/com.germainz.googleofflinevoice-1/pkg.apk
File does not exist
Loading modules from /data/app/com.oasisfeng.greenify-1.apk
Loading class com.oasisfeng.greenify.pro.FrameworkPatch
Loading modules from /mnt/asec/xeed.xposed.cbppmod-1/pkg.apk
File does not exist
Loading modules from /data/app/com.ceco.gm2.gravitybox-1.apk
Loading class com.ceco.gm2.gravitybox.GravityBox

When the files are located on /mnt/ it says "File does not exist".
[Xposed Framework Modules] mario21jorge:
Thanks for your quick reply. I've moved the module to the internal storage, disabled it, reboot, enables, reboot, meanwhile I disable the GravityBox multimedia tweak, but it still doesn´t work. I'll attach a new xposed debug file so you can help me. Thanks ;)

Edit: I've managed to make it work, but I had to disable the GravityBox option to turn torch on and off in the lockscreen. I still have a problem, I can play and pause media files once, but as soon as I pause it I can't restart it and I can only use the play/pause function if I open my media player and then turn off the screen. If I'm on the home screen and turn it off I can't use that function. Everything else, next media, previous media, volume up and down, plug and play works perfect.

Thanks
[Xposed Framework Modules] Xspeed:
Oh, didn't know there is some kind of incompatibility with GravityBox. Useful information.

As for the restart thing, what media player do you use? Have you tried "Launch activity" option in "Signal send options"?
[Xposed Framework Modules] mario21jorge:
Yes I used it and when I plug my headphones it launch the default music player of Android. The only difference between that option and "Running activity only" is that on the former it launches the application but the issue is the same. I'm going to download MX Player Pro and try it ;)
[Xposed Framework Modules] Christogq:
I need help

Is there any way I can press the button that I want to assign the function to instead of using the ones on the list? I have 2 different headsets and I don't know what the actual buttons are. I need this to work soooooooo badly. I don't even need all the functions. I just want to be able to skip tracks.
[Xposed Framework Modules] Xspeed:
I like the idea, I'll try implement this soon.

For now, from what I know, one-button headsets have a 'media play' button, and the 3-button ones have 'media next', 'media play' and 'media previous'.
[Xposed Framework Modules] Christogq:
Yeah see I'm pressing them and they don't work that way. I'll for sure try it like the way you described though and see if that works. Thanks again!
[Xposed Framework Modules] ej8989:
I intend to use the power button on my nexus5 as a play/pause button but only after i press it for 1000ms. The problem is, when I do that, the power button acts exclusively for that purpose; so I can't turn my screen on if I press the power button immediately, or any shorter than 1000ms. Another thing is, when I assign two functions on the vol-up and down buttons, (for example, single press will skip track, long press will play/pause) the volume automatically changes to maximum.
[Xposed Framework Modules] maxiumus:
neat rls, does this work with spotify?
[Xposed Framework Modules] abhijeetramgir:
th
[Xposed Framework Modules] Christogq:
press button to select function

Hey I wanted to touch base with you to see if you've gotten a chance to try that idea I had about us having the option of pressing the desired button instead of your drop down list. I've tried everything but the buttons on my headphones just aren't working with your mod.
[Xposed Framework Modules] Reconfigured:
there are bugs in 1.8 I rolled back to 1.7 works like charm...

the signals responding in 1.8 is buggy it does sometime; sometime doesn't cannot click on some options, like hold time next track key gets overwrite to previous ones etc etc

don't know about others but I'm running on HTC wildfire s gb 2.3

but this module is The Best ones for rooted gb devices... awesome work man :Thumbsup:
[Xposed Framework Modules] Typhus_:
Seconded.

V1.7 works far more perfectly than 1.8 on my phone as well (ZTE Crescent P736E with GB 2.3.5).

Anyway, I would like to translate this module to Portuguese. What can I do?

Thank you for this!! You saved me a lot of time since I wanted to implement this on a custom ROM I'm developing.

YOU ROCK!
[Xposed Framework Modules] Xspeed:
Even though I hate to admit it, 1.8 has some serious problems with stability.

But well, right now the 2.0 update is under heavy development.

Most parts of the app will be rewritten, since I don't like the current way it works too.

That being said, I won't be releasing any fixes for 1.8, since I want to get 2.0 out ASAP.

So, wait just a while! It will be worth it!

And about the translation thingy... well, I never had any experience making multilingual apps, but I can try.

I'll PM you [MENTION=5057272]Typhus_[/MENTION] a full list of of strings to translate when I have it done.
[Xposed Framework Modules] Typhus_:
I'm already on the move.

Noticed that your settings.xml had all text written, so I've decided to change the code to include string calls. Added them to strings.xml and translated them to PT.

Not sure if you want to use that as a starting point (since I was "playing" with v1.7 code...).

Anyway, I'll send you a PM with the changes I've made.

Cya soon!
[Xposed Framework Modules] Xspeed:
2.0 will probably have completely different strings, so it could be pointless.

And 1.7/1.8 have a lot of strings embedded in-code, since I really hate xml string tables :P

Before I release 2.0 I'll be sure to PM you the new string tables to translate.
[Xposed Framework Modules] Typhus_:
Ok.

I'll wait then.
[Xposed Framework Modules] Reconfigured:
try adding... long press to reset song or double click to reset song...
[Xposed Framework Modules] abhijeetramgir:
Play/pause dosent work properly on power button of samsung s3 i9300

thses are the logs, basically i set longpress time to max but when i set power button of my s3 to toggle play and pause it loses its functionality of lighting up the home screen

java.lang.NullPointerException

at xeed.xposed.cbppmod.PhysicalButtonMod.keyHook(Phys icalButtonMod.java:127)

at xeed.xposed.cbppmod.PhysicalButtonMod.access$11(Ph ysicalButtonMod.java:99)

at xeed.xposed.cbppmod.PhysicalButtonMod$4.beforeHook edMethod(PhysicalButtonMod.java:167)

at de.robv.android.xposed.XposedBridge.handleHookedMe thod(XposedBridge.java:607)

at com.android.internal.policy.impl.PhoneWindowManage r.interceptKeyBeforeQueueing(Native Method)

at com.android.server.wm.InputMonitor.interceptKeyBef oreQueueing(InputMonitor.java:357)

at com.android.server.input.InputManagerService.inter ceptKeyBeforeQueueing(InputManagerService.java:142 4)

at dalvik.system.NativeStart.run(Native Method)

java.lang.NullPointerException

at xeed.xposed.cbppmod.PhysicalButtonMod.keyHook(Phys icalButtonMod.java:127)

at xeed.xposed.cbppmod.PhysicalButtonMod.access$11(Ph ysicalButtonMod.java:99)

at xeed.xposed.cbppmod.PhysicalButtonMod$4.beforeHook edMethod(PhysicalButtonMod.java:167)

at de.robv.android.xposed.XposedBridge.handleHookedMe thod(XposedBridge.java:607)

at com.android.internal.policy.impl.PhoneWindowManage r.interceptKeyBeforeQueueing(Native Method)

at com.android.server.wm.InputMonitor.interceptKeyBef oreQueueing(InputMonitor.java:357)

at com.android.server.input.InputManagerService.inter ceptKeyBeforeQueueing(InputManagerService.java:142 4)

at dalvik.system.NativeStart.run(Native Method)

java.lang.NullPointerException

at xeed.xposed.cbppmod.PhysicalButtonMod.keyHook(Phys icalButtonMod.java:127)

at xeed.xposed.cbppmod.PhysicalButtonMod.access$11(Ph ysicalButtonMod.java:99)

at xeed.xposed.cbppmod.PhysicalButtonMod$4.beforeHook edMethod(PhysicalButtonMod.java:167)

at de.robv.android.xposed.XposedBridge.handleHookedMe thod(XposedBridge.java:607)

at com.android.internal.policy.impl.PhoneWindowManage r.interceptKeyBeforeQueueing(Native Method)

at com.android.server.wm.InputMonitor.interceptKeyBef oreQueueing(InputMonitor.java:357)

at com.android.server.input.InputManagerService.inter ceptKeyBeforeQueueing(InputManagerService.java:142 4)

at dalvik.system.NativeStart.run(Native Method)

any help?
[Xposed Framework Modules] gen10:
I love everything this mod has to offer but is there anyway you can put in an option to allow the controls to work when the screen is on?

Reason I ask is because when using my Google maps it is very difficult to change music because I have to swipe down my notification bar and click a little power amp icon to skip to the next song.
[Xposed Framework Modules] psychoela:
Hy, test with Spotify volume -down to previous not work, can you fix this, thanks
[Xposed Framework Modules] Xspeed:
I don't understand what you said. What is is the issue?

Please, More Information.

I see clearly that your device indeed processes key presses differently than expected. I'll contact you later when I have a fix ready to test.

I am using Spotify as I type this and other people use it too.

Check your configuration for errors.
[Xposed Framework Modules] rngqf595:
Thank you for reply.

I'm sorry about my poor english.

After I installed PBMC ver confusing2 on Android 8, confusing1 too, This app recognized physical buttons on Chain Diagram and I can choose "Action" on Chain Daigram. But, after I pushed the physical button I choosed, for example "volume up", Just only normal action that volume get up. I couldn't see the action I choosed from Chain Diagram.

It works perfectly on Android 7.0.0

Please tell me how to work on Android8

My device is Zenfone4(ze554kl) Oreo.

xposed 90 and magisk 19.3

Thank you.
[Xposed Framework Modules] Infy_AsiX:
I'm not sure if it's exactly what he means but. I updated from O to P to the new versions and restoring the Titanium Backup data doesn't provide anything. All old data is gone.
[Xposed Framework Modules] amplatfus:
I can say that I am in the same situation.
[Xposed Framework Modules] Infy_AsiX:
fwiw restoring new data on current new versions isn't possible too. Though for those who don't mind old I found YAHFA still works on the older versions with no issue
[Xposed Framework Modules] nitephlight:
hey thanks for this awesome tool! trying to map Info button (hw button on LG v40) to toggle flashlight. rather than toggle it flashes once, then stops working altogether. any thoughts? xposed logs below

https://pastebin.com/xDehHuW5

device: lgv40

Magisk 19.4, Riru Core 19.5
[Xposed Framework Modules] romracer:
Has anyone tried this on Android 10? I know the compatibility says to Pie, just curious if anyone's tested 10 or knows it doesn't work.
[Xposed Framework Modules] Lilith:
Tried it on Samsung Q and it's sadly not working. Can't intercept buttons at all.. :crying:
[Xposed Framework Modules] Senliast:
Are you planning to update the module for Android 10? Not an ETA request, just asking)
[Xposed Framework Modules] Jh8MgAA4UK:
Is the source for 4.1confusing2 available? I'd like to try to debug a boot loop on a stock Samsung phone, but github.com/XspeedPL/PhysicalButtonMod doesn't seem to have source beyond 4.0.

[MENTION=5292510]Xspeed[/MENTION]: did you decide to close-source the module, or have you just been storing the git repo elsewhere?
[Xposed Framework Modules] harlus:
Will this module (and xposed itself) work with Samsung S10e? I'd like to change my old phone with an S10e but i read that modern smartphones are more difficult to root/mod, is it true?

It would be a pity to lose PBMC functionality, it's a very useful tool for me.
[Xposed Framework Modules] washwash:
Bug

02-01 00:58:48.788 11169 18619 E EdXposed-Bridge: java.lang.IllegalStateException: Not allowed to start service Intent { act=xeed.xposed.cbppmod.TOGGLE_LIGHT cmp=xeed.xposed.cbppmod/.Coded$LightService }: app is in background uid UidRecord{bad429e u0a349 CRE bg:+1m12s949ms idle change:idle procs:1 seq(0,0,0)}
02-01 00:58:48.788 11169 18619 E EdXposed-Bridge:	at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1602)
02-01 00:58:48.788 11169 18619 E EdXposed-Bridge:	at android.app.ContextImpl.startService(ContextImpl.java:1557)
02-01 00:58:48.788 11169 18619 E EdXposed-Bridge:	at xeed.xposed.cbppmod.Coded.b(Unknown Source:12)
02-01 00:58:48.788 11169 18619 E EdXposed-Bridge:	at xeed.xposed.cbppmod.f.e.b(Unknown Source:14)
02-01 00:58:48.788 11169 18619 E EdXposed-Bridge:	at xeed.xposed.cbppmod.d$o.a(Unknown Source:65)
02-01 00:58:48.788 11169 18619 E EdXposed-Bridge:	at xeed.xposed.cbppmod.d$e.run(Unknown Source:6)
02-01 00:58:51.537 11169 18621 E EdXposed-Bridge: java.lang.IllegalStateException: Not allowed to start service Intent { act=xeed.xposed.cbppmod.TOGGLE_LIGHT cmp=xeed.xposed.cbppmod/.Coded$LightService }: app is in background uid UidRecord{bad429e u0a349 CRE bg:+1m15s698ms idle change:idle procs:1 seq(0,0,0)}
02-01 00:58:51.537 11169 18621 E EdXposed-Bridge:	at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1602)
02-01 00:58:51.537 11169 18621 E EdXposed-Bridge:	at android.app.ContextImpl.startService(ContextImpl.java:1557)
02-01 00:58:51.537 11169 18621 E EdXposed-Bridge:	at xeed.xposed.cbppmod.Coded.b(Unknown Source:12)
02-01 00:58:51.537 11169 18621 E EdXposed-Bridge:	at xeed.xposed.cbppmod.f.e.b(Unknown Source:14)
02-01 00:58:51.537 11169 18621 E EdXposed-Bridge:	at xeed.xposed.cbppmod.d$o.a(Unknown Source:65)
02-01 00:58:51.537 11169 18621 E EdXposed-Bridge:	at xeed.xposed.cbppmod.d$e.run(Unknown Source:6)

Lgg7 on pie trying to open torch, it works for like 1 second then the light goes off and the app crash and close.

With exposed edge pro it works without problems, anywai ive disabled it and rebooted before posting log
[Xposed Framework Modules] Xspeed:
[MENTION=2050470]amplatfus[/MENTION] [MENTION=4493018]Infy_AsiX[/MENTION] To be completely honest, I don't put effort into implementing settings import mechanisms between versions with major changes.

Sorry for that.

Thanks for reporting guys! I got this issue fixed for next release.

[MENTION=2476451]romracer[/MENTION] [MENTION=3475634]Lilith[/MENTION] [MENTION=6291448]Senliast[/MENTION] I currently don't own a Q device, so I can't really tell. But if anything, I can guarantee that the worst that can happen is that PBMC simply won't work.

If you want to help me bring Q compatibility send me Xposed logs from trying to run it and using the features.

Once I get my hands on that I can get Q working for next release.

I am aware the situation is odd regarding keeping the repo up-to-date. I was in the process of slooooowly updating all the module repos on GitHub and PBMC is last on the to-do list.

Once the thing is out of the confusing state I will update the code, though again, I have no idea when will that be, as I am spending very little time on personal projects nowadays.

If you need help with getting your device unlocked/rooted/modded, unfortunately this is not a good place to ask.

From my side I can say I try to keep compatibility with all devices possible, and I make sure the worst that can happen in case of any problems is that the module simply won't work without affecting the device in any bad way.
[Xposed Framework Modules] Senliast:
[MENTION=5292510]Xspeed[/MENTION] so now I finally found time to take logs from the module. Buttons are intercepted if enabling Key Test > Intercept input, and also while setting up a chain and are also correctly recognized, for example screen doesn't turn off if I press power button or volume level doesn't change if pressing volume button, but once exiting setup mode or Key test, the buttons behaves just normally and action for buttons, that are set up in PBMC doesn't take effect. So the main part of the module is working, I am sure it is just a small issue, and you will be able to fix it)

I attached EdXposed Verbose and Module logs.
[Xposed Framework Modules] Infy_AsiX:
found this 4.0 beta6 before the overhaul still works on Q too. On YAHFA beta linked from github.
[Xposed Framework Modules] yuhrim:
How to edit chain?

Hi. How to edit the chain in 4.1? I can only delete it. In version 4.0, I could edit.

Resolved. Tap by name of chain.
[Xposed Framework Modules] Extreemator:
Can you intercept mouse clicks too so we can remap it too?
[Xposed Framework Modules] zhlvf:
use torch app

On my LG G7 I launch a torch app as workaround. For me it only works with unlocked screen but it's still useful.
[Xposed Framework Modules] rxzcums:
del
[Xposed Framework Modules] loopypalm:
please add compatibility with AOSP 10

thank you !
[Xposed Framework Modules] yuhrim:
Hi. I want to run screen-pining. Is this possible with Custom intent URI? I don't understand this at all. Can you please tell me how this can be implemented?

Activity.startLockTask()?
[Xposed Framework Modules] kim319:
Hi I cannot get any of the buttons to work. No matter which button I remap they all just do the default function

This is the chain diagram I setup to map volume down to launch amazon alexa.

-did I screw up the chain diagram?

I am using a oneplus 7 pro, running Resurrection Remix Rom 8.6.4 (android 10)

I noticed in the xposed repo it says "Compatible with all Android versions from 4.1 'Jelly Bean' to 9.0 'Pie'."

-does this module not work on android 10?

I noticed it says "SELinux status: Enforcing" in EdXposed.

-does this module need SELinux permissive?

Debug Log

(I cleared the xposed debug log, rebooted, pressed button and pasted this log)

--------- beginning of headEdXposed LogPowered by Log CatcherQQ support gr - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

pastebin.com
[Xposed Framework Modules] yuhrim:
Did you click on the save button?
[Xposed Framework Modules] kim319:
yes I did. I've tried to link volume down, volume up, power, single press, double press, long press, screen off, screen on.

I definitely hit save after every single little change trying to get it to work.
[Xposed Framework Modules] Xspeed:
@kim319 I looked at your Debug Log and I see the problem.

The module is not compatible with Android 10 yet, but I should be able to update it soon.
[Xposed Framework Modules] kim319:
oh awesome thank you! thats what I was hoping to hear.