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

    Call for testing: Google/Huawei Nexus 6P (angler) owners

    Scheduled Pinned Locked Moved Porting
    627 Posts 43 Posters 447.0k Views 13 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.
      • N Offline
        Nerfiaux
        last edited by Nerfiaux

        Hi, I did try to install ubuntu touch on my nexus 6P, with the installer.
        I have all the prerequisites : the latest 7.1.2 flashed and USB debug activated
        Rebooted with adb reboot bootloader.
        then i flash the TWRP recovery.
        Wiped and format all.
        If we could have more precision on which partition to wipe or not and which to format, it would be great
        Then I launched the installer.
        Everything went well so far.

        On the reboot of the phone I could see the robot blinking but I could not see the progress bar.
        Finaly it reboots and I get stuck on the goolge Logo with the padlock unlocked 😞 :crying_face: !!!

        What can I do ?

        I did try the procedure several time by reflashing the 7.1.2 stock rom.
        I can tell that if you wipe the cache with twrp you have to repair it otherwise you get the same thing than "potet"

        @potet said in Call for testing: Google/Huawei Nexus 6P (angler) owners:

        I'm writing this from Ubuntu Touch on the Nexus 6p, so safe to say I got it working. Impressed so far. Thank you!

        I did encounter some problems, and made it work on the third try. Unfortunately, these these issues were born out of my stupidity, to the point where I'm kind of surprised it's working right now. This probably makes bug testing the installer less fruitful - sorry about that.

        In case you'd still be interested in my experience with thr installer, here it goes:


        I decided to be lazy and not install the 8 core image first, to see what would happen. What happened was that the (desktop) installer finished without error, but with a warning before "all done":

        warn: undefined {"service":"user-service"}
        

        This resulted in the system booting straight into the ubports recovery, with no blinking mascot or anything.

        I then decided to try to flash the 8 core version. This is where I was real stupid/tired, and I flashed it as recovery instead of boot.

        Weird thing is, next attempt to install did work out better: No warning, and the blinking mascot showed up after the reboot. However, instead of booting thr system got stuck at an infinite splash screen (the Google one).

        As true stupidity is doing the same thing several times expecting different results, this is what I did. I just ran the same exact commands as last time, flashing the boot image into recovery. Only difference is that I chose the 'edge' release channel, but I doubt that made any difference.

        In conclusion, the weird part is really that it did work, rather than the bugs along the way. The only error I managed to produce was if I tried wiping ubports data from the ubports recovery screen (after both failed installs):

        Wiping ubuntu data...
        E:unknown volume for path [/cache]
        Formatting /cache...
        E:unknown volume for path [/cache]
        E:unknown volume "/cache"
        Data wipe complete
        

        The only constructive thing I can say regarding the installer is really that expectations for what is supposed to happen could have been clearer: That you're supposed (I assume) to see the boot screen flashing on and going into black a few times while it installs the system. I didn't know if it was supposed to stay in recovery or linger on the splash screen, so I just left it for a while in both positions for good measure. πŸ˜›

        But now it works beautifully, despite my worst attempts!

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

          Just reflashed ubports using the installer. No problems on my end!

          1 Reply Last reply Reply Quote 1
          • T Offline
            trashcat
            last edited by

            I've found that importing contacts from Google doesnt really work. It works at first but shortly after import they all disappear.

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

              @trashcat Yeah Google problems is a big deal, but this is not a problem of a device port. Its affecting all devices.

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

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

                @Nerfiaux since idk what things being encrypted by GooleΒ΄s stock ROM format all partitions that can be formatted with TWRP. Just to be sure πŸ˜‰

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

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

                  Guys from the early days: Anyone who used halium-install willing to try the installer? If its uccessful, you would however need to clean up 2 files from the /data directory on the data partition. And to do this, you need the unlocked recovery. The installer will lock the recovery, so its probably best to do it before the installer does its magic.

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

                  lgtrombettaL T 2 Replies Last reply Reply Quote 0
                  • lgtrombettaL Offline
                    lgtrombetta @flohack
                    last edited by

                    @Flohack I was thinking on trying it. Which two files am I supposed to remove from /data?

                    By the way, is the userdata partition preserved?

                    Also, why does the recovery get locked?

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

                      @lgtrombetta Basically its rootfs.img and system.img both in /data directory. We have to use the classic install method for the OTA upgrades to work, and that moves that content into /system. The nice thing about it is that you have approx 2GB more space on userdata partition now.

                      The userdata partition is preserved, note that Ubuntu Touch stores all user-modifyable content in 2 folders actually, user-data and system-data both in /data again.

                      The recovery is locked as it seems someone wanted to increase the protection level of the phone, but tbh it makes not much sense if the bootloader is still unlocked πŸ™‚ - So, grab the unlocked recovery from here, and replace it to get access: https://ci.ubports.com/job/Device Compatibility Images/job/halium-angler/14/artifact/halium-unlocked-recovery_angler.img

                      Depending on the channel you choose in the installer you can have weekly or daily updates of the rootfs now! devel is built at least once per day, sometimes even more often, RC is built every Wed I think. So you can now participate in the latest gossip if you like πŸ™‚

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

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        Nerfiaux @flohack
                        last edited by Nerfiaux

                        @Flohack Thank you, I think the main issue was that i did not choose the edge release channel.
                        When I did select it all went well !:thumbs_up:

                        First time I use ubuntu touch.
                        I knew Meamo, Meego, Android, iOS, Sailfisos,PostMarketOS, quite impressed with ubuntu touch.
                        Thank you for your work !

                        I have an issue on WiFi.
                        On android I had to insert a european SIM card so that the country region for Wifi would change and allow me to select SSID on channel over 11.
                        I have inserted sim card but I don't see my access point on channel 13...
                        What can be done ?
                        Any info on the fingerprint feature ?

                        flohackF 2 Replies Last reply Reply Quote 0
                        • flohackF Offline
                          flohack @Nerfiaux
                          last edited by

                          @Nerfiaux Ohhh I should mentioned that! Yes sure, the channel selection, will fix that now...

                          But: arm64/hybris channels are the ones which should work actually. Edge is a very experimental channel, and it might break your phone frequently πŸ™‚

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

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

                            @Nerfiaux Ok so for WiFi: Thats a problem we dont know how to solve. Android has some magic there. We might be able to somewhat configure that off the locale you have selected, but yes, that would be a really static thing. So for the moment no solution for channel 13, sorry.

                            Fingerprint: UT supports unlocking with fingerprint, but nobody rewrote the middleware driver for that so far. I will have a look when I have time. It works actually already for Android-9-based devices πŸ™‚ And for the notorious Meizu Pro 5, but thats closed-source unfortunately.

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

                            R 1 Reply Last reply Reply Quote 0
                            • P Offline
                              potet
                              last edited by

                              Speaking of WiFi, one of the bugs Im experiencing (development channel) is that the wifi connection occasionally drops when the device is idle for some hours. It will cease to be connected, and my solution has been to reboot. Not sure if this is a known bug, leg me know if you would like some diagnosis or another.

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

                                @Flohack Installed beta installer, erased rootfs.img and system.img. Then ran installer with -f angler.json and it worked like a charm. Did not wipe data or cache since mine was already on your ubuntu build. Much impressed.

                                Any word on Anbox for N6P?

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  rocket2nfinity
                                  last edited by rocket2nfinity

                                  No channels to select it seems, other than the one you installed with...

                                  On edge, bluetooth works. Rotation and all sensors do not - no gps, no rotation, no accelerometer. Will re-install all apps, reboot, and see if it clears.

                                  Edit: Re-installed switching to DEV. Interesting. All sensors and rotation now work, but Bluetooth no longer does. Hotspot does not work. Still can't fetch other channels.

                                  Camera works except video. Flashlight works, but camera flash does not when taking pictures.

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

                                    @potet Yeah I have the same, I am currently almost never using WiFi because of this. Its basically a crash in the (for whatever reason Huawei chose to use a) PCI Express link between CPU/SoC and WiFi chipset. The driver wants to suspend or wakeup the WiFi card but smth goes terribly wrong. Sliding the WiFi enable switch from the indicator should fix it, no need to reboot.

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

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

                                      @rocket2nfinity Bluetooth seems hit-or-miss at startup, its a reace condition, and not depending on the channel I think. So after enough reboots it should also work in devel πŸ˜‰

                                      And yes, sensors are broken currently in edge, that affects all devices.

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

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        Rondarius
                                        last edited by

                                        @Flohack @rocket2nfinity Is it possible to keep settings, apps, contacts etc if I use the installer or should I backup the phone? It's my daily driver.

                                        4 Google Pixel 3A
                                        1 Google Nexus 6P
                                        2 Google Nexus 5
                                        2 Pinephones
                                        2 Sony Xperia X

                                        KenedaK flohackF R 3 Replies Last reply Reply Quote 0
                                        • KenedaK Offline
                                          Keneda @Rondarius
                                          last edited by Keneda

                                          @Rondarius
                                          With installer you should be able to keep your device settings, data and app, yes (by not choosing the "wipe" options).
                                          But you should backup still, as you never know what can happen with skynet kind ^^

                                          2015-2023 : Meizu MX4 ☠️⚰️✝️
                                          2023-2024 : Nexus 5 ☠️⚰️✝️
                                          2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                                          πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

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

                                            @Rondarius yes NEVER choose WIPE option in the installer...

                                            you could, for backup, adb pull the 2 folders /data/user-data and /data/system-data to a backup folder on your PC to be sure. That should cover all Apps, data and settings.

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

                                            1 Reply Last reply Reply Quote 0
                                            • R Offline
                                              rocket2nfinity @Rondarius
                                              last edited by

                                              @Rondarius Yes, my settings and data remained. That is why I did not wipe data, just manually deleted the two files using TWRP, before using the installer.

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