Skip to content

kernel: enable reboot edl for emergency download mode#46

Draft
greatgitsby wants to merge 1 commit intomasterfrom
enable-reboot-edl
Draft

kernel: enable reboot edl for emergency download mode#46
greatgitsby wants to merge 1 commit intomasterfrom
enable-reboot-edl

Conversation

@greatgitsby
Copy link
Collaborator

Summary

  • Export qcom_scm_set_download_mode() from qcom_scm.c and add it to the public SCM header
  • Call it from the msm-poweroff restart handler when reboot edl is issued, setting full-dump download mode before pulling PS_HOLD low
  • SDM845 enters QDL/9008 (EDL) mode on reset, enabling emergency flashing via qdl

Test plan

  • reboot edl enters 9008 mode and device is visible to qdl
  • Normal reboot still works as before
  • poweroff still works as before

🤖 Generated with Claude Code

Export qcom_scm_set_download_mode() and call it from the msm-poweroff
restart handler when `reboot edl` is issued, so the SDM845 enters
QDL/9008 mode on reset.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@greatgitsby greatgitsby marked this pull request as draft March 16, 2026 04:58
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.

1 participant