Install ADB on HTC EVO 4G for Rooting
In this article
Installing ADB (Android Debug Bridge) on your HTC EVO 4G is the first step to rooting the phone. ADB lets your computer talk to your phone, so you can push files, run commands, and eventually flash a custom recovery. This guide walks you through setting up ADB on Windows, macOS, or Linux, and then connecting your EVO 4G so it's ready for rooting. You'll need a USB cable, a computer, and about 15 minutes. No prior command-line experience is required, but you should be comfortable following simple prompts.
What You'll Need
- HTC EVO 4G (any variant: EVO 4G, EVO 4G LTE, etc.) – make sure it's charged above 50%.
- USB data cable that fits your phone (micro-USB for the original EVO 4G).
- A Windows, macOS, or Linux computer with an available USB port.
- Internet connection to download the platform tools.
- Enable USB debugging on the phone – we'll show you how below.
Step-by-Step
- Enable Developer Options on your phone. On the EVO 4G (Android 2.3 or 4.0), go to Settings > Applications > Development and check the box for USB debugging. If you have a later version with Android 4.2+, go to Settings > About phone and tap Build number seven times to unlock Developer Options, then go to Settings > Developer options and enable USB debugging. The exact menu names can differ slightly by Android version, but the option is always there.
- Download the platform-tools. On your computer, go to the official Android developer website (developer.android.com) and download the command-line tools for your operating system. Look for the section that says "Command line tools only" – download the ZIP file. Do not use third-party download sites; stick to the official source.
- Extract the ZIP. Unzip the downloaded file to a folder you can easily find, like
C:\adbon Windows, or~/adbon Mac/Linux. The folder will containadb.exe(Windows) oradb(Mac/Linux). - Open a terminal/command prompt in that folder.
- Windows: Hold Shift and right-click inside the folder, then choose "Open PowerShell window here" or "Open command window here". If that option isn't available, open Command Prompt and type
cd C:\adb(replace with your path). - macOS/Linux: Open Terminal and type
cd ~/adb(or your path).
- Windows: Hold Shift and right-click inside the folder, then choose "Open PowerShell window here" or "Open command window here". If that option isn't available, open Command Prompt and type
- Verify ADB is installed. Type
adb versionand press Enter. You should see something likeAndroid Debug Bridge version 1.0.41. If you get an error, check that you're in the right folder and that the file name is correct. - Connect your phone to the computer. Plug the USB cable into your phone and then into the computer. On your phone, you may see a notification about USB connection – choose Charge only or File transfer (either works for ADB).
- Authorize the connection. On your phone, a dialog will appear asking "Allow USB debugging?" Check the box for "Always allow from this computer" and tap OK. If you don't see this dialog, check the notification bar and tap the USB debugging notification.
- Test the connection. In the terminal, type
adb devicesand press Enter. You should see a list with your device's serial number and the statusdevice. If you seeunauthorized, re-check the authorization prompt on your phone. If you seeoffline, unplug and replug the cable. - Your phone is now ready for rooting. With ADB working, you can proceed to the next step of your rooting guide (e.g., flashing a custom recovery, using a one-click root tool, or pushing a root package). This guide only covers ADB installation; the rooting method depends on your phone's model and Android version.
Common Mistakes
- USB debugging not enabled: The most common mistake is skipping this. Without it, ADB won't see your phone.
- Wrong USB mode: Some phones default to "Charge only" which can sometimes hide the ADB interface. Switch to "File transfer" (MTP) if you have issues.
- Using the wrong folder: Typing
adbwhile not in the platform-tools folder yields an error. Always run ADB from the extracted folder, or add it to your PATH (advanced). - Driver issues on Windows: Windows may not have the correct USB driver. Install the HTC USB driver from HTC's official support page if you get a driver error.
- Not authorizing the RSA key: On newer Android versions, you must tap "Allow" on the phone. Missing that leaves the device listed as
unauthorized.
Tips
- Use a short, high-quality USB cable. Long or damaged cables often cause connection drops.
- Keep the terminal window open – you'll need it for the rooting commands.
- If you're on Windows, you can add the platform-tools folder to your PATH environment variable so you can run
adbfrom anywhere. This is optional but convenient. - Back up any important data before rooting, as rooting can wipe your phone.
- Make sure your phone's battery is above 50% to avoid interruptions during the rooting process.
Troubleshooting
If adb devices shows nothing or says "device not found":
- Re-check that USB debugging is enabled (Step 1).
- Try a different USB port (preferably directly on the computer, not a hub).
- Unplug and replug the cable, and re-authorize the prompt.
- On Windows, open Device Manager and look for any device with a yellow exclamation mark. If you see one, install the HTC USB driver from HTC's official site.
- Restart both the phone and the computer, then try again.
If the connection keeps dropping:
- Try a different cable.
- Disable any battery-saving apps that might interfere with USB.
- In the terminal, run
adb kill-serverthenadb start-serverto restart the ADB service.
If you get a "permission denied" error on Linux/macOS:
- Run the ADB command with
sudo(e.g.,sudo ./adb devices) – but be aware thatsudomay change the environment; alternatively, add a udev rule for your device (search for "HTC udev rules" online).
Frequently Asked Questions
Do I need to root my phone to install ADB?
No. ADB works on unrooted phones. In fact, you install ADB before rooting – it's a tool to help you root.
Can I install ADB on a Chromebook?
Yes, but it's more complicated. You'd need to enable Linux (Crostini) on the Chromebook, then install ADB via the Linux terminal. The steps above assume a standard OS.
What if my phone doesn't show the "Allow USB debugging" prompt?
Make sure you've enabled USB debugging in Developer Options. If it still doesn't appear, unplug the cable, disable and re-enable USB debugging, then reconnect.
Is it safe to download ADB from any website?
No. Only download from the official Android developer site (developer.android.com). Third-party sites may bundle malware or outdated versions.
Will installing ADB void my warranty?
Installing ADB alone doesn't void your warranty. However, rooting (which you'll do after) typically does, and it may also prevent OTA updates.
Can I use ADB over Wi-Fi instead of USB?
Yes, but it's more advanced and requires the phone to be rooted or have a special setup. For rooting, USB is more reliable, so stick with the cable.