Skip to content

feat: Add mount, unmount and isMounted to RootInstaller#125

Open
Ushie wants to merge 1 commit intodevfrom
feat/mount-handling
Open

feat: Add mount, unmount and isMounted to RootInstaller#125
Ushie wants to merge 1 commit intodevfrom
feat/mount-handling

Conversation

@Ushie
Copy link
Copy Markdown
Member

@Ushie Ushie commented Apr 4, 2026

No description provided.

)
}

suspend fun mount(packageName: String): RootInstallerResult {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Granular mount and unmount control should never be needed. Callsite should ever need to either install, or uninstall, which the current APIs already provide.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I have seen a few users use the control to their advantage, most recent one I saw was where their mounted app was crashing, instead of repatching they unmounted, updated the unpatched app then remounted

This could be achieved by proxy by switching to magisk modules, users can simply disable or enable the module if they want

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.

2 participants