Infeasible
Status Update
Comments
ad...@google.com <ad...@google.com>
ad...@google.com <ad...@google.com> #2
I believe this is for the shim library but it's unclear who the new owner is now, so please triage and reassign.
ch...@gmail.com <ch...@gmail.com> #3
please let me show the service state log and cell infor message here.
[serviceState]
{mVoiceRegState=0(IN_SERVICE), mDataRegState=0(IN_SERVICE), mChannelNumber=1350, duplexMode()=1, mCellBandwidths=[], isManualNetworkSelection=false(automatic), getRilVoiceRadioTechnology=14(LTE), getRilDataRadioTechnology=14(LTE), mCssIndicator=unsupported, mCdmaRoamingIndicator=-1, mCdmaDefaultRoamingIndicator=-1, VoiceRegType=0, ImsVoiceAvail=2, Snap=0, MobileVoice=IN_SERVICE, MobileVoiceRat=Unknown, MobileData=IN_SERVICE, MobileDataRoamingType=home, MobileDataRat=LTE PsOnly=false FemtocellInd=0 SprDisplayRoam=false EndcStatus=1 RestrictDcnr=0 NrBearerStatus=1 5gStatus=1 RRCState=1, mIsEmergencyOnly=false, isUsingCarrierAggregation=false, mLteEarfcnRsrpBoost=0, mNetworkRegistrationInfos=[NetworkRegistrationInfo{ domain=CS transportType=WWAN registrationState=HOME roamingType=NOT_ROAMING accessNetworkTechnology=LTE rejectCause=0 emergencyEnabled=false availableServices=[VOICE,SMS,VIDEO] cellIdentity=CellIdentityLte:{ mCi=7439687 mPci=274 mTac=4112 mEarfcn=1350 mBandwidth=0 mMcc=450 mMnc=05 mAlphaLong=SKTelecom mAlphaShort=SKTelecom} voiceSpecificInfo=VoiceSpecificRegistrationInfo { mCssSupported=false mRoamingIndicator=0 mSystemIsInPrl=0 mDefaultRoamingIndicator=0} dataSpecificInfo=null nrState=NONE}, NetworkRegistrationInfo{ domain=PS transportType=WWAN registrationState=HOME roamingType=NOT_ROAMING accessNetworkTechnology=LTE rejectCause=0 emergencyEnabled=false availableServices=[DATA] cellIdentity=CellIdentityLte:{ mCi=7439687 mPci=274 mTac=4112 mEarfcn=1350 mBandwidth=0 mMcc=450 mMnc=05 mAlphaLong=SKTelecom mAlphaShort=SKTelecom} voiceSpecificInfo=null dataSpecificInfo=android.telephony.DataSpecificRegistrationInfo :{ maxDataCalls = 4 isDcNrRestricted = false isNrAvailable = true isEnDcAvailable = true LteVopsSupportInfo : mVopsSupport = 2 mEmcBearerSupport = 2 mIsUsingCarrierAggregation = false } nrState=CONNECTED}], mNrFrequencyRange=-1, mIsIwlanPreferred=false}
[cellInfoList] only one cell and it is LTE cell.
cellInfo[0]=CellInfoLte:{mRegistered=YES mTimeStamp=76423411831542ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=7439687 mPci=274 mTac=4112 mEarfcn=1350 mBandwidth=2147483647 mMcc=450 mMnc=05 mAlphaLong=SKTelecom mAlphaShort=SKTelecom} CellSignalStrengthLte: rssi=2147483647 rsrp=-65 rsrq=-10 rssnr=6 cqi=6 ta=5 level=1 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
[serviceState]
{mVoiceRegState=0(IN_SERVICE), mDataRegState=0(IN_SERVICE), mChannelNumber=1350, duplexMode()=1, mCellBandwidths=[], isManualNetworkSelection=false(automatic), getRilVoiceRadioTechnology=14(LTE), getRilDataRadioTechnology=14(LTE), mCssIndicator=unsupported, mCdmaRoamingIndicator=-1, mCdmaDefaultRoamingIndicator=-1, VoiceRegType=0, ImsVoiceAvail=2, Snap=0, MobileVoice=IN_SERVICE, MobileVoiceRat=Unknown, MobileData=IN_SERVICE, MobileDataRoamingType=home, MobileDataRat=LTE PsOnly=false FemtocellInd=0 SprDisplayRoam=false EndcStatus=1 RestrictDcnr=0 NrBearerStatus=1 5gStatus=1 RRCState=1, mIsEmergencyOnly=false, isUsingCarrierAggregation=false, mLteEarfcnRsrpBoost=0, mNetworkRegistrationInfos=[NetworkRegistrationInfo{ domain=CS transportType=WWAN registrationState=HOME roamingType=NOT_ROAMING accessNetworkTechnology=LTE rejectCause=0 emergencyEnabled=false availableServices=[VOICE,SMS,VIDEO] cellIdentity=CellIdentityLte:{ mCi=7439687 mPci=274 mTac=4112 mEarfcn=1350 mBandwidth=0 mMcc=450 mMnc=05 mAlphaLong=SKTelecom mAlphaShort=SKTelecom} voiceSpecificInfo=VoiceSpecificRegistrationInfo { mCssSupported=false mRoamingIndicator=0 mSystemIsInPrl=0 mDefaultRoamingIndicator=0} dataSpecificInfo=null nrState=NONE}, NetworkRegistrationInfo{ domain=PS transportType=WWAN registrationState=HOME roamingType=NOT_ROAMING accessNetworkTechnology=LTE rejectCause=0 emergencyEnabled=false availableServices=[DATA] cellIdentity=CellIdentityLte:{ mCi=7439687 mPci=274 mTac=4112 mEarfcn=1350 mBandwidth=0 mMcc=450 mMnc=05 mAlphaLong=SKTelecom mAlphaShort=SKTelecom} voiceSpecificInfo=null dataSpecificInfo=android.telephony.DataSpecificRegistrationInfo :{ maxDataCalls = 4 isDcNrRestricted = false isNrAvailable = true isEnDcAvailable = true LteVopsSupportInfo : mVopsSupport = 2 mEmcBearerSupport = 2 mIsUsingCarrierAggregation = false } nrState=CONNECTED}], mNrFrequencyRange=-1, mIsIwlanPreferred=false}
[cellInfoList] only one cell and it is LTE cell.
cellInfo[0]=CellInfoLte:{mRegistered=YES mTimeStamp=76423411831542ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=7439687 mPci=274 mTac=4112 mEarfcn=1350 mBandwidth=2147483647 mMcc=450 mMnc=05 mAlphaLong=SKTelecom mAlphaShort=SKTelecom} CellSignalStrengthLte: rssi=2147483647 rsrp=-65 rsrq=-10 rssnr=6 cqi=6 ta=5 level=1 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
ad...@google.com <ad...@google.com> #4
We have passed this to the development team and will update this issue with more information as it becomes available.
ad...@google.com <ad...@google.com> #5
Can you please share a bug report.
sh...@g.softbank.co.jp <sh...@g.softbank.co.jp> #6
because I am not in Korean now, so I can't reproduce this issue based on 5G+Galaxy.
but I found there is the same issue(getCellConnectionStatus() always is 0) existed in my pixel 3 device.
so I took the bug report on our Pixel 3 and updated the log to Google Driver.
https://drive.google.com/file/d/1e8amqKCEjRSKRK-j2GOFlmD2CJ9zgHMS/view?usp=sharing
but I found there is the same issue(getCellConnectionStatus() always is 0) existed in my pixel 3 device.
so I took the bug report on our Pixel 3 and updated the log to Google Driver.
ch...@gmail.com <ch...@gmail.com> #7
because I am not in Korean now, so I can't reproduce this issue based on 5G+Galaxy.
but I found there is the same issue(getCellConnectionStatus() always is 0) existed in my pixel 3 device.
so I took the bug report on our Pixel 3 and updated the log to Google Driver.
https://drive.google.com/file/d/1e8amqKCEjRSKRK-j2GOFlmD2CJ9zgHMS/view?usp=sharing
but I found there is the same issue(getCellConnectionStatus() always is 0) existed in my pixel 3 device.
so I took the bug report on our Pixel 3 and updated the log to Google Driver.
ry...@accenture.com <ry...@accenture.com> #8
I'm currently working on a project that I believe is facing the same issue. We never get CellInfoNr objects returned from TelephonyManager.getAllCellInfo(). Here is a section of our logcat indicating the problem:
01-20 15:40:30.969 31872 31872 D FT.TuiUtilFeature: isAirplaneModeOn = false
01-20 15:40:30.969 31872 31872 D FT.TuiSalesCodeFeature: USA.isCurrentCountry
01-20 15:40:30.976 31872 31872 V FT.PhoneUtilsMultiSim: getMultiSimIccType phoneId 0 icctype 2
01-20 15:40:30.977 31872 31872 V FT.PhoneUtilsMultiSim: isSimCardInserted[slot0] true
01-20 15:40:30.977 31872 31872 V FT.PhoneUtilsMultiSim: isSimCardStatusOn[slot0] true
01-20 15:40:30.977 31872 31872 V FT.PhoneUtilsMultiSim: getMultiSimIccType phoneId 1 icctype 0
01-20 15:40:30.977 31872 31872 V FT.PhoneUtilsMultiSim: isSimCardInserted[slot1] false
01-20 15:40:30.978 2279 2279 D IndicatorGardener: PhoneStatusBarView is done to update (IndicatorGardenModel) lp:63, lc:1540, cc:641, rc:1782, rp:63, h:63
01-20 15:40:31.009 31872 31872 D UT.TelephonyUtils: getPreferredNetworkModeValue : 33 slot : 0
01-20 15:40:31.135 2279 2382 D NetworkController.MobileSignalController(0/1): onSignalStrengthsChanged signalStrength=SignalStrength:{mCdma=Invalid,mGsm=Invalid,mWcdma=Invalid,mTdscdma=Invalid,mLte=CellSignalStrengthLte: rssi=-51 rsrp=-68 rsrq=-13 rssnr=214 cqi=2147483647 ta=2147483647 level=4,mNr=CellSignalStrengthNr:{ csiRsrp = 2147483647 csiRsrq = 2147483647 csiSinr = 2147483647 ssRsrp = -100 ssRsrq = -12 ssSinr = 13 level = 0 },SignalBarInfo{ lteLevel=4 },P,rat=14,primary=CellSignalStrengthLte} level=4
01-20 15:40:31.138 32405 32442 V CellUpdateHandler: Received MESSAGE_SIGNAL_CHANGE
01-20 15:40:31.139 2279 2382 D NetworkController.MobileSignalController(0/1): getMobileIconGroup(): 1000
01-20 15:40:31.139 2279 2382 D NetworkController.MobileSignalController(0/1): updateVZWMobileIconGroup(): 1000
01-20 15:40:31.139 32405 32442 D TelephonyManager: getAllCellInfo : Caller (PID / UID / TID): 32405 / 10671 / 32442
01-20 15:40:31.140 2197 2401 D PhoneInterfaceManager: [PhoneIntfMgr] getCallStateForSlot, slotIndex: 0, state: IDLE
01-20 15:40:31.145 32405 32442 V CellUpdateHandler: Checking 6 CellInfo(s)
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found registered CellInfo CellInfoLte:{mRegistered=YES mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=80454938 mPci=412 mTac=3586 mEarfcn=67086 mBandwidth=2147483647 mMcc=311 mMnc=480 mAlphaLong=Verizon Wireless mAlphaShort=VzW} CellSignalStrengthLte: rssi=-53 rsrp=-76 rsrq=-7 rssnr=2147483647 cqi=2147483647 ta=1 level=4 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=75 mTac=2147483647 mEarfcn=67086 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-63 rsrp=-92 rsrq=-20 rssnr=2147483647 cqi=2147483647 ta=1 level=3 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=412 mTac=2147483647 mEarfcn=66586 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-57 rsrp=-82 rsrq=-11 rssnr=2147483647 cqi=2147483647 ta=1 level=4 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=75 mTac=2147483647 mEarfcn=66586 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-57 rsrp=-84 rsrq=-17 rssnr=2147483647 cqi=2147483647 ta=1 level=4 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=29 mTac=2147483647 mEarfcn=55740 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-99 rsrp=-120 rsrq=-11 rssnr=2147483647 cqi=2147483647 ta=1 level=0 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=27 mTac=2147483647 mEarfcn=55340 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-93 rsrp=-113 rsrq=-11 rssnr=2147483647 cqi=2147483647 ta=1 level=1 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
You'll note the log regarding onSignalStrengthsChanged shows a CellSignalStrengthNr object, but the logging of all the CellInfos returned from getAllCellInfo shows only LTE cells (and on top of that, those cells are reporting a connection status of 0). This log was produced from this code:
List<CellInfo> list = getAllCellInfo();
Log.v(TAG, "Checking " + list.size() + " CellInfo(s)");
for (final CellInfo cellInfo : list) {
if (cellInfo == null) {
continue;
}
if (cellInfo.isRegistered()) {
Log.v(TAG, "Found registered CellInfo " + cellInfo);
} else {
Log.v(TAG, "Found unregistered CellInfo " + cellInfo);
}
}
The phone is a Samsung S10. We are certain the phone is connected to 5G. The status bar indicates 5G, and we're also able to get download speeds that are not possible on LTE. I suspect the phone is in Non-Standalone Mode, but I have no way of proving it. Please let me know if there's anything else I can do to help.
01-20 15:40:30.969 31872 31872 D FT.TuiUtilFeature: isAirplaneModeOn = false
01-20 15:40:30.969 31872 31872 D FT.TuiSalesCodeFeature: USA.isCurrentCountry
01-20 15:40:30.976 31872 31872 V FT.PhoneUtilsMultiSim: getMultiSimIccType phoneId 0 icctype 2
01-20 15:40:30.977 31872 31872 V FT.PhoneUtilsMultiSim: isSimCardInserted[slot0] true
01-20 15:40:30.977 31872 31872 V FT.PhoneUtilsMultiSim: isSimCardStatusOn[slot0] true
01-20 15:40:30.977 31872 31872 V FT.PhoneUtilsMultiSim: getMultiSimIccType phoneId 1 icctype 0
01-20 15:40:30.977 31872 31872 V FT.PhoneUtilsMultiSim: isSimCardInserted[slot1] false
01-20 15:40:30.978 2279 2279 D IndicatorGardener: PhoneStatusBarView is done to update (IndicatorGardenModel) lp:63, lc:1540, cc:641, rc:1782, rp:63, h:63
01-20 15:40:31.009 31872 31872 D UT.TelephonyUtils: getPreferredNetworkModeValue : 33 slot : 0
01-20 15:40:31.135 2279 2382 D NetworkController.MobileSignalController(0/1): onSignalStrengthsChanged signalStrength=SignalStrength:{mCdma=Invalid,mGsm=Invalid,mWcdma=Invalid,mTdscdma=Invalid,mLte=CellSignalStrengthLte: rssi=-51 rsrp=-68 rsrq=-13 rssnr=214 cqi=2147483647 ta=2147483647 level=4,mNr=CellSignalStrengthNr:{ csiRsrp = 2147483647 csiRsrq = 2147483647 csiSinr = 2147483647 ssRsrp = -100 ssRsrq = -12 ssSinr = 13 level = 0 },SignalBarInfo{ lteLevel=4 },P,rat=14,primary=CellSignalStrengthLte} level=4
01-20 15:40:31.138 32405 32442 V CellUpdateHandler: Received MESSAGE_SIGNAL_CHANGE
01-20 15:40:31.139 2279 2382 D NetworkController.MobileSignalController(0/1): getMobileIconGroup(): 1000
01-20 15:40:31.139 2279 2382 D NetworkController.MobileSignalController(0/1): updateVZWMobileIconGroup(): 1000
01-20 15:40:31.139 32405 32442 D TelephonyManager: getAllCellInfo : Caller (PID / UID / TID): 32405 / 10671 / 32442
01-20 15:40:31.140 2197 2401 D PhoneInterfaceManager: [PhoneIntfMgr] getCallStateForSlot, slotIndex: 0, state: IDLE
01-20 15:40:31.145 32405 32442 V CellUpdateHandler: Checking 6 CellInfo(s)
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found registered CellInfo CellInfoLte:{mRegistered=YES mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=80454938 mPci=412 mTac=3586 mEarfcn=67086 mBandwidth=2147483647 mMcc=311 mMnc=480 mAlphaLong=Verizon Wireless mAlphaShort=VzW} CellSignalStrengthLte: rssi=-53 rsrp=-76 rsrq=-7 rssnr=2147483647 cqi=2147483647 ta=1 level=4 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=75 mTac=2147483647 mEarfcn=67086 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-63 rsrp=-92 rsrq=-20 rssnr=2147483647 cqi=2147483647 ta=1 level=3 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=412 mTac=2147483647 mEarfcn=66586 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-57 rsrp=-82 rsrq=-11 rssnr=2147483647 cqi=2147483647 ta=1 level=4 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=75 mTac=2147483647 mEarfcn=66586 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-57 rsrp=-84 rsrq=-17 rssnr=2147483647 cqi=2147483647 ta=1 level=4 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=29 mTac=2147483647 mEarfcn=55740 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-99 rsrp=-120 rsrq=-11 rssnr=2147483647 cqi=2147483647 ta=1 level=0 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=27 mTac=2147483647 mEarfcn=55340 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-93 rsrp=-113 rsrq=-11 rssnr=2147483647 cqi=2147483647 ta=1 level=1 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
You'll note the log regarding onSignalStrengthsChanged shows a CellSignalStrengthNr object, but the logging of all the CellInfos returned from getAllCellInfo shows only LTE cells (and on top of that, those cells are reporting a connection status of 0). This log was produced from this code:
List<CellInfo> list = getAllCellInfo();
Log.v(TAG, "Checking " + list.size() + " CellInfo(s)");
for (final CellInfo cellInfo : list) {
if (cellInfo == null) {
continue;
}
if (cellInfo.isRegistered()) {
Log.v(TAG, "Found registered CellInfo " + cellInfo);
} else {
Log.v(TAG, "Found unregistered CellInfo " + cellInfo);
}
}
The phone is a Samsung S10. We are certain the phone is connected to 5G. The status bar indicates 5G, and we're also able to get download speeds that are not possible on LTE. I suspect the phone is in Non-Standalone Mode, but I have no way of proving it. Please let me know if there's anything else I can do to help.
fo...@gmail.com <fo...@gmail.com> #9
Issue Tracker
CREATE ISSUE
Collection navigationCanned searches
Assigned to me
Starred by me
CC'd to me
Reported by me
To be verified
Bookmark groups
Saved searches
Hotlists
Create hotlist
Create bookmark group
Components
Browse components
Assign to me
Comment
Mark as Duplicate
Hotlists (2)
Default
Blocked by -/1 Blocking 0/0 Duplicates (0) Code font ONOFF Full history ONOFF
145308680 NR API getCellConnectionStatus always is 0
145308680 NR API getCellConnectionStatus always is 0
[AOSP] assigned
Google Domain ×
1 person has starred this issue.
Android Public Tracker
ch...@gmail.com <ch...@gmail.com> #1 Nov 27, 2019 07:01PM
Created issue.
I am using the Google API to detect if the network is the NSA or SA.
According to
val hasPrimaryLteCell = telephonyManager.allCellInfo
.filterIsInstance(CellInfoLte::class.java)
.any {
it.cellConnectionStatus == CellInfo.CONNECTION_PRIMARY_SERVING
}
val hasSecondaryNrCell = telephonyManager.allCellInfo
.filterIsInstance(CellInfoNr::class.java)
.any {
it.cellConnectionStatus == CellInfo.CONNECTION_SECONDARY_SERVING
}
val isIn5GNonStandaloneMode = hasPrimaryLteCell && hasSecondaryNrCell
Because I am in Korean and I can use the Galaxy S10 5G device with Android 10 to connect to 5G network,
but I found
1. the [cellConnectionStatus] is always 0
2. we can't find the CellInfoNr from the [telephonyManager.allCellInfo] even though the devices show that it is using the 5G network.
Is this an API issue? or the this issue is from the device manufacturer?
ad...@google.com <ad...@google.com> Nov 27, 2019 07:34PM
Assigned to ad...@google.com.
ad...@google.com <ad...@google.com> #2 Nov 27, 2019 08:54PM
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
Android bug report (to be captured after reproducing the issue)
For steps to capture a bug report, please refer:
Alternate method
Navigate to “Developer options”, ensure “USB debugging” is enabled, then enable “Bug report shortcut”. Capture bug report by holding the power button and selecting the “Take bug report” option.
Note: Please upload the files to google drive and share the folder to android-bugreport@google.com, then share the link here.
ch...@gmail.com <ch...@gmail.com> #3 Nov 27, 2019 09:28PM
please let me show the service state log and cell infor message here.
[serviceState]
{mVoiceRegState=0(IN_SERVICE), mDataRegState=0(IN_SERVICE), mChannelNumber=1350, duplexMode()=1, mCellBandwidths=[], isManualNetworkSelection=false(automatic), getRilVoiceRadioTechnology=14(LTE), getRilDataRadioTechnology=14(LTE), mCssIndicator=unsupported, mCdmaRoamingIndicator=-1, mCdmaDefaultRoamingIndicator=-1, VoiceRegType=0, ImsVoiceAvail=2, Snap=0, MobileVoice=IN_SERVICE, MobileVoiceRat=Unknown, MobileData=IN_SERVICE, MobileDataRoamingType=home, MobileDataRat=LTE PsOnly=false FemtocellInd=0 SprDisplayRoam=false EndcStatus=1 RestrictDcnr=0 NrBearerStatus=1 5gStatus=1 RRCState=1, mIsEmergencyOnly=false, isUsingCarrierAggregation=false, mLteEarfcnRsrpBoost=0, mNetworkRegistrationInfos=[NetworkRegistrationInfo{ domain=CS transportType=WWAN registrationState=HOME roamingType=NOT_ROAMING accessNetworkTechnology=LTE rejectCause=0 emergencyEnabled=false availableServices=[VOICE,SMS,VIDEO] cellIdentity=CellIdentityLte:{ mCi=7439687 mPci=274 mTac=4112 mEarfcn=1350 mBandwidth=0 mMcc=450 mMnc=05 mAlphaLong=SKTelecom mAlphaShort=SKTelecom} voiceSpecificInfo=VoiceSpecificRegistrationInfo { mCssSupported=false mRoamingIndicator=0 mSystemIsInPrl=0 mDefaultRoamingIndicator=0} dataSpecificInfo=null nrState=NONE}, NetworkRegistrationInfo{ domain=PS transportType=WWAN registrationState=HOME roamingType=NOT_ROAMING accessNetworkTechnology=LTE rejectCause=0 emergencyEnabled=false availableServices=[DATA] cellIdentity=CellIdentityLte:{ mCi=7439687 mPci=274 mTac=4112 mEarfcn=1350 mBandwidth=0 mMcc=450 mMnc=05 mAlphaLong=SKTelecom mAlphaShort=SKTelecom} voiceSpecificInfo=null dataSpecificInfo=android.telephony.DataSpecificRegistrationInfo :{ maxDataCalls = 4 isDcNrRestricted = false isNrAvailable = true isEnDcAvailable = true LteVopsSupportInfo : mVopsSupport = 2 mEmcBearerSupport = 2 mIsUsingCarrierAggregation = false } nrState=CONNECTED}], mNrFrequencyRange=-1, mIsIwlanPreferred=false}
[cellInfoList] only one cell and it is LTE cell.
cellInfo[0]=CellInfoLte:{mRegistered=YES mTimeStamp=76423411831542ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=7439687 mPci=274 mTac=4112 mEarfcn=1350 mBandwidth=2147483647 mMcc=450 mMnc=05 mAlphaLong=SKTelecom mAlphaShort=SKTelecom} CellSignalStrengthLte: rssi=2147483647 rsrp=-65 rsrq=-10 rssnr=6 cqi=6 ta=5 level=1 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
ad...@google.com <ad...@google.com> #4 Dec 2, 2019 04:25AM
We have passed this to the development team and will update this issue with more information as it becomes available.
ad...@google.com <ad...@google.com> #5 Dec 4, 2019 08:46PM
Can you please share a bug report.
sh...@g.softbank.co.jp <sh...@g.softbank.co.jp> #6 Dec 4, 2019 10:53PM
because I am not in Korean now, so I can't reproduce this issue based on 5G+Galaxy.
but I found there is the same issue(getCellConnectionStatus() always is 0) existed in my pixel 3 device.
so I took the bug report on our Pixel 3 and updated the log to Google Driver.
ch...@gmail.com <ch...@gmail.com> #7 Dec 4, 2019 10:59PM
because I am not in Korean now, so I can't reproduce this issue based on 5G+Galaxy.
but I found there is the same issue(getCellConnectionStatus() always is 0) existed in my pixel 3 device.
so I took the bug report on our Pixel 3 and updated the log to Google Driver.
ry...@accenture.com <ry...@accenture.com> #8 Jan 21, 2020 02:12PM
I'm currently working on a project that I believe is facing the same issue. We never get CellInfoNr objects returned from TelephonyManager.getAllCellInfo(). Here is a section of our logcat indicating the problem:
01-20 15:40:30.969 31872 31872 D FT.TuiUtilFeature: isAirplaneModeOn = false
01-20 15:40:30.969 31872 31872 D FT.TuiSalesCodeFeature: USA.isCurrentCountry
01-20 15:40:30.976 31872 31872 V FT.PhoneUtilsMultiSim: getMultiSimIccType phoneId 0 icctype 2
01-20 15:40:30.977 31872 31872 V FT.PhoneUtilsMultiSim: isSimCardInserted[slot0] true
01-20 15:40:30.977 31872 31872 V FT.PhoneUtilsMultiSim: isSimCardStatusOn[slot0] true
01-20 15:40:30.977 31872 31872 V FT.PhoneUtilsMultiSim: getMultiSimIccType phoneId 1 icctype 0
01-20 15:40:30.977 31872 31872 V FT.PhoneUtilsMultiSim: isSimCardInserted[slot1] false
01-20 15:40:30.978 2279 2279 D IndicatorGardener: PhoneStatusBarView is done to update (IndicatorGardenModel) lp:63, lc:1540, cc:641, rc:1782, rp:63, h:63
01-20 15:40:31.009 31872 31872 D UT.TelephonyUtils: getPreferredNetworkModeValue : 33 slot : 0
01-20 15:40:31.135 2279 2382 D NetworkController.MobileSignalController(0/1): onSignalStrengthsChanged signalStrength=SignalStrength:{mCdma=Invalid,mGsm=Invalid,mWcdma=Invalid,mTdscdma=Invalid,mLte=CellSignalStrengthLte: rssi=-51 rsrp=-68 rsrq=-13 rssnr=214 cqi=2147483647 ta=2147483647 level=4,mNr=CellSignalStrengthNr:{ csiRsrp = 2147483647 csiRsrq = 2147483647 csiSinr = 2147483647 ssRsrp = -100 ssRsrq = -12 ssSinr = 13 level = 0 },SignalBarInfo{ lteLevel=4 },P,rat=14,primary=CellSignalStrengthLte} level=4
01-20 15:40:31.138 32405 32442 V CellUpdateHandler: Received MESSAGE_SIGNAL_CHANGE
01-20 15:40:31.139 2279 2382 D NetworkController.MobileSignalController(0/1): getMobileIconGroup(): 1000
01-20 15:40:31.139 2279 2382 D NetworkController.MobileSignalController(0/1): updateVZWMobileIconGroup(): 1000
01-20 15:40:31.139 32405 32442 D TelephonyManager: getAllCellInfo : Caller (PID / UID / TID): 32405 / 10671 / 32442
01-20 15:40:31.140 2197 2401 D PhoneInterfaceManager: [PhoneIntfMgr] getCallStateForSlot, slotIndex: 0, state: IDLE
01-20 15:40:31.145 32405 32442 V CellUpdateHandler: Checking 6 CellInfo(s)
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found registered CellInfo CellInfoLte:{mRegistered=YES mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=80454938 mPci=412 mTac=3586 mEarfcn=67086 mBandwidth=2147483647 mMcc=311 mMnc=480 mAlphaLong=Verizon Wireless mAlphaShort=VzW} CellSignalStrengthLte: rssi=-53 rsrp=-76 rsrq=-7 rssnr=2147483647 cqi=2147483647 ta=1 level=4 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=75 mTac=2147483647 mEarfcn=67086 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-63 rsrp=-92 rsrq=-20 rssnr=2147483647 cqi=2147483647 ta=1 level=3 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=412 mTac=2147483647 mEarfcn=66586 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-57 rsrp=-82 rsrq=-11 rssnr=2147483647 cqi=2147483647 ta=1 level=4 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=75 mTac=2147483647 mEarfcn=66586 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-57 rsrp=-84 rsrq=-17 rssnr=2147483647 cqi=2147483647 ta=1 level=4 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=29 mTac=2147483647 mEarfcn=55740 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-99 rsrp=-120 rsrq=-11 rssnr=2147483647 cqi=2147483647 ta=1 level=0 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
01-20 15:40:31.146 32405 32442 V CellUpdateHandler: Found unregistered CellInfo CellInfoLte:{mRegistered=NO mTimeStamp=28171403870034ns mCellConnectionStatus=0 CellIdentityLte:{ mCi=2147483647 mPci=27 mTac=2147483647 mEarfcn=55340 mBandwidth=2147483647 mMcc=null mMnc=null mAlphaLong= mAlphaShort=} CellSignalStrengthLte: rssi=-93 rsrp=-113 rsrq=-11 rssnr=2147483647 cqi=2147483647 ta=1 level=1 android.telephony.CellConfigLte :{ isEndcAvailable = false }}
You'll note the log regarding onSignalStrengthsChanged shows a CellSignalStrengthNr object, but the logging of all the CellInfos returned from getAllCellInfo shows only LTE cells (and on top of that, those cells are reporting a connection status of 0). This log was produced from this code:
List<CellInfo> list = getAllCellInfo();
Log.v(TAG, "Checking " + list.size() + " CellInfo(s)");
for (final CellInfo cellInfo : list) {
if (cellInfo == null) {
continue;
}
if (cellInfo.isRegistered()) {
Log.v(TAG, "Found registered CellInfo " + cellInfo);
} else {
Log.v(TAG, "Found unregistered CellInfo " + cellInfo);
}
}
The phone is a Samsung S10. We are certain the phone is connected to 5G. The status bar indicates 5G, and we're also able to get download speeds that are not possible on LTE. I suspect the phone is in Non-Standalone Mode, but I have no way of proving it. Please let me know if there's anything else I can do to help.
Add comment
ad...@google.com <ad...@google.com> #10
1) If your app is targeting Q+, then you need to use requestCellInfoUpdate() to get the latest info from the modem; otherwise, you'll just get the last thing that was retrieved. Please read the javadocs for getAllCellInfo() and requestCellInfoUpdate() to get all the details.
2) If you're on 5G NSA/EN-DC (likely) then your primary serving cell is still LTE, so the Primary cell would be correct.
3) If the 5G neighbor that's being used for EN-DC isn't being reported, then it's a modem "limitation", and you'll need to talk to the OEM/modem vendor. Android just forwards the information it receives in this case: we don't have a way to enforce/require that all info be provided; we simply provide an interface so that oems/chipset vendors that choose to report information correctly can do so.
2) If you're on 5G NSA/EN-DC (likely) then your primary serving cell is still LTE, so the Primary cell would be correct.
3) If the 5G neighbor that's being used for EN-DC isn't being reported, then it's a modem "limitation", and you'll need to talk to the OEM/modem vendor. Android just forwards the information it receives in this case: we don't have a way to enforce/require that all info be provided; we simply provide an interface so that oems/chipset vendors that choose to report information correctly can do so.
ad...@google.com <ad...@google.com> #11
Let us know if comment #10 addresses the issue you are facing.
ry...@accenture.com <ry...@accenture.com> #12
Hi. Comment #10 does not address the issue. Please see the additional issue I filed, #149246537.
st...@gmail.com <st...@gmail.com> #13
I can confirm the problem, we are using Samsung s10+ 5G in the US,
regarding #10
1. requestCellInfoUpdates is used
2. yes primary cell is LTE and is connected (cellConnectionStatus is always 0), no CellInfoNR present
3. ok possibly, but on logcat for com.android.phone in one moment we have observed CellInfoNr and CellIdentityNr data.
Thanks in advance
regarding #10
1. requestCellInfoUpdates is used
2. yes primary cell is LTE and is connected (cellConnectionStatus is always 0), no CellInfoNR present
3. ok possibly, but on logcat for com.android.phone in one moment we have observed CellInfoNr and CellIdentityNr data.
Thanks in advance
ad...@google.com <ad...@google.com> #14
Unfortunately, this issue is not reproducible with our version of the AOSP source code for Pixel devices. Please file a bug with the respective OEM (Samsung in this case), as they are using their own customized version of the AOSP source code. This bug will be marked as closed.
ol...@gmail.com <ol...@gmail.com> #15
I just reproduced this problem with a Pixel 5 phone, even with 5G displayed in the status bar, no CellInfoNR is sent by the API. Only CellInfoLTE.
Is the Pixel 5 also have the modem limitation described in the #10 comment?
Is the Pixel 5 also have the modem limitation described in the #10 comment?
to...@gmail.com <to...@gmail.com> #16
Mark it closed???? It hasn't been corrected
pa...@gmail.com <pa...@gmail.com> #17
This is replicable on all Pixel devices in UK.
st...@gmail.com <st...@gmail.com> #18
just quick explanation.
NR cells are not always visible because chipset limitation, for example Samsung A32 report NR cells in non standalone setup, LTE is still primary, and 5G is used only for data transfer. but Samsung S line phones does not, A52 also no, pixels 3 and 4, xiaomi phones also does not show nrCellInfo in non standalone setup. In this case even you can see on status bar that phone is on 5G, no information about cell is avaialble in most cases only thing that is possibly to get are NrSignalStrength and NSA override mode.
For standalone setup is clear, since in this setup NR is primary cell all NrCellInfo and CellIdentity, SignalStrength is reported. but standalone is not available everywhere.
BR
NR cells are not always visible because chipset limitation, for example Samsung A32 report NR cells in non standalone setup, LTE is still primary, and 5G is used only for data transfer. but Samsung S line phones does not, A52 also no, pixels 3 and 4, xiaomi phones also does not show nrCellInfo in non standalone setup. In this case even you can see on status bar that phone is on 5G, no information about cell is avaialble in most cases only thing that is possibly to get are NrSignalStrength and NSA override mode.
For standalone setup is clear, since in this setup NR is primary cell all NrCellInfo and CellIdentity, SignalStrength is reported. but standalone is not available everywhere.
BR
Description
According to
val hasPrimaryLteCell = telephonyManager.allCellInfo
.filterIsInstance(CellInfoLte::class.java)
.any {
it.cellConnectionStatus == CellInfo.CONNECTION_PRIMARY_SERVING
}
val hasSecondaryNrCell = telephonyManager.allCellInfo
.filterIsInstance(CellInfoNr::class.java)
.any {
it.cellConnectionStatus == CellInfo.CONNECTION_SECONDARY_SERVING
}
val isIn5GNonStandaloneMode = hasPrimaryLteCell && hasSecondaryNrCell
Because I am in Korean and I can use the Galaxy S10 5G device with Android 10 to connect to 5G network,
but I found
1. the [cellConnectionStatus] is always 0
2. we can't find the CellInfoNr from the [telephonyManager.allCellInfo] even though the devices show that it is using the 5G network.
Is this an API issue? or the this issue is from the device manufacturer?