Skip to content

core: Detect bootloader-locked MediaTek devices during flashing - #4567

Open
JamiKettunen wants to merge 1 commit into
ubports:masterfrom
JamiKettunen:mtk-unlock
Open

core: Detect bootloader-locked MediaTek devices during flashing#4567
JamiKettunen wants to merge 1 commit into
ubports:masterfrom
JamiKettunen:mtk-unlock

Conversation

@JamiKettunen

Copy link
Copy Markdown
Contributor

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 #3442
Closes #3621
Closes #4123
Closes #4225
Closes #4341

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
@codecov

codecov Bot commented May 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.01%. Comparing base (3d76c66) to head (76f2005).
⚠️ Report is 69 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@maciek134 maciek134 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Time to patch some "vulnerabilities" so we can merge things again I guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unknown Error Unknown Error Unknown Error No support by lock control Unknown Error

2 participants