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

util_functions: update from Magisk #599

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

marat2509
Copy link
Collaborator

@marat2509 marat2509 changed the title util_functions: update from Magisk (topjohnwu/Magisk@09131aca893efd950ad59847dadf109a0f556b89; topjohnwu/Magisk@07835a3e0e44ad398a82294eccfa93994ccfd9ff) util_functions: update from Magisk Aug 6, 2024
if $RECOVERYMODE; then
BOOTIMAGE=$(find_block "recovery$SLOT" "sos")
elif [ -L "/dev/block/by-name/init_boot$SLOT" ] && uname -r | grep -vq "android12-"; then
# init_boot is only used with GKI 13+. It is possible that some devices with init_boot
Copy link
Collaborator

Choose a reason for hiding this comment

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

Unlike Magisk, we should always patch kernel. But most of devices' kernel is in boot image instead of init_boot I thought. Maybe we need a discussion about this?

@marat2509 marat2509 marked this pull request as draft August 12, 2024 02:19
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.

3 participants