openbmap / radiocells-scanner-android

WLAN and cell tower scanner for Radiocells.org
https://www.radiocells.org
Other
57 stars 25 forks source link

Does not register cells, after switching from LTE > 3G #138

Open ar4121 opened 8 years ago

ar4121 commented 8 years ago

While traveling and recording cell datas, the phone will switch from LTE > eHRDP > 1xRTT as well as going the other direction. This is typically on the same network, such as XXX wireless (i.e. not roaming - however it appears to do the same when I do in fact roam.

The app begins scanning, and performs satisfactory while on LTE. The screen will show the mobile carrier/operator and then the cell/tower ID. However, when the phone switches from LTE to either 3G or 1xRTT, RadioBeacon refuses to register the cell/tower ID's. It will not register cells until the phone registers on the LTE network again.

When the phone switches from LTE to 3G, on the screen , it will say, XXX Wireless and then show -1 for the cell/tower ID. However, I can confirm that the phone is still able to use the internet, as well as make phone calls. This is what it appears normally, and should be appearing.
screenshot_0

RadioBeacon Version: 0.8.8 Phone: Nexus 6p, updated current

wish7code commented 8 years ago

Thanks for pointing this out! I assume, it's just a display issue and the cells get logged nevertheless.

I'm not to familiar with the CDMA technology: Android reports three distinct IDs for CDMA cells, system id, network id, and base station id.

What would be the expected results: a) display base id only or b) display combination of system id & network id & base station id

also see https://developer.android.com/reference/android/telephony/cdma/CdmaCellLocation.html#getBaseStationId%28%29

ar4121 commented 8 years ago

Hey, I got some more screenshots for some clarification. I'm still troubleshooting to see if I can figure out where the actual problem is.

But I do know that when i check the actual cell info, its not recording any cell ID, while not on the LTE network. I can look at the data file, and see that no cells are recorded.

Here is a photo where I forced the phone into 3G mode. The second photo I forced the phone into CDMA mode. Though I'm still figuring it out, it might have something to do with the carrier, though I don't have enough data points yet to say for sure. The operator ID and country code(mcc) while I was on 1G was something crazy, and not the operator I was actually on. I was able to make and recieve calls though.

Pic1: screenshot30 Pic2: screenshot_22

Also, I haven't had much time to look around, or try to figure it out myself, but editing the custom_xml list to stop recording around certain areas, it should be possible to enter multiple gps coords in there right? Do they all belong in the , or is it an ignore list tag for each particular homezone. thanks.

As soon as I figure out more, I'll try to update.

wish7code commented 8 years ago

Sorry for my late reply.. Been on the road for a couple of days :-(

The last screenshot is really curious: it reports MCC=123 and MNC=456, which looks like bogus data. I was wondering whether you're using the XPOSED framework, which has the option to scramble cell data for privacy reasons?

editing the custom_xml list to stop recording around certain areas, it should be possible to enter multiple gps coords in there right?

Just checked: multiple locations are supported, but haven't tested it extensively. You should be able to enter as many gps coords as you like. To verify: You get an UI indication 'Not logged, you're in blackzone' so you'll always see whether it works

wish7code commented 8 years ago

Following the latest patches the UI will also show notification on CDMA cells. Also checked in the meantime: the server has the strange MCC 123 / MNC 456 combinations. In consequence I assume Radiobeacon is logging the cells.

One problem though: while everything has been logged not all fields have been exported and uploaded: So far system id, network id, base station id were ignored on upload. Patch will follow..