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.
      • R Offline
        rocket2nfinity @user
        last edited by rocket2nfinity

        @user Did you flash Android 7.1.2 the version required? It won't work if you flash any other version of Android.

        If so, you may need to try using 4-core TWRP, and 4-core halium

        userU 1 Reply Last reply Reply Quote 0
        • userU Offline
          user @rocket2nfinity
          last edited by

          @rocket2nfinity Thanks, I may not have successfully managed to flash the android image for some reason, so that could be the problem. I'll also make sure that my twrp is 4 core and I'll use the 4 core halium to see if that helps.

          just screw it.

          R flohackF 2 Replies Last reply Reply Quote 0
          • R Offline
            rocket2nfinity @user
            last edited by

            @user Try 4-core, and if that works, switching to 8-core halium is flashing one file.

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

              @user Yes that seems to be wrong vendor partition, please install stock Android 7.1.2 before...

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

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

                @user You only need to use 4-core if you experiencing boot loops. If you have a damaged CPU cluster than the phone wont even boot TWRP with 8 cores. If that works, just use 8 cores always.

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

                1 Reply Last reply Reply Quote 1
                • userU Offline
                  user
                  last edited by

                  @Flohack Thanks for that info, I'll keep to 8 core for now in that case and reflash 7.1.2 and try again

                  just screw it.

                  userU 1 Reply Last reply Reply Quote 0
                  • userU Offline
                    user @user
                    last edited by

                    @user For posterity:

                    I was using lineageOS prior to this, there was an issue flashing back to android. namely, mke2fs failed because unimplemented ext2 function while setting up superblock

                    quick google search said I need to go into the flash-all.sh and edit it.

                    I had to change the last line from fastboot update -w <image.zip> to fastboot update <image.zip>

                    the -w flag is to wipe userdata and cache.

                    So far, the image seems to be flashing without issues.

                    just screw it.

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

                      @Flohack Ok, I'm having a problem. I thought I'd go back and reflash android and start from scratch, thinking that maybe that might be the hangup with camera. So, I did, successfully, several times. Android runs fine. Then I enable usb debugging and wipe dalvick, data, and cache. But every time I use the halium-install script after that, I get this:

                      passwd: password updated successfully
                      I: Shrinking images
                      e2fsck 1.44.1 (24-Mar-2018)
                      resize2fs 1.44.1 (24-Mar-2018)
                      Resizing the filesystem on .halium-install-imgs.uRLbP/system.img to 48434 (4k) blocks.
                      Begin pass 2 (max = 967)
                      Relocating blocks XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                      Begin pass 3 (max = 2)
                      Scanning inode table resize2fs: No space left on device while trying to resize .halium-install-imgs.uRLbP/system.img
                      Please run 'e2fsck -fy .halium-install-imgs.uRLbP/system.img' to fix the filesystem
                      after the aborted resize operation.
                      I: Cleaning up

                      Any help on what I can do to fix this and re-install UT?

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

                        @rocket2nfinity Is your PC out of disk space maybe? πŸ˜ƒ

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

                        R 2 Replies Last reply Reply Quote 0
                        • R Offline
                          rocket2nfinity @flohack
                          last edited by

                          @Flohack No, this is regarding the file system on the phone. I had libertine on it. could that have changed the file system?

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

                            @Flohack when I do e2fsck on it, it tells me its not an ext2 file system.

                            I don't get it. I completely wiped the device and re-installed android and it did the same again.

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

                              @rocket2nfinity It has nothing to do with the device, the preparation fails on your local PC. halium-install is a bit stupid sometimes. Try to run it as root maybe. Also reboot can help to clean up the mounted images that are still in your temp area ^^

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

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

                                @Flohack No, it's definitely something not right with the phone. Just reflashed android and it now says:

                                extracting vendor.img (190 MB)...
                                archive does not contain 'vendor.sig'
                                wiping userdata...
                                Couldn't parse erase-block-size '0x'.
                                Couldn't parse logical-block-size '0x'.
                                mke2fs 1.44.1 (24-Mar-2018)
                                /tmp/TemporaryFile-l1pvvW: Unimplemented ext2 library function while setting up superblock
                                /usr/lib/android-sdk/platform-tools/mke2fs failed with status 1
                                mke2fs failed: 1
                                error: Cannot generate image for userdata

                                Somehow my file system got messed up...

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

                                  @rocket2nfinity Sorry no idea right now. Though I saw this error from above somewhere I forgot what was the fix ^^

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

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

                                    Ok guys camera is now clear why it would not work: There are still beta packages that are not in the normal rootfs. So that one is only for people who want to fiddle a bit with the console. But the result is rewarding. Shall I link the description here: https://pad.ubports.com/p/InstallGStreamerCamera

                                    I managed to get back to full working camera with that ^^

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

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

                                      @Flohack Oh and I forgot it needs a system.img update as well... I will upload a new system.img in a minute....

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

                                      1 Reply Last reply Reply Quote 0
                                      • userU Offline
                                        user @rocket2nfinity
                                        last edited by

                                        @rocket2nfinity

                                        try going into the flash-all.sh script and take out the -w flag on the last command then run it again?

                                        just screw it.

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

                                          Can someone take a look at their phone's file structure and tell me what their drive is formatted to - especially system?

                                          The problem seems to be with Android developer tools not functioning properly. Before I try it again with the updated tools, just want to make sure my drive is roughly the right sizes and formats (ext2 for instance)

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

                                            @rocket2nfinity It is ext4 what I could see. Doesn't the flash_all.sh script create the partition table? If I don't remember it wrong.

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

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

                                              @Rondarius yeah the stock ROM installer should repartition

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

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