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

    Looking to revive Samsung Galaxy S5 Port

    Scheduled Pinned Locked Moved Porting
    19 Posts 3 Posters 529 Views 1 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
        tenbucket
        last edited by

        Good morning, I have noticed there is an abandoned port of UT for the Galaxy S5 and also a WIP port of postmarketOS to the Galaxy S5. I would like to begin reviving the Galaxy S5 port of UT myself. It was such a powerful phone especially for its time and deserves the full Linux treatment.

        Samsung Galaxy S5 Verizon variant (/e/OS)
        Motorola Moto G Ultra 2024 (stock)

        Always need coffee...

        1 Reply Last reply Reply Quote 0
        • KenedaK Keneda moved this topic from New Contributors
        • KenedaK Offline
          Keneda
          last edited by Keneda

          https://forums.ubports.com/topic/2068/halium-first-steps

          Before spending time and ressources in the long run of porting, beware that a device must be able to support Ubuntu Touch 24.04 to be viable in long term.

          That means minimum Linux Kernel version required.

          16.04 is deprecated, and 20.04 is a step to 24.04 and will be left behind when now 24.04 is stable.

          2015-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5
          🇲🇫🇬🇧

          1 Reply Last reply Reply Quote 2
          • T Offline
            tenbucket
            last edited by

            There is a build of LOS/Halium for Android 13 so kernel and Halium should not be a problem.

            Samsung Galaxy S5 Verizon variant (/e/OS)
            Motorola Moto G Ultra 2024 (stock)

            Always need coffee...

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

              Poking around a bit more, I think the standalone kernel method should work on the S5 since it's on mainline. Gonna try that route.

              Samsung Galaxy S5 Verizon variant (/e/OS)
              Motorola Moto G Ultra 2024 (stock)

              Always need coffee...

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

                Starting a test compile of mainline LOS 18.1 atm

                Samsung Galaxy S5 Verizon variant (/e/OS)
                Motorola Moto G Ultra 2024 (stock)

                Always need coffee...

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

                  @Keneda Are you aware of an existing device tree in UT for the S5? I can only find kernel and halium-install sources for S5, not rootfs sources.

                  Samsung Galaxy S5 Verizon variant (/e/OS)
                  Motorola Moto G Ultra 2024 (stock)

                  Always need coffee...

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

                    https://github.com/LineageOS/android_kernel_samsung_msm8974/tree/lineage-18.1

                    Mainline kernel for S5, just for reference

                    Samsung Galaxy S5 Verizon variant (/e/OS)
                    Motorola Moto G Ultra 2024 (stock)

                    Always need coffee...

                    F 1 Reply Last reply Reply Quote 0
                    • T Offline
                      tenbucket
                      last edited by

                      Found a valid deviceinfo file we can use with minimal edits from the postmarketOS downstream kernel

                      https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/device/testing/device-samsung-klte

                      Samsung Galaxy S5 Verizon variant (/e/OS)
                      Motorola Moto G Ultra 2024 (stock)

                      Always need coffee...

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

                        @Keneda should we prefer mainline kernel or pmOS kernel?

                        Samsung Galaxy S5 Verizon variant (/e/OS)
                        Motorola Moto G Ultra 2024 (stock)

                        Always need coffee...

                        KenedaK 1 Reply Last reply Reply Quote 0
                        • T Offline
                          tenbucket
                          last edited by

                          99efe7b2-ade9-41c8-8023-314152130c93-image.png

                          Receiving this error while trying to build mainline for S5 using breakfast/brunch, system appears to be complaining that it can't find the device tree although I just posted the device tree both in mainline and pmOS above. This is honestly not behavior I've ever witnessed from breakfast/brunch before...

                          Samsung Galaxy S5 Verizon variant (/e/OS)
                          Motorola Moto G Ultra 2024 (stock)

                          Always need coffee...

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

                            Kernel compiles and boots! Added necessary Halium config files, next step is compiling rootfs. I still can't find rootfs source for the S5.

                            https://gitlab.com/aog-group/klte-halium-kernel/-/tree/mainline

                            Samsung Galaxy S5 Verizon variant (/e/OS)
                            Motorola Moto G Ultra 2024 (stock)

                            Always need coffee...

                            1 Reply Last reply Reply Quote 0
                            • KenedaK Offline
                              Keneda @tenbucket
                              last edited by

                              @tenbucket
                              I'm not a porter at all and don't have knowledge about such things.
                              You should try telegram halium group given in the thread I put link above.

                              2015-2023 : Meizu MX4 ☠️⚰️✝️
                              2023-2024 : Nexus 5 ☠️⚰️✝️
                              2024-***** : FPOS Fairphone 5
                              🇲🇫🇬🇧

                              1 Reply Last reply Reply Quote 0
                              • KenedaK Keneda moved this topic from General
                              • F Offline
                                faveoled @tenbucket
                                last edited by faveoled

                                @tenbucket why do you call it mainline? Its version is very old, 3.4.113. Mainline usually means what Linux upstream is

                                T 2 Replies Last reply Reply Quote 0
                                • T Offline
                                  tenbucket @faveoled
                                  last edited by

                                  @faveoled I should say "used to be mainline"

                                  Samsung Galaxy S5 Verizon variant (/e/OS)
                                  Motorola Moto G Ultra 2024 (stock)

                                  Always need coffee...

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    tenbucket @faveoled
                                    last edited by

                                    @faveoled "True mainline" 5.2 is being tested by the pmOS team ATM. It compiles and boots however there are missing modules.

                                    Samsung Galaxy S5 Verizon variant (/e/OS)
                                    Motorola Moto G Ultra 2024 (stock)

                                    Always need coffee...

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

                                      Can anyone help me merge drivers and modules into Android kernel 5.2 "true mainline"? I can theoretically do the work on my own but I have an obligation today and it would take a long time on my own anyway

                                      Samsung Galaxy S5 Verizon variant (/e/OS)
                                      Motorola Moto G Ultra 2024 (stock)

                                      Always need coffee...

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

                                        We are ready for merge to "true mainline" Check the GitHub repo. I need someone with merge acces to mainline to perform the merge for me.

                                        Samsung Galaxy S5 Verizon variant (/e/OS)
                                        Motorola Moto G Ultra 2024 (stock)

                                        Always need coffee...

                                        KenedaK 1 Reply Last reply Reply Quote 0
                                        • KenedaK Offline
                                          Keneda @tenbucket
                                          last edited by Keneda

                                          @tenbucket
                                          Again you should go on the halium telegram group.
                                          Forum is more for reporting port state and find tester in community and get feedback from them than for finding porting help.

                                          2015-2023 : Meizu MX4 ☠️⚰️✝️
                                          2023-2024 : Nexus 5 ☠️⚰️✝️
                                          2024-***** : FPOS Fairphone 5
                                          🇲🇫🇬🇧

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

                                            @Keneda My apologies, I'm used to pmOS forums, been developing for them for several years now

                                            Samsung Galaxy S5 Verizon variant (/e/OS)
                                            Motorola Moto G Ultra 2024 (stock)

                                            Always need coffee...

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