About Kepotek

Kepotek is an Indonesian technology blog covering Android tips and tricks, smartphone reviews, gadget comparisons, games, app reviews, Windows, and general tech news. Articles are written by contributors including Micael Freddy, Lina Liyana, and Yogi Loka, spanning topics from device specifications to blogging how-tos.

Content is organized across dedicated sections so readers can jump straight to smartphone specs, gadget comparisons, or game guides depending on what they're curious about.

What You'll Find

B

Blog

General tech articles, how-to guides, and posts on blogging, SEO, and web hosting.

G

Games

Game reviews and guides, including a dedicated section for State of Survival.

N

News

Technology news covering gadgets, smartphones, and industry updates.

C

Comparisons

Side-by-side gadget and smartphone comparisons to help with purchase decisions.

Installing and Using adb and Fastboot for Android Development

Android development gets far more practical when the device in your hand can be driven from a terminal rather than poked at by hand. Two command line tools make that possible: adb, the Android Debug Bridge, and fastboot, its bootloader level companion. Both ship inside Google's Android SDK Platform-Tools package, a download of a few megabytes that runs on Windows, macOS and Linux.

For developers in Australia, this is the standard route for sideloading a debug build, pulling a logcat from a Samsung or Oppo handset bought through JB Hi-Fi or Harvey Norman, and pushing a fresh APK to a test device without rebuilding the project. It is also the quickest way to capture a bug report when a customer in Adelaide describes a crash that never reproduces on your emulator.

The two tools do different jobs, and mixing them up causes most first day frustration. adb talks to a running Android system and can install apps, open a shell, forward ports and stream logs. fastboot communicates with the device before the operating system loads, which makes it capable of unlocking a bootloader or reflashing a partition, and equally capable of leaving you with an unbootable phone if you rush.

None of this costs money, and the setup takes about ten minutes on a modern laptop. You will need a USB-C cable that carries data (the charge-only lead in the box often does not), a phone with developer access, and patience for the RSA fingerprint prompt that appears on first connection.

What adb and Fastboot Actually Do

adb runs as a client and server pair. The server listens on port 5037 on your computer, while the phone-side adbd daemon accepts commands over the USB cable or a TCP connection. Because the protocol is stable and documented, the same command works from a PowerShell prompt in Brisbane, a macOS Terminal window or a Linux shell.

Anything you would normally do by tapping can be scripted through adb. Install or remove an APK, push a file into internal storage, pull a screenshot off the display, run a shell command as the shell user, and read logcat output while a crash happens. Port forwarding and adb reverse let an app on the phone reach a development server on your laptop, which matters when the app expects a backend at localhost:3000.

fastboot operates one level earlier, inside the bootloader. It can unlock the bootloader on devices that allow it, flash boot, recovery and vendor images, sideload a full OTA package and reboot into recovery. Android 10 and later also expose a fastbootd mode that extends fastboot commands to the running system when a full flash is too heavy-handed. Flashing a partition rewrites it, so the wrong image for the wrong model can end the device's usefulness.

Installing the Tools on Windows, macOS and Linux

On Windows, download the platform-tools zip from Google's developer site, extract it to a short path such as C:\platform-tools, and add that folder to your PATH environment variable. Path length trips up some older tooling. Windows also needs a vendor USB driver for certain devices, so if adb devices reports nothing while Device Manager shows an unknown Android device, install the driver supplied by the phone maker rather than a generic one off the internet.

On macOS, Homebrew handles everything with brew install --cask android-platform-tools, which keeps the tools current during brew upgrade. If you prefer the manual zip, Gatekeeper may quarantine the downloaded binaries, so run xattr -d com.apple.quarantine on the adb and fastboot files. Recent macOS releases also ask you to tap Allow accessory to connect when the phone appears on USB, a prompt worth reading rather than dismissing.

Linux users can install adb from the distribution repository with sudo apt install adb, though the packaged version often trails Google's release and misses newer fastbootd features. On Ubuntu and Debian the safer route is still the manual zip plus a udev rule, then add your account to the plugdev group and log back in so permission prompts stop appearing.

Check the installation with adb version and fastboot --version, and keep only one copy of the tools on your machine. Android Studio ships platform-tools through the SDK Manager, and mixing the Studio copy with an older folder in your PATH produces conflicting errors that look like a broken phone.

Preparing Your Android Device for Command Line Work

Open Settings, tap About phone, then tap Build number seven times until developer options appear. Inside developer options switch on USB debugging, and on Pixel devices also switch on OEM unlocking if you plan to unlock the bootloader later. You will be asked for the phone PIN at this stage, so know it before you start.

Connect the cable while the screen is unlocked, choose File transfer for the USB mode, and accept the Allow USB debugging prompt by confirming the fingerprint shown on screen. That prompt is a security boundary, so only tick it on a computer you control. On Android 11 and later you can skip the cable entirely with Wireless debugging, which pairs over your home Wi-Fi using a one-time code.

Work phones are a common snag here. Enterprises across Australia run device policies through Microsoft Intune and similar mobility management platforms, and those policies can hide developer options completely on a handset issued under a Telstra or Optus corporate account. A managed device may also refuse unsigned installs, so test on a personal handset or the bundled emulator instead. If collected logs contain customer details, the Privacy Act 1988 and the Australian Privacy Principles still govern where that data travels.

A Practical Command Reference for Daily Work

These commands cover most of a development day, from installing builds to pulling crash data off a phone.

Everyday adb commands

Fastboot commands for flashing and recovery

Keep a short script of these commands in your project notes, because running the same sequence from memory is how a typo turns into a reflash at midnight.

Diagnosing the Problems Everyone Hits

If a device shows as unauthorized, the phone is holding a stale key. Reopen developer options, tap Revoke USB debugging authorizations, unplug and reconnect so the fingerprint prompt returns. Offline usually means the transport dropped, so try adb kill-server followed by adb start-server, change the USB port, or connect directly instead of through a hub. Charge-only cables are the quiet cause of half these symptoms.

Windows deserves its own checks: confirm the driver under Device Manager, avoid the USB 3 hub on the left edge of some laptops, and make sure no corporate endpoint agent is scanning the adb process. On macOS, both the accessory prompt and the privacy approval under System Settings must be granted. On Linux, missing udev rules leave the phone visible while every command returns permission denied. ACSC guidance on securing mobile devices, published through the Australian Signals Directorate, is a sensible reference for fleet policy.

Fastboot trouble follows a predictable pattern. If fastboot devices is empty, the phone may still be running Android, so reboot it into the bootloader using the key combination in your manual, or check that the lead carries data. Keep the battery above fifty percent before flashing, back up your photos, and remember that unlocking the bootloader wipes the device. Samsung honours unlock requests only after a waiting period of several days, and some brands lock the bootloader permanently, so check your model's policy before planning around unlocked images.

Start small: install platform-tools, connect a spare handset, and run adb devices before you need it. The first successful handshake teaches you more about your phone than an afternoon of documentation, and it is the foundation every later tool builds on.

Then keep digging. Kepotek's broader Android tips collection covers device maintenance, app recommendations and hardware comparisons for the Australian market, and subscribing brings the next guide to your inbox on the morning you need it.