No more WLAN after OTA-6/7 update on OPO
@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.
@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 !
@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
@flohack Yes, please
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.
@gt We introduced this already with OTA-6 ... so you can update probably...
GT last edited by
@flohack Thanks for your message. I updated my OPO to OTA7 and there was no problem with WLAN.
jelkner 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.
@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.
Also look what I wrote here over the last weeks: https://github.com/ubports/ubuntu-touch/issues/995
@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