yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] nonobio:
I don't understand very well this advanced chain but thanks ;)

I tried but can't get it to works like i would.

Maybe i do something wrong but if i explain all pbmc settings i would you could help me :

I have a Motorola Moto G 2014 with three buttons : power, vol+ and vol-.

On Vol+ i would :

Simple press : vol+ action. It is the original function but i want it in all screen states (when screen is on i want to display the volume OSD).

Hold : vol+ repeated action. It is the original function but i want it in all screen states (when screen is on i want to display the volume OSD)

Simple press and hold (quickly) : play/pause media

Double press (quickly) : next media

Triple press (quickly) : shortcut music player playlist.

On Vol- i would :

Simple press : vol- action. It is the original function but i want it in all screen states (when screen is on i want to display the volume OSD)

Hold : vol- repeated action. It is the original function but i want it in all screen states (when screen is on i want to display the volume OSD)

Simple press and hold (quickly) : launch camera

Double press (quickly) : previous media

Triple press (quickly) : shortcut music player playlist (another one).

I want all these actions on all screen states.

All was working with PBMC version 2 but i would to enjoy your last and future functions so i updated to version 4...

Thanks
[Xposed Framework Modules] gdecker:
This is my setup on a note 4, lollipop 5.1.1. Works with Pandora, Spotify and android music. Thanks for the great app ;)
[Xposed Framework Modules] Xspeed:
[MENTION=5327200]nonobio[/MENTION]

Look at the screenshot attached to this post. I mapped the volume up button like you wanted and it works on my device.
[Xposed Framework Modules] Xspeed:
β

I released another 4.0, this time called "beta". Wow, much change, very progress? Nah.

With it I introduced a helpful little tool for key testing.

I believe it will help a lot of people understand how advanced chains work.

If it won't I don't know what will :silly:

I added the forever missing UI element separating keys in advanced chains, it's pretty simple and yet neat.

Have fun and enjoy! ;)
[Xposed Framework Modules] KostisTTT:
Action / Other / Launch Shortcut

Hello, guys..

I would like to ask you if there is any change with the "launch shortcut action". I would like to launch some Tasker action with a combo of buttons but I cannot do it.

Is there any other way to do it or I should just wait to be updated??

Thanks in advance...
[Xposed Framework Modules] Xspeed:
I have no idea what are you talking about.

Tasker tasks work without problems, and always have.

Can anyone else check?
[Xposed Framework Modules] :
tested, works!

oh and the new test window is awesome, juuuust missing a clear button :p
[Xposed Framework Modules] Xspeed:
Oh my god, how did I forget that? xD
[Xposed Framework Modules] KostisTTT:
Hello again.

First I unistalled PBMC alp 4, rebooted, installed PBMC alp 6, rebooted and then....

I do this:

-Select + icon

-Basic Chain

-Insert name, Single press (no delay): Vol Up

-Action / other / launch shortcut / task shortcut / "Flash"(I just want to flash the word "Flash" for testing)

-Mode : always

-Audio : always

-Cancel orig. k. func. : On

Then, after saving, when I press Vol Up button, nothing happens, except that the volume doesn't rise..

What I am doing wrong???

Thanks in advance...
[Xposed Framework Modules] Xspeed:
Well, did you save too?
[Xposed Framework Modules] KostisTTT:
Yes, I saved it..
[Xposed Framework Modules] Xspeed:
Try checking the option "Show toast on action" to see if it works.

If a toast is shown then there might be something wrong with your Tasker configuration.

Otherwise, I am gonna need Xposed debug logs from you to check.
[Xposed Framework Modules] Spookymyo:
I upgraded to the newest beta and it stopped working with Pandora. I went back to the stable version I was using before and now it won't work with Pandora. When I press and hold volume up, instead of skipping it brings up my music player and starts a song. The long gold power button still toggles the flashlight, so it's sending some kind of signal.

Any ideas why this is happening?

---------------------------

VZW LG G4

Rooted

Android 5.1

Stock ROM

Stock Kernel
[Xposed Framework Modules] Xspeed:
If you've just upgraded from pre-4.0 you might need to review the settings (set a signal receiver and such).

But, if you think everything is correct, post a screenshot of your chains and Xposed debug logs would be nice too.
[Xposed Framework Modules] aLexzkter:
Hi,

I have a Galaxy Note4 now, and the menu button turns on the screen by default. I don't want that.

Tried creating the basic chain: Single press home button, action: DO NOTHING, with either Cancelling original key functions and not Cancelling but it just keeps turning on the screen.

Take a look here: http://xdaforums.com/note-4/help/disable-home-button-to-wake-t2928613

For what it looks like, "Xposed Additions" and "Wannam" xposed modules are the only ones that solve the problem, but I don't feel like installing a whole module just for 1 key, when I already have the best module for mapping hardware keys (PBMC)

Can you look into it [MENTION=5292510]XspeedPL[/MENTION]? Thanks
[Xposed Framework Modules] Xspeed:
Everything should be fine, I mapped the POWER button on my phone to do nothing and it doesn't wake up the screen anymore.

Show me Xposed logs, maybe we can figure something out ;)
[Xposed Framework Modules] aLexzkter:
For some reason the xposed logs are empty...

I don't know what's wrong with that. I've saved xposed logs on my G2 succesfully in the past...

I kept investigating and found out that the following chain:

Play/pauses music without turning the screen on. Single presses don't wake up the screen either. That's okay.

But...if mode is set to both Screen Off and SCREEN ON, single pressing the home button when the screen's on doesn't take you to the desktop, since the Cancel original key functions is selected.

The thing is I want to keep the original action when pressing on home button if the screen's on and I want to be able to play/pause music no matter the screen's on or off.

Edit: The way it is right now is okay, I don't really need the ability to play/pause when the screen's on by using the home button.
[Xposed Framework Modules] Xspeed:
[MENTION=2976156]aLexzkter[/MENTION]

Sooooo, you wanted the home button to do play/pause and keypress (home) at the same time on single press?

Multiple actions are planned, but I think it's a distant future.
[Xposed Framework Modules] aLexzkter:
No, I wanted home function on single press, and play/pause on press&hold

when screen's on

.

It already works when screen's off (it's the key chain that I found out to be working) but home function by single pressing home button doesn't work if the screen's on because of the "cancel original key function" thing.

If I disable that last option, I loose the ability to NOT have the screen turn on every time I accidently press on the home button.
[Xposed Framework Modules] Xspeed:
Ok, so, basically 'keypress (home)' on home single press doesn't work while the screen is on?

Or do you want it to do nothing while screen is off and act home while on?

You can make 2 separate chains: one for screen off only doing nothing and one for screen on only with 'keypress (home)' set.
[Xposed Framework Modules] nonobio:
I will try but i'm suprised to see only basic chains ? you recommend me advanced chains :

Another thing : sometimes my power button doesn't work to power off my screen or show shutdown menu (long press). I do'nt have any pbmc chains on this button but could PBMC the cause ? Has this issue ever been reported for pbmc ?

thanks
[Xposed Framework Modules] Spookymyo:
I figured it out. I uninstalled and reinstalled Pandora and that did the trick. Now it's working like it's supposed to again. I'm still on v3 though. I don't like the layout of v4 as much.
[Xposed Framework Modules] Xspeed:
Let me know if it worked for you

If it isn't mapped anywhere, PBMC won't mess with it.

Any ideas on how can I make it better then? :P
[Xposed Framework Modules] Spookymyo:
I'm not saying its bad. I just like the way v3 is layed out better. It's more simple and intuitive to me.

I do like the options that v4 has though. Being able to pick any app is great. I still may go back to v4.

---------------------------

VZW LG G4

Rooted

Android 5.1

Stock ROM

Stock Kernel
[Xposed Framework Modules] aLexzkter:
Separate chains worked! Thanks
[Xposed Framework Modules] Spodi2290:
Is there a way to have different controls dependand sond is playing or not? Eg long vol up with music (or other sound) is playing does a media next action, while long vol up with no music triggers flashlight?
[Xposed Framework Modules] Xspeed:
There isn't for now, bur it's a pretty darn good idea!

I am going to work on that ;)
[Xposed Framework Modules] Spookymyo:
A great addition would be a way to thumbs up or down a song on Pandora.
[Xposed Framework Modules] aLexzkter:
I need this feature ;D

Tried mapping double press on home button with screen off to launch camera app but it doesn't automatically turn on the screen.
[Xposed Framework Modules] Xspeed:
Seems more like a job for Tasker, which you can link via a shortcut to PBMC later.

You need to make sure your camera app can actually work on lockscreen (it doesn't depend on me).

Then you need to make sure you're launching the correct activity.

In example Sony stock camera app has 2 separate activities: one normal, and one for use with locked screen (with disabled access to taken photos etc.).

Anyway, I'll add the wake-up option to the next version, because it seems useful ;)
[Xposed Framework Modules] Spookymyo:
I know what tasker is, I've just never used it.

When you say "later" do you mean its not yet implemented in v4?
[Xposed Framework Modules] Xspeed:
No, I meant after you make the action in Tasker, you can use it as a shortcut in PBMC after. It's a figure of speech.

Rolled out beta2:

- Reworked code structure
- Added an option specify music state for chains
- Added an option to wake up the screen on action
- Added a clear button to key testing
[Xposed Framework Modules] :
[MENTION=5292510]XspeedPL[/MENTION] thanks for the update, but something got derped it seems XD

This is causing the button detection not to work, which in turn renders everything non-functional :3
[Xposed Framework Modules] Xspeed:
My god, such a stupid bug. Uploading a fix ASAP

EDIT: Done
[Xposed Framework Modules] zertyuiop:
Beta 2 writes me that version 49 is active, when the 50 required.
[Xposed Framework Modules] :
you can ignore it. Everything works fine.

The assumption is that the API version check was incremented so it checks for version 50, but not the actual version of the API, which stayed at 49
[Xposed Framework Modules] Xspeed:
Yeah, I changed the value, but didn't save the file after xD

It's just visual, anyways sorry for inconvenience
[Xposed Framework Modules] Spookymyo:
I got Tasker and have been trying to figure out how to get it to do what you suggested…no luck.

I've asked on the tasker forum but as of yet haven't gotten a response.

Since you mentioned it, do you have any idea how to do it?

[emoji106]

---------------------------

VZW LG G4

Rooted

Android 5.1

Stock ROM

Stock Kernel
[Xposed Framework Modules] aLexzkter:
I currently don't have Tasker on my new phone, but I know Tasker allows creating shortcuts (icons) on your homescreen for your individual tasks (without having to create profiles for them, I actually had a useful shortcut on my previous phone) so tasks get launched when clicking on the shortcuts.

Would you mind explaining how PBMC can detect tasker's tasks / shortcuts ? I don't want to use tasker's profiles, and I haven't seen any homescreen shortcut of my installed apps on PBMC's "pick an action" window so far. Pick an action, other, launch shortcut only shows these:

My camera app only has 1 activity, the other two are samsung testing stuff:

Pick an action (launch activity):

I mapped double pressing home button to launch camera. If the screen's turned off and I double press the home button it turns the screen on and shows "swipe to unlock" if I swipe up, the camera is already there launched. This means my lockscreen's security (slide to unlock) is preventing apps to be launched until you swipe. As expected, if my lockscreen's security is set to none then it works the way I want: screen on, and camera interface shows up in no more than 1 second, pretty impressive, but I lose my lockscreen...

What can I do? Erase touchwiz? lol

---------------------------------------------------------------------------------------------

I have 3 feature requests, they're not very important, but they could be useful when dealing with several chains:

-You might end up not being able to recall what actions they execute just by looking at their chain names. A description box on the right side of every chain (in the chains list, of course), or a description line below the chain's name so that the user can write down a quick description of what that particular chain does. Or do you suggest just using longer names?

-Turn off/on switch for every chain so you don't have to delete them if you want to temporarily disable a particular chain for whatever reason.

-Inclusion of a Black interface for amoled screens. Yes, I spend a lot of time playing with your module, that's all your fault, if it wasn't so great I wouldn't ask for this :P
[Xposed Framework Modules] Xspeed:
Sorry mate, I don't use Pandora myself, so I don't know.

You should wait for response on that forum.

PBMC queries activities for intent 'ACTION_CREATE_SHORTCUT'. Tasker allows to create shortcuts to single tasks, not profiles.

It's displayed as "Task Shortcut" in PBMC shortcut selection window.

Sadly, I don't think there's anything you could do, other from trying other camera apps.

As I said Sony stock camera has the ability to work on the lockscreen, but it's up to the developer of the app to include it or not. Samsung's lazy it seems :eek:

Cool :good:

Longer names. You shouldn't name your chains like "chain 1" and "chain 2", but just type what it does there. That's what it is for.

With additional field the chain name would have no sense :rolleyes:

Funny fact: the feature has been implemented already since alpha in the code, but I haven't added it to the UI. If you know how to edit shared preferences look for key "chains.CHAIN_NAME.en".

Maybe in the future I'll add an option to enable/disable or even edit chains via a shortcut or a Tasker plugin. But that's for some distant future.

Also, for some reason I allow to change screen/audio/music mode to 'Never' by unchecking all modes. It makes the chain simply not work, so you can do just that to disable a chain.

Changeable themes, eh? Never toyed with that, but you can expect that to be done in the next version ;)
[Xposed Framework Modules] KostisTTT:
Tasker shortcut problem

Hello, XspeedPL.

I selected the option "Show toast on action".

It works with everything else except Tasker Shortcut (there is nothing shown, no toast notification)

I am sending you logs. file:///C:/Users/win7/Desktop/xposed_error_20160406_081639.log

Thanks in advance.
[Xposed Framework Modules] Xspeed:
[MENTION=6898425]KostisTTT[/MENTION]

Thanks for the report. Issue should be fixed in the next version.

By the way

I lol'd :silly:

Only thing keeping me from releasing the new version is that goddam black theme.

I can't get it to work on all platforms (yes, I am talking about Gingerbread). When I get it done, beta3 will arrive ;)
[Xposed Framework Modules] aLexzkter:
You need to reboot your device to complete the updating process.

Installed version: 50

Active version: 49

I've rebooted the phone, even uninstalled and installed and still getting this annoying message, although the app works just fine as it keeps getting better.

[FEATURE REQUEST]

For visual confirmation there's a "Show toast on action"

How about a "Play beep sound on action (through earphones)" too with the option to increase/decrease its volume level ?
[Xposed Framework Modules] Xspeed:
I already responded to this problem, use the search function next time.

It's just a visual bug, the number is reported incorrectly. Other than being a nuisance, it doesn't PBMC functionality in any way.

Good idea. Not sure why would you want it only through a headset only.

I guess I could make it play the system beep sound, which plays only through the headset if your phone is silenced.
[Xposed Framework Modules] aLexzkter:
Sorry, I didn't mean I only wanted it through a headset, actually I want it to al least work with headsets.

And sorry for asking what already had been asked.

Since there are likely to be 2 ways of telling the action's been executed (toast notification and beep sound)..how about a third one? Lol. Flashing the notification LED once or twice could be nice, as if it were a remote control or something.
[Xposed Framework Modules] Spookymyo:
Why would you need 3 more methods when the phone already vibrates when a button action has been executed?
[Xposed Framework Modules] Xspeed:
Too late to argument, it's already done :silly:

Changelogs of beta3:

- Added an option to blink light or play sound on action
- An ability to change the in-app theme
- Fixed a bug with repeating toasts
- Fixed UI crashes on older devices

Enjoy ;)
[Xposed Framework Modules] aLexzkter:
I'm not always able to tell if there was a vibration or not. And I don't want it to vibrate too much. Just as simple as that.

Already done?! Damn, I think I should've requested a 1000$ bank transfer to my account action on every chain activation :(

About the new features...

-Black or white themes are only applied to the settings menu. I wanted it also on the main screen since it's where I spend most of the time when using pbmc. Edit: after reinstalling, the black theme is everywhere. Weird, but it works now, cool.

-Blinking led light only worked the first time and it was too fast. Now it doesn't work anymore. I noticed my previous chains stoppped working, reinstalled the app and again...blinking led only worked on the first triggered chain. I guess you'll add the ability to set colors and durations down the road. :good:

-Notification sound feature is okay, there seems to be a little delay (pause action has way more delay than resume, don't know why), though, that is, vibration always comes before. Plus... I didn't like the sound being the same I have for all other apps, it might make people think they just received a text if they're not paying attention. Having the possibility to either choose a notification sound for every chain or...at least for all of the chains would be perfect.

Finally, the notification sound comes out of the speaker too even if I'm using my headsets. That is annoying

And another feature request that's been floating around in my mind:

Search icon on "pick an action" (keypress) window. There are so many actions there that it can take a while to find the proper one sometimes.
[Xposed Framework Modules] trohn_javolta:
Hello,

I have a Oneplus X with Stock OxygenOS 2.2.1 (Android 5.1.1) on it.

It's not bad but I miss some cm based custom rom features so I found your xposed module.

Unfortunately it doesn't work =/

I configured it to play next/prev song in spotify, pressing volume up/down while screen is off.

Using v3.0.4 stable it seems nothing happens at all, while screen is off I can turn vol. up and down normal.

Here's a log: http://pastebin.com/NzuraNBL

Using v4.0 beta3 I get a soft reboot after pressing a button.

I don't know if it's in the log or if log started new after soft reboot, here it is: http://pastebin.com/b5T2ERfL

Maybe you can help. changing tracks with volume buttons like I used to with my old smartphone would be awesome.
[Xposed Framework Modules] Xspeed:
Heh.

Well, it doesn't refresh the main activity. When you change the theme, exit PBMC and start it again to see the changes.

Cannot reproduce this issue. Xposed logs necessary.

Colors and durations? Maaaybe, the feature is extravagant enough already lel

Apart from the delay, I can fix those issues. The delay is because of how Android handles notification sounds, sry.

And changing sound file, I guess that also can be done.

Another good idea. It's already in the making ;)

3.0.4 is obsolete, don't use it.

By looking at the log from 4.0 it seems incomplete. Did you trim it? Because there aren't any signs of you using any buttons in it.
[Xposed Framework Modules] trohn_javolta:
It seems that xposed log doesn't "survive" soft reboot. Any idea how to change that? Otherwise I think I can't provide a useful log.
[Xposed Framework Modules] :
you could use adb logcat

the moment the device soft reboots adb will restart, and logging will stop. That leaves you with the log just before the crash
[Xposed Framework Modules] trohn_javolta:
Ok, so I would connect to pc, press a button and after soft reboot I type

adb logcat -v long > name of problem.txt.

And how do I get rid of all the stuff before in the log?

Is it a omnipresent log within android I get with adb logcat?
[Xposed Framework Modules] :
removed, cuz i screwed it up!
[Xposed Framework Modules] Xspeed:
adb logcat -s "Xposed"
[Xposed Framework Modules] trohn_javolta:
Ok, I'll post it tomorrow, battery is empty and I should sleep now.
[Xposed Framework Modules] :
removed cuz i screwed up, again!
[Xposed Framework Modules] Xspeed:
It's not literally a notification, it just uses the same routines as I said. That's a difference.

Hmm, Xposed logs are clear of any errors... Tough situation.

Could you post LogCat instead?
[Xposed Framework Modules] trohn_javolta:
here is the log: http://pastebin.com/RTPHe4G4
[Xposed Framework Modules] Xspeed:
What the hell? You have a 'F4' key on your device? Or is this a bug?

What I'd advise is to clear app data of PBMC (or just reinstall if you're lazy), set up chains and try again.

If this happens still, post a screenshot of your PBMC chains configuration.
[Xposed Framework Modules] :
Maybe Bluetooth or otg keyboard?
[Xposed Framework Modules] trohn_javolta:
Still happens, I get the popup to setup basic chains. Now I also tried to edit and change one to single button press but it still soft reboots.

I attached a screenshot.
[Xposed Framework Modules] totbl:
I'm on Cyan 13 and can't get this badboy to recognze track skipping. everything else works great. I'm using the stock player that looks like Apollo.
[Xposed Framework Modules] aLexzkter:
My suggestion.

Try the action: keypress, media next.

Media controls category doesn't work on my note4 or lg g2.

Also, set Media signal receiver as "use last used player"
[Xposed Framework Modules] DallasBelt:
Hello. I searched the forum but did not find any hint. I'm trying to make a chain to skip tracks with quick double press of volume key. I currently use long press, but I'd like to mantain the original function of volume keys on long press. Thank you, awesome module!
[Xposed Framework Modules] trohn_javolta:
Nevermind, got this to work with xposed module gravity box. Great module with many customisation options.
[Xposed Framework Modules] totbl:
Thanks for the response. It didn't work, however. I wonder what changed.
[Xposed Framework Modules] aLexzkter:
Did you accept on adding basic chains pop up?

If not, do it, then change the things that I said.
[Xposed Framework Modules] aLexzkter:
I just tried play/pause keychain but logcat doesn't register anything related to PBMC...

http://pastebin.com/bnqwgTcR

Still no led pulse notification.
[Xposed Framework Modules] Xspeed:
Looks like Apollo, eh? Does it show up on "Media receiver" list?

Try setting the receiver to "let the system decide" if it doesn't.

Other than that, it might be that the player doesn't support media control signals.

Have you tried adding a basic chain with keys set to "Double press"?

There is nothing about PBMC there at all. You didn't catch that moment when you activated the chain.
[Xposed Framework Modules] aLexzkter:
Yeah. That's weird. I typed the command on Windows then activated the chain twice. Then waited 2 or 3 seconds and closed the cmd window...