UBports Robot Logo UBports Forum
    • 版面
    • 最新
    • 標籤
    • 熱門
    • 使用者
    • 群組
    • 搜尋
    • 註冊
    • 登入

    Fairphone 2 (FP2)

    已排程 已置頂 已鎖定 已移動 Fairphone 2
    fp2fairphone 2
    95 貼文 10 Posters 26.6k 瀏覽 8 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
      回覆
      • 在新貼文中回覆
      登入後回覆
      此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
      • peat_psuwitP 離線
        peat_psuwit
        最後由 peat_psuwit 編輯

        This is a Halium 7.1 based port for Fairphone 2. The current port is based on Android 5.1 and has quite a few band-aids and workarounds. This port is completely new and isn't based on the current port.

        Sources:
        Kernel: https://github.com/Halium/android_kernel_fairphone_msm8974/tree/halium-7.1
        Device: https://github.com/Halium/android_device_fairphone_FP2/tree/halium-7.1_ubuntu
        Manifest: https://github.com/Halium/halium-devices/blob/halium-7.1/manifests/fairphone_FP2.xml (This manifest doesn't point to the Ubuntu Touch additions. Add revision="refs/heads/halium-7.1_ubuntu" to the device tree tag to retrieve them.)

        Status:

        • Working:
          • Display, Wi-Fi, Audio, Battery indicator, Bluetooth, Video playback, Vibration, GPS, Accelerometer
          • Camera (Needs gst-droid, see the instruction in another post.)
          • Audio (Headphone detection now works correctly.)
          • Cellular (Both SIM slots work. Voice call, SMS, MMS, mobile data works.)
          • Front LED (fixed in the rootfs)
        • Not working:
          • Flashlight
          • Abysmal battery life with the Wi-Fi on.

        Install:
        No prebuilt image has been made yet. Thus, you're required to build the image from source.

        1 條回覆 最後回覆 回覆 引用 4
        • flohackF 離線
          flohack
          最後由 編輯

          I will be happy to test. Do you need testing with the new camera as well? Maybe @nanu-c can help with that.

          My languages: 🇦🇹 🇩🇪 🇬🇧 🇺🇸

          peat_psuwitP 1 條回覆 最後回覆 回覆 引用 1
          • peat_psuwitP 離線
            peat_psuwit @flohack
            最後由 編輯

            @Flohack @nanu-c Testing the new camera with GStreamer-droid is highly appreciated. I believe that using 7.1 should solve issues with the new camera modules due to no need for any wrapper.

            1 條回覆 最後回覆 回覆 引用 1
            • jezekJ 離線
              jezek
              最後由 編輯

              @peat_psuwit Pardon for my intrusion. I would like to ask about the working status of sensors in this build. Concretely I mean the accelerometer, compass and front light sensor (am I missing some?). Could you check? Thank you.

              jEzEk

              peat_psuwitP 1 條回覆 最後回覆 回覆 引用 0
              • peat_psuwitP 離線
                peat_psuwit @jezek
                最後由 編輯

                @jezek Accelerometer works as the screen rotates correctly. LED doesn't work, probably due to the permission issue. SensorStatus doesn't show values from the compass, but I'm not sure if it's due to the port or other problem.

                1 條回覆 最後回覆 回覆 引用 0
                • jezekJ 離線
                  jezek
                  最後由 編輯

                  @peat_psuwit Thank you for your answer. Compass is not working on current (default) build, that's why I asked, to see if new Halium (7.1) fixes the problem.

                  By the "front light sensor" I meant the proximity sensor on the front (near the front camera), that is used to turn off the display while calling (and if not working properly, I always switch to flight mode with my ear during calls). I think, it is used also to automatically regulate brightness.

                  jEzEk

                  flohackF 1 條回覆 最後回覆 回覆 引用 0
                  • flohackF 離線
                    flohack @jezek
                    最後由 編輯

                    @jezek Normally proximity and brightness are separated. So you can have perfect b rightness regulation but still the display does not switch off during calls.

                    My languages: 🇦🇹 🇩🇪 🇬🇧 🇺🇸

                    1 條回覆 最後回覆 回覆 引用 1
                    • FlaF 離線
                      Fla
                      最後由 編輯

                      I will gladly test this once images are provided. it's a bit early now as this is my primary phone.

                      1 條回覆 最後回覆 回覆 引用 0
                      • LuksusL 離線
                        Luksus
                        最後由 編輯

                        So I built the images and flashed my (daily) phone. 🙂
                        So far, everything works as exspected. Camera does not, the phone needs a bit longer to awake.

                        But I am not completely shure if it is running on Halium now, because my whole data and apps are still there.
                        Is there a way to confirm, that it is using Halium now?

                        I will test it further and report here.

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

                        1 條回覆 最後回覆 回覆 引用 0
                        • LuksusL 離線
                          Luksus
                          最後由 編輯

                          FP2, findings and differences to legacy version:

                          • camera does work with gstreamer-droid patch and is superfast
                          • after turning flightmode off, it is not needed to enter SIM-pin again
                          • waking up from sleep is delayed by some (5?) seconds, what makes it hard sometimes to answer a call, because you have to wait until the swipe is working
                          • I can't get a MTP USB connection, when I unplug the device, my pc informs me about using another network connection, lsusb identifies the device as:
                          Bus 003 Device 007: ID 0fce:7169 Sony Ericsson Mobile Communications AB FP2
                          

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

                          flohackF FlaF 2 條回覆 最後回覆 回覆 引用 3
                          • flohackF 離線
                            flohack @Luksus
                            最後由 編輯

                            @Luksus Wakeup from sleep delay affects all Halium 7.1 builds, and the fix is already available, needs just a few lines of config. MTP is a bit tricky to get in, but we will be able to add it, so its also just a known todo than a blocker 😉

                            My languages: 🇦🇹 🇩🇪 🇬🇧 🇺🇸

                            1 條回覆 最後回覆 回覆 引用 3
                            • FlaF 離線
                              Fla @Luksus
                              最後由 編輯

                              @Luksus is the data connection toggle enabled after switching off airplane mode? https://github.com/ubports/ubuntu-touch/issues/30 Is the most annoying issue to me currently.

                              Also, does the flashlight work ?

                              LuksusL 2 條回覆 最後回覆 回覆 引用 0
                              • LuksusL 離線
                                Luksus @Fla
                                最後由 編輯

                                @Fla the toggle stays enabled but gets inactive when switching flightmode on, and there is also no dataconnection available anymore. After switching flightmode off, the toggle gets enabled again and data connection is also there.

                                If you are referring to the bug, where this toggle stays always inactive, regardless of the connection state, then I can say, that I did not encounter this issue so far.

                                Sometimes the system isn't aware of the mobiledata connection and I need to toggle mobiledata on and off multiple times, that the system is getting it. This happens for example, when switching WiFi off. As I remember, this did not happen with the legacy port.

                                The best Improvement so far is: No more random reboots - yeah!

                                I also managed to get rid of the wake up from sleep delay.
                                So this build is very usable as daily driver for me.

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

                                1 條回覆 最後回覆 回覆 引用 0
                                • LuksusL 離線
                                  Luksus @Fla
                                  最後由 編輯

                                  @Fla flashlight does still not work.

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

                                  E 1 條回覆 最後回覆 回覆 引用 0
                                  • LuksusL 離線
                                    Luksus
                                    最後由 編輯

                                    Update:

                                    • even, if I not have to re-enter sim pin after turning flightmode off, sometimes the sim locks it self randomly
                                    • sadly, I encounterd 2 reboots since I flashed it. Both while charging the battery and doing nothing with it
                                    • to activate a hotspot, I need to turn off WiFi and enable hotspot from within the settings

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

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • LuksusL 離線
                                      Luksus
                                      最後由 編輯

                                      Another Update:

                                      • Reboots are still much less than on legacy version and happen mostly while charging
                                      • activating hotspot is a bit fiddly, but works
                                      • automatic switch between mobile network and WiFi does not always work reliable
                                      • just encountered that the whole wireless display/aethercast thing is missing 😕

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

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • E 離線
                                        Emphrath @Luksus
                                        最後由 編輯

                                        @Luksus as I stated on the appropriate github issue, I am able and willing to send my new camera module to anyone willing to tackle that issue and would need the module 🙂

                                        LuksusL 1 條回覆 最後回覆 回覆 引用 0
                                        • LuksusL 離線
                                          Luksus @Emphrath
                                          最後由 編輯

                                          @Emphrath I also have the "new" (second) camera-module 😉
                                          Are you talking about the flashlight?

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

                                          E 1 條回覆 最後回覆 回覆 引用 0
                                          • E 離線
                                            Emphrath @Luksus
                                            最後由 編輯

                                            @Luksus yes I am. This is presently the only thing keeping me from going back to UT, and I am now considering the old camera module in order to have a working flashlight... has there been a new cam module since the one we're talking about ? I was unaware. I understand that getting this flashlight to work is not a priority of this project, considering the work on halium , unity, and porting to other devices, but I can't get my head around why the former works and not this one. Maybe it requires some "porting" of its own, but since fairphone openos made the kernel sources for this device available, I wonder what's up!! I'm not a developer and only have basic Linux knowledge so I thought I could help that way.

                                            LuksusL flohackF 2 條回覆 最後回覆 回覆 引用 0
                                            • LuksusL 離線
                                              Luksus @Emphrath
                                              最後由 編輯

                                              @Emphrath No, there were only two camera modules. I believe the biggest part of the FP2 owners have the newer one. So no need to send yours to someone.
                                              I often thought about looking into the flashlight problem, but always came to the conclusion , if even Rajanathan did not get this to work yet, who made a lot for the FP2, then I can't make it work either.... 😉

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

                                              1 條回覆 最後回覆 回覆 引用 0
                                              • 第一個貼文
                                                最後的貼文