sebaubuntu-python / dumpyara

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

platyform-tools installation error on Ubuntu-22.04 #75

Closed Aghora7 closed 5 months ago

Aghora7 commented 6 months ago

python3 -m dumpyara '/home/blackspace/Downloads/miui_FLEURINGlobal_V14.0.4.0.TKEINXM_afc380ab0b_13.0.zip' Dumpyara Version 1.0.4

Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/aghora7/.local/lib/python3.10/site-packages/dumpyara/main.py", line 11, in main() File "/home/aghora7/.local/lib/python3.10/site-packages/dumpyara/main.py", line 40, in main output_path = dumpyara(args.file, output, args.debug) File "/home/aghora7/.local/lib/python3.10/site-packages/dumpyara/dumpyara.py", line 33, in dumpyara raise RuntimeError(f"Please install {package} from your distro's repositories") RuntimeError: Please install platform-tools from your distro's repositories

Distro : Ubuntu-22.04

Shivamingale3 commented 5 months ago

I found a fix. It needs "simg2img" which is defined in script as part of platform tools. But it can be solved by installing "android-sdk-libsparse-utils". That can be done by:

sudo apt install android-sdk-libsparse-utils

This worked for me! @Aghora7

Aghora7 commented 5 months ago

@Shivamingale3 thanks I will try

Shivamingale3 commented 5 months ago

Do tell if it worked! @Aghora7

Aghora7 commented 5 months ago

Do tell if it worked! @Aghora7

it's working i removed platform-tools and included android-sdk-libsparse-utils. Now I am getting heares issues.

Shivamingale3 commented 5 months ago

Do tell if it worked! @Aghora7

it's working i removed platform-tools and included android-sdk-libsparse-utils. Now I am getting heares issues.

What do you mean, What error?