yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] dk_zero-cool:
Long press actions that is not mapped with the module will take longer. It was the only way to fix the broken long press events on applications while still preserving Gingerbread support. Once the module is done, I will look for a better way to get re-mapped and default long press actions to work together. But for now the delay is the only remaining issue with long press.
[Xposed Framework Modules] ImpheOtus:
Ok gottcha!

No worries, once you get the Power Menu action fixed, I can assign it to the Power Button long-press action and problem solved ;)

Thanks for your support, it's really good to have you back.

I'll be around if you need me to test the haptic feedback for my phone :fingers-crossed:
[Xposed Framework Modules] themadproducer:
[MENTION=3147360]dk_zero-cool[/MENTION]

Catch 22 with providing a log.

Both my menu and back key single presses are borked after installing the latest beta. I can't find a way to pull up a logcat with CatLog. The buttons are borked system wide, not just while I'm in the xposed additions UI.

Suggestions?
[Xposed Framework Modules] dk_zero-cool:
I am guessing that you are using ICS? Already found that bug and fixed it when I did an ICS test. It should work in next beta
[Xposed Framework Modules] themadproducer:
Yes, ICS, 4.0.4 stock S3.

I guess my signature rom details etc, doesn't show up in Tapatalk etc.

I look forward to the next beta.

Thank you
[Xposed Framework Modules] shrewen:
Excellent, i don't know how i missed it, must be temporary blindness :D

You are one awesome dev.
[Xposed Framework Modules] czesiu:
Could you fix haptic for i9192?

http://pdadb.net/index.php?m=specs&id=4584&c=samsung_gt-i9192_galaxy_s4_mini_duos_samsung_serrano

How to confirm the device codename?
[Xposed Framework Modules] dk_zero-cool:
Does not mater with device names. I am looking for other solutions. Hardcoding device names into the module was an idea at the time where it only seamed to affect SGS4 and Note3, but now where more and more devices is popping op with broken feedback, this is no longer a solution.
[Xposed Framework Modules] themadproducer:
@shrewen [MENTION=3147360]dk_zero-cool[/MENTION]

Regarding launching 3rd party apps...I think in Play Store, it says Pending or FUTURE feature. I assumed it wasn't incorporated yet.

It would be super cool to also have "shortcuts", not just apps.
[Xposed Framework Modules] dk_zero-cool:
The pro package in Play Store is nothing more than a key to unlocking features in the main package. The 3.0.2b version released in this thread (look in the first post under downloads) has this feature if you have that pro package installed. I just have not yet released this on Play Store because I am still working out the remaining small bugs.

Just don't use the beta on ICS as one of the bugs affects that Android Version.
[Xposed Framework Modules] dk_zero-cool:
And we have liftoff. Everything should be fixed and work for all. I have added a new settings to enable forced haptic feedback. It can be found inside each button configuration. Just add a button, go to it's configuration and hit the checkbox at the top. It's a temp. solution to fix broken haptic feedback on some of the Stock ROM's.
[Xposed Framework Modules] ImpheOtus:
I installed latest version but I can't add a new condition. Everytime I press the option, an error comes up stating "Xposed Additions has stopped".

I cleared app data, disabled in Xposed Installer, uninstalled, rebooted, reinstalled, rebooted and the error comes up again.

What could be wrong?

I'm in SGS4 i9505

Stock Google Play Edition 4.4.2 KOT49H

Everything was working fine before v3.0.2
[Xposed Framework Modules] dajmanjt:
Same here on vs980. Exact same error. Absolutely no issues before the update.
[Xposed Framework Modules] pemell:
Same here
[Xposed Framework Modules] yurividal:
Same here. I9505 4.4.2 stock ROM. Unable to remap buttons

---------- Post added at 06:38 PM ---------- Previous post was at 06:14 PM ----------

Same here. I9505 4.4.2 stock ROM. Unable to remap buttons
[Xposed Framework Modules] themadproducer:
Confirm, Add "condition" = FC on ICS.
[Xposed Framework Modules] dk_zero-cool:
Yes of cause, with my luck it does not surprice me. I changed a very minor thing and forgot to test it. I will upload again once I get home in a few hours.
[Xposed Framework Modules] arcrox:
Never wake on plug doesn't work for me...anybody else experiencing this? I'm on a Galaxy S4 i545/Hyperdrive RLS14/TW 4.3.
[Xposed Framework Modules] Blizzard22:
Could you please add an option to disable display wakeup when plugging a headset/earphones to the phone? I'm looking for an option for this but there isn't one out yet.

Edit after using it a few minutes:

I'm using the Xposed framework module 'Physical button remote control' and enabled auto starting an specific music player app (BeyondPod) when plugging a headset/earphones and enable pause/play the player when the display is disabled. Normally the display won't wake up if I press the home button on my phone to play/pause the music player but when I enable your module the display wakes up every time I press the button.
[Xposed Framework Modules] Walter.White:
First of all I love this module! And thank you for starting the development back up.

Is there any way you can add an option for turning on flash light by long pressing volume up when screen is off AND also have long pressing volume as media next?? (Flash light pressing =500 ms and media next pressing =100 ms or something like that)
[Xposed Framework Modules] dk_zero-cool:
Just like Window ME, version 3.0.2 now officially does not, and have never, existed.

New 3.0.2-2 release is out. It was a stupid small mistake and it has been fixed.
[Xposed Framework Modules] The Fer-Shiz-Nizzle:
Ah yes the factory installed OS from my first laptop. That had a 8GB hard drive. Good times....not really
[Xposed Framework Modules] dk_zero-cool:
I was one of the 2% of the people in the entire world that never had any problems with that system.

And a notice to ALL. Before reporting things that does not work in this module, please make sure to try it WITHOUT any other modules enabled. Some times mutiple modules hook's the same classes and overwrites each others changes.

For an example, it is not very smart to have other modules installed that handles key events. It will create conflicts.
[Xposed Framework Modules] dk_zero-cool:
No. Long press actions are unstable enough as it is, because it is difficult to make them work together with the default actions. Making those even more complicated will create to many problems.

But with the pro package installed, you can assign double click and multi-key events for those things.
[Xposed Framework Modules] czesiu:
It seems haptic still does not work for me (i9192)
[Xposed Framework Modules] dk_zero-cool:
Like I wrote above, add your key in the module, go to it's configuration and click on the CheckBox at the top that says "Force Haptic Feedback".
[Xposed Framework Modules] czesiu:
I did that, and disabled all other modules and rebooted.

Lets see if it works for other ppl with Samsung devices
[Xposed Framework Modules] raffles496:
Same here. LG P714 JB 4.1.2 stock ROM. Unable to remap buttons. Please help.
[Xposed Framework Modules] dk_zero-cool:
It is not based on devices. It is a way to force it. It places the keycode in a cache, and each key in that cache will produce Haptic Feedback no mater what kind of device and what type of key. If this really does not work on the SGS4, then there is nothing more that I can do, unless someone can make a readable de-compilled java file of the policy framework. Cause Smali code is not my strongest skill.
[Xposed Framework Modules] dk_zero-cool:
Use the 3.0.2-2 update
[Xposed Framework Modules] ImpheOtus:
It's working perfectly for me!

SGS4 i9505

Awesome update! Everything I need is now included.

Thanks a lot!! :D

(Edit: I awe you the "thanks" because I'm out of them for today, but I'll compensate tomorrow)
[Xposed Framework Modules] themadproducer:
[MENTION=3147360]dk_zero-cool[/MENTION]

Working nicely on ICS here to. Thanks very much.

1) The "Get Pro Extension" link does not seem to be working anymore. I was intending to buy the Pro Key.

2) I was going make a request about the long press delay. I needed a speed between FAST and MEDIUM. But unless I am mistaken, the FAST speed has been changed to exactly that?...or is that just on my device? IDEALLY, is it possible to have the long press delay setting on a per-button basis? Just a thought. ;)
[Xposed Framework Modules] raffles496:
Thanks. Now work again for me.

but my smartphone include other physical button, calling Quickclip. In the others versions of your module, this button work fine, but in the new version, only partially.

I know, I am a nuisance, and sorry.

Thanks for all and greetings from Mexico and sorry for my bad English.
[Xposed Framework Modules] ImpheOtus:
Yeah, I noticed that too!

I changed the time to SHORT and it's now working just they way I wanted.
[Xposed Framework Modules] dk_zero-cool:
1) Hmm, that part has not been changed since the 2.x version. I will have a look, but the package is still on Play Store.

2) The long press is a bit tricky. In order to make the delay the same for mapped and default, I had to merge my delay with the default Android delay (Which makes it longer). And I can't avoid merging the two on default long press, as it would then start invoking default key actions.

I am trying to find a way to change the default Android value, but it has been pretty good hard coded into the framework. For now, I can't do much changes to this part as it will mess with click and double click detection and it might also result in wrong actions being invoked if a key is mistakenly dispatched to Android's original key handler at the wrong times.

My module acts as a second and first prioritized key handler. What makes it difficult is that I can't exclude the original key handler, as then default actions would stop working, also for applications. Also most of the original handling is controlled in native c++ files, which I cannot change with Xposed. So it takes a great deal of work-arounds to make it work properly, and once options are quite limited, especially when adding Gingerbread support to the list of obstacles.
[Xposed Framework Modules] Ninolina:
Forced Haptic Feedback works on my S4 after newest update. :)
[Xposed Framework Modules] xdapao3:
Only one small complain but pretty important to me: on the latest update the "short" delay setting is pretty longer than the previous "short" setting, would it be possible to add a shorter/shortest setting option which lasts the same as the previous "short" setting??

In any case, AWESOME module. An absolute must have for me.

P.S. Just read the post #776, I take it to mean that it's not possible to go back to the old short delay setting (which is shorter than the current "short"), right..?
[Xposed Framework Modules] sheraro:
everything working fine here except for the "kill application" option :( it worked in the previous version though !
[Xposed Framework Modules] Ninolina:
Just one thing - I just noticed that my settings don't stay after reboot. It just reset to default. :( Any solution? Anybody has that issue?
[Xposed Framework Modules] grendude:
CM nightly -> menu

On my rom the menu was slightly different.

I didn't read every line and went looking in Settings --> [under Device] Buttons

But didn't find what I wanted.

After a bit of exploring, I found the menu in 'Settings' -> [Device] 'Display & lights' -> [scroll down] 'Xposed Additions'

Hope that helps someone.

Thanks for a great xposed app; no more hanging up on people when I try to get my phone out of my pocket.
[Xposed Framework Modules] Nbsss:
Great work!

Is it possible to add this feature to the module:

Long press home button = screen off

Cheers :)
[Xposed Framework Modules] dk_zero-cool:
I was just thinking about it since I want Long press back to turn of the screen (CM Only implemented it on the lock screen).
[Xposed Framework Modules] Nbsss:
That would be awesome!

Do you know if its technically possible to use xposed to force use of the other microphone for phone calls?

If so, its time for me to start learning ;)
[Xposed Framework Modules] dk_zero-cool:
It should be possible as you can hook almost anything (As long as it is the Java Part). However, it's not easy to work with as you are walking around in multiple threads and such. Also a lot of Android's own interfaces and classes is not accessable to applications, so here you need to hack your way in, either by creating placeholders or use Reflection. But then again, this only makes it so much more fun :victory:
[Xposed Framework Modules] dk_zero-cool:
Okay, a new Beta release is out for testing.

Features so far:

WakeUp Buttons

Home

Power

Volume Down

Volume Up

(More will come)

WakeUp Actions for each button

System Default

Enabled

Long Press

Disabled

This time the module will completely take over these actions regardless of the system settings and features (When not set at System Default of cause).

Menu and Back will be added shortly and then I will add Long Press Turn Off for each of these buttons as well.

The Long press actions for WakeUp was made for those that sadly can't disable the power button as they don't have anything else to replace it with. It will still keep the device from waking up in your pockets.
[Xposed Framework Modules] nimrodity:
thanks so much was waiting so long for those option like volume, awesome
[Xposed Framework Modules] squeezed:
Awsome!

My N7100 has a very sensitive power button, and it accidentally gets rebooted quite frequent! This tool solved this problem perfectly!! Thanks so much!

PS: Version 2.0.0b1 didn't work on my device, nothing showing up under Settings. Reverting back to 1.0.4 worked perfectly again!
[Xposed Framework Modules] dk_zero-cool:
The beta is not in Settings. It has it's own activity (Look in your app list).
[Xposed Framework Modules] dk_zero-cool:
And Beta 2 is out.

Changes

Code Optimization

Uses almost no resources

Added new Buttons

Back

Search

Added two stage Sleep feature for all buttons

Enabled = Long Press Sleep

Disabled = System Default
[Xposed Framework Modules] nimrodity:
cool ,would it maybe also be possible to turn the volume buttons entirely into a sort of power button. So without even the volume actions and even a normal single tap could trigger sleep. That would be so handy since i almost never use the volume buttons anyways. If not it´s okay big thx anyways, great job
[Xposed Framework Modules] dk_zero-cool:
It would just raise the resources used by the module. At the moment, this module does nothing on single button clicks (Which a user of a device does many many times). It starts monitoring for long press only when users start keeping the buttons pressed down. This saves a lot of work as the module would otherwise have to start monitoring on every single click of every single button. So I would be very sad if I had to implement that.

Instead just change the key delay in the settings app and set it to low (200ms). That is very close to a single click.
[Xposed Framework Modules] nimrodity:
agree, didn´t know that. Would still be nice to get the option to entirely diable the volume buttons, but either way it´s fine :good:
[Xposed Framework Modules] dk_zero-cool:
See no point. All buttons can be disabled while the device is put to sleep, which means while you keep it in your pocket and such. When the device is awake, it is mostly because people are using it, and thereby it is not likely that they hit buttons like volume by accident. If they do, they will still be aware of it, unlike the device waking up in the pocket.
[Xposed Framework Modules] nimrodity:
yes but if i long press even if short ot turn off it also changes the volume, that's what i meant
[Xposed Framework Modules] dk_zero-cool:
Well in that case it would be a bug. This module steels key events from Android and only allows Android to get the once not used to turn the screen on and off. So if your volume is changed by an active long press action, then this is something I will look into.
[Xposed Framework Modules] dk_zero-cool:
Beta3 is out with more features (See the OP), new UI structure and fixes for the default button actions not being properly disabled when long press actions are invoked (For an example, volume uo/down long press sleep will no longer change the volume settings).
[Xposed Framework Modules] squeezed:
My bad! Haven't had a chance to try out beta3 yet, but both beta1 & 2 app crashes the first time opening it. Subsequent runs bring up the app just fine, but none of the settings had any affect.

Did the 2.0 betas drop support for JB 4.1.2? 'Cause my N7100 is still in stock Samsung 4.1.2 ROM.

Again, thanks for all your hard work!!!
[Xposed Framework Modules] tennyleaz:
Confirmed not working on THL W8 (android 4.2.1)

Long press wake or normal wake for home/volume button both not working...:(
[Xposed Framework Modules] dk_zero-cool:
The first time crash should be fix in B3. And no, did not remove support for 4.1, remember to enable the module.

Thought that much. You are properly missing some entry in the /system/usr files that defines which keys should announce your key presses during sleep. If you could provide the files in /system/usr/keylayout that would be helpful.

Also, Did you enable the module in XPosed?
[Xposed Framework Modules] themadproducer:
Thanks for the detailed explanation. I can understand...the situation.

Fine work. :good:
[Xposed Framework Modules] yurividal:
Nice! Latest version solves the issue above. I have noticed that the LONG PRESS duration, even when "short" is still MUCH longer than the previous versions. Is there a way to reduce it even more? It is still quite long. ..
[Xposed Framework Modules] egingell:
Xposed Additions 3.0.2-2

SGS4 JB 4.2.2 STOCK MF9

1) Previous version's settings are lost.

2) Can no longer "click". Even if I explicitly set a click action.

3) Long-click performs click action unless a long-click action is set for that button either by this app or Android. E.g. Click Home = nothing. Long-click Home = Recent Apps. Click Back = nothing. Long-click Back = click Back. Set long-click Back to Kill foreground app. Long-click Back = Kill foreground app.

4) Kill foreground app still kills multiple apps.

5) I can't find this app's shared preferences file. There's a config.xml, but no hook_settings.xml.

6) Settings are lost at reboot.

Have tried:

* Clear data, reboot.

* Uninstall, reboot, reinstall, reboot.

There's nothing in the Xposed log for this app and I didn't see anything useful in the logcat, but here it is (cleared before clicking Back and taken after clicking Back).

https://www.dropbox.com/s/3w0743xxnvurvfg/Xposed-additions-log.txt

SGS2 JB 4.1.2 Stock GB27

1) Settings are lost at reboot.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] elevengu:
Whenever I reboot, all my settings are wiped. (!) Until that's addressed, I don't really care about anything else for now.

To everyone wondering about the implementation feasibility of a shorter Short delay (yes, it's longer than before): I haven't tried it, but I think it's as simple as changing the values (ms) in arrays.xml.

Speaking of which, dk_zero-cool, I don't know how often you check GitHub, but just in case, I submitted a small pull request. :)
[Xposed Framework Modules] cmlx:
The latest version is buggy on my LG E980, the side ClipButton works weird, single press works as long press (wake on condition) or works nothing (wake off condition), but when I tried the 3.0b2, it works very well.
[Xposed Framework Modules] dk_zero-cool:
Strange, will look at it

1) Yes, the beta changes from removed as they would produce conflict due to some changes. This is what might happen with beta testing.

2) That I am looking into. Maybe an Android 4.1 issue.

3) That will never be fixed. Default actions are handled by the original key handler. I cannot control that in any way and have no way of testing which keys has a long press action or not. So the only way is to completely exclude the original handler, but then no default long press action will work. So my adviced would be not to use long press on buttons that you know has none, or add the to the module and set long press to disabled.

4) Will check that

5) The name has been changed to config.xml to avoid conflict. Version 3.x is not compatible with settings from 2.x

6) That is going to be addressed

Yes this is decently something to prioritize and I will address this right away.

I would not do that. If you reduce the delay to much, default long press actions will start being invoked along with single mapped clicks. Like I have mentioned twice already, the long press delay cannot be any different at this time. It is my intention to find a solution, but for now it has to be as is. This was the cost of getting default long press working in applications (E.g. default long press back in Firefox launches history for an example).

Yes I've seen it, thanks :)

Could you elaborate this a bit?
[Xposed Framework Modules] dk_zero-cool:
To all

Are there anyone with the "Settings not restored during boot" issue that could check the permissions of the file /data/data/com.spazedog.xposed.additionsgb/shared_pref/config.xml? Both the permissions and ownership.
[Xposed Framework Modules] egingell:
1, 3, and 5) These don't bother me at all.

2) It can't be a 4.1 issue as it works on 4.1. It's on 4.2 that it's having issues.

4) Not game breaking, but an issue nonetheless.

6) Definitely game-breaking.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] dk_zero-cool:
Well it's the wrong thread :) but thanks for the screen none the less, it will help. And I will see if I can get a 4.2 ROM for my testing device (Kind of old).
[Xposed Framework Modules] egingell:
Wrong thread?

Edit: Ok. Now I get it. Not my fault. TapaTalk sucks balls. But it still beats the browser version.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] dk_zero-cool:
What? did XDA just have a glitch in their system? Your post was posted in the XposedBridge thread and my answer was written their as well. Properly an ID mix error when I loaded your post, never mind then.
[Xposed Framework Modules] egingell:
Yeah. [MENTION=4775688]GermainZ[/MENTION] fixed it. He's like a ninja or something.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] GermainZ:
Witchcraft, I say!
[Xposed Framework Modules] MiZoSpaDe:
click action don't work anymore.. only long press work as a slow click action.. but great work after all
[Xposed Framework Modules] dk_zero-cool:
Mapped click or defaut click? And what ROM are you using. Just did another test on Android 2.3, 4.0, 4.1, 4.2, 4.3 and 4.4 (All CM based though) and I cannot produce this issue. Everything is working fine in all versions.
[Xposed Framework Modules] killoid:
[MENTION=3147360]dk_zero-cool[/MENTION] I've faced another issue. i've mapped my home button to play/pause media while screen off. but it doesn't work. i'm using v3.0.2b & apollo music player. log & settings.xml attached.
[Xposed Framework Modules] dk_zero-cool:
That's an Apollo bug. That player does not listen to button broadcasts. You need a player that support broadcast events. This module only changes the keycodes, it cannot force applications to act on them.
[Xposed Framework Modules] egingell:
If it's the same problem I have, it's all clicks mapped it otherwise. Install, activate, reboot... No more clicks.

TouchWiz... Gotta love them Samsung dweebs (lol... I intended to put "devs", but I like that better).

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] dk_zero-cool:
Do you have Wiz on both devices? And if so, only the 4.2 is not working? The only Samsung device that I have, is SGS3. I can try to find a proper 4.2 ROM and check. The 4.1 Wiz I used to test Haptic Feedback was working just fine.
[Xposed Framework Modules] egingell:
Yes. TouchWiz on both and yes, only the 4.2.

Edit: I got my ROMs from Rwilco12.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] killoid:
but it used to work fine on v2.3.8. :confused: