yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] mkdr:
E/com.spazedog.xposed.additionsgb.backend.PhoneWindowManager
NoSuchMethodException: com.android.internal.policy.impl.PhoneWindowManager.showGlobalActionsDialog[]#B
com.spazedog.lib.reflecttools.utils.ReflectException: NoSuchMethodException: com.android.internal.policy.impl.PhoneWindowManager.showGlobalActionsDialog[]#B
at com.spazedog.lib.reflecttools.ReflectClass.findMethodDeep(ReflectClass.java:377)
at com.spazedog.xposed.additionsgb.backend.PhoneWindowManager.registerMembers(PhoneWindowManager.java:178)
at com.spazedog.xposed.additionsgb.backend.PhoneWindowManager$4$2.onReceive(PhoneWindowManager.java:390)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:768)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at com.android.server.ServerThread.initAndLoop(SystemServer.java:1134)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:640)
at com.android.server.ServerThread.initAndLoop(Native Method)
at com.android.server.SystemServer.main(SystemServer.java:1220)
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:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
at dalvik.system.NativeStart.main(Native Method)
Caused by: com.spazedog.lib.reflecttools.utils.ReflectException: NoSuchMethodException: com.android.internal.policy.impl.PhoneWindowManager.showGlobalActionsDialog[]#B
at com.spazedog.lib.reflecttools.ReflectMethod.<init>(ReflectMethod.java:94)
at com.spazedog.lib.reflecttools.ReflectClass.findMethodDeep(ReflectClass.java:374)
... 17 more
Caused by: java.lang.NoSuchMethodException: showGlobalActionsDialog []
at java.lang.Class.getConstructorOrMethod(Class.java:472)
at java.lang.Class.getDeclaredMethod(Class.java:640)
at com.spazedog.lib.reflecttools.ReflectMethod.<init>(ReflectMethod.java:65)
... 18 more

------------------------
E/com.spazedog.xposed.additionsgb.backend.service.XService
null
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at com.spazedog.xposed.additionsgb.backend.service.IXServiceChangeListener$Stub$Proxy.onBroadcastReceive(IXServiceChangeListener.java:152)
at com.spazedog.xposed.additionsgb.backend.service.XService.sendBroadcast(XService.java:541)
at com.spazedog.xposed.additionsgb.backend.service.IXService$Stub.onTransact(IXService.java:242)
at android.os.Binder.execTransact(Binder.java:404)
at dalvik.system.NativeStart.run(Native Method)
[Xposed Framework Modules] gerhardo:
The method "showGlobalActionsDialog" does not seem to exist in this ROM. This method is used to display the Power menu.

dk_zero-cool changed the init in 3.2 to make it more efficient. The problem before that was likely that the power menu did not work.

XPosed and XPosed Additions are designed to work with AOSP ROM. Other setups are not supported what I know and may not work.

Anyway, I submitted a patch to dk_cool-zero that should fix the problem (unsure what happens with power menu invocations on these ROMs).

My other patches are not accepted yet.

I included the patch in my mod, link on page 131.
[Xposed Framework Modules] cyphomatic:
Since 2.3.8 was working perfectly. Would it be possible to release 2 separate versions on xposed framework and Google play? New and old? I already had to revert a dozen times due to accidentally updating. The new version, despite numerous patches, is still highly experimental for many devices wich were fully functional on 2.3.8... It blocks people from using the update all function in Google play store. When you have a lot of applications, this is extremely annoying.
[Xposed Framework Modules] mkdr:
1.) SlimBean/SlimKat is a 100% AOSP rom ( http://www.slimroms.net/ )

2.) It worked perfectly <= 3.1.4
[Xposed Framework Modules] spätzlemitsoß:
nice! looking forward to this! Your app has lots of potential!

some more ideas for remap actions:

- kill app

- quick memo

- expand notification panel

- unlock phone

- start app

maybe double tap is also an option...

BTW im having problems starting recent apps. It always hangs shortly and then crashes with popup window: window stopped

I have a S4 stock rom + xposed. Maybe a problem with call method?
[Xposed Framework Modules] brotbuexe:
I already tried that. That does not fix it.

I found out, the issue is only present when I have "Expanded Desktop" enabled (running CM10.2).

And with it I have the issue with other buttons too. It is only the click action where no selected action work, the long press still works.

I tried b4 and the issue is not there.
[Xposed Framework Modules] dk_zero-cool:
Strange. But it might be fixed in the new release which I am releasing after writing this reply.

I have a Galaxy S3 with CM10.2, did not test b4 with Expanded Desktop, but I did test it now with the new release, and no issues. So there should be no problems now.

If you get issues still (After updating to this new release), try to delete app data/cache from Android's application settings, reboot and try again.
[Xposed Framework Modules] kolyan:
Works nicely on GS4, thanks. I was wondering if its possible to remap buttons to GS4 actions, like long press home action and long press back action which by default brings multi-window panel...

Also maybe support for double clicking actions?
[Xposed Framework Modules] dk_zero-cool:
Don't think double click will be available.

And device specific actions will definitely not. Sorry, but handling compatibility with the different Android version is hard in itself, if I also where to implement device specifics of the different Android versions, then I could go on an on. There has to be a limit some where, not only to limit my work, but also to avoid having this thing grow to big. Think about how many times you press a button. Every time you do, my app goes to work twice (Key down and key up) before parsing it to Android's original handler. So I would like to keep that work as small as possible. And it is the same with double click, it would require double pass-through before invoking an action. And we are talking about on every key click.
[Xposed Framework Modules] dk_zero-cool:
Well new release it out. This time, no more beta as the known issues has been fixed and the rest of the missing GB and ICS support has been implemented.

Added missing USB Plug/Unlug control support for GB and ICS

Fixed Back issue with GB and ICS while System Dialogs where showing

Other minor changes/fixes
[Xposed Framework Modules] brotbuexe:
I did a uninstall of b4 and installed b5 with a reboot. Still the same issue.

Could be the rom, but did not understand why it's then working with b4 if there is no change in this.

With the new version from today, it does not work at all for the awake buttons (click or long press), regardless of expanded desktop on or off.

Lets just wait if other have the issue too.

Perhaps most of them only kills the wake function of the home button.
[Xposed Framework Modules] dk_zero-cool:
Well I will see if I can find something among the changes. Did you try to delete the app data/cahce? Android does not always do this on app uninstall.
[Xposed Framework Modules] spätzlemitsoß:
installed new version, rebootet, recent apps working fine on S4 now!

Great work!
[Xposed Framework Modules] kolyan:
Thanks. Excellent module as it is!
[Xposed Framework Modules] dk_zero-cool:
It seams that the issue is brought by some CM changes. After updating my 3 week old ROM to the latest CM10.2, it stopped working here as well. At least now I have a device I can test it on while I fix it :)
[Xposed Framework Modules] Ranomez:
Love using Vol Down button as a power button (cause my phone is too long and I find the Power Button kinda hard to access for hands, especially with one hand only, perhaps I have small hands) but could you please add a system default option for sleep actions, cause before I could set the volume when music was playing and I want to set long press vol down to wake up, but that makes me unable to lower the volume of the music with normal clicks without having to turn the phone on?
[Xposed Framework Modules] leblvin:
Been waiting for this all my life! It's like I'm complete now! :thumbup::)
[Xposed Framework Modules] dk_zero-cool:
@brotbuexe

I got the issue fixed, at least on my device so it should work on yours as well.

Done, version 2.0.2. I also threw in some Media Control options, so you should be good to go.
[Xposed Framework Modules] Ranomez:
Thanks a lot man, your module makes my phone easy to use with one hand, great work you did here, but when I installed the new version (using adb install) as soon as I got the Success in the terminal my phone soft rebooted, and that is a really odd thing....but it works nomrally.
[Xposed Framework Modules] brotbuexe:
Confirmed. And thanks for the media controls.
[Xposed Framework Modules] xXYoshiXx:
Hi, could you add the option to launch a shortcut from button presses? I would like to assign Tasker tasks to my volume buttons. While volume buttons and power work well, I can't re-map the softkeys on my Xperia ZL running Android 4.2.2.

Edit: would it be possible to have double click actions for the softkeys?

Edit2: could the camera button also be used with the module? Would be cool to use it for other things.
[Xposed Framework Modules] Ranomez:
Hi, I have a request if possible, could you add the option to this module to remap the headset buttons actions also (I have the urbeats headset that came with my phone and it has 3 buttons) and I would like to be able to set the volume by long pressing the next and previous buttons, I have an app that does that allready, but it uses soo much ram.....thank you if you are going to look into this request and if not thank you anyway for your great work, this app is already incredible and sorry for asking.
[Xposed Framework Modules] deedscreen:
[MENTION=3147360]dk_zero-cool[/MENTION]

In CM10.1, there's a feature where you can remap the home button's long press in the lock screen/(from sleep) to turn on Torch, and the rest of your options. Is their any way you can add Torch/(Flashlight) to your commands list???
[Xposed Framework Modules] dk_zero-cool:
The shortcut option is already on the todo, however I can't say when as it will require a bit of work and I don't have the time at the moment. Also, It will require some changes and additions to the UI, and I hate working with UI. So when I get time and the patient for UI work, I will have this added.

The double click question has already been answered. Just look a few posts back.

Camera? Maybe, once I look into this button.

This should already be included. The module contains re-map options for Play/Pause, Next and Previous. This is the same event codes that your headset sends to your media application. Just remap those and it should work.

You got the answer in PM?
[Xposed Framework Modules] inancatil:
after enabling this mod , my BT keyboard doesnt work properly. i cant write fast, and also shift combinations dont work. Will it get any update?
[Xposed Framework Modules] gerhardo:
This module handles all physical keys, also those not mapped. This was a design decision I believe.

I have submitted a patch to change this though, not yet accepted.

See page 131 for a link to a test build with this and other changes.
[Xposed Framework Modules] omnomnommm:
is there any fix for this??? I also get no control over actions when screen is off...... Not to be rude, but does the dev actually read these? o.o
[Xposed Framework Modules] bkd11:
I used Titanium Backup to detach the app from the market until a fix comes for my issue..
[Xposed Framework Modules] ptaq1234:
[MENTION=5407402]gerhardo[/MENTION], I used your mod and it works like a charm :) Finally :D Now I got used to this strong vibrations, so yours seems a lot weaker, but they are perfect, just like before ;) Thanks for keeping this project alive :)
[Xposed Framework Modules] cyphomatic:
I don't know why, I have tried multiple times, but the module somehow connects itself to the market, with autoupdate ON. So when I try that, the module updates itself and I got the same problem again.
[Xposed Framework Modules] themadproducer:
@cyphomatic

Titanium "detach from market" does not stick. Useless. Been that way for a long time...in most if not all cases. Instead, make a Titanium backup of the app version that works best for you, then find "zipsigner" at Google play and resign the app. (I can't remember the exact procedure) Once it is resigned and installed, it will no longer connect to the market. To revert, you would need to uninstall this custom signed app version, and restore the original from Titanium.
[Xposed Framework Modules] The Fer-Shiz-Nizzle:
Yea, just as [MENTION=1989457]themadproducer[/MENTION] said, use this app with its default settings (I think it uses test keys as default) to resign the app and reinstall it. That will get rid of the auto-updates. https://play.google.com/store/apps/details?id=kellinwood.zipsigner2
[Xposed Framework Modules] cyphomatic:
Worked like a charm. Thanks for the tip guys.
[Xposed Framework Modules] JavaScout:
Hi people! Is that possible to add call autorecording in a form of xposed module?
[Xposed Framework Modules] s3min3x:
disable re-mappin / more click action's

Hi,

i think one my question is already asked: :highfive:

1)

May it be work? (will it be implement?) It would be great!!!! :D

If not: May it be possible to “Save” my remappings (to a txt-file ore whatever) and then restore them?

2)

Why are not all KeyEvent's selectable? :crying:

For example:

KEYCODE_ENTER ( Key: 66 )

KEYCODE_SOFT_RIGHT ( Key: 2 ) [is it in the program “Back ( Key: 4 ) ?]

would be great to have for me... :fingers-crossed:

BUT: apart from that; it's a great work!! :D :good: :good: :good:

thanks :) Veit
[Xposed Framework Modules] gerhardo:
Thanks

My mod is not changing the strength of the vibrations. It adds haptic feedback in a few situations (actions mapped to keys and long-long feedback).

For instance CyanogenMod add driver support for some devices to control the vibration intensity, but I believe that requires modified drivers.
[Xposed Framework Modules] limestone:
hi, is there any way to totally disable xposed addition's influence on a particular button? I ask this because my LG optimus G Pro has a quick button that can be user assigned to any application in it's stock rom..

I usually assign it to camera, and it works both as a camera shortcut and shutter button. however once I enable xposed additions (and did not assign any remapping to this quick button), the camera shortcut still works, but the shutter function becomes faulty, and behaves as if I'm holding down the quick button forever (therefore continuously taking burst shots).

this problem only recovers if I totally disable the xposed module.. but if I do that, I don't get my other buttons remapped! pls help!
[Xposed Framework Modules] themadproducer:
[MENTION=323164]limestone[/MENTION]

Unfortunately no. I wish there was too.
[Xposed Framework Modules] MarSoftware:
Hello. I would like to report a bug.

I am using Carbon ROM on Galaxy S4 Active (GT-I9295). And I installed Xposed Additions and mapped Menu long-press to "Last application" action. It seems to work, but in a very strange way.

Here is an example action sequence, with screenshots.

(left - screenshot of active app, right - recents list at that moment)

Opened Google+ Photo album:

After "switching to last application" I get Google+ main page:

Another try. Opened Firefox:

Switching; got vk.com client's messages screen:

And the last try. This happens always.

Switched to home screen:

Switching; and device reboots to "safe mode". Looks like "quick" reboot (just GUI, not kernel boots), but with "Safe mode" text in the corner after boot, and, IIRC, some error messages unrelated to the problem.

What more info can I provide to help locate the bug?
[Xposed Framework Modules] bkd11:
I can confirm the "detach from market" does not stick.. I tried the "zipsigner" method and it did work as far as not showing up in the market. The problem now is that the Pro key no longer works with it :/

---------- Post added at 01:34 AM ---------- Previous post was at 01:09 AM ----------

I tried your mod and it does fix the problem with the keys not being recognized on Slimkat 4.4.2 :good: As someone else mentioned earlier, Slimkat is AOSP based so I would hope your patch will be accepted soon.
[Xposed Framework Modules] gerhardo:
Confirmed, fixed in my mod (unreleased). As with all, not accepted in this module.

Explanation:

Fix toggle last app

List of recents included the last 5 apps, including "invisible" apps".

The switch tried to find the "switchable" app (not system or launcher) and selected the last of them, which often was the third app.

---------- Post added at 11:04 PM ---------- Previous post was at 10:58 PM ----------

SlimKat may be AOSP, but there is some change in the mod that makes this specific hook fail.

The power menu should still fail...

This is kind of expected when hooking in to something in the way Xposed does. Reports normally needs logcats.
[Xposed Framework Modules] coolkaas:
find and try 2.3.8 version. old hook method in it don't kill 'default' button function. but 3.2.2 replace def func totally with new 'no dirty' hook.
[Xposed Framework Modules] gerhardo:
(slightly edited)

When inserting XPosed hooks, the keys do not work exactly as before, so a master switch probably still requires some modifications.

A master switch would probably require a widget too to be useful, so it is a little more.

The problem that I see is the delay added to non mapped keys. I have tried to handle the XPosed issue, still not done though.

(a link on page 131)

You can edit

com.spazedog.xposed/additionsgb/shared_prefs/config.xml

with a root explorer
[Xposed Framework Modules] limestone:
Thanks, but I decided to download the patch a few pages back instead, and that worked for me! I hope the patch gets approved.
[Xposed Framework Modules] MarSoftware:
Is the fixed version build (or at least source) available for download somewhere?
[Xposed Framework Modules] Antitype:
Completely new here on XDA forums and Android OS. I can't find the file you specified above (com.spazedog.xposed/additionsgb/shared_prefs/config.xml). Could you please guide me through it? Thank you.
[Xposed Framework Modules] MarSoftware:
Antitype, try looking in /data/data/com.spazedog.xposed/...
[Xposed Framework Modules] egingell:
Oy...

/data/data/com.spazedog.xposed.additionsgb/shared_prefs/hook_settings.xml

config.xml is antiquated.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] Antitype:
I found it. Thank you so much for the quick reply!
[Xposed Framework Modules] vitamin.ben:
anyone knows if in the pro version we get as condition for buttons songs the screen rotation?

I'm looking forward disabling my physical keys while in portrait only.
[Xposed Framework Modules] mkdr:
Where is the fix?
[Xposed Framework Modules] TopTomy:
Hey guys,

I have a Galaxy Nexus and after activating the Xposed Additions,

it always disables the vibration feedback when pressing the soft keys (home, back and multitasking virtual keys)

Any idea why?

Thanks,
[Xposed Framework Modules] ImpheOtus:
Incompatibility between ROMs forced the dev to add a "Froce haptic feedback" option that you need to activate inside each button's configuration.
[Xposed Framework Modules] hamzahrmalik:
On my phone I only have one physical button. It is capacitive. Nt ROM developer programmed it as BACK and I need to use pie controls for rwcents and home

Thanks to this module I can now use hold to get HOME

But I need a way to get recent

What I really want is to be able yo have different action for long press and extra long press
[Xposed Framework Modules] xdateobotta:
KitKat issue?

Hi,

I'm running this module on KitKat but it wakes up phone only after few seconds after it has been locked.

It is a KitKat compatibility issue or else?

Are you planning to fully support KitKat?

Thanks
[Xposed Framework Modules] gerhardo:
In my mod (not yet accepted but a link on page 131) a long-long press givesa long press button. So you could Home to long press and get recent from long-long press if the ROM is not too custum.

Or use double long press, triple long press or triple click.

---------- Post added at 10:57 PM ---------- Previous post was at 10:53 PM ----------

Works fine for me on KitKat.

As with all issues, you need to describe ROM and phone, enable log (reboot) and create a test case.

You can email logs to dk_zero-cool from the app, or post them here.
[Xposed Framework Modules] hamzahrmalik:
Ok so basically using your mod you can have

Press

Long press

Long long press

Is that right?

And I found your thread but don't see a download...
[Xposed Framework Modules] gerhardo:
post: http://xdaforums.com/showpost.php?p=51833393&postcount=1306

has a link to another thread, download in the third post

You can connect an action/button to "click" and "long-press".

For long-press if you connect a button, you can get long press for the button.