قالب وردپرس درنا توس
Home / Tips and Tricks / To open an ADB or Fastboot command window in the right-hand directory «Android :: Gadget-Hacks

To open an ADB or Fastboot command window in the right-hand directory «Android :: Gadget-Hacks



When it comes to rooting and modifying Android devices, ADB and Fastboot commands quickly become your two new best friends as soon as you know what options they have. From unlocking your boot loader to flashing any desired file – if you're serious about your modding and customization game, you should familiarize yourself with these commands as soon as possible.

The good news is that the process has been much less involved in recent years, making it much easier for you to learn. After setting up the folder where you can type ADB and Fastboot command-line code, anything else is a breeze-whether you're using Windows, Mac, or Linux. In this guide, I'll show you how to set up your command window so you can use the commands on your device right away.

Step 1
: Install ADB and Fastboot on Your Computer

Before You Begin Using ADB and Fastboot Commands You Need Google's "SDK Platform Tools". It's a zipped folder that contains all the basics of setting up the commands – without having to install any fancy development kits or additional software, making it easy to set up.

Follow the instructions in The link below shows you how to set up and run the command-line environment on a Mac, Windows or Linux computer. Once you've set up ADB and Fastboot and are working on your computer, you can proceed to the next step of this guide.

Step 2: Copy the Platform Tools Path

Now go to the folder where the folder is located You have extracted the platform tools ZIP. Open the Platform Tools folder itself and copy it from the address bar at the top of the window. If you have problems copying the folder to macOS Mojave, open the folder "platform-tools" in the Finder and then press cmd + opt + P to toggle the Overlay of the path bar. Then right-click on the "Platform Tools" section at the bottom of the window and select "Copy as pathname".

Step 3: Open a Command Window

Now you must locate the Command Prompt or Terminal Application for your operating system. On Windows, open the Start menu (Windows key), do a quick "cmd" search, and press Enter to open the command prompt. For Linux and Mac systems, you want to open the Terminal program, which is located in the Applications folder.

Step 4: Change directories to the Platform Tools folder

Now your command line or terminal application is in progress When you run it, you must redirect it to point to your Platform Tools folder.

Type "cd" (without quotation marks) followed by a space, and then paste the path you copied from the folder Platform Tools folder. When you have pasted the copied location, press Enter to move the terminal to the correct directory so that you can use ADB and fastboot commands for the first time. They are done!

If you are using a Windows computer, there is an easier way to keep it as simple as possible. Instead of opening the command window and manually inserting it into the location of your Platform Tools folder, you can save an extra step with this next tip. Open the Platform Tools folder, hold down the Shift key on the keyboard, and right-click on any space in the folder to bring up a menu.

If you're working on Windows 10 or 8, an option called "Open the PowerShell window here." However, if you are running Windows 7, "Open command window here" appears. Select the option that matches your version of Windows and the command line window will open. The command window path should already point to the platform tools folder – done! This method works with every folder you want to run, so it's especially useful to know.

Cover image and screenshots of Stephen Perkins / Gadget Hacks and Dallas Thomas / Gadget Hacks

Source link