Closed HritwikSinghal closed 1 year ago
so by simply changing String classToHook = Build.VERSION.SDK_INT >= Build.VERSION_CODES.S ? "com.android.server.pm.PackageManagerService.ComputerEngine" : "com.android.server.pm.PackageManagerService";
to String classToHook = "com.android.server.pm.PackageManagerService";
works.
But you should add a try catch statement when it cant find com.android.server.pm.PackageManagerService.ComputerEngine
and fallback to com.android.server.pm.PackageManagerService
https://github.com/whew-inc/FakeGApps/pull/11 does the same thing but in a wrong way which may break this on some Android versions
Latest release supports Android 13.
On my A13 AOSPA rom, this package does not run as it cannot find
com.android.server.pm.PackageManagerService.ComputerEngine
.I have made some modifications to this line and was able to successfully run the module. Turns out that falling back to
com.android.server.pm.PackageManagerService
when this exception occurs will fix the issue.Note that this only fixes above issue and i am still not sure about sig spoof in microg (as there maybe other factors which are affecting my use case)