• Website
  • Server status
  • API documentation
  • Blog
Telegram Icon Community
EN
Русский
Português
English
中文 (中国)
Tiếng Việt
Sign in Start free
  • Website
  • Server status
  • API documentation
  • Blog
  • Community
  • English (US) Русский Português English 中文 (中国) Tiếng Việt
Log in View Plans

Basic automation with CLI

Use the command line to automate browser profiles, launch sessions, and execute tasks efficiently.

search icon

Try a different keyword or check for typos. If you still need help, contact support.

  • Getting started with Multilogin automation
  • Basic automation with CLI
  • Low-code automation with Postman
  • Script runner & predefined scripts
  • Puppeteer, Selenium, and Playwright
  • Custom Python scripts
  • Quick solutions with Developer Tools
  • External automation tools
  • Home
  • breadcrumb separator bar
  • Explore features
  • breadcrumb separator bar
  • Efficient task automation with API
  • breadcrumb separator bar
  • Basic automation with CLI
  • breadcrumb separator bar
  • How to use ADB with cloud phones using CLI

How to use ADB with cloud phones using CLI

Written by Anton L ( Updated on August 27th, 2026 )

Updated on August 27th, 2026

You can use CLI with ADB to connect to and control Android cloud phones from your terminal. This helps you run commands, automate workflows, and manage cloud phones without relying only on manual actions in the app.

ADB (Android Debug Bridge) is a tool that lets your computer communicate with an Android device. In Multilogin, you can use ADB with cloud phones running Android 11 or later.

Before using CLI to run cloud phones, launch the app. 

 

Keep in mind: ADB requires a cloud phone running Android 11 or later. It is not compatible with Android 10.

 

Who can use this feature?

  • 👨‍💻 Account owner and manager
  • 💰 Available on all paid plans
 

Step 1: launch CLI

Open CLI before you start working with cloud phones. You can open it from the app folder or your computer terminal. Follow the article for more details: How to start working with CLI. Also look for the following article: How to use CLI commands for cloud phones.

Step 2: log in to authenticate

To get your API token, log in to your account using the login command. Select your OS and follow the instructions below.

Windows

  1. Paste this prompt to log in: 
    xcli login --username 'your username' --password 'your password'
  2. Replace values of the flags  (--username and --password) with your email and password
 
 

macOS

  1. Paste this prompt to log in: 
    ./xcli login --username 'your username' --password 'your password'
  2. Replace values of the flags  (--username and --password) with your email and password
 
 

Linux

  1. Paste this prompt to log in: 
    ./xcli login --username 'your username' --password 'your password'
  2. Replace values of the flags  (--username and --password) with your email and password
 
 

Step 3: type the command and flags

  1. Copy the ID of your cloud phone, you can find it via the following command:
    1. Windows:
      cli mobile-profiles-phone-list
    2. macOS/Linux:
      ./xcli mobile-profiles-phone-list
  2. Launch the profile:
    1. Windows:
      cli mobile-phone-launch <ID>
    2. macOS/Linux:
      ./xcli mobile-phone-launch <ID>

If you want to launch cloud phones without opening the graphical interface, use this command instead:

mobile-profiles-phone-start
 
  1. After the cloud phone has finished loading, enable ADB for the cloud phone:
    1. Windows:
      cli mobile-profiles-adb-set --ids <ID> --enable
    2. macOS/Linux:
      ./xcli mobile-profiles-adb-set --ids <ID> --enable
  2. Type the following command to copy info for ADB access via terminal:
    1. Windows:
      cli mobile-profiles-adb-info --ids <ID>
    2. macOS/Linux:
      ./xcli mobile-profiles-adb-info --ids <ID>

Save the IP, port, and pwd values. You will need them to connect through ADB.

Step 4: connect from your terminal

Copy the values from the previous step and use them with the commands below.

  1. Copy the connection command – it'll look like this: 
    adb connect IP:port
  2. Run the command in the terminal – you’ll see a message: connected to IP:port
  3. Copy the authentication command – it'll look like this:
    adb -s IP:port shell glogin pwd
  4. Run the command in the terminal – you’ll see a message: glogin success

After authentication, you can run ADB commands on your cloud phone. If you work with several cloud phones at the same time, always include this part: -s IP:port. 

Keep the cloud phone running while you use ADB. If you stop the cloud phone, ADB turns off automatically, and the old connection command will stop working.

 

FAQ

Why cannot I connect to ADB?

Check that:

  • Your cloud phone is running
  • The Android version is 11 or later
  • You enabled ADB for this phone

Does ADB work after I stop my cloud phone?

No. ADB disconnects automatically when the cloud phone stops.

Can I control multiple cloud phones?

Yes. Add -s IP:port to your commands to select a specific cloud phone.

  • Learn more about CLI commands: How to use CLI commands for cloud phones
  • Learn how to automate cloud phone workflows: How to automate Pinterest posting on cloud phones with Appium

Was this article helpful?

Give feedback about this article

In this article

  • Step 1: launch CLI
  • Step 2: log in to authenticate
  • Step 3: type the command and flags
  • Step 4: connect from your terminal
  • FAQ
  • Why cannot I connect to ADB?
  • Does ADB work after I stop my cloud phone?
  • Can I control multiple cloud phones?

Multilogin community

Stay informed, share your thoughts, and engage with others!

Telegram Icon Join us on Telegram

Read more on the topic

10 Best Datacenter Proxies for Web Scraping (2025 Edition) Apr 2, 2025 5 min read Google SERP Img

What is a Google SERP Proxy and Why Should You Care?

Apr 1, 2025 6 min read
UK Proxy Img

What Are Dedicated UK Proxies? Everything You Need to Know

Apr 1, 2025 6 min read
Related Article Title Icon

Related articles

  • How to use ADB (Android Debug Bridge) in cloud phones
  • How to create cloud phones via CLI
  • How to use CLI commands for cloud phones

Mobile

  • Cloud phone
  • Virtual phone
  • Remote phone
  • Phone farming
  • Cloud cell phone
  • Cloud Android emulation
  • AI Quick Action Automation

Multi-accounting

  • Multiple Instagram accounts
  • Multiple Tiktok accounts
  • Multiple Reddit accounts
  • Multiple Telegram accounts
  • Multiple Facebook accounts
  • Multiple Youtube accounts
  • Multiple LinkedIn accounts

COMPARISON

  • Multilogin vs. MoreLogin
  • Multilogin vs. FlashID
  • Multilogin vs. DuoPlus
  • Multilogin vs. VMOS cloud
  • Multilogin vs. Octo Browser
  • Multilogin vs. AdsPower
  • Multilogin vs. GoLogin

Platform proxies

  • Mobile proxy
  • Reddit proxy
  • Instagram proxy
  • TikTok proxy
  • Facebook proxy
  • Youtube proxy
  • LinkedIn proxy

USECASES

  • Cloud phones for Tiktok
  • Cloud phones for Instagram
  • Cloud phones for Reddit
  • Cloud phones for Facebook
  • Cloud phones for Youtube

RESOURCES

  • Knowledge base
  • API documentation
  • Glossary
  • Academy
  • Blog
  • Server status
  • Release notes

FREE TOOLS

  • YouTube views to money calculator
  • Instagram money calculator
  • Online URL to text converter
  • Google local SERP checker
  • Random address generator

GET IN TOUCH

  • Contact 24/7 support
    [email protected]
  • Referral program
  • Affiliate program
  • Pricing page
  • Careers
GDPR Compliant

© 2026 Multilogin. All rights reserved.

  • Privacy policy
  • Terms of service
  • Cookie policy
Multilogin watermark
  • MOBILE

    • Cloud phone
    • Virtual phone
    • Remote phone
    • Phone farming
    • Cloud cell phone
    • Cloud Android emulation
    • AI Quick Action Automation
  • MULTI-ACCOUNTING

    • Multiple Instagram accounts
    • Multiple Tiktok accounts
    • Multiple Reddit accounts
    • Multiple Telegram accounts
    • Multiple Facebook accounts
    • Multiple Youtube accounts
    • Multiple LinkedIn accounts
  • COMPARISON

    • Multilogin vs. MoreLogin
    • Multilogin vs. FlashID
    • Multilogin vs. DuoPlus
    • Multilogin vs. VMOS cloud
    • Multilogin vs. Octo Browser
    • Multilogin vs. AdsPower
    • Multilogin vs. GoLogin
  • PLATFORM PROXIES

    • Mobile proxy
    • Reddit proxy
    • Instagram proxy
    • TikTok proxy
    • Facebook proxy
    • Youtube proxy
    • LinkedIn proxy
  • USECASES

    • Cloud phones for Tiktok
    • Cloud phones for Instagram
    • Cloud phones for Reddit
    • Cloud phones for Facebook
    • Cloud phones for Youtube
  • RESOURCES

    • Knowledge base
    • API documentation
    • Glossary
    • Academy
    • Blog
    • Server status
    • Release notes
  • FREE TOOLS

    • YouTube views to money calculator
    • Instagram money calculator
    • Online URL to text converter
    • Google local SERP checker
    • Random address generator
  • GET IN TOUCH

    • Contact 24/7 support
      [email protected]
    • Referral program
    • Affiliate program
    • Pricing page
    • Careers
GDPR Compliant
  • Privacy policy
  • Terms of service
  • Cookie policy

© 2026 Multilogin. All rights reserved.

Expand