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

    No more WLAN after OTA-6/7 update on OPO

    Scheduled Pinned Locked Moved Support
    17 Posts 5 Posters 2.6k 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.
      • flohackF Offline
        flohack @rbarclay
        last edited by

        @rbarclay Ok while its a good thing that the partition is there, its obvious very bad to not have the WiFi config file.

        Meanwhile I think that Oneplus made several versions of the Oneplus One which are inherently different to some degree. Also some of them report as "bacon" while others report as "A0001" => so what can we do? Basically you can try to have a look if you find that ini file somewhere else in your /system folders - and then try to copy it to the persist partition. Lets see what that will give us.

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

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rbarclay @flohack
          last edited by

          @flohack Mine self-identifies as "bacon", FWIW.

          There's only 4 occurrences of that file on the whole filesystem, and all of them are symlinks to /persist:

          root@ubuntu-phablet:~# find / -name WCNSS_qcom_cfg.ini 2>/dev/null | xargs ls -l
          lrw-r--r--. 1 root root 27 Dec 31 22:51 /android/system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini -> /persist/WCNSS_qcom_cfg.ini
          lrw-r--r--. 1 root root 27 Dec 31 22:51 /android/system/etc/wifi/WCNSS_qcom_cfg.ini -> /persist/WCNSS_qcom_cfg.ini
          lrw-r--r--. 1 root root 27 Dec 31 22:51 /var/lib/lxc/android/rootfs/system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini -> /persist/WCNSS_qcom_cfg.ini
          lrw-r--r--. 1 root root 27 Dec 31 22:51 /var/lib/lxc/android/rootfs/system/etc/wifi/WCNSS_qcom_cfg.ini -> /persist/WCNSS_qcom_cfg.ini

          Anyway, I've now grabbed a random instance (first Google hit) of that file from github, dropped it in /persist and now have WLAN again. Only problem now is that it won't remember WPA2 passphrases over reboots, but I can live with that.

          Thanks for the help, @Flohack !

          flohackF 1 Reply Last reply Reply Quote 0
          • flohackF Offline
            flohack @rbarclay
            last edited by

            @rbarclay I can send you a legit one, just that you scramble a few bytes of the MAC addy then please πŸ˜‰ - maybe then it remembers again

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

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              rbarclay @flohack
              last edited by

              @flohack Yes, please πŸ˜‰

              1 Reply Last reply Reply Quote 0
              • G Offline
                GT
                last edited by

                @Flohack @rbarclay : So far I haven't received the update to OTA-7 for my OPO yet, hopefully it will come today. Do you advise to update the OPO to OTA-7 or shall I wait until this bug is resolved?

                R flohackF 2 Replies Last reply Reply Quote 0
                • R Offline
                  rbarclay @GT
                  last edited by

                  @gt This probably happened with an update on Dec. 28th (it says "Ubuntu touch Version 3" in System Settings -> Updates) for me. OTA-7 didn't fix the issue, but it also didn't cause it.

                  1 Reply Last reply Reply Quote 0
                  • flohackF Offline
                    flohack @GT
                    last edited by

                    @gt We introduced this already with OTA-6 ... so you can update probably...

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

                    G jelknerJ 2 Replies Last reply Reply Quote 0
                    • G Offline
                      GT @flohack
                      last edited by

                      @flohack Thanks for your message. I updated my OPO to OTA7 and there was no problem with WLAN.

                      1 Reply Last reply Reply Quote 0
                      • jelknerJ Offline
                        jelkner @flohack
                        last edited by

                        @flohack I have two OPOs, and both had this issue. The wifi switch disappeared after the update from OTA-5 to OTA-6. I've also installed OTA-7 on each of them, and the issue persists. Should I just wait for OTA-8?

                        btw. @Flohack I mentioned to you in irc that I don't need two OPOs. Would any of the development team be interested in having one? I would be more than happy to donate it.

                        flohackF 2 Replies Last reply Reply Quote 1
                        • flohackF Offline
                          flohack @jelkner
                          last edited by

                          @jelkner please check on both devices the content of the /persist folder (in recovery) or /system/persist I think it is when you are in UT. Can you verify to have a file named WCNSS_qcom_cfg.ini ?? If not, we know whats going on there.

                          However I cant fix this properly with OTA-8: If this file is missing we need to recreate it probably. Dunno why this would go away.

                          If this file is missng, can you please search for it with find /system -iname WCNSS_qcom_cfg.ini - maybe we find it somewhere else on your models.

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

                          1 Reply Last reply Reply Quote 0
                          • flohackF Offline
                            flohack
                            last edited by

                            Also look what I wrote here over the last weeks: https://github.com/ubports/ubuntu-touch/issues/995

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

                            1 Reply Last reply Reply Quote 0
                            • flohackF Offline
                              flohack @jelkner
                              last edited by

                              @jelkner I would rather have you working with us on the problem if you like. It might be some insights for you in how UT works, and for us an opportunity to recruit a new community contributor πŸ™‚

                              Would you mind bringing one of the OPOs back to Android, to see whats the MAC address there? We definitely need to find out where Android gets it from. Also for Bluetooth, see this bug: https://github.com/ubports/ubuntu-touch/issues/955

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

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