core: Detect bootloader-locked MediaTek devices during flashing - #4567
Open
JamiKettunen wants to merge 1 commit into
Open
core: Detect bootloader-locked MediaTek devices during flashing#4567JamiKettunen wants to merge 1 commit into
JamiKettunen wants to merge 1 commit into
Conversation
Otherwise flashing with locked bootloader will always just fail with "No support by lock control" message from LK instead of attempting e.g. "fastboot flashing unlock" from a potential handler. Closes ubports#3442 Closes ubports#3621 Closes ubports#4123 Closes ubports#4225 Closes ubports#4341
JamiKettunen
requested review from
Flohack74,
amartinz and
maciek134
as code owners
May 22, 2026 14:29
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4567 +/- ##
==========================================
- Coverage 83.99% 82.01% -1.99%
==========================================
Files 32 31 -1
Lines 1081 1440 +359
Branches 0 264 +264
==========================================
+ Hits 908 1181 +273
- Misses 173 235 +62
- Partials 0 24 +24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
maciek134
approved these changes
May 22, 2026
maciek134
left a comment
Collaborator
There was a problem hiding this comment.
Time to patch some "vulnerabilities" so we can merge things again I guess
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Otherwise flashing with locked bootloader will always just fail with
No support by lock controlmessage from LK instead of attempting e.g.fastboot flashing unlockfrom a potential handler.Closes #3442
Closes #3621
Closes #4123
Closes #4225
Closes #4341