UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Unable to turn on bluetooth on Mi A2

    Scheduled Pinned Locked Moved Xiaomi Mi A2
    xiaomi mi a2bluetooth
    37 Posts 8 Posters 7.9k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • c4pp4C Offline
        c4pp4 @Sladek9
        last edited by

        @sladek9
        try:

        sudo stop bluebinder
        rfkill list bluetooth
        sudo start bluebinder
        rfkill list bluetooth
        

        here is output from my device:
        screenshot20211018_135307931.png

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          Sladek9 @c4pp4
          last edited by

          @c4pp4 Still no hci0 unfortunately. Output is below:

          phablet@ubuntu-phablet:~$ sudo stop bluebinder
          [sudo] password for phablet:
          bluebinder stop/waiting
          phablet@ubuntu-phablet:~$ rfkill list bluetooth
          0: bt_power: Bluetooth
          Soft blocked: no
          Hard blocked: no
          phablet@ubuntu-phablet:~$ sudo start bluebinder
          bluebinder start/running, process 10005
          phablet@ubuntu-phablet:~$ rfkill list bluetooth
          0: bt_power: Bluetooth
          Soft blocked: no
          Hard blocked: no
          phablet@ubuntu-phablet:~$

          It is strange, because it has worked until today in the morning.

          c4pp4C 1 Reply Last reply Reply Quote 0
          • c4pp4C Offline
            c4pp4 @Sladek9
            last edited by

            @sladek9 Have you restarted your device in the morning or what?
            BTW: I have the same output of 'dmesg | grep -i blue'

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              Sladek9 @c4pp4
              last edited by

              @c4pp4 If I restart, then the hci0 goes on. But when I go to the settings to search for any device to connect, the hci0 goes out. So it seems going to the settings is breaking it.

              1 Reply Last reply Reply Quote 0
              • D Offline
                danilo748
                last edited by

                Up!

                any news?
                has anyone solved the problem?

                N W 2 Replies Last reply Reply Quote 1
                • N Offline
                  Nreal @danilo748
                  last edited by

                  @danilo748
                  It doesnt work here either.
                  Mobile network is having issues too.
                  Cannot use my nextcloud..

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    wilfridd @danilo748
                    last edited by

                    @danilo748 hi! Seems that BT and Wifi are linked together.
                    I've recently noticed that BT if not working anymore if you switch off WIFI. Switching back on Wfi + A device restart is needed to have BT working again, or maybe at least a netword service restart with command line.

                    N 1 Reply Last reply Reply Quote 0
                    • N Offline
                      Nreal @wilfridd
                      last edited by

                      @nauvpp Ti doesnt seem to make any difference if wifi is on or of here.

                      W 2 Replies Last reply Reply Quote 0
                      • W Offline
                        wilfridd @Nreal
                        last edited by

                        @nreal here's what "rfkill list" shows on my device
                        0: bt_power: Bluetooth
                        Soft blocked: no
                        Hard blocked: no
                        1: phy0: Wireless LAN
                        Soft blocked: no
                        Hard blocked: no
                        2: hci0: Bluetooth
                        Soft blocked: no
                        Hard blocked: no

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          danilo748
                          last edited by

                          I change the channel from stable to devel and now th BT works!

                          N 1 Reply Last reply Reply Quote 0
                          • N Offline
                            Nreal @danilo748
                            last edited by

                            @danilo748 I tried that too, didnt work here

                            D 1 Reply Last reply Reply Quote 0
                            • W Offline
                              wilfridd @Nreal
                              last edited by

                              @nreal Theses steps to reproduce :
                              WIFI is on and BT is on = OK, can see devices. BT off then on again = OK, can see devices.
                              Set WIFI off = BT goes OFF itself few seconds after WIFI.
                              fd911c70-96d8-46a1-94fc-8bea9b69c800-image.png
                              Set WIFI back on = BT stays off.
                              Restart is needed to get BT back on too.
                              If you can repoduce, I will file a bug.

                              N 1 Reply Last reply Reply Quote 0
                              • N Offline
                                Nreal @wilfridd
                                last edited by

                                @nauvpp I have Xiaomi MI A2 and bluetooth does nothing, with or without wifi on / off.

                                W 1 Reply Last reply Reply Quote 0
                                • D Offline
                                  danilo748 @Nreal
                                  last edited by

                                  @nreal Infact! my BT is down again.
                                  After every update it becomes active again but, for some reason, after i use it for some time it come off again.

                                  1 Reply Last reply Reply Quote 0
                                  • W Offline
                                    wilfridd @Nreal
                                    last edited by

                                    @nreal Sorry I'm not sure to understand well. You mean BT is not working at all on your MiA2 ?

                                    N 1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      danilo748
                                      last edited by

                                      When BT goes down (BT device list became empty and the icon disappeared), it seems like you can fix it with following steps.

                                      1. Activate WIFI
                                      2. Activate BT
                                      3. Restart the device

                                      Step 3 has to be quick before BT switches off again.
                                      I've tried multiple times and it's ok for me.

                                      W 1 Reply Last reply Reply Quote 0
                                      • N Offline
                                        Nreal @wilfridd
                                        last edited by

                                        @nauvpp Yes BT doesn´t work at all.

                                        W 1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          wilfridd @danilo748
                                          last edited by wilfridd

                                          @danilo748 I experienced exactly the same, except that BT on my A2 seems to be more stable

                                          1 Reply Last reply Reply Quote 0
                                          • W Offline
                                            wilfridd @Nreal
                                            last edited by wilfridd

                                            @nreal Can u try this in the terminal

                                            Bluetoothctl [enter]
                                            scan on [enter]

                                            Then u should get this message:
                                            No default controller available

                                            I'm trying to get BT stops then starts again with command line but no success yet.

                                            sudo service bluetooth restart

                                            Does not gives any positive result neither

                                            • on MiA2 = nothing happens + unable to restart the phone, need hard power off.
                                              It seems that a process is really stuck.
                                            • or PRO5 = "job has already been stopped" but BT is still on

                                            Would be interesting to ask someone owning another halium 9 device.

                                            N 1 Reply Last reply Reply Quote 0
                                            • N Offline
                                              Nreal @wilfridd
                                              last edited by

                                              @nauvpp I think it is driver issue.

                                              W 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post