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

    changing camera - not recognized

    Scheduled Pinned Locked Moved Sony Xperia X (F5121 & F5122)
    14 Posts 3 Posters 857 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.
    • DJacD Offline
      DJac @DJac
      last edited by

      journalctl -F _SYSTEMD_UNIT give me :

      NetworkManager-dispatcher.service
      bluetooth-touch.service
      bluetooth.service
      rtkit-daemon.service
      user@32011.service
      usb-rescue-mode-off.service
      lightdm.service
      upower.service
      usb-moded.service
      accounts-daemon.service
      sensorfwd.service
      systemd-logind.service
      lomiri-location-service.service
      ofono.service
      polkit.service
      NetworkManager.service
      wpa_supplicant.service
      workaround-session-migration-mtime.service
      urfkill.service
      udisks2.service
      hfd-service.service
      biometryd.service
      dbus.service
      repowerd.service
      nfcd.service
      systemd-udev-settle.service
      systemd-udev-trigger.service
      systemd-udevd.service
      systemd-resolved.service
      mount-halium-overlay.service
      init.scope
      systemd-timesyncd.service
      click-apparmor.service
      systemd-tmpfiles-setup.service
      mount-android-partitions.service
      apparmor.service
      systemd-sysctl.service
      systemd-journald.service
      enable-timesyncd-by-default.service
      usb-moded-ssh.service
      systemd-timedated.service
      usb-moded-udhcpd.service
      lxc-android-config-disable-ssh-socket.service
      boot-hooks-new-version.service
      ssh-property-migration.service
      systemd-hostnamed.service
      boot-hooks-new-release.service
      var-lib-lxc-android-rootfs-persist.mount
      var-lib-lxc-android-rootfs-dsp.mount
      var-lib-lxc-android-rootfs-firmware.mount
      android-system.mount
      android-odm.mount
      android-data.mount
      aethercast.service
      systemd-pstore.service
      var-lib-lxc-android-rootfs-odm.mount
      var-lib-lxc-android-rootfs-system.mount
      session-c1.scope
      var-lib-usermetrics.mount

      DJacD 1 Reply Last reply Reply Quote 0
      • DJacD Offline
        DJac @DJac
        last edited by DJac

        screenshot20260119_235932016.png
        is it this part ?

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          gpatel-fr @DJac
          last edited by

          @DJac

          this is an extract of dmesg yes ? not looking good at first sight.
          However, should I understand from your previous post that you reinstalled Android (8) and that the camera app crashed ? If the cam don't work under Android, there is little hope that it will work under UT since UT use Android drivers.

          DJacD 2 Replies Last reply Reply Quote 0
          • DJacD Offline
            DJac @gpatel-fr
            last edited by

            @gpatel-fr yes, extract, from dmesg.
            it indicate errors on 'CAM-SOC' but i can't understand what that mean... is it a physical probleme, or a software one ? I don't know...

            It is the fist time that i change piece in a phone. Is there any special software thing to do, to validate the change ?

            i tried to reinstall android 8. yes.
            but it is worst (the camera app won't start). So i come back UT.
            if it is not better i will try lineageOS (juste to compare... but without hope).

            G 1 Reply Last reply Reply Quote 0
            • G Offline
              gpatel-fr @DJac
              last edited by

              @DJac said in changing camera - not recognized:

              i will try lineageOS

              If the problem is my point 2 (different hardware working but not 100% compatible) it could work since it may use a different driver version, since as far as I know this OS use native drivers (not Android) to access hardware. If it's another of the 4 possible problems I enumerated, nothing you can do at the software level will change anything.

              1 Reply Last reply Reply Quote 0
              • DJacD Offline
                DJac
                last edited by DJac

                it seems that the camera is detected as dummy video device 0x0000 (app 'camera test'). is that true ?
                screenshot20260121_212437077.png
                but i can't choose it...

                G 1 Reply Last reply Reply Quote 0
                • DJacD Offline
                  DJac @gpatel-fr
                  last edited by DJac

                  @gpatel-fr said in changing camera - not recognized:

                  this is an extract of dmesg yes ? not looking good at first sight.

                  it is extract from 'dmesg | less' commande.
                  what do you mean? I personnaly don't understand (except 'error' 😅)

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gpatel-fr @DJac
                    last edited by

                    @DJac

                    Sorry but getting back to my 4 points, the only one were this is not working because of a hardware problem is 2): the new hardware is not compatible with the driver.

                    Android is (probably) not like Windows where when you pull a device from your computer and plug another in its place the system downloads another driver from the Internet: phones are not devices where you can plug and use new hardware.

                    So if the 2) point is correct, the driver installed with Android matches exactly the old camera, and not the new one. Since UT uses the Android drivers, I don't see a way forward with this camera.

                    DJacD 1 Reply Last reply Reply Quote 1
                    • DJacD Offline
                      DJac @gpatel-fr
                      last edited by

                      okay... so the vendor give me wrong material ?

                      G 1 Reply Last reply Reply Quote 0
                      • G Offline
                        gpatel-fr @DJac
                        last edited by

                        @DJac

                        I don't know what you ordered and what you received so I can't have any opinion on that.
                        Well, I'll post again the possibilities I see:

                        1) the hardware you got is defective
                        2) the hardware you got is functional, but there may be several submodels of the phone and the new camera is not 100% compatible with the previous one.
                        3) something else was damaged when the phone did fall.
                        4) there are problems with the repair.
                        

                        Whatever the reason, if you asked for the exact same model that was included in your hardware and you got another variant, the vendor has made a mistake and you can ask for a return.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post