MickH 211 Posted July 6, 2020 Share Posted July 6, 2020 I'm getting mixed results from this, for some reason. I've just had a fight with getting it to work with the prox sensor. Found out that my prox sensor had stopped working (magnet was fine though). I force stopped FXService, cleared the app cache and storage, which then brought the prox sensor back online.š¤ Just installed the update, so will keep you posted. 1 Quote Link to post Share on other sites
Slion 1,201 Posted July 6, 2020 Author Share Posted July 6, 2020 (edited) 6 minutes ago, MickH said: I'm getting mixed results from this, for some reason. I've just had a fight with getting it to work with the prox sensor. Found out that my prox sensor had stopped working (magnet was fine though). I force stopped FXService, cleared the app cache and storage, which then brought the prox sensor back online.š¤ Just installed the update, so will keep you posted. That rings a bell. I vaguely recall having issues with theĀ proximity sensor when using one of those sensor test apps together with Fx Service. Do you have any other third party app using the proximity sensor too?Ā Ā Edited July 6, 2020 by Slion 2 Quote Link to post Share on other sites
MickH 211 Posted July 6, 2020 Share Posted July 6, 2020 No. Just FXService is using the sensor AFAIK. I completely uninstalled WaveUp by force stopping it then clearing the cache and data then uninstalled. I'll keep a beady eye on it, anyway. š 1 Quote Link to post Share on other sites
MickH 211 Posted July 7, 2020 Share Posted July 7, 2020 (edited) Dammit. Got it working fine up until this morning. It seems that something is disabling my prox sensor after a while. Magnet still works though. Here's an idea though. Is it possible to use the magnet to wake the screen instead/as well as the prox sensor? *EDIT* I've just done a few checks with the "My Sensors" app and it looks like my prox sensor is very slow to react or sometimes doesn't detect any movement. š¤ Edited July 7, 2020 by MickH Added extra info. 1 Quote Link to post Share on other sites
Slion 1,201 Posted July 7, 2020 Author Share Posted July 7, 2020 16 minutes ago, MickH said: Dammit. Got it working fine up until this morning. Odd, I never have any problem with it, outside the fact that it takesĀ 2 seconds to respond. 17 minutes ago, MickH said: Is it possible to use the magnet to wake the screen instead/as well as the prox sensor? It wouldĀ be if they exposed it properly. However I doubt they have fixed that or even reported the problem upstream. @ErikĀ @WaxberryĀ ? Ā 1 Quote Link to post Share on other sites
MickH 211 Posted July 7, 2020 Share Posted July 7, 2020 3 minutes ago, Slion said: It wouldĀ be if they exposed it properly. However I doubt they have fixed that or even reported the problem upstream. @ErikĀ @WaxberryĀ ? Ā Here's hoping. I noticed that when I was trying to locate the exact position of the magnetic sensor the small magnet I was using jumped across the screen and stuck in position. Quote Link to post Share on other sites
EskeRahn 5,454 Posted July 7, 2020 Share Posted July 7, 2020 8 minutes ago, MickH said: Here's hoping. I noticed that when I was trying to locate the exact position of the magnetic sensor the small magnet I was using jumped across the screen and stuck in position. Posted this in another thread 1 Quote Link to post Share on other sites
Slion 1,201 Posted July 7, 2020 Author Share Posted July 7, 2020 1 minute ago, EskeRahn said: Posted this in another thread And twice on this thread already. It does not harm thoughĀ š 1 1 Quote Link to post Share on other sites
MickH 211 Posted July 7, 2020 Share Posted July 7, 2020 Yeah. That's the position the magnet jumped to. Put a tiny blob of glue on it then closed the case cover for a couple minutes so the magnet stuck to the cover. I then stuck a piece of tape over the magnet so it doesn't mark the screen over time. 2 Quote Link to post Share on other sites
Slion 1,201 Posted July 10, 2020 Author Share Posted July 10, 2020 (edited) On 7/7/2020 at 5:29 PM, MickH said: Dammit. Got it working fine up until this morning. It seems that something is disabling my prox sensor after a while. Magnet still works though. I just had that same issue. Though I have been using Fx Service for months and never seen it before. To fixĀ it I just restarted the accessibility service. I can see two possible root cause: The last release slightly changed the way it uses the proximity sensor. Maybe that regression was introduced then. However you were first reporting that issue in an earlier release. Maybe it has something to do with Battery Saver mode as I recently started using it. Edited July 10, 2020 by Slion 1 Quote Link to post Share on other sites
MickH 211 Posted July 10, 2020 Share Posted July 10, 2020 (edited) Still unable to get it to work 100% with my device. I don't use any battery saving settings though. I've been through settings with a fine tooth comb and can't find anything that looks like it could be causing conflicts, not even in developer settings. Once I switch off the accessibility for FXService then the prox sensor comes back online and works every time under testing. š¤ Edited July 10, 2020 by MickH 1 Quote Link to post Share on other sites
c3cf 19 Posted August 13, 2020 Share Posted August 13, 2020 Thank you for the FX Service App, it is quite useful. But I can't get Lock Screen on Keyboard Close to work on LineageOS. The screen just rotates but nothing else happens. Accessibility Service is enabled. IsĀ there any setting that I am missing? 1 Quote Link to post Share on other sites
Slion 1,201 Posted August 13, 2020 Author Share Posted August 13, 2020 (edited) 8 hours ago, c3cf said: LineageOS It has not been tested on that OS and is most likely not working. Stock is using key events to broadcast keyboard status change instead of sensors. I'm assuming @tdmĀ fixed that in LOS which is definitely the way to go but that's also breaking compatibility with apps developed for stocks. If ever those changes make it to Stock I will adjust Fx Service to work with them which could make it work for LOS. I'm hoping to getĀ back my second Pro1 at some point in which case I could possibly try use LOS and port Fx Service. Don't hold your breath though. Edited August 13, 2020 by Slion 1 Quote Link to post Share on other sites
tdm 2,322 Posted August 13, 2020 Share Posted August 13, 2020 49 minutes ago, Slion said: It has not been tested on that OS and is most likely not working. Stock is using key events to broadcast keyboard status change instead of sensors. I'm assuming @tdmĀ fixed that in LOS which is definitely the way to go but that's also breaking compatibility with apps developed for stocks. If ever those changes make it to Stock I will adjust Fx Service to work with them which could make it work for LOS. I'm hoping to getĀ back my second Pro1 at some point in which case I could possibly try use LOS and port Fx Service. Don't hold your breath though. Ā It was probably modified, but I don't remember exactly how or why.Ā But there's also the possibility that selinux is getting in the way. Ā 1 Quote Link to post Share on other sites
c3cf 19 Posted August 14, 2020 Share Posted August 14, 2020 I was able to do it with Tasker, simply add an Keyboard Out (Inverted) State to trigger Display Off and Lock.Ā 1 Quote Link to post Share on other sites
Slion 1,201 Posted September 27, 2020 Author Share Posted September 27, 2020 Just published release v0.9.8 adding more screen rotation options. @c3cfĀ If you are still interested in getting Fx Service working better on LOS you should be able to use the newly added debug option to show keyboard status change and tell me if it works on LOS. If it does I should be able to get some of the missing functionalitiesĀ working in the next release. 1 Quote Link to post Share on other sites
Slion 1,201 Posted October 6, 2020 Author Share Posted October 6, 2020 Just published release v1.0.0. Split settings over several pages to make the whole app more understandable and usable. 1 Quote Link to post Share on other sites
SCĪRECROW 57 Posted October 8, 2020 Share Posted October 8, 2020 @Slion Can I request a user override for the physical keyboard position sensor? My phone has a hardware issue where physical keyboard position sensor is malfunctioning. The phone detects that the physical keyboard is open when it's closed. I can get the keyboard sensor to work by putting a bit of pressure onto a cable (or object) inserted into the USB-C port, so there's probably some kind of connection issue. I really don't want to send my phone in for repair....I can live with a manual toggleĀ open/close for the keyboard. BTW, I'm running LOS and can see that the debug option in Fx Service does detect keyboard open/close changes. 1 Quote Link to post Share on other sites
Slion 1,201 Posted October 9, 2020 Author Share Posted October 9, 2020 8 hours ago, SCĪRECROW said: The phone detects that the physical keyboard is open when it's closed. So I guess what you would need is easy access to:Settings > System > Languages & input > Physical keyboard > Show virtual keyboard. I could possibly add a Quick Settings Tile for it. I could also add an option to turn it on when in portrait and turn it off when in landscape so that you would hardly ever notice your issue anymore. Sounds like a simple enough fix but I can't tell if and when I will get around implementing that feature. 8 hours ago, SCĪRECROW said: I really don't want to send my phone in for repair It took them 10 weeks to replace mine. I know it is annoying thoughĀ taking advantage of the warranty before it expires is probably smart. I reckon they would just replace it. 8 hours ago, SCĪRECROW said: BTW, I'm running LOS and can see that the debug option in Fx Service does detect keyboard open/close changes. So it confirms that your keyboard sensor is malfunctioning? 1 Quote Link to post Share on other sites
VaZso 1,998 Posted October 9, 2020 Share Posted October 9, 2020 9 hours ago, SCĪRECROW said: @Slion Can I request a user override for the physical keyboard position sensor? My phone has a hardware issue where physical keyboard position sensor is malfunctioning. The phone detects that the physical keyboard is open when it's closed. I can get the keyboard sensor to work by putting a bit of pressure onto a cable (or object) inserted into the USB-C port, so there's probably some kind of connection issue. I really don't want to send my phone in for repair....I can live with a manual toggleĀ open/close for the keyboard. BTW, I'm running LOS and can see that the debug option in Fx Service does detect keyboard open/close changes. Maybe I don't understand you well regarding what you press towards what part and when it works - I think debug option is also works for you only when you apply a pressure. Anyway, there is a small, cube-shaped magnet in the display part and the sensor is in the bottom part which is not moving. You may try to open the keyboard and test the function using a magnet - so the magnet above the display may also be in wrong position. You may find this magnet at top-left corner of the phoneĀ hereĀ (the silver one), so this gives the position where you may try the magnet at its bottom side. (so where it would be in closed position). 2 Quote Link to post Share on other sites
Slion 1,201 Posted October 9, 2020 Author Share Posted October 9, 2020 44 minutes ago, VaZso said: top-left corner of the phoneĀ hereĀ Is it not more like top right corner of the phone and top left corner on that image? Quote Link to post Share on other sites
EskeRahn 5,454 Posted October 9, 2020 Share Posted October 9, 2020 35 minutes ago, VaZso said: so the magnet above the display may also be in wrong position. Yes it could be mounted upside-down 1 Quote Link to post Share on other sites
Slion 1,201 Posted October 9, 2020 Author Share Posted October 9, 2020 2 minutes ago, EskeRahn said: Yes it could be mounted upside-down That should be an easy fix. 1 Quote Link to post Share on other sites
EskeRahn 5,454 Posted October 9, 2020 Share Posted October 9, 2020 12 minutes ago, Slion said: Is it not more like top right corner of the phone and top left corner on that image? The corner of the camera button and the usb-plug, to avoid confusion on how you hold it talking top, left etc... 1 Quote Link to post Share on other sites
VaZso 1,998 Posted October 9, 2020 Share Posted October 9, 2020 7 minutes ago, Slion said: Is it not more like top right corner of the phone and top left corner on that image? I have tried to mentionĀ its position based on the image linked. So I was speaking based on the photo. š 1 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.