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

Not supported on Android 14/15 #1

Open
voidregreso opened this issue Jan 17, 2025 · 0 comments
Open

Not supported on Android 14/15 #1

voidregreso opened this issue Jan 17, 2025 · 0 comments

Comments

@voidregreso
Copy link

I integrated this module into my ROM (based on Lineage OS 21/22). However, it reported "failed to set preferred 5G mode".
By checking the logcat, I found the messages like this:
01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: Exception on get oplus radio for simId 1 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: java.util.NoSuchElementException 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at android.os.HwBinder.getService(Native Method) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at android.os.HwBinder.getService(HwBinder.java:93) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at vendor.oplus.hardware.radio.V1_0.IOplusRadio.getService(IOplusRadio.java:45) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at org.nameless.nrmode.radio.OplusRadioWrapper.getService(OplusRadioWrapper.kt:44) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at org.nameless.nrmode.radio.OplusRadioWrapper.checkService(OplusRadioWrapper.kt:69) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at org.nameless.nrmode.radio.OplusRadioWrapper.setNrMode(OplusRadioWrapper.kt:94) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at org.nameless.nrmode.NrModeSettingsFragment.onPreferenceChange(NrModeSettingsFragment.kt:68) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at androidx.preference.Preference.callChangeListener(Preference.java:1131) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at androidx.preference.ListPreferenceDialogFragmentCompat.onDialogClosed(ListPreferenceDialogFragmentCompat.java:109) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at androidx.preference.PreferenceDialogFragmentCompat.onDismiss(PreferenceDialogFragmentCompat.java:290) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at androidx.fragment.app.DialogFragment$3.onDismiss(DialogFragment.java:374) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1496) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at android.os.Handler.dispatchMessage(Handler.java:109) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at android.os.Looper.loopOnce(Looper.java:232) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at android.os.Looper.loop(Looper.java:317) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at android.app.ActivityThread.main(ActivityThread.java:8787) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at java.lang.reflect.Method.invoke(Native Method) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:594) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:871) 01-17 14:21:39.586 2772 2772 E OplusRadioWrapper: Oplus radio for simId 1 is null

And the dmesg provided the deeper cause:
[ 3790.654290] (3)[1:init]init: Control message: Could not find '[email protected]::IOplusRadio/oplus_slot1' for ctl.interface_start from pid: 676 (/system/system_ext/bin/hwservicemanager)

But I confirmed "[email protected]" exists in my ROM's vendor, and the phone's 5G radio worked fine. So, how to resolve this issue?

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

1 participant