UBports Robot Logo

    UBports Forum

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

    [Porting] Pixel 4a

    Porting
    12
    21
    5972
    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.
    • D
      devr @Flohack last edited by

      @flohack Thanks Flohack. Yes, it appears to ship with Android 10. What is the ETA for supporting Android 10 devices?

      Thanks as well for all of your hard work and support of ubuntu-touch

      Cheers

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

        @devr There is no real ETA, we started experimenting with it. Unfortunately every new Android version comes with a lot of changed and new stuff, and it gets harder with every version to make clean builds.
        That sad I suggest you follow our forums and social media, Telegram channels, you will not miss the moment when Android 10 becomes usable πŸ˜‰

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

        D M 2 Replies Last reply Reply Quote 0
        • D
          devr @Flohack last edited by

          @flohack Awesome, thanks for the update and for all of your contribution! πŸ‘

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

            @flohack said in [Porting] Pixel 4a:

            every new Android version comes with a lot of changed and new stuff, and it gets harder with every version to make clean builds.

            If it gets harder, which I assume you also notice in working/coding hours, is halium sustainable concept for the future?

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

              @makeixo No its not but what should we do without the proper hardware. Should we stop using Android phones at all?

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

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

                @flohack I don't know whats the "right" or more sustainable way.

                KDE has dropped halium. Mobian I think just want to support mainline devices. How do they want to engage this issue?

                There are some people who work on mainlining the OP6(T). I think this device would be a great device for the next years. SoMainline work on mainlining Sony devices. Wouldn't that be an alternative?

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

                  @makeixo I dont think mainlining can give us anything thats as usable as our ported devices are already. Mainlining takes years sometimes, by that the hardware is already not so attractive anymore, and then it might still be that you cannot use modem or camera, for whatever reasons.

                  We want to bring Ubuntu Touch to 1000s of users, thats not gonna work if they have to wait forever for a better experience πŸ˜‰

                  Mainlining is nice for experimential use IMHO, but not something that will attract the masses...

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

                  rik 1 Reply Last reply Reply Quote 1
                  • rik
                    rik @Flohack last edited by

                    @makeixo I am certainly no expert, but as I have understood the mainline Linux kernel will take some effort to get things like power efficiency to the level that a majority of users will consider "usable".... meaning that even if the hardware is working that getting it optimized enough to match Android performance will take a lot of time, and as @Flohack mentions it may take years to get that mainlined, by which time users will have moved on.

                    Since this thread started on the Pixel 4a and there was some question about how close it may be to the Pixel 3a and 3a XL that are very affordable right now, and thanks to @fredldotme 's effort has a very high compatibility ranking that this would be a good example of the benefit of continuing in the Halium approach: use the kernel that the device ships with but get Ubuntu Touch to run on top of it. Yes it takes time, but it seems much less than trying to mainline devices not designed to use "proper Linux" from the beginning.

                    Not all of us have the skills like @fredldotme to get a port to this level of quality, but if there are even a few popular devices of recent builds then I think it is enough to sustain UT: So we have the N5 and OPO as "promoted" devices from that older era, then you could consider OP3, Xperia X, Nexus 6P from that generation, then next gen we have Pixel 3a, maybe others. These are already a few years old, but are new enough they will hold out for a few years, after which OP6, others from a newer generation may be available (newer devices that will need Halium 10+)?

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      Nathan123 @rik last edited by

                      @rik

                      I am definitely interested in Ubports for a pixel 4a sunfish

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

                        Hi all,

                        just to tell you that Halium 10 support which matches the corresponding Android 10, or even 11, are now quite mature and ready to be used on various devices. Would be great if someone gives the P4a a shot with the generic porting method where you only need to customize the kernel so far.

                        We can set up a Gitlab repo that would then take care of the rest.

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

                        B 1 Reply Last reply Reply Quote 2
                        • B
                          BugInACode @Flohack last edited by BugInACode

                          @flohack I am happy to purchase a device to test this, is there any reason not to go for a pixel 5 or 6? If not then I'm happy to get one of the later models, otherwise ill get the 4a

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

                            @buginacode there are various reasons as we do not support Android 11 devices and up now properly. There is still stuff to do.

                            Depending on the initial Android version the device was released with this limits if it can be ported or not.

                            Pixel 5 had Android 11, it should have good results in porting already, but Pixel 6 I assume will be 12 right? Ther is no way we can do this right now.

                            So yes do not buy it now, there is nothing to test before a dev sits down and tries to make a port.

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

                            D 1 Reply Last reply Reply Quote 0
                            • J
                              Junkle last edited by

                              I'm hoping this is a "no dumb questions" crowd.
                              I have an old Pixel 4a that's been upgraded to Android 12.
                              If/When there is a port for the 4a, would I be able to load it on that device, or would it need to be an non-upgraded device?

                              Moem AppLee 2 Replies Last reply Reply Quote 0
                              • Moem
                                Moem @Junkle last edited by

                                @junkle If it needs to be on a previous version, you would normally be able to downgrade before installing UT.

                                Is currently using an Op5t
                                Also owns an Op1 and a BQ E4.5. And an Xperia X. Please, someone... make it stop.

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

                                  @junkle said in [Porting] Pixel 4a:

                                  would I be able to load it on that device, or would it need to be an non-upgraded device?

                                  To both, Yes πŸ™‚
                                  Depending on what halium the port could be you will be able either to downgrade to the correct android version or just install the port.
                                  Pixel phones are good for UBports because there is a lot of documentation and Google provides means to downgrade quite easily...

                                  1 Reply Last reply Reply Quote 1
                                  • D
                                    discord @Flohack last edited by discord

                                    @flohack uh-oh. Looks like I made a mistake reading the forums and purchased a pixel 5. I have had a little experience building kernels, and I also ported a root fs to cadmium linux one time. Is it possible I might try to get started poking around the device to get halium 11 working on it?

                                    After looking at the halium docs it looked like a kernel booting through lineage was required as a starting point. I was able to see it looks like there's quite a bit of activity regarding that : https://forum.xda-developers.com/t/rom-official-redfin-lineageos-20.4217559/

                                    Then as a next step I think I'm supposed to create a device port issue on https://github.com/Halium/projectmanagement/issues?q=is%3Aissue+is%3Aopen+pixel+5 and then try to get started with the related tasks.

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      TheVancedGamer @discord last edited by

                                      @discord Hi. The old porting method could be called obsolete at this point. We use the standalone kernel method nowadays, you can join at t.me/ubports_porting and we'll guide you through πŸ™‚

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