• 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.
    • A Offline
      arubislander
      last edited by arubislander 24 Feb 2019, 15:12

      Just to emphasize that the issue is not only the fact that the Pro 5 came with Android, I have a 64GB storage, 4GB RAM international version FlymeOS Pro 5 that I got off of Amazon Italy. It was the regular pain to Flash to UTouch.
      One thing that might be different to how you guys installed UT on your devices is that to get my Pro 5 on 16.04 initially I used the link @Stefano provided in this post. But I don't know if that has any relevance at all ...

      EDIT: I forgot to mention that I do not experience this issue. WIFI passwords are retained on my device.

      πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
      Happily running Ubuntu Touch
      Google Pixel 3a (20.04 DEV)
      JingPad (24.04 preview)
      Meizu Pro 5 (16.04 DEV)

      M 1 Reply Last reply 24 Feb 2019, 15:35 Reply Quote 0
      • M Offline
        matteo @Stefano
        last edited by 24 Feb 2019, 15:26

        @Stefano I don't think Marius is the only one to have the skills to help us in this. Also Dalton does and even all the other UBports developers. Whoever can point us to the right direction is very welcome. Since this seems not only affecting the Pro5 but also other very well known devices, as the Nexus 5, maybe the interest at this topic will raise.

        S 1 Reply Last reply 24 Feb 2019, 20:03 Reply Quote 1
        • M Offline
          matteo @arubislander
          last edited by 24 Feb 2019, 15:35

          @arubislander I also exploited a TWRP file Stefano pointed to me to install a previous version of UT to boot with, in order to be able to update to the latest image of UT. I don't think the problem could be caused by this let's say "short-cut" to by-pass the UBports installer, because after that I performed several times a brand new UT OS installation, in this case employing the official UBports installer and the wi-fi issue was always there.
          When you say Android which OS are you talking about? I'm asking since I believe the Pro5 only comes with stock FlymeOS installed, which is an Android OS.

          A 1 Reply Last reply 24 Feb 2019, 15:44 Reply Quote 0
          • A Offline
            arubislander @matteo
            last edited by 24 Feb 2019, 15:44

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

            When you say Android which OS are you talking about?

            I edited my post to clarify the reason for it. When I say Android I mean FlymeOS

            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
            Happily running Ubuntu Touch
            Google Pixel 3a (20.04 DEV)
            JingPad (24.04 preview)
            Meizu Pro 5 (16.04 DEV)

            M 1 Reply Last reply 24 Feb 2019, 16:52 Reply Quote 0
            • M Offline
              matteo @arubislander
              last edited by 24 Feb 2019, 16:52

              @arubislander now your post is more clear, thank you. Anyhow, you have the international version. I believe the problem resides in the combination chinese version + 64 GB sd card, since, if I'm not wrong, @Stefano has got the chinese version, but with the 32 GB sd card.

              A S 2 Replies Last reply 24 Feb 2019, 16:56 Reply Quote 0
              • A Offline
                arubislander @matteo
                last edited by 24 Feb 2019, 16:56

                @matteo Could it then be that something important gets overwritten when converting the Chinese version to an International version before flashing to UTouch?

                πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                Happily running Ubuntu Touch
                Google Pixel 3a (20.04 DEV)
                JingPad (24.04 preview)
                Meizu Pro 5 (16.04 DEV)

                M 1 Reply Last reply 24 Feb 2019, 17:25 Reply Quote 0
                • M Offline
                  matteo @arubislander
                  last edited by 24 Feb 2019, 17:25

                  @arubislander I don't think so, I just followed the procedure. Yes, I had to struggle a bit since the beginning when I needed to gain root access but then all went smooth. As said, anytime I flash back FlymeOS, the wi-fi connection starts again to work as expected.

                  1 Reply Last reply Reply Quote 0
                  • U Offline
                    ubuntoutou @Stefano
                    last edited by 24 Feb 2019, 18:52

                    @Stefano You said you had 3 different Pro 5. Did anyone of them had 4GB of RAM?

                    S 1 Reply Last reply 24 Feb 2019, 18:54 Reply Quote 0
                    • S Offline
                      Stefano @matteo
                      last edited by 24 Feb 2019, 18:53

                      @matteo Chinese, but LTE version, not TD-LTE ( the latter one might have different wifi chip revision...)

                      M 1 Reply Last reply 1 Mar 2019, 18:20 Reply Quote 0
                      • U Offline
                        ubuntoutou
                        last edited by 24 Feb 2019, 18:54

                        I followed this excellent guide when re-partitioning before installing Ubuntu Touch 16.04:
                        https://wiki.ubuntuusers.de/Howto/Installation_Ubuntu_Touch_auf_MEIZU_PRO_5/

                        All went well except that I had this error message:
                        Note: sector size is 4096 (not 512)
                        Found valid GPT with protective MBR; using GPT

                        and then this message as well:
                        GPT PMBR size mismatch (15267840 != 15267839) will be corrected by w(rite).

                        I have no idea if this is relevant or not.

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          Stefano @ubuntoutou
                          last edited by 24 Feb 2019, 18:54

                          @ubuntoutou yes, 1 of them, TD-LTE Chinese

                          1 Reply Last reply Reply Quote 0
                          • U Offline
                            ubuntoutou
                            last edited by 24 Feb 2019, 18:56

                            No one has said if it is possible to install the Ubuntu Desktop packages $ lshw (list hardware) or $ hwinfo (hardware info) on Ubuntu Touch. This could tell us if there is any variation at the hardware level between MEIZU phones with the WiFi password issue and those same phones without this issue.

                            M 1 Reply Last reply 1 Mar 2019, 18:48 Reply Quote 0
                            • S Offline
                              Stefano @matteo
                              last edited by 24 Feb 2019, 20:03

                              @matteo No disrespect to any Ubports developer, I was just mentioning @mariogrip cos he is known to have this device and have the experience with it. Yeah, anyone with knowledge can fix it.

                              1 Reply Last reply Reply Quote 1
                              • U Offline
                                ubuntoutou
                                last edited by 24 Feb 2019, 21:42

                                A temporary or permanent fix could be to add a command line to the .profile or .bashrc file. The WiFi password could be automatically re-written by this command line at boot time. But I don't know what file the WiFi password gets written to nor if it has to be encrypted like the login password in /etc/shadow. Does anyone know?

                                S 1 Reply Last reply 26 Feb 2019, 21:15 Reply Quote 0
                                • S Offline
                                  Stefano @ubuntoutou
                                  last edited by Stefano 26 Feb 2019, 21:15

                                  @ubuntoutou as @UniSuperBox mentioned, the EFS backup and restore could solve your issue with wifi. You would need to flash TWRP_3.0.2.img from here:http://xep.8800.org/pro5/nougat/ with fastboot, then make a full backup of your UT with TWRP, save it on PC, wipe the phone, install FLYME ( the version with unlocked bootloader), boot and set it up, reboot to fastboot, flash TWRP_3.0.2.img again, reboot to recovery, create backup of ONLY EFS partition, then make a backup of just that EFS partition, copy it to PC, wipe the phone again, reboot recovery, copy the backup of UT and EFS to phone, restore UT ( or you can flash it anew if you prefer), boot and set it up... Reboot to TWRP recovery, restore EFS backup, reboot to fastboot, flash UT recovery. Check it wifi password is remembered. (You might need to delete the wifi profile and create a new one, not sure about that, just try.)

                                  Only this TWRP_3.0.2 has the option to backup EFS partition, not the other 3.0 version.

                                  U 1 Reply Last reply 27 Feb 2019, 19:54 Reply Quote 0
                                  • U Offline
                                    ubuntoutou @Stefano
                                    last edited by ubuntoutou 27 Feb 2019, 19:54

                                    Thank you @Stefano. I suppose this implies that the Flyme OS image includes the EFS partition, doesn't it?

                                    S 1 Reply Last reply 27 Feb 2019, 21:09 Reply Quote 0
                                    • S Offline
                                      Stefano @ubuntoutou
                                      last edited by 27 Feb 2019, 21:09

                                      @ubuntoutou yes, it does. Also any ANDROID.

                                      1 Reply Last reply Reply Quote 0
                                      • U Offline
                                        UniSuperBox
                                        last edited by UniSuperBox 28 Feb 2019, 00:01

                                        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.

                                        U D 2 Replies Last reply 28 Feb 2019, 16:29 Reply Quote 2
                                        • U Offline
                                          ubuntoutou @UniSuperBox
                                          last edited by ubuntoutou 28 Feb 2019, 16:29

                                          @UniSuperBox Thank you. Actually, I don't know if the WiFi is working correctly with Android. I removed Android and installed Ubuntu Touch as soon as I got the device. I haven't tested the password issue with Android.

                                          Do you mean the EFS partition is custom to the serial number of the phone or custom to the Pro 5 in general (identical to all Pro 5s)?

                                          I could check what hardware I have in my Pro 5 if only I knew how to install lshw or hwinfo. I am a bit worried about installing anything with apt-get. I once installed a package with apt-get and the phone wouldn't boot afterwards. I had to reinstall the whole Ubuntu Touch OS. Should I use a Libertine container to install such a small package as lshw or hwinfo?

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            Marathon2422 @ubuntoutou
                                            last edited by 28 Feb 2019, 19:36

                                            @ubuntoutou
                                            I had this on my m10 fhd, i used the fix on xxx.skyneel.com,which is flashed with twrp, it will stay, thru ota updates ,but if you change rc,to stable etc, you need to reflash it.
                                            I know how annoying it is reentering the passwords !
                                            it says it is for mtk devices ,worked for me tho.

                                            1 Reply Last reply Reply Quote 0
                                            22 out of 97
                                            • First post
                                              22/97
                                              Last post