Repository navigation
Conversation
Owner
Will check it out |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
APatch SU Manager Support (
libapd.so)ExploitRunner,MainActivity): Detect and stage eitherlibksud.so(KernelSU) orlibapd.so(APatch) from the selected SU manager'snativeLibraryDir. APatch'sapdshares the samelate-load --package-name <pkg>andsoft-rebootCLI interface and/data/adb/modules/<id>/disablelayout.bootstrap.c): Track bothksudandapdinlate_load_running(), and automatically select the installed daemon (/data/adb/ksud,/data/adb/apd, or fallback to the staged binary) when executingsoft-reboot.D2Writer): Include/system/bin/kp(APatch's default su path before AndroidPatch installation) inSU_PATHSsoRootStateverification and D2 vault operations work out of the box.Runtime
GET_INSTALLED_APPSPermission Requestcom.android.permission.GET_INSTALLED_APPSinAndroidManifest.xmlfor OEM ROMs that gate package enumeration behind a runtime permission.GET_INSTALLED_APPSas a dangerous permission when opening the SU Manager picker; if not yet granted, prompt the system permission dialog and automatically open the picker once granted.