UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    [Porting] Call for Testers

    Google Pixel and XL
    35
    119
    11158
    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.
    • khimaros
      khimaros @Flohack last edited by khimaros

      @flohack -- thank you. i was able to build successfully. however, i'm noticing that the documented hybris-recovery target does not exist, which is making it a bit tricky to troubleshoot init issues. was this renamed or is there another way to force an existing boot image into recovery mode?

      Flohack 1 Reply Last reply Reply Quote 0
      • Flohack
        Flohack @khimaros last edited by

        @khimaros this target is new to me, we only have:

        halium-boot for non a/b devices, and bootimage for a/b
        recovery
        system
        vendor

        mostly what you need πŸ˜‰

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

        khimaros 1 Reply Last reply Reply Quote 0
        • khimaros
          khimaros @Flohack last edited by

          @flohack -- i'm referring to the documentation at https://docs.halium.org/en/latest/porting/debug-build/early-init.html#forcing-debug-mode:

          If the device simply reboots when trying to boot and does not bring up telnet, you may build and use the hybris-recovery.img file to attempt to force a shell to come up.

          this is the circumstance I'm bumping up against. maybe there is a new way to troubleshoot this?

          Flohack 1 Reply Last reply Reply Quote 0
          • Flohack
            Flohack @khimaros last edited by

            @khimaros Well here is the problem: While we claim to be a Halium distro, we are only sharing some of the codebase, and you need to know when to break off from the Halium docs and return to UBports πŸ˜‰

            If you have reboot issues best bet is to wipe data, then flash halium-boot and see if it still crashing. If yes, your kernel is screwed, if not it should give you telnet. Also adding break=bottom to kernel cmdline will stop before the real init to inspect the device and mounts etc.

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

            D 1 Reply Last reply Reply Quote 0
            • W
              woodenLion last edited by

              Help please, as I am getting "chroot: failed to run command β€˜chpasswd’: No such file or directory" and don't know what to do.

              AppLee 1 Reply Last reply Reply Quote 0
              • AppLee
                AppLee @woodenLion last edited by

                @woodenlion
                I suggest you start a new thread for your problem as right now I have no idea what you're trying to achieve there.
                And please give some context about what you're trying to do what you did before the error, specify the versions, etc.

                1 Reply Last reply Reply Quote 1
                • D
                  dovla-ri @Flohack last edited by

                  @flohack Hi. I found my old Google Pixel phone (sailfish) and I would like to try your port. Where can I find some instructions how to remove android and install ubports on it?

                  Thnx.

                  Flohack 1 Reply Last reply Reply Quote 1
                  • Flohack
                    Flohack @dovla-ri last edited by

                    @dovla-ri I will try to refresh them a bit πŸ™‚ and link here again

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

                    D N 2 Replies Last reply Reply Quote 1
                    • D
                      dovla-ri @Flohack last edited by

                      @flohack thnx, because it is very difficult to track which binaries and what is the whole procedure of making install. If this can be somehow sum up in one document or even placed on your "original topic - first post", people can focus on that instead of bugging you with it every time... πŸ™‚

                      1 Reply Last reply Reply Quote 1
                      • N
                        nixcamic @Flohack last edited by

                        @flohack I'd also be interested, I tried following the generic instructions from the wiki using the files provided in your link and it didn't work so I'm guessing there was something more to your original instructions.

                        1 Reply Last reply Reply Quote 0
                        • V
                          vs4vijay last edited by

                          Hi, I have spare Google Pixel. I am willing to test the build.

                          1 Reply Last reply Reply Quote 0
                          • Flohack
                            Flohack last edited by

                            Alright guys I am working on the new instructions, this time in a pastebin, since the pad was destroyed over time: https://pastebin.com/EFLhqfLv

                            And this is my upload folders for marlin and sailfish: http://twoot.bin.org.in/nextcloud/index.php/s/iAZDDkRYYAiN6Kk

                            I wil refresh the images there tonight hopefully πŸ˜‰

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

                            khimaros 1 Reply Last reply Reply Quote 0
                            • khimaros
                              khimaros @Flohack last edited by

                              @flohack looking at the nextcloud instance, the newest images are from 4 months back. are those the latest ones?

                              Flohack 1 Reply Last reply Reply Quote 0
                              • Flohack
                                Flohack @khimaros last edited by

                                @khimaros No, will provide newer ones ^^

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

                                khimaros 2 Replies Last reply Reply Quote 0
                                • khimaros
                                  khimaros @Flohack last edited by

                                  @flohack thank you! i was also able to produce a working droidian install on sailfish using your work as a base. really grateful for your efforts here.

                                  1 Reply Last reply Reply Quote 0
                                  • khimaros
                                    khimaros @Flohack last edited by

                                    @flohack actually, would you be willing to teach us how to fish? is there a way we can build or extract these vendor.img and system.img ourselves?

                                    is the halium-boot.img the same as from https://ci.ubports.com/job/UBportsCommunityPortsJenkinsCI/job/ubports%252Fcommunity-ports%252Fjenkins-ci%252Fmarlin-sailfish/job/main/ ? is the vendor.img in halium_sailfish.tar.xz the correct one?

                                    Flohack 1 Reply Last reply Reply Quote 0
                                    • Flohack
                                      Flohack @khimaros last edited by

                                      @khimaros yes our CI builds already all the necessary parts in this job. vendor.img and system.img are Androis sparse files. So you need to convert them first, then you can mount them as an ext4 image.

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

                                      khimaros 2 Replies Last reply Reply Quote 0
                                      • khimaros
                                        khimaros @Flohack last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • khimaros
                                          khimaros @Flohack last edited by

                                          @flohack thank you. the system.img doesn't seem to be present, but there is a system/ directory. is it as simple as creating an ext4 filesystem from that tree of files?

                                          also the boot.img provided there doesn't seem to honor break= or bootmode= kernel command line args. does it need to be built with special flags to enable that?

                                          1 Reply Last reply Reply Quote 0
                                          • khimaros
                                            khimaros last edited by

                                            i can produce a working ubtouch install by using the images you have linked from your nextcloud.

                                            i was able to build halium-9.0 from source by emulating some steps in https://gitlab.com/ubports/community-ports/jenkins-ci/halium-build-tools/-/tree/main/ -- if i push the halium-boot.img and vendor.img produced by that build, everything continues working.

                                            if i push the latest android-rootfs.img from Jenkins-CI to /data/, the system also continues working.

                                            if i push the latest vendor.img from Jenkins-CI, with or without the latest android-rootfs.img, the WiFi and Bluetooth break but the system otherwise continues working, including mobile data.

                                            if i flash the latest Jenkins-CI boot.img to that installation, the device will then only boot into the recovery mode. i believe there is a compatibility issue with the "combined" boot image produced here and it might be worth changing the 4th parameter in the Jenkinsfile here to false: https://gitlab.com/ubports/community-ports/jenkins-ci/marlin-sailfish/-/blob/main/Jenkinsfile#L2

                                            i'm still not totally clear on how you are producing the system.imgthat you have in your nextcloud.

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