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.
      • E Offline
        Emphrath @Luksus
        last edited by

        @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 Reply Last reply Reply Quote 0
        • LuksusL Offline
          Luksus @Emphrath
          last edited by

          @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 Reply Last reply Reply Quote 0
          • E Offline
            Emphrath @Luksus
            last edited by

            @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 Replies Last reply Reply Quote 0
            • LuksusL Offline
              Luksus @Emphrath
              last edited by

              @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 Reply Last reply Reply Quote 0
              • flohackF Offline
                flohack @Emphrath
                last edited by

                @Emphrath the problem is that there is maybe a new flash device node in the /dev/ tree (lets assume this for a moment). However, the Android camera stack is a total mess of its own, and any slight change can totally disrupt it. I remember when the new module came out we couldnt even use it for weeks (or was it months) due to the Android part just screwing up.
                Eventually someone will get it to work, but yes, our priorities are geared towards other things at the moment. But I am pretty sure @peat_psuwit could analyze it with the right module. So he might be a cndidate to send one to πŸ˜‰

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

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

                  Sorry, get occupied with some other stuff. I'll look into the Aethercast problem. However, that's not the top priority.

                  Although I've never tested the new camera module (I don't have one), I think that the stack should work with both versions. If you have the new modules and care to compile the Halium part from source, I encourage you to try it out.

                  For the flashlight (via the battery indicator), there's a possible fix available as the latest lxc-android-config package in xenial_-_gst-droid. Again, if you care to compile the Halium part from source, you could try that on the old and the new camera module. However, there's a possibility to burn your flash. So, please make sure you have a spare module before trying it out. I've burnt mine during my fiddling, and I have no spare module, old or new. So, I'll not be able to test it myself.

                  LuksusL E 2 Replies Last reply Reply Quote 0
                  • LuksusL Offline
                    Luksus @peat_psuwit
                    last edited by

                    @peat_psuwit I thought I did compile it from source, when I downloaded the linked sources of your first post and followed the Halium porting guide, didn't I?

                    The new camera module is working fine with the current build/stack.
                    Only the flash does not work.

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

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

                      @peat_psuwit you mean I should try to run android-lxc-config from terminal ? Or is it a file I need to edit ?

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

                        @Luksus Does the flash work when taking a picture normally in the camera app?

                        @Emphrath No. I meant that I've included a (possible) fix in the latest version of lxc-android-config debian package. If you've followed the gst-droid install instruction and upgraded your phone with apt (not system image!), the fix should be installed.

                        The flash in the camera app does work on my old module (at least, until I burnt it 😞 ). If even that doesn't work on the new module, then I'll probably have to find the new camera modules somewhere. πŸ™‚

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

                          @peat_psuwit it does not work, even in camera app. I would gladly send the new module to you, if you wish to give it a try πŸ™‚

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

                            @peat_psuwit when I wrote this: https://forums.ubports.com/post/28093 - the flash was not working.

                            Currently I am on the legacy port again. Does the gst-droid patch work there also, or is it necessary to use Halium for it to work?

                            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

                              @peat_psuwit , @Emphrath : wooow, the flash works with the camera app ... I am speechless :face_screaming_in_fear:
                              This is with Halium and latest gst-droid patch.

                              An FP2 with new camera module and working flash... I still can't believe it. πŸ˜„
                              Thank you so much @peat_psuwit .

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

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

                                @Luksus awwe god !! I know what i'm gonna do back home

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

                                  @Luksus hi! I would like to try your new port, is there a build image somewhere? If no, how can I install it?

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

                                    @Fla First:
                                    it is not my port, it is made by peat_psuwit. πŸ˜‰

                                    Second:
                                    @Flohack, @peat_psuwit : is it ok with you if I would share my halium and system image builds in this thread? Or do you think there should be some "hurdle", so that only people "who know what they are doing" can tryout this port?

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

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

                                      @Luksus No, but you would make a separate thread, since that one belongs to RatchananΒ΄s port. In general also I would love not to waste resources on 2 ports for the same device. Instead try to cooperate, make PRs and try to get it polished. There is no use in 50 different started ports but none finished. Get stuff done.

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

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

                                        Also, please do not invest too much time in the old port. We need to bring all core devices to Halium 7.1 to see if we can fix longstanding bugs with that. So any fix for 5.1 is wasted time.

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

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

                                          @Flohack : oh you got me wrong a little bit. I did not create my own port.
                                          I just wanted to host the images I built out of RatchananΒ΄s port, since no prebuilt images are served yet.
                                          It is for the users, who are not able to download all sources or can't build it by themselves, but like to test the halium port.

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

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

                                            @Luksus said in Fairphone 2 (FP2):

                                            It is for the users, who are not able to download all sources or can't build it by themselves, but like to test the halium port.

                                            So, exactly my case. I saw your PM, trying it right now πŸ˜‰

                                            (And I'm interested about the 7.1 port, not the 5.1 one ;))

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

                                              @Luksus Okay then sure, you can host them πŸ˜‰

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

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