[Q] A/0 and ciphering indicator - Ubuntu Touch Q&A, Help & Troubleshooting

Is there a API call for checking if the connection to the base station is encrypted with A/1 or A/3 or if there is no encryption (A/0). And is the base band open source? I was looking for an answer but couldn't find a yes you can - or no you can't. Why does nobody care about that issue?

Related

[Q] whitelist mobile networks for data roaming

Hey. I am currently in denmark where I can apparently use the data connection of 3 without paying roaming fees. The problem is that even though it's 3 it's not recognized as my local net "3 AT" so in order to go online I have to enable data roaming in general. If however I end up online through a different danish network this could be expensive.
Is there a way to only enable data roaming for certain whitelisted networks?
any solution until now?
Roaming control module may work depending on your Android version
[APP][JB+][XPOSED]Roaming Control - v1.53 - Source code released
Now as open source! Github: https://github.com/CazeW/RoamingControl I'm releasing the source code as I no longer have a device that I can test the app with. Hopefully it will be of use for someone. Roaming Control Are you tired of having the R...
forum.xda-developers.com

network interfaces selection

Hi to all, i have a question about architecture of android OS, and i would have an answer before i start develop my custom android OS.
I would like to know wich "component" of android OS take decision about which network interface use for sending and receive data. As we know, if our system has a 4g network active and is connected to a wifi network too, all network data goes through wifi connection.
I would like to know which is the portion of os that "take" this decision, and if is possible to modify it for manage network connections and traffic forwarding in different way as default (for example send automatically an email with 3g network also if a wifi network is active).

[APP][JB+][XPOSED]Roaming Control - v1.53 - Source code released

Now as open source!
Github: https://github.com/CazeW/RoamingControl
I'm releasing the source code as I no longer have a device that I can test the app with. Hopefully it will be of use for someone.
Roaming Control
Are you tired of having the R icon in the notification bar instead of showing the connection speed? Do you have a mobile plan that allows you to use it in certain countries like you were at home? Do you want to enjoy roaming in certain countries/networks but don't want to allow roaming everywhere?
Then this app is for you.
This started as a personal project for something that I needed myself but decided to make it a proper app for everyone to enjoy.
What this app allows you to do is:
Allow national roaming on virtual networks (to get rid of the R icon when being home)
Force phone into roaming mode on domestic networks that aren't the home network.
Add on which specific networks you want to allow roaming
Add in which countries you want to allow roaming (this will allow roaming on all the networks in those countries)
Dual-SIM support with separate rules for both SIMs (Lollipop 5.1 and onwards).
What this app doesn't do is just remove the R icon and show the connection speed.
If you add your current network or country when being abroad, you are roaming and it is your responsibility to keep your phonebill in check.
INFORMATION FOR USERS ON ANDROID PIE
I have tested this app with Magisk 18.1 and with the EdXposed Magisk module and confirmed it working at least on a OnePlus 6T. You may have to toggle the roaming system setting on and off (or leave it on) to get a data connection after a reboot.
Changelog
Code:
v.1.53
- Fixed bug that stopped the module from working when using German
v.1.52
- Fixed Nougat support
v.1.51
- Added German translation (thanks to @toBsucht Psp)
v.1.50
- New UI with material design
- Improved Dual-SIM support
- Import/Export support of network/country lists
- Whitelist mode moved to settings
[B]Huge thanks to @Sebastl for beta testing![/B]
v.1.22
- Bug fixes that stopped the app from working for some.
v.1.21
- Bug fix to Whitelist mode for single SIM phones
- Code cleaning
v.1.20
- Support for dual-sim on Lollipop 5.1 and onwards. (Thanks to [email protected] for helping with the testing)
- Added Whitelist mode
- Small bug fixes
v.1.10
- Advanced force roaming option. Adds the ability to manually add networks on which to force the phone into roaming mode
- Minor bug fixes
v.1.07
- Fixed network mode not working caused by my code cleaning in v1.06
- Fixed crash when updating from v1.05 so that you don't need to clear data anymore
v1.06
- Some code cleaning
- Added Paypal donate link in about for those that feel like it
v1.05
- Added Force roaming option to force phone into roaming mode on domestic networks that aren't the home network.
- Bug fixes:
-- The app could crash when launching it for the first time (or after clearing data) and
when trying to remove a network with several MNC added to it.
v1.0
- Initial release
Screenshots:
Download:
http://repo.xposed.info/module/net.caze.roamingcontrol
If you feel that this app has been useful, feel free to buy me a beer.
https://www.paypal.me/cazew
Latest strings.xml added as attachment for those who want to help with translations.
Note: This app has only been tested so far on my Xperia Z1 Compact running stock Lollipop, so feedback is welcome.
Thanks to Lion_1 for beta testing the dual-sim support.
Use this app on your own caution. I am in no way responsible for any damage to your phone or increase in your phonebill.
If trying beta version, read changelog!
Works on marshmallow
Thanks man
Works on marshmallow
Just have to restart system ui to disable R icon
Two questions;
1) Location of source code? I'd like to contribute.
2) Some phones (like Nexus 5) are having problems recognizing that they *are* roaming in certain circumstances. Can this be used to FORCE it into recognizing that it *is* roaming?
abhijitkadam03 said:
Thanks man
Works on marshmallow
Just have to restart system ui to disable R icon
Click to expand...
Click to collapse
Shouldn't need to restart SystemUI, it should dissappear on its own after a while or if you can't wait, just toggle airplane mode on and off.
doitright said:
Two questions;
1) Location of source code? I'd like to contribute.
2) Some phones (like Nexus 5) are having problems recognizing that they *are* roaming in certain circumstances. Can this be used to FORCE it into recognizing that it *is* roaming?
Click to expand...
Click to collapse
For now the source code is just on my computer, haven't yet looked into releasing it.
You mean that there are circumstances where the phone is roaming, but the R isn't showing up and the phone thinks it's on the home network when it in fact is on a foreign network (also not blocking the data connection as it should because of this)? If that's the question, then no, that doesn't currently work. It is however easily implemented.
Basicly what the app does now is to make the phone think it's not roaming when in fact it is (hence why it should be used carefully not to add the wrong networks/countries), but it can as easily be made to work in the other direction, to make the phone think it's roaming even though it is on the home network.
This is fantastic. I will test it on my Nexus 6P on T-Mobile when I am roaming again in Canada.
One related thing I have been hoping to see in an Xposed module that forces the data connection type display to stay on when the WiFi is connected as well. I hate that I cannot tell whether my phone is on LTE, H+, H, or GSM when I have an active WiFi connection.
@CazeW: great, thanks ! That is something I am looking for since a long time.
Will it work for Dual Sim too? (running CM12.1)
Gesendet von meinem ONE E1003 mit Tapatalk
Update posted.
doitright said:
2) Some phones (like Nexus 5) are having problems recognizing that they *are* roaming in certain circumstances. Can this be used to FORCE it into recognizing that it *is* roaming?
Click to expand...
Click to collapse
I looked into this and have now added the Force roaming option to the app. I have however no way of testing this myself so I'll be relying on feedback if it works. Also, if there's enough interest for it, I could add the option to be able to manually add the networks (like with saved networks) you want to force the phone into roaming mode on.
2fast78 said:
@CazeW: great, thanks ! That is something I am looking for since a long time.
Will it work for Dual Sim too? (running CM12.1)
Gesendet von meinem ONE E1003 mit Tapatalk
Click to expand...
Click to collapse
This should work on dual sim too but I don't have a dual sim phone to test with. I also suspect that the app might enable roaming for both sim cards which probably isn't what most people want.
CazeW said:
Update posted.
I looked into this and have now added the Force roaming option to the app. I have however no way of testing this myself so I'll be relying on feedback if it works. Also, if there's enough interest for it, I could add the option to be able to manually add the networks (like with saved networks) you want to force the phone into roaming mode on.
This should work on dual sim too but I don't have a dual sim phone to test with. I also suspect that the app might enable roaming for both sim cards which probably isn't what most people want.
Click to expand...
Click to collapse
Hi. My service provider doesn't cover all places in my state,so I have to connect to another service provider in my state where my home network is not available. Basically,I want to switch from my home network to the other network automatically,when my home network is not available. Can this app do that?
And,it does show the Roaming Symbol when I connect to the other network. Please help.
theincognito said:
Hi. My service provider doesn't cover all places in my state,so I have to connect to another service provider in my state where my home network is not available. Basically,I want to switch from my home network to the other network automatically,when my home network is not available. Can this app do that?
And,it does show the Roaming Symbol when I connect to the other network. Please help.
Click to expand...
Click to collapse
This app won't make your phone automaticly connect to that network. All it can do is that when you connect to it, the roaming symbol won't show up and the phone will think that you're on your home network.
I can't test it on my Lenovo P70-A.
Too sad...
Glebasik said:
I can't test it on my Lenovo P70-A.
Too sad...
Click to expand...
Click to collapse
It doesn't install?
CazeW said:
This app won't make your phone automaticly connect to that network. All it can do is that when you connect to it, the roaming symbol won't show up and the phone will think that you're on your home network.
Click to expand...
Click to collapse
Okay!
fyi: tested with Dual Sim Phone OnePlus X running CM 12.1 and it runs fine! Great work!
Thanks
CazeW said:
For now the source code is just on my computer, haven't yet looked into releasing it.
Click to expand...
Click to collapse
If you don't mind my asking, is it a question of deciding whether or not you want to release the code, or a question of *how* to release it? If the latter, github is ideal. Is github.com/CazeW yours?
If you don't know how to use git, it can have a steep learning curve, but once you are into it, it is an indispensable tool that will change your life. I'd be happy to help you learn it if you need.
You mean that there are circumstances where the phone is roaming, but the R isn't showing up and the phone thinks it's on the home network when it in fact is on a foreign network (also not blocking the data connection as it should because of this)? If that's the question, then no, that doesn't currently work. It is however easily implemented.
Basicly what the app does now is to make the phone think it's not roaming when in fact it is (hence why it should be used carefully not to add the wrong networks/countries), but it can as easily be made to work in the other direction, to make the phone think it's roaming even though it is on the home network.
Click to expand...
Click to collapse
That is *exactly* what I mean. And I know I'm a bit late (I shut down on weekends) and see you've implemented it already, so *thank you very much*
---------- Post added at 03:21 PM ---------- Previous post was at 03:09 PM ----------
CazeW said:
I looked into this and have now added the Force roaming option to the app. I have however no way of testing this myself so I'll be relying on feedback if it works. Also, if there's enough interest for it, I could add the option to be able to manually add the networks (like with saved networks) you want to force the phone into roaming mode on.
Click to expand...
Click to collapse
That would be an *incredibly* powerful option, especially for users of wacky MVNO's.
One other feature I can think of right now, which kind of is but isn't *entirely* related, would be to ignore signature checks on carrier services. The reason I say that it is related, is because the carrier service controls several aspects of network connection. For example, if you look at GsmServiceStateTracker https://android.googlesource.com/pl...telephony/gsm/GsmServiceStateTracker.java#894 you can see that a big chunk of the roaming control is tied to the Carrier Config, https://source.android.com/devices/tech/config/carrier.html
Just breaking the signature check on the Carrier Config would allow a lot of aspects of the network connection to be managed by regular installable packages.
Alternatively, the ability to inject a custom signature into the data read from the UICC would accomplish the same goal.
But of course, like I said, this is not entirely related, since it does break off from *just* messing with the network directly.
doitright said:
If you don't mind my asking, is it a question of deciding whether or not you want to release the code, or a question of *how* to release it? If the latter, github is ideal. Is github.com/CazeW yours?
If you don't know how to use git, it can have a steep learning curve, but once you are into it, it is an indispensable tool that will change your life. I'd be happy to help you learn it if you need.
Click to expand...
Click to collapse
Yes, that is my account. Didn't even remember I had one.
I know how to release it, but right now it's more of if I want to. I'll probably release it at some point but before I do, I need to clean up the code (it's not pretty) and I know nothing yet about licenses (don't even know if I need to think about them).
doitright said:
That would be an *incredibly* powerful option, especially for users of wacky MVNO's.
Click to expand...
Click to collapse
Alright, I'll probably implement it in the next version then.
Been wondering if I also should drop the National roaming option and just handle that with Saved roaming. In other words, just have the list of networks/countries where to allow roaming and a list of networks where to block it (put phone in roaming mode). National roaming feels a bit redundant and there are some issues with it. Say for example your phone doesn't recognize the MVNO as your home network, but it allows connecting to other domestic networks where the home network has no coverage. Enabling National roaming would make the phone think that the MVNO is your home network (which is good) but it would also allow roaming on all those other domestic networks (which is bad). This could of course be counteracted then with the list of networks where to block roaming but then it's starting to feel like its getting a bit too messy.
doitright said:
One other feature I can think of right now, which kind of is but isn't *entirely* related, would be to ignore signature checks on carrier services. The reason I say that it is related, is because the carrier service controls several aspects of network connection. For example, if you look at GsmServiceStateTracker https://android.googlesource.com/pl...telephony/gsm/GsmServiceStateTracker.java#894 you can see that a big chunk of the roaming control is tied to the Carrier Config, https://source.android.com/devices/tech/config/carrier.html
Just breaking the signature check on the Carrier Config would allow a lot of aspects of the network connection to be managed by regular installable packages.
Alternatively, the ability to inject a custom signature into the data read from the UICC would accomplish the same goal.
But of course, like I said, this is not entirely related, since it does break off from *just* messing with the network directly.
Click to expand...
Click to collapse
That is interesting and definetily worth a look at but for now it's a feature that would only work on Marshmallow. To get the most out of it, the hacking would also have to be done without the use of Xposed which unfortunately goes beyond my skills.
CazeW said:
Yes, that is my account. Didn't even remember I had one.
I know how to release it, but right now it's more of if I want to. I'll probably release it at some point but before I do, I need to clean up the code (it's not pretty) and I know nothing yet about licenses (don't even know if I need to think about them).
Click to expand...
Click to collapse
I totally understand.
Alright, I'll probably implement it in the next version then.
Been wondering if I also should drop the National roaming option and just handle that with Saved roaming. In other words, just have the list of networks/countries where to allow roaming and a list of networks where to block it (put phone in roaming mode). National roaming feels a bit redundant and there are some issues with it. Say for example your phone doesn't recognize the MVNO as your home network, but it allows connecting to other domestic networks where the home network has no coverage. Enabling National roaming would make the phone think that the MVNO is your home network (which is good) but it would also allow roaming on all those other domestic networks (which is bad). This could of course be counteracted then with the list of networks where to block roaming but then it's starting to feel like its getting a bit too messy.
Click to expand...
Click to collapse
The way I see the national/domestic roaming option, is that it would be most useful on borderland areas that obtain coverage from one or more domestic networks and one or more international networks. If you know for a fact that you can roam sanely on domestic networks, but international networks will hit you where it hurts, then that would be an easy option to allow roaming on all networks with a matching MCC.
There are certain service providers here (Canada) where this would be useful, since they are not permitted any *actual* domestic roaming, and their local network has multiple MNC's from all of the past network acquisitions, yet they charge something like $5/minute for voice roaming in the USA. So a domestic roaming would allow them to connect to all of the different MNCs that belong to their service provider without risk of roaming on tmobile or att.
That is interesting and definetily worth a look at but for now it's a feature that would only work on Marshmallow. To get the most out of it, the hacking would also have to be done without the use of Xposed which unfortunately goes beyond my skills.
Click to expand...
Click to collapse
Actually, it would be beneficial back to 5.1, when the carrier privilege parts were added; https://source.android.com/devices/tech/config/uicc.html
And the beauty of it, is that the non-xposed part of it would actually *not* be a hack. It would just be generating a carrier package declaring the proper intents and privileges, and extending the proper classes.
Thanks a lot, working perfectly on Wiko Stairway (jelly bean), Now my wife can use our Femtocell at house
Your application works on the nexus 6p T-Mobile with purenexus ROM. My roaming was broken beforehand. Enabling it wouldnt get me data and the stupid r on the signal didn't let me know if it was even grabbing data connection nevertheless at what speed. Thanks a million.
I can't find a donate button in app or in your OP? Do you have a link for easy donations?
Hi everyone,
I don't understand very well what this app does. Can it be used to disable national roaming ? i.e. allow device to connect *only* to HPLMN even if other networks could accept us ?

VoLTE - How will Android manage this moving forward?

Hi Guys,
1. I am NOT an expert as to how VoLTE works in the back end.
VoLTE is the use of LTE to carry voice calls, as opposed to falling back onto 3G / 2G to carry the voice call. Advantages include, lower connection time, wideband audio, etc.
I've recently spent some time changing the CID and firmaware on my HTC 10 to one that is region specific to enable VoLTE on my handset.
It appears the way Apple implements carrier settings means that different carrier settings can be delivered to any iPhone, but it appears Android is currently managing this differently, as OEMs are creating variants of the software to cater for each region/carrier's variations.
What this means for me is, even if I purchase an unlocked device, if it isnt from my region, I will likely have to do extensive modification to enable VoLTE.
Does anyone know if Android N manages VoLTE differently? What's el-Goog thingking here?

RRLP and AML location protocols, privacy issues

Is the RRLP protocol (https://en.wikipedia.org/wiki/Radio_resource_location_services_protocol) implemented in Android phones? Does an Android phone answer to a RRLP query sent by the service provider?
If it does, and satellite location is disabled, will it be enabled to get better location?
How about custom ROMs? Do they offer options to disable this feature?
This looks like a big privacy vulnerability. Of course the service provider can always locate the phone based on its towers, but it's much less accurate than satellite location.
How about the AML protocol? It's supported by Android but can it be disabled? It seems to be less harmful for privacy because it's only used when the user calls emergency number.
Advanced Mobile Location - Wikipedia
en.wikipedia.org

Categories

Resources