%CELLID never getting set ... ???

303 views
Skip to first unread message

Hippo Man

unread,
Dec 29, 2016, 5:31:00 PM12/29/16
to Tasker
I'm running on Marshmallow using T-Mobile. I normally get a strong "LTE" cell signal, and I have no problem using my phone.

However, the %CELLID variable is never getting set in Tasker, even if I monitor that variable within a context.

Is this non-setting of %CELLID perhaps some sort of "feature" of T-Mobile's "LTE" service?
.

Message has been deleted

Hippo Man

unread,
Dec 30, 2016, 9:26:37 AM12/30/16
to Tasker
I know that my cell ID is available, because I can see it when running cell-info apps. For example, the "CellID Info" app returns this for me:

Information about your current cellular network

Network type (GSM/CDMA)     GSM
GSM Cell ID (CID)                  xxxxxxxx
GSM Location Area Code        xxxxx
... etc. ...

(where the x's are numbers)

However, this GSM Cell ID never gets put into Tasker's %CELLID variable on my device.
.

Hippo Man

unread,
Dec 30, 2016, 10:23:59 AM12/30/16
to Tasker
Furthermore, if I run "getprop | grep gsm" from an android shell, I only get the following info. Nothing relates to Cell ID. Does %CELLID normally get set from something within this "getprop" output, by any chance?

[gsm.current.phone-type]: [1]
[gsm.defaultpdpcontext.active]: [true]
[gsm.network.type]: [LTE]
[gsm.nitz.time]: [1483105127009]
[gsm.operator.alpha]: [T-Mobile ]
[gsm.operator.iso-country]: [us]
[gsm.operator.isroaming]: [false]
[gsm.operator.numeric]: [310260]
[gsm.sim.operator.alpha]: [T-Mobile]
[gsm.sim.operator.iso-country]: [us]
[gsm.sim.operator.numeric]: [310260]
[gsm.sim.state]: [READY]
[gsm.version.baseband]: [G900T3UVU1FOG6]
[gsm.version.ril-impl]: [Samsung RIL v3.0]

I also ran "getprop | grep xxxxxxxx", where "xxxxxxxx" is the cell ID displayed by the "CellID Info" app. But that ID doesn't appear anywhere in the getprop output.
.
But since the "CellID Info" app can get a cell ID, where can I go to find this value? I prefer to do this via a shell command rather than via java code, if at all possible.
.

Hippo Man

unread,
Dec 30, 2016, 10:46:01 AM12/30/16
to Tasker
OK. I figured it out.

I had to unset "Use New Cell API" in Tasker's Preferences. That setting was working in my pre-Marshmallow OS, but apparently, it is not working in 6.x, at least not on my device.

Onward!
.

Reply all
Reply to author
Forward
0 new messages