yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Collserra:
Ever since material update (the re-uploaded one), mapping to the home button doesn't work. I have tried mapping when screen off, on lock screen, and while screen on.

I'm using an lg g2, (ls980), on lollipop.
[Xposed Framework Modules] neonixxx:
[MENTION=5292510]XspeedPL[/MENTION] I can't map power button because of the method of mapping (having to push the button for PBMC to detect it). Trying to map the power button simply shuts my screen off. :p

Could the app have a selection menu instead of having to push the button to be mapped?
[Xposed Framework Modules] Sebi673:
Serious bug on the update

1. It shows the "please reboot" dialog after 3 reboots;

2. Power button doesn't wake the device after it was mapped (mapped the double press + hold - as usual) [Serious issue];

3. Earlier button actions got lost after update.

I reverted to a previous version - PBMC is really important to me :D.

PBMC on Xperia Z stock rom 4.4.4 .292. [MENTION=5292510]XspeedPL[/MENTION] If you need any logs or help with testing feel free to contact me ;).

Thanks.
[Xposed Framework Modules] venom007:
thanks for you work...bt i have a problem, everytime i open this app this message popups...

saying i need to reboot...can you fix this??

i am using xperia L

jellybean 4.2.2(stock rom)
[Xposed Framework Modules] code010101:
the same to me :(
[Xposed Framework Modules] Blizzard22:
https://www.dropbox.com/s/a6h1gl9qss63gt1/2015-03-13-10-20-19.txt?dl=0

Got the reboot message too, it doesn't work with the newest version right now.
[Xposed Framework Modules] exodius48:
Latest version not working for me. It always show pop up"You need to activate this modul in the Xposed Installer.. blablabla" , FYI, I already activate it on Xposed Installer & already reboot my phone, but that pop up still showing.

Also i get fc while add mapping. Screen off > Add : Volume Up key > Hold : Next media

Logcat:

java.lang.NullPointerException
at xeed.xposed.cbppmod.PBSettings$6.onDismiss(PBSettings.java:470)
at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1249)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5333)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:848)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:664)
at dalvik.system.NativeStart.main(Native Method)
[Xposed Framework Modules] Xspeed:
Thanks for the numerous reports.

Well, that release was almost embarrassing.

Updated with fixes as soon as I could.

- Fixed occasional saving preferences crash
- Fixed the version check
- Fixed key detection when adding new mappings

Enjoy!
[Xposed Framework Modules] D€INOS:
I can't get any key detection with 3.0.1 :(
[Xposed Framework Modules] dimm0k:
just updated to 3.0.1 from 2.x... there's no way to bring my mappings aboard or did I miss something?
[Xposed Framework Modules] Sebi673:
I wish I could help you somehow, after this update things just got worse. It crashes after assigning task. Also same behaviour as before after power button is mapped I can't wake the device. :(

Sent from my Xperia Z. KK .292
[Xposed Framework Modules] Lilith:
Is it possible to have separate mappings for different devices? For example when using internal speaker, buttons are mapped one way, but when I'm using wired headset, then buttons are mapped completely differently.

Sorry I'm asking, I just thought it would be a nice feature. Anyway, thanks for a great module! All is working here on ARHD 34! :good:
[Xposed Framework Modules] neonixxx:
Same here [MENTION=5292510]XspeedPL[/MENTION]. Latest version will not detect any keys when pressed. 3.0 would at least detect volume keys, back, and menu (if I set that key back to menu instead of recents).

Is there no way to autodetect all the hardware buttons on the device and simply display a list to select from?
[Xposed Framework Modules] aminov:
latest version doesnt work it doesnt even activate keeps asking to enable and reboot
[Xposed Framework Modules] Collserra:
Module does not register as activated in xposed, and kicks me out.

A fix would be appreciated.
[Xposed Framework Modules] Xspeed:
A log from Xposed would be appreciated.

Sorry, the way mapping are stored changed quite a bit and old ones are lost during the upgrade.

If you can, please send me a LogCat from the crash, and Xposed log from the wake problem.

Ideas are always welcome! So, there would be like, 9 modes? :P

Screen off - Internal speaker, Screen off - Wired headset, Screen off - Bluetooth headset

Lockscreen - Internal speaker, Lockscreen - Wired headset, Lockscreen - Bluetooth headset

Screen on - Internal speaker, Screen on - Wired headset, Screen on - Bluetooth headset

That's quite something haha

If you can, please provide logs from Xposed.

Sadly, there is no autodetection method in Android I know of.

Are you sure you enabled the module in Xposed Installer? If yes, send me your Xposed logs to investigate.

As in it doesn't stay activated in Xposed Installer?

If it's not it, then I am gonna need your logs from Xposed.
[Xposed Framework Modules] Collserra:
Not as in it deactivates in xposed, sorry I didn't say it very clearly. It's the same problem a few other have posted about; xposed says it's active, rebooted (twice to be sure lol) but the module still thinks it isn't.
[Xposed Framework Modules] Xspeed:
In that case I need the log to investigate further.
[Xposed Framework Modules] Collserra:
I deactivated, reactivated (in xposed) then rebooted. Then after reboot, tried to open app. Log attached.
[Xposed Framework Modules] Lilith:
Haha, well it does seem like too much, but I'm sure you would find a way to make it seem more elegant. It's just an idea, and if you ever have time to include it it would be very appreciated! :)

All the best!
[Xposed Framework Modules] :
The class com.android.server.wm.InputMonitor is not being found for some reason

attached is the full log so you can see for yourself :)
[Xposed Framework Modules] Xspeed:
[MENTION=5553596]Collserra[/MENTION] [MENTION=4819888]oshmoun[/MENTION] Thank you for your reports!

I was able to locate and fix the problem (oh Lollipop)

Tell me if it works as it should ;)
[Xposed Framework Modules] Collserra:
I really do appreciate the quick support on this (:

I don't want to post with bad news, but...

I'm still getting the same problem :/

Tried uninstalling and reinstalling just to be sure, activated and rebooted, but I'm still getting that evil pop-up.

I went and stuck another log in this post
[Xposed Framework Modules] Xspeed:
It seems to me that you didn't update PBMC to 3.0.2 by looking at the log.
[Xposed Framework Modules] Collserra:
I don't know why it isn't showing up in xposed logs?

I attached screenshot of app data page

Also attached another log after clearing log, uninstalling and reinstalling the module, then activating/rebooting
[Xposed Framework Modules] Dj Telo:
Same here. I'm going to update the xposed log asap.

Edit: it does not day much, but here it is https://www.dropbox.com/s/fv66o81ghhuzbo4/error.log?dl=0

Thanks!
[Xposed Framework Modules] :
Don't work

The module does not work, but in version 2.10 works without problem, but I still dating the same problems in both versions is that tells me I have the module off when I activated
[Xposed Framework Modules] Sebi673:
Logs

[MENTION=5292510]XspeedPL[/MENTION] Here's the debug xposed log and catlog with all system events.

It includes "other task" that results in app crash and the power button not waking the phone issue. as far as i've seen if i use "repeated key events fix" then app stops crashing when i assign "other task".

I'm willing to beta test your future versions if you're down with it ;).

Everything tested with the latest version - no more Please reboot screen.
[Xposed Framework Modules] Sebi673:
[MENTION=5292510]XspeedPL[/MENTION]

Another debug xposed Log with working 2.10 version. Power button event and normal wake/sleep actions.
[Xposed Framework Modules] NaughtyJothi:
GS5 G900F Default functions wont work when mapped

Hi,

As the title suggest, when i map certain buttons on my phone (Galaxy S5 G900F - International Version) the default function of the key stop functioning. This happens to all my buttons except the volume buttons, and happens both for when screen is off and when screen is on options.

Attached is a log of when i map the '

recent key

' button when

screen is on

to

stop and play music

when i

press once and hold

. This functions works, however, i cant use the recent key at all. Meaning single press and double press of it has no results. In the log, i try single press, then double press before finally offing (Press n hold) the music and oning (Press n hold) it back.

Please fix it with many thanks!!!
[Xposed Framework Modules] D€INOS:
Here, sorry about not attaching it right away
[Xposed Framework Modules] pyler:
Just move InputMonitor hook to handleLoadPackage (android package)
[Xposed Framework Modules] :
Glad to be of help ;)

Much like the others though, it doesn't work here as well :(

The log is not showing anything wrong though, which is kinda weird :eek:
[Xposed Framework Modules] Xspeed:
That's what I did with 3.0.2 basically.

The problem is that people are still sending logs from <=3.0.1, which I don't understand >.>

Soon I'll post 3.0.3 with more debug information.

EDIT: It's live, as a Beta version.
[Xposed Framework Modules] :
Same with the beta version, no change.

I attached both the xposed log and the full logcat, for your troubleshooting pleasure :D
[Xposed Framework Modules] Xspeed:
The Xposed log is too short, there is no useful information in it :p
[Xposed Framework Modules] :
yup, I saw that ;)

although I took that log after turning on debug log in PBMC settings, then rebooting and trying to map some buttons.

At least I'm using the latest version :p

EDIT: Do you have the code for the module online somewhere? Extra pairs of eyes looking into this problem wouldn't hurt ;)

It's absolutely ok if you don't find that a good idea though :)
[Xposed Framework Modules] Xspeed:
A standard log from Xposed is above 10 times longer!

Sorry, I keep my code only on Dropbox.

I'm evil, I know :p
[Xposed Framework Modules] Xspeed:
Ha! Now that's what's I'm talking about! Expect next version soon

EDIT: It's out, try now
[Xposed Framework Modules] :
IT LIVES!

it's working nicely so far. I'll map the **** out of the buttons and report back :D

EDIT: all the previous mappings work, nicely done :good:
[Xposed Framework Modules] Xspeed:
Great! I'll mark 3.0.4 as Stable then :)

Thank you for helping!
[Xposed Framework Modules] xk0niR:
+1

I still have this issue with 3.04.
[Xposed Framework Modules] exodius48:
Latest v3.0.4 still broken

[MENTION=5292510]XspeedPL[/MENTION] Why always get popup like on attach? I already activate it on xposed (in this case i use WSM tools, bacause xposed does not support miui rom) & reboot my device.
[Xposed Framework Modules] Dj Telo:
Is it possible to remap keys to other keys with this module? For instance, make the menu key double press act as the power button?
[Xposed Framework Modules] Xspeed:
I just noticed this too, happens only with screen on mappings.

I have no idea. Send your Xposed logs to analyze.

It's a great idea! I wonder why I haven't thought about that by now :)
[Xposed Framework Modules] Dj Telo:
Well, I gotta say it's something implemented in the module called Xposed Additions which pretty much does the same as this one. ;)
[Xposed Framework Modules] Xspeed:
The feature will be included in 3.1 ;)
[Xposed Framework Modules] pyler:
Great!
[Xposed Framework Modules] Sebi673:
Same issue with the new version. As soon as power button is mapped, device won't wake. :(
[Xposed Framework Modules] :
I have the power button mapped on screen off (hold power button -> toggle flash), and I can still wake up the device with a single button press ;)
[Xposed Framework Modules] Sebi673:
Well I've been using PBMC for a very long time... Bug free. And now after the last update I can't wake the device. So it must be something... I'll stick to 2.10. For me that version does everything i like. :p
[Xposed Framework Modules] pathaniya:
Dear "XspeedPL" unfortunately we are limited to 8 thanks per day only :p otherwise i would have kept thanking you for the every post, that you've put with changelog, of your module.

Today i had decided to look for a headphone with forward and rewind button you just saved me a lot of headache. You have saved millions of music lovers lives. Also, every other free app available on play store, has been tried by me, for the same but all have failed. Hope this one works on my rooted Samsung Galaxy Pocket 5300, Gingerbread 2.3.6

Thanks
[Xposed Framework Modules] Xspeed:
No problem, will be added.

To be honest, at first I made this only for myself, as I love listening to music wherever I am!

Sadly, you need to wait until the next version (which will come soon), because the current one has a bug and doesn't work for pre-Honeycomb devices.
[Xposed Framework Modules] lesscro:
that's right , thx !
[Xposed Framework Modules] Drakomord:
Can you make compatibility with Deezer app. Because when I push a button, he start a music with Walkman app.

Continue that ! It's a good module ! (y)

For information, my device is an Xperia SP (C5303).
[Xposed Framework Modules] Xspeed:
1.4

New version: 1.4

Changes:
[Xposed Framework Modules] elesbb:
Any chance of sharing the source code with me? I have attached the modded module that works with Pandora. It skips the music but pausing seems to be funky. It causes it to pause, then play again. I could prolly fix that with source code. But to others having issues with certain apps not working, try the attached and let me know what the results are.
[Xposed Framework Modules] Lexee:
ClassNotFoundException: android.os.LocalPowerManager

Hey guys! I am trying to run this on my HTC One stock AT&T JB 4.3 (3.17.502.3) build, and for some reason I can't get it to work.. I see an error message in Xposed log about missing class android.os.LocalPowerManager. Here is the stack trace:

Loading Xposed v42 (for Zygote)...

Loading modules from /data/app/xeed.xposed.cbppmod-1.apk

Loading class xeed.xposed.cbppmod.PhysicalButtonMod

de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: android.os.LocalPowerManager

at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:52)

at xeed.xposed.cbppmod.PhysicalButtonMod.initZygote(PhysicalButtonMod.java:55)

at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:364)

at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:317)

at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:114)

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

Caused by: java.lang.ClassNotFoundException: android.os.LocalPowerManager

at java.lang.Class.classForName(Native Method)

at java.lang.Class.forName(Class.java:204)

at external.org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:823)

at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:50)

... 5 more

Caused by: java.lang.NoClassDefFoundError: android/os/LocalPowerManager

... 9 more

Caused by: java.lang.ClassNotFoundException: Didn't find class "android.os.LocalPowerManager" on path: DexPathList[[zip file "/data/data/de.robv.android.xposed.installer/bin/XposedBridge.jar"],nativeLibraryDirectories=[/system/lib]]

at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53)

at java.lang.ClassLoader.loadClass(ClassLoader.java:501)

at java.lang.ClassLoader.loadClass(ClassLoader.java:461)

... 9 more

If I go to Framework in Xposed installer, I see that both app_process and XposedBridge.jar are there..

Versions Active Bundled
app_process 47 47
XposedBridge.jar 42 42

Does anyone have a clue what's missing? I am really eager to get this to work! Thanks for any help!
[Xposed Framework Modules] SystemErrorOne:
Sweet this is going to be one of the best Modules for xposed! Keep it up :) Thanks OP
[Xposed Framework Modules] killoid:
yet it doesn't work on GB.tested with playerpro & poweramp. :(
[Xposed Framework Modules] Xspeed:
Could you provide some logs? Much appreciated.
[Xposed Framework Modules] Xspeed:
I looked over the code in your modified APK, but I can't find any changes.

What did you modify?
[Xposed Framework Modules] tego:
This module is great, thank you very much for sharing it! Today after update to 1.4 it stopped working on my n003, but

now 1.4.1 works again and now it is exactly what I need because I use vol+ for next track and vol- for play/pause. (I never needed prev. track function)
[Xposed Framework Modules] elesbb:
Instead of "sendOrderedBroadcast" when sending the intent to carry out the media button, use regular "sendBroadcast"
[Xposed Framework Modules] killoid:
here you go.
[Xposed Framework Modules] Lexee:
Just wanted to share something I came across while researching my problem..

http: play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb

(http://xdaforums.com/showthread.php?t=2294274)

A different module, Xposed Additions 2.3.8 - works on my HTC One and allows to map any hardware button to one of many available actions (including media play/stop/fwd/prev, camera shutter etc). And you can also specify if the mapping should be in effect for screen on or off or both.
[Xposed Framework Modules] ahm.elghazaly:
Sorry to bring this up again man, but I use volume buttons to skip tracks and power button to turn on torch (ARHD thing) the only combination left was pressing both volume buttons for play/pause. I had that when I was using the iPhone and it was awesome. Please consider it, and thanks for your time and effort.
[Xposed Framework Modules] Xspeed:
I see, but now I've had to change the approach completely, since the media key events didn't work with volume buttons.

That was quite useful. NOW it's fixed, but I had to drop Froyo support. It WILL work though. Just wait for the update!

So, I take it that this module doesn't work for you? If it doesn't send me your Xposed log, if you can.

I see, this certainly is a problem. But man, this is gonna quite delay the update.

I am gonna do it anyway ;)
[Xposed Framework Modules] elesbb:
What do you mean? lol. Have you tried my modified apk? Thats all i changed and it worked. This is why if you shared your source code we could work on it together :)
[Xposed Framework Modules] Fabian2103:
If you like a german translation you can ask me.

Pls use the app-name as subject. I need textfiles.

Gesendet von meinem HTC One SV mit Tapatalk
[Xposed Framework Modules] tego:
Do you really use the previous track function? I don't so I set vol- as pause/play.
[Xposed Framework Modules] 0025:
Could you please add an option to disable the vibration, I don't want a feedback for each volumestep. Thanks.

EDIT: Forget it, I've finally found it. Now almost perfect for me! [emoji106]
[Xposed Framework Modules] Xspeed:
Yeah, I've been wondering: so many people are having trouble finding the vibration setting.

Is it really that hard to find? Maybe I should make it more visible?

What do you people think?
[Xposed Framework Modules] w0rinal:
I personally preferred the master switch in the settings

But once set up there's no need for me to change the settings again

[size=-4]Sent from my Boeffla powered Slim (4.4.4) GT-I9300[/size]
[Xposed Framework Modules] exodius48:
[MENTION=5292510]XspeedPL[/MENTION] Just reflashing my rom, and its working great. Yeahh... :)

But, its not working with built-in music player. I use it on poweramp. Any solution?
[Xposed Framework Modules] Xspeed:
Is it listed on the media receiver selector list in PBMC Settings?

Could you provide me the package name of the app?
[Xposed Framework Modules] Xspeed:
3.1

A new so-called 'stable' version 3.1 with a new feature!

- Added key simulation action for mappings
- Fixed original key function simulation
- Fixed repeat on hold function
- Visual improvements

Feedback very appreciated!
[Xposed Framework Modules] xk0niR:
Does not seem to work for me. Screen on Default buttons still stop working after mapping.
[Xposed Framework Modules] Rom:
Thanks for update XspeedPL, take my XPosed Log to find errors (i can have it :) ) in attachment.

You will can update your app with this.. :good:
[Xposed Framework Modules] Sebi673:
I'm happy to tell you that the power button wake issue I've been experiencing is now gone on the latest version. It works as it used on 2.10. Those new features are amazing but a bit buggy. I don't think they were intended for soft buttons but they do see the Home mapping, but it breaks functionality. Also on screen on I noticed a bit of delay for original power button function after u assigned double press and hold function on it. Also Volume up single click won't work after custom action is assigned click N hold or other. I'm gonna now try the simulated function.

Anyway those are no issues for me since all I need is the screen off options :D thanks man

Sent from my Xperia Z. KK .292

---------- Post added at 01:36 AM ---------- Previous post was at 01:17 AM ----------

Played with the simulated functions. Some of them work, yet even if I selected a simulated function for original button for screen on buttons, volume buttons won't work as normal, nor will the home button (soft b).

It's alright with me. I'm glad the module works with screen off. :D

Sent from my Xperia Z. KK .292
[Xposed Framework Modules] DevXen:
It's a great concept. But when I map the home button. Or the volume buttons and don't set the single press. Or set them for no action, do nothing, or simulated button for their function(s). In either case the single press doesn't do anything. So I've removed them all. Except for the screen off to change to the next/previous track with the volume keys. Let me know when you get it working so I can use it with the screen on and keep the original functions of the buttons. That'd be great. Thanks.
[Xposed Framework Modules] dimm0k:
[MENTION=5292510]XspeedPL[/MENTION] not sure if this is supposed to happen, but if I have Plug & Play set to 'Wired headset' and have my headphones plugged in the media player of choice, GoneMAD, starts up immediately after a reboot. hopefully you can 'fix' this or add an option to not do anything if the headphones is already plugged in when rebooting. minor, but somewhat of an annoyance since I tend to reboot often and have my headphones in.

speaking of GoneMAD as my music player, it doesn't play when I do plug in my headphones. I have it selected under 'Signal receiver' and also have 'Signal send options' set to 'Launch activity'. after plugging in headphones the player starts and then nothing else. is there something you could do for this or is it the player's fault?
[Xposed Framework Modules] w0rinal:
Never looked at it as a bug, I just took it as is

But PlayerPro also only starts playing when the player is already launched and if not it only opens up when plugging my headset in

[size=-4]Sent from my Boeffla powered Slim (4.4.4) GT-I9300[/size]
[Xposed Framework Modules] exodius48:
yes, it listed on the media receiver selector.

package name is: com.miui.player

please add support miui music player, if its possible. :fingers-crossed:
[Xposed Framework Modules] Dj Telo:
Same thing here.