yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Chillmann:
Great job developing this app and implementing tasker tasks (Just went pro today :victory: ). But it would come much more handy if we could launch them while screen is off. Maybe we can expect that in the near future?

And maybe something for a more distant future; the possibility to load different remapping templates/profiles (or even single button remap) via tasker.

Best regards, Chillmann
[Xposed Framework Modules] coolkaas:
last release candidate :) android 2.3.4 sonyericsson stock.

log:

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

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

E/com.spazedog.xposed.additionsgb.backend.PowerManager

NoSuchMethodException: com.android.server.BatteryService.isPowered[int]#B

com.spazedog.lib.reflecttools.utils.ReflectException: NoSuchMethodException: com.android.server.BatteryService.isPowered[int]#B

at com.spazedog.lib.reflecttools.ReflectClass.findMethod(ReflectClass.java:414)

at com.spazedog.xposed.additionsgb.backend.PowerManager$2.beforeHookedMethod(PowerManager.java:109)

at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:623)

at com.android.server.PowerManagerService$BatteryReceiver.onReceive(Native Method)

at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)

at android.os.Handler.handleCallback(Handler.java:587)

at android.os.Handler.dispatchMessage(Handler.java:92)

at android.os.Looper.loop(Looper.java:130)

at com.android.server.ServerThread.run(SystemServer.java:562)

at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)

at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:643)

at com.android.server.ServerThread.run(Native Method)

Caused by: com.spazedog.lib.reflecttools.utils.ReflectException: NoSuchMethodException: com.android.server.BatteryService.isPowered[int]#B

at com.spazedog.lib.reflecttools.ReflectMethod.<init>(ReflectMethod.java:91)

at com.spazedog.lib.reflecttools.ReflectClass.findMethod(ReflectClass.java:411)

... 11 more

Caused by: java.lang.NoSuchMethodException: isPowered

at java.lang.ClassCache.findMethodByName(ClassCache.java:247)

at java.lang.Class.getDeclaredMethod(Class.java:731)

at com.spazedog.lib.reflecttools.ReflectMethod.<init>(ReflectMethod.java:61)

... 12 more
[Xposed Framework Modules] stefanjadex:
Hi,

I would like to know if this app can remap the buttons of the wired and bluetooth headset.

I have a Note II running 4.3 android and I want to replace the behaviour of launching Google Now when I long press the button on the wired headset.

Regards,

Stefan
[Xposed Framework Modules] t61p:
I'm late. Sorry. So I've tested with 3.3.0-pre. Please have a look at logcat.

What I've done is:

1. Install 3.3.0-pre and reboot

2. Check Enable Debug and reboot

3. Tap / Long press Recent App Button before assignment

4. Tap / Long press Recent App Button after assignment

The result was that the Recent App Button works as default behavior on both 3. and 4.

P.S. Power button works now. Thanks!
[Xposed Framework Modules] claytonjn:
Yes, it should be able to. Best thing is to try it and see though.
[Xposed Framework Modules] stefanjadex:
Thank you. I'll give it a try.
[Xposed Framework Modules] cbomb101:
Wish it worked on my s5 900i it runs slow and mutitask button wont remap. Back button stops working in the app.

---------- Post added at 04:35 PM ---------- Previous post was at 04:24 PM ----------

Tried a older version the home button amd back button remap fime the left hardware button that multitask wont remap.

---------- Post added at 04:43 PM ---------- Previous post was at 04:35 PM ----------

Weird fixed it by setting menu as a long press instead of single click. Can u fix that dev.
[Xposed Framework Modules] GalaxHe:
USB Wake on plug [?]

Hey

I was looking for something to prevent the screen to turn on when plugging the USB cable. And found this module for Xposed.

I am wondering if I correctly understand the feature...

Wake on plug =

1/ turn on screen

2/ wake the phone from deep sleep

If it is 2/ , then this would explain why it doesn't work on my side as it simply means it doesn't what I think it...

Log collected :

W/PackageManager

Unknown permission net.dinglisch.android.tasker.PERMISSION_RUN_TASKS in package com.spazedog.xposed.additionsgb

Module Version: (53) 3.3.0-pre

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

Manufacturer: samsung

Brand: samsung

Device: hlte

Module: SM-N9005

Product: hltexx

Software: (18) 4.3

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

Galaxy Note 3 - 4.3 MK2 - Rooted - Xposed Fwk + Wanam module installed

Thanks

:)
[Xposed Framework Modules] Chillmann:
Thx for adding tasker tasks to screen off actions so quickly! (Even before I asked for it, as I realise now).

Regarding my 2nd request:

I thought of an maybe more elegant approach by adding Tasker to XA conditions. This condition would become active after exposed Additions received a certain 'reported active' - intent from tasker and would stay in this state until the according 'reported inactive' - intent was received.

As end user, u would set up a tasker profile, preferably containing no event-context, and put the proper 'send intent' action (profile "x" reported active) into the entry-task and ofc, the 'profile "x" reported inactive' intent action into the exit-task.

This would add the vast variety of possible conditions provided by tasker to xposed additions. Hope u understood my suggestion.

Best regards, Chillmann
[Xposed Framework Modules] dk_zero-cool:
Not sure that I am able to fix this before I get a device at some point with this damn button. The issue makes no sense at all. According to the log, it loses it's settings when it dispatches the key and then get it back once it has dispatched. This is just not possible, and even more strange is that it only affects this specific button.

Just remember to enable external devices in the module settings.

Make sure to test this without any other Xposed modules enabled.

If you set it to turn the screen on, then it should turn the screen on.

This might be a possibility at some point, but it will require creating a plugin for Tasker. Not quite familiar with this. But since Tasker it better documented than Android, I might do this if I get the time to read the documentations and play around with it.
[Xposed Framework Modules] GalaxHe:
Well, using the "usb wake on" set to never doesn't change anything to the phone behavior (even after restarting). The screen keeps turning on whenever I plug the cable :(
[Xposed Framework Modules] dk_zero-cool:
Any errors in the log?
[Xposed Framework Modules] gabripranzo:
Hi, will you add this feature in the next release?

Thanks!

Sent from Galaxy Note 8.0 GT–N5100
[Xposed Framework Modules] Chillmann:
Actually I don't think that a plugin is necessary. Tasker is natively capable of sending user defined intents. From what I understand of android (it's not much, but I think I got the basics), it's only your app, which needs to be set up properly in order to receive and process such intents. Correct me if I'm wrong.

Nether the less, I'm pretty sure U will manage it the one or the other way. Keep up the good work :good:

Best regards, Chillmann
[Xposed Framework Modules] dk_zero-cool:
It is already there, it is called "Call" and "Call End"

I cannot ask users to know what Intents are, so plugin is needed in order to make something that everyone can figure out how to use.
[Xposed Framework Modules] gabripranzo:
Great, couldn't test it yet. Now I know I can flash the Rom I wanted. Thanks for your work.

Sent from Galaxy Note 8.0 GT–N5100
[Xposed Framework Modules] cbomb101:
Going to uninstall. Doesnt work properly on s5. The multitask button on the left wont change properly. Sticks as multitasker. The previous version made it work better then current though.
[Xposed Framework Modules] t61p:
Thank you for taking time for investigation. I see that it's difficult to solve it without device in your hand and I guess there is no chance for you to get it.

I suspect one possibility. The device have a selection item in android's settings to choose the default behavior of Recent App button. Show menu or Show recent app can be assigned to tap or long press. I don't change it anyway but this may conflict with XposedAdditions.
[Xposed Framework Modules] dk_zero-cool:
Don't think that it is it. I to have built-in options for Click, Double Click and Long Press for some of the buttons, and I tried testing those without issues, with XA installed.

Android uses two Method (Places) to handle keys on each up and down. The first one if where Android executes most it's built-in stuff (XA uses this to configure, getting current condition settings and such). The second one is where Android does some last checking before deciding whether or not Applications should get the key info (XA uses this to look for the kind of event (Click, Long press etc) and execute it's actions).

Now according to the log that I got from you, the button is configured just fine in the first Method when you press the button down. But once the down event get's to the second Method, those settings are gone and XA just parses the key to Android and let it decide what to do. The strange part is that when you release the button and starts the up event, the first Method remembers the settings from the down event. So the problem is actually a communication problem between the two.

The only way this should be able to happen, is if Android executes the two Method's in separate processes. But according to the log, they both uses the same (Which they should). Also this problem should not be limited to one single button. All buttons should act the same, especially since Android does not touch these until the second Method has been processed by XA. So this should be a general issue, it makes no sense that the rest of the buttons work if the Recent App don't.
[Xposed Framework Modules] stefanjadex:
Installed the last stable version and observed a strange behavior: the phone vibrate shortly when the S-Pen approach at a certain distance to the screen.

The phone didn't do that before installing the module.

Can this be fixed?

Galaxy Note 2, 4.3, rooted, Phoenix-rom 17.0
[Xposed Framework Modules] dk_zero-cool:
This module does not handle Touch Events, those are handled in different places. Also by default, the module ignores External device (Like a pen). So this cannot be the module. Maybe a conflict with a different module, or just the fact that you have just installed more than one module. Either way, this module does not work on touch, only buttons.
[Xposed Framework Modules] GalaxHe:
Log collected :

W/PackageManager

Unknown permission net.dinglisch.android.tasker.PERMISSION_RUN_TASKS in package com.spazedog.xposed.additionsgb

Module Version: (53) 3.3.0-pre

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

Manufacturer: samsung

Brand: samsung

Device: hlte

Module: SM-N9005

Product: hltexx

Software: (18) 4.3

-----------------
[Xposed Framework Modules] t61p:
All rignt. You don't give it up yet.

I'll gladly help for testing.
[Xposed Framework Modules] stefanjadex:
I installed the beta version 3.3.0 and the strange behavior of the S-Pen disappeared. So, I suppose it was a bug of the module.

But now I have a problem with the haptic feedback of the home button: when i press it, the phone vibrate and this is annoying. In this beta I didn't found the option to enable/disable the haptic feedback.
[Xposed Framework Modules] dk_zero-cool:
The Haptic Issue in the beta is known, and this has been fixed in later releases. But that issue had nothing to do with Touch events.

I never said that I gave up. Just said that I am out of ideas for now. When I get the time (In couple of days or so), I will assemble a better test that may provide better information into this. But first I think that I need to officially release something, as there are more than just this issue in the current Play Version.
[Xposed Framework Modules] spencer.justin:
finally

I have finally found a button re-mapper that works... thanks!
[Xposed Framework Modules] luisblop:
[BUG] Wakelock issue: HookedPhoneWindowManager

Hi,

I've tried version 3.2.2 and 3.3.0pre and on both I have a wakelock issue when waking my device (Home or Power Button). I use Jelly Bean 4.1.2 (Stock).

The Wakelock is HookedPhoneWindowManager (from Android System) and right after waking the phone, there's a wakelock of about 3 sec. So at the end of the day this bug adds some minutes of battery drain.

Here's an screenshot from Wakelock detector of CPU's usage

https://lh3.googleusercontent.com/4pABsQ1BykOOOkvMfnFom6jUStjeo7iyjD5o9tvKqAmHYhgCtWR6aQ=s600

Actually this wakelock issue happens besides any configuration inside the Xposed Additions module. In other words if the module is active within Xposed framework then the wakelock will appear.

I hope this could be fix and so far thanks for the great effort.

Phone Info:

Samsung Galaxy S Advance i9070

Jelly Bean 4.1.2 Stock

Rooted: Yes

Xposed framework v2.5.1
[Xposed Framework Modules] dk_zero-cool:
The lock is only set when pressing a key during screen off (at which point you are trying to something else that also wakes the device for a time. And it is released within 3 seconds. Your lock screen adds a 20 seconds lock (which is not displayed in normal wakelock watch apps), so I don't see the problem. Now without the small lock, your device is not going to wake, which means that media buttons is not gonna work and the screen is not turning on using power, because Android does not run handlers in deep sleep.

So try running your device for an hour without pressing any buttons and then check your watch app again. A 2 minute check with constant button presses during screen off is not saying much, the module is not draining any battery. It just makes sure that people can turn on their devices and use media buttons during screen off. It does not set and hold locks when the screen is off.
[Xposed Framework Modules] cbomb101:
i dont think wakelocks allways drain battery. On my phone i noticed high wakelocks like 400 on a android process and my battery seems fine.
[Xposed Framework Modules] jacklul:
when I set Media Next/Previous to Long Press action everytime I long press vol+ or vol- to change music track it also changes the volume by one tick
[Xposed Framework Modules] dk_zero-cool:
And what version is this?
[Xposed Framework Modules] jacklul:
using stable 3.2.2, in 3.3.0-pre beta it doesn't even change tracks but rapidly changes volume, 3.3.0b - ... b3 crashes my device after few secs i see homescreen

My device is ZTE Grand X In running Android 4.0.4.

From all other modules that allow remapping buttons/adding track changing functionality to volume keys this yours is the only one that works but has this small volume issue
[Xposed Framework Modules] dk_zero-cool:
Well I don't have that device, but I do have 4.0.4 testing devices of other variants. I will have a look at this. But first I need you to enable debug, reboot and then take a logcat when changing track during screen off. This will allow me to see what the module is doing on your device when this happens.
[Xposed Framework Modules] jacklul:
Here, long pressed once.
[Xposed Framework Modules] siuishere:
Hello

In my HTC ChaCha (I know, its a legacy device, but since CM10.2 is available the phone rocks) when Xposed Addition module is loaded, the keyboard works weird. somtimes it registers more than 2 keypress, the FN button do not print the respective char. I bough the pro version just to enable the FB button in this device. Can I have some support plz.

Thanks in advance and Regards,

siuishere
[Xposed Framework Modules] aalupatti:
I have the pro edition. But cannot figure out how to set long press and double press to hard keys.

I cannot see that option anywhere. Am i missing something ?
[Xposed Framework Modules] luisblop:
I see. Anyway it's better to ask as this wakelock wasn't there before.

Thanks for the explanation
[Xposed Framework Modules] cottino:
[MENTION=3147360]dk_zero-cool[/MENTION]

here's my logcat on Galaxy S5 while I pressed the task button
[Xposed Framework Modules] aalupatti:
Just quoting myself to show that there are no pro options listed even though I have purchased the pro version. And the options for me look different from the images in playstore
[Xposed Framework Modules] Spere:
Buttons --> Add new Key --> Select the key you pressed --> Add new Condition --> Select Condition you want --> Now select the condition you selected before --> Now you should see Single Actions, Double Actions and Triple Actions
[Xposed Framework Modules] Hypocritus:
*post deleted*
[Xposed Framework Modules] hamsup1o:
Using latest 3.3.0-pre on Note 3 4.4.2 stock and taking screenshots (home+power) still doesn't appear to be working. I'm not sure if it was fixed already or still on the to-do list. Just wanted to report it.

EDIT: Nevermind...I actually have to map it for it to work DUH!
[Xposed Framework Modules] mnz007:
How did you map it ?? I can't see any option for screenshot.

Sent from my Galaxy S2
[Xposed Framework Modules] hamsup1o:
I think it's a pro feature.
[Xposed Framework Modules] moviecut:
3.3.0pre doesnt work on omate truesmart. It just doesnt recognise when i try to add new key (neither power-button nor home-button). Went back to 3.2.2 and its working again.

Do you need logs?

Gesendet von meinem GT-I9295 mit Tapatalk
[Xposed Framework Modules] aalupatti:
Worked. Thanks
[Xposed Framework Modules] mnz007:
Hi [MENTION=3147360]dk_zero-cool[/MENTION], can you add option for shortcuts like "Hibernate now" for Greenify. .?

Sent from my Galaxy S2
[Xposed Framework Modules] Gionathan:
Sixaxis Dualshock 3 controller lag

[MENTION=3147360]dk_zero-cool[/MENTION]

First of all, awesome app!:good: I had been waiting for this tool for a long time!

:confused: However, after hours of trial and error I found out that this module was the cause of a lag on my PlayStation 3 controller keys.

With the exception of the analog sticks, I need to long press/hold every other button for about two seconds before any game/emulator can register it.:crying:

I should point out that I am not (and don't want to) remap the joystick keys to keyboard keys using this app (Since the Sixaxis Controller app can do it)..

Obviously, when I disable this module, everything works perfectly.

Hope you have time to fix this issue for us the mobile gamers :fingers-crossed:

Thanks in advance!
[Xposed Framework Modules] Gionathan:
3.3.0-pre FIXED LAG!!

Nevermind, I can now confirm that it works as expected! :good::D

I decided to install an earlier version, but then realized there are beta versions and after installing 3.3.0-pre, THE LAG IS GONE! :D

I'm so happy I even bought the Pro version! :angel:

:good: Very well done[MENTION=3147360]dk_zero-cool[/MENTION]!
[Xposed Framework Modules] paul42x:
Great app.

I've got a button (like Pressy) that u put into the head phone socket. The SW that comes with it is not very good so I use additions. However I have to run the sw that came with it as well, as additions otherwise the phone thinks I have a headset plugged in. Would it be possible for u to add an option to additions so the phones does not think I have a headset plugged in. Additions recognizes this button as 'headset hook'.

Thanks
[Xposed Framework Modules] dk_zero-cool:
Install the prelease version (You need to enable Beta version in Xposed Installer to see it)

Thanks, but I already know why this issue is there, I just don't know what is causing it. But it is being worked on, just can't say when it will be fixed as I don't have a device with this button myself.

It might help yes

Not a priority to add support for more apps at the moment. Also you should not go around force hibernating apps, you will gain nothing by it. Greenify is excellent at controlling this by it's own, and closing apps to fast will only produce more battery drain and a slower device.

It can't be done. Android is registering this as a headset because you are plugging it into the headset port, and the device has no specific device information about this device. The SW you install contains device configurations that tells Android what it is and how to deal with it. This information differs from each type of device and manufacturer (similar to a driver in Windows). I can't add the whole worlds device configs into this module.

However, you could check /data/system (not sure which sub-folder) and look for the .idc file that the SW installs. Copy this to your PC, uninstall the SW and copy the .idc file back to /system/usr/idc/
[Xposed Framework Modules] nhymxu:
Setup volume down and volume up button on screen off is "power" function.

But when screen on, can't take screenshot with power+volume down button
[Xposed Framework Modules] thahim:
[MENTION=3147360]dk_zero-cool[/MENTION] I want ro repmap menu or home key to tasker task and can I get bavk to stock?

Sent from Galaxy Note 3 SM-N9005
[Xposed Framework Modules] hamsup1o:
Minor annoyance with the latest version. I mapped home + power to take screenshots. This takes screenshots fine however it keeps turning off the screen after every screenshot. Any way around this?
[Xposed Framework Modules] dk_zero-cool:
No the default combi functions are broken for some reason. They should be fixed in a later release. But you can enable this manually by just remapping keys to the Screenshot action.

Tasker support is in the Pro package, and what do you mean by Stock?
[Xposed Framework Modules] dk_zero-cool:
Don't know, will look into it. What ROM version?
[Xposed Framework Modules] bjrmd:
Any luck with the long press volume mapped to track skip not also not raising music volume?

Thanks again for the Tasker support in the pro version --working well
[Xposed Framework Modules] hamsup1o:
Thanks! I'm using stock TW 4.4.2 on a Note 3.
[Xposed Framework Modules] dk_zero-cool:
The new version does not fix issues with your keyboard, it disables it from the module and let's Android handle it. I do not support Keyboards in this module, it's not meant for this. If it works than great, but there is no support to get it working. This is only for hardware buttons to allow more features with few buttons. A keyboard has plenty of buttons to work with.

So to sum up, the Fix is that you can use your keyboard normally while having the module remap your hardware buttons.
[Xposed Framework Modules] master4g:
Is it normal for this app to add a few moments to the time it takes for my phone to turn on after I press the power switch? How is it in terms of battery usage and memory usage? Thanks
[Xposed Framework Modules] dk_zero-cool:
It depends on the ROM. Android added better power control in the last JB, but before that it was a bit limited and a work-around was needed (which on some devices has a small delay).

Battery and Memory does not play much of a role here. XA is not a service that is running in the background. It simply overrides some internal methods to add the possibility of changing actions and key codes. And this code (Like the original) is only used when you press a button. If you don't use the device, the module does nothing.
[Xposed Framework Modules] master4g:
I'm on a stock rooted Gs5. 4.4.2. It seems like it added a moment after I enabled the module but I'm not sure. Also as you stated about the battery, what if I set button actions for when the screen is off. What about then? Without the app, my volume button does nothing when the screen is off, but with this module I can make it do stuff like turn the torch on. Would this use battery?

Thanks
[Xposed Framework Modules] dk_zero-cool:
Yes if you turn on the Torch, the device will consume more battery. But it would do this without the module also.

And you are so wrong. Your volume keys are doing something even without the module. You might not notice, because your device normally has no action for the volume keys, but any key you press will make more than 1500+ lines of code run on each down and each up. So one single press on a button executes about 3000 lines of code (and this is just Android, I did not even count the kernel) and a few dozen IPC calls, even when the screen is off and nothing seams to happen.