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

Faulty camera

Scheduled Pinned Locked Moved Solved Support
19 Posts 6 Posters 1.0k Views 3 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.
    • V Offline
      vince.vs
      last edited by 28 Nov 2023, 19:27

      Hello,

      No sound after recording with the Camera application on UT.
      I uninstalled the application and it wouldn't install again.
      As a result, I could no longer photograph or film.
      For the moment I'm using a photo and camera application with Waydroid.
      It's not easy ...
      OnePlus 5T focal ota-3

      M D 2 Replies Last reply 28 Nov 2023, 19:37 Reply Quote 0
      • M Offline
        MrT10001 @vince.vs
        last edited by MrT10001 28 Nov 2023, 19:37

        @vince-vs No problem on mine, works fine, uninstall, reinstall, still works.

        Try a reboot and see if that solves it.

        If not , try an Ubuntu Touch reinstall, making sure the "wipe data" button is unticked.

        Xiaomi Redmi Note 7.... And more...
        I have too many devices...

        V 1 Reply Last reply 28 Nov 2023, 20:52 Reply Quote 1
        • V Offline
          vince.vs @MrT10001
          last edited by 28 Nov 2023, 20:52

          @MrT10001

          Thank you for your prompt reply.
          After rebooting, the camera application cannot be reinstalled.
          I had already reinstalled UT 20.04 after ota-1.
          I will, when possible for me, erase reset the phone with the reset option, and if that does not work I will reinstall.
          However, it shouldn't become the norm that when an application doesn't work, you have to go through a full installation of UT again; that would become too cumbersome.
          Best regards

          M L D 3 Replies Last reply 29 Nov 2023, 02:28 Reply Quote 0
          • M Offline
            MrT10001 @vince.vs
            last edited by 29 Nov 2023, 02:28

            @vince-vs I agree, however you are dealing with older hardware and an OS. that is still at some stage of beta, but very usable. I wonder if Waydroid may have caused the issue. If it fails to work again, raise it as a bug with the porter.

            Xiaomi Redmi Note 7.... And more...
            I have too many devices...

            V 1 Reply Last reply 29 Nov 2023, 16:47 Reply Quote 0
            • C CiberSheep moved this topic from 20.04 Focal Fossa on 29 Nov 2023, 02:40
            • L Offline
              Lakotaubp @vince.vs
              last edited by 29 Nov 2023, 04:57

              @vince-vs Not ideal situation. Have you tried swopping update channel to devel and see if that fixesIf it? If it does just swop back to Stable.

              V 1 Reply Last reply 29 Nov 2023, 16:49 Reply Quote 1
              • V Offline
                vince.vs @MrT10001
                last edited by 29 Nov 2023, 16:47

                @MrT10001
                Hello,
                after uninstalling Waydroid and rebooting UT, application camera still not installable.
                So it's not coming from Waydroid ...

                1 Reply Last reply Reply Quote 0
                • V Offline
                  vince.vs @Lakotaubp
                  last edited by 29 Nov 2023, 16:49

                  @Lakotaubp

                  Hello,
                  I followed your suggestion and the camera app installation didn't work on the development channel. I switched back to the stable channel, and the camera app still can't be installed on my OP5T ota-3.

                  M 1 Reply Last reply 29 Nov 2023, 16:54 Reply Quote 0
                  • M Offline
                    Moem @vince.vs
                    last edited by 29 Nov 2023, 16:54

                    Try the following:
                    Go into the file manager, unlock it, and delete the following directory:

                    ~/.config/camera.ubports
                    

                    Then reboot. The camera should be back and working.

                    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.

                    V 1 Reply Last reply 29 Nov 2023, 17:11 Reply Quote 0
                    • V Offline
                      vince.vs @Moem
                      last edited by 29 Nov 2023, 17:11

                      @Moem
                      after your suggestion to delete
                      ~/.config/camera.ubports file and restart, unfortunately the installation of the camera app is still not possible.
                      The config camera folder is now empty ...

                      M I 2 Replies Last reply 29 Nov 2023, 18:48 Reply Quote 0
                      • M Offline
                        Moem @vince.vs
                        last edited by 29 Nov 2023, 18:48

                        @vince-vs Hmm! In that case you may need to remove more to force the camera (which is a pre-installed app) to come back after a reboot. Unfortunately that's most easily done by terminal and me and the terminal are not friends!

                        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
                        • I Online
                          Ian @vince.vs
                          last edited by 29 Nov 2023, 19:12

                          @vince-vs Similar issue to.....?
                          https://forums.ubports.com/topic/8851/can-t-re-install-the-music-app?_=1701061044568

                          1 Reply Last reply Reply Quote 1
                          • M Offline
                            MrT10001
                            last edited by 29 Nov 2023, 19:33

                            Worst comes to the worst, you could always reinstall using the UT installer. That generally sorts out any mess I have created...:beaming_face_with_smiling_eyes:

                            Xiaomi Redmi Note 7.... And more...
                            I have too many devices...

                            D 1 Reply Last reply 29 Nov 2023, 21:57 Reply Quote 0
                            • D Offline
                              danfro @vince.vs
                              last edited by 29 Nov 2023, 21:47

                              @vince-vs

                              For installing the camera app please try to follow this guide I just wrote (https://t.me/ut_troubleshooting/19😞

                              Likely due to the migration there are parts of the old installation left on your device. In most cases this happens with core apps, because they faced a change in namespace, due to the renaming form unity8 to lomiri.

                              So you need to clear those "leftover" parts of the app.
                              In most cases you need to search the /opt folder for those code parts.
                              You can either do that manually with filemanager (make sure to have show hidden files enabled.) But this is quite tedious and you will likely miss something. This task is much easier to do with the terminal.
                              Also it is recommended to not use the terminal on the device, but a terminal via adb.

                              1 a) open terminal app on the device OR
                              1 b) open a terminal on your computer, plug in the device, run adb shell
                              2. find the files: run this command, replace APPNAME with the common name part of the app, but keep the *
                              sudo find /opt -iname *APPNAME*
                              (example weather app: sudo find /opt -iname *weather*)
                              3. remove all files of that app that are listed, (core apps have their code in the rootfs, not in /opt, so this is safe to do): you can use this terminal command to do so, replace PATH with the path of the files or folders to delete:
                              sudo rm -r PATH
                              (example weather app: sudo rm -r /opt/click.ubuntu.com/weather.ubports for the full folder)
                              4. reboot your device, this will make the device go back to the preinstalled version of the core app, so after reboot the app should be ready to use

                              In case the app does not start, clear the config files for that app under ~/.config/APPNAME. [~ is equal to /home/phablet]

                              V 1 Reply Last reply 3 Dec 2023, 17:13 Reply Quote 1
                              • D Offline
                                danfro @vince.vs
                                last edited by 29 Nov 2023, 21:49

                                @vince-vs

                                Does this happen after you had an incoming phone call? Is the sound back after a reboot?

                                There is this issue with an instruction how to apply a workaround: https://github.com/ubports/ubuntu-touch/issues/2022#issuecomment-1548180414. I hope this helps.

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  danfro @MrT10001
                                  last edited by 29 Nov 2023, 21:57

                                  @MrT10001 In this case this will not help. The broken files are in the /opt folder (almost always at least). And the installer will not touch /opt unless you do a full reinstall with wiping all user data. And that we try to avoid. 😉

                                  M 1 Reply Last reply 30 Nov 2023, 03:27 Reply Quote 0
                                  • M Offline
                                    MrT10001 @danfro
                                    last edited by 30 Nov 2023, 03:27

                                    @danfro said in Faulty camera:

                                    And that we try to avoid

                                    And that we do, however sometimes it's the quickest and easiest solution (backing up data beforehand of course). 😃

                                    Xiaomi Redmi Note 7.... And more...
                                    I have too many devices...

                                    V 1 Reply Last reply 30 Nov 2023, 11:47 Reply Quote 0
                                    • V Offline
                                      vince.vs @MrT10001
                                      last edited by 30 Nov 2023, 11:47

                                      @MrT10001
                                      @danfro
                                      Hello,
                                      Unfortunately I don't have the time this week.
                                      I'll get back to you next week and let you know the results of the procedures you've told me about.
                                      Have a nice weekend !

                                      1 Reply Last reply Reply Quote 0
                                      • V Offline
                                        vince.vs @danfro
                                        last edited by 3 Dec 2023, 17:13

                                        @danfro
                                        Hello,
                                        Here is what I did with the correct information from @danfro

                                        Open the terminal ( on your computer ), then adb shell

                                        After the command :
                                        sudo find /opt -iname camera
                                        you can see what is in the list in /opt ( you are in lomri )
                                        .... ( I do not recopy the detail )

                                        I did this :
                                        sudo rm -r /opt/click.ubuntu.com/camera
                                        sudo rm -r /opt/click.ubuntu.com/camera.ubports
                                        This is what appears :
                                        opt/click.ubuntu.com/.click/users/phablet/camera.ubports
                                        /opt/click.ubuntu.com/.click/users/@all/camera.ubports
                                        Here we are in (I think) the old data.
                                        ... ( I do not recopy the detail )
                                        so delete with :
                                        sudo rm -r /opt/click.ubuntu.com/.click/users/phablet/camera.ubports
                                        sudo rm -r /opt/click.ubuntu.com/.click/users/@all/camera.ubports

                                        Then reboot the phone and ...
                                        The Camera is back!

                                        Thank you, danfro for your efficiency !

                                        D 1 Reply Last reply 4 Dec 2023, 05:01 Reply Quote 0
                                        • V vince.vs marked this topic as a question on 3 Dec 2023, 17:19
                                        • V vince.vs has marked this topic as solved on 3 Dec 2023, 17:20
                                        • D Offline
                                          danfro @vince.vs
                                          last edited by 4 Dec 2023, 05:01

                                          @vince-vs Thanks a lot for your feedback. Glad I could help. 👍

                                          1 Reply Last reply Reply Quote 0
                                          7 out of 19
                                          • First post
                                            7/19
                                            Last post