WSTxda / MicroG-RE

GmsCore fork for ReVanced with Material You, features and improvements
Apache License 2.0
1.05k stars 24 forks source link

blank #38

Closed bphd closed 2 months ago

bphd commented 2 months ago

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

bphd commented 2 months ago

@WSTxda why invalid

bphd commented 1 month ago

There could be many reasons for GMS crash, haven't took note how I managed unfortunately, but by deactivating persist.sys.pixelprops.gapps persist.sys.pixelprops.gms properties and resintalling vending/gsf/gms and spoofing build and provider (and btw using PIF module, or Osm0sis one when that one bother me) I achieve device integrity. I have difficulties achieving strong integrity but it's probably because my CROM throw UnsupportedOperationException() when DroidGuard ask for certificate chain, have to figure out how to patch from MagiSK, or LSP, or by replacing files