vm03 / payload_dumper

Android OTA payload dumper
1.39k stars 305 forks source link

bsdiff4 no-longer included #12

Closed DaJakerBoss closed 3 years ago

DaJakerBoss commented 3 years ago

Upon attempting to run the script the user is alerted to the lack of bsdiff4. Installation of the module requires VS Build Tools, and installing the standalone version 14.0 a.k.a Build Tools 2015 does not allow pip to compile it with pip install bsdiff4. Would be worth adding to the README and adding instructions for compilation.

image

vm03 commented 3 years ago

I can't reproduce: pip3 install --user -r requirements.txt
Collecting protobuf==3.6.0 Downloading protobuf-3.6.0-py2.py3-none-any.whl (390 kB) |████████████████████████████████| 390 kB 906 kB/s Collecting six==1.11.0 Downloading six-1.11.0-py2.py3-none-any.whl (10 kB) Collecting bsdiff4>=1.1.5 Downloading bsdiff4-1.2.0.tar.gz (11 kB) Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (from protobuf==3.6.0->-r requirements.txt (line 1)) (49.1.3) Using legacy 'setup.py install' for bsdiff4, since package 'wheel' is not installed. Installing collected packages: six, protobuf, bsdiff4 Running setup.py install for bsdiff4 ... done Successfully installed bsdiff4-1.2.0 protobuf-3.6.0 six-1.11.0

carlonzo commented 3 years ago

yes on Ubuntu 20.10 I had to install bsdiff4 separately.

pip install bsdiff4