warelop.blogg.se

Linux install adb and fastboot
Linux install adb and fastboot







  1. Linux install adb and fastboot how to#
  2. Linux install adb and fastboot zip file#
  3. Linux install adb and fastboot full#
  4. Linux install adb and fastboot download#

  • Save the file and exit the text editor.
  • Move the cursor to the very end of the file and enter the following, replacing the folder with the path you copied: export PATH=”$HOME/folder/bin:$PATH”.
  • Open Terminal through Spotlight or Applications/Utilities, and enter this command to open your Bash profile in your default text editor: touch ~/.bash_profile open ~/.bash_profile.
  • Select OK a few times until you get out of System Properties.įollow these steps to edit the PATH file in macOS or Linux:.
  • Without any spaces, right-click and paste your folder path there. If there are other paths already in the box, go to the very far right side and put a semicolon at the end. For older versions of Windows, right-click in the Variable value text box and paste the path.
  • Choose New (Windows 11) and paste the path you copied earlier.
  • Locate the bottom area labeled System variables, and find the variable named Path.
  • In the System Properties window, choose Environment Variables at the bottom of the Advanced tab.
  • Linux install adb and fastboot how to#

    Here's how to open the Edit System Variable screen in Windows so that the path you copied can be setup as a PATH system variable: The path should instantly become highlighted.Įdit the PATH System Variable (Windows 11).

  • Use Ctrl+L to move the focus to the navigation bar.
  • Open the platform-tools folder so that you can see the other folders and files inside it.
  • linux install adb and fastboot linux install adb and fastboot

  • Click and drag to select the path next to Where so that it's highlighted.
  • Use Command+i to open the Get Info window for that folder.
  • When the path to the open folder is highlighted, right-click and copy it, or use Ctrl+C.
  • You can alternatively use the Alt+D keyboard shortcut o quickly move the current focus to the navigation bar and automatically highlight the folder path.

    linux install adb and fastboot

    At the top of the window, select an empty space next to the path.Open the folder so that you can see the contents inside it.Open the folder where you extracted the platform-tools folder.The easiest way to do this is to first copy the path to the folder: This requires the path to the folder from the previous step to be set up as an environment variable. You can use 7-Zip or PeaZip instead if you'd rather not use these Terminal commands or they're not working for you.īefore you start using ADB, you want to make sure that it's easily accessible from the command line. If the unzip utility isn't installed, run this command:

    Linux install adb and fastboot full#

    If that's not the case, you need to modify the platform-tools-latest-linux.zip path to include the full path to the ZIP file.

    Linux install adb and fastboot zip file#

    The best way to do this is to open Terminal at the folder where the ZIP file resides. Unzip platform-tools-latest-linux.zip -d destination_folder Linux users can use the following Terminal command, replacing destination_folder with whatever folder you want the platform-tool folder to end up in.

  • You're welcome to move this folder anywhere you like, or you can keep it where it's at.
  • A new folder should appear called platform-tools.
  • Open the ZIP file to immediately have the contents extracted to the same folder you're in.
  • The folder you chose in Step 1 should open and show the platform-tools folder that was extracted from the ZIP file you downloaded earlier.
  • linux install adb and fastboot

    Select Extract to save the files there.Put a check in the box next to Show extracted files when complete.We've chosen the root of the C: drive, in a folder called ADB. When asked where to save the file, like you see in the image above, pick a folder that's appropriate for ADB to stay, not somewhere temporary like a downloads folder or somewhere that's easily cluttered like the desktop.Right-click the ZIP file and choose the extract option, called Extract All in some versions of Windows.Your operating system has built-in tools that can do this for you, but another option is to open it with a file extraction utility.

    Linux install adb and fastboot download#

    Go to whatever folder it is that you saved the download to, and extract the contents of the ZIP file.









    Linux install adb and fastboot