ADB support on Pinephone

I have been trying to get adb to work on my Pinephone. The current UBPorts build ships adbd:

My understanding is, that "Developer mode" and switching to/back from it is taken care od by usb-moded:

This requires configuration, as documented in

My current problem is to find these configuration values for the PinePhone(s). Ideally for all editions.
I have tried looking through the forums, this is what I found:

This thread seems to end with "you shouldn't want adb anyway", but that doesn't really answer my problem: I do want to enable adb, and I think I should be able to.

I thought I might be able to pull this configuration from an AOSP image, since it seemed like the PinePhone Pro came with one pre-installed.
I have looked for it in this thread: but as mentioned in the last message, the links are now dead.

I have also looked for it in both

Neither page seems to have it. pine64-pinephone-plamo-beta-factorytest.img.xz is a postmarketOS image

So my questions are:
- Where can I look for these configuration values?
- Does anyone have an AOSP image for any of the PinePhones?
Replying to my own post after discussing this with the UBports PinePhone porting community:

ADB is not supported on the PinePhone itself, mostly because there is no need to support it.
It is very useful for Android-based systems, which includes the Halium-based ports, but the PinePhone are native Linux, so it's not necessary in their case.

The PinePhone port of Ubuntu Touch does use ADB, but not for the main Operating System: it is used to communicate with and update the *modem*'s firmware, not the main OS.

(The modem firmware can be found here:

ADB is not necessary to easily deploy apps to the PinePhone via clickable, as clickable can use SSH instead: clickable --ssh phone_ip_address

To deploy .deb packages, we use
But why do you absolutely want to use the Android debugger on a non-Android phone? There is nothing you can do with ADB that you cannot do with SSH or similar.
(09-26-2023, 05:56 PM)Kevin Kofler Wrote: But why do you absolutely want to use the Android debugger on a non-Android phone? There is nothing you can do with ADB that you cannot do with SSH or similar.

I don't anymore: that's why I replied to my own post.

It's just that it was unclear to me that clickable supported SSH for deployment.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Ubuntu Touch vs Standard Pinephone OS MarsColonist 8 6,046 06-26-2023, 07:50 AM
Last Post: gregb49
  PinePhone and PinePhone Pro 20.04 Focal Install and Update c3l@ 0 791 05-12-2023, 05:06 AM
Last Post: c3l@
  Reinstall Ubuntu Touch on PinePhone with 10 drives? Peter Gamma 4 2,966 05-24-2022, 06:42 AM
Last Post: Peter Gamma
  PinePhone UBPorts Edition stuck on PINE64 logo screen Giovanni Iannotti 4 5,036 09-01-2021, 01:20 PM
Last Post: Giovanni Iannotti
  Images won't boot past pinephone logo remington_luger 9 9,874 08-22-2021, 09:56 AM
Last Post: remington_luger
  GhostCloud workaround for PinePhone mark1250 1 3,266 08-12-2021, 02:53 AM
Last Post: Uturn
  Looks like I found a mild reason why UBPorts for pinephone hasn't seen much progress. plainenough 13 17,835 11-21-2020, 06:30 PM
Last Post: Nooblife
  "No network" on new UBPorts community edition pinephone professorsnapper 6 8,046 10-19-2020, 10:27 PM
Last Post: htc_tattoo
  Horrible energy consume on Pinephone/UB-Touch firefox-58 9 11,821 10-15-2020, 12:28 PM
Last Post: plainenough
  Pinephone 3G Bluetooth Working Pretty Well With Latest Mobian Updates rmcg 0 2,531 09-27-2020, 10:22 PM
Last Post: rmcg

Forum Jump:

Users browsing this thread: 1 Guest(s)