Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APP闪退/APP Crash #613

Closed
xiaoweiXX opened this issue Sep 24, 2024 · 20 comments
Closed

APP闪退/APP Crash #613

xiaoweiXX opened this issue Sep 24, 2024 · 20 comments
Labels
vendor-specific Definitely not my fault wontfix

Comments

@xiaoweiXX
Copy link

我一直使用小米的设备,手机是从小米11 ultra还是小米12S Pro开始,系统是从安卓12还是安卓13开始,我记得从某次安卓大版本更新之后,再打开这个APP就会直接闪退。之后我换了小米14Pro,还有小米平板5Pro和小米平板6Pro,都不能正常打开。我手头还有另一台红米K40(我不清楚这台在全球市场是小米的数字T系列还是POCO子品牌的机型),这台是能够正常使用这个APP的,具体的系统我忘了。
I usually use Xiaomi devices, science Xiaomi 11 ultra or Xiaomi 12S Pro, Android 12 or 13, I remember after I update a Android version, the APP crash every time I open it. I also have Xiaomi 14 Pro, Xiaomi Pad 5 Pro, Xiaomi Pad 6 Pro, all of these devices could not open the APP normally. I also have a Redmi K40 (I forget in global market this devices belong to Xiaomi T series or POCO), this devices can use this APP normally, I forgot the specific system.

@Mygod
Copy link
Owner

Mygod commented Sep 24, 2024

Logcat please.

@xiaoweiXX
Copy link
Author

Logcat please.

Log_2024-9-25_19-59-09.txt

我不知道该如何打log,我自己试了一下,不知道效果咋样。
I don't know how to get log, I have a try, don't know if it's right.

@Mygod
Copy link
Owner

Mygod commented Sep 26, 2024

I am guessing that this is the issue you are facing.

Fatal Exception: java.lang.SecurityException
Unknown calling package name 'be.mygod.vpnhotspot'.
android.os.Parcel.createExceptionOrNull (Parcel.java:3057)
android.os.Parcel.createException (Parcel.java:3041)
android.os.Parcel.readException (Parcel.java:3024)
android.os.Parcel.readException (Parcel.java:2966)
com.google.android.gms.common.internal.zzad.getService (com.google.android.gms:play-services-basement@@18.3.0:9)
com.google.android.gms.common.internal.BaseGmsClient.getRemoteService (com.google.android.gms:play-services-basement@@18.3.0:14)
com.google.android.gms.common.internal.BaseGmsClient$LegacyClientCallbackAdapter.onReportServiceBinding (com.google.android.gms:play-services-basement@@18.3.0:2)
com.google.android.gms.common.internal.zzg.zzd (com.google.android.gms:play-services-basement@@18.3.0:1)
com.google.android.gms.common.internal.zza.zza (com.google.android.gms:play-services-basement@@18.3.0:1)
com.google.android.gms.common.internal.zzc.zze (com.google.android.gms:play-services-basement@@18.3.0:3)
com.google.android.gms.common.internal.zzb.handleMessage (com.google.android.gms:play-services-basement@@18.3.0:31)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loopOnce (Looper.java:224)
android.os.Looper.loop (Looper.java:318)
android.app.ActivityThread.main (ActivityThread.java:8759)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:561)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1013)

This probably indicates that you have a broken GMS. Please investigate if this is the case.

@Mygod Mygod added the vendor-specific Definitely not my fault label Sep 26, 2024
@xiaoweiXX
Copy link
Author

I am guessing that this is the issue you are facing.

Fatal Exception: java.lang.SecurityException
Unknown calling package name 'be.mygod.vpnhotspot'.
android.os.Parcel.createExceptionOrNull (Parcel.java:3057)
android.os.Parcel.createException (Parcel.java:3041)
android.os.Parcel.readException (Parcel.java:3024)
android.os.Parcel.readException (Parcel.java:2966)
com.google.android.gms.common.internal.zzad.getService (com.google.android.gms:play-services-basement@@18.3.0:9)
com.google.android.gms.common.internal.BaseGmsClient.getRemoteService (com.google.android.gms:play-services-basement@@18.3.0:14)
com.google.android.gms.common.internal.BaseGmsClient$LegacyClientCallbackAdapter.onReportServiceBinding (com.google.android.gms:play-services-basement@@18.3.0:2)
com.google.android.gms.common.internal.zzg.zzd (com.google.android.gms:play-services-basement@@18.3.0:1)
com.google.android.gms.common.internal.zza.zza (com.google.android.gms:play-services-basement@@18.3.0:1)
com.google.android.gms.common.internal.zzc.zze (com.google.android.gms:play-services-basement@@18.3.0:3)
com.google.android.gms.common.internal.zzb.handleMessage (com.google.android.gms:play-services-basement@@18.3.0:31)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loopOnce (Looper.java:224)
android.os.Looper.loop (Looper.java:318)
android.app.ActivityThread.main (ActivityThread.java:8759)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:561)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1013)

This probably indicates that you have a broken GMS. Please investigate if this is the case.
我完全没有头绪,我一直都是正常使用Google Play的,没有遇到过从Google Play上下载的APP会闪退。另外Github的这个版本是否不依赖GMS?我可以用这个版本
I have no idea. I always use Google Play normally, never seen APP crash which is download on Google Play. Besides, isn't the Github version depends on Google Play? I can use this version.

@xiaoweiXX
Copy link
Author

I am guessing that this is the issue you are facing.

Fatal Exception: java.lang.SecurityException
Unknown calling package name 'be.mygod.vpnhotspot'.
android.os.Parcel.createExceptionOrNull (Parcel.java:3057)
android.os.Parcel.createException (Parcel.java:3041)
android.os.Parcel.readException (Parcel.java:3024)
android.os.Parcel.readException (Parcel.java:2966)
com.google.android.gms.common.internal.zzad.getService (com.google.android.gms:play-services-basement@@18.3.0:9)
com.google.android.gms.common.internal.BaseGmsClient.getRemoteService (com.google.android.gms:play-services-basement@@18.3.0:14)
com.google.android.gms.common.internal.BaseGmsClient$LegacyClientCallbackAdapter.onReportServiceBinding (com.google.android.gms:play-services-basement@@18.3.0:2)
com.google.android.gms.common.internal.zzg.zzd (com.google.android.gms:play-services-basement@@18.3.0:1)
com.google.android.gms.common.internal.zza.zza (com.google.android.gms:play-services-basement@@18.3.0:1)
com.google.android.gms.common.internal.zzc.zze (com.google.android.gms:play-services-basement@@18.3.0:3)
com.google.android.gms.common.internal.zzb.handleMessage (com.google.android.gms:play-services-basement@@18.3.0:31)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loopOnce (Looper.java:224)
android.os.Looper.loop (Looper.java:318)
android.app.ActivityThread.main (ActivityThread.java:8759)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:561)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1013)

This probably indicates that you have a broken GMS. Please investigate if this is the case.

我感觉和GMS没关系,小米的旗舰设备一直都搭载GMS。并且我第一次遇到APP闪退是安卓大版本更新之后,我一直以为闪退的问题是和安卓版本的适配有关。
I think that there's no relationship with GMS, Xiaomi's flagship devices always have GMS. And the first time I seen APP crash is after Android version update, I always thought that the crash problem was related to the adaptation of the Android version.

@xiaoweiXX
Copy link
Author

I am guessing that this is the issue you are facing.

Fatal Exception: java.lang.SecurityException
Unknown calling package name 'be.mygod.vpnhotspot'.
android.os.Parcel.createExceptionOrNull (Parcel.java:3057)
android.os.Parcel.createException (Parcel.java:3041)
android.os.Parcel.readException (Parcel.java:3024)
android.os.Parcel.readException (Parcel.java:2966)
com.google.android.gms.common.internal.zzad.getService (com.google.android.gms:play-services-basement@@18.3.0:9)
com.google.android.gms.common.internal.BaseGmsClient.getRemoteService (com.google.android.gms:play-services-basement@@18.3.0:14)
com.google.android.gms.common.internal.BaseGmsClient$LegacyClientCallbackAdapter.onReportServiceBinding (com.google.android.gms:play-services-basement@@18.3.0:2)
com.google.android.gms.common.internal.zzg.zzd (com.google.android.gms:play-services-basement@@18.3.0:1)
com.google.android.gms.common.internal.zza.zza (com.google.android.gms:play-services-basement@@18.3.0:1)
com.google.android.gms.common.internal.zzc.zze (com.google.android.gms:play-services-basement@@18.3.0:3)
com.google.android.gms.common.internal.zzb.handleMessage (com.google.android.gms:play-services-basement@@18.3.0:31)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loopOnce (Looper.java:224)
android.os.Looper.loop (Looper.java:318)
android.app.ActivityThread.main (ActivityThread.java:8759)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:561)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1013)

This probably indicates that you have a broken GMS. Please investigate if this is the case.

Do I need to pass safety net check? After I unlock the bootloader, I can't pass safety net check, and I don't want to use module to pass the check.

@Mygod
Copy link
Owner

Mygod commented Sep 28, 2024

No.

@Mygod
Copy link
Owner

Mygod commented Oct 21, 2024

Since I can see that multiple Xiaomi devices having this issue, please report this to Xiaomi and see if they can fix it.

@Mygod
Copy link
Owner

Mygod commented Oct 22, 2024

Never mind I found a fix.

@Mygod
Copy link
Owner

Mygod commented Oct 22, 2024

Fixed via a33e339.

@Mygod Mygod closed this as completed Oct 22, 2024
@Mygod
Copy link
Owner

Mygod commented Oct 22, 2024

Please check and see if v2.18.1 fixes this issue.

@xiaoweiXX
Copy link
Author

Please check and see if v2.18.1 fixes this issue.

NO, it still crash.

@xiaoweiXX
Copy link
Author

Please check and see if v2.18.1 fixes this issue.

It's very strange, every time I open it, I can use it normally for about 1 or 2 seconds, then it crash.

@Mygod Mygod reopened this Oct 23, 2024
@Mygod
Copy link
Owner

Mygod commented Oct 23, 2024

Yes indeed. This issue was not fixed. A proper fix would need to come from either Google or Xiaomi.

@Mygod Mygod added the wontfix label Oct 23, 2024
@Mygod Mygod closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2024
@itsHenry35
Copy link

Are you using hidemyapplist? Recently I came across the same problem, however, everything worked again when I removed hidemyapplist

@xiaoweiXX
Copy link
Author

Are you using hidemyapplist? Recently I came across the same problem, however, everything worked again when I removed hidemyapplist

Yes. How could HMA affect VPNHotspot?🤔

@itsHenry35
Copy link

Are you using hidemyapplist? Recently I came across the same problem, however, everything worked again when I removed hidemyapplist

Yes. How could HMA affect VPNHotspot?🤔

No idea~ Probably further inverstigation into HMA's source code is required by somone professional. 🥱

@Mygod
Copy link
Owner

Mygod commented Dec 30, 2024

This is caused by a remote exception probably originating from gms. You should not apply HMA to gms.

@xiaoweiXX
Copy link
Author

This is caused by a remote exception probably originating from gms. You should not apply HMA to gms.

OK, I'll have a try. I just don't want GMS detect my root APPs to pass the SafetyNet. (Even I failed, I didn't pass the SafetyNet test. I need a magisk module to pass, which I don't want to use.)

@xiaoweiXX
Copy link
Author

This is caused by a remote exception probably originating from gms. You should not apply HMA to gms.

Yes, after stop apply GMS, it works normally. But I still feel strange, I didn't meet any similar saturation before. Every APP works normally expect VNPHotspot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vendor-specific Definitely not my fault wontfix
Projects
None yet
Development

No branches or pull requests

3 participants