Closed bphd closed 3 months ago
insufficient description, sorry. i need more details if you still have this issue
@nift4 It doesn't open
You could describe what you did so far, what device this is, what Android version this is, if you are running a custom ROM, if you are rooted, if you are trying to install ReVanced, if you had any other issues and if you solved them, if it worked before and this is an update and many more things...
Pretty much same as other issue
No, I use MGIR but I use RV to patch some apps
If it doesn't replace it, how will it work?
I press the Google Lens app icon directly
Iirc it showed rapidly a black screen and was returning to launcher
Try doing what I explained to you re opening the app
What explanation?
"opening the Google app and pressing the cam button"
You know that everybody don't have a Camera app that integrate Google Lens?
I don't understand how camera app is related to this. My camera app has no Google Lens integration either. I am asking you to open the Google app and press the colored camera icon inside the huge search bar, that directly opens Lens for me without having the Lens app installed. (Because Lens initially was an app, but they're moving people to the Google app version.)
I don't have anything named google. Only things being app.revanced.android.gms and com.google.android.gms and com.android.vending and com.google.android.partnersetup and com.google.android.tts and some other system ones like dynamite or barcode or sidecar or gmsconfig or dialer or assistant or sync or sans...
Isn't that application bogus and MGIR supposed to replace it with something more respective of the user?
You want to use Google Lens, you need Google app. There is no replacement for this app, only for Play Store and for Play Services.
time: 1725548826858 msg: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.AssetManager android.content.res.Resources.getAssets()' on a null object reference stacktrace: java.lang.RuntimeException: Unable to instantiate application androidx.multidex.MultiDexApplication package com.google.android.gms: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.AssetManager android.content.res.Resources.getAssets()' on a null object reference at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1475) at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1404) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7021) at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2261) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at android.app.ActivityThread.main(ActivityThread.java:8246) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.AssetManager android.content.res.Resources.getAssets()' on a null object reference at android.app.LoadedApk.getAssets(LoadedApk.java:1362) at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1452) ... 11 more
This is caused by applying root hiding (Magisk Hide, DenyList, SafetyNet fix / Play Integrity fix and many other things) to microG / Play Store. It creates a chicken egg problem: APK is added by Magisk, but microG / Play Store can't see Magisk changes => microG / Play Store can't see it's own APK. The easiest fix is to install the apk as user apk in addition, and system will see apk on partition and is happy and microG / Play Store won't crash because it has userdata APK.
What apk to install as user? com.google.android.gms?
You didn't tell me what was crashing, how would I know?? The crashing one. (It's also mentioned in the README by the way.)
It tries to update the application to the same version, exits directly without trying to update and the application continues to crash. Maybe it was already installed?
time: 1725551499281 msg: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? stacktrace: java.lang.RuntimeException: Unable to start receiver com.android.packageinstaller.InstallEventReceiver: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? at android.app.ActivityThread.handleReceiver(ActivityThread.java:4499) at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2281) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at android.app.ActivityThread.main(ActivityThread.java:8246) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) Caused by: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? at android.app.ContextImpl.startActivity(ContextImpl.java:1127) at android.app.ContextImpl.startActivity(ContextImpl.java:1103) at android.content.ContextWrapper.startActivity(ContextWrapper.java:436) at android.content.ContextWrapper.startActivity(ContextWrapper.java:436) at com.android.packageinstaller.EventResultPersister.onEventReceived(EventResultPersister.java:189) at com.android.packageinstaller.InstallEventReceiver.onReceive(InstallEventReceiver.java:50) at android.app.ActivityThread.handleReceiver(ActivityThread.java:4490) ... 9 more
How to know if a CROM is geared for signature spoofing (without looking at git repository of such CROM, and for now keyboard is buggy because of the crashes, so maybe without typing in settings anything)
That seems to be a rom bug. To find out if it supports spoofing without looking at code, ask the maintainers.
Isn't it weird that it tries to update at same version? Maybe it's already installed
Nope it's not weird, it's normal to be able to install the same version again and that's also what I asked you to do.
Upon deactivation of all KSU/LSP modules related to Google, microG stops to loop crash and keyboard is available, but trying to install the APK is pretty much the same experience at the difference that now it tries to downgrade instead of same version (from 23.... to 0.0.....) I guess that it tries to replace something official because there is no systemless anymore
time: 1725553330240 msg: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? stacktrace: java.lang.RuntimeException: Unable to start receiver com.android.packageinstaller.InstallEventReceiver: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? at android.app.ActivityThread.handleReceiver(ActivityThread.java:4499) at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2281) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at android.app.ActivityThread.main(ActivityThread.java:8246) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) Caused by: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? at android.app.ContextImpl.startActivity(ContextImpl.java:1127) at android.app.ContextImpl.startActivity(ContextImpl.java:1103) at android.content.ContextWrapper.startActivity(ContextWrapper.java:436) at android.content.ContextWrapper.startActivity(ContextWrapper.java:436) at com.android.packageinstaller.EventResultPersister.onEventReceived(EventResultPersister.java:189) at com.android.packageinstaller.InstallEventReceiver.onReceive(InstallEventReceiver.java:50) at android.app.ActivityThread.handleReceiver(ActivityThread.java:4490) ... 9 more
Install the Google app: The issue shifted from using Lens to making work MicroG, so it's irrelevant Disable root hiding: Did it on last message and reported about it Install the APK as a user app: Did it twice as reported Check with the ROM maintainers: That would be a lengthy solution, needs a workaround meanwhile Provide more logs and details: Reported logs were already treated
That seems to be a dead end
You didn't disable root hiding, you said you disabled all modules. That's not the same thing
Collecting information about com.google.android.gms Checking if com.google.android.gms is installed Collecting file path of com.google.android.gms Checking if file path of com.google.android.gms is on /data
You didn't disable root hiding, you said you disabled all modules. That's not the same thing
You mean "Upon deactivation of all KSU/LSP modules related to Google"?
ERROR: expected microG install path to be on /data, but it's /system/priv-app/microG/microG.apk
make sure you have microG as user app (eg with adb install
), that's the entire point of that check
You mean "Upon deactivation of all KSU/LSP modules related to Google"?
Yes. I was talking about keeping microG Installer and FakeGApps enabled and disabling: Universal SafetyNet Fix, Shamiko, Play Integrity Fix, Magisk Hide/DenyList for microG related apps, enabling(!) KSU mount modules for microG related apps
ERROR: expected microG install path to be on /data, but it's /system/priv-app/microG/microG.apk
make sure you have microG as user app (eg with
adb install
), that's the entire point of that checkYou mean "Upon deactivation of all KSU/LSP modules related to Google"?
Yes. I was talking about keeping microG Installer and FakeGApps enabled and disabling: Universal SafetyNet Fix, Shamiko, Play Integrity Fix, Magisk Hide/DenyList for microG related apps, enabling(!) KSU mount modules for microG related apps
$ adb install storage/downloads/microG.apk
So if I get it right, only MGIR and FGA modules activated and whatever app KSU mounted I want but in addition com.google.android.gms
-12: Integrity APl error (-12): Unknown internal Google server error. Retry with an exponential backoff.
adb: no devices/emulators found
make sure to plug in your device, if on windows with proper drivers; and grant the request; but how to get that working is not really related to microg_installer_revived anymore
-12: Integrity APl error (-12): Unknown internal Google server error. Retry with an exponential backoff.
Play Integrity is (currently?) not supported. It may work but I don't know how to get it to work and can't help with it.
adb: no devices/emulators found
make sure to plug in your device, if on windows with proper drivers; and grant the request; but how to get that working is not really related to microg_installer_revived anymore
-12: Integrity APl error (-12): Unknown internal Google server error. Retry with an exponential backoff.
Play Integrity is (currently?) not supported. It may work but I don't know how to get it to work and can't help with it.
How to plug my device into my device? It's nonsensical. Not on Windows but Android
I'm currently trying to get Google services to get integrity. Because I seem to understand that naturally Google don't grant integrity if no Google services are available. I installed and activated what you said and still haven't integrity
How to plug my device into my device? It's nonsensical. Not on Windows but Android
...in that case, use su
, then cp storage/downloads/microG.apk /data/local/tmp/microG.apk && pm install /data/local/tmp/microG.apk
I'm currently trying to get Google services to get integrity
If you want integrity you need to use real Google services as far as I know. Atleast real Play Store, but as I said, I don't really know.
I have real Play Store, I just don't do anything with it lol
So, I installed as user app and updated module, but nothing new really. It was already detecting spoofing since FGA, and integrity is still not clear. Soooo, I don't really know how to check if I resolved the problem, to check if MGIR is fully operational now, like, more operational than before that problem
MGIR used to loop crash and eating keyboard when it was activated along Zygisk Next and some other modules (though it's not clear which ones as multiple different combinations triggers the problem), but wasn't unstable otherwise
I think you should really add in the self check area all problems we have encountered. Adding as condition to respect/correct to get all boxes ticked. Like we already have now to make spoofing work to get corresponding box ticked
Like before the problem, when I open YouTube it's a black screen with a default Android application icon in the center. And when I open YouTube Music it says that GMS Core is not installed and redirect me to ReVanced GMS GitHub page. Lens application ask for a Google application update before opening. Maps closes upon opening
time: 1725652884346
msg: java.lang.UnsatisfiedLinkError: dlopen failed: library "libcronet.102.0.5005.125.so" not found
stacktrace: java.lang.UnsatisfiedLinkError: dlopen failed: library "libcronet.102.0.5005.125.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1082)
at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
at java.lang.System.loadLibrary(System.java:1661)
at org.chromium.net.impl.CronetLibraryLoader.ensureInitialized(CronetLibraryLoader.java:71)
at org.chromium.net.impl.CronetUrlRequestContext.
I'm basically out ideas now, I'm not sure how the revanced stuff interacts with microG and not really sure why you have so many crashes either
ReVanced stuff is basically normal apps but patched. ReVanced GMS is archived do I don't really know how it's managed now
But ReVanced stuff is only YTB/M, not everything else
Isn't there a way to know if MGIR work as intended?
Unmounting ReVanced patches makes the application works normally (with or without MGIR)
Maps works normally when MGIR is unmounted. I guess that Lens would too, but I need Google application to check
I will need to update CROM to get signed builds to test integrity. Don't know since when it's a requirement, used to work anyway
time: 1725689160475 msg: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.AssetManager android.content.res.Resources.getAssets()' on a null object reference stacktrace: java.lang.RuntimeException: Unable to instantiate application androidx.multidex.MultiDexApplication package com.google.android.gms: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.AssetManager android.content.res.Resources.getAssets()' on a null object reference at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1475) at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1404) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7021) at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2261) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at android.app.ActivityThread.main(ActivityThread.java:8246) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.AssetManager android.content.res.Resources.getAssets()' on a null object reference at android.app.LoadedApk.getAssets(LoadedApk.java:1362) at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1452) ... 11 more
You'll be able to reproduce with MGIR+ZA+ZN. Maybe you'll find relevant logs as to what happens
time: 1725897055910 msg: java.lang.NumberFormatException: For input string: "IntegrityService " stacktrace: java.lang.NumberFormatException: For input string: "IntegrityService " at java.lang.Integer.parseInt(Integer.java:790) at java.lang.Integer.parseInt(Integer.java:908) at h2.b.a(SourceFile:30) at androidx.appcompat.widget.j.a(SourceFile:31) at androidx.appcompat.widget.j.run(SourceFile:12) at android.os.Handler.handleCallback(Handler.java:959) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loopOnce(Looper.java:232) at android.os.Looper.loop(Looper.java:317) at android.app.ActivityThread.main(ActivityThread.java:8594) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
time: 1725907209922
msg: java.lang.SecurityException: You either need MANAGE_USERS or CREATE_USERS permission to: query users
stacktrace: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.vending/com.google.android.finsky.activities.MainActivity}: java.lang.SecurityException: You either need MANAGE_USERS or CREATE_USERS permission to: query users
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3993)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4173)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)
at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:231)
at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:152)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:93)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2595)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8594)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
Caused by: java.lang.SecurityException: You either need MANAGE_USERS or CREATE_USERS permission to: query users
at android.os.Parcel.createExceptionOrNull(Parcel.java:3187)
at android.os.Parcel.createException(Parcel.java:3171)
at android.os.Parcel.readException(Parcel.java:3154)
at android.os.Parcel.readException(Parcel.java:3096)
at android.os.IUserManager$Stub$Proxy.getUsers(IUserManager.java:2335)
at android.os.UserManager.getUsers(UserManager.java:4877)
at android.os.UserManager.getUsers(UserManager.java:4818)
at android.os.UserManager.getUserCount(UserManager.java:4791)
at ablq.aL(PG:13)
at nvy.a(PG:103)
at kwh.
time: 1725959831649 msg: android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 1802 SQLITE_IOERR_FSTAT) stacktrace: android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 1802 SQLITE_IOERR_FSTAT) at android.database.sqlite.SQLiteConnection.nativeExecuteForLong(Native Method) at android.database.sqlite.SQLiteConnection.executeForLong(SQLiteConnection.java:786) at android.database.sqlite.SQLiteSession.executeForLong(SQLiteSession.java:678) at android.database.sqlite.SQLiteStatement.simpleQueryForLong(SQLiteStatement.java:110) at android.database.DatabaseUtils.longForQuery(DatabaseUtils.java:1043) at android.database.DatabaseUtils.longForQuery(DatabaseUtils.java:1031) at android.database.sqlite.SQLiteDatabase.getVersion(SQLiteDatabase.java:1342) at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:388) at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:340) at org.microg.gms.nearby.exposurenotification.ExposureDatabase.isEmpty(ExposureDatabase.kt:744) at org.microg.gms.nearby.exposurenotification.ui.ExposureNotificationsSettingsProvider$getEntriesDynamic$2.invokeSuspend(ExposureNotificationsSettingsProvider.kt:34) at org.microg.gms.nearby.exposurenotification.ui.ExposureNotificationsSettingsProvider$getEntriesDynamic$2.invoke(Unknown Source:8) at org.microg.gms.nearby.exposurenotification.ui.ExposureNotificationsSettingsProvider$getEntriesDynamic$2.invoke(Unknown Source:4) at org.microg.gms.nearby.exposurenotification.ExposureDatabase$Companion$with$2.invokeSuspend(ExposureDatabase.kt:1056) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@d7c7850, Dispatchers.Main.immediate]
Long story short, to get everything working it's better to have quicksearchbox vending gsf gms, and at least basic integrity if not device integrity. Not so much to get certificaiton but because it's a proof that everything is configured fine on Google side. And you need things installed right, meaning systemized with MGIR
How
Because app.revanced.android.gms is supposed to replace com.google.android.googlequicksearchbox