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

Improve non-arm64 detection #391

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

0xallie
Copy link
Contributor

@0xallie 0xallie commented May 15, 2023

This PR fixes non-arm64 (e.g. arm64e) device detection in normal mode having been broken by a recent cleanup commit, unifies the warning messages, and adds a check for DFU mode as well.

@asdfugil
Copy link
Member

just use strcmp
this also doesn’t work for
armv7k, armv6, arm64_32

src/dfuhelper.c Outdated Show resolved Hide resolved
@0xallie
Copy link
Contributor Author

0xallie commented Jul 15, 2023

just use strcmp

Done.

this also doesn’t work for armv7k, armv6, arm64_32

Yeah, but palera1n doesn't currently support those devices anyway, and the DFU helper already didn't work on them before the arm64e check was broken, so it's not a big deal for now.

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.

None yet