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

Crashing when allowing Pixel IMS to access Shizuku (Android 10) #320

Open
A-Constipated-Cow opened this issue Oct 30, 2024 · 9 comments
Open

Comments

@A-Constipated-Cow
Copy link

As the title states, Pixel IMS crashes whenever I click on "Allow all the time" when shizuku is running. App functions without shizuku but can't apply patch without it. My phone is running android 10.

@Zinx2022
Copy link

Hi @kyujin-cho,
Shizuku Version: 13.5,adb
Pixel IMS Version: 1.28
Android Version: 10

I am experiencing the same issue as the comment from @A-Constipated-Cow, I've tried to do some debugging but I'm too newbie to work it out.
It may be a similar problem to #225 but specifically to Android 10, after Shizuku is enabled, opening Pixel LMS will automatically crash. If you disable Shizuku, Pixel LMS does not crash.

SDK-29 that was recently downgraded in the Android Manifest from SDK 30 -> 29 (on main...feature/lower-min-sdk) allowing support for Android 10s. Perhaps there are dependent libraries that has not been made compatible with Android 10.

Note, Pixel LMS doesn't crash on phones running on Android 11+

Thx

@A-Constipated-Cow
Copy link
Author

A-Constipated-Cow commented Oct 30, 2024

Don't know if this helps but I ran Pixel IMS with logcat and this seems to be whats causing the crash:
image

As it says at the bottom Caused by: java.lang.ClassNotFoundException: android.telephony.TelephonyFrameworkInitializer

@lunzima
Copy link

lunzima commented Nov 6, 2024

I'm experiencing same issue here with Unihertz Titan.

@karashata
Copy link

Same issue here, Nokia 7 Plus running Android 10.

@Shinkoku
Copy link

Same, Note 9 Android 10
Dev would you pls take a look at this issue?

@czh1019
Copy link

czh1019 commented Jan 12, 2025

Same issue here, huawei p30pro,Android 10

@ismaelmatoso
Copy link

ismaelmatoso commented Jan 16, 2025

Same here, Huawei P40 Lite - EMUI 12

@spvkgn
Copy link

spvkgn commented Jan 24, 2025

--------- beginning of main
01-24 20:58:21.648 16741 16741 E use.enablevolt: Not starting debugger since process cannot load the jdwp agent.
01-24 20:58:21.689 16741 16741 I Perf    : Connecting to perf service.
01-24 20:58:21.702 16741 16741 D ShizukuProvider: Initialize Sui: false
01-24 20:58:21.705 16741 16757 D ShizukuProvider: binder received
01-24 20:58:21.705 16741 16758 D ShizukuProvider: binder received
01-24 20:58:21.707 16741 16757 I ShizukuApplication: attachApplication
01-24 20:58:21.869 16741 16741 D HomeActivity:Home: Shizuku granted
01-24 20:58:21.869 16741 16741 D AndroidRuntime: Shutting down VM
--------- beginning of crash
01-24 20:58:21.870 16741 16741 E AndroidRuntime: FATAL EXCEPTION: main
01-24 20:58:21.870 16741 16741 E AndroidRuntime: Process: dev.bluehouse.enablevolte, PID: 16741
01-24 20:58:21.870 16741 16741 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/telephony/TelephonyFrameworkInitializer;
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at dev.bluehouse.enablevolte.Moder.getSub(Moder.kt:72)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at dev.bluehouse.enablevolte.CarrierModer.getSubscriptions(Moder.kt:87)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at dev.bluehouse.enablevolte.HomeActivityKt.PixelIMSApp$loadApplication(HomeActivity.kt:133)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at dev.bluehouse.enablevolte.HomeActivityKt.access$PixelIMSApp$loadApplication(HomeActivity.kt:1)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at dev.bluehouse.enablevolte.HomeActivityKt$PixelIMSApp$1.invoke(HomeActivity.kt:156)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at dev.bluehouse.enablevolte.HomeActivityKt$PixelIMSApp$1.invoke(HomeActivity.kt:154)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at dev.bluehouse.enablevolte.ComponentsKt$OnLifecycleEvent$1$1$observer$1.onStateChanged(Components.kt:69)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.kt:314)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at androidx.lifecycle.LifecycleRegistry.forwardPass(LifecycleRegistry.kt:251)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.kt:287)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.kt:199)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:138)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:131)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at androidx.compose.ui.platform.AndroidComposeView.onAttachedToWindow(AndroidComposeView.android.kt:1147)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.view.View.dispatchAttachedToWindow(View.java:20110)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3430)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3437)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2054)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1747)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7793)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1041)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.view.Choreographer.doCallbacks(Choreographer.java:864)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.view.Choreographer.doFrame(Choreographer.java:798)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1026)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:883)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:100)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7458)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
01-24 20:58:21.870 16741 16741 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: android.telephony.TelephonyFrameworkInitializer
01-24 20:58:21.870 16741 16741 E AndroidRuntime: 	... 34 more
01-24 20:58:26.711 16741 16753 I use.enablevolt: WaitForGcToComplete blocked CollectorTransition on ProfileSaver for 11.581ms
01-24 20:58:31.336 16741 16741 I Process : Sending signal. PID: 16741 SIG: 9

@Sybawayh
Copy link

Same issue here : Oppo A5 (2020) cph1931 - Android 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants