Commit Graph

1035 Commits

Author SHA1 Message Date
dianlujitao
f76a8f2f55 apns: Add BICS
Change-Id: I57a0be0c242a7d4b7c6498d56637095070c58a9e
2025-11-05 10:00:21 +00:00
Onelots
b4fd15940a APNs: Add Inwi (Morocco)
- Adds Inwi internet APN and Inwi MMS
- Got the config from a local's phone (So I was able to test myself)
- Made sure it was correct using this website : https://www.apnsettings.org/morocco/inwi-ma/

Change-Id: Ie98bb2e9886cd7cc8546d78cb178ce0695be255c
Signed-off-by: Onelots <onelots@onelots.fr>
2025-11-05 09:53:04 +00:00
Yannick Binnenweg
8007377751 Update APN settings for Odido/T-Mobile NL
This change includes:
- Name change from T-Mobile NL to Odido. In 2023 T-Mobile and Tele2
  Mobile became Odido.
- Removed unusable MMS APN configuration. As a response to the Android
  Stagefright bug T-Mobile NL disabled MMS on the network back in 2015.
  Because MMS is no longer supported on the network, the APN profile is
  no longer necessary.
- Changes the default APN from "internet" to "internet.mobiel", which is
  the recommended default setting.
  On the Odido network the "internet" APN is specifically for 'gaming' usage.
  Reference: https://www.odido.nl/service/veelgestelde-vragen/hoe-moet-ik-internet-instellen-op-mijn-smartphone-wat-is-bijvoorbeeld-het-apn-van-odido/000453837
- Adds a new APN profile for 'gaming' usage. See reference above.

Change-Id: I139231102ece45f9a4142f3be2d747276f60de76
2025-11-05 09:50:44 +00:00
Alexander Koskovich
161ebb6b16 apns: Update US Mobile APNs
https://www.usmobile.com/apn-download

Change-Id: I5cd4a1023f08af0f820ee99fb41ededf5d33ae7a
2025-11-05 09:16:56 +00:00
Aryan Sinha
390fbc9050 apns: Add BSNL 4G APN config
* BSNL 4G (Bharat Sanchar Nigam Limited) - Madhya Pradesh North Circle

Change-Id: I7dfad871def8f25c142bf6b466b4092094946937
Signed-off-by: techyminati <sinha.aryan03@gmail.com>
2025-11-05 09:16:06 +00:00
Alexander Koskovich
d56f3892fb apns: Add AT&T 5G NSA & SA APNs (310|410) from att5g[sa]_us-64000000006
Change-Id: I95a30f45dacc6c4c470919e2fd7dee110ee0d407
2025-11-05 09:16:06 +00:00
Marc Bourgoin
a766d8b43b apns-conf: Update carriers from the Philippines
Mabuhay!

This also adds DITO Telecommunity and Red Internet

Taken from Xiaomi 14 Pro (shennong) A15 stock ROM

I removed read_only ="true" from two entries as it is not allowed

Change-Id: I93f97fc9220e648f2e37cda11822af64b3d37612
2025-11-05 08:13:41 +00:00
Alexander Koskovich
2e155667ee apns: Update Verizon (311|480) from verizon_us-64000000022
Change-Id: Ia7643b92b77caa186c090e123fc0771d022ba729
2025-11-05 08:13:41 +00:00
Alexander Koskovich
90aa4db323 apns: Update Xfinity Mobile MVNO (311|480) from xfinity_us-64000000012
Change-Id: Ia5f7324ce88bf4983b1f12b7247cee2a9103f076
2025-11-05 08:13:41 +00:00
Alexander Koskovich
f29a16f581 Add mvno_match_data to StraightTalk Verizon
Required so the APN doesn't show up on the main carrier, not even sure
if this is really used anymore either since Google stopped shipping it
in CarrierSettings.

Change-Id: Ibb5b3a63638b641fa781c2bc5e9445e6d71f19f5
2025-11-05 08:13:41 +00:00
PixelThrived
3d43261c23 apns-conf: Remove deprecated Cosmote Romania entries
Cosmote Romania was officially rebranded as Telekom Romania in 2014. The legacy APNs serve no functional purpose and may interfere with correct network configurations.

On LineageOS, defunct Cosmote APNs are selected by default, preventing mobile data from working out-of-the-box for Telekom Romania users.

This commit also removes MCC 226 / MNC 06 entries, which are no longer allocated according to mcc-mnc.com.

Change-Id: I1fbd563e8973aaf590ba7fee8ac4ebb6140649e4
2025-11-05 07:12:32 +00:00
nift4
06763aafa7 Remove useless addon.d file
* Avoid detection as custom ROM

Change-Id: I1fbd63cc116d53c7c366662b632163f6bc079bbf
2025-11-05 07:09:36 +00:00
minaripenguin
1d04b00c01 Inherit Pixel additions and bootanimation
Change-Id: I8142a79a039c32492eab6d76f1f21470361bb4ac
2025-11-04 20:38:45 +00:00
Zabuka_zuzu
eb307c1fcb lineage: Initial rebrand
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Co-authored-by: Lup Gabriel <gwolf2u.website@gmail.com>
Co-authored-by: Hemant Sachdeva <hemant.evolver@gmail.com>
Change-Id: I35e1b706cf3319212d4f723dd95fcb3126dd85fb
2025-11-04 20:26:28 +00:00
Marc Bourgoin
281bef7107 apn: Update China Telecom for MCC 460 MNC 11
Taken from rtwo retcn variant (Moto X40) stock ROM

Change-Id: I042bf99196d69a185b9e6cde40ca57afdae76e10
(cherry picked from commit c7a39d5729b90957cfb3320c836f665ae735b58e)
2025-07-01 16:58:33 +00:00
basamaryan
db0e0203b1 LineageOS 23.0
Change-Id: Ib993e7d13e3e51e354a6e59fe6b2088b5e5af0de
2025-06-27 08:26:12 +01:00
Yumi Yukimura
6b8100b68f init.lineage-system_ext.rc: Rename bugreport service
* Cuttlefish has defined one with the same name.

[ 99% 157176/157198] build out/target/product/vsoc_x86_64/host_init_verifier_outp
FAILED: out/target/product/vsoc_x86_64/host_init_verifier_output.txt
/bin/bash -c "out/host/linux-x86/bin/host_init_verifier                 -p out/target/product/vsoc_x86_64/obj/ETC/passwd_system_intermediates/passwd_system        -p out/target/product/vsoc_x86_64/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext                -p out/target/product/vsoc_x86_64/obj/ETC/passwd_vendor_intermediates/passwd_vendor               -p out/target/product/vsoc_x86_64/obj/ETC/passwd_odm_intermediates/passwd_odm             -p out/target/product/vsoc_x86_64/obj/ETC/passwd_product_intermediates/passwd_product             --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts              --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/product_property_contexts_intermediates/product_property_contexts               --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts          --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts              --out_system out/target/product/vsoc_x86_64/system                --out_system_ext out/target/product/vsoc_x86_64/system_ext                --out_vendor out/target/product/vsoc_x86_64/vendor                --out_odm out/target/product/vsoc_x86_64/odm     --out_product out/target/product/vsoc_x86_64/product             > out/target/product/vsoc_x86_64/host_init_verifier_output.txt"
host_init_verifier: out/target/product/vsoc_x86_64/vendor/etc/init/init.cutf_cvm.rc: 108: ignored duplicate definition of service 'bugreport'
host_init_verifier: Failed to parse init scripts with 1 error(s).

Change-Id: I0af60a1c19035d336a88a543089fd01400736dd5
2025-06-10 01:47:16 +08:00
Sebastiano Barezzi
8776027373 init: Update bugreport service definition
```
host_init_verifier: vendor/lineage/prebuilt/common/etc/init/init.lineage-system_ext.rc: 6: No user specified for service 'bugreport', so it would have been root.
host_init_verifier: Failed to parse init scripts with 1 error(s).
```

Change-Id: I0bd03cb673096f1e686ede59c7db70ab1e581ec1
2025-04-07 18:08:30 +02:00
LuK1337
eed8eb046f backuptool: Export TMPDIR to /tmp for non-AB
It attempts to use /data/local/tmp instead, which results in the
following error message:

[  154.293873] /tmp/addon.d/50-lineage.sh[43]: can't create temporary file : No such file or directory

Change-Id: I34be32ef41c92a6b543c75e4beaa3f326615e888
2025-03-30 10:37:20 +02:00
Yumi Yukimura
d0f628d166 apns: Add APNs for China Telecom Global GD & HK & MO prepaid SIM card
* Taken from [1]. (Actually, I've only used [2] so far and I can't
  test [1] until I arrive at Hong Kong again)
* These APNs are used only when in Hong Kong, not in Guangdong.
  I'm unsure about Macau yet.

[1]: https://dumps.tadiphone.dev/dumps/xiaomi/dada/-/blob/missi-user-15-AQ3A.240812.002-OS2.0.101.0.VOCCNXM-release-keys/product/etc/apns-conf.xml#L38564
[2]: https://dumps.tadiphone.dev/dumps/redmi/ruby/-/blob/missi_phone_global-user-13-TP1A.220624.014-V14.0.6.0.TMOMIXM-release-keys/product/etc/apns-conf.xml#L38008

Change-Id: Ib557e172c24105692b3c72372dba0a8b8e112273
2025-03-28 08:07:25 +00:00
LuK1337
4d616dc2bb config: Install FRP wipe script into recovery /system/bin
Change-Id: I24e217e6af87f2002193ac7b6defb158cce0a776
2025-02-22 18:07:38 +01:00
Flicker372
3d683b1cdc apns: Update for ChinaTelecom Macau (CTMO)
- Set the APN name to '中國電信' instead of '澳門電信', as the latter is ambiguous and can be easily confused with '澳門電訊 (CTM)'.

Ref:
[1]https://www.1888.com.mo/question/detail?infoId=13
[2]https://android.googlesource.com/device/sample/+/main/etc/apns-full-conf.xml

Change-Id: I203e03e829a1fd9a2041c051124f81d08ccf01c4
2025-02-18 17:11:35 +08:00
razorloves
03f912f8cd apns: Update Lebara UK
- Fixes being stuck in 2G.
- Removed old duplicates.
- Pulled from stock pixel 8.

Change-Id: Ia83dac8ff8722eb120cd649b3c18ce476d0a583c
2025-02-06 22:56:09 -06:00
Michael W
06ef1498f6 apns: Fix GCI
Aligns with both, apns-full-conf.xml and the website at
https://gci.com/support/support-articles/gci-basic-settings

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/7930
Change-Id: Ic1026664cdb782b1bf2fbed0a6de6ad95a9791d4
2025-01-15 20:23:44 +00:00
Alexander Koskovich
744306f2e5 apns: Update T-Mobile U.S. (310|260) from tmobile_us-62000000022.10
Change-Id: Id547fccda5ae13ed3e1a3868fb01aacaa51759bc
2025-01-03 06:14:53 +00:00
Andrea Toska
4dafa4847b apns: Remove defunct "Eagle Mobile" carrier.
Why:
- No idea how this got past me in my last commit to the APNS conf, slipped my mind.
- Eagle Mobile was a subdivision of "Albtelecom" focused on mobile services, which was eventually merged back
into Albtelecom.
- Albtelecom has been bought by One Telecommunications, and all subscribers have been transfered there.

Change-Id: I9c41eebffc3a669cb7570361c4e31f36d16863dc
(cherry picked from commit ee8fc41b485f7c3c6dd1f569e8892a76f1f8b5d7)
2024-12-12 20:36:11 +00:00
Andrea Toska
ed831e45e5 apns: Remove defunct Albanian carrier
Why:
- The carrier "Plus" has been disbanded/stopped serving mobile services in 2018.
- Didn't commit this to AOSP since they didn't seem to have Plus as a carrier, plus their list is exteremely outdated.

Change-Id: I1f3e992380fd90d8c85dcc8ead1d98ef65ea900f
(cherry picked from commit ca5ae0085d6abc3f570d7f78cd66db619a25ab14)
2024-12-12 08:10:58 +00:00
Patrick Gaskin
ffd584f41c apns: Update all Canadian carriers
Why:
- They're all pretty outdated.
- Many carriers do not document APN settings, and the ones which do
  don't include ims/xcap/sos.
- The Quebecor ones (Fizz/Freedom/Videotron) are very broken,
  especially Freedom.
- Many MVNOs are missing or partly missing (i.e., missing additional
  match conditions).
- Some APNs are incorrect.
- Most IMS APN settings are outdated (e.g., almost all should now be
  IPV4V6).
- Some APNs with bearer_bitmasks are missing NR (20).
- Some APNs aren't properly configured for IWLAN (18).

Why not do it based on AOSP:
- Almost all Canadian carriers are extremely outdated there.
- Some are missing compared to the pixel ones (and even those have
  some minor issues especially with the Quebecor ones).

These were compiled using a combination of data from:
- Recent phones well-supported by Canadian carriers:
  - Pixel shiba_AP2A.240905.003 CarrierSettings (extracted via lineage
    carriersettings-extractor and verified manually). This one tends to
    be the best overall.
  - Motorola Edge 2024 (XT2045-1) XT2405-1_AVATRN_RETCA_14_U2UANS34.72
    apns-conf. This one tends to have ones which Google is missing, but
    is quite a bit more messy overall.
  - Samsung Galaxy S24 (S921W) S921WVLS3AXI1/S921USQS3AXI1/MQB86303474
    apns-conf. This one usually matches Google, but has some
    misconfigured MVNOs. It's still good as a third point of reference.
- AOSP carrier_list.pb for confirming carrier_id matches (it's actually
  up-to-date unlike the APNs from various sources) and for ensuring all
  mvno matches exist.
- Pending AOSP patches from employees of Canadian carriers.
- Official carrier documentation.

Also see 177c6b9d46/mcc302.xml
(and the diffs in experiments/curated) for the stuff in a more readable
format.

A rough summary of where each set of APNs comes from is below:

Xplore (https://www.xplore.ca/) - 302130
- based on motorola APNs (goog/sam don't have it)
- added carrier_id since there's an exact match

Cogeco (https://corpo.cogeco.com/cgo/en/press-room/press-releases/cogeco-announces-strategic-partnerships-national-wireless-network-operator-and-eastlink-launch-mobility-services-canada/) - 302150/302151
- based on motorola APNs (goog/sam don't have it)
- not generally available yet
- renamed

TELUS - Koodo (https://www.koodomobile.com) - 302220/302221 gid=4B4F
- based on google APNs
- note that Samsung uses just "4B" as the prefix, but google, aosp, and the carrier_list uses 4B4F, so I'm going with that
- https://www.koodomobile.com/en/help/setting-data-your-non-koodo-phone has some of the APNs
- renamed
- sp.koodo.com type dun removed, supl added (https://android-review.googlesource.com/c/device/sample/+/3191311)
- sp.koodo.com roaming_protocol=IP added (https://android-review.googlesource.com/c/device/sample/+/3191370)
- ims roaming_protocol changed from IPV6 to IPV4V6 (https://android-review.googlesource.com/c/device/sample/+/3191370)

TELUS - Public Mobile (https://www.publicmobile.ca) - 302220/302221 gid=4D4F
- based on google APNs
- https://www.publicmobile.ca/en/on/get-help/articles/set-up-data-on-an-android-phone
- renamed
- isp.mb.com protocol+roaming_protocol=IP added (https://android-review.googlesource.com/c/device/sample/+/3191510)
- sp.mb.com roaming_protocol=IP added (https://android-review.googlesource.com/c/device/sample/+/3191510)
- ims roaming_protocol changed from IPV6 to IPV4V6 (https://android-review.googlesource.com/c/device/sample/+/3191510)

PC Mobile (TELUS MVNO) (https://www.pcmobile.ca/en/) - 302220/302221 gid=5043
- based on google APNs
- https://www.pcmobile.ca/en/help/sim-card-and-phone-support/APN-settings/
- renamed
- https://www.reddit.com/r/bell/comments/1cv8jf2/does_pc_mobile_really_have_volte/ says no volte on the pixel 8 as of 2024-05, which checks out given that ims/xcap isn't in the apns for it
- motorola and samsung don't have ims/xcap for it (or for generic 302220/302221 either)
- https://www.cellphones.ca/cell-plans/carriers/pc-mobile/ also says volte not supported

TELUS (https://www.telus.com/en) - 302220/302221 gid=5455
- based on google APNs
- note that Samsung uses just "54" as the prefix, but google, aosp, and the carrier_list uses 5455, so I'm going with that
- https://www.telus.com/en/support/article/activate-data-on-your-android-device
- renamed
- isp.telus.com protocol+roaming_protocol=IP added (https://android-review.googlesource.com/c/device/sample/+/3185999)
- sp.telus.com roaming_protocol=IP added (https://android-review.googlesource.com/c/device/sample/+/3185999)
- ims roaming_protocol changed from IPV6 to IPV4V6 (https://android-review.googlesource.com/c/device/sample/+/3185999)

skipped a bunch of seemingly TELUS MVNOs which don't exist afaik other than as APN entries on samsung and motorola, and as entries in carrier_list
the odd thing about them is most have an xcap apn with a mmsc of mms.mnc340.mcc313.pub.3gppnetwork.org... and 340313 is Dish in the US
I can't find anything on Google about Dish having any kind of relationship with TELUS
also, for Boost, https://www.reddit.com/r/BoostMobile/comments/x0qz8k/going_to_canada_in_2_weeks/ claims they have no coverage at all in Canada
for Ting, I found https://www.cbc.ca/news/business/the-canadian-mobile-phone-service-you-can-t-get-here-1.1337824
none of these are in aosp, lineage, or google currently
- 302 220 gid=6332 Boost (2518)
- 302 220 gid=6336 Boost (2614)
- 302 220 gid=6530 Home (2517)
- 302 220 gid=6538 Project Genesis (2528)
- 302 220 gid=6630 Republic (2520)
- 302 220 gid=6636 Gen Mobile (2619)
- 302 220 gid=6638 Boost (2621)
- 302 220 gid=6732 Boost (2613)
- 302 220 gid=6736 Boost (2615)
- 302 220 gid=6738 Project Genesis (2616)
- 302 220 gid=6830 Republic (2617)
- 302 220 gid=6836 Gen Mobile (2620)
- 302 220 gid=6838 Boost (2622)
- 302 220 gid=7330 Ting (2521)
- 302 220 gid=7530 Ting (2618)
- 302 220 gid=8030 (unknown, no match in carrier_list)
- 302 220 gid=9030 (unknown, no match in carrier_list)

skipped 302 220 spn=WOM (only motorola has it)

EastLink (https://www.eastlink.ca/) - 302270
- based on motorola APNs (eastlink does not sell pixels - https://www.eastlink.ca/mobile/phones, and the google apns seem to be outdated/incomplete)
- removed motorola-specific agps type
- https://my.eastlink.ca/Portals/0/Wireless/Eastlink-Config-Android-Windows-Other.pdf?versio
- renamed

Rogers - Chatr Mobile (https://www.chatrwireless.com/) - 302320
- based on google APNs (is the mostly the same as the aosp ones, but also has xcap/ims)
- https://www.chatrwireless.com/support/network-and-data
- renamed

Rogers - Fido (https://www.fido.ca/) - 302370 + 302370 gid=DD
- based on google APNs (this one is a bit messy across manufacturers)
- https://forums.fido.ca/t5/General-Support/Fido-s-APN-amp-MMS-Settings/m-p/91614 (this one is outdated - fido-core-appl1.apn has been replaced with ltedata.apn)
- https://www.fido.ca/support/mobility/cannot-open-websites-apps-mobile-phone (this one is newer)

MTS (Rogers MVNO) - 302370 gid=2C
- based on google APNs
- see the Bell MTS APNs below

MTS (Rogers MVNO) - 302370 spn=MTS
- based on motorola APNs
- removed motorola-specific agps type
- no carrier_list match
- see the Bell MTS APNs below

Quebecor - Freedom Mobile (https://www.freedommobile.ca/en-CA) - 302490
- based on google APNs (they are the best ones: samsung and motorola have some of it, but are missing some options; aosp is bad)
- fully tested (note that it also requires at least the 302500/302500 apns to work correctly, and may also require other canadian ones for nationwide)
- renamed

Shaw Mobile - 302490/302500 imsi=302490400/imsi=302490500/gid=53
- skipped
- mvno no longer exists and customers have been migrated (https://support.shaw.ca/t5/billing-account-articles/rogers-shaw-coming-together-faq/ta-p/56371, https://www.digitalhome.ca/threads/rogers-forces-move-from-shaw-mobile.294940) (also, motorola and samsung don't include these)

Quebecor - Videotron (https://www.videotron.com/) - 302500/302510/302520
- based on a combination of motorola's, google's, and samsung's APNs
- google doesn't include 302500, and I'm not sure if they're strictly required or if videotron only uses 302510/302520, but let's be safe and keep them
- google puts a mmsproxy of 10.208.89.17 for 510/520, but I'm 90% certain this is outdated (motorola and samsung don't, and fizz alsu used to use that IP before they switched to mmsproxy.mobile.bm)
- motorola lists apn types "default,mms,dun,agps,supl,fota,hipri" for the default apn, but they seem to do that when they don't know better, and samsung/google uses "default,mms,supl", so let's use that
- https://www.videotron.com/soutien/mobilite/configurer-services/configurer-apn
- renamed
- my diff page is extremely helpful for comparing these: https://htmlpreview.github.io/?https://github.com/pgaskin/apnstuff/blob/master/experiments/cmp/mcc302-all.split.html

Quebecor - Fizz (https://fizz.ca/en) - 302500 gid=55
- mostly based on google's APNs
- almost as much of a mess as Videotron
- google's one has ipv6-only for ims, and I'm 99% certain it should be IPV4V6 like motorola's and other carriers
- motorola's only has bearer 18 for xcap, and I'm 99% it should be for all bearers like google's
- motorola has the apns copied to mnc=510 too, but I'm 70% sure this is a mistake since it isn't in the carrier_list and nothing else has it
- samsung's doesn't have ims, but motorola and google do, and I'm 100% certain it should
- samsung's has only IPV6 as the protocol for IMS, but motorola's has IPV4V6, and I'm 99% certain the latter is correct
- https://fizz.ca/en/faq/what-are-fizz-network-settings-apn
- https://fizz.ca/en/faq/why-volte-important
- renamed
- my diff page is extremely helpful for comparing these: https://htmlpreview.github.io/?https://github.com/pgaskin/apnstuff/blob/master/experiments/cmp/mcc302-all.split.html

Bell Mobility (https://www.bell.ca/) - 302610/302630/302640
- based on google's APNs
- renamed
- pretty uncontroversial and consistent between google/motorola/samsung, but google's is the cleanest
- changed IMS protocol/roaming_protocol to IPV4V6 to match current aosp and other canadian carriers

Bell - Virgin Mobile (https://www.virginplus.ca) - 302610/302630/302640 gid=3E
- similar to bell, same thing about ims

Solo Mobile (Bell MVNO) (https://www.solomobile.ca/) - 302610/302630/302640 gid=3F
- similar to virgin

PC Mobile (Bell MVNO) (https://www.pcmobile.ca/en/) - 302610/302630/302640 gid=40
- similar to virgin

Bell - Lucky Mobile (https://www.luckymobile.ca/) - 302610/302630/302640 gid=42
- similar to virgin

Bell - MTS (https://www.bellmts.ca/personal?cookieCheck=1) - 302660 gid=2C/spn=MTS
- based on google's APNs
- note that google's doesn't have the gid=2C match condition, but it's not important since only MTS uses 302660
- added carrier_id=578

SaskTel (https://www.sasktel.com/store/browse/Personal/_/N-26v0) - 302654/302680/302681/302780/302781
- based on google's APNs
- https://support.sasktel.com/app/answers/detail/a_id/12121
- added missing carrier_id
- renamed

Lum (SaskTel MVNO) (https://lum.ca/) - 302780 gid=5B

Bell IoT - 302690 - gid=41/gid=43
- based on aosp

Rogers (https://www.rogers.com) - 302720
- based on google's APNs
- almost exactly matches AOSP, but has some newer IMS-related stuff (e.g., protocol IP -> IPV4V6)
- renamed

Rogers 5G (https://www.rogers.com) - 302720 gid=A4
- similar to Rogers, has slightly different APNs
- https://www.rogers.com/support/mobility/5G-network-faqs

Rogers - Tbaytel (https://www.tbaytel.net/) - 302720 gid=BA OR 302720 imsi=302720x92
- similar to Rogers
- added missing carrier_id

Rogers - Cityfone (https://www.cityfone.net/) - 302720 gid=CC OR 302720 imsi=302720x97 OR 302720 spn=CITYFONE
- similar to Rogers
- gid=CC doesn't seem to exist in carrier_list, but I'm keeping it anyways
- added missing carrier_id
- being discontinued, see website

Rogers - Chatr (https://www.chatrwireless.com/) - 302720 gid=D2 OR 302720 imsi=302720x84/302720x83/302720x94
- similar to Rogers

Rogers - Ztar - 302720 gid=D4 OR 302720 imsi=302720x98
- similar to Rogers
- gid=D4 doesn't seem to exist in carrier_list, but I'm keeping it anyways

Rogers WPN (https://www.rogers.com/business/iot/wireless-private-network) - 302781
- based on google APNs
- renamed

Change-Id: Iafb39363c07e74d3cda5868e32c38d684a8f2989
(cherry picked from commit 56ec683ee675eefa2fb618c06e8e29d47f2fffdb)
2024-12-09 07:38:59 +00:00
Bruno Martins
819ccd293a apns-conf: Add DIGI PT APN settings
Ref: https://www.digi.pt/configurar-internet

Change-Id: I86be7f223073c4583fc95085f89754f63d709239
2024-11-23 21:58:33 +00:00
Luca Stefani
f3cb134b6e Migrate to component-override for force enabled/disabled components
Test:
pm dump-package com.android.vending | grep disabledComponents -A20
pm dump-package com.google.android.gms | grep disabledComponents -A150
pm dump-package com.google.android.setupwizard | grep disabledComponents -A5

Change-Id: Iddac5f0edc9a312df8d7c436312bad111289c1b4
2024-11-04 19:18:57 +00:00
Michael Bestas
f6a35bb6c3 backuptool: Only check against major version
Remove an unused version export while we are at it

Change-Id: Ib25dd9eb219db460478c887e7f420aad201d645e
2024-10-19 01:10:12 +02:00
Michael Bestas
1408de438a LineageOS 22.0
Change-Id: I49235781bcd8b9fbd82fd472182141166512d463
2024-10-19 01:10:10 +02:00
Christian Oder
6e151c8c81 apn: Add Congstar (Telekom)
* https://forum.congstar.de/thread/46325-mobil-surfen-mit-congstar-manuelle-einstellungen-zum-mobilen-internet-apn/

Change-Id: I97cc8a4d9ba4b57f1269e94913cd508a7b80d19d
2024-10-17 07:34:45 +00:00
Christian Oder
b931ceb72f apn: Add Truphone (Saily)
* https://support.saily.com/hc/en-us/articles/13338388172828-How-to-fix-Android-no-net-issue#h_01HTRNVT7CT1MTF1GVT0CRRJGA

Change-Id: I1692b3e9100b50f9f4097d93d43f0f7213cb0fa3
2024-10-17 07:34:45 +00:00
Caio Oliveira
5bf3ee5b90 apns: Update Brazil carriers to 2024
* Nuked Telemig (sold to Vivo after 2010)
* Nuked Amazonia Celular (sold to Oi after 2009)
* Updated Vivo to use IPV4V6
  (related to https://gitlab.com/LineageOS/issues/android/-/issues/7191)
* Added Sercomtel, Unifique (MVNO)
* Added missing TIM MNC 54 (Porto Seguro Conecta MVNO, merged to TIM after 2018)
  Fun fact: It was the first MVMO in Brazil
* Nextel Brasil is now Claro NXT (since 2020)
  There's no info about updated APN (since it's recent, keep for compat)
* Fun Fact: Oi (as a mobile network) is dead since 2022
  selled to TIM/Claro/Vivo. (since it's recent, keep for compat)
* Kept "Correios Celular" rather than "Surf"
  https://www.surf.com.br/site/nossos-clientes/
* Hide IMS APNs from user
* Not added Webbing and Ligue as on AOSP

* based on:
 - https://mcc-mnc.net/
 - https://apn.how/br
 - https://www.mcc-mnc.com/
 - https://www.teleco.com.br/opcelular.asp
 - https://www.teleco.com.br/en/en_mvno_br.asp
 - https://android.googlesource.com/device/sample/+/main/etc/apns-full-conf.xml

Change-Id: I8cc34651472b38b21ca473eb32146a8ef6215526
Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
2024-09-25 00:53:24 +00:00
hipexscape
8450e172d3 apn: Set correct apn for Grameenphone
Change-Id: I8e952ee7c0e570ac1503930eaaef6e3a4d3dc8f9
2024-09-05 13:10:06 +00:00
Japie3krekel
da4bb60995 sensitive_pn: Add and modify netherland numbers
* Add organisations and websites
* Add new numbers (suicide for friends and family)

Change-Id: I66be95cd71359bcc7261b22f0e51f5b218f12362
2024-07-23 19:40:42 +00:00
Alexander K
279624b2df sensitive_pn: Update and simplify helplines for multiple countries.
Added: Argentina
Updated: Netherlands, Bosnia and Herzegovina, Serbia, Croatia.

Change-Id: Ib13e9a3056e00bf25c2e49d1e3831f20a48bff73
2024-07-23 19:40:42 +00:00
Ricky Cheung
68870367d5 sensitive_pn: Add China's 12355 helpline
Change-Id: I074ec2563a271b22c9d7ad031cd5e3db3873ff61
2024-07-23 19:40:42 +00:00
Ricky Cheung
1ce07cd720 sensitive_pn: Add numbers for Hong Kong, China
* Officially called the Hong Kong Special Administrative Region of
  the People's Republic of China. Let's include the country name.

Change-Id: Ibf1a0f109cf9eec9e40f513554ae22cd99db6b80
2024-07-23 19:40:37 +00:00
Sebastiano Barezzi
bf0fbd309d apns: Remove unknown attributes and fix misspelled ones
Change-Id: I9c71b4e6df9fd1847d425aa087579bae2c2b7dd3
2024-07-23 20:38:16 +02:00
Sebastiano Barezzi
c3a46252ee apns: Add a XML schema and check apns-conf.xml against it
Change-Id: Id115dd7beeafffcdf24e9ff1732490f0ca808279
2024-07-23 20:38:16 +02:00
Sebastiano Barezzi
c871fc9a27 apns: Convert build rule to Soong
Change-Id: I46dee0bb119891a55e3bc62dbb1c3e7d98413a35
2024-07-23 20:37:38 +02:00
Sebastiano Barezzi
11faaafa7c apns: Remove support for CUSTOM_APNS_FILE
Change-Id: I5329ba5adb83c8c4d3206ed71a29dc6ea058c4b1
2024-07-23 20:37:38 +02:00
Sebastiano Barezzi
bcc56271cc apns: Fix broken entries
`E TelephonyProvider: initDatabase: Exception while parsing
'/product/etc/apns-conf.xml'java.lang.NumberFormatException: For input
string: ""`

This fixes broken TelephonyProvider database on APN database creation

Change-Id: I8338b80c50659e824568f5652ece9f10d975cbb3
2024-07-22 01:02:14 +02:00
LuK1337
a8fd25ada9 fixup! sensitive_pn: Update RUS numbers
Change-Id: I57c01edb1e2882a5a4344b1552bb51b697dd0e21
2024-07-19 21:35:29 +02:00
Michael W
c57ab86560 apns: Order properly
* Order is first mcc, then mnc, ascending order
* Jio had one without MCC/MNC, remove

Change-Id: Ib5c716b3d7f4c214a32948ffb0936dca50912fe9
2024-07-19 12:55:15 -04:00
Michael W
927e4d158c apns: Fix invalid entries for WOM (chile)
"mmc" should really have been "mcc"

Change-Id: Ie942d76c9b5af65ba50d96dac7fe0be5f5092e73
2024-07-19 12:55:15 -04:00
armando.maya
736ab163db ADD APN for DIGI Spain IMS and DIGI Italy IMS
Test: ADD IMS APN for DIGI Spain IMS and DIGI Italy IMS

[Fixes https://gitlab.com/LineageOS/issues/android/-/issues/7264]

Signed-off-by: armando.maya <armando.maya@digimobil.es>
Change-Id: Id88b19fbeeb394c1fc48502fedb6535d51efd173
2024-07-19 12:55:15 -04:00
Michael W
a182689d6c apns: Move Hits
Commit 14c51c7 added it to the mcc=234 section

Change-Id: Id13e7952585cc81ab50b4efa3c4a85e84bcaa549
2024-07-19 12:55:15 -04:00