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

    How to: test GStreamer-droid based camera support in Ubuntu Touch (for Halium 7.1 based port)

    Scheduled Pinned Locked Moved OS
    119 Posts 31 Posters 41.7k Views 13 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.
      • S Offline
        Stef7773 @Luksus
        last edited by

        @Luksus Screenshot from 2020-07-19 19-48-15.png
        my version is armhf can i do it with the open store ? and how ? I m sorry, is my first time doing this with ubuntu touch. I have experience with linux mint but this is harder i think.

        LuksusL 1 Reply Last reply Reply Quote 0
        • S Offline
          Stef7773 @peat_psuwit
          last edited by

          @peat_psuwit Hello. I did what you write on the post but I' m getting an error: Fatal error: Could not find package(s)

          Should i do this in fastboot mode (blue light) or adb mode (green light) or neither ? what can i do ? help please.

          Screenshot from 2020-07-20 01-21-15.png

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

            @Stef7773 if you downloaded it to your phone, you can browse to to the download folder with the Filebrowser app.
            Then tap on the file. It should provide the option to open the click-file with the Openstore app.

            But as @Flohack already said: to use this app version, you need to have installed the gst-droid patch, as described in the first post.

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

            1 Reply Last reply Reply Quote 0
            • S Offline
              Stef7773
              last edited by

              Yes i understand what you are saying. But i dont know how to install the gst-droid patch. i get a fatal error. Maybe im doing it in the wrong cause i get this message:
              sudo umount /lib/udev/rules.d/70-android.rules
              [sudo] password for stefano:
              umount: /lib/udev/rules.d/70-android.rules: no mount point specified.

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

                @Stef7773 Maybe your port has mounted this folder in a different location, what does mount | grep android.rules give you

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

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

                  @Luksus Thank you for bringing the version issue to my attention. I've rebased and released the new version based on version 3.1.3 (with version bump, of course). Also, I've also switched to GitLab-hosted link. Please report any problem on downloading the app!

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    carrabelloy @peat_psuwit
                    last edited by

                    This post is deleted!
                    LakotaubpL 1 Reply Last reply Reply Quote 0
                    • LakotaubpL Offline
                      Lakotaubp @carrabelloy
                      last edited by

                      @carrabelloy Please remember that you have been informed numerous times about the forum rules. Please provide a translation at the very least or this post will be removed.

                      C 1 Reply Last reply Reply Quote 0
                      • C Offline
                        carrabelloy @Lakotaubp
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          Stef7773 @flohack
                          last edited by

                          @Flohack said in How to: test GStreamer-droid based camera support in Ubuntu Touch (for Halium 7.1 based port):

                          mount | grep android.rules

                          Hi. I think i don t have anything for udev rules. Should i put something here ?
                          Screenshot from 2020-07-20 17-10-31.png

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

                            @Stef7773 No, please execute the command as I wrote it mount | grep android.rules

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

                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              Stef7773 @flohack
                              last edited by

                              @Flohack Hello again. I tried everything and nothing happens. I also did in fastboot mode and adb and nothing happens. I m sorry. Screenshot from 2020-07-21 15-01-17.png

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

                                You are running this on your host still.
                                You need to connect to your phone or use terminal-app.

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

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  Stef7773 @flohack
                                  last edited by

                                  @Flohack Thank you. Can you show me how to connect to my ubuntu touch phone ? Should I use my phone terminal ? or computer terminal ?

                                  Can you write me nice commands to setup my phone please ? so i can have the camera working.

                                  Is my first time with ubuntu touch, thanks for your patience.

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

                                    @Stef7773 the best thing is to connect it via a USB cable, and then do an ssh phablet@10.15.19.82 and see if that works - password should be your pincode.

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

                                    S 1 Reply Last reply Reply Quote -1
                                    • S Offline
                                      Stef7773
                                      last edited by Stef7773

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        Stef7773 @flohack
                                        last edited by

                                        @Flohack Hello, i have already connected via USB cable and then i run what you send me but when i put the password it doesn t work, i get a message. Screenshot from 2020-08-04 23-20-18.png

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

                                          Hello @Stef7773 see the documentation about how to enable SSH access on your phone: http://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            Stef7773 @Fla
                                            last edited by

                                            @Fla Hello, thank you. But i still having problems. this time:
                                            ~$ ssh phablet@192.168.0.102
                                            ssh: connect to host 192.168.0.102 port 22: Connection refused

                                            But i check it and everything seems right: ssh service is up etc...
                                            Why i have a Connection refused ?

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

                                              @Stef7773 add -v to the ssh command to make it verbose and be able to debug. Also, we're pretty off-topic there, maybe you want to join the Telegram group to have real time support and not pollute that topic?

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