Skip to content

Commit 33643a6

Browse files
committed
Use the lastest versions of adb, fastboot and libusb
1 parent f7214d5 commit 33643a6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ poetry:
1616
curl -sSL https://install.python-poetry.org | python3 -
1717

1818
install:
19+
rm poetry.lock
20+
rm -rf openandroidinstaller/bin
1921
poetry install --with dev
2022
poetry run python scripts/download-tools.py
2123
poetry run pre-commit install

scripts/download-tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def download_adb_fastboot(platform: str):
2929
if platform == "win32":
3030
platform = "windows"
3131
logger.info(f"Download adb and fastboot for {platform}...")
32-
url = f"https://dl.google.com/android/repository/platform-tools_r35.0.1-{platform}.zip"
32+
url = f"https://dl.google.com/android/repository/platform-tools_r35.0.2-{platform}.zip"
3333
# Downloading the file by sending the request to the URL
3434
response = requests.get(url, allow_redirects=True)
3535

@@ -59,7 +59,7 @@ def download_heimdall(platform: str):
5959
def download_libusb(platform: str):
6060
"""Download libusb-1.0, extract the 7z and save to file."""
6161
logger.info(f"Download libusb-1.0 for {platform}...")
62-
url = "https://github.com/libusb/libusb/releases/download/v1.0.24/libusb-1.0.24.7z"
62+
url = "https://github.com/libusb/libusb/releases/download/v1.0.27/libusb-1.0.27.7z"
6363
# Downloading the file by sending the request to the URL
6464
response = requests.get(url, allow_redirects=True)
6565

0 commit comments

Comments
 (0)