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.
Proximity Sensor on Galaxy S20+
Moderator: Martin
Re: Proximity Sensor on Galaxy S20+
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.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
-
- Posts: 27
- Joined: 13 Jul 2017 08:47
Re: Proximity Sensor on Galaxy S20+
I running v1.37, not 1.38.
Thanks.
Julian
Thanks.
Julian
-
- Posts: 27
- Joined: 13 Jul 2017 08:47
Re: Proximity Sensor on Galaxy S20+
I install the v1.38 but no luck. Can't get proximity sensor to trigger.
Julian
Julian
Re: Proximity Sensor on Galaxy S20+
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.
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.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
-
- Posts: 27
- Joined: 13 Jul 2017 08:47
Re: Proximity Sensor on Galaxy S20+
No luck using Devcheck either!
Re: Proximity Sensor on Galaxy S20+
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.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
-
- Posts: 179
- Joined: 16 Oct 2019 17:38
Re: Proximity Sensor on Galaxy S20+
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
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.
-
- Posts: 27
- Joined: 13 Jul 2017 08:47
Re: Proximity Sensor on Galaxy S20+
Same here on S20+ there is no Proximity sensor test.
Julian
Julian