sebaubuntu-python / dumpyara

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

Segmentation fault #74

Closed BotchedRPR closed 5 months ago

BotchedRPR commented 6 months ago

Oppo Reno Z firmware, decrypted with oppo_ozip_decrypt

Can unpack other images.

python -m dumpyara /home/whatever/Downloads/CPH1979EX_11_OTA_1340_all_PzGccu2J0Daq.zip -o out
Dumpyara
Version 1.0.2
[INFO] Step 1 - Extracting archive
[INFO] Step 2 - Preparing partition images
[INFO] Pattern *payload.bin* not found
[INFO] Pattern *super* not found
[INFO] Copying boot.img
[INFO] Copying dtbo.img
[INFO] Decompressing system.new.dat.br
[1]    31992 segmentation fault (core dumped)  python -m dumpyara  -o out
python -m dumpyara  -o out  5.21s user 18.01s system 86% cpu 26.908 total
BotchedRPR commented 6 months ago

I can also confirm this happens in 1.0.3

Dumpyara
Version 1.0.3

[INFO] Step 1 - Extracting archive
[INFO] Step 2 - Preparing partition images
[INFO] Pattern *payload.bin* not found
[INFO] Pattern *super* not found
[INFO] Copying boot.img
[INFO] Copying dtbo.img
[INFO] Decompressing system.new.dat.br
[1]    32553 segmentation fault (core dumped)  python -m dumpyara  -o out
python -m dumpyara  -o out  5.09s user 19.18s system 85% cpu 28.477 total
SebaUbuntu commented 5 months ago

Need a firmware to test with

BotchedRPR commented 5 months ago

Turns out that the firmware was corrupted slightly, to the point where brotli caused the segfault. Can be closed. Using another firmware fixed the issue.