Fix preloader issue

This commit is contained in:
Bjoern Kerler 2024-08-24 11:24:50 +02:00
parent 18784ac75b
commit 34f1341da9
No known key found for this signature in database
GPG key ID: A3E0FAF79F2F4578

View file

@ -127,8 +127,7 @@ class DaHandler(metaclass=LogBase):
if not hassecurity:
mtk.daloader.patch = True
if preloader is None:
self.info("Preloader is not supplied. Acquiring it through BROM exploit.")
if not self.mtk.config.stock:
mtk = mtk.bypass_security() # Needed for dumping preloader
else:
self.info("Using supplied preloader. Skipping exploitation!")