Using ADB with Fairphone 3
-
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 usinglsusb -v
and added them to~/.android/adb_usb.ini
. I also enable theAbout>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!
-
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?
-
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
-
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.
-
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