Skip to content

[Feature Request]: Detect 5G SA vs NSA carrier capability & guard against "5G Only" signal loss #28

Description

@BuddhaDiedLaughing

Shizuku status, if applicable

Shizuku running and permission granted

Root status, if applicable

None

Current behavior

The latest DeepSeek is very confident this is exactly what you need:

Attached: 60 samples of dumpsys telephony.registry captured at 0.5s intervals over ~2 minutes while toggling between Prefer 5G and 5G Only. Extracted fields per sample: mVoiceRegState, mDataRegState, getRilDataRadioTechnology, mChannelNumber, mDataConnectionState. Raw dump available if useful.

Behavior 1 — 5G Only drops all service.
Every sample in 5G Only shows:

mVoiceRegState=1(OUT_OF_SERVICE)
mDataRegState=1(OUT_OF_SERVICE)
getRilDataRadioTechnology=0(Unknown)
mChannelNumber=-1

No fallback to LTE, no partial attach. To the user this is indistinguishable from mobile data being off. Recovery requires switching back to Prefer 5G, after which the phone attaches normally as LTE (getRilDataRadioTechnology=14).

Behavior 2 — under Prefer 5G, NR aggregates but doesn't persist.
The phone reliably attaches as LTE and shows 5G UW (NR secondary aggregated) for a short window, then reverts to plain 5G. My understanding is this is standard NSA SCG release on inactivity, so not something the app can hold — flagging it only because it shows the phone can see and use NR in this location, which means Behavior 1 isn't a coverage or hardware issue.

Context:

  • Device: Snapdragon S24, One UI 8.5
  • Carrier: Verizon subsidiary (Tracfone)
  • Testing location: home
  • Method: Shizuku
  • NetToggle version: 1.2.0
  • Note: UW does not appear at this location under normal use; it only showed up briefly after mode toggles triggered a fresh attach. Possible this is a corner-case cell for NR availability.

What I'm hoping to learn:

  1. Is the total service drop under 5G Only expected given my carrier/SIM/plan, or is the app issuing a mode request the modem can't service gracefully?
  2. If it's a codebase issue, is there a safer fallback or a pre-flight check the app could do before applying RAF_NR?

Happy to run additional captures if any particular state would be more useful.

transitions_clean.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions