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

Sony Xperia ZR2 Compact - Pixel IMS stops #273

Open
i998 opened this issue Feb 28, 2024 · 8 comments
Open

Sony Xperia ZR2 Compact - Pixel IMS stops #273

i998 opened this issue Feb 28, 2024 · 8 comments

Comments

@i998
Copy link

i998 commented Feb 28, 2024

Disclaimer
Sorry to taking your attention to non-pixel phone. However there are a number of threads on XDA that illustrates that your beatiful Pixel IMS works on other handsets too - Sonyy Readme etc. Hence I am asking for a help. Would be possible for you to help with troubleshooting why the Pixel IMS suddenly stops?

Describe the bug
Sony Xperia ZR2 Compact - Pixel IMS stops.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the instruction step by step up as published at https://github.com/kyujin-cho/pixel-volte-patch/blob/main/README.en.md
    up to "Tap "Allow all the time" when seeing prompt asking for Shizuku permission." I.e. get shizuku running, Pixel IMS installed, all good, no issues.
  2. Tap "Allow all the time"
  3. See error: the phone have a pop-up saying:
    Pixel IMS keeps stopping
    - app info
    - close app

Any further attempt to restart the application ends up with the same error message as above.

Expected behavior
Pixel IMS continue to work or provides a description/log what went wrong and why it stops

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Win 7 SP1
  • ADB platform-tools_r34.0.4-windows (latest for Win 7)

Smartphone (please complete the following information):

  • Device: Sony Xperia XZ2 Compact , H8324
  • OS: Android 10
  • Firmware: H8324_Customized AU_52.1.A.3.49-R4C

Additional context
Mobile Network : Internode
APN Vodafone live! live.vodafone.com
Phone / SIM are not locked

@fillwithjoy1
Copy link
Contributor

grab adb logcat and dump it here

@i998
Copy link
Author

i998 commented Feb 29, 2024

Thank you , I did 2 tests:

  1. couple attempts to run Pixel IMS - see logfiles logcat1.txt and logcat2.txt
  2. uninstall Pixel IMS and install and run again - see logcat3.txt
    Here is the extract from the last file where I think the error is recorded :
02-29 19:29:08.384 12362 12362 D HomeActivity:Home: Shizuku granted
02-29 19:29:08.384 12362 12362 D AndroidRuntime: Shutting down VM
02-29 19:29:08.384 11083 11170 D OpenGLRenderer: endAllActiveAnimators on 0x7a89576d00 (RippleDrawable) with handle 0x7ae283eea0
02-29 19:29:08.384 12362 12362 E AndroidRuntime: FATAL EXCEPTION: main
02-29 19:29:08.384 12362 12362 E AndroidRuntime: Process: dev.bluehouse.enablevolte, PID: 12362
02-29 19:29:08.384 12362 12362 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/telephony/TelephonyFrameworkInitializer;
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at dev.bluehouse.enablevolte.Moder.getSub(Moder.kt:72)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at dev.bluehouse.enablevolte.CarrierModer.getSubscriptions(Moder.kt:87)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at dev.bluehouse.enablevolte.HomeActivityKt.PixelIMSApp$loadApplication$lambda$8(HomeActivity.kt:140)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at dev.bluehouse.enablevolte.HomeActivityKt.$r8$lambda$PSSqzEs_Z2UKt3jY9hNxlBuZUxA(Unknown Source:0)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at dev.bluehouse.enablevolte.HomeActivityKt$$ExternalSyntheticLambda0.onRequestPermissionResult(Unknown Source:12)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at rikka.shizuku.Shizuku.lambda$scheduleRequestPermissionResultListener$5(Shizuku.java:402)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at rikka.shizuku.Shizuku$$ExternalSyntheticLambda4.run(Unknown Source:6)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:883)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:100)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:359)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7418)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
02-29 19:29:08.384 12362 12362 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: android.telephony.TelephonyFrameworkInitializer

logcat1.txt
logcat2.txt
logcat3.txt

Hope that helps. Please let me know if I can provide any more data - appreciate your help.

@i998
Copy link
Author

i998 commented Feb 29, 2024

P.S. Please also see results from
adb logcat -b radio

logcatRadio.txt

@IntelCorei5-8350u
Copy link

Seems like a bug with Android 10 devices. I have a secondary phone running Android 10 too and faced this issue

@i998
Copy link
Author

i998 commented Mar 10, 2024

Is any chance to fix this bug please? Unfortunately Sony does not have any further update with a higher Androind version or a patch....

@torbol
Copy link

torbol commented Mar 12, 2024

Here it's mine with exactly the same error:

Device: Huawei P30 Pro
OS: Android 10

The logcat says:

03-12 00:50:13.060  5086  5086 E AndroidRuntime: FATAL EXCEPTION: main
03-12 00:50:13.060  5086  5086 E AndroidRuntime: Process: dev.bluehouse.enablevolte, PID: 5086
03-12 00:50:13.060  5086  5086 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/telephony/TelephonyFrameworkInitializer;
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.Moder.getSub(Moder.kt:72)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.CarrierModer.getSubscriptions(Moder.kt:87)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.HomeActivityKt.PixelIMSApp$loadApplication(HomeActivity.kt:133)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.HomeActivityKt.access$PixelIMSApp$loadApplication(HomeActivity.kt:1)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.HomeActivityKt$PixelIMSApp$1.invoke(HomeActivity.kt:156)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.HomeActivityKt$PixelIMSApp$1.invoke(HomeActivity.kt:154)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.ComponentsKt$OnLifecycleEvent$1$1$observer$1.onStateChanged(Components.kt:69)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.kt:314)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.lifecycle.LifecycleRegistry.forwardPass(LifecycleRegistry.kt:251)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.kt:287)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.kt:199)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:138)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:131)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.compose.ui.platform.AndroidComposeView.onAttachedToWindow(AndroidComposeView.android.kt:1147)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.View.dispatchAttachedToWindow(View.java:20107)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3619)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3626)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3626)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3626)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3626)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2549)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2166)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8887)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1280)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.Choreographer.doCallbacks(Choreographer.java:1019)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.Choreographer.doFrame(Choreographer.java:911)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1248)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:900)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:103)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:219)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:8668)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
03-12 00:50:13.060  5086  5086 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: android.telephony.TelephonyFrameworkInitializer
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        ... 34 more

The problem seems related to the library used in Moder.kt: import android.telephony.TelephonyFrameworkInitializer maybe as @bolabola6789 mentioned, it's not compatible with Android 10 (but the minimum SDK in Google play is 29 which is just for Android 10) I'm not familiar with programming at this level, just starting in this world, but who knows, this comment might help to another in something.

@fillwithjoy1
Copy link
Contributor

Here it's mine with exactly the same error:

Device: Huawei P30 Pro OS: Android 10

The logcat says:

03-12 00:50:13.060  5086  5086 E AndroidRuntime: FATAL EXCEPTION: main
03-12 00:50:13.060  5086  5086 E AndroidRuntime: Process: dev.bluehouse.enablevolte, PID: 5086
03-12 00:50:13.060  5086  5086 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/telephony/TelephonyFrameworkInitializer;
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.Moder.getSub(Moder.kt:72)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.CarrierModer.getSubscriptions(Moder.kt:87)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.HomeActivityKt.PixelIMSApp$loadApplication(HomeActivity.kt:133)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.HomeActivityKt.access$PixelIMSApp$loadApplication(HomeActivity.kt:1)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.HomeActivityKt$PixelIMSApp$1.invoke(HomeActivity.kt:156)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.HomeActivityKt$PixelIMSApp$1.invoke(HomeActivity.kt:154)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at dev.bluehouse.enablevolte.ComponentsKt$OnLifecycleEvent$1$1$observer$1.onStateChanged(Components.kt:69)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.kt:314)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.lifecycle.LifecycleRegistry.forwardPass(LifecycleRegistry.kt:251)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.kt:287)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.kt:199)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:138)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:131)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at androidx.compose.ui.platform.AndroidComposeView.onAttachedToWindow(AndroidComposeView.android.kt:1147)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.View.dispatchAttachedToWindow(View.java:20107)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3619)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3626)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3626)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3626)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3626)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2549)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2166)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8887)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1280)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.Choreographer.doCallbacks(Choreographer.java:1019)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.Choreographer.doFrame(Choreographer.java:911)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1248)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:900)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:103)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:219)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:8668)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
03-12 00:50:13.060  5086  5086 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: android.telephony.TelephonyFrameworkInitializer
03-12 00:50:13.060  5086  5086 E AndroidRuntime:        ... 34 more

The problem seems related to the library used in Moder.kt: import android.telephony.TelephonyFrameworkInitializer maybe as @bolabola6789 mentioned, it's not compatible with Android 10 (but the minimum SDK in Google play is 29 which is just for Android 10) I'm not familiar with programming at this level, just starting in this world, but who knows, this comment might help to another in something.

You might be onto something

@raphinesse
Copy link

Same issue on a OnePlus 5T using 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

5 participants