[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] varunrocks17:
Congratulations guys I have created n tested highly advanced fully automated solution , now screen will work during calls as it should W/O NEED OF PROXIMITY SENSOR

Warning :-

I AM NOT RESPONSIBLE FOR ANY DAMAGE WHATSOEVER YOU MAY CAUSE TO YOUR DEVICE WHILE USING OR RANDOMLY EXPERIMENTING WITH THIS FIX, DONT TINKER WITH DEVICE IF U DONT KNOW WHAT U R DOING.

FEATURES -

1. PROXIMITY OFF DURING CALL

2. AUTO SCREEN OFF DURING CALL

3. AUTO SCREEN ON AFTER CALL

4. SHAKE TO SCREEN OFF DURING CALL

5. Whatsapp/Telegram or any calling app proximity fix

Jus add that app under "Proximity Sensor Off By Apps" profile

1. What is this fix about?

Ans. Poco F3 has an issue, that while calling screen turns on/off randomly due to proximity sensor malfunction , so to fix it I made a Tasker profile which, at the time of calling , disables proximity sensor , then it turns off screen while call n turns screen back on after call is complete......ITS FULLY AUTOMATED U NEED NOT TO TOUCH A SINGLE THING....EVERY THING IS DONE BY MY PROFILE

2. Why to re-enable proximity sensor?

Ans. Without proximity sensor phone will have issues with deep sleep function, so to avoid it proximity sensor is to be re-enabled.

3. Any draw back of this fix?

Ans. Proximity sensor won't work during call, have common sense it's a hardware issue.

3.1 What do I do if I want to use phone during call ?

Ans. If u want to use phone during call

for eg - take note of something or do anything else u can turn on the screen do the work, n the screen off by pressing pwr button, or just shaking phone a bit.

4. Minimum requirements for this fix?

Ans. a. Tasker app , auto input app

b. Any mi device which shipped with Android 10 or 11 out-of-box , if u have any other device u can test this fix if it works , most probably it would since m using sysfs interface shell script implimented by linux kernel, which is quite universal ￼ both miui n custom roms are compatible;

c. Root;

d. Working mind ￼

5. PROCEDURE :-

0. Download

A. FOR ANDROID 12

the "prox-aosp12-2.0.xml" from below given link n copy it to "/storage/emulated/0/Tasker/configs/user" ;

B. FOR ANDROID 11

the "prox-aosp11-2.0.xml" from below given link n copy it to "/storage/emulated/0/Tasker/configs/user"

C. FOR MIUI WITH MIUI DIALER

the "prox-miui-midial-2.0.xml" from below given link n copy it to "/storage/emulated/0/Tasker/configs/user"

D. FOR MIUI WITH GOOGLE DIALER

the "prox-aosp11-2.0.xml" from below given link n copy it to "/storage/emulated/0/Tasker/configs/user"

NOW U CAN FOLLOW VIDEO GUIDE

1. Go to Tasker app;(all permission to Tasker app should already be given)

2. At the right corner of Tasker app u will see menu button (3 dot button) press it;

3. Go to "Data";

4. Go to "Restore";

5. Now select the XML that u have downloaded;

6. Press back button repeateadly till the app is closed;

7. Now download "auto input" app;

8. Give all permissions to Tasker n auto input app; (specially accessibility permission n draw over other app permission)

how? - Search these permissions in settings and u will find it.

8. That's it from here on my Tasker profile will take care of things;

TROUBLESHOOTING

VI. Downloads

A. XML file :-

Android 12

Google Drive: Sign-in

Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

drive.google.com

Android 11

Google Drive: Sign-in

Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

drive.google.com

MIUI WITH MI DIALER

Google Drive: Sign-in

Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

drive.google.com

MIUI WITH GOOGLE DIALER

Google Drive: Sign-in

Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

drive.google.com