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

    Oneplus one flash does not work

    Scheduled Pinned Locked Moved Support
    flashlightoneplus onecamera
    17 Posts 5 Posters 1.3k Views 2 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.
      • ? Offline
        A Former User
        last edited by

        First of all, thanks for this alternative to ios and android.

        I noticed that the flash is not working on oneplus one when taking pictures.

        Can anyone guide me on how to investigate this in the code? It would be more effective than to wait for someone else to fix this issue.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          joolz @Guest
          last edited by

          @marius-ciclistu I don't know the code, but it looks like it has been moved to gitlab https://gitlab.com/ubports/apps/camera-app

          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @joolz
            last edited by

            @joolz Thanks. I'll give it a look when I have some time. Maybe I'll find a solution for it.

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

              Flash and zoom does not work, autofocus is qutie broken. Yes its a known bug since 4 years, sorry that no one so far could fix it πŸ™‚

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

              KenedaK 1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User
                last edited by

                @Flohack Autofocus can be used with grid mode and some pacience by taping into the rectangle:)
                The issue is that this repo is archived and in readonly mode.. https://github.com/ubports/camera-app
                I can't open an issue. Anyway, I'm pull the repo and have a look through it maybe I'll win "the lottery" and find a potential fix for the flash, as it works from battery settings in flashlight mode, so a way to trigger it exists.

                flohackF 3 Replies Last reply Reply Quote 1
                • flohackF Offline
                  flohack @Guest
                  last edited by

                  @marius-ciclistu We moved some gore apps here, please use the tracker there: https://gitlab.com/ubports/apps/

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

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

                    @marius-ciclistu Also, this is not a failure of camera-app:

                    • Camera-App uses qtubuntu-camera, a Qt/QML wrapper that calls into libhybris, and from there into the Android Camera API. The prolbems are there.
                    • Camera-App is "lightweight" (stupid in some terms) as it can only say "focus please" but the call will be multiple times converted. Also, Oneplus One uses an odd camera in Android 5.1 that is kinda broken and following the old Android camera API (1.0 I think). We do not have this problem on any other phone.

                    Its truly device specific. Please dont file an issue in camera-App, it cant be solved there.

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

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

                      @marius-ciclistu You will need to look here first, and then go down into Android land: https://github.com/ubports/qtubuntu-camera

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

                      1 Reply Last reply Reply Quote 0
                      • MoemM Offline
                        Moem
                        last edited by

                        I would be very happy to see improvements to the camera app on OpO!

                        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.

                        flohackF 1 Reply Last reply Reply Quote 0
                        • ? Offline
                          A Former User @flohack
                          last edited by

                          @Flohack said in Oneplus one flash does not work:

                          Its truly device specific. Please dont file an issue in camera-App, it cant be solved there.

                          Ok. Thanks.

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

                            @Moem It will happen when wwe move it to Android 7.1 base. Work will start shortly
                            I got my OPO free now for porting...

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

                            MoemM 1 Reply Last reply Reply Quote 1
                            • MoemM Offline
                              Moem @flohack
                              last edited by

                              @Flohack That is great to hear, I will wait patiently and cheer you on! :beaming_face_with_smiling_eyes:

                              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
                              • KenedaK Offline
                                Keneda @flohack
                                last edited by Keneda

                                @Flohack said in Oneplus one flash does not work:

                                Flash and zoom does not work, autofocus is qutie broken. Yes its a known bug since 4 years, sorry that no one so far could fix it πŸ™‚

                                :astonished_face:

                                So why is it listed as full working device (full orange bar) in here https://devices.ubuntu-touch.io/

                                2015-2023 : Meizu MX4 ☠️⚰️✝️
                                2023-2024 : Nexus 5 ☠️⚰️✝️
                                2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                                πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

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

                                  @Keneda Well details. Also the other devices have issues that we think are minor. I think there is actually no device that doesnΒ΄t have this or that glitch. Also N5, FP2 and OPO come from a time when we were still far away from this rating system. Thats smth we added recently. And so we moved all existing devices in as fully supported. You might question this, but in fact it makes not so much difference. At least for the current usebase it seems acceptable πŸ˜‰

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

                                  1 Reply Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User
                                    last edited by

                                    Also video capture does not have a working flash. My plan is to see how the flash is triggered from battery settings and then see why the option from video recorder does not work.

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

                                      I would really wait until we are there with the Halium-7.1 port. I can confirm that flash works there, zoom and focus as well πŸ™‚ Just was excited to take the first shots with this port and finally the camera is all good I think πŸ™‚

                                      Let me come back to this after my holiday. I will then provide some test images you can install. It has a WiFi issue right now, leading to superslow transfers. But this is probably fixable. Everything else works nice πŸ˜‰

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

                                      1 Reply Last reply Reply Quote 1
                                      • ? Offline
                                        A Former User
                                        last edited by A Former User

                                        Ok. Thanks. There is no rush. Happy vacation!

                                        PS. I turned flash on from battery. I opened camera. The flash was switched off. I made foto -no flash. I closed camera. The flash was off but the button from battery settings was on.

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