From b32e84212110c92f7527a8d6c69ad2cb7764d280 Mon Sep 17 00:00:00 2001 From: Jakob Lell Date: Tue, 25 May 2021 12:38:23 +0200 Subject: [PATCH] Ignore prism.img in Lz4Handler --- extractor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extractor.py b/extractor.py index ce071e5..fde9a21 100755 --- a/extractor.py +++ b/extractor.py @@ -1093,6 +1093,8 @@ class Lz4Handler(FileHandler): return CheckFileResult.HANDLER_NO_MATCH # Handled by RecoveryImageHandler if self.fn.lower() == b"super.img.lz4": return CheckFileResult.ARCHIVE + if self.fn.lower().startswith(b"prism."): + return CheckFileResult.IGNORE if self.fn.lower().startswith(b"persist."): return CheckFileResult.IGNORE if self.fn.lower().startswith(b"userdata."): # userdata partition contains stuff like dalvik cache etc.