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

WiFi password loss after each and every reboot on MEIZU Pro 5

Scheduled Pinned Locked Moved Solved Support
97 Posts 16 Posters 36.2k Views 6 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.
    • M Offline
      Marathon2422
      last edited by 2 Mar 2019, 21:08

      Your WiFi worked with Android, but did you get a WiFi service called " nvram error 0x10".
      If you did and you flash UT, it will not show this error, and you will need to re-enter the wifi ,every time you restart it
      Put TWRP on your device, flash the nvram zip, from " xxx.skyneel.com" check it out ,reflashing stock recovery,as needed, ota updates fix usually stays, .

      See if it works for you , while you figure something else out

      M 1 Reply Last reply 4 Mar 2019, 07:02 Reply Quote 0
      • A Offline
        AlainW94 @Stefano
        last edited by 3 Mar 2019, 10:26

        @Stefano yes I have two like this one with no wifi issue

        Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
        Never forget that they are much more ideas inside two heads than in one...

        1 Reply Last reply Reply Quote 0
        • U Offline
          ubuntoutou @matteo
          last edited by 3 Mar 2019, 15:28

          @matteo what is this software called "ATU"? Where did you get it from?

          A 1 Reply Last reply 3 Mar 2019, 15:40 Reply Quote 0
          • A Offline
            advocatux @ubuntoutou
            last edited by 3 Mar 2019, 15:40

            @ubuntoutou I think he's talking about that @KrisJace's tool (https://sourceforge.net/projects/all-things-ubuntu-library/files/releases/)

            M 1 Reply Last reply 4 Mar 2019, 07:05 Reply Quote 1
            • D Online
              doniks
              last edited by 3 Mar 2019, 22:56

              fwiw, my nexus 7 also forgets the wifi passwords.

              S 1 Reply Last reply 4 Mar 2019, 09:42 Reply Quote 0
              • M Offline
                matteo @Marathon2422
                last edited by 4 Mar 2019, 07:02

                @Marathon2422 yes I already checked in Flyme several times and I didn't get such a NVRAM error. That's why I excluded this issue among the possibilities. Thank you for asking by the way.

                M 1 Reply Last reply 5 Mar 2019, 14:43 Reply Quote 0
                • M Offline
                  matteo @advocatux
                  last edited by 4 Mar 2019, 07:05

                  @advocatux yes this is it. Thank you advocatux :). @ubuntoutou anyway if you wish to use it, consider this is not an official tool advised by UBports but you have to use it carefully, because apt-get command is not supported on UT OS.

                  U 1 Reply Last reply 4 Mar 2019, 12:52 Reply Quote 1
                  • S Offline
                    Stefano @doniks
                    last edited by Stefano 3 Apr 2019, 09:42 4 Mar 2019, 09:42

                    @doniks Nexus 7 were built with more hardware revisions, so this is interesting information, seems it might be a hardware compability issue.I couldn't install UT on Nexus 7, untill it got fixed by OTA-7, so this might be simmilar issue for Pro 5 and some Nexus 5 users as well. It's baffling.

                    U 1 Reply Last reply 4 Mar 2019, 12:44 Reply Quote 0
                    • U Offline
                      ubuntoutou @Stefano
                      last edited by 4 Mar 2019, 12:44

                      @Stefano I also have a Nexus 7 (2013) and I couldn't get UT to boot properly until I replaced the version of Android I had with an older version of Android. I have no issue with the WiFi password on this tablet. The nexus 7 works remarkably well with UT.

                      A 1 Reply Last reply 4 Mar 2019, 12:55 Reply Quote 0
                      • U Offline
                        ubuntoutou @matteo
                        last edited by ubuntoutou 3 Apr 2019, 12:53 4 Mar 2019, 12:52

                        Yes @matteo I would prefer ATU to be on the Open Store. I haven't installed it. I would prefer to install lshw and hwinfo directly with apt-get install or dpkg -i. But there are some dependencies. I know we are not supposed to use these Ubuntu Desktop tools on Ubuntu Touch. However I have managed to install htop with apt-get without much trouble. There is now an app in the Open Store for htop but it may just install htop with one of these Ubuntu Desktop tools, I don't know.

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          AlainW94 @ubuntoutou
                          last edited by 4 Mar 2019, 12:55

                          @ubuntoutou Good point, you can maybe try to downgrade first your phone on a old flymeos version in order to get different firmware and then install again UT. if that works, try progressive upgrades of flymeos ...

                          Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                          Never forget that they are much more ideas inside two heads than in one...

                          1 Reply Last reply Reply Quote 0
                          • U Offline
                            ubuntoutou
                            last edited by 4 Mar 2019, 13:03

                            The problem is that I am still in the dark as to whether the EFS partition is the issue or not.

                            When you wipe or format with TWRP, there are some options to choose what to wipe and what to keep. Could it be that those of us who wiped everything loose the WiFi password while those who didn't have no such loss?

                            I also don't know if re-installing Android would restore the EFS partition or not.

                            A 1 Reply Last reply 4 Mar 2019, 13:31 Reply Quote 0
                            • A Offline
                              AlainW94 @ubuntoutou
                              last edited by 4 Mar 2019, 13:31

                              @ubuntoutou If your phone works well under Android, it is not an issue with a broken EFS partition. Under Android if you get your WiFi, Bluetooth and IMEIs working well, then the problem can be more related to the firmware. This is only my thinking... Do you get access to the log files of previously connected Wifi router to your phone ? If yes, try to read the previous log to see if you can find your old wifi mac address in your dhcp offered lease history, then compare it with the one of your phone under Android, like that you will be able to see if Android is not able to read the EFS partition and take a default MAC. But again, if that was the case, you should see the error message in your logs. what kind of WiFi band is your actual phone compatible ?

                              Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                              Never forget that they are much more ideas inside two heads than in one...

                              U 1 Reply Last reply 4 Mar 2019, 17:08 Reply Quote 0
                              • U Offline
                                ubuntoutou @AlainW94
                                last edited by 4 Mar 2019, 17:08

                                @AlainW94 I haven't tried to re-install Android and I am a bit reluctant to do so unless I have some evidence that this is the way to solve the password issue. I haven't tried the WiFi on Android. I replaced the factory OS with UT as soon as I got the phone. I have no reason to think that there was any WiFi problem with the factory settings. I don't know what WiFi "log files" are nor where to find them. I also don't know what WiFi band my phone is using.

                                A 1 Reply Last reply 4 Mar 2019, 17:20 Reply Quote 0
                                • A Offline
                                  AlainW94 @ubuntoutou
                                  last edited by 4 Mar 2019, 17:20

                                  @ubuntoutou I understand that you won't came back to Android ... anyway if you did it it's really easy to do, simply boot on twrp, copy the update.zip on your internal storage then use the install button from twrp and select your zip. The phone will reboot on flymeos. to switch back to UT, flash the recovery of Ubuntu, do a normal boot, activate the dev and debug mode, run the ubports-installer ... you only need the correct flymeos version, the one that has the bootloader unlocked or unlockable. I didn't read all your posts from the begening, sorry, was your issue present since the begening ?or since an ota update?

                                  Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                                  Never forget that they are much more ideas inside two heads than in one...

                                  U 1 Reply Last reply 4 Mar 2019, 18:38 Reply Quote 0
                                  • U Offline
                                    ubuntoutou @AlainW94
                                    last edited by 4 Mar 2019, 18:38

                                    @AlainW94 from the beginning.

                                    1 Reply Last reply Reply Quote 0
                                    • D Online
                                      doniks @UniSuperBox
                                      last edited by doniks 3 Apr 2019, 21:33 4 Mar 2019, 21:22

                                      @UniSuperBox said in WiFi password loss after each and every reboot on MEIZU Pro 5:

                                      The EFS partition is custom to the phone. Since you have Wi-Fi working correctly when you have Android on the device, it is unlikely that the EFS is the problem. It's more likely that your unsupported device has some hardware difference from our supported devices.

                                      any idea how to investigate/fix this?

                                      I do see that I get different mac addresses after reboots

                                      adb shell ip link show wlan0
                                      

                                      00:11:22:35:52:e4
                                      00:11:22:7f:bb:5c
                                      00:11:22:a8:1f:39

                                      Edit:
                                      I see "my" mac here

                                      Intf0MacAddress=001122A81F39
                                      

                                      instead of, I guess this line:
                                      https://github.com/ubports/android_device_asus_flo/blob/ubp-5.1/WCNSS_qcom_cfg.ini#L36

                                      and that file has a change date of today

                                      ls -l /android/data/misc/wifi/
                                      total 48
                                      drwxrwx--- 2   1010 1010  4096 Mar  3 22:07 sockets
                                      -rw------- 1 system 1010  6224 Mar  4 22:16 WCNSS_qcom_cfg.ini
                                      -rw------- 1 system 1010 29776 Mar  4 22:16 WCNSS_qcom_wlan_nv.bin
                                      drwxrwx--- 2   1010 1010  4096 Mar  3 22:07 wpa_supplicant
                                      

                                      and I have a file

                                      cat /android/system/etc/init.flo.wifi.sh 
                                      #!/system/bin/sh
                                      
                                      # Workaround for conn_init not copying the updated firmware
                                      rm /data/misc/wifi/WCNSS_qcom_cfg.ini
                                      rm /data/misc/wifi/WCNSS_qcom_wlan_nv.bin
                                      
                                      logwrapper /system/bin/conn_init
                                      
                                      echo 1 > /dev/wcnss_wlan
                                      

                                      that rm's this file

                                      D 1 Reply Last reply 4 Mar 2019, 23:57 Reply Quote 0
                                      • A Offline
                                        AlainW94
                                        last edited by AlainW94 3 Apr 2019, 22:08 4 Mar 2019, 22:06

                                        @ubuntoutou can you try this :

                                        cat /var/log/syslog |grep wl0
                                        

                                        For me it give :

                                        Mar 4 23:01:48 ubuntu-phablet kernel: [ 4877.390473] [4: NetworkManager: 3207] [c4] ** Firmware version = wl0: Nov 24 2015 11:23:00 version 7.45.71.r5 (r587357) FWID 01-ec3fd0c **

                                        Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                                        Never forget that they are much more ideas inside two heads than in one...

                                        U 1 Reply Last reply 5 Mar 2019, 17:32 Reply Quote 0
                                        • D Online
                                          doniks @doniks
                                          last edited by 4 Mar 2019, 23:57

                                          I might have a fix for my nexus 7. Not sure whether this applies to other devices. And I'm, not sure whether this is save in all cases to do. Proceed with caution

                                          strace /system/bin/conn_init shows that it looks for this file open("/persist/wifi/.macaddr", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory), but indeed, I don't have this

                                          root@ubuntu-phablet:~# find /persist/
                                          /persist/
                                          /persist/sensors
                                          /persist/sensors/sns.reg
                                          /persist/properties
                                          

                                          After I created them,

                                          mkdir /persist/wifi 
                                          echo 001122deadbf > /persist/wifi/.macaddr
                                          

                                          that mac address remains and wifi is reconnected ok after reboot.

                                          S 1 Reply Last reply 2 Apr 2021, 10:36 Reply Quote 3
                                          • A Offline
                                            AlainW94
                                            last edited by 5 Mar 2019, 00:06

                                            For a Meizu Pro5 the WiFi MAC address should start by 68:3e:34, this is the vendor id of MEIZU Technology Co., Ltd. the 00:11:22 vendor id is from CIMSYS Inc.

                                            Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                                            Never forget that they are much more ideas inside two heads than in one...

                                            D 1 Reply Last reply 5 Mar 2019, 00:11 Reply Quote 0
                                            45 out of 97
                                            • First post
                                              45/97
                                              Last post