Resolved Mi 10 Ultra - 5G - Not available on primary SIM on Weekly 21.1.20


Alexbo

Members
Dec 13, 2015
33
20
Hello All,
I hope someone can help me. I have been using the Mi 10 Ultra for some time now, only with the stable rom and was working great.
I had posted before, that 5G was not available for me. When going in the Settings, it was never available in Preferred Network Type..

I have now moved to Weekly ROM 21.1.20 and to my surprise, on the main SIM (which is Orange and should get 5G) it is not selectable in Preferred Network Type:


34439
34440


But if I change the main DATA SIM, to the secondary SIM (which is in fact roaming), it gives me the option to select 5G.

Logcat: "
01-26 17:58:05.126 2930 2930 D PreferredNetworkTypeListPreference: PreferredNetworkTypeListPreference: phoneType = 1
01-26 17:58:05.188 2930 2930 I PreferredNetworkTypeListPreference: get preferred network type: 9, isFiveGNetworkModeSelected: false
01-26 17:58:05.188 2930 2930 I PreferredNetworkTypeListPreference: checkRadioPreference key: 9, forceChecked: false, mLteNetworkType: 20, is4GNetworkMode: false, is5GNetworkMode: false, isFiveGNetworkModeSelected: false

34443
2021-01-26 13.20.55.jpg


Logcat of the change:

01-26 17:58:24.860 2930 2930 D FiveGDataOptimize: TelephonyIntents.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED
01-26 17:58:24.863 2930 2930 D FiveGManager: onDataSlotReady, dataSlotChanged: true, dataSlot: 1
01-26 17:58:24.865 2930 3351 I FiveGManager: FiveGHandler handleMessage what=8
01-26 17:58:24.865 2930 3351 I FiveGManager: isDataSlotCarrierConfigFetchDone dataSlot: 1, carrier state: 1, isDataSlotReady: true
01-26 17:58:24.865 2930 3351 D FiveGManager: carrier config changed, dataSlotCarrierConfigFetchDone: true, getInsertedSimCount: 2
01-26 17:58:24.866 2930 3351 D FiveGManager: carrier config changed, data slot carrier fetch done

01-26 17:58:24.866 2930 3351 D FiveGManager: carrier config changed, userEnabledSetting: 1, 5GSwitchCarrierConfig: true

01-26 17:58:24.874 2930 21661 D FiveGManager: set user SA switch mode to 0, qcRilHookReady: true
01-26 17:58:24.875 2930 21661 D FiveGCloudController: getFiveGSaCloudStatus slotId: 1, operator: 22250
01-26 17:58:24.875 2930 21661 D FiveGCloudController: getFiveGSaCloudStatus slotId: 1, operator: 22250
01-26 17:58:24.875 2930 21661 D FiveGManager: getFiveGNetworkMode origMode: 0, dataSlotId: 1, disabledByCloud: false, enabledByCloud: false, is5GSaModeCarrierAvailable: true, is5GSaModeCarrierDisabled: true
01-26 17:58:24.922 2930 21660 D FiveGManager: Set slot 0 SA Response Exception: org.codeaurora.telephony.utils.CommandException: GENERIC_FAILURE
01-26 17:58:24.923 2930 21661 D FiveGManager: Set slot 1 SA Response Exception: org.codeaurora.telephony.utils.CommandException: GENERIC_FAILURE
01-26 17:58:25.166 2930 3091 D QtiRadioIndication: on5gStatusChange: slotId = 1
01-26 17:58:25.166 2930 3091 D QtiRadioIndication: on5gStatusChange: enabled = true
01-26 17:58:25.167 2930 3318 D FiveGDataOptimize: on5gStatus: slotId = 1 token = Token: -1 statusStatus: 1 enableStatus = true
01-26 17:58:25.935 2930 3311 D FiveGDataOptimize: TxRx: 0, Tx: 0, Rx: 0, Hit: 0
01-26 17:58:30.947 2930 3311 D FiveGDataOptimize: TxRx: 0, Tx: 0, Rx: 0, Hit: 0
01-26 17:58:31.180 2930 2930 D PreferredNetworkTypeListPreference: PreferredNetworkTypeListPreference: phoneType = 1
01-26 17:58:31.245 2930 2930 I PreferredNetworkTypeListPreference: get preferred network type: 26, isFiveGNetworkModeSelected: true

01-26 17:58:31.245 2930 2930 I PreferredNetworkTypeListPreference: checkRadioPreference key: 26, forceChecked: false, mLteNetworkType: 20, is4GNetworkMode: false, is5GNetworkMode: true, isFiveGNetworkModeSelected: true


Can someone help me understand why is this happening?

You can find the full LOG CAT (attached) of this in case someone can check it out for me

Thank you
 

Attachments

  • 2021-01-26 13.20.48.jpg
    2021-01-26 13.20.48.jpg
    14.2 KB · Views: 238
  • logcat 5G - Mi10 Ultra.txt
    10.3 KB · Views: 213
Do me a favor, while recording a log using the same command, switch from SIM 1 to SIM 2, then back to SIM 1.
 
Done. changed from sim1 to sim2 and back to sim1:
According to the log, it says that the carrier disabled 5G...
I FiveGManager: isDataSlotCarrierConfigFetchDone dataSlot: 0, carrier state: 1, isDataSlotReady: true
D FiveGManager: carrier config changed, dataSlotCarrierConfigFetchDone: true, getInsertedSimCount: 2
D FiveGManager: carrier config changed, data slot carrier fetch done
D FiveGManager: carrier config changed, userEnabledSetting: 1, 5GSwitchCarrierConfig: false
D FiveGManager: carrier config changed, user update 5G database, carrier disable 5G
D FiveGManager: set5GEnabled enable 5G, dataSlot: 0
D FiveGManager: update 5G SA status
D FiveGCloudController: getFiveGSaCloudStatus slotId: 0, operator: 21403
While properly enabled for the Italian SIM:
I FiveGManager: isDataSlotCarrierConfigFetchDone dataSlot: 1, carrier state: 1, isDataSlotReady: true
D FiveGManager: carrier config changed, dataSlotCarrierConfigFetchDone: true, getInsertedSimCount: 2
D FiveGManager: carrier config changed, data slot carrier fetch done
D FiveGManager: carrier config changed, userEnabledSetting: 1, 5GSwitchCarrierConfig: true
D FiveGManager: update 5G SA status
D FiveGCloudController: getFiveGSaCloudStatus slotId: 1, operator: 22250
 
  • Sad
Reactions: Alexbo
YEEEESSSS!!!!

I Get to choose 5G on Orange!

Thank you so much!! now Im truly happy with the phone!! :)
Are you seeing 5G signal on the status bar?

P.S. Cleaned this thread so it'll be more helpful to other users who might stumble upon this issue.
 
  • Like
Reactions: Alexbo
Are you seeing 5G signal on the status bar?

P.S. Cleaned this thread so it'll be more helpful to other users who might stumble upon this issue.
Unfortunately, in my house there's no 5G signal. I'll test tomorrow though.
Yes please, clean it so others might find it useful.
I'll revert tomorrow (hopefully with 5G)
 
Unfortunately, in my house there's no 5G signal. I'll test tomorrow though.
Yes please, clean it so others might find it useful.
I'll revert tomorrow (hopefully with 5G)
I spoke too fast. Yes I get the 5g signal on status bar

34447
 
Just wanted to mention that I had to re-apply the code after a reboot.
When rebooting, something happens that It loosses the 5G option, but once the code *#*#34834#*#* is inserted. Voilá. All works OK again.

There hast to be some kind of bug, but I dont reboot that often, so Im ok having the code on a note and inserting it if needed.
:)
 
@Igor Eisberg : i have a similar issue on my mi 10 ultra with EE operator in London. I'm using only one SIM in the first slot.

I'm able to choose the 5g in the preferred network but the 5g signal never appears on my status bar (it used to, when using the chinese rom version)

Please find attached the logcat generated when switching mode from "preferer LTE" to "prefer 5g".

Is this line "is5GSaModeCarrierDisabled: true" relevant ?

I've tried the code provided in the previous comment but it didn't help
 

Attachments

  • logcat.txt
    11.8 KB · Views: 252
@Igor Eisberg : i have a similar issue on my mi 10 ultra with EE operator in London. I'm using only one SIM in the first slot.

I'm able to choose the 5g in the preferred network but the 5g signal never appears on my status bar (it used to, when using the chinese rom version)

Please find attached the logcat generated when switching mode from "preferer LTE" to "prefer 5g".

Is this line "is5GSaModeCarrierDisabled: true" relevant ?

I've tried the code provided in the previous comment but it didn't help
Hmm no, 5G SA isn't relevant outside of China, and the code ain't gonna help if you can already see the 5G network type option. I'll take a look...
 
  • Like
Reactions: tomibolo
Hmm no, 5G SA isn't relevant outside of China, and the code ain't gonna help if you can already see the 5G network type option. I'll take a look...
Hi! Think that have the same problem I live in Australia. With China ROM 5G was working fine. Now I have EU ROM and not able to make 5G work. I can choose 5g network but not make it work.

Thanks for your help. Not sure what to do.