AndroidDumps / dumpyara

Generate a dump from an archive or image(s)
144 stars 113 forks source link

Handle e.g. EROFS images #22

Closed kacskrz closed 2 years ago

kacskrz commented 3 years ago

7z can't handle EROFS so adding sudo mount (supported on Linux 5.4+). Tested with Xiaomi Civi ROM V12.5.3.0.RKVCNXM.

rokibhasansagar commented 2 years ago

It will only work if mkfs.erofs binary as in erofs-utils already present inside the System's Kernel. Otherwise, the util needs to be compiled as use that binary (not mount command) to mount and extract data.

kacskrz commented 2 years ago

Because there's actually the method to achieve it without sudo privileges, I will close this pull request and make another one with the working method.