User Tools

Site Tools


setting_up_adb

Setting up ADB

The 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, Screen Mirroring, and 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.

Keitais bought from online sellers will sometimes preload the phones with Aurora Store or F-Droid. Otherwise, you will need to use ADB in order to install apps.

Setup

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.

ADB Installation

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.

Windows

Install WinGet (or an alternative but the command may differ). It may be installed from the Microsoft store within the App Installer package.

After installing, open a terminal (such as Powershell) and run this command to install ADB:

winget install --exact Google.PlatformTools

You will now be able to use ADB commands from your terminal.

Manually

First, download the Google USB Driver and install it.

Afterwards, download SDK Platform Tools. After unzipping the download you may run commands using ADB from the folder.

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.

Mac

If you use Brew, simply install the android-platform-tools package. You will be able to use ADB from the terminal after installing.

Install Brew: Open the Terminal and paste this command:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install ADB: Run in Terminal:

brew install android-platform-tools

You can now run ADB commands from the terminal.

Manually

Download 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 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).

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.txt · Last modified: by phobos