Robert_in_Cambridge
New member
Is there a way to access the cell tower strength in a variable? I don't mean the WiFi strength; I mean a numerical value for 'number of bars' symbol.
It only works on rooted devices...try shell script action as below:
getprop vendor.ril.nw.signalstrength.lte.1
The last value means SIM1. Change to 2 when you want to get SIM2.
Thank you for posting this. The programming is a bit heavy for me, but maybe I should get more into shell scripts.try shell script action as below:
getprop vendor.ril.nw.signalstrength.lte.1
The last value means SIM1. Change to 2 when you want to get SIM2.
Don't worry. You need to write just few lines if you want to get and display cell radio wave strength value only.Thank you for posting this. The programming is a bit heavy for me, but maybe I should get more into shell scripts.
Unfortunately it only works on rooted devices...Don't worry. You need to write just few lines if you want to get and display cell radio wave strength value only.
It might be too redundant coz I wrote it when I was newbie to check up MD features.
No. It works non-rooted as wellUnfortunately it only works on rooted devices...
To me it returns an empty stringNo. It works non-rooted as well
setprop is working on rooted ONLY, but getprop is working on non-rooted.
I'm on Samsung A40 - Android v9@Dm114, I'm very sorry. I noticed one of my devices which was updated to Android 11 doesn't get the value correctly. It should be available below Android 10. I will try to find the key on 11 later. Thanks for letting me know that
Robert,Thank you for posting this. The programming is a bit heavy for me, but maybe I should get more into shell scripts.
#!/bin/sh
termux-telephony-cellinfo
[
{
"type": "lte",
"registered": true,
"asu": 60,
"dbm": -80,
"level": 4,
"ci": 72654338,
"pci": 493,
"tac": 63968,
"mcc": 440,
"mnc": 11
},
{
"type": "lte",
"registered": false,
"asu": 32,
"dbm": -108,
"level": 1,
"pci": 174
},
{
"type": "lte",
"registered": false,
"asu": 33,
"dbm": -107,
"level": 1,
"pci": 285
},
{
"type": "lte",
"registered": true,
"asu": 36,
"dbm": -104,
"level": 2,
"timing_advance": 5,
"ci": 44286804,
"pci": 425,
"tac": 5784,
"mcc": 440,
"mnc": 10
},
{
"type": "lte",
"registered": false,
"asu": 32,
"dbm": -108,
"level": 1,
"pci": 254
},
{
"type": "lte",
"registered": false,
"asu": 20,
"dbm": -120,
"level": 0,
"pci": 33
}
]
Sticky. That's おま環.I'm on Samsung A40 - Android v9