Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix UFI buttons #499

Closed
wants to merge 2 commits into from
Closed

Fix UFI buttons #499

wants to merge 2 commits into from

Conversation

185264646
Copy link
Contributor

The button should be used to enter fastboot mode rather than recevory mode. Fix it.

This key can be used to enter fastboot mode
All the keys here were mapped to KEY_HOME which directs the device to
fastboot mode in some old branch. But this behavior has changed. Now
this key is used to enter recovery mode which is broken for most zhihe
UFIs. Replace all KEY_HOME with KEY_BACK to restore the old
behavior(press the key to enter fastboot mode).
@TravMurav
Copy link
Member

In old lk2nd branch we had a commit that reassigned HOME to enable fastboot, but seems like I forgot to re-add this commit into the new branch. I've added it now to main, could you check if that fixes things? I'm sorry for this

@185264646
Copy link
Contributor Author

In old lk2nd branch we had a commit that reassigned HOME to enable fastboot, but seems like I forgot to re-add this commit into the new branch. I've added it now to main, could you check if that fixes things? I'm sorry for this

Seems a valid fix. I'll close this pr.

@185264646 185264646 closed this Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants