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.4k 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.
      • 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
                                  • W Offline
                                    wilfridd @Nreal
                                    last edited by

                                    @nreal This will work for me :

                                    1. Download firmware_jasmine_sprout_V11.0.28.0.zip
                                    2. flash file "bluetooth.img" to slot a or slot b (depends of the setup)

                                    This fixed completely BT issue on my MiA2.

                                    B 1 Reply Last reply Reply Quote 1
                                    • P PhAndersson referenced this topic on
                                    • B Offline
                                      Bogotrax @wilfridd
                                      last edited by Bogotrax

                                      @nauvpp hello nauvpp, i followed your advice and used fastboot flash bluetooth_a bluetooth.img on my mi a2 , but it was not effective. I used the latest firmware from firmwareupdater site for xiaomi devices V11.0.28.0.QDIMIXIM . i extracted the bluetooth image and flashed it with the img. Can you confirm that these are the steps to take? Is there anything you did differently? Thanks in advance! Is there a way to read out the firmware version for bluetooth of my device somehow?

                                      B 1 Reply Last reply Reply Quote 0
                                      • B Offline
                                        Bogotrax @Bogotrax
                                        last edited by Bogotrax

                                        @bogotrax

                                        This is what i get as a result from the terminal when trying to get infos about bluetooth. Can you check if it has the same stats as yours?!
                                        screenshot

                                        B 1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          Bogotrax @Bogotrax
                                          last edited by

                                          @bogotrax another output. I hope this helps even though i am not sure it is suppose to look like this. I expected a clearer firmware description.
                                          alt text

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

                                            @bogotrax,hi, try download https://github.com/ubports-xiaomi-sdm660/artifacts/releases/download/20211023/firmware_jasmine_sprout_V11.0.28.0.zip

                                            Then extract and flash bluetooth.img

                                            1 Reply Last reply Reply Quote 0
                                            • F Offline
                                              fredo333
                                              last edited by

                                              I typed this: fastboot flash bluetooth bluetooth.img

                                              It comes this:
                                              target reported max download size of 536870912 bytes
                                              sending 'bluetooth' (556 KB)...
                                              OKAY [ 0.031s]
                                              writing 'bluetooth'...
                                              OKAY [ 0.010s]
                                              finished. total time: 0.042s

                                              But it did not work.
                                              What I made wrong ?

                                              Devices:
                                              UBports@Xiaomi Mi A2
                                              Android@Mi 10 lite

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