yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] zyguo:
'Allow External Devices' worked for me for fingerprint/Home button on OnePlus 2. But on my previous bluetooth keyboard test, turn on those options increased input latency very big, about 1s, I've not test strictly the delay on buttons such as home button, but I can feel a delay increased after turn on those options.
[Xposed Framework Modules] Harsh.gundecha:
Me too getting delay and still only default actions are fired and not those set by xposed additions but i have seen that if i use combined keys like fingerprint+volume then it works sometimes

Hope someone finds a fix

Thank you ☺
[Xposed Framework Modules] zakijesk:
thanks for reviving this great module

would you be interested in adding a Feature to it ?

make it disabled using the proximity sensor so it doesn't work when it's in your pocket for example
[Xposed Framework Modules] sven.cnrd:
I agree, that would be a nice feature. I know the problem well, if you butt-trigger screen off actions, making the torch shine in your pants.

Unfortunately it makes no sense to add features to this module at this point. What it needs is a huge rewrite to clean it up again. dk_zero-cool (the original author) realized this years ago and even started it (you can see it on github). Something got in his way, I guess, so the module is dead now. Anything more than small fixes to make it run on newer ROMs would be a waste of time IMHO.

Maybe you can query the proximity sensor in Tasker somehow? I'm not a pro with Tasker, but if that would work, you could call a Tasker action with Xposed Additions and only make Tasker execute the action of your choice if the proximity sensor isn't triggered...
[Xposed Framework Modules] xdafundorin:
Well, since both ResurrectionRemix Oreo and Magisk Xposed Framework are out, you might take a look at this addon once again. Will you, please?

The possibility of Xposed Additions not working again is the only thing that stops me from upgrading my devices to Oreo.
[Xposed Framework Modules] sven.cnrd:
I might - once one of my devices gets oreo. As I wrot in the post you've quoted, I'm doing this for myself.

But then again, it wasn't me who made it run on nougat. I just put the pieces together and uploaded an apk. So there'll be probably someone else who'll have a look before I do.

//Edit: If someone want's to give it a try, best start of with the fork in my github account (or at least have a look at the latest commit) - you'll save yourself some time, since the last original release uses an ancient build environment and doesn't build anymore... My fork should build right away in the latest Android Studio.
[Xposed Framework Modules] Ndaoud360:
deletre
[Xposed Framework Modules] francwalter:
Firstly: Thank! It works again due to your contribution, thank, very helpful thing.

Secondly: difficult to add an Action "Take Screenshot"? At the moment I use a Tasker Task for it, which is not the best, because not natively, slower too.

Thirdly: I forked it and maybe get to look into it, first compilinig it on my pc...
[Xposed Framework Modules] nola mike:
[MENTION=3367823]sven.cnrd[/MENTION]

Thanks for the update! I've been trying to find a replacement for this since moving to nougat >1 year ago without success
[Xposed Framework Modules] stonyperson2:
Use a conditional to activate the function only when another physical key is pressed. Also works on screen off (not screen on) and lock screen (I think ?, not sure). Limiteless possibilities.
[Xposed Framework Modules] the-blind-bandit:
Wow, I had no idea it could do that ? I can't actually find the option for having another physical button pressed under conditional though, could you point me to it ?
[Xposed Framework Modules] stonyperson2:
Very sorry. I really believed I had done this before.

The remapping function inside the conditional does not really exist, nor does it conditional on the lock screen.

However I found here a modified apk that works perfectly with Android N.

Download it and go.

But if this does not work for you, I'm sure a co-op between Tasker / Xposed Edge / autoinput should bring this function back.

I'm going to work on this right now.
[Xposed Framework Modules] Greight:
Is there a way we can have the pro version working?
[Xposed Framework Modules] stonyperson2:
Absolutely.

Download it and restart device.

Uninstall, before, the version you have and pro key (you will not need it any more).

When opening the mod version you will think you are with the free version, but this will change after the restart.
[Xposed Framework Modules] Harsh.gundecha:
Is there currently a version that works on nougat properly ?

Thank you
[Xposed Framework Modules] the-blind-bandit:
I didn't really manage to follow that ? Do you mean a tweaked version of X edge is able to do this but only on Nougat? I literally finished setting up Oreo on my 3t yesterday
[Xposed Framework Modules] stonyperson2:
Forgive me again for the lack of clarity.

The xposed edge is not able to do mapping with 2 buttons.

The modified apk is xposed addictions, and it's works only on Nougat.

But with the creativity and Tasker capabilities it might be possible to make a good replacement for Xposed Additions.
[Xposed Framework Modules] the-blind-bandit:
Damn, thanks a lot. I guess all I can do is wish you luck then ?
[Xposed Framework Modules] stonyperson2:
Xposed edge pro works perfectly with Nougat and Oreo.

Xposed additions (3.6.5) works perfectly with Nougat (Pro stuffs Enable).

More information -> page 278.

---------- Post added at 08:31 PM ---------- Previous post was at 08:19 PM ----------

Yes.

Xposed additions v3.6.5

Xposed Edge pro still works too.
[Xposed Framework Modules] marioo007:
Is Xpose stable
[Xposed Framework Modules] vd69:
Is it possible for someone to port this module to oreo?
[Xposed Framework Modules] rub87:
Is there a nougat alternative for the usb plug functions?

---------- Post added at 09:30 PM ---------- Previous post was at 09:28 PM ----------

Is there a nougat alternative for the usb plug functions
[Xposed Framework Modules] the-blind-bandit:
Delete
[Xposed Framework Modules] Doronush:
I see this problem is from few years ago.

I did not have this problem but now I have it with my new Samsung A5 2017.

Following what you wrote I thought closing the app before reboot will help, but it does not.
[Xposed Framework Modules] magico napoli:
guys as I'm not very experienced .. I have the problem that the clock resets on restart ... I explain step - step what I could do? (nougat 7.1)...thanks
[Xposed Framework Modules] aeo 37:
Does anybody have a link to v3.6.5. The previous links are dead. Thanks
[Xposed Framework Modules] veeny101:
Is this working on oreo?
[Xposed Framework Modules] pocketrule:
You'll find the answer if you read the the last few posts
[Xposed Framework Modules] Fabian Rï¿½ling:
I didn't read all the 200+ pages, so maybe this was already reported. I found a few reports from 2015, but the versions that fixed it for them didn't work for me.

When I reboot, the module's settings reset. I have "Fairphone Open" 18.10 (Android 7.1.2) on a Fairphone. Tested with mod versions 3.6.3, 3.5.9, 3.5.4 and 3.5.2. I tried testing 2.3.8, but I didn't even get to the settings screen, because all apps crashed over and over.

Settings I tried were long press duration and plug/unplug behaviour, as well as logging, which did actually record something, but it didn't seem very useful and is now gone since I had to uninstall the mod to get out of the crash loop.
[Xposed Framework Modules] zyguo:
Try 3.6.5
[Xposed Framework Modules] reayard:
This is the link for version 3.6.5: https://github.com/sven-cnrd/xposed-additions/releases/download/v3.6.5/xposedAdditions_3.6.5.apk

Be aware that it only works for Nougat (and even that is not guaranteed) and not for Oreo or Pie.
[Xposed Framework Modules] Fabian Rï¿½ling:
Then I should not try it on my Android O device.
[Xposed Framework Modules] Seabir:
Programmers guys, please modify Xposed Additions for Android Oreo (8.0) and UP, this is fantastic must have module for all! :cowboy: PLEASE PLEASE PLEASE! :o
[Xposed Framework Modules] pocketrule:
Alternatives for Xposed Additions for Oreo

Unfortunately, there has been no development for a long time. Until the next update you could test the following alternatives:

1) [GB][MM] Physical Button Master Control 4.0 beta6

https://xdaforums.com/xposed/modules/mod-physical-button-music-control-1-8-t2620777

It SHOULD work also on oreo, and according to the developer [MENTION=5292510]Xspeed[/MENTION] the module is still maintained

2) Button Mapper

https://www.xda-developers.com/xda-...an-app-to-remap-your-phones-hardware-buttons/

https://xdaforums.com/android/apps-games/app-button-mapper-customize-hardware-t3361340

Great app, with very active development, easy to use, no Xposed needed (but root for some actions)
[Xposed Framework Modules] Seabir:
pocketrule

Thanks Bro, I will try it. :)
[Xposed Framework Modules] zyguo:
Anyway to use the shortcut 'last app' provided by this app on Pie? I've tried several similar approaches(xposed edge, los built-in, double click recent, button remappers etc) but the 'last app' from this app is the best for me, but I can't use it on Pie.
[Xposed Framework Modules] Sedhadi:
Hi

I add some new keys and they work like a charm. But a while later (or after a phone restart (IDK exactly)), the app is as if it's just installed (data cleared).

Any idea why?

Xperia Z5

7.1.1

Magisk 20.1

Xposed 89

---------- Post added at 04:34 PM ---------- Previous post was at 04:34 PM ----------

Hi

I add some new keys and they work like a charm. But a while later (or after a phone restart (IDK exactly)), the app is as if it's just installed (data cleared).

Any idea why?

Xperia Z5

7.1.1

Magisk 20.1

Xposed 89
[Xposed Framework Modules] uig200:
It would be very helpful if fast forward and fast rewind functionalities were also implemented. That behavior would be very useful especially if you were listening to audio books.
[Xposed Framework Modules] dk_zero-cool:
The list of key names is something that I have manually added to the module. Android has no convert key to name option (Or actually Gingerbread does not), so I had to make one for compatibility reasons. And I have only added the most basic keys because there is a lot of them, so Unknown just means that the key is not part of my custom name table. Also, 'KEYCODE_MEDIA_PLAY_PAUSE' (Key 85) is part of my name table, so your headset is sending a different key code. But it does not mater. The name is just a user friendly thing I added to the settings to make the list more readable. Actions are based on the key code.
[Xposed Framework Modules] signupstuffid:
[MENTION=3147360]dk_zero-cool[/MENTION]- So do you have a device that has sense on it to verify and test that there are not changed classes that are causing problems the problems like I have with the taping of the menu button causing a reboot.

If you need/want some info from us Sense users that can help you figure this out, please let us know.

[MENTION=535343]all[/MENTION] sense users- has anyone else had this reboot issue with version 2.2.0 on Sense 4.1?
[Xposed Framework Modules] dk_zero-cool:
No. All the new HTC flag devices comes without external sdcards, I don't like that. Also I am tired of their stupid S-On crap, especially since they have become better at protecting them. So I switched to Samsung (no Touchwiz crap though) for now since they finally started making separate boot and recovery partitions (on demand from Google). But I will properly quit those as well as I miss Fastboot and as a Linux user, I don't have much use for their Download Mode.

About your issue, like mentioned before, if you came with a bit more details of these issues like what they are and what triggers them, I might have a chance of fixing it. Like I also mentioned, I don't think that HTC has altered every method in the framework, so the issue could be related to something else. A logcat would help.
[Xposed Framework Modules] spätzlemitsoß:
hi dk_zero-cool,

any eta for next release? im refreshing this thread too ofthen... :)
[Xposed Framework Modules] dk_zero-cool:
F.Y.I. if you subcribe to this thread, you can see when there is changes from the subscriber list in Control Panel. That way you can keep track of multiple threads without refreshing them all or even entering them ;)

About ETA, not sure. Just spend the last 3 days browsing through half of Android's framework, Java and C++ files, to get a better view of the entire key event process. And it seams to have paid off. Not only have I managed to get Application default long press actions working properly (The current does not work on all Android versions), I even managed to get Android's internal long press defaults working on Re-mapped keys as well. I am almost done with the Re-map module part. Just need to add new features to the settings (No app launch, this will be in the next release), so a day or so. There is no reason to check this thread more to day. Tomorrow might be a good idea to check.
[Xposed Framework Modules] fatihefe1907:
thankss
[Xposed Framework Modules] lmike6453:
You're doing a great job with speed of development on this. Don't burn yourself out man! Thanks for the hard work we definitely appreciate it.
[Xposed Framework Modules] djangosteen:
this modules fc every time i want to remap the button. i just installed this module.
[Xposed Framework Modules] xXYoshiXx:
A little problem with the media actions, when I set screen off and re-map a button, the media actions don't work, while the same button with same configuration works on screen on state.
[Xposed Framework Modules] dk_zero-cool:
Need a log

Known issue and will be fixed soon
[Xposed Framework Modules] djangosteen:
how to send you the log? sorry if im such a newbie
[Xposed Framework Modules] dk_zero-cool:
No shame in being a newbie, everyone is in some areas. Sadly Google have not been very helpful to users that knows little about these things as logcat is not the easiest tool to work with. You can search "logcat and adb" on Google which will provide you with some help on how this works on a PC. You can also search "logcat" on Google Play to get an app which can supply you with logcat output. What I need is whatever is printed from the time to open my app and to the point it crashes.
[Xposed Framework Modules] djangosteen:
Okay thanks for your concern :)

I'll be back with the logcat if i understand how. Btw, fyi it crashes when i tap on re-map setting. I'm on cm10.2.
[Xposed Framework Modules] dk_zero-cool:
Well it helps a little, but still, that part contains a lot of code and an error such as this can be anywhere. Also, I have had this tested on CM10.2 on my SGS3 without issues, so whatever it is, it's more related to your specific CM Copy and not CM10.2 in general which makes it even harder to locate without a log.

The logcat apps are pretty straight forward, so just stick to them and it should be no problem getting a log. The only time you need your PC, is when you need to locate issues during boot, before any apps are started.
[Xposed Framework Modules] maurogg84:
I really like this module. One thing that would make this perfect is if you could assign an app to a key. Like I wanted to assign duck search instead of Google search to long press menu button.
[Xposed Framework Modules] djangosteen:
is this logcat right?
[Xposed Framework Modules] dk_zero-cool:
That was perfect. Issue found and fixed. Now you just have to wait until I finish the rest of this next release :)
[Xposed Framework Modules] djangosteen:
thanks so much! :good:
[Xposed Framework Modules] dk_zero-cool:
Nope, thanks for report and log. It helps a lot when users get a little involved.
[Xposed Framework Modules] slonn:
When I go under the remap buttons option there are no button names shown. When trying to map a button nothing happens except the app force closes. I'm using the 2.02 version on an Xperia Z1 rootet stock rom. I've tried worth an older version of the mood but is the same. If like to get volume rocker wake to work. Thanks

Sendt fra Z1

---------- Post added at 09:50 AM ---------- Previous post was at 09:48 AM ----------

Edit: it's the 2.2.0 version I'm using.

Sendt fra Z1
[Xposed Framework Modules] dk_zero-cool:
There is no buttons shown because you need to add the buttons you want. About your crash, I need a logcat of that crash if I am to have any chance of fixing it.
[Xposed Framework Modules] slonn:
I pulled a logcat. Hopefully it'll show what you need: https://db.tt/j79RJe8e

Sendt fra Z1
[Xposed Framework Modules] dk_zero-cool:
It did, and it was an old error that I have already fixed. So no worries, the next version should work for you and it will be out soon.
[Xposed Framework Modules] kaiowas82:
hi everyone... i have an s4 with a custom cyanogen (crdroid). I'd like to disable the back and menu buttons completely, and remap the home button as camera button.

I'm using a navbar to replace the buttons I've disabled. but, disabling the back button, make stop working the back button on the navbar, and so does with the menu button. plus the home button on navbar became a camera button.

everything solves when i touch the disabled buttons, but only for like a minute.

anything i can do to fix this?
[Xposed Framework Modules] dk_zero-cool:
You might be using the older release where it intercepts injected keys (Like some Software keys). The newer once does not. Update to the latest release (Just released actually) and you should be fine.
[Xposed Framework Modules] dk_zero-cool:
Okay new release is out. Most of the key control part in the module has been rewritten to fix a lot of issues, add support for default internal long press actions (those provided by the ROM itself) and to add support for Multi Key events. The last however was not easy. It is clear that Android was not built for that, and also note that some screens cannot register two presses at once (SGS3 for one), so on some devices multi key might not work on two captivate buttons. One captivate and one hardware key will be fine though.

Also, this module is starting to demand a lot more work than first intended, and since we still have Application Launch, Tasker support etc. on the TODO, I have moved some of this to a pro addition. Both the regular and the pro is available on Play Store.

Pro includes Double click and the new Multi Key support for now. Application Launch and Tasker support will fallow.
[Xposed Framework Modules] djangosteen:
thanks OP! it works now, now i can use the volume wake!:good:
[Xposed Framework Modules] killoid:
under re-map settings when i press add new button the app crashes.device spec is in my signature & logcat is attached below.
[Xposed Framework Modules] dk_zero-cool:
Is this when you press on add new button, or when you close the dialog after you have selected one? The app crashes in the dialog onClose() which is executed when you close the dialog.
[Xposed Framework Modules] slonn:
Same here. Force closed after having selected button. Also when choosing a button it just says "unknown" and mapping isn't possible. Tried the pro version and that's the same.

Sendt fra Z1
[Xposed Framework Modules] dimikon:
Android noob here.I have xposed framework with xposedbridge installed and i installed additions.I want to reassign the volume buttons ,for example to show the power off menu when long pressed the volume up key.It works ,but then if i just click the volume up key,my phone makes a soft reboot.Why is that happening?same thing happens for other buttons too and different assigns. Ics 4.0.4 , odex , dual sim phone ...
[Xposed Framework Modules] dk_zero-cool:
Pro just adds more features, it does not not change the base, so that will not help.

Which key says unknown? Unknown does not mean that it will not work, just that it does not know the name of the key. Your problem is the Force Close issue, not the unknown. But in order to resolve it, could provide a logcat of that crash?

Yes I have had one other report of this. Hopefully he's logs will shine some light into this and have this issue resolved soon. If you are able to get a logcat of this, then that would be helpful. However, I'm not sure how useful the logcat apps will be in soft-reboot situations as those apps will possibly close as well.
[Xposed Framework Modules] dimikon:
Yes i know how to get a logcat with catlog,but i was thinking of that boot problem it would make no sense since i would nt be able to save it before phone turns off
[Xposed Framework Modules] dk_zero-cool:
A logcat will write the reason for the reboot. So if you are able to get a logcat from the time you press a button, then that will help.
[Xposed Framework Modules] dimikon:
its very short time from when i press the button till it reboots to save logcat,im using catlog app,so i saved logcat right after phone booted again

hope its correct
[Xposed Framework Modules] slonn:
Here's a logcat: https://db.tt/nXCmgTnU

This role it didn't force close but when mapping a button nothing happens. The buttons are the power and volume buttons

Sendt fra Z1
[Xposed Framework Modules] spätzlemitsoß:
On S4, phone will only wake up on power and home button with stock rom.

Remapping these buttons works fine with screen off.

But when trying to remap volume, menu or back on screen off it will not work. (No wake)

Seems like system is not listening to these buttons when screen is off?

Can this be fixed? Maybe these keys need to be added to keylistener on screen off?

I tried to change some keylayout files, and add a wake condition, but it changed nothing..

Guess its done deeper in system.
[Xposed Framework Modules] dk_zero-cool:
Well if your device did not clear the cache during the reboot, it should contain something.

What does not work? Adding the keys works?

This is a problem on some ROM's. The module injects the deepest part of the event system, so there is not really anything to add a listener to. Now according to the log, everything should work fine, but for some reason it is not. The issue is only affecting the power button key code for some reason, on some ROM's it also affects turning off the device with re-map.

But I have added the 'Power Forced' action which will work on your device. During awake it will manually call power manager to turn off the screen, and during sleep it will manually trigger a full blown temp. wakelock which will kick start your device. So a solution is already added for these ROM's.
[Xposed Framework Modules] slonn:
Adding keys does not work. When clicking on a key it says "unknown" and doesnt add anything.

---

Sendt fra GN8
[Xposed Framework Modules] dk_zero-cool:
You wrote that you where using a Stock ROM, which kind? ICS, Jellybean, Gingerbread?

When you select/press a key in the popup, you say it says unknown. But that means that it registers when you press a key at least? What about the code, it should also write a key code, is that just '0'?
[Xposed Framework Modules] spätzlemitsoß:
I did try both, power and forced, but the screen will not wake on volume.

Remap on screen off only works with power and home button. (The ones which natively work when screen is off)

Somewhere in the system, power and home have to be set to wake phone, or at least to be listened to when screen is off.

(Dont know anything about android keyservice structure yet..)

Cant we just add volume an other keys there?
[Xposed Framework Modules] dk_zero-cool:
Android's key files does not decide which keys to listen to. They just set's flags that the event query reads and decides the action from. Normally all keys will go through the input query, but those not set as wake keys in the key layout files will just be canceled. However, my module overwrites the query method and I don't care what those files say. The only thing that can stop keys from going to the input query is the kernel, which neither I nor Xposed can impact in any way.
[Xposed Framework Modules] killoid:
ya ya thats when i close the button after pressing 'ok'.