• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • T Offline
      trashcat @flohack
      last edited by 1 Oct 2020, 15:48

      @Flohack no worries, I have no problem reflashing android to test the installer. The 6P isn't my daily driver so it's no problem at all.

      1 Reply Last reply Reply Quote 0
      • F Offline
        flohack
        last edited by flohack 10 Jun 2020, 06:08 2 Oct 2020, 18:03

        Ok.. here it is:

        How To install Nexus 6P with the Installer

        NOTE: Installer is still in Beta, and the config is not officially approved. Therefore this method does only work for Linux!

        • Please download this beta version of the installer: https://github.com/ubports/ubports-installer/releases/tag/0.5.2-beta
        • Download this device config file: http://twoot.bin.org.in/nextcloud/index.php/s/fngSq5eFFoMBCYo
        • start the installer with -f angler.json (You must be in the same directory for that to work)

        Prerequisites:

        • Install stock Android ROM 7.1.2 (Only needed if you are on a different version now)
        • Download latest Android platform-tools to have access to fastboot and adb commands (the ones from Ubuntu etc. wont work, as they re too old)
        • Device will reboot, and take an awful time to encrypt all partitions
        • Start from here if 7.1.2 was installed already: Download TWRP recovery for Nexus 6P
        • Reboot to bootloader (Vol-Down and PWR until the green droid appears), connect USB cable and unlock the bootloader with fastboot flashing unlock
        • Flash TWRP recovery with fastboot flash recovery twrp...img
        • Select Recovery with the volume buttons and boot into TWRP
        • Confirm writable mode there
        • Format all partitions (Wipe is not enough) to destroy disk encryption
        • Now you can startup the installer and proceed with the bootstrapoption ticked
        • Make sure you select any of the arm64/hybris/stable channels.

        Note: There is unfortunately NO progressbar in the system-image updater (Yumi mascot with blinking eyes). Thats something that can be frustrating, and we hope to fix it one day.

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

        ? 1 Reply Last reply 2 Oct 2020, 22:08 Reply Quote 0
        • ? Offline
          A Former User @flohack
          last edited by A Former User 10 Feb 2020, 22:16 2 Oct 2020, 22:08

          @Flohack is it gonna work fro BLOD users ?

          because i tried it :face_with_tongue: and i end up with infinite bootloop, and the installer stuck at preparing system image .:frowning_face:

          1 Reply Last reply Reply Quote 1
          • P Offline
            potet
            last edited by 3 Oct 2020, 10:16

            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!

            1 Reply Last reply Reply Quote 0
            • F Offline
              flohack
              last edited by 3 Oct 2020, 15:05

              Hmm strange problems seem to happen here. The installer is beta, so it might contain a few bugs, but none of what you described should happen.

              The order from being in TWRP should be:
              If bootstrap was selected:

              • Booting into fastboot mode either automatically or manually
              • Flashing recovery into boot and recovery partitions
              • reboot, goes into boot which is temporarily holding a recovery image
                No bootstrap was selected:
              • Reboot to already installed recovery

              Common:

              • Download latest roofs and system image

              • Push with adb to /cache folder/partition

              • Push command file for installer

              • Reboot to recovery once more

              • Recovery detects command file, and will move files into place - This will take a longer time

              • Reboot to final boot image

              • It can also stay on the boot logo forever then, since it will run an fsck on the newly created image.

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

              1 Reply Last reply Reply Quote 0
              • N Offline
                Nerfiaux
                last edited by Nerfiaux 10 Apr 2020, 00:23 4 Oct 2020, 00:10

                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!

                F 1 Reply Last reply 5 Oct 2020, 10:43 Reply Quote 0
                • T Offline
                  trashcat
                  last edited by 4 Oct 2020, 22:43

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

                  1 Reply Last reply Reply Quote 1
                  • T Offline
                    trashcat
                    last edited by 5 Oct 2020, 02:50

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

                    F 1 Reply Last reply 5 Oct 2020, 10:42 Reply Quote 0
                    • F Offline
                      flohack @trashcat
                      last edited by 5 Oct 2020, 10:42

                      @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
                      • F Offline
                        flohack @Nerfiaux
                        last edited by 5 Oct 2020, 10:43

                        @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 5 Oct 2020, 23:09 Reply Quote 0
                        • F Offline
                          flohack
                          last edited by 5 Oct 2020, 20:24

                          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: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                          L T 2 Replies Last reply 5 Oct 2020, 20:39 Reply Quote 0
                          • L Offline
                            lgtrombetta @flohack
                            last edited by 5 Oct 2020, 20:39

                            @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?

                            F 1 Reply Last reply 5 Oct 2020, 22:02 Reply Quote 0
                            • F Offline
                              flohack @lgtrombetta
                              last edited by 5 Oct 2020, 22:02

                              @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 10 May 2020, 23:10 5 Oct 2020, 23:09

                                @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 ?

                                F 2 Replies Last reply 6 Oct 2020, 05:58 Reply Quote 0
                                • F Offline
                                  flohack @Nerfiaux
                                  last edited by 6 Oct 2020, 05:58

                                  @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
                                  • F Offline
                                    flohack @Nerfiaux
                                    last edited by 6 Oct 2020, 06:10

                                    @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 6 Oct 2020, 09:58 Reply Quote 0
                                    • P Offline
                                      potet
                                      last edited by 6 Oct 2020, 06:28

                                      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.

                                      F 1 Reply Last reply 6 Oct 2020, 11:50 Reply Quote 0
                                      • R Offline
                                        rocket2nfinity @flohack
                                        last edited by 6 Oct 2020, 09:58

                                        @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 10 Jun 2020, 10:41 6 Oct 2020, 09:59

                                          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.

                                          F 1 Reply Last reply 6 Oct 2020, 11:51 Reply Quote 0
                                          • F Offline
                                            flohack @potet
                                            last edited by 6 Oct 2020, 11:50

                                            @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
                                            477 out of 627
                                            • First post
                                              477/627
                                              Last post