OnePlus 6 & Speakerphone

180 views
Skip to first unread message

Rich B

unread,
Aug 16, 2018, 12:04:41 PM8/16/18
to Tasker
Anyone have a OnePlus 6? Anyone have a speakerphone Profile/Task that works? The one I was using with my Nexus 6p is below, but it doesn't seem to work with the OnePlus 6 (by the way, mine is rooted with Magisk and on Oreo 8.1.0). Any suggestions on how to get this to work? In Tasker preferences, I'm monitoring the proximity sensor. BT is disconnected. However, when I look at Tasker during a call, only on of the Profile conditions seems to be green (Call:Any) and even that isn't all the time. Thanks! -Rich B.

Profile: Auto Speakerphone (26)
Restore: no
State: Call [ Type:Any Number:* ]
State: Proximity Sensor
State: Not BT Connected [ Name:* Address:* ]
Enter: Into Phone (24)
A1: [X] Profile Status [ Name:Orientation Face Down Set:Off ]
A2: [X] Profile Status [ Name:Orientation Not Face Down Set:Off ]
A3: [X] System Lock
A4: [X] Popup [ Title:Telephone Call Text:Phone Ringing Background Image: Layout:Popup Timeout (Seconds):5 Show Over Keyguard:On ]
A5: Speakerphone [ Set:On ] If [ %Orientation ~ face down ]
A6: Speakerphone [ Set:Off ] If [ %Orientation ~ not face down ]

Exit: Speakerphone On (25)
A1: [X] Popup [ Title: Text:Phone Background Image: Layout:Popup Timeout (Seconds):1 Show Over Keyguard:On ]
A2: [X] Profile Status [ Name:Orientation Face Down Set:On ]
A3: [X] Profile Status [ Name:Orientation Not Face Down Set:On ]
A4: Speakerphone [ Set:On ]
A5: [X] System Lock

Rich B

unread,
Aug 16, 2018, 3:25:44 PM8/16/18
to Tasker
I should have checked this earlier, but I checked the run log and the Profile is triggering the Task, but Speakerphone On is not turning on the Speakerphone. Maybe that just doesn't work with the OnePlus 6?

Robert Ryan

unread,
Aug 16, 2018, 3:54:42 PM8/16/18
to tas...@googlegroups.com
I haven't been able to get the speaker phone action to work since Marshmallow, either on my old Motorola Turbo 2 or on my galaxy S9 with Oreo 8.0.0. 

I've been using AutoInput to click the speakerphone button when a call starts. 

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.

Rich B

unread,
Aug 16, 2018, 4:07:36 PM8/16/18
to Tasker
Dang. That's not good. It was working on my Nexus 6P with Android 7.1.2 (or whatever it last was). I didn't think about AutoInput (because I'm hoping the native Tasker action will work). Do you toggle the speaker on/off using AutoInput depending upon the proximity sensor? I suppose this could work. I'll have to check it out. Thanks.

Robert Ryan

unread,
Aug 21, 2018, 4:03:05 PM8/21/18
to tas...@googlegroups.com
I did some more research on this and came across this article. Apparently you have to wait at least 500ms after the call is answered before the speakerphone can be toggled. As a test I used this task:
        
    Profile: Speakerphone Test
        State: Call 
        Type: Any 
        Number: *
        
    Enter: 
    A1: Wait 
        MS: 500 
        Seconds: 0 
        Minutes: 0 
        Hours: 0 
        Days: 0 
        
    A2: Speakerphone 
        Set: On 

This profile toggles the speakerphone correctly. However if I disable step A1 the speakerphone does not turn on. 

Rich B

unread,
Aug 21, 2018, 7:29:16 PM8/21/18
to Tasker
I posted in another thread that I got the speaker to come on, but I sure can't get it to work again, even with the delay. At one point, I had Tasker set up to turn on the speaker by default so that it was on at the beginning of every call, but that's not working now. Sometimes proximity sensor seems to trigger the task, and sometimes not (although at this point I'm getting bleary eyed so I certainly don't remember everything I've tried). Anyway, thanks for the tip. I'll keep experimenting. I did see that something I tried earlier ran (i.e, the Profile in the run log), but it didn't turn on the speaker. I'll keep experimenting.

Rich B

unread,
Aug 23, 2018, 8:05:38 PM8/23/18
to Tasker
I ran across something on XDA about this (https://forum.xda-developers.com/oneplus-5/help/how-to-auto-loudspeaker-call-t3755436). If you use Google Assistant to start a call using the speaker it works! So, how come Assistant can turn the speaker on but other apps, like Tasker, can't (and I've seen that other apps like MacroDroid can't, either). I wonder if there's a way to issue a command to the assistant using Tasker to turn the speaker on/off depending upon the proximity sensor? I will continue looking, but maybe someone already has some ideas? Thanks.

Rich B

unread,
Aug 24, 2018, 6:52:34 AM8/24/18
to Tasker
I just tested the Speakerphone with AutomateIt Pro on my OnePlus 6 and it flashes a toast as its speakerphone rule is triggered but it doesn't actually turn on the speaker, either. So, it's got to be something with the phone, but as I've posted elsewhere Google Assistant can turn it on, so why can't Tasker and other apps?

Troy Mazerolle

unread,
Aug 24, 2018, 8:01:10 AM8/24/18
to Tasker
It's not just the phone.. it has to be something in Android itself as I've had this issue every since I had my one plus 5 and same issue on my pixel 2xl.. I think the problem started on Oreo for me.

Robert Ryan

unread,
Aug 24, 2018, 10:14:14 AM8/24/18
to tas...@googlegroups.com
I have been able consistently activate the speakerphone by ~500ms after the call is initiated. However, the call app UI does not update the button to show that it is activated. 


On August 24, 2018 6:01:15 AM Troy Mazerolle <tro...@gmail.com> wrote:

It's not just the phone.. it has to be something in Android itself as I've had this issue every since I had my one plus 5 and same issue on my pixel 2xl.. I think the problem started on Oreo for me.

Rich B

unread,
Aug 24, 2018, 10:36:34 AM8/24/18
to Tasker
I can't get it to work even with a delay. I had it on yesterday, I think, at one point, but it's never come on again. I don't know exactly what I did. I think I'm going to have to try AutoInput, although I don't know if that'll work as I toggle the proximity sensor and the screen goes on and off or if I switch away from the call to another screen while speaking. Thanks.

Robert Ryan

unread,
Sep 14, 2018, 1:23:15 AM9/14/18
to tas...@googlegroups.com
I have filed this as a bug report on the Tasker issue tracker. You can upvote it here

Robert Ryan

unread,
Sep 14, 2018, 1:31:07 AM9/14/18
to tas...@googlegroups.com
Disregard the paragraph about waiting 500ms. After further testing I find that this isn't reliable either. 

João Dias

unread,
Sep 14, 2018, 6:23:13 AM9/14/18
to tas...@googlegroups.com
Replied in the issue tracker.
--
Thank you for your contact.
  • Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
  • Tasker: costumize/automate anything on your phone!
  • AutoApps: add advanced functionality to Tasker via plugins
João Dias

Rich B

unread,
Sep 14, 2018, 7:32:26 AM9/14/18
to Tasker
I replied to your comment on the tracker. It's not that the speaker icon doesn't display that speaker is on, it's that using speakerphone = on doesn't turn on the speaker at all. Several of us have resorted to using AutoInput to click the speaker button. It works, but probably not as reliable in case the phone UI is not displayed during a call (which might be the case if you get on a speaker and look something up elsewhere on your phone). Thx.
Reply all
Reply to author
Forward
0 new messages