Let's say that I have access to the phone via serial port (edit: FTDI USB Serial Device converter). I want to install apk, so I need to have working adb connection. But I don't have an access to the touchscreen, to accept authorization dialog. Phone is also connected to the same WiFi networks as my computer. Is there a command in phone shell to accept incomming adb connection?


It looks like I don't have enable "Developer options", and what is worse there is no possibilities to activate. Is this blocker issue for authorizae adb connection?


After @Rober suggestions from comments, I have issued activity manager from shell to show developer options am start -a com.android.settings.APPLICATION_DEVELOPMENT_SETTINGS, but I'm getting message that it is not available: Error: Activity not started, unable to resolve Intent

  • What commands can you execute through that UART connection?
    – Robert
    Commented May 18, 2021 at 12:42
  • I have access to shell via UART. You mean special command in UART, or shell commands?
    – 404pio
    Commented May 18, 2021 at 12:44
  • 1
    To open developer settings directly: am start -a com.android.settings.APPLICATION_DEVELOPMENT_SETTINGS
    – Robert
    Commented May 18, 2021 at 13:25
  • 1
    Is this phone locked under some kind of MDM? Those devices usually prevent developer settings from being enabled on production mode.
    – Andrew T.
    Commented May 18, 2021 at 13:40
  • 1
    I am sorry but I don't think we can help you here. Your device seem to be a non-standard developer board or something similar as it has a serial shell access and no developer option.
    – Robert
    Commented May 18, 2021 at 13:40


You must log in to answer this question.

Browse other questions tagged .