Jump to content

Cheesy ESMR/LTE base station tracker


lordsutch

Recommended Posts

I ended up backing out the map API change, so this release still uses Leaflet, but I did get the material design look implemented correctly. I also added the two columns of data that digiblur requested; hopefully I've gotten the band guessing logic right, but particularly for non-Sprint networks it could be wrong.

 

Linky to this release: https://www.dropbox.com/s/isejck79hskqqcl/SigDet2.apk?dl=0

  • Like 1
Link to comment
Share on other sites

  • 5 months later...

I tried using the version at that link, and it doesn't work on my N5.. previous versions worked fine. The notification says "Loading..." with an exclamation point icon, and the app itself shows no information. I tried uninstalling/reinstalling with no changes:

uploadfromtaptalk1433206875477.jpg

 

EDIT: Nevermind.. after about 2 minutes, it suddenly started working. Now it opens on startup immediately. Android gremlins!

 

-Mike

Link to comment
Share on other sites

I tried using the version at that link, and it doesn't work on my N5.. previous versions worked fine. The notification says "Loading..." with an exclamation point icon, and the app itself shows no information. I tried uninstalling/reinstalling with no changes:

 

attachicon.gif uploadfromtaptalk1433206875477.jpg

 

EDIT: Nevermind.. after about 2 minutes, it suddenly started working. Now it opens on startup immediately. Android gremlins!

 

-Mike

It probably needed a GPS fix to start updating (which is probably a bug).

  • Like 1
Link to comment
Share on other sites

It probably needed a GPS fix to start updating (which is probably a bug).

 

I have seen that before.  Generally move a block or two away or change bands, then it works.

Link to comment
Share on other sites

  • 4 months later...

If anyone still cares, I've updated the app for Android 6.0 including a permissions prompt. Otherwise no big changes since the last release, I think, except moving the layer settings into preferences so they stick between launches. Same link as before (hopefully)...

 

https://www.dropbox.com/s/isejck79hskqqcl/SigDet2.apk?dl=0

  • Like 7
Link to comment
Share on other sites

  • 3 months later...

More updates in this release; main changes:

  • A few more LTE band guesses.
  • Should be a bit more efficient when running in the background.
  • Action button added so you can now exit directly from the notification.

Get it here, as always: https://www.dropbox.com/s/isejck79hskqqcl/SigDet2.apk?dl=0

  • Like 7
Link to comment
Share on other sites

  • 2 weeks later...

I've been working on another feature lately: logging and displaying the LTE timing advance values reported by the device if the RIL reports them.

 

On my devices they seem to be in units of 16 Ts (just over 0.5 microseconds), corresponding to around 78 meters from the tower RTT per unit 16 Ts, but I've seen other documentation that says the API is reporting data in whole microseconds, which would be about twice as far (≈149.4 meters). The map will also show a circle that should intersect where the tower is likely to be located. So for now it's very experimental, but it may help the tower hunters a bit as they try to triangulate sites more accurately than using RSRP values.

 

Any reports of how this seems to correspond to the real world on non-Nexus devices would be greatly appreciated.

  • Like 3
Link to comment
Share on other sites

Not sure how that will work with small cells.  We have to find one of the new ones first :P

  • Like 1
Link to comment
Share on other sites

  • 5 months later...

Just loaded this app to help map some new sites in my (Shentel-nTelos-Sprint) area. I can't see how to export the log file; I found the folder for the app, but it's empty.

 

Any advice or help pointing me to what is probably obvious? ????

 

Thanks,

David

 

Sent from my 0PJA2 using Tapatalk

  • Like 1
Link to comment
Share on other sites

They are saved to the internal storage for my s7 the address is ...

 

/sdcard/Android/data/com.lordsutch.android.signaldetector/files/

 

"Sdcard" is just the internal storage of the phone. There is no export it saves them automatically. I normally save the files to dropbox then delete the files on my phone or they get to big for google sheets.

  • Like 1
Link to comment
Share on other sites

  • 8 months later...

A long-overdue update with some code cleanups. Now needs Android 4.2 or later to simplify a few things (hopefully nobody is left behind).

 

The big update is that it will use the EARFCN data available with Android 7.0 or above on some handsets, rather than using the (possibly broken, certainly untested by me) root method for Qualcomm devices. I've also updated the band detection code to use the EARFCN instead of guessing using the MCC/MNC/GCI if possible.

 

It should also be able to use the full screen real estate on the LG G6 and Samsung S8. 

 

It definitely works on the Nexus 5X (Project Fi) and Pixel XL (Sprint). On other devices... who knows?

 

Get it here: https://www.dropbox.com/s/hucdx5lu36zp45c/Signal-Strength-Detector-debug.apk?dl=0

 

Source: https://github.com/lordsutch/Signal-Strength-Detector

  • Like 2
Link to comment
Share on other sites

:tu: Thanks very much.  Works on screen with LG V20 showing earfcn on unrooted phone.  I had heard that neighbors could also show earfcn, which would help a lot in Samsung markets.  Any other cool features mentioned like number of TX? At least a date stamp would also help in the logs.  Thanks!! 

Link to comment
Share on other sites

:tu: Thanks very much.  Works on screen with LG V20 showing earfcn on unrooted phone.  I had heard that neighbors could also show earfcn, which would help a lot in Samsung markets.  Any other cool features mentioned like number of TX? At least a date stamp would also help in the logs.  Thanks!! 

 

Excellent! It does log EARFCNs if it gets them from the radio for neighbors, but I haven't seen them show up in the logs on my phones - the cellinfolte.csv log includes neighbors while the ltecells.csv only includes the primary cell (technically the first cell that shows up as isRegistered).

 

I've pushed out a new release that adds a timestamp to each log entry; hopefully that'll help.

 

S7 edge here

 

If EARFCN = 0 can you hide it and do band lookup by GCI? It takes a line by itself and reporting B1.

 

I've added some code to ignore EARFCN 0 too - try it now.

 

Poking around in the Android O preview APIs, it looks like some additional signal information will be available, including Cqi, Rsnr, Rsrq, Rssnr for LTE and the timing advance for GSM.

  • Like 2
Link to comment
Share on other sites

Anything for channels on CDMA? This is quite useful for quickly figuring out where B26 LTE 800 5x5 is no longer possible, plus B25 refarming for wider LTE.

 

Sent from my LG-LS997 using Tapatalk

Link to comment
Share on other sites

While you have it on your mind not sure if you want to fix sector 0x11 and mini micros. Sorry if syntaxs is wrong I am on my phone and never really messed with java.

 

if(sector == 0x11){

if(GCI >= 0x7600000 && GCI < 0xBA00000){ // Samsung

return 26;}

else{

return 25;}

}

 

 

//mini macros starts with what looks like B25 but b41 sectors

if(sector >= 0x31 && sector <= 0x43)

return 41;

 

 

I saw a mini macro west of atlanta so you may see them soon popping up.

  • Like 1
Link to comment
Share on other sites

Warning: semi-technical post follows. If you don't want to play with code, this post isn't for you. :)

 

Here's something I've been working on for a while to post-process the log files and help you find the location of towers. Obviously if you're a sponsor you don't need this functionality for Sprint generally speaking, but it may be helpful with new deployments (mini-macros, Clearwire site upgrades, Airspan and Mobilitie sites, LTE Airaves, etc.) and other carriers where that info isn't available.

 

It relies on your device reporting the LTE Timing Advance value, which (due to the laws of physics) gives you a reasonably accurate distance to the base station location, to a much greater extent than a guess based on the signal strength that is affected by terrain, ground clutter, etc.

 

Here's the code; it requires R and several R packages: the ones listed under the library() calls at the beginning, plus any dependencies.

 

Here's an example of the output map. Compared to ground truth, only one tower location (3A492) is wrong, which is understandable given that there are only 3 data points for it.

 

It's not purely plug and play because there's no general way to determine which cells are co-located across markets, but I figured I'd throw it out there in case anyone else finds it useful as a starting point for their tower hunting. You can ignore co-location and try to estimate locations too (that's what the "drawnmap3" maps are: example), but having the site co-location heuristics set for your market (the code involving "base2" does this) will improve accuracy a lot since you can constrain the location solutions better with data from multiple bands.

 

Anyway if it breaks both pieces are yours. Enjoy!

  • Like 6
Link to comment
Share on other sites

  • 2 months later...

In the LTEcells file can you add mcc and mnc.  That would keep me from splitting the cellinfo file or making bad assumptions.  Thanks.

 

 

P.S.: Any way to get the earfcn for the neighbors?  Neighbor earfcn is there. My bad.

Edited by dkyeager
Link to comment
Share on other sites

I second the adding of the plmn. With Roaming it is a little hard to see what is sprint coverage and what is roaming. I was looking for native service in an area and it made it a little difficult to filter the map. 

Link to comment
Share on other sites

 

 

P.S.: Any way to get the earfcn for the neighbors?

I browsed the source of GitHub and it looks like he retrieves the earfcn value for neighbors. But maybe doesn't store or use it?

 

Sent from my Pixel XL using Tapatalk

Link to comment
Share on other sites

I browsed the source of GitHub and it looks like he retrieves the earfcn value for neighbors. But maybe doesn't store or use it?

 

Sent from my Pixel XL using Tapatalk

 

 My plan is to then sort through those for new PCIs for things like small cells, else you need to be withing a few blocks to find them.

Link to comment
Share on other sites

An additional request, store the data time in an excel compatible format, typically decimal.  For example the date and time of this request is approximately:

42897.38

 

This could be in another column if needed.  Currently I pull apart the string and reformulate it.

 

Thanks again!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • large.unreadcontent.png.6ef00db54e758d06

  • gallery_1_23_9202.png

  • Posts

    • Since this is kind of the general chat thread, I have to share this humorous story (at least it is to me): Since around February/March of this year, my S22U has been an absolute pain to charge. USB-C cables would immediately fall out and it progressively got worse and worse until it often took me a number of minutes to get the angle of the cable juuuussst right to get charging to occur at all (not exaggerating). The connection was so weak that even walking heavily could cause the cable to disconnect. I tried cleaning out the port with a stable, a paperclip, etc. Some dust/lint/dirt came out but the connection didn't improve one bit. Needless to say, this was a MONSTER headache and had me hating this phone. I just didn't have the finances right now for a replacement.  Which brings us to the night before last. I am angry as hell because I had spent five minutes trying to get this phone to charge and failed. I am looking in the port and I notice it doesn't look right. The walls look rough and, using a staple, the back and walls feel REALLY rough and very hard. I get some lint/dust out with the staple and it improves charging in the sense I can get it to charge but it doesn't remove any of the hard stuff. It's late and it's charging, so that's enough for now. I decide it's time to see if that hard stuff is part of the connector or not. More aggressive methods are needed! I work in a biochem lab and we have a lot of different sizes of disposable needles available. So, yesterday morning, while in the lab I grab a few different sizes of needles between 26AWG and 31 AWG. When I got home, I got to work and start probing the connector with the 26 AWG and 31 AWG needle. The stuff feels extremely hard, almost like it was part of the connector, but a bit does break off. Under examination of the bit, it's almost sandy with dust/lint embedded in it. It's not part of the connector but instead some sort of rock-hard crap! That's when I remember that I had done some rock hounding at the end of last year and in January. This involved lots of digging in very sandy/dusty soils; soils which bare more than a passing resemblance to the crap in the connector. We have our answer, this debris is basically compacted/cemented rock dust. Over time, moisture in the area combined with the compression from inserting the USB-C connector had turned it into cement. I start going nuts chiseling away at it with the 26 AWG needle. After about 5-10 minutes of constant chiseling and scraping with the 26AWG and 31AWG needles, I see the first signs of metal at the back of the connector. So it is metal around the outsides! Another 5 minutes of work and I have scraped away pretty much all of the crap in the connector. A few finishing passes with the 31AWG needle, a blast of compressed air, and it is time to see if this helped any. I plug my regular USB-C cable and holy crap it clicks into place; it hasn't done that since February! I pick up the phone and the cable has actually latched! The connector works pretty much like it did over a year ago, it's almost like having a brand new phone!
    • That's odd, they are usually almost lock step with TMO. I forgot to mention this also includes the September Security Update.
    • 417.55 MB September security update just downloaded here for S24+ unlocked   Edit:  after Sept security update install, checked and found a 13MB GP System update as well.  Still showing August 1st there however. 
    • T-Mobile is selling the rest of the 3.45GHz spectrum to Columbia Capital.  
    • Still nothing for my AT&T and Visible phones.
  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...