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

magisk: Try to install to a non-overlayfs location #250

Merged
merged 1 commit into from
Feb 22, 2023
Merged

Conversation

chenxiaolong
Copy link
Owner

Magisk currently has a known issue where its mirror mount points do not work correctly with overlayfs. Files from the overlayfs lowerdirs may no longer be accessible.

On MIUI, this is a problem because /system/etc/permissions is an overlayfs mount and one of the lowerdirs is
/product/pango/system/etc/permissions. One file underneath that path is com.nxp.nfc.nq.xml, which if missing, breaks NFC.

Fixes: #242
Fixes: #246

Magisk currently has a known issue where its mirror mount points do not
work correctly with overlayfs. Files from the overlayfs lowerdirs may
no longer be accessible.

On MIUI, this is a problem because /system/etc/permissions is an
overlayfs mount and one of the lowerdirs is
/product/pango/system/etc/permissions. One file underneath that path is
com.nxp.nfc.nq.xml, which if missing, breaks NFC.

Fixes: #242
Fixes: #246

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong self-assigned this Feb 22, 2023
@chenxiaolong chenxiaolong merged commit 98e9c74 into master Feb 22, 2023
@chenxiaolong chenxiaolong deleted the overlayfs branch February 22, 2023 20:06
chenxiaolong added a commit that referenced this pull request Feb 22, 2023
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong
Copy link
Owner Author

This will be fixed properly by topjohnwu/Magisk#6588 on the Magisk side.

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.

Bootloop NFC not working on Xiaomi 12 Pro MIUI 14
1 participant