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

Using ADB with Fairphone 3

Scheduled Pinned Locked Moved Solved Support
fp3mirscreencastadb
5 Posts 1 Posters 843 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.
    • A Offline
      agrapheuse
      last edited by 31 Jul 2021, 10:40

      Hello everyone,

      Context: (feel free to skip)

      I am a very new user of Ubuntu Touch and I just installed the FP3 version by following those instructions.

      Thank you for your work, it works pretty well 🙂

      I tried using an usb hub and I could successfully connect both a keyboard and a mouse to the phone.

      My usb hub also has a HDMI port which I tried to connect to my monitor, unfortunately without success. (If you know of a way to workaround this issue that would be amazing)

      Therefore, I wanted to give a try to use mirscreencast and I followed those instructions.

      I would like to stream the screen to my computer using adb.

      Help needed 🙂 :
      I am unable to see my device using "adb devices". I tried following those instructions. That is, I found both the vendorId and productId using lsusb -v and added them to ~/.android/adb_usb.ini. I also enable the About>Developer Mode>Developer Mode setting.

      Any further steps I could take to try to have adb working with my device?

      My adb version is

      adb version
      Android Debug Bridge version 1.0.39
      Version 1:8.1.0+r23-5ubuntu2
      Installed as /usr/lib/android-sdk/platform-tools/adb
      

      Thank you!

      A 1 Reply Last reply 31 Jul 2021, 10:51 Reply Quote 0
      • A Offline
        agrapheuse @agrapheuse
        last edited by 31 Jul 2021, 10:51

        I actually didn't check the device page for more info.

        It seems adb not working is a known issue.

        Are there any known "workaround" 😄 or is there an issue to track this where I can cc myself?

        A 1 Reply Last reply 31 Jul 2021, 13:51 Reply Quote 0
        • A Offline
          agrapheuse @agrapheuse
          last edited by 31 Jul 2021, 13:51

          So I successfully managed to display my phone's screen through SSH using mirscreencast. However, with usb connection or through WiFi I experience a 5-7 seconds latency, which means I can't really use this to have a desktop experience. I wonder if using adb would help with the latency.

          So far, the more "desktop-like" experience I get is to put my phone in landscape mode and connect through usb my keyboard and mouse. Side-note: I noticed that sometimes the mouse does not get recognized anymore and I need to restart the phone.

          It would be really awesome if there was a way to connect a monitor, let me know if you know of a way to do so 🙂

          A 1 Reply Last reply 31 Jul 2021, 13:54 Reply Quote 0
          • A Offline
            agrapheuse @agrapheuse
            last edited by 31 Jul 2021, 13:54

            Nit: another small observation: my usb hub normally accept a usb-C charger to charge the phone. However, if I connect a usb-C charger to the usb hub, then the keyboard that is also connected to the usb hub stops working (charging works though). So I have to choose between charging or connecting a mouse and keyboard.

            A 1 Reply Last reply 31 Jul 2021, 15:18 Reply Quote 0
            • A Offline
              agrapheuse @agrapheuse
              last edited by 31 Jul 2021, 15:18

              I just tried out Anbox and it seems to be quite unstable for me. As using apps like Whatsapp is really needed for me I unfortunately will have to revert to Android so I will mark this question as fixed.

              However, I am quite impressed with Ubuntu Touch in general, keep up the good work! Once Anbox works reliably I might get back to it.

              Couple of observations:

              • In order to install UB I had first to revert to the original FP3 OS link as I had installed LineageOS before
              • As specified on the phone page, adb and camera did not work
              • SMS and mobile data worked with custom APN for internet
              • USB connection through USB hub to phone and keyboard works
              • HDMI connection to a monitor did not work for me
              • mirscreencast through ssh works but with big latency
              • Anbox was quite unstable, Whatsapp booted on a black screen and Signal booted but I could not set it up
              1 Reply Last reply Reply Quote 0
              3 out of 5
              • First post
                3/5
                Last post