User Tools

Site Tools


setting_up_adb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
setting_up_adb [2026/01/24 13:11] phobossetting_up_adb [2026/05/29 13:42] (current) – fixed code blocks phobos
Line 1: Line 1:
-The [[https://developer.android.com/tools/adb| Android Debug Bridge (ADB)]] is a command-line tool that can be used to install, uninstall, and debug applications. It also may be used to transfer files and access a device shell. It also is a necessary component for tools such as [[wp>scrcpy]] or Vysor.+====== Setting up ADB ====== 
 + 
 +The [[https://developer.android.com/tools/adb| Android Debug Bridge (ADB)]] is a command-line tool that can be used to install, uninstall, and debug applications. It also may be used to transfer files and access a device shell. It also is a necessary component for [[sideloading_apps|Sideloading Apps]], [[screen_mirroring|Screen Mirroring]], and [[debloating_apps|Debloating Apps]].
  
 The stock Keitais do not come with Google Play Services, or the Play Store. Also, the phones do not come with any built in way to install apps. The stock Keitais do not come with Google Play Services, or the Play Store. Also, the phones do not come with any built in way to install apps.
Line 7: Line 9:
 ===== Setup ===== ===== Setup =====
  
-==== USB debugging ====+==== USB Debugging ====
  
 First you will need to enable USB Debugging on the phone. Go into Settings>About Phone, in here click Build Number 5 times (It will say "You are now a Developer!"). You will now have access to Developer options which will be in Settings>More Settings>Dev Options. In here find USB Debugging and enable it. Now you may make use of ADB.  First you will need to enable USB Debugging on the phone. Go into Settings>About Phone, in here click Build Number 5 times (It will say "You are now a Developer!"). You will now have access to Developer options which will be in Settings>More Settings>Dev Options. In here find USB Debugging and enable it. Now you may make use of ADB. 
  
-==== PC ADB Installation ==== +==== ADB Installation ==== 
  
-<note important>On your first interaction with the phone via ADB you will be prompted to accept the PC's fingerprint. +<note tip> 
 +On your first interaction with the phone via ADB you will be prompted to accept the PC's fingerprint. 
  
 +Consider checkmarking "always allow" on this prompt. This can make it easier to debug the phone later down the line in a situation where you are locked out. However this seems to not persist after the phone reboots.</note>
  
-**It is highly recommended to checkmark "always allow" on this prompt.** 
  
-This is so that you can debug the phone later down the line in a situation where you are locked out.</note>+=== Windows ===
  
 +== WinGet (Recommended) ==
  
-=== Windows ===+Install [[https://github.com/microsoft/winget-cli|WinGet]] (or an alternative but the command may differ). It may be installed from the Microsoft store within the [[https://apps.microsoft.com/detail/9nblggh4nns1?hl=en-US&gl=CA|App Installer]] package. 
 + 
 +After installing, open a terminal (such as Powershell) and run this command to install ADB: 
 + 
 +<code>winget install --exact Google.PlatformTools</code> 
 + 
 +You will now be able to use ADB commands from your terminal. 
 + 
 +== Manually ==
  
 First, download the [[https://developer.android.com/studio/run/win-usb|Google USB Driver]] and install it. First, download the [[https://developer.android.com/studio/run/win-usb|Google USB Driver]] and install it.
Line 29: Line 41:
 In order to do do, navigate to the folder and change the text in the address bar to "cmd", after pressing Enter you will get a terminal in the folder. You can now run ADB and Fastboot commands from the terminal. In order to do do, navigate to the folder and change the text in the address bar to "cmd", after pressing Enter you will get a terminal in the folder. You can now run ADB and Fastboot commands from the terminal.
  
-=== Linux ===+=== Mac ===
  
-Download [[https://developer.android.com/tools/releases/platform-tools|SDK Platform Tools]]After unzipping the download you may run commands using ADB from the folder+== Homebrew (Recommended)== 
 +If you use [[https://brew.sh/|Brew]], simply install the ''android-platform-tools'' packageYou will be able to use ADB from the terminal after installing.
  
-Many desktop environments support right clicking in the folder and opening it in the terminalHowever, if this is not the case for you simply navigate to the folder in the terminal+Install Brew: 
 +Open the Terminal and paste this command: 
 +<code>/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"</code>
  
-You may need to right click ADB and Fastboot and make them executable. +Install ADB
 +Run in Terminal: 
 +<code>brew install android-platform-tools</code>
  
-You can now run ADB and Fastboot commands from the terminal. You will need to prefix every command with ./. (e.g. ./adb devices). +You can now run ADB commands from the terminal.
- +
-=== Mac ===+
  
 +== Manually ==
 Download [[https://developer.android.com/tools/releases/platform-tools|SDK Platform Tools]]. After unzipping the download you may run commands using ADB from the folder.  Download [[https://developer.android.com/tools/releases/platform-tools|SDK Platform Tools]]. After unzipping the download you may run commands using ADB from the folder. 
  
-Open Terminal and type cd followed by a space. Then, drag the platform-tools folder from your Finder window directly into the Terminal window and press Enter.+Open Terminal and type ''cd'' followed by a space. Then, drag and drop the platform-tools folder from your Finder window directly into the Terminal window and press Enter.
  
 You will need to prefix every command with ./. (e.g. ./adb devices). You will need to prefix every command with ./. (e.g. ./adb devices).
  
-You may need to make ADB and Fastboot executable via terminal. (Please let us know if that is or is not the case!).+=== Linux === 
 + 
 +Use your package manager to install ADB tools, look for ''android-tools'' or similar. 
 + 
 +After installation you can now run ADB and Fastboot commands from the terminal.
  
setting_up_adb.1769289072.txt.gz · Last modified: by phobos