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: if not hassecurity:
mtk.daloader.patch = True mtk.daloader.patch = True
if preloader is None: if not self.mtk.config.stock:
self.info("Preloader is not supplied. Acquiring it through BROM exploit.")
mtk = mtk.bypass_security() # Needed for dumping preloader mtk = mtk.bypass_security() # Needed for dumping preloader
else: else:
self.info("Using supplied preloader. Skipping exploitation!") self.info("Using supplied preloader. Skipping exploitation!")