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

[Porting] Pixel 4a

Scheduled Pinned Locked Moved Porting
23 Posts 13 Posters 13.6k Views 4 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.
    • P Offline
      ProctorZeuss
      last edited by 24 Jan 2021, 03:58

      Is anyone currently working on a Pixel 4a port and if so can I assist. I have just moved to CalyxOS and while impressed I would much prefer to see Ubuntu Touch become more freely available and supported.

      A 1 Reply Last reply 24 Jan 2021, 08:19 Reply Quote 1
      • A Offline
        AppLee @ProctorZeuss
        last edited by 24 Jan 2021, 08:19

        Hi and welcome @proctorzeuss
        If you want to port to your device, have checked this first ?
        https://forums.ubports.com/topic/2068/halium-first-steps/1

        Best of luck

        1 Reply Last reply Reply Quote 0
        • D Offline
          devr
          last edited by devr 5 Apr 2021, 05:28 4 May 2021, 05:28

          @fredldotme Hi Fred - I hope you are well and thanks for all of your hard work and support on ubuntu-touch.

          From my research, it seems that there is not much difference between Pixel 3a and 4a. However, 4a comes with 2 additional years of firmware support from Google. I see in the old forums that the cost of the device was cited as the reason for not porting. I'd be happy to donate one (or the current cost on Amazon of $350 US) if that could make this a reality?

          Thanks in advance

          1 Reply Last reply Reply Quote 0
          • F Offline
            flohack
            last edited by 4 May 2021, 06:48

            What was the Android base version it came with? We are just setting up Android 10 support, it might not be worth yet to start porting such devices.

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

            D 1 Reply Last reply 5 May 2021, 02:29 Reply Quote 0
            • D Offline
              devr @flohack
              last edited by 5 May 2021, 02:29

              @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

              F 1 Reply Last reply 5 May 2021, 06:28 Reply Quote 0
              • F Offline
                flohack @devr
                last edited by 5 May 2021, 06:28

                @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 6 May 2021, 02:23 Reply Quote 0
                • D Offline
                  devr @flohack
                  last edited by 6 May 2021, 02:23

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

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    makeixo @flohack
                    last edited by 7 May 2021, 21:53

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

                    F 1 Reply Last reply 8 May 2021, 13:17 Reply Quote 0
                    • F Offline
                      flohack @makeixo
                      last edited by 8 May 2021, 13:17

                      @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 10 May 2021, 10:35 Reply Quote 0
                      • M Offline
                        makeixo @flohack
                        last edited by makeixo 5 Oct 2021, 11:44 10 May 2021, 10:35

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

                        F 1 Reply Last reply 11 May 2021, 07:52 Reply Quote 0
                        • F Offline
                          flohack @makeixo
                          last edited by 11 May 2021, 07:52

                          @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: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                          R 1 Reply Last reply 12 May 2021, 11:17 Reply Quote 1
                          • R Offline
                            rik @flohack
                            last edited by 12 May 2021, 11:17

                            @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 9 Oct 2021, 16:14 Reply Quote 0
                            • N Offline
                              Nathan123 @rik
                              last edited by 9 Oct 2021, 16:14

                              @rik

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

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                flohack
                                last edited by 8 Sept 2022, 13:04

                                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 12 Sept 2022, 02:26 Reply Quote 2
                                • B Offline
                                  BugInACode @flohack
                                  last edited by BugInACode 9 Dec 2022, 02:26 12 Sept 2022, 02:26

                                  @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

                                  F 1 Reply Last reply 14 Sept 2022, 21:33 Reply Quote 0
                                  • F Offline
                                    flohack @BugInACode
                                    last edited by 14 Sept 2022, 21:33

                                    @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 26 Feb 2023, 04:12 Reply Quote 0
                                    • J Offline
                                      Junkle
                                      last edited by 16 Sept 2022, 00:48

                                      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?

                                      MoemM A 2 Replies Last reply 16 Sept 2022, 08:49 Reply Quote 0
                                      • MoemM Offline
                                        Moem @Junkle
                                        last edited by 16 Sept 2022, 08:49

                                        @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, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          AppLee @Junkle
                                          last edited by 16 Sept 2022, 08:51

                                          @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 Offline
                                            discord @flohack
                                            last edited by discord 26 Feb 2023, 04:12

                                            @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 F 2 Replies Last reply 26 Feb 2023, 05:27 Reply Quote 0
                                            • First post
                                              Last post