You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: