sebaubuntu-python / dumpyara

Android firmware dumper, rewritten in Python
110 stars 24 forks source link

simg2img is not part of platform-tools #98

Open lifehackerhansol opened 2 weeks ago

lifehackerhansol commented 2 weeks ago
lifehackerhansol@DESKTOP-2BFUJT3:~$ wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip
--2024-08-29 03:03:49--  https://dl.google.com/android/repository/platform-tools-latest-linux.zip
Resolving dl.google.com (dl.google.com)... 142.250.217.78, 2607:f8b0:400a:80a::200e
Connecting to dl.google.com (dl.google.com)|142.250.217.78|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7472902 (7.1M) [application/zip]
Saving to: ‘platform-tools-latest-linux.zip’

platform-tools-latest-linux.z 100%[=================================================>]   7.13M  --.-KB/s    in 0.09s

2024-08-29 03:03:49 (76.5 MB/s) - ‘platform-tools-latest-linux.zip’ saved [7472902/7472902]

lifehackerhansol@DESKTOP-2BFUJT3:~$ unzip platform-tools-latest-linux.zip
Archive:  platform-tools-latest-linux.zip
  inflating: platform-tools/NOTICE.txt
  inflating: platform-tools/adb
  inflating: platform-tools/etc1tool
  inflating: platform-tools/fastboot
  inflating: platform-tools/hprof-conv
  inflating: platform-tools/make_f2fs
  inflating: platform-tools/make_f2fs_casefold
  inflating: platform-tools/mke2fs
  inflating: platform-tools/mke2fs.conf
 extracting: platform-tools/source.properties
  inflating: platform-tools/sqlite3
  inflating: platform-tools/lib64/libc++.so
lifehackerhansol@DESKTOP-2BFUJT3:~$

Referring to the following error:

Dumpyara
Version 1.0.6

Traceback (most recent call last):
  File "/home/lifehackerhansol/.local/bin/dumpyara", line 8, in <module>
    sys.exit(main())
  File "/home/lifehackerhansol/.local/pipx/venvs/dumpyara/lib/python3.10/site-packages/dumpyara/main.py", line 43, in main
    output_path = dumpyara(args.file, output, args.debug)
  File "/home/lifehackerhansol/.local/pipx/venvs/dumpyara/lib/python3.10/site-packages/dumpyara/dumpyara.py", line 33, in dumpyara
    raise RuntimeError(
RuntimeError: You are missing simg2img, please install platform-tools from your distro's repositories
lifehackerhansol commented 2 weeks ago

I suppose this is a duplicate issue of https://github.com/sebaubuntu-python/dumpyara/issues/75, but that one really shouldn't have been closed when the error message continues to instruct users to download a package of which the installed tool isn't included with it.