• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Themes / Apps / Mods [APP][11.0][12.0] AOSP DIALER with Proximity checkbox (call recorder incl) + macro

Search This thread

raystef66

Recognized Developer / Recognized Contributor
Jul 2, 2013
2,303
7,894
ZTE Axon 7
Xiaomi Mi 9
Since proximity sensor on F3 is fairly useless/non stable on calls I compiled the [A11] AOSP dialer with proximity checkbox. Install via Magisk.
Set dialer as default phone app (reboot) and check proximity ON (so proximity doesn't work anymore...)

In call :
  • you can either use your powerbutton or double tap on statusbar to dim screen.
  • or you can use a small macro add-on I made - Call_AutoScreen_On-Off_(F3) - which auto dims screen when call is started and auto lights up the screen when call is ended. How to :
  • install MacroDroid
  • import the unzipped macro
  • give permissions where needed (reboot/don't forget to nuke proximity in dialer ofc).

thx @anuppoudel for testing as well (y)


Added A12 AOSP Dialer
 

Attachments

  • Image6119288724026214510.jpg
    Image6119288724026214510.jpg
    30.7 KB · Views: 787
  • Image6048485430259783487.jpg
    Image6048485430259783487.jpg
    115.7 KB · Views: 755
  • Image7141081585144354217.jpg
    Image7141081585144354217.jpg
    44 KB · Views: 760
  • Alioth_AOSP_Dialer_Proximity_raystef66.zip
    5.9 MB · Views: 311
  • Call_AutoScreen_On-Off_(F3).zip
    1.1 KB · Views: 147
  • Image4299968947232569118.jpg
    Image4299968947232569118.jpg
    148.7 KB · Views: 755
Last edited:

esszett

Senior Member
Jan 20, 2019
128
93
Sony Xperia Ion
Lenovo Zuk Z1
Since I got the F3, I've gotten used to just manually locking the screen before I put the phone to my ear. So, what advantage do I get from using your modified app?
Don't get me wrong, I appreciate your work! I'm just curious...
 

keyoke87

Senior Member
Jun 30, 2014
286
146
OnePlus 8T
Apple iPhone 12
Since proximity sensor on F3 is fairly useless/non stable on calls I compiled the AOSP dialer with proximity checkbox. Install via Magisk.
Set dialer as default phone app (reboot) and check proximity ON (so proximity doesn't work anymore...)

In call :
  • you can either use your powerbutton or double tap on statusbar to dim screen.
  • or you can use a small macro add-on I made - Call_AutoScreen_On-Off_(F3) - which auto dims screen when call is started and auto lights up the screen when call is ended. How to :
  • install MacroDroid
  • import the unzipped macro
  • give permissions where needed (reboot/don't forget to nuke proximity in dialer ofc).

thx @anuppoudel for testing as well (y)
Thanks brother. U rock!
 
  • Like
Reactions: raystef66

esszett

Senior Member
Jan 20, 2019
128
93
Sony Xperia Ion
Lenovo Zuk Z1
Automation instead of manually lock
Ok, thanks...

1. The screen is locked with the app, but I have to manually dim the screen by pressing the power button? Hmm...
2. When the call starts I have to switch loudspeaker on and off again before I actually can hear the one who's calling (or the one I am calling resp.) over the earpiece (is there any solution for this bug out there? or has it even been solved and I'm still doing it out of habit? :oops:o_O).

Unfortunately, it seems that this mod would make the whole dumb workaround procedure even more frustrating (for me) :(
 

keyoke87

Senior Member
Jun 30, 2014
286
146
OnePlus 8T
Apple iPhone 12
Ok, thanks...

1. The screen is locked with the app, but I have to manually dim the screen by pressing the power button? Hmm...
2. When the call starts I have to switch loudspeaker on and off again before I actually can hear the one who's calling (or the one I am calling resp.) over the earpiece (is there any solution for this bug out there? or has it even been solved and I'm still doing it out of habit? :oops:o_O).

Unfortunately, it seems that this mod would make the whole dumb workaround procedure even more frustrating (for me) :(
U can choose not to use. Dev is sharing his solution out of goodwill anyways
 
  • Like
Reactions: raystef66

raystef66

Recognized Developer / Recognized Contributor
Jul 2, 2013
2,303
7,894
ZTE Axon 7
Xiaomi Mi 9
Ok, thanks...

1. The screen is locked with the app, but I have to manually dim the screen by pressing the power button? Hmm...
2. When the call starts I have to switch loudspeaker on and off again before I actually can hear the one who's calling (or the one I am calling resp.) over the earpiece (is there any solution for this bug out there? or has it even been solved and I'm still doing it out of habit? :oops:o_O).

Unfortunately, it seems that this mod would make the whole dumb workaround procedure even more frustrating (for me) :(
Point of this all is to nuke proximity sensor (more stability during calls) and let the macro do the job of auto dimming the screen when call gets active and waking it up when call's done. No more no less. So no more pressing the powerbutton or whatever.
Even with the macro running during call you can easily dt2w or press power button to wake screen. Dim it again by pressing the powerbutton again (or double tap statusbar). But how many times does that happen? Not much for me.
For you it does apparently because you have to press loudspeaker. Well you can as you did before on the other dialer you had. Only thing now is that proximity is disabled as well. So more stability.

In the past even with just pressing the power button I had wake-ups during calls. Proximity is unstable so therefore diabling it is the logic solution (for me).

As mentioned above, it's up to others to use it or not.

PS : in macro you can easily add some time to it before screen auto-dims so you have time enough to tap your loudspeaker. Or even add a speakerphone task. Up to you.
 
Last edited:

esszett

Senior Member
Jan 20, 2019
128
93
Sony Xperia Ion
Lenovo Zuk Z1
U can choose not to use. Dev is sharing his solution out of goodwill anyways
Unfortunately, the problem with the proximity sensor is extremely unsatisfactory - a feature that always worked reliably since my first smartphone was mightily screwed up by Xiaomi. I guess everyone who makes several calls per day is annoyed by the behavior and is looking for solutions. Therefore, it is of course highly gratifying if among the annoyed users there are also a few developers who can program solutions.

My frustration with the proximity sensor was not meant to blame the dev for not bringing a solution that works for me - the criticism is solely for Xiaomi. As I said, I appreciate the developer's work! Therefore, sorry if my post came across with a bad mood... I'm glad that the workaround app offered by the dev helps many users :)


@raystef66
Thank you for your answer! Earlier I was still unsure, now I know: the loudspeaker on/off "game" isn't over on my device - I just tested it. For an outgoing call, I have to deactivate the loudspeaker only after the ring tone, otherwise the earpiece remains silent. Unfortunately, this ring tone sometimes starts after 1 second, sometimes after 5 seconds - and sometimes without waiting time the call starts immediately. So, I don't think it's possible to create a universal solution with a macro.

The thing that works for me, on the other hand, is that the phone stays locked until I unlock it (lucky me! :sneaky:). Initially, this accidently wake-up also happened to me, because I came to the fingerprint sensor with the index finger or thumb - but here I have now also re-educated myself ;)

Anyway, thanks for not resigning yourself to the status quo and continuing to look for solutions!
 

keyoke87

Senior Member
Jun 30, 2014
286
146
OnePlus 8T
Apple iPhone 12
Unfortunately, the problem with the proximity sensor is extremely unsatisfactory - a feature that always worked reliably since my first smartphone was mightily screwed up by Xiaomi. I guess everyone who makes several calls per day is annoyed by the behavior and is looking for solutions. Therefore, it is of course highly gratifying if among the annoyed users there are also a few developers who can program solutions.

My frustration with the proximity sensor was not meant to blame the dev for not bringing a solution that works for me - the criticism is solely for Xiaomi. As I said, I appreciate the developer's work! Therefore, sorry if my post came across with a bad mood... I'm glad that the workaround app offered by the dev helps many users :)


@raystef66
Thank you for your answer! Earlier I was still unsure, now I know: the loudspeaker on/off "game" isn't over on my device - I just tested it. For an outgoing call, I have to deactivate the loudspeaker only after the ring tone, otherwise the earpiece remains silent. Unfortunately, this ring tone sometimes starts after 1 second, sometimes after 5 seconds - and sometimes without waiting time the call starts immediately. So, I don't think it's possible to create a universal solution with a macro.

The thing that works for me, on the other hand, is that the phone stays locked until I unlock it (lucky me! :sneaky:). Initially, this accidently wake-up also happened to me, because I came to the fingerprint sensor with the index finger or thumb - but here I have now also re-educated myself ;)

Anyway, thanks for not resigning yourself to the status quo and continuing to look for solutions!
no worries. i know that the proximity sensor on this phone is just trash. cheers!
 
  • Like
Reactions: esszett and immi803

Phat Phreddy

Senior Member
Jun 11, 2010
179
18
Apologies if this is off topic but this thread will likely attract the right eyes.. Dialing hasnt been my big problem yet..

How do you deal with pocket wake up ?? Face unlock (maybe tap to wake ??) the position of the fingerprint reader mean this thing is constantly awake and pin lock failing in my pockets.. Driving me crazy.




EDIT :::
Testing it (pixel experience plus) my phone never senses, in any orientation.. Others report some form of sensing.

Upright.. hand to phone.. hand over phone.. I am not getting anything.

It wakes on movement.. It wakes to attempt face unlock (I guess).. It wakes on screen touch,, it never overrides that despite there being an option to prevent accidental wake up (which has no noticeable effect). I dont see what combo of settings may be correct here.

Its currently flat out unusable.. Its a mobile phone which you cannot put in your pocket and which wakes as you carry it. People cant be just accepting this...
 
Last edited:

Creative9170

Senior Member
Feb 1, 2013
262
114
Tehran
Hi,
Thanks a lot for your useful app.
In android 12 I have a problem, app background color is a very awful green! Please check attachment, what is the problem?
Thanks!
 

Attachments

  • Screenshot_20211110-100459_Phone.png
    Screenshot_20211110-100459_Phone.png
    66.2 KB · Views: 77

raystef66

Recognized Developer / Recognized Contributor
Jul 2, 2013
2,303
7,894
ZTE Axon 7
Xiaomi Mi 9
  • Like
Reactions: Creative9170

Techguy777

Senior Member
Can you please compile it for A12 too? Because most of the A12 roms doesn't have call recorder now. But your aosp app works good on A12 but has some minor theme problems.
Thanks in advance :)
I second this. I like having call recording when I call automated robot calls than I don't need to pay a attention and if I miss something I can relisten to it without a problem or with headphones if it was to quiet. It also works to set people up but in my state it's illegal to record someone who doesn't know their being recorder. So you would just be getting yourself in trouble to.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    Since proximity sensor on F3 is fairly useless/non stable on calls I compiled the [A11] AOSP dialer with proximity checkbox. Install via Magisk.
    Set dialer as default phone app (reboot) and check proximity ON (so proximity doesn't work anymore...)

    In call :
    • you can either use your powerbutton or double tap on statusbar to dim screen.
    • or you can use a small macro add-on I made - Call_AutoScreen_On-Off_(F3) - which auto dims screen when call is started and auto lights up the screen when call is ended. How to :
    • install MacroDroid
    • import the unzipped macro
    • give permissions where needed (reboot/don't forget to nuke proximity in dialer ofc).

    thx @anuppoudel for testing as well (y)


    Added A12 AOSP Dialer
    7
    On previous version call recording didn't work fully. Therefore made a second version which provides call recording as well ;)

    Alioth_AOSP_Dialer_Proximity_raystef66_v2
    3
    [A12] AOSP DIALER with CALL RECORDER function + PROXIMITY TOGGLE

    Compiled the A12 dialer (crDroid / but should work on other A12 AOSP roms) - ENJOY :cowboy:
    3
    Ok, thanks...

    1. The screen is locked with the app, but I have to manually dim the screen by pressing the power button? Hmm...
    2. When the call starts I have to switch loudspeaker on and off again before I actually can hear the one who's calling (or the one I am calling resp.) over the earpiece (is there any solution for this bug out there? or has it even been solved and I'm still doing it out of habit? :oops:o_O).

    Unfortunately, it seems that this mod would make the whole dumb workaround procedure even more frustrating (for me) :(
    Point of this all is to nuke proximity sensor (more stability during calls) and let the macro do the job of auto dimming the screen when call gets active and waking it up when call's done. No more no less. So no more pressing the powerbutton or whatever.
    Even with the macro running during call you can easily dt2w or press power button to wake screen. Dim it again by pressing the powerbutton again (or double tap statusbar). But how many times does that happen? Not much for me.
    For you it does apparently because you have to press loudspeaker. Well you can as you did before on the other dialer you had. Only thing now is that proximity is disabled as well. So more stability.

    In the past even with just pressing the power button I had wake-ups during calls. Proximity is unstable so therefore diabling it is the logic solution (for me).

    As mentioned above, it's up to others to use it or not.

    PS : in macro you can easily add some time to it before screen auto-dims so you have time enough to tap your loudspeaker. Or even add a speakerphone task. Up to you.
    2
    Unfortunately, the problem with the proximity sensor is extremely unsatisfactory - a feature that always worked reliably since my first smartphone was mightily screwed up by Xiaomi. I guess everyone who makes several calls per day is annoyed by the behavior and is looking for solutions. Therefore, it is of course highly gratifying if among the annoyed users there are also a few developers who can program solutions.

    My frustration with the proximity sensor was not meant to blame the dev for not bringing a solution that works for me - the criticism is solely for Xiaomi. As I said, I appreciate the developer's work! Therefore, sorry if my post came across with a bad mood... I'm glad that the workaround app offered by the dev helps many users :)


    @raystef66
    Thank you for your answer! Earlier I was still unsure, now I know: the loudspeaker on/off "game" isn't over on my device - I just tested it. For an outgoing call, I have to deactivate the loudspeaker only after the ring tone, otherwise the earpiece remains silent. Unfortunately, this ring tone sometimes starts after 1 second, sometimes after 5 seconds - and sometimes without waiting time the call starts immediately. So, I don't think it's possible to create a universal solution with a macro.

    The thing that works for me, on the other hand, is that the phone stays locked until I unlock it (lucky me! :sneaky:). Initially, this accidently wake-up also happened to me, because I came to the fingerprint sensor with the index finger or thumb - but here I have now also re-educated myself ;)

    Anyway, thanks for not resigning yourself to the status quo and continuing to look for solutions!
    no worries. i know that the proximity sensor on this phone is just trash. cheers!