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

wifi not working on oneplus one

Scheduled Pinned Locked Moved Support
16 Posts 6 Posters 1.7k Views 3 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.
    • J Offline
      joolz
      last edited by 1 Sept 2019, 06:11

      Good morning all,

      Now I have the opo running, there are some issues left. One is wifi, I have the toggle to switch it on, nut nothing happens in the UI, no ssids are shown, nothing else. From other threads I learned it might be a missing WCNSS_qcom_cfg.ini, so I got that from github and put it in /persist. After rebooting there quite a few of them:

      ./android/persist/WCNSS_qcom_cfg.ini
      ./android/system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini
      ./android/system/etc/wifi/WCNSS_qcom_cfg.ini
      ./android/data/misc/wifi/WCNSS_qcom_cfg.ini
      ./var/lib/lxc/android/rootfs/persist/WCNSS_qcom_cfg.ini
      ./var/lib/lxc/android/rootfs/system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini
      ./var/lib/lxc/android/rootfs/system/etc/wifi/WCNSS_qcom_cfg.ini
      ./var/lib/lxc/android/rootfs/data/misc/wifi/WCNSS_qcom_cfg.ini
      ./userdata/android-data/misc/wifi/WCNSS_qcom_cfg.ini
      

      However, still no wifi. When switching on the wifi toggle, syslog says:

      Sep  1 07:58:57 ubuntu-phablet URfkill[985]: Setting WLAN devices to unblocked
      Sep  1 07:58:57 ubuntu-phablet URfkill[985]: set_soft: Setting WLAN to unblocked
      Sep  1 07:58:57 ubuntu-phablet URfkill[985]: device_changed_cb: phy0
      Sep  1 07:58:57 ubuntu-phablet URfkill[985]: urf_killswitch_soft_block_cb: all done
      Sep  1 07:58:57 ubuntu-phablet kernel: [ 1518.765257] wlan: [1891:E :PMC] PMC: STA not associated with an AP with single active session. BMPS cannot be entered
      Sep  1 07:58:57 ubuntu-phablet kernel: [ 1518.766218] ADDRCONF(NETDEV_UP): wlan0: link is not ready
      Sep  1 07:58:57 ubuntu-phablet NetworkManager[1891]: <info>  [1567317537.1202] manager: WiFi now enabled by radio killswitch
      Sep  1 07:58:57 ubuntu-phablet NetworkManager[1891]: <info>  [1567317537.1573] WiFi hardware radio set enabled
      Sep  1 07:58:57 ubuntu-phablet NetworkManager[1891]: <info>  [1567317537.1575] audit: op="radio-control" arg="wireless-enabled:1" pid=3306 uid=32011 result="success"
      Sep  1 07:58:57 ubuntu-phablet NetworkManager[1891]: <info>  [1567317537.2728] sup-iface[0x19e1ef8,wlan0]: supports 5 scan SSIDs
      Sep  1 07:58:57 ubuntu-phablet NetworkManager[1891]: <info>  [1567317537.2778] device (wlan0): supplicant interface state: starting -> ready
      Sep  1 07:58:57 ubuntu-phablet NetworkManager[1891]: <info>  [1567317537.2786] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
      Sep  1 07:58:57 ubuntu-phablet NetworkManager[1891]: <info>  [1567317537.2876] policy: Device 'wlan0' has no connection; scheduling activate_check in 0 seconds.
      Sep  1 07:58:57 ubuntu-phablet kernel: [ 1518.948105] wlan: [2177:E :PE ] __limProcessSmeScanReq: 1267: SCAN is disabled or SCAN in power save is disabled and system is in power save.
      Sep  1 07:58:57 ubuntu-phablet NetworkManager[1891]: <info>  [1567317537.2994] device (wlan0): supplicant interface state: ready -> inactive
      Sep  1 07:58:57 ubuntu-phablet repowerd[921]: DefaultStateMachine: handle_user_activity_extending_power_state
      

      I have no idea what to do next, any help would be greatly appreciated! πŸ™‚

      Jules.

      L F 2 Replies Last reply 1 Sept 2019, 09:22 Reply Quote 0
      • L Offline
        Lakotaubp @joolz
        last edited by Lakotaubp 9 Jan 2019, 09:24 1 Sept 2019, 09:22

        @joolz If none of the normal things like toggling on and off Flight mode, wifi etc work I would re run the installer ( without wipe if you have stuff you need). I have two OPO now and only on occasion does wifi not kick back in after using mobile data but it was always fine from setup

        Edit: I use dev channel and edge try one of those if that sorts it then go back to stable or whatever you choose but stable should work out of the box.

        J 1 Reply Last reply 1 Sept 2019, 13:50 Reply Quote 0
        • J Offline
          joolz @Lakotaubp
          last edited by 1 Sept 2019, 13:50

          @Lakotaubp thanks, I will give it a try soon. Will /home/phablet survive a non-wiping install?

          L 1 Reply Last reply 1 Sept 2019, 13:57 Reply Quote 0
          • L Offline
            Lakotaubp @joolz
            last edited by 1 Sept 2019, 13:57

            @joolz Yes all that will happen is a fresh install of UT. Just don't press wipe πŸ˜„

            1 Reply Last reply Reply Quote 0
            • O Offline
              Opolork
              last edited by Opolork 9 Jan 2019, 17:26 1 Sept 2019, 17:26

              Hi Joolz. Have you tried toggling Wi-Fi under System Settings>>Battery?

              How can you trust that an app really won't send some company your location data, when you tell it not to? The only way you can trust a program not to do something it isn't supposed to do is if it is free software. ~ RMS

              J 1 Reply Last reply 1 Sept 2019, 19:38 Reply Quote 0
              • J Offline
                joolz @Opolork
                last edited by 1 Sept 2019, 19:38

                @Opolork yes I have, doesn't help

                O 1 Reply Last reply 1 Sept 2019, 19:48 Reply Quote 0
                • O Offline
                  Opolork @joolz
                  last edited by 1 Sept 2019, 19:48

                  @joolz Ok.

                  How can you trust that an app really won't send some company your location data, when you tell it not to? The only way you can trust a program not to do something it isn't supposed to do is if it is free software. ~ RMS

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Masayoshi
                    last edited by 1 Sept 2019, 20:28

                    I got the same problem with my opo the wifi wont work

                    L 1 Reply Last reply 1 Sept 2019, 20:47 Reply Quote 0
                    • L Offline
                      Lakotaubp @Masayoshi
                      last edited by 1 Sept 2019, 20:47

                      @Masayoshi Can you also try reflashing UT to see if that fixes the issue. After trying the other stuff mentioned above. Please don't press wipe unless you want to completely wipe everything from your device or have a backup.

                      M 1 Reply Last reply 2 Sept 2019, 17:16 Reply Quote 0
                      • F Offline
                        flohack @joolz
                        last edited by 1 Sept 2019, 21:17

                        @joolz question, which file you took from github, and where did you place it? You also need to generate yourself a new random MAC addy in case your ini was missing.

                        the ini file should have been in /persist folder when in recovery, did you check that before, overwrote it or etc.. πŸ™‚

                        My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                        J 1 Reply Last reply 2 Sept 2019, 13:01 Reply Quote 2
                        • J Offline
                          joolz @flohack
                          last edited by 2 Sept 2019, 13:01

                          @Flohack : WCNSS_qcom_cfg.ini, but probably the wrong one. I just found this thread https://github.com/ubports/ubuntu-touch/issues/995 and followed your directions there, copied the ini file mentioned there and generated a random MAC address. After a restart, the SIM password would be asked very shortly (gone before I could type the code) but, wifi would see the available networks, but not connect to any, probably because I copied in /etc/NetworkManager/system-connections/* from my old phone. I removed these, another reboot and I could punch in the SIM code and wifi networks were visible! No time to connect now (I'm at workplace) but I think this was it, thanks! \o/

                          Another (unrelated) question: can I copy in /etc/NetworkManager/system-connections/* from my old phone? That would spare me a lot of copy/pasting passwords...

                          J F 2 Replies Last reply 2 Sept 2019, 13:41 Reply Quote 1
                          • J Offline
                            joolz @joolz
                            last edited by 2 Sept 2019, 13:41

                            @joolz said in wifi not working on oneplus one:

                            No time to connect now (I'm at workplace) but I think this was it

                            Connected! πŸ™‚

                            1 Reply Last reply Reply Quote 1
                            • M Offline
                              Masayoshi @Lakotaubp
                              last edited by 2 Sept 2019, 17:16

                              @Lakotaubp Im not that good on this. Then i was installing ubports on my oneplus it was taking a very long time before i got it to work. How to reflash in a easy way?

                              L 1 Reply Last reply 2 Sept 2019, 18:01 Reply Quote 0
                              • L Offline
                                Lakotaubp @Masayoshi
                                last edited by 2 Sept 2019, 18:01

                                @Masayoshi Just rerun the installer. it should be quicker this time and please don't select the wipe option.

                                1 Reply Last reply Reply Quote -1
                                • F Offline
                                  flohack @joolz
                                  last edited by 3 Sept 2019, 09:07

                                  @joolz system-connections should be readonly, and can be overwritten on any update, I think that must reside in a different place

                                  My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                  1 Reply Last reply Reply Quote 0
                                  • L Offline
                                    L-00333 Banned
                                    last edited by 27 Sept 2019, 05:58

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post