1022 Commits

Author SHA1 Message Date
Paul Keith
86e79255ae lineage: Set perms on reading_mode sysfs
* This is now supported by the common sysfs impl,
  so the perms should be set on the node

Change-Id: I079301a8684f3038b7e5e72b7b2d830259c4fe60
2018-08-10 15:56:05 +02:00
Michael Bestas
95621f3c73 Revert "ota: Validate any installed data's signature against our own"
* otasigcheck doesn't work on encrypted devices and makes
  the zip installation fail since oreo.
* The build part of this was never ported to oreo.

This reverts commit aff5e54c4e.

Change-Id: I411f33c1db64844091c1692ef4706ae541925d4f
2018-08-04 17:46:35 +03:00
Nolen Johnson
c40e4c6622 prebuilt: apn: Sprint 2: Drop http definition from MMSC proxy
* This needs to be prefix agnostic so its secure counterpart can
  be used when necessary.

Change-Id: I05475c4a3a90ff6bb8736046aad5eb3f7260e468
2018-07-26 21:06:38 +02:00
Nolen Johnson
1e2d49018a prebuilt: apn: Sprint 2: Make IPv6 MMS Proxy default for the apn
* New devices strictly use IPv6 for MMS, and the legacy IPv4 proxy won't
  work on them.

Change-Id: Ic6b2f0922c5eb134ad21b48b2dafe178cd620831
2018-07-25 19:56:16 +02:00
Nolen Johnson
611638e195 apns: sprint: Default to legacy n.*, allow x.* as an alternative
* Newer Sprint devices will only get LTE on the x.* variant of
  the APN. Though, using this breaks all legacy Sprint devices
  LTE connection. until we have a majority of post 8996 era
  devices, default to the n.* variant of the APN.

Change-Id: I95a26a5d3175dbf6ebd4eb78e9f2720017c8c7e2
2018-07-16 04:59:02 +02:00
Dan Pasanen
bccc735d89 apns: sprint mms: mms.sprintpcs.com > oap7.sprintpcs.com
Change-Id: I64ab9df7877fdb4ea04fce5d377af694e84e8e3e
2018-07-09 08:13:13 +02:00
Dan Pasanen
1ddb6489ae apns: sprint: n.ispsn -> x.ispsn
Change-Id: I3d8074eccd43426cc9db9b49108a189177713d04
2018-07-09 08:13:13 +02:00
Luca Stefani
bca9493c45 Add Iliad APN
Change-Id: If6b77458a38b63fdde672714fcc863acd5f47780
2018-06-27 14:22:11 +02:00
James Hilliard
ed3d536151 apns: Add missing sprint roaming APN and set bearer_bitmasks
BUGBASH-780

Change-Id: Ie31e3fda79ee6c9ed02d811e45c63b3231e76227
2018-06-26 20:41:26 -04:00
Eric Meddaugh
a045e5d39e apns: Adjust Sprint LTE internet to allow tether
Change-Id: I5a2b4924a1d61f1d15de8d148c2e1cbbaa6db16e
2018-06-25 17:39:56 +02:00
Dan Pasanen
524fe03bfb backuptool: introduce addon.d script versioning
* Since A/B addon.d scripts are going to need to do things in a
  specific way or things could go horribly wrong for a user, let's
  introduce versioning so that scripts can claim to be compatible.

* A script can denote it is compatible with addon.d version 2 by
  adding: "# ADDOND_VERSION=2" somewhere in its script.

* Only A/B will require version 2 scripts for now, and version 2
  scripts will still run on non-A/B. Additionally if a script does
  not explicitly denote its version, assume its version 1.

* Version 1: The same old scripts we've always used. We cannot assume
             these will all work with A/B backuptools.

* Version 2: Scripts that denote they are compatible with version 2
             must be aware of the fact that A/B devices will run this
             script for a rom, during a seamless update, mounted at
             /postinstall. The best way to ensure compatibility would
             be to use the pre-designated functions found in the
             backuptool[,_ab].functions scripts.

Change-Id: I5573018dabd21bb64c7c964e2081806072a75243
2018-06-22 16:24:09 +02:00
Dan Pasanen
4a049b563c vendor: add custom backuptools and postinstall script for A/B OTAs
* A/B OTA devices wont run backuptools in recovery (because they don't
  go in to recovery to do an OTA). In these cases let's use a modified
  version to backup/restore from within android upon postinstall.

* Add backuptool_postinstall.sh which will be run prior to the normal
  postinstall script in order to backup/restore via addon.d scripts.

* This needs to be done in such a manner because we need /postinstall
  mounted rw instead of the ro with context= options which are used for
  the normal postinstall (dexopt) script.

Change-Id: I51511870634dd1ec5388adafddb446f95cc5a950
2018-06-22 16:09:56 +02:00
Bruno Martins
c77fba3153 apns-conf: Remove obsolete APNs for PT carriers
Change-Id: Ib815841d8deae6bca971e2e53db383c0fe1cd6a0
2018-06-17 12:42:29 +02:00
Olivier Karasangabo
a596b92246 apns: Add UPC Mobile
Change-Id: I0ab1433337d4f0b334db2fd926bb69d4561b1ff6
2018-05-28 21:56:43 +02:00
Adrian DC
9dde3d63e8 backuptool: Temporarily render version check permissive
* Due to both following commits, backuptool went permissive
    and lineage properties got lost from the system on devices
    that do not have BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED

    "backuptool: Take into account new location for system default props"
    Change-Id: I62046447876c2198a0c4f88a4f36f4723d417617

    "lineage: Move to Google's method of defining system default props"
    Change-Id: I6cb0e28a7599b010b389cc541015a37010a00f4b

 * Once the properties issue is properly resolved in the sources,
    a period of time is required for "most" of the users to upgrade
    their system with fixed lineage properties before we break addons
    by repairing the backuptool script globally

Change-Id: Iea8865ea9bb05eed56a8a0a7b95e3f04b01c4bae
2018-05-18 22:04:29 +02:00
razorloves
0a0c3e7567 apn: Fix typo in Rogers roaming protocol
Change-Id: I93f3137ffffdbb742dd698dcdc63467db5108004
2018-05-11 19:16:52 -05:00
Eric Meddaugh
28c5dfb43d apns: Adjust MetroPCS apn to allow USB tether
Change-Id: I41f0c7688dc38eb334fabb845f026c37fbb92655
2018-05-11 11:51:51 +02:00
Michael W
05e43ffc39 prebuilts: Fix Telfort apn
* Remove proxy
* Source https://android.googlesource.com/device/sample/+/android-7.1.2_r27/etc/apns-full-conf.xml#646 BUGBASH-766

Change-Id: I924169cd3cb3d76d362f71ff6b65dba28b9ef54a
2018-05-05 13:59:20 +02:00
Louis Rousseau
aab3507c00 apns: updated entries for Koodo
Removed proxy values to match current version of
https://www.koodomobile.com/help/setting-data-your-non-koodo-phone

Change-Id: Ic17cb9a9e1f0e59381815a1b2e8eb4f37f3e3e89
2018-04-30 17:48:51 +02:00
razorloves
a9e0134376 apn: Update APNs for MetroPCS
- Add missing ims apn. Without this, pixel and nexus users were not
    able to use ims features.
  - Set the mtu value. This improves data connection reliability.
  - These changes match with pixel's aosp apn.

Change-Id: I170de2c92cc916424c266dc972a6538599640b7c
2018-04-23 19:34:18 +02:00
Dan Pasanen
f7b93ce5a0 lineage-radio: disable ims services on ro.radio.noril
Change-Id: I598dbaaaead2c9cfd50cd41f3bed193dfe17e147
2018-04-20 05:51:44 +02:00
razorloves
86f03b8f83 apn: Add protocol for fido and rogers
Pixels will only establish a data connection to these carriers using
IPv6, so this fixes the reports of no cellular data and no mms.
Also, this matches with what aosp has.

Change-Id: I07768f817cf6bb4997dd737cc467fb146c959434
2018-04-14 04:27:59 +02:00
Alexander Kaindl
fb7b1fd92a apn: Add APN for spusu MVNO
Change-Id: I3772b955f758083986d8d2862cf3ec32609c19a1
2018-03-29 18:28:19 +00:00
Bruno Martins
1022cc7c50 backuptool: Take into account new location for system default props
* System default props defined using PRODUCT_SYSTEM_DEFAULT_PROPERTIES
   are stored into /system/etc/prop.default, so that's the location where
   ro.lineage.version prop needs to be checked now. Although, fallback
   to the old location to allow sucessful upgrades.

Change-Id: I62046447876c2198a0c4f88a4f36f4723d417617
2018-03-03 00:46:45 +00:00
Paul Keith
c6b6c98a2b lineage: Allow IPv6 on roaming for T-Mobile US APNs
* Fixes roaming on T-Mobile NL with a T-Mobile US SIM

Change-Id: Ied51d5297af1fafe9907c6dc2e7678f63a62363a
2018-02-05 16:45:35 +01:00
Paul Keith
20b8197bfc lineage: Consolidate T-Mobile US APNs
* MMS doesn't need to have its own APN
* This matches https://support.t-mobile.com/docs/DOC-2090 and
  was verified against a T-Mobile Galaxy Note 5 on stock

Change-Id: I254de82de012ea4b052d7751d4910f13692c970a
2018-02-05 16:45:28 +01:00
Dan Pasanen
0f9080a12e vendor: update vzw apns
* Add support for bearer 18
* Update mmsc urls
* Remove bad dun apn
* Set approprite auth_types
* Set visibility
* Update max_conns

Change-Id: Ie9256f10899343242c64ae3896434b4c994f3dac
2018-02-02 13:21:55 +00:00
Paul Keith
3957e06d5a sensitive_pn: Fix typo in sensitive phone number
* There was an extra digit hiding in here
* Corrected from: https://www.safehorizon.org/hotlines/

Change-Id: I75f179f0b263514df54acf4adc1df0f8ff3f3ada
2018-01-29 02:50:01 +02:00
Jamie
e446022782 sensitive_pn: Add some more numbers for Canada
* Mostly child abuse numers, some for violence against women
* From: http://www.children.gov.on.ca/htdocs/English/childrensaid/reportingabuse/CASLocations.aspx

Change-Id: I18add946c242eeac1c6f0859a3fd5f4fe073c6ce
2018-01-29 02:50:01 +02:00
Paul Keith
765c9d1104 sensitive_pn: Sort file
* Sort MCC orders
* Sort phone number orders
* Remove one duplicate phone number entry (116123 in GB)
* Add a note about maintaining this file

Change-Id: Ifcf392c1ca54c0daf37248a647d401d4a93dd355
2018-01-29 02:50:01 +02:00
Matthew Freund
b8a586b0e8 Added more USA sensitive phone numbers
Change-Id: I241b79a4e0a5252a010e5d8b2c1315334f5ae03f
2018-01-29 02:50:01 +02:00
systemcrash
ab2bed7056 Add APN for iD Mobile UK MVNO
Change-Id: I3af3a5a93676b0750cfa7d025e6114130fa809c8
2018-01-29 02:50:01 +02:00
systemcrash
9ddc8182cb Added Cape Verde carrier CVMóvel default APN as configured by sales agents
Change-Id: Ic63f75c8fd8720ac04ee52b7a98e0f60ee82284d
2018-01-21 19:26:35 +00:00
Matthew Freund
e03ab09f8b sensitive_pn: added Belgium & Switzerland
Change-Id: I2af43571b07504fe379656e2ecd65759b9295172
2018-01-17 11:27:58 +00:00
Jonas Schwarz
81bc93bfd1 Updated Syma APN
Accordind to https://www.symamobile.com/parametrage-internet.html#8 the Syma APN should be symamobile.com not symacom.fr
I had to edit the APN manually to get it working

Change-Id: I62ccdc6bdcf8803e47c2f454a6ece622e06027d1
2018-01-17 11:27:52 +00:00
Saylance
dc0dfc9501 apns-conf: Update Ukrainian APNs
Using information from operators sites.

* Rebranding UMC -> MTS -> Vodafone
* Rebranding life -> lifecell
* Rebranding Utel -> TriMob
* Brand merging Jeans -> MTS (Vodafone)
* Brand merging Beeline -> Kyivstar
* Brand merging Ace_Base -> Kyivstar
* Cleanup unused apns

Change-Id: I9646488604c71d6a2b3acae61eb6cdd0d55540bd
Signed-off-by: Saylance <bogdanpower@ukr.net>
2017-12-30 12:08:36 +00:00
Louis Popi
e49657031e apn: Remove "hipri,dun" from Bouygues Telecom
* Unbreaks MMS very slow transfer

Change-Id: Ib3da8d07424044e4791b2ffabd6dad2e975812c3
2017-12-30 12:08:03 +00:00
Celoxocis
4822d9bdc2 Add M-tel (BIH) APN for M-tel Frend data plan
* http://www.mtel.ba/frend-plan
 * Frend spoken "friend" is their voice & data plan

Change-Id: I014f7549d936c64abb3801596d940cee7703f790
Signed-off-by: Celoxocis <celox.ocis@gmail.com>
2017-12-30 12:08:00 +00:00
Adrian DC
93256e4ac9 vendor: lineage: Upgrade to LineageOS 15.1
* Update backuptool versions
 * Update text references
 * Set version minor to 1

Change-Id: I30eea1f1cb01e2165311364cc62b589669bb1290
2017-12-07 01:36:18 +01:00
hedwig34
e77b6a2f8c Updated apns for device bringup for S4 Mini - serranolteusc
Change-Id: I22172debc835f6fd99bd2ed0afdfbe197f993345
2017-12-04 19:56:41 +00:00
meganukebmp
75b12b2196 sensitive_pn: Add BG human trafficking and domestic abuse hotlines
http://animusassociation.org/en/
http://080020100.bg/eng

Change-Id: I7560ce3a65731feab7bd9d3f9be1fe092254651c
2017-11-23 13:47:05 +00:00
Sam Mortimer
c10885231f Refactor Lineage init rc file
*) Put Lineage rc files in /system/etc/init instead of /init.lineage.rc

*) Split into function specific files (vibrator-specific stuff moved to
   our custom vibrator HAL service)

Change-Id: I1d00950253fbf7fdd7a4b7bd52adbed971923575
2017-10-15 03:06:48 +00:00
67891abc
d4d509ccf3 vendor: We are now LineageOS
Change-Id: I411cd912eb4fd1f752da03ab8027089aac92fc86
2017-10-04 07:40:47 +00:00
Gabriele M
f395bed811 Create /data/lineage_updates to store updates
GmsCore deletes the files in /data/ota_package/, including the files
downloaded by Updater. Create a new directory where Updater can store
its files not to have them disappear randomly.

Change-Id: Ifdfbc7f81eb5f2c4370d02f0634c869fdbb848b4
2017-09-02 19:44:15 +03:00
Luca Stefani
5c60e4fd24 lineage: Complete the rebrand
* TODO: Rebrand cmsdk when it's in a working state

Change-Id: I0d8d573f9e0032110ae3a0f54ebe11a877b83137
2017-08-23 17:33:22 +03:00
Abhisek Devkota
62764465b1 Update initial attach for Tmo US
Change-Id: Ib7b0db56099be1fbe10787014c0b3730edb865e4
2017-08-19 20:57:49 +00:00
Alexandre Oliveira
3af5191522 Add Correios Celular (BR) APN
Change-Id: I34b2aa557fc0532194423b1c04b6469ad4ead2ec
2017-08-08 02:17:32 +00:00
Keita Espinoza
36dcbd41d3 Add WOM Internet/MMS (CL) apn
Change-Id: I2a3e39ff76f78c9ad37fb2f36b9d40b7b5bf6a4d
2017-08-05 02:11:45 +00:00
jumoog
54afae56fd sensitive_pn: add EU 116 Numbers
116006 - Victims of crime
116111 - Child Helplines
116123 - Emotional support helpline

overview: https://ec.europa.eu/digital-single-market/en/116-helplines
per country: https://ec.europa.eu/digital-single-market/en/116-your-country

Change-Id: I7f7eccd3dc743a164e219152f26feda17cfb1b75
2017-07-28 13:37:51 +02:00
Bauuuuu
7dff2f7ae7 apns: correct the mvno_match_data for MasMovil Spain
* fixes the broken auto-detection for MasMovil Spain

Change-Id: I6fadeb3703e78d6ba6b2fe9420b9a45cd1f78de1
2017-07-26 19:07:19 +00:00