• topjohnwu's avatar
    Use component name as targets · 38fcc57b
    topjohnwu authored
    Services can name their process name arbitrarily, for instance the service in
    com.google.android.gms that is responsible for SafetyNet is named
    com.google.android.gms.unstable. There are many apps out in the wild use
    dedicated services with special names to detect root, and previously the user
    is expected to add all of them to the hide list.
    
    In this commit, we change from targeting process names to component names.
    On Android, component names are composed of <pkg>/<cls>. When targeting
    component names, we can always know what application spawned the new process.
    This means that if the user adds a package name to the hidelist, MagiskHide can
    now target ALL possible processes of that specific application.
    
    To abide with this change, the default SafetyNet target is now changed from
    com.google.android.gms.unstable (process name) to
    com.google.android.gms/.droidguard.DroidGuardService (component name)
    38fcc57b
Name
Last commit
Last update
app Loading commit data...
chromeos Loading commit data...
docs Loading commit data...
gradle/wrapper Loading commit data...
native Loading commit data...
scripts Loading commit data...
snet Loading commit data...
utils Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
LICENSE Loading commit data...
README.MD Loading commit data...
build.gradle Loading commit data...
build.py Loading commit data...
config.prop.sample Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...