Keep A-GPS supl disabled upon ROM install - LineageOS News & Discussion

I’ve noticed that in different lineage ROMs A-GPS supl is enabled by default and supl.google.com is defined as the SUPL Server.
This is very problematic, as this is a privay breach.
You can read in the following link, how google can trace you (using lineage) when you have gps enabled:
http://mobilesociety.typepad.com/mo...veals-my-identity-and-location-to-google.html
GPS works just fine without supl A-GPS. It just takes a little longer to get a fix.
A part of people install lineage to be free from any google stuff. But then they still get traced by google, because of the activated supl server in the gps.conf / gps.xml files.
I see 3 ways how to fix this issue:
1) keep A-GPS supl deactivated and supl server entry empty on install
2) Add a setting under Privacy options where you can enable/disable A-GPS supl
3) show at least a warning that you’re traced by google upon using gps after install and that one should remove the setting manually if one does not want to get traced by goolge.
What dou you think? Would it be possible to add one of the three options to lineage ROMs?

Andy1767 said:
I’ve noticed that in different lineage ROMs A-GPS supl is enabled by default and supl.google.com is defined as the SUPL Server.
This is very problematic, as this is a privay breach.
You can read in the following link, how google can trace you (using lineage) when you have gps enabled:
http://mobilesociety.typepad.com/mo...veals-my-identity-and-location-to-google.html
GPS works just fine without supl A-GPS. It just takes a little longer to get a fix.
A part of people install lineage to be free from any google stuff. But then they still get traced by google, because of the activated supl server in the gps.conf / gps.xml files.
I see 3 ways how to fix this issue:
1) keep A-GPS supl deactivated and supl server entry empty on install
2) Add a setting under Privacy options where you can enable/disable A-GPS supl
3) show at least a warning that you’re traced by google upon using gps after install and that one should remove the setting manually if one does not want to get traced by goolge.
What dou you think? Would it be possible to add one of the three options to lineage ROMs?
Click to expand...
Click to collapse
I can't beleve this thread is from 2017 and now we have 2022 and they still did NOT adress the Google-SUPL problem. What a shame...

What to do on an unrooted lineageos rom in order to mitigate this?

TheArt. said:
What to do on an unrooted lineageos rom in order to mitigate this?
Click to expand...
Click to collapse
I think you have to make that change in code and build from source.
There is also divest os, which supports many lineage devices, and has many privacy and security enhancements on top of lineage.
Sad that my device (redmi note 10 pro) does not even have lineage.
If you can afford, just buy a pixel and use graphene or calyx.

TheArt. said:
What to do on an unrooted lineageos rom in order to mitigate this?
Click to expand...
Click to collapse
Well, i rooted mine, disables google SUPL, then unrooted it.

Related

Networking GUI: dhcp vs fixed IP, proxy vs no-proxy?

Hi,
Being a mobile device, it gets used in many places, with many WiFi networks.
Setting the various networking parameters involves opening several different setup screens and (often) fiddling around with entering IP addresses, proxies, etc.
Does anyone know of a utility that allows the easy setting of DHCP vs fixed IP, maybe DNS servers and proxy vs no proxy? And, perhaps more importantly, a utility that both does this and remembers the settings for the various networks, allowing a rapid setup on the second and later connections?
Regards,
Geoff.
Sad but am replying to my own message.
Am I the only one that regularly connects to networks with different parameters?
Am still hopeful that someone will know of a utility to store network parameters and allow same to be set with one tap - or someone clever will make such a utility??
Hi Geoff,
No you're not the only one.
Have you found something yet? I could do with the same!
Michael
Here's another vote for such a utility, i'd love to be able to use mine at hoem and work without having to dig through several menus to get there.
What about a CAB install with different settings..
Same here mate. I am looking into XML cab files, that modify your network card settings eg DHCP \ Fixed IP and also changing over the Wireless network settings, eg SSID, WEP Keys etc.
Its easy enough to create a shortcut to a CAB file, and one that just changes a few registry settings operates very quickly.
Yes, its a manual workaround.
Yes a application that detects the loss of one WIFI and attempts you connect the others in your device and then configures the WLan card accordingly (DHCP\Fixed IP etc) would be very handy.
No - I haven't got very far yet, I took the idea from another thread where someone used it to RESTORE their WIFI settings after a cold-reset.
Kudos to
http://forum.xda-developers.com/showthread.php?t=309855
http://forum.xda-developers.com/showthread.php?t=277727
for putting me on the path..

AGPS settings?

I have looked at "Diamond Tweak" and found the section with AGPS settings. Im just wondering what kind of settings can be set?
I spoke to my operator today and they referenced me to the internet settings. My first thoughts was that they misunderstood, but perhaps they did not? What are the APGS provider settings and where are they in the registry?
Leave it disabled.
thanks but...
...thats not what I asked.
I figured out the registry now, so I know that what I need is a server IP and a port for HTC or Operator apgs supl service.
I do know by my operators (Telenor) own omission that they do support agps supl but that they would not give me the address/port to the server.
I have no idea if AGPS is actually broken in the diamond, but I suspect it is simply intentionally malconfigured. Maybe HTC has no SUPL service (the server IP in the registry is by default set to an unroutable private IP) and they cannot set the IP to any operator server, leaving it up to the respective operator to configure their branded devices.
I therefore will continue to investigate agps settings, focusing on finding out my operators settings and testing it further.
I will post my findings here
Regards
/f

Rom that disables tethering check

I am on the Pure Nexus that disables tethering provision but I have a problem with it. I love the rom but I have Total Wireless which is a Verizon MVNO and for some reason it has a bunch of different APN settings but none of them right for Total. I only get 3G. It will also not let me add a new APN setting. If I put in my MetroPCS sim it has the correct APN plus will let me add a new APN if needed. Pure is the only one I have seen in its description that says it turns off the check. Is there another custom rom out that does this? Thanks.
Disabling the tether provisioning check is usually nothing more than adding the following line to your build.prop and rebooting:
net.tethering.noprovisioning=true
Although if this still doesn't seem to work, sometimes you also need to:
(Optional) Using a root file explorer, navigate to /data/data/com.android.providers.settings/databases/ and make a copy of settings.db
- Install and open a SQL editor and grant it root access when prompted (such as SQLite Editor)
- Tap the APPS tab and then “Settings Storage”
- Tap on settings.db then global
- Tap on the + symbol to add a new key/value pair
- In the name field type in tether_dun_required
- In the value field type in 0 (zero)
- Tap Save
Note: If you do not have a SQL editor, this can also be accomplished with adb, using the commands:
Code:
adb shell
settings put global tether_dun_required 0
Open the Android System Settings
- Under WIRELESS & NETWORKS tap More…
- Tap Cellular network settings, then Access Point Names
- Tap your active Internet or Tethering APN (will vary by carrier, might only be one)
- Make sure your APN protocol and APN roaming protocol are both set to IPv4 (it doesn’t look like tethering works with IPv6 yet)
- (If you’re using T-Mobile) Make sure your APN is set to fast.t-mobile.com
Reboot
Click to expand...
Click to collapse
It should be noted that some carriers use the number of hops left on packets that hit their servers to indicate that you're using tethering rather than actual cellphone data.
The xt_HL.ko netfilter driver included with a customer kernel should allow a user to use the IP Tables rule to change tethered traffic TTL with the default TTL of the device. This would make tethered data appear as if it's actually cellphone data.
More information about including this in a kernel can be found here. (Sorry, it's in Russian and not my page)
Most of this info was taken from Enable Wireless Tethering in the Moto X Pure and other various sources but is fairly generic for most plain Android builds.
acejavelin said:
Disabling the tether provisioning check is usually nothing more than adding the following line to your build.prop and rebooting:
net.tethering.noprovisioning=true
Although if this still doesn't seem to work, sometimes you also need to:
It should be noted that some carriers use the number of hops left on packets that hit their servers to indicate that you're using tethering rather than actual cellphone data.
The xt_HL.ko netfilter driver included with a customer kernel should allow a user to use the IP Tables rule to change tethered traffic TTL with the default TTL of the device. This would make tethered data appear as if it's actually cellphone data.
More information about including this in a kernel can be found here. (Sorry, it's in Russian and not my page)
Most of this info was taken from Enable Wireless Tethering in the Moto X Pure and other various sources but is fairly generic for most plain Android builds.
Click to expand...
Click to collapse
Thanks for the info but I guess my biggest question is I wonder why the Pure Nexus Rom will not let me add an APN for Total wireless but will for Metro? I have a G5 Plus that is an Amazon ad subsidized also and it will let me change an apn for Total???Thanks for your info though.

Need a working way to change DNS settings on Mobile connection for non-rooted device

Hi,
I am desperately searching for a way to change the DNS settings for the Mobile data plan of a phone (it is for my children, and I try to prevent them from inappropriate content using alternative DNS).
I found this XDA Guide: https://forum.xda-developers.com/ge...ide-how-to-change-dns-android-device-t3273769
Changing DNS for Wifi is working fine, but unfortunately it fails for the mobile plan ! I mean the DNS servers remain the provider DNS servers after activating the DNS changer.
I tried several apps, both using the same trick: a VPN to change DNS: "Lily DNS changer", "Engelsiz", "DNS Changer (no root 3G/WiFi)", "Switch DNS".
it is failing all the time for Mobile Data Plan.
I tested on a Nexus 4 with LineageOS 14.1 (Android 7.1) and LineageOS 15.1 (Android 8.1)
After I read this https://www.androidpolice.com/2018/04/20/make-android-use-dns-server-choice/ and DNS changing seems to arrive "as part of the Private DNS mode of Android P"
As DNS change is already OK for wifi connections, I assume Android 9 could be the 1st Android version to solve my needs.
Consequently, I tried "Switch DNS" on my Oneplus 6 (OxygenOS 9.0.3 - Android 9) and I can't change the DNS on Mobile Plan either !!!
The Nexus 4 phone is 3G (H+) only but the OP6 is 4G/LTE so it seems not related to Connection technology.
All these DNS changers seem to be used by most users to filter the web and scrap Ads, but using the same method : using alternate DNS !
Am I the only one interested to change my DNS on the Mobile Plan Connection ???
Is there anyone here who successfully changed the DNS servers on Mobile Plan using non-rooted device with such "DNS changer" app ???
It drives me crazy.
Could someone help me please ?
I found the issue (not the solution !)
All right, I found the issue: it is not related to my Phone or the version of Android, but it is due to my Mobile Plan Provider (France Bouygues Telecom. B&You to be more accurate)
I tried "Switch DNS" on a Galaxy S6 (stock Rom) using Orange F (Sosh to be more accurate) and it works (I can change the DNS servers using this app while using the data plan).
So I tried the same app on my Oneplus 6 (Stock OxygenOS 9.0.3) using Sim 2 (Orange Pro) and it works as well.
I understand now why nobody complains about this kind of app. It is working ... for some people
For example Blokada says "it doesn't require root, supports both wifi and mobile networks". It just depends which mobile network !
Hope this helps.
That being said, It does not solve my issue: protecting my children from inappropriate content when I can't be behind them.
I activated the basic parental control on my provider data plan, and it is... well basic. 4chan is blocked but much worst sites are accessible...
I may check the Premium Parental Control, but it seems to only add extra useless features, but not to improve quality of filtering.
Fred

Google Pay on Turkish Galaxy Watch 5

Hi all!
I've recently purchased my first smartwatch, a Galaxy Watch 5 44mm, while I've been in Turkey. I am native to the UK though so I've thought about changing the firmware to a UK version.
I have everything set up in English, downloaded the modded APKs for Samsung Health Monitor etc, however there's one thing bugging me.
Google pay/wallet doesn't want to work, I've tried changing the CSC code through the phone dialler app but annoyingly it doesn't work. Looks like Samsung have patched that method. I have the app installed and have my cards on there but it disappears every 3 hours or so, then I have to re-enable through the play store. I have my phone connected to a UK Nord VPN server so this helps with getting the app visible at least.
I'm not too interested in the permanent proxy method, since I already use a VPN server and it still disappears with that I can only assume that it's the same if I went the P.P. route.
Just wondering if there's any permanent fixes or workarounds that can get the app to stay? Or even if there's a method to flash the firmware to a UK version that'd be helpful too, but I have plenty of things installed already so installing another firmware is a last resort for me.
If it helps, the software version is: R910XXU1AWD6/SM-R910NZBATUR
Hello Mezdux,
Have you tried Permanent Proxy for WearOS, This creates a connection with a proxy network which allows Google Pay and Samsung Pay, I hope this Helps.
Permanent Proxy uses an old framework left from an old version of Android
Link to Permanent Proxy:
Release v4.0 · Jolanrensen/PermanentProxy-for-WearOS
v4.0: Updated dependencies Fixed scrolling with scroll wheel Added country to current IP Current IP can now show IPv6 Replaced Port/IP buttons with text fields Made setting the proxy clearer (this ...
github.com
Flash the "wear-release.apk" to your watch using adb, and the the other apk to your phone.
Hope this helps,
Nathan Stanley
nathanstanley said:
Hello Mezdux, Have you tried Permanent Proxy for WearOS, This creates a connection with a proxy network which allows Google Pay and Samsung Pay, I hope this Helps. Permanent Proxy uses an old framework left from an old version of Android Link to Permanent Proxy:
Release v4.0 · Jolanrensen/PermanentProxy-for-WearOS
v4.0: Updated dependencies Fixed scrolling with scroll wheel Added country to current IP Current IP can now show IPv6 Replaced Port/IP buttons with text fields Made setting the proxy clearer (this ...
github.com
Flash the "wear-release.apk" to your watch using adb, and the the other apk to your phone. Hope this helps, Nathan Stanley
Click to expand...
Click to collapse
Mezdux said:
I'm not too interested in the permanent proxy method, since I already use a VPN server and it still disappears with that I can only assume that it's the same if I went the P.P. route.
Click to expand...
Click to collapse
Please read the post fully next time. But thanks.
nathanstanley said:
Hello Mezdux,
Have you tried Permanent Proxy for WearOS, This creates a connection with a proxy network which allows Google Pay and Samsung Pay, I hope this Helps.
Permanent Proxy uses an old framework left from an old version of Android
Link to Permanent Proxy:
Release v4.0 · Jolanrensen/PermanentProxy-for-WearOS
v4.0: Updated dependencies Fixed scrolling with scroll wheel Added country to current IP Current IP can now show IPv6 Replaced Port/IP buttons with text fields Made setting the proxy clearer (this ...
github.com
Flash the "wear-release.apk" to your watch using adb, and the the other apk to your phone.
Hope this helps,
Nathan Stanley
Click to expand...
Click to collapse
This is a very good idea even though you don't like it.
akhilansathishkumar said:
This is a very good idea even though you don't like it.
Click to expand...
Click to collapse
I already use NordVPN on my phone (which the watch goes through for wifi connection) and I've had it up and running like that. I've made a purchase so it doesn't disappear anymore and works without issues. Permanent Proxy is not the solution for everything when you're already running a constant VPN connection, which permanent proxy does anyway.
That's why I wish people read the post properly first.
If anybody can tell me a difference in practice, perhaps I will consider. However, it seems like a different method of doing the same thing. Google Pay now works without issues.
I see

Categories

Resources