Proximity Sensor on Galaxy S20+

Post your questions and help other users.

Moderator: Martin

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Proximity Sensor on Galaxy S20+

Post by Desmanto » 23 Jul 2020 06:02

I just tried with my friend's Redmi Note 9 Pro, which use punch hole design too. I install Automagic 1.38 EAP and add the proximity sensor trigger. It works fine, the flow trigger as expected. Value changed from 0 to 5 cm and vice versa. The proximity and light sensor is hidden under display, at the right of the front camera.

If the flow doesn't trigger, try to tick keep awake. Maybe the power management suspend the sensor when not it used. Try to trigger the flow with the flow is opening.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

JC.INTERNET.STUFF
Posts: 27
Joined: 13 Jul 2017 08:47

Re: Proximity Sensor on Galaxy S20+

Post by JC.INTERNET.STUFF » 23 Jul 2020 06:22

I running v1.37, not 1.38.

Thanks.

Julian

JC.INTERNET.STUFF
Posts: 27
Joined: 13 Jul 2017 08:47

Re: Proximity Sensor on Galaxy S20+

Post by JC.INTERNET.STUFF » 23 Jul 2020 06:29

I install the v1.38 but no luck. Can't get proximity sensor to trigger.

Julian

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Proximity Sensor on Galaxy S20+

Post by Desmanto » 23 Jul 2020 08:13

I install EAP 1.38, because it is not my phone and I just borrow a while for testing. There is no one here using S10/S20/Note10 which has punch hole, so can't test it.

Try to install DevCheck. I install on my friend's RN9P, it has proximity sensor and light sensor listed as sensortek stk3x3x. I can also see the value changes when covered. S10/S20 might have virtual sensor which derived from other sensor, hence not detected by general API. If the value doesn't change in S10/S20, it seems they require additional code to access the value.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

JC.INTERNET.STUFF
Posts: 27
Joined: 13 Jul 2017 08:47

Re: Proximity Sensor on Galaxy S20+

Post by JC.INTERNET.STUFF » 23 Jul 2020 09:16

No luck using Devcheck either!

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Proximity Sensor on Galaxy S20+

Post by Desmanto » 23 Jul 2020 10:17

I have checked other forum, xda, tasker and others; all state the same problem. S10/S20 proximity is internally controlled during certain app/activities (phone call). So it is different from RN9P, which still have real proximity sensor. Until someone find a workaround, there seems to be no way to use the proximity. You have to pick other trigger then.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Micky Micky
Posts: 179
Joined: 16 Oct 2019 17:38

Re: Proximity Sensor on Galaxy S20+

Post by Micky Micky » 25 Jul 2020 18:05

Hello

I presume this works on all Samsung phones.

*#0*# entered on the keypad brings up Samsung test menu. I clicked SENSOR and there's no proximity sensor listed on my S10.

Note: press the back key twice to exit this menu.

That LED is so small, how can it be a sensor?

Micky
Crude but it works.

JC.INTERNET.STUFF
Posts: 27
Joined: 13 Jul 2017 08:47

Re: Proximity Sensor on Galaxy S20+

Post by JC.INTERNET.STUFF » 30 Jul 2020 23:19

Same here on S20+ there is no Proximity sensor test.

Julian

Post Reply