-
Notifications
You must be signed in to change notification settings - Fork 964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Neighboring Cells info #100
Comments
@rtreffer Do you also know why Samsungs doesn't provide neighboring cell info properly? Do you have the possibility to investigate? |
It looks like they never bothered to implement it in their ril. Which is shitty but OKish: getNeighboringCells returns data "if available". It is ok to declare it's never available on your platform. Replicant does not know how to implement it either, I guess they would be happy if they could get a workaround. I guess it's likely to improve in future versions of samsung devices as google now uses this API. Which should increase the pressure to implement it. |
I'm not sure you where here then, but we used @illarionov's multi-ril client, on the Galaxy S2 (GT-I9100) to get neighboring cells, but we haven't gotten this to work on later Galaxies using Qualcomm modems (or on other phones for that matter), although it's possible we didn't give it a proper try. I can't see why it shouldn't work as long as the phone supports the multi-ril concept. |
@E3V3A do you have some more information on how you did/tried that? |
Yes, its all in this post and thread. Are you going to try it out for QC phone? |
@E3V3A I do not have a QC phone... I'll try to get the information on my old galaxy nexus. It would be awesome if this would work with the replicant rild.... |
@rtreffer Did you try it? Any news? What we need to do is trying to modify the multi-client-ril component so that it can handle more XMM based Samsung phones... Should be possible. |
Hello. I have the same issue on my Xperia J (Android 4.1.2) - no neighboring cells info.
|
Thanks @Narengoyn for testing and providing logs. We're aware of this issue and it is probably an AOS issue. Until we find a more reliable method to do this, this issue will remain open. |
Many phones are not supporting the AOS Neighboring Cells API. Samsungs in particular. Please check your phone on this list. |
Thanks, that was very helpful information. Probably, you need to add this list to webpage of your project. But, if I have a smartphone, which does not support the Neighboring Cells API, can your software still determine my security status on my smartphone? Or do I just need a new phone for that? |
No, you don't need a new phone. We cannot depend on the OEM messed up AOS API calls for this. Once we have QMI, RIL debug, or AT interface access, we can get this info in other ways, directly from baseband. |
right now there is this detection: #91 But we are still debugging and testing it. We have another 2-3 detection methods we can implement that work with the standard API calls. |
Great. I like my phone. Thanks for explaining. I'll just wait for some update then. |
This issue was filed already back in 2012. issue 24136. The last post there says:
So I suggest 3 things:
|
@E3V3A, thanks for this valuable Information! I will add permission I am carefully thinking ahead and want to simplify development and debugging of our App. Therefore, I would like to prioritize #164, which will be essential to check the detection mechanisms in the near future. |
I think THIS could be a good poor-mans method for getting this info. |
Fresh off the printing press: The RAT iterator is preferred since each RAT NC list usually doesn't supply more than ~6 NC, even if up to 32 is supposed to be supported by 3GPP specifications. This is really an interfacing problem between AOS (AP) and RTOS (BP). So if we don't know how to use it, we set the unsupported flag, until we can learn how to use it. In addition the "Choose Retrieval Method" should probably be coded into a separate process function, that can be re-used by other detection methods, to get any data from various interfaces. Perhaps call it something like There is a small error in this diagram as it is missing the |
@E3V3A, great draft! Just a quick question, didn't you want to rename |
Hi @SecUpwN - and welcome back :) in the meanwhile i updated my fork and i am working my way through the code. I found out that this are the Neighboring Cells! I already updated the technical overview . So everything is fine like this... |
A well written comment about PSC from StackOverflow:
This complicates the collection of NC data when on UMTS networks... It may also explain # 208. |
Is anyone currently working on this one? In |
Yes, this should be looked into again. Since most people think NC list is not working when in fact it is, only that all fields apart PSC are empty or the decimal equivalent to |
We need to look at what neighboring cells returns, if AOS API is ok like above we can parse it directly, if not we can parse the radio logcat as I suggested here. |
Please re-test this issue now. (Using Buildozer build >= 211) |
Tested with Buildozer Build |
There is some issue with some phones in using getNeighboringCells() and getting info. This is apparently especially true for Samsung phones as user @rtreffer states:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: