SOS
✘ ildar@ildar ~/Загрузки python3 payload_dumper.py payload.bin
Traceback (most recent call last):
File "/home/ildar/Загрузки/payload_dumper.py", line 15, in
- Downgrade the protobuf package to 3.20.x or lower.
- Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates ✘ ildar@ildar ~/Загрузки
While I highly doubt this software will ever get updated to fix this problem, there is a workaround to this that I've just discovered: Python virtual environments.
If these Python modules can't be downgraded in our Linux systems, then we can make an environment that will install older versions of the same modules required for this to work.
As taken from the waydroid_script instructions (be sure to do this within the payload_dumper folder):
python3 -m venv venv
venv/bin/pip install -r requirements.txt
venv/bin/python3 payload_dumper.py /location/of/your/payload.bin
For my current system in Arch Linux, this is the solution that has solved this issue for me. Give it a try!