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

    Fairphone 2 (FP2)

    Scheduled Pinned Locked Moved Fairphone 2
    fp2fairphone 2
    95 Posts 10 Posters 26.7k Views 8 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.
      • LuksusL Offline
        Luksus @Fla
        last edited by Luksus

        @Fla When you flashed your phone with the Halium 7.1 version, you took the images I provided to you and you also needed to download the current rootfs (dev) build from the CI-Server.
        So you just can download the new rootfs build and flash your phone again with that command:

        path/to/halium-install -p ut path/to/rootfs.tar.gz path/to/system.img
        
        

        (Perhaps there is a way to flash the rootfs only? Hm, perhaps it is possible to flash the phone with the ubports-installer without flashing the boot-partition and the system-image, I don't know.)

        After doing that, you need to make changes, which you did to the rootfs, again. For Example the droid-cam patch.

        Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

        1 Reply Last reply Reply Quote 0
        • LuksusL Offline
          Luksus
          last edited by Luksus

          I just created a new build of the halium and the system images:
          https://drive.google.com/file/d/1WOV713_RLbFsvGGwCtiIFq1O7PCnSq1w/view?usp=sharing

          I am not sure, if there are changes in halium, but @peat_psuwit did add the minimum brightness fix to the FP2 device config. Therefor this should work out of the box now.

          For installing follow this instructions:
          https://docs.ubports.com/en/latest/porting/installing-16-04.html#install-halium-boot
          From "Install halium-boot" until "Install system.img and rootfs". That should do it.

          For the camera to work fast and with flash, follow this instructions.
          Or just "wget" this script on your phone's terminal and execute it.
          Don't forget to install the patched camera app.

          Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

          FlaF 2 Replies Last reply Reply Quote 1
          • FlaF Offline
            Fla @Luksus
            last edited by

            @Luksus thank you, I will install it and report if I have new problems.

            1 Reply Last reply Reply Quote 0
            • R Offline
              rom4nb @Fla
              last edited by

              @Fla
              I've been now for 1.5 weeks on UT with OTA-12 (stable channel) again. I use the Halium 5.1 based Image from ubports installer and after reading a bit in the Halium 7.1 thread (complicated Installation, Risk to burn the LED, …) I will stick to it and not try the Halium 7.1 Image now.

              Indeed, UT is much more stable than a year ago. I've had two "hard" reboots now, one when I tried to take a photo (I remember this to trigger reboot from a year ago, seems to be an Halium issue …) and one I think when I was Messing around with Anbox. Lomiri crashes I've had like three while using it (one with Anbox, one when many apps were open, one just random), but that is also better. A year ago it was like 3 Lomiri crashes within one hour on the FP2.

              I've tried Anbox as it is easy to install now (basically just apt install anbox-ubuntu-touch). The experience is not soo good, I described it here: https://forums.ubports.com/topic/1676/development-testers-for-anbox/215

              I want to thank here to all UT developers. πŸ™‚ It's a big Progress again in the OS. I already found nice new small Features like finally an integrated timer in the Clock app etc. And hopefully, with Pinephone etc. coming up, there will also be more General interest in UT and more People will take over the development of UT apps or develop new apps (I was glad to see that now in Openstore there are also some SailfishOS ported apps).

              E 1 Reply Last reply Reply Quote 1
              • E Offline
                Emphrath @rom4nb
                last edited by

                @rom4nb hey man, you've got to know: yesterday i was going to answer saying i agreed: the fp2 is heaps more stable, good job to everyone... and then lomiri crashed on me in the middle of my message, while I was doing nothing else ^^ It's hard to convey how hilarious it was at the moment

                1 Reply Last reply Reply Quote 1
                • FlaF Offline
                  Fla @Luksus
                  last edited by

                  @Luksus thanks, I did the update and everything worked well. In your script to install gst-droid, you should remove the holding of qtubuntu, this package isn't there anymore (see original topic: UPDATED: qtubuntu packages have been removed from the repository, thus no pinning is required anymore).

                  1 Reply Last reply Reply Quote 0
                  • FlaF Offline
                    Fla
                    last edited by Fla

                    @Luksus well no, everything isn't working fine: I can't do phone calls. I call someone, we can discuss and then after less than a minute, I can't hear the other participant anymore. At that time, the button to hang isn't working.

                    @peat_psuwit did you change anything in the halium part since a few months back?

                    peat_psuwitP LuksusL 2 Replies Last reply Reply Quote 0
                    • peat_psuwitP Offline
                      peat_psuwit @Fla
                      last edited by

                      @Fla The only change recently is the addition of repowerd config file.

                      1 Reply Last reply Reply Quote 0
                      • LuksusL Offline
                        Luksus @Fla
                        last edited by

                        @Fla for me it works with the rootfs from 12 days ago. So I assume it could be caused by the rootfs build you have used.

                        Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                        1 Reply Last reply Reply Quote 0
                        • FlaF Offline
                          Fla
                          last edited by

                          The phone call feature itself isn't the problem, the problem is the lost of the network. But after a few days (maybe thanks to a reboot?) I don't have it anymore. It looks like network signal isn't really good, no idea if it's related to that new port, to the phone hardware itself, to UT in general, or because of the carrier... But the problem is mainly gone anyway.

                          1 Reply Last reply Reply Quote 0
                          • FlaF Offline
                            Fla
                            last edited by

                            @peat_psuwit I would really love to be able to have OTA update on my FP2 running that port. Is there anything I can do to help you make it official?

                            FlaF 1 Reply Last reply Reply Quote 2
                            • LuksusL Offline
                              Luksus
                              last edited by

                              Since Fairphone managed to run Android 9 on the FP2, would it be possible to create a Halium 9 Port with this GSI thing?
                              https://www.fairphone.com/en/2020/06/18/fairphone-2-gets-android-9/

                              Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                              jezekJ 1 Reply Last reply Reply Quote 0
                              • jezekJ Offline
                                jezek @Luksus
                                last edited by jezek

                                @Luksus said in Fairphone 2 (FP2):

                                Since Fairphone managed to run Android 9 on the FP2, would it be possible to create a Halium 9 Port with this GSI thing?
                                https://www.fairphone.com/en/2020/06/18/fairphone-2-gets-android-9/

                                I've asked the same question on fairphone forum. The answer is:

                                No, because of
                                Halium version 9 is basically for phones released with android 8 or later, in other words devices with vendor partition.
                                The FP2 does not have a vendor partition.

                                jEzEk

                                1 Reply Last reply Reply Quote 1
                                • LuksusL Offline
                                  Luksus
                                  last edited by Luksus

                                  I finally managed to build a new halium-boot and system image. I updated my post above.

                                  And here is a "version-bumped" version of the gst-droid camera app:
                                  https://drive.google.com/file/d/1sV8te8sS-a7qCd-bjmEWxl0UFJo-Ma-9/view?usp=sharing

                                  With this, my camera is working again.

                                  Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                                  FlaF 1 Reply Last reply Reply Quote 1
                                  • FlaF Offline
                                    Fla @Fla
                                    last edited by

                                    @Fla said in Fairphone 2 (FP2):

                                    @peat_psuwit I would really love to be able to have OTA update on my FP2 running that port. Is there anything I can do to help you make it official?

                                    @peat_psuwit you didn't answer to that, but as all work deserves a salary as we say in french, I precise I'm willing to pay you $100 to see 7.1 based port released as the official port for the FP2.

                                    peat_psuwitP 1 Reply Last reply Reply Quote 2
                                    • peat_psuwitP Offline
                                      peat_psuwit @Fla
                                      last edited by

                                      @Fla We're working towards that goal, but the base system requires more changes to support Halium 7.1 ports better before we can release any Halium 7.1 port as an official port.

                                      FlaF 1 Reply Last reply Reply Quote 4
                                      • FlaF Offline
                                        Fla @Luksus
                                        last edited by

                                        @Luksus I just flashed it, I'll tell you if everything is fine

                                        1 Reply Last reply Reply Quote 0
                                        • FlaF Offline
                                          Fla @peat_psuwit
                                          last edited by

                                          @peat_psuwit said in Fairphone 2 (FP2):

                                          @Fla We're working towards that goal, but the base system requires more changes to support Halium 7.1 ports better before we can release any Halium 7.1 port as an official port.

                                          So, I asked in the last Q&A what was the status of the core changes still needed for Halium 7.1 ports and the answer was:

                                          Actually it has progressed very well and is effectively now β€˜done’. The issues remaining are likely to be device specific. On Xperia X for example there are Bluetooth problems. We suggest you try it out with a Fairphone 2 and send in some test reports. Rachanan has a pretty good overview on it.

                                          So... Here I am again ^^ What's the next step to see that port an official one, and how can I help you reach that state?

                                          peat_psuwitP 1 Reply Last reply Reply Quote 1
                                          • peat_psuwitP Offline
                                            peat_psuwit @Fla
                                            last edited by

                                            @Fla

                                            The biggest issue currently is that the phone tends to reboot itself when trying to power it off. The issue has been traced to be related to the Android container. However, I haven't looked into it further.

                                            Other than that, there are some other issues I can't remember off the top of my head. There's also the USB mode issue, but that I prefer a more proper solution than the one currently implemented in other ports.

                                            IngoI 1 Reply Last reply Reply Quote 0
                                            • flohackF Offline
                                              flohack
                                              last edited by

                                              Its also that current classic builds for the core devices allow adb next to MTP mode, and hotspot is a big issue. Speakerphone might not work, etc. So when we would deliver it as it is now, many people would feel a regression probably. Sorry to say, it needs more time and hands to finish that.

                                              Same goes for OPO and N5.

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

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