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 533 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

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