Skip to content

Comments

support metamodule, remove built-in overlayfs mount#2929

Merged
tiann merged 37 commits intomainfrom
module
Nov 17, 2025
Merged

support metamodule, remove built-in overlayfs mount#2929
tiann merged 37 commits intomainfrom
module

Conversation

@Ylarod
Copy link
Collaborator

@Ylarod Ylarod commented Nov 13, 2025

No description provided.

@Ylarod Ylarod changed the title support metamodule support metamodule, remove built-in overlayfs mount Nov 14, 2025
@0ctobot
Copy link

0ctobot commented Nov 14, 2025

Reinventing the wheel 101

@backslashxx
Copy link
Contributor

I don't like that you killed A/B updates.
Everything else seems fine though.

but sure I guess you can enforce that theres no more /data/adb/modules_update

@tiann
Copy link
Owner

tiann commented Nov 17, 2025

If you need, feel free to open a PR.

@backslashxx
Copy link
Contributor

backslashxx commented Nov 17, 2025

yeah right, I guess I can't really say shit since I can't rust.

@tiann
Copy link
Owner

tiann commented Nov 17, 2025

When we use overlayfs, all the data of the modules is packaged inside the ext4 image, and the data is consistent; however, once the modules are placed in a directory, this advantage is lost, making AB updates less natural. There may be good solutions, but we haven't thought of them yet. Our priority is to advance the metamodule first.

@backslashxx
Copy link
Contributor

metamodule can handle A/B but we have to be sourced on top, right before installer.sh.
then we can handle mv -f modules_update/ modules/ on metamount

@tiann
Copy link
Owner

tiann commented Nov 17, 2025

You can use metainstall.sh, complete your tasks, and then call install_module.

@tiann tiann merged commit 3630d67 into main Nov 17, 2025
20 checks passed
@tiann tiann deleted the module branch November 17, 2025 08:46
u9521 added a commit to u9521/KernelSU that referenced this pull request Jan 4, 2026
u9521 added a commit to u9521/KernelSU that referenced this pull request Jan 5, 2026
u9521 added a commit to u9521/KernelSU that referenced this pull request Jan 13, 2026
LeCmnGend pushed a commit to LeCmnGend/KernelSU that referenced this pull request Feb 23, 2026
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.

5 participants