Commit graph

976 commits

Author SHA1 Message Date
Rashed Abdel-Tawab
6326caafb8 Lineage 16.0
Change-Id: Id892a06aac619efaef9c76aea8ced19af49672a6
2018-08-10 19:37:27 +01:00
Bruno Martins
920f209fff backuptool_ab: Pick LineageOS properties from build.prop
* The LineageOS versions properties were removed from the build.prop,
    which is resolved properly in commit:
    "lineage: Keep LineageOS versions properties in build.prop"
    Change-Id: I0060141c097b3d14c3710eee1e0caf7110634967

Change-Id: Ib11670474641d6fd14a00f8421e9fe8d1879bbc2
2018-08-10 20:35:01 +02:00
Adrian DC
05ab72add7 backuptool: Resolve incompatible version grep syntax
* The grep errorlevel output was not properly used by the if,
    therefore allowing a device to upgrade with old addons
    instead of aborting the backuptool steps

 * The LineageOS versions properties were removed from the build.prop,
    which is resolved properly in commit:
    "lineage: Keep LineageOS versions properties in build.prop"
    Change-Id: I0060141c097b3d14c3710eee1e0caf7110634967

 * Introduced in the following commit:
    "backuptool: Take into account new location for system default props"
    Change-Id: I62046447876c2198a0c4f88a4f36f4723d417617

This reverts commit 1022cc7c50.
Change-Id: I7f5a3510f64f0ecabfe9d15b5dbc1a667b210eb8
Signed-off-by: Adrian DC <radian.dc@gmail.com>
2018-08-10 20:35:01 +02:00
Adrian DC
29fca646a6 backuptool: Revert "Temporarily render version check permissive"
This reverts commit fa279c980512c5d25de6bbd4f8d6397a2ae2b252.
Change-Id: Ib3e88ef3ff80bd466c9ec73edc8224713d331657
2018-08-10 20:35:01 +02:00
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
Julien Humbert
8146415ace sensitive_pn: Include France DOM (Overseas regions) codes
France has 7 MCC codes, but only include the 2 DOM (Overseas regions) codes here.
* Metropolitan France: 208
* Guadeloupe, Martinique, Guyane: 340
* La Réunion, Mayotte, TAAF (French Southern and Antarctic Lands): 647

The 4 others MCC codes aren't covered by those number as stated on their website.
* Saint-Pierre-et-Miquelon: 308
* Wallis-et-Futuba: 543
* Nouvelle-Calédonie: 546
* Polynésie française: 547

See:
* http://www.solidaritefemmes.org/appeler-le-3919
* http://www.allo119.gouv.fr/

Change-Id: If13e2c2cfa669b76178182f9aa2d0f19772a45a3
2017-07-24 18:17:15 +00:00
Paul Keith
ff7a5e4a63 sensitive_pn: Enter full list of Indian MCC codes
* India has mutliple MCC codes, so input all of them

Change-Id: I6c74b99d4c893f84d73a1cffd1a7880bc5d9c67f
2017-07-06 14:34:14 -05:00
Harry Youd
168bca4677 sensitive_pn: Enter full list of GB MCC codes
GB has 2 MCC codes, enter them both here

Change-Id: I6902499bb3ec60c6aa0dc1db6b0f01d2497b34ac
2017-07-06 14:34:14 -05:00
Paul Keith
112ffc142a sensitive_pn: Enter full list of US MCC codes
* The USA has mutliple MCC codes, so input all of them

Change-Id: I4a6a903a38ee737053f8c3c7dcd56d6d2ef791a3
2017-07-06 14:34:12 -05:00
AI Lion
302c065cdb Add LTE support for China Telecom Macau.
Notice: I am very likely the only one here having a Macau SIM card, so I am the only one who can confirm this change.
Please do not paste APN settings copied from other vendors or devices. 
The exactly APN used in MIUI is not MMC455/MNC07 but MMC455/MNC02, maybe Xiaomi has done extra calculations to do so.

It is a waste of time to argue which APN is “BETTER”. This one works for China Telecom Macau LTE. I can confirm this. If you live out of Macau, you can't.
Screenshot: https://pics.mustu.cn/assets/52c546f9-e883-4335-a090-c9e66ec1c77e.png

CTWAP and CTNET are not discussed in this change.
CTNET is for 3G. There are still someone using 3G. You can add one if you are interested in this, or I will add one if I have a confirmed APN settings from China Telecom Macau staffs.
CTWAP is outdated. If you use CTWAP in China, most apps will tell you "CTWAP is deprecated, use CTNET instead.".

China is moving from 3G to 4G/LTE, and will soon be moving from 4G to 5G. If you live out of China, please simply +1 and merge it. If you live in China and having problem with this APN, we can discuss this with beer and snacks.

For now, there is NO APN settings for MMC455/MNC07, so this APN won't harm anyone else living out of Macau.

Merge this change, that's it.


Update:
Add CTNET for MMC455/MNC07
Screenshot: https://pics.mustu.cn/assets/bbd9e8ee-7af5-4d5e-af6d-3722de329ef0.png

Change-Id: I8600dbbb8d3ea567f04a516d7a296dbaaebc5216
2017-07-04 05:34:59 +00:00
Julien Humbert
ee7a90ed71 apns-conf: Add Japan Umobile APNs
Umobile/Usen Music/Umobile for iPhone/Umobile LTE使い放題: https://umobile.jp/service/setting/d/
Umobile Max: https://umobile.jp/service/setting/max/
Umobile Premium: https://umobile.jp/service/setting/premium/
Umobile Super: https://umobile.jp/service/setting/super/

Change-Id: Id2883e9c04f8e67bfdbca83824c42e36005dada6
2017-06-26 18:35:29 +00:00
Michael Bestas
bb634aafdb sensitive_pn: Add sensitive numbers for Greece
Change-Id: I69153122a230d5b46924e9300d2ead90a6580ed4
2017-06-25 10:42:06 +00:00
jumoog
244370e5b9 sensitive_pn: fix Czech Republic MCC
Czech Republic MCC is 230 not 420 (Saudi Arabia)

Change-Id: I7429c22a35249d6124a6a47ed5f288b5449bd4c6
2017-06-25 11:32:18 +02:00
Sean hoyt
9a4fe2b37d sensitive_pn: Add Taiwanese sensitive numbers
1955 Foreign Workers Counseling and Protection Hotline 
113 Children and Women Protection Hotline
886-2-5388-3095, 886-3-555-7953 Counter Human Trafficking Hotline

Sources: 
http://www.hchpb.gov.tw/eng/index.php?catid=237&id=6
http://www.hchpb.gov.tw/eng/index.php?catid=237&id=3

Change-Id: I1fcdc78703b324c37cd8e7921b21d63d53f9e8b3
2017-06-24 20:46:14 +00:00
Olexandr Nesterenko
f00861841c Add sensitive numbers for Ukraine.
Source: http://www.la-strada.org.ua :
Human Trafficking Counteraction: "0-800-500-22-5"
Domestic Violence Counteraction: "0-800-500-33-5" or "386"
Child Rights Protection: "0-800-500-33-5" or "386"
Gender And Human Rights: "0-800-500-33-5"

Source: http://www.la-strada.org.ua/ucp_mod_content_show_30_robota-garyachoyi-liniyi.html :
National Child Toll Free Hotline "0-800-500-22-5" or "772"

Change-Id: I63a02f34853b86914383d9d8666036cd684bc3b3
2017-06-22 21:38:55 +00:00
Liam Mendes
b9b2e57c32 Add Virgin Media Ireland to APN's
Add Virgin Mobile Ireland by Virgin Media to the list of LineageOS APNs. 

Source: https://www.virginmedia.ie/customer-support/mobile/device-support/?page=device/samsung/galaxy-s8/topic/internet-apn/setup-internet-on-your-phone
(there's nothing special about the S8, but the support website requires a phone to be chosen to reveal APN settings)

Change-Id: I2e85f506180a41d522de6c77b855305e46704fb5
2017-06-22 16:43:24 +00:00
Julien Humbert
42ded0625c sensitive_pn: Add additional FR number
* See: http://www.allo119.gouv.fr/

Change-Id: I3a4301b743c880ab9187a3988c206210a235639e
2017-06-21 21:46:10 +02:00
Tim Graham
f3972a9a7f sensitive_pn: Add additional GB numbers
Childline National Child Abuse Hotline
Phone Number: 0800 1111

* See: https://www.childline.org.uk/get-support/contacting-childline/

Samaritans Hotline
Phone Number: 116 123

* See: http://www.samaritans.org/how-we-can-help-you/contact-us

Change-Id: Ic5971d35f4c5c93b82d5ca1b9f22def522196cc0
2017-06-20 23:58:59 +00:00
Bruno Martins
f2e9a83ec7 sensitive_pn: Add additional PT numbers
* Reference: http://www.apav.pt/vd/index.php/apoio-a-vitima

Change-Id: I3c7f82626912e659bd9f625e3c84d3e48fe35bbb
2017-06-20 22:49:12 +00:00
Alexandre Oliveira
9e1a579a55 sensitive_pn: add missing phone number for Brazil
- Added number 181
  (http://www.anatel.gov.br/Portal/exibirPortalPaginaEspecial.do?codItemCanal=746&codCanal=277)

Change-Id: I7ee8364116562b5b1976f8c624d79b27c21be100
2017-06-19 05:16:31 +00:00
Noam Tamim
f5049a6a89 Add sensitive numbers for Israel.
* source: Israeli Police, https://www.police.gov.il/contentpage.aspx?pid=125.

Change-Id: If9625421dead4f6677bea4d6a187e33ef0bf11fb
2017-06-09 01:18:39 +00:00
drastic-krutor
5436ebc7a3 sensitive_pn: Add sensitive phone numbers for Czech Republic
* Check http://www.psychoportal.cz/linky-duvery
* Check http://www.capld.cz/linky-duvery-cr

Change-Id: I5fdccddd80645183e674eb60947ccafa7a7b6c79
2017-06-06 13:31:27 +00:00
Tim Lewis
8c8b1376f9 sensitive_pn: Add Canadian sensitive numbers
* Source: http://www.dawncanada.net/issues/issues/we-can-tell-and-we-will-tell-2/crisis-hotlines/

Change-Id: Ie138f513fb47cb2faa6961940f0d92f79c5862dc
2017-06-06 10:20:41 +10:00
Brinly Taylor
fa5fdd6771 sensitive_pn: Add more numbers from the Netherlands
* 08002000 (national institute 'Veilig thuis' that offers help to domestic violence victims: https://www.vooreenveiligthuis.nl/ )
* 09009999001 (national institute 'Hulplijn Seksueel Misbruik' that offers help to victims of sexual assault: https://www.verbreekdestilte.nl/ )
* 08000432 (national institute 'Kindertelefoon' that offers help to children and teenagers under abuse: https://www.kindertelefoon.nl/ )
* 09000101 (national institute 'Slachtofferhulp Nederland' that also offers help to victims of the above and other crimes: https://www.slachtofferhulp.nl/ )

Author wishes to remain anonymous, so submitting here on behalf of them.

* Source:  https://www.rijksoverheid.nl/onderwerpen/huiselijk-geweld/vraag-en-antwoord/wat-moet-ik-doen-bij-huiselijk-geweld

Change-Id: Icc91ebfacc2f3c4265db0d35a1ccb90efe42b125
2017-06-06 10:12:19 +10:00
Gabriele M
4fe35097b3 fix check_blacklist function to work on wiped /system partition
If /system is empty, /tmp/addon.d/ will not exist, "*sh" won't be
expanded, md5sum will not generate any output and the variable $s
will be empty. Therefore grep, which will receive only one arg, will
start to read the standard input and never exit, causing the
installation to never end. Fix this checking whether we have files
to read or not.

Change-Id: I656eab42e54b3f81da8c5ac81374b9deddcf8484
2017-06-04 19:46:13 +00:00
Brinly Taylor
140d378f4f sensitive_pn: Add sensitive numbers for Serbia
* Source: http://www.mup.gov.rs/wps/portal/sr/gradjani/saveti/nasilje%20u%20porodici/

Change-Id: Id941e47347ac2b8c7230d314e1b7fb750e4dec1e
2017-06-04 15:00:55 +10:00
Brinly Taylor
62741ba915 sensitive_pn: Add sensitive phone numbers for India
* Reference: https://www.jaagore.com/womens-help-line-numbers

Change-Id: Ib2b0930882dbfaaba248c8e3aee964ee37a2133b
2017-06-01 10:02:49 +10:00
Matthias Urlichs
8c3ee9c0f4 sensitive_pn: Add more numbers for Germany
* add numbers for crisis hotline / Telefonseelsorge
* Reference: http://www.telefonseelsorge.de

Change-Id: Ida9ea1d108db9a36fde84d2c63a0ab7316abf19a
2017-06-01 10:02:45 +10:00
Arne Coucheron
4b1013f3b3 sensitive_pn: Add sensitive phone numbers for Norway
Ref: https://psykiskhelse.no/hjelpetelefoner-og-nettsteder

Change-Id: I600deec0f6e3d2cc2334fc148e3762cfef4fb571
2017-05-31 06:29:58 +00:00
Kasual
7201def8b5 sensitive_pn: Add additional US numbers
Childhelp National Child Abuse Hotline
Phone Number: 800-4-A-CHILD (800-422-4453)

National Sexual Assault Hotline
Phone Number: 800-656-HOPE (4673)

* See: https://www.womenshealth.gov/mental-health/hotlines/

Change-Id: I1769b0612c77f2843a2c967a853d7eafc9c2bb5e
2017-05-29 22:44:55 +00:00
qjohn
05eb2b3684 sensitive_pn: add sensitive number for Indonesia
* Check http://www.komnasperempuan.go.id/kontak-kami/

Change-Id: Idf48d596382e71ac5a68c84bdb6fbe85d6441895
2017-05-29 22:41:42 +00:00
Calin
5d2999052e sensitive_pn: Add sensitive phone number for Romania
Reference: http://www.fundatiasensiblu.ro/

* Also order Netherlands

Change-Id: If35b030a591aabef0e26e51593ab7514abffeada
Signed-off-by: Calin <nilac8991@gmail.com>
2017-05-29 16:36:34 +02:00
Valerio Pilo
24658d614e sensitive_pn: Added sensitive number for the Netherlands
* See https://www.blijfgroep.nl/kennis-delen/feiten-en-cijfers

Change-Id: I70e62f67b0139cf467b3446b02c8ebce7330cdd2
2017-05-29 13:22:09 +00:00
Ali B
8bb74813de sensitive_pn: add sensitive numbers for Turkey
* See http://alo144.aile.gov.tr/
      http://alo183.aile.gov.tr/

Change-Id: I360ee3fc1310c825121e8203eedd4887fc2b6944
2017-05-29 09:57:52 +00:00
Anik1199
471a9be035 sensitive_pn: Add sensitive phone number for Bangladesh
* Check http://nhc.gov.bd

Change-Id: Idbc664fae9c5380ae927898e0cac79262790d815
2017-05-29 18:13:43 +10:00
Brinly Taylor
976b17e226 sensitive_pn: Add US number
* See: http://www.thehotline.org

Change-Id: Ia56567f1f5fdb82f4ec61e20fe644066f03b1cb7
2017-05-29 08:02:39 +00:00
João Paulo Just Peixoto
d409afe338 Add sensitive phone numbers for Brazil
Change-Id: I69904b190adfee83c49ad49ae19d9bf7eea62b46
2017-05-29 05:55:59 +00:00
Brinly Taylor
7b9fa169e3 sensitive_pn: reorder by MCC code
* Organise this by MCC number numerically.

Change-Id: I9493a8a4427675955881b924915fd42d5f402b6a
2017-05-29 05:54:55 +00:00
Brinly Taylor
2ca43d1e21 sensitive_pn: Add Australian sensitive phone number.
* See:  1800 RESPECT - https://www.dss.gov.au/our-responsibilities/women/programs-services/reducing-violence/help-and-support

Change-Id: Iaea9b84298bfc17ae7c698135c6fd43875b50db9
2017-05-29 05:49:38 +00:00
Brinly Taylor
3a02137d88 sensitive_pn: Add New Zealand sensitive numbers.
* See for the number : https://womensrefuge.org.nz

Change-Id: I44210532061d2a33db15a0cb30a19c1a3235b155
2017-05-29 05:42:40 +00:00
Olaia Segovia
7c5e4cbf2f (2/2) Make sensitive phone numbers not to be shown in call log history.
Considering sensitive phone numbers to be, hotlines dealing with
violence against women.
In the EU, these numbers do not show up in the phone bill.
In order to avoid these phone numbers to be listed in the Call Log, we
have implemented a new XML file which is parsed with phone numbers
from different countries to be filtered. This file needs to be copied to
device via desired Android.mk file in order to be able to process it.
The comparison is made checking the network MCC the SIM is connected to
in order to consider roaming and multisim scenarios.

Test: CallLogManagerTest.testDontLogCallsToSensitivePhoneNumber PASS

Change-Id: I2e78d0f3e13d1ad1298613651ece136e30b86dfe
Signed-off-by: Olaia Segovia <olaia.segovia@bq.com>
2017-05-26 19:30:06 +00:00
Alexander Phinikarides
fc5ab9c2e5 Fix APNs for Cyprus
Change-Id: I71ca194aa95d6f43be2dc277b5ccfdff0e188afd
2017-03-29 19:51:17 +00:00
Michael W
12ee4592b9 APN: Fix TalkTalk
* https://help2.talktalk.co.uk/manually-entering-mobile-phone-settings

BUGBASH-265

Change-Id: Ie52976ff9df0e755ceebcee9260140e32b56f274
2017-03-24 19:58:32 +00:00
Michael Stucki
84582dd5c5 apns: Update Swiss APNs
* Remove duplicates
* Rename Orange to Salt

Change-Id: Ia2fc82d119e202da5d31383d340ad3ccae48c0ec
2017-03-22 23:32:28 +00:00
isimobile
024efe791d apn: Updating TelkomSA from 8ta South Africa APN
8ta has been rebranded to TelkomSA

Change-Id: I678099a2148cdc3ad773c3b1d93b9fa7bb417eff
2017-03-19 16:53:15 +02:00
Tommaso Fonda
3f0cb9b94d apns: Remove proxy for the "TIM WAP" APN
The proxy prevents mobile data from working
(e.g. loading a webpage results in ERR_EMPTY_RESPONSE).

On all the mobile phones I've inserted the SIM in,
when the APN's are obtained automatically
this parameter is not set to any value.

Also remove unnecessary parameters and correct authentication type.

Change-Id: I16592de4555fb8ab3fe502b3b39779720c344afb
2017-03-15 15:26:41 +00:00
RGIB
34848ea061 vendor_cm : update Fastweb apn
Change-Id: I2b84585fd560dd01cf7b5a857744c681e484dec5
2017-03-07 08:42:11 +00:00
Gabriele M
17da6a348b apns: Add Perfectum
Change-Id: I6ec779888cbce53c9e965605f809f56301611f63
2017-03-05 21:40:45 +00:00
Dan Pasanen
7776e06db7 vendor: remove old apns symlink
* This is old and if anyone's still using it, its time to stop

Change-Id: I89bf175f7f45bcc3cbd5f882528e0f7ec6cf49e4
2017-02-27 17:27:17 +00:00
Gabriele M
0e2d72ecc7 backuptool: Preserve the SELinux context of the files
Add a function that allows to copy files preserving their SELinux
context that is generic enough to work with both busybox and toybox.

Change-Id: If2c245863df5675c18dbf43b6bcedeb33383fc38
2017-02-27 17:20:28 +01:00
Gabriele M
556246b27b backuptool: Don't rely on the order of the elements in the list
We should not test symlinks using -e or -f, otherwise the order in
which the files are backed up and restored matters.

Change-Id: I9b87972b27a63ef562c0c5f46f943eafd0a08ce1
2017-02-26 21:07:13 +00:00
Gabriele M
2aad96bf6e backuptool: Preserve symlinks
Without -d, we copy the file sysmlinked rather than the symlink.

Change-Id: Ie0fdd43f29e53334464188c846dd7a3b7bb770cc
2017-02-26 11:40:10 +01:00
Dan Pasanen
a86b1c0080 vendor: support more text types
* Pull in all text/* types that CMFM supported with the exception
  of those already supported

Change-Id: I0221dbc52eb0299e8acc4ca37390131f60593b34
2017-02-22 09:05:11 -06:00
ElDainosor
08eb71e86a apn: Updating Movistar Argentina APN
This change updates the APN settings, removing the proxy and the port. 
  This, according to movistar itself, makes the connection slower and 
  will be shut down soon.

More info on their forum: 
https://foro.movistar.com.ar/threads/43044-NOVEDAD-Apagado-de-Proxy

Change-Id: I705e6ed2237503ee67c7371bf3595b461dfbbd9c
2017-02-19 21:11:08 +00:00
nicknitewolf
0258f3e8a2 apns: Add SingTel hi!card sim APN
Change-Id: I0715dcdfb7ff845f0d156e2a0919ae6ce02a72b0
2017-02-03 06:09:18 +00:00
Daniel Marsee
a434e63395 apns: Update H2O Wireless for LTE
New H2O Wireless APN to allow LTE is PRODATA, not att.mvno
New settings were copied from 
http://easygo.h2owirelessnow.com/easygo/images/english/APN_SETTING-2014.pdf.

Change-Id: Ic09f9c9a8db90877fa2842d076762a14bdf154ca
2017-02-03 06:09:05 +00:00
Paul Keith
4f16373865 apns: Remove differentiation between FreedomPop GSM APNs
* Unnecessary due to differing mcc/mnc

Change-Id: Ica43ec381d4aa1873f2e332adf31381fac309e1b
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
2017-01-29 19:46:02 +00:00
Paul Keith
6dc33ac9c5 apns: Correct FreedomPop US LTE APN
* This is not run on 3 UK's network, but AT&T's

Change-Id: I81c8881b04ebd5c7a24794835097056d9075d9a2
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
2017-01-29 19:45:40 +00:00
Paul Keith
4e3f276736 apns: Add differentiation to FreedomPop Global GSM APN
Change-Id: Ifd45a3ce39002ff3f1668e03b2ddb822a096d326
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2017-01-26 14:47:43 -06:00
Paul Keith
3576ede78c apns: Add FreedomPop US LTE sim APN
Change-Id: I91a9f5d503e49161399ab3f73cad4d8a8174c40b
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2017-01-26 14:47:43 -06:00
Paul Keith
1bbf68ffee apns: Correct FreedomPop Global GSM APN
* Type configuration is empty, not "default,supl"

Change-Id: I4d9bb0e4d61058dbf256059c3ba6b217faabcf78
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2017-01-26 14:47:41 -06:00
Eloi Carracedo
9ec810f683 apns: Add Freedompop foggmobile APN
Used for freedompop in Spain.
Change-Id: Iae465f70bc7dad535eea8f13de425857093045c3
2017-01-19 23:15:07 +00:00
Matt Mower
0e57974630 apns: Update H2O Wireless
* It's H2O, not H20
* Update based on
  - https://www.h2owirelessnow.com/mainControl.php?page=dataManualConfig
  - https://www.h2owirelessnow.com/images/pdf/ManualConfigurations011211.pdf

Change-Id: I181f0aa1fe3a67afd37b65a0f93107f242b479e1
2017-01-10 22:45:13 +00:00
Marco Brohet
e52ee2b7b2 apns: Update hollandsnieuwe's (NL) APN
Some time ago, hollandsnieuwe issued new SIM cards, which should
be associated with a different APN. This patch makes sure that we
support both the old and new ones.

Patch set 2: Add username and password (credits to Louis Matthijssen)

Change-Id: I21d0060825bc126b40990789c7552d6a3f0f6e43
2016-12-29 09:57:01 +00:00
Dan Pasanen
24a1cc95b6 Revert "cm: Revert the new boot animation generation process"
This reverts commit e2ec4c6051.

* New build server(s) will be able to support this

Change-Id: I990297e6db7aa6076199bb6344328e704b1d4ebe
2016-12-29 05:16:33 +00:00
Dan Pasanen
0344771b53 vendor: we are now LineageOS
* Change necessary bits to support our project move

Change-Id: I085470d448a243cc9d60b4ce920dee52086f64cd
2016-12-28 19:44:28 +00:00
Vishnu Vardhan Reddy Naini
a053944472 Add Reliance Jio India IMS volte apn's
See AOSP for verification https://android.googlesource.com/device/google/marlin/+/nougat-dr1-release/apns-full-conf.xml#23115

Change-Id: If4f1b12ba598a4a9aed81ccfa069d4c0fd738c19
2016-12-11 21:39:03 -08:00
Vishnu Vardhan Reddy Naini
d40e1496f6 Fix Reliance Jio India APNs.
See AOSP https://android.googlesource.com/device/google/marlin/+/nougat-dr1-release/apns-full-conf.xml#23105

Change-Id: Icafc3450aa06426ba3d837b95bef0865992b4782
2016-12-11 21:38:58 -08:00
Michael Bestas
3ada201b05 Add permissions & sepolicy for HBM
* Devices with AMOLED panels use HBM instead of SRE

Change-Id: I6710e038997b04d5d7d6b5f4f6b01d3f18b4750f
2016-12-10 12:28:07 -08:00
Zhao Wei Liew
e2ec4c6051 cm: Revert the new boot animation generation process
The servers do not have ImageMagick installed right now,
breaking the automated builds.

Revert this for now.

This reverts the following commits:
840e781408 bootanim: Use a for loop to make part# folders
ce5405d1f7 Fix wrong bootanimation.zip from mkdir .../part{0..2}
6179d9494f cm: Build bootanimation.zip
67ddf37281 cm: Rework boot animation generation

Change-Id: I63fc43da9b1a6afea5f791e879f0bfc9a385d98d
2016-12-04 01:00:43 -08:00
Griffin Millender
67ddf37281 cm: Rework boot animation generation
Keep the largest bootanimation extracted
and resize it at build-time.

Change-Id: Iee32f18440ff955d13ed85b273e97cbd540721fc
2016-12-01 22:43:29 +01:00
Chau Truong Thinh
5cec3974ab Clean up 3G config for Vietnamese network
Change-Id: Iab208827af814ccc3b41de849035bfd71ef9a806
2016-11-17 22:26:58 -07:00
Sean hoyt
52592a4a4b cm: Update APNs
- Vodafone TR is now IPv4/IPv6
 - vlive no longer exists

Change-Id: I954f35f834b8b242f4bd0400fc0dab80cb52c1a3
2016-11-17 17:37:08 -07:00
Silesh K Nair
11af61ac83 apns: Remove loop and bpl mobile
These service providers no longer exist.

https://en.wikipedia.org/wiki/Loop_Mobile

Change-Id: Ic6263b6e8721ee81d902e0bd42553749411d8860
2016-11-15 08:28:52 +05:30
Hriday Sharma
be2fca13e2 apns: Add Reliance Jio apn's
Change-Id: I4b44ce88abaf794f47683d13ed3b91172dea03ef
Signed-off-by: Hriday Sharma <hridaysharma42@gmail.com>
2016-11-14 14:11:00 +00:00
doc HD
1998914e91 vendor_cm: Vodafone TR: Fix mobile data on first boot
Vodafone Live is TV service for Vodafone TR,
but is getting choosed after full wipe and needs to be toggled everytime.

Change-Id: Id0db8a433d3e2cff0f893913dcd8361f51f72817
2016-11-04 13:11:12 -07:00
Jeff Sharkey
e4831010f3 Follow FBE refactoring.
Bug: 26668510
Change-Id: I4460bf8e1c58eb15afe067f1d3811d118540e6ac
2016-10-26 17:15:18 -07:00
Steve Kondik
2fd50c4369 Merge branch 'cm-14.0' of git://github.com/CyanogenMod/android_vendor_cm into HEAD 2016-10-26 17:08:11 -07:00
Michael Bestas
89450fb971
More 14.0 -> 14.1 changes
Change-Id: I38a2589e5743aac0d8b13799b3d79cb2dab8e5d6
2016-10-26 22:35:18 +03:00
Adrian DC
13512fb86f backuptool: /system/addon.d explicit creation
* Add the addon.d folder creation to preserve_addon_d
    before copying the files back to /system/addon.d

 * On CM based ROMs, the path exists for built elements,
    but on other AOSP-based ROMs where this script might
    be used, the folder might not be created on build and
    copy fails, breaking backuptool on second ROM update

Change-Id: I7438823b8d7ad0972649d2bf491d0f6fe423bc99
2016-10-26 02:30:46 -07:00
Luca Stefani
ab9ffbc1b4 Fix Truphone APN
Change-Id: I1027b6e3727e7b15bdc8e70f01557cbb42540753
2016-10-23 09:47:23 -07:00
amilcarpereira
a3a9a1379d Add a new APN to device/sample/etc/apns-full-conf.xml for new mcc/mnc assigned to Truphone
Change-Id: I67cd4cf7ef40e69c3f421a23c5385a2ab2a674f9
2016-10-21 16:47:53 +01:00
Felipe Leme
49b6048db4 Added option (-z) to generate a zipfile with the bugreport.
BUG: 22489826
Change-Id: Ic5dabda666991a7c2cd1954a8e989c8b51a64f37
2016-09-30 14:44:13 -07:00
Zhao Wei Liew
726a4fcf28 cm: etc: Mount BFQIO cgroup as /dev/bfqio
AOSP doesn't mount cgroups in /sys/fs/cgroups anymore.
Follow the convention and mount BFQIO cgroups in /dev/bfqio.

Also, remove the ioprio write as we only need ioprio_class
when dealing with 2 different priorities.

Change-Id: I8ff6c601547c445368e80832e736bb926d86b4d1
2016-09-10 18:29:51 +08:00
Zhao Wei Liew
c4e4e0df41 cm: Create cgroup mount point for BFQ
The global init.rc no longer creates this for us in N,
but we still need it for BFQ cgroups.

Thus, create the mount point in the CM vendor init.rc.

Change-Id: Ice5ff15737329aefd1dad2401bb530a18008fc4d
2016-09-08 03:49:37 -07:00
Zhao Wei Liew
087ec8386d cm: etc: Remove unused superuser.rc import
We are now using the LOCAL_INIT_RC macro for the su daemon.

Change-Id: I333e31179503e4625ec166adeebdce05731f6d8f
2016-09-08 03:49:37 -07:00
Adrian DC
9b4114ee47
vendor: cm: Updates for CM-14.0
* Fix the backuptool for the new version
 * Update text references

Change-Id: I3d557cc4eb5feb07ebbff372dae6d165d29d94ee
2016-09-03 20:31:52 +02:00
dzadzev
ec6c945852
apns: Fix T-Mobile MK DATA access
* Authentification type "PAP or CHAP"
    required to get DATA access and MMS

Change-Id: Iddd1fc66668426c5a4c90b398bb5d5ff52f59a3f
2016-08-15 12:03:03 +02:00
DodoGTA GT
19b67c6cfc Tele2 (LT) APN updates
Tested and working

Change-Id: I88b9a64bb665ab502ab9bbeb3bd99cfc5e3a928d
2016-08-03 03:43:05 -07:00
Marcos Marado
73709d3ffb Add missing truphone APNs
Issue: CMM-42
Change-Id: I31a1f2774b9de8278ec67810ca55503800cc8a06
2016-07-27 03:05:28 -07:00
Jason Riordan
005d47e04c Movistar [ES] APN updates
Change-Id: Ifae773b9f0de7813feefa9dcfdd79bce79406436
2016-07-25 01:28:34 -07:00
Zhao Wei Liew
374d138367 cm: Configure mmcblk1 IO on sys.io.scheduler prop
Ensure that the IO parameters for mmcblk1 are always updated.

Change-Id: Ic6a4c453035052db639cf8a2c9336019d9908cc2
2016-07-20 18:36:12 -07:00
Kevin F. Haggerty
a9322a2082 APN: Add Inland Cellular APNs
Change-Id: I4bd2a7890a880633ec7c6e5aa385e91344f3aefc
2016-07-18 16:39:36 -07:00
Steve Kondik
bf4a4b4853 cm: minor IMS APN update
* Add IMS APN for AT&T
 * Add magical? parameter for TMO

Change-Id: Idd4d74cf04894467ce51a97d73abb74aba0e1021
2016-07-15 12:37:36 -07:00
razorloves
cddc169a16 Revert "cm: add selective based spn (2/2)"
Appears to be unused in CM13.

This reverts commit 2cfe6b260b.

Change-Id: Ia9beee776fd86f516ed9834f92530355a189f326
2016-07-14 09:55:21 -07:00
OzzysCmAcc
6cce279889 cleanup vodafone germany apns
Change-Id: I3cb844c653820e938037b32036a83d9778900b83
2016-07-09 23:23:07 +02:00
Michael Bestas
2d2eb9a22d init: Add VibratorHW sysfs permissions
Change-Id: I956a7361fd2a77f0d6076376e69a65b0615ac394
2016-07-07 14:17:09 -07:00
Chenxi Mao
869a04f97a UFS: support UFS IO-sched setting.
PS2: add sde system partition support

PS3: add dm-0 which is used when device is encrypted

Change-Id: I3983d1f26cef3881c652e1450b9acb1dfb367032
2016-07-03 05:22:02 -07:00
Michael Ott
1bc4b3137c Remove APN pinternet.interkom.de from MCC 262/MNC 02
It is an old APN that used to belong to MNC 07.

Change-Id: Ibdfa410d80b9de5be02061075b89986efd142e5f
2016-06-27 08:31:46 -07:00
Matt Mower
1b4eeb3ce7 cm: Give BootReceiver permissions to read fsck log
Change-Id: Icd0fdc2d218254cf78b7bfa45b0963f85c492c2b
2016-06-10 09:09:35 -07:00
RGIB
52f8e1e5a8 update COOPVOCE apn
Change-Id: I8ea1c5cb60e13406fb11585c19653f673a0f0793
2016-05-30 17:33:24 +02:00
Steve Kondik
d349ec6dee apns: Fix up AT&T APNs
* MNC for AT&T is 410 - fix Nextgenphone
 * Remove deprecated APNs

Change-Id: Ie8f0cfdb400c0f0b8028524143a351472a2f5452
2016-05-21 00:46:27 -07:00
Kevin F. Haggerty
a362c6552b APN: Add Straight Talk Verizon APN
Change-Id: I5ba539d6d909c108192ffce5ec18c2b0b17c1d12
2016-05-17 06:34:27 -06:00
Zhao Wei Liew
de1ad36765 cm: Allow LiveDisplay to write to color_enhance
The proper permissions for the color_enhance sysfs node weren't
being set, rendering the color enhancement switch useless.

Set the proper permissions for LiveDisplay to toggle color enhancement.

Change-Id: Ic8dba8953b73a497cb01a645834c0e7934092b38
2016-04-30 17:06:13 -07:00
Anssi Hannula
03b1834f50 APN: Fix Saunalahti APN regression introduced by CYNGNOS-436
Commit 2254bbae31 ("Yet another massive APN list") referencing
CYNGNOS-436 changed the APN for legacy Saunalahti SIM cards (MCC 244,
MNC 21) from "internet.saunalahti" to "internet.saunalahti.fi".

This causes mobile data to no longer work with such SIM cards as the
previous APN was correct.

The APN is also listed as "internet.saunalahti" on the provider site (in
Finnish) for their legacy MNC = 21 SIM card variant:
http://elisa.fi/asiakaspalvelu/aihe/matkapuhelinliittymat/ohje/palveluasetukset-android/

Saunalahti is a brand owned by Elisa.

Note that "internet.saunalahti.fi" is not the correct APN for any other
Saunalahti SIM card either, so I'm not sure where this incorrect change
originated from.

Change-Id: I7d437b25490d79f68385aabed256c62c600bc4f6
2016-04-29 22:41:22 +03:00
Kasual
49d4f8aa2e APN: update Batelco and Zain APNs for Bahrain
Change-Id: I48e173965380140a53ac495ce87652c673cb6b93
2016-04-28 09:01:10 -07:00
Jason Riordan
30967f94c5 MetroPCS APN update
Change-Id: I23dd9e5730b99d8a0a61bc777dd3f445148b3890
2016-04-15 17:42:34 -07:00
Jason Riordan
a2616702ec Irancell & MTS APN updates
Change-Id: Ie0a929fc4bc9659163b08beb1246ba0196c8d14b
2016-04-15 17:41:01 -07:00
Deepak Kundra
8da5698093 Update APN name for Movistar INTERNET
Issue-id:FEIJ-44

Change-Id: Ie1e52575f61764e5811d71da8930a88b139deb78
2016-04-14 23:27:33 -07:00
Jason Riordan
40ab914757 APN: fixup single-digit mnc APNs
mnc="1" != mnc="01"

Change-Id: I1eb77fa365d0d06b9a11671be576a6c9b7bd28f9
2016-04-14 10:10:56 -07:00
Jason Riordan
83bfc82a6b SMART [PH] APN updates
Change-Id: I4157f810f7b0663b353aa664eb3f765fef9158ec
2016-04-12 19:09:24 -04:00
Evan Widger
0ce9abc69d Fix typo
Change-Id: Icb4922d900260e7ad42578ce8f43151df896e1bf
2016-03-31 12:07:51 -07:00
Kasual
8b0f16fc3f apns: fix build
Change-Id: I4136da8c23f4508b41099178837b2cdce4aa2f01
2016-03-11 21:41:56 -05:00
Steve Kondik
bc61d8609f apns: Add ATT Nextgenphone
* For AT&T IPV6 / VoLTE enabled devices.

Change-Id: I403de7d4e52eb4e9d13ad221e61b9a8b8336a01b
2016-03-11 17:38:12 -08:00
Abhisek Devkota
73acac5b16 Resolve Orange RO authtype
Change-Id: I81b78437e5e7b90ce8958973804e6a183f6e7a3a
2016-03-11 09:52:09 -08:00
Evan Widger
fd018d5253 Modify APN for Orange Romania
per https://jira.cyanogenmod.org/browse/CYAN-7253

Change-Id: I56f2b0d390a8b5af36dceacc522a1d38da0c73e8
2016-03-10 11:03:50 -08:00
Evan Widger
92b72594da add yufone APN
per https://jira.cyanogenmod.org/browse/CYAN-7425

Change-Id: I4feedaa1303ccc98876b5160b1866a277c2ceac3
2016-02-24 13:36:17 -08:00
Dave Daynard
4a2f567dc9 init: add permissions for max_freq_hysteresis node
Change-Id: If556282e37daabf270be4af922c7c9a4112c3771
2016-02-20 09:14:46 -08:00
Matt Mower
2880cc802b apns: Net10 310410: Fix port
The 8080 port appears to be only for the T-Mobile mvno, not the AT&T
mvno.

Change-Id: I44330aaa98fdcc9b577ed507ed0be093750c0afe
2016-02-20 08:59:12 -08:00
Arne Coucheron
3f4d8432e3 Cleanup APN list for Norway
* wap? WAP? What?!? Are we living in the dark ages with our dumbphones? :)
 * Remove redundant Telenor entries
 * Tele2 are part of NetCom now, and all users have been transferred there
 * Talkmore and djuice can use the Telenor APN
 * Remove providers that doesn't exist anymore
 * Update some APNs according to info on providers webpage
 * Consolidate some APNs

Change-Id: I2bd6441e476aebf1c0c63b34d659efce40e42847
2016-02-16 06:30:45 +01:00
Matt Mower
144291005d apns: Cricket AIO 310150: Remove duplicate
Change-Id: I7f68a8bb531e02fe74971565a425327e79a70604
2016-02-01 09:10:28 -08:00
Matt Mower
92a49a949d apns: T-Mobile 310260: Compatibility update
* Allow both IPv4 and IPv6 protocols for data and mms
* Provide an apn name for the initial attach profile

With respect to initial attach, it seems at least the qcom ril blobs
on my device require the apn field to be set. The following error is
produced and data will not connect on boot unless radio resets (e.g.
airplane mode toggle) so that the default APN is used.

E RILQ    : (0/231): RIL[0][cmd-111(680)] qcril_data_request_set_lte_attach_profile: ril_apn (provided NULL) is mandatory param for looking up profile.
E RILQ    : (0/231): RIL[0][cmd-111(680)] qcril_data_request_set_lte_attach_profile: EXIT with FAILURE
E RILQ    : (0/231): RIL[0][cmd-111(680)] qcril_qmi_nas_set_initial_attach_apn: Data RIL call for Attach APN failed with Error code 2

Change-Id: Ie983474780a7443c870911994234ea2f2025de12
2016-01-29 20:44:14 -06:00
Michael Gernoth
356bb56442 APN: Remove wrong T-Mobile CZ and Vodafone CZ APNs
There are two T-Mobile CZ APNs which specify the MMS proxy as http
proxy (which doesn't work). Get rid of them, there are correct APNs
available. Also remove duplicate IMS and wrong MMS APN.

Remove two wrong and one deprecated Vodafone CZ APNs. The separate
'ointernet' APN for prepaid cards has been deprecated since 2010.

Change-Id: Idf8e7c8df7bb843cdfafe7dbce710d09aa47eda1
2016-01-13 23:24:19 +01:00
HashBang
6f6e11f0ae fix cricket APN
reported to fix MMS on cricket

https://www.cricketwireless.com/support/apps-and-services/bring-your-own-device-byod/customer/bring-your-own-android.html

Change-Id: Ib5127f4bf4478a040ee5662071a0e81b6c1086ef
2016-01-13 08:17:57 -08:00
Luca Stefani
bd3d22e354 init: Create directories needed by sshd
Change-Id: I672bd86f2ce359653fe1c2abc036a0fdc918ace1
2016-01-09 07:00:14 -08:00
Deepak Kundra
74d7c57a79 Update IMS APN based on Smartfren Device Technical document-v1 2
Change-Id: Iea131e28fbace6e8d848f606ef796a91afa6813d
Issue-id:RENDANG-525
2016-01-08 17:26:01 -08:00
Francis Guevarra
c7469c6008 APN: Add Smartfren IMS for Volte support
RENDANG-525

Change-Id: Idcfb6e2577ec80cb160b049451f5ffdc6992ea57
2016-01-07 12:38:53 -08:00
Gabriele M
7ea45800c1 APN: Fixup Vodafone IT and remove Noverca
Noverca is out of business, so the APN is unneeded. Vodafone IT
has duplicate entries and the type of APN associated to web.omnitel.it
is wrong, so fix it.

Change-Id: I4ddc0dbc13d44f8dc8ef2bc307496155230e720c
2016-01-06 23:26:01 +01:00
Gabriele M
af7dd24948 APN: Update TIM MVNOs
'COOPVOCE' is the same as 'WEB COOP', except for mvno_type and
mvno_match_data, so get rid of it.

'Unefon' uses the exact same APN of 'Iusacell', so duplicate the
entries and assign the right mvno_type and mvno_match_data.

Change-Id: Ibae12b3c179528ccd115849929995c79fa91ed0f
2016-01-06 10:45:56 -08:00
Tom Marshall
139e798bf9 otasigcheck: Avoid long lines in XML
Shells based on busybox, such as found in CM 12.1 recovery and TWRP, do not
properly handle pattern based parameter expansion for variables longer than
4kb.  This throws our naive little XML parser into an infinite loop.  Since
all such lines are associated with external app certs, just skip them.

Change-Id: I203b65c1ffd62bf3261b3ae315327314a5006952
2016-01-04 10:26:54 -08:00
Tom Marshall
322cc5ae59 otasigcheck: Rewrite for CM 13.0
Rewrite the packages.xml parser to be slightly less brittle.  Read
lines from packages.xml and save off the interesting values, then
compare with expected results afterward.

This both avoids using grep's -A option, which is not supported in
toybox, and allows the script to recognize the cert tag regardless
of its position inside the package tag.

Change-Id: Idc0006e38f4a3f9d5aec223a8a1571f5c11fe3bb
2015-12-16 15:39:30 -08:00
Ethan Chen
909343f3df SELinux: Use custom ADB over network property
* Use a custom system property to trigger the real one, so we avoid
  running afoul of any SELinux CTS requirements.

Change-Id: If5e7a275f492631a673284408f1e430a12358380
2015-12-16 11:01:50 -08:00
Simon Shields
7f67b4e940 sysinit: use a for loop instead of run-parts
Change-Id: Ifdff2c72ff4f77ff5ceb14cc9614174024b04d1a
2015-12-12 19:53:37 +11:00
Abhisek Devkota
967c5036d6 Fix Digi Mobile defaults
RM-165

Change-Id: Iaa701046ea24799b1c7b303ce258332eaeffbbd8
(cherry picked from commit b4b8759454556b440432d5ce8415db5f65456662)
2015-12-10 10:13:17 -08:00
Roman Birg
8470084dbd apns: update for IMS
These come from the Angler device tree.

Change-Id: I7abf4773a57502f29ce9f7938584b7881a7f5a90
Signed-off-by: Roman Birg <roman@cyngn.com>
2015-12-05 16:17:30 -08:00
BLACK
e8c957ca2e vendor/cm: Update Japanese APNs
Change-Id: If75d6c1019c38955bc896941abe60c876fa5ffb2
2015-12-03 00:22:00 +09:00
Per Lycke
fa30716f71 Correct Tele2 Sweden APNs and remove Comviq Sweden.
Tele2 is the parent company of Comviq and it's operating in Tele2s network,
hence using the same APNs as Tele2

Change-Id: I55c551827a6312159cfdd8c01e20e5e1d3016cdf
2015-11-30 21:06:20 +01:00
Diogo Ferreira
3463bd0b78 init: Remove world-writable permissions in BFQ hierarchy
Fixes android.permission.cts.FileSystemPermissionTest#testAllFilesInSysAreNotWritable

Change-Id: Ia71a4ae246148ab8ea5333f8dbd39bfc330d2605
2015-11-27 05:26:17 -08:00
Tom Marshall
517e6915cc backuptool: Use cut instead of awk
recovery has removed busybox in favor of toybox, and toybox does not
currently implement awk.

Change-Id: I9d91f52020e8a7b5b02dce27f3d82e6bf0aa1811
2015-11-20 14:24:37 -08:00
Steve Kondik
816dec8fe9 cm: Remove fix_permissions
* Probably causes more harm than good at this point

Change-Id: Ibbea54cd48e5f8de251de38d0b772672d8a08ac9
2015-11-16 11:06:52 -08:00
Steve Kondik
d91ddb53a8 cm: Add a wrapper script for Curl which acts like wget
* Lots of stuff in the wild actually uses wget, and Toybox doesn't
   provide it. We already have Curl which does the same thing just
   with some different arguments. This wrapper script can handle it.

Change-Id: Ic02da709fcd29808b96fabcd1ac4ddd9465f635f
2015-11-14 23:56:10 +01:00
Deepak Kundra
59494db005 APN: Remove identical MVNO entries
Starting M-Android, APN's that are not unique are
clubbed in one entry in the telephony db. "name"
field is not part of the unique set and you end
up with a weird MVNO name as the APN name for
T-Mobile. Which ever is the last entry will be the
final name. In case of TMO it became "FMP Communications"

Change-Id: Ia86d5c72f36d32315ef1e2469fdd364869160730
2015-11-13 00:04:00 -08:00
Arne Coucheron
53d09902de Ventelo is now Phonero
Change-Id: I1f69258f2e0e53946ed7690e3f31e3795ee56132
2015-11-10 17:30:33 +01:00
Abhisek Devkota
103c64a964 Update boosted audio files 2/2
SAMBAR-975
Change-Id: If69160ce4352e0accd50490c2dc01d8b52ea5261
2015-11-10 17:30:33 +01:00
Abhisek Devkota
a1c783fb28 Add volume boosted ringtones (1/2)
SAMBAR-789
Change-Id: I467727adad3c2f5e2212fe5fa5a45e03500ec877
2015-11-10 17:28:12 +01:00
herriojr
8454361962 Missed Capital Letter
I missed a capital letter for an excel mimetype. All are now
converted to lowercase.

Change-Id: I1b0958fbc7b6b01df0f6e7b3da9a1d920bfb2fad
2015-11-10 17:28:12 +01:00
Abhisek Devkota
df76a1fd89 Remove instance of server=""
Change-Id: I973f9a49aef09b56eeccfee6fbe26ad609bb592c
(cherry picked from commit d9d3201c077dc697a5a76480cf4cc6948e08d704)
2015-11-05 11:01:44 -08:00
Konsta
ce4c12cc35 cm: remove face recognition files
Change-Id: I4c1d5c6a37f5bcec78679e7d3ce073743d6032f2
2015-11-03 21:49:15 +02:00
Per Lycke
ce9163ff77 Correct Tele2 Sweden APNs and remove Comviq Sweden.
Tele2 is the parent company of Comviq and it's operating in Tele2s network,
hence using the same APNs as Tele2

Change-Id: I99ea6798bf74a1c2368f2b920f9269597bbc1809
2015-11-02 13:27:45 -08:00
cretin45
87aaca8718 Ze Yukaay
Change-Id: Idc0fa23cac3dbadc46d5ba4f49f195c37f59e713
2015-10-23 10:20:55 -07:00
Michael Bestas
eb83dba7ce Updates for cm-13.0
Change-Id: I6a0efff3bf6ea2e332cacd7cbb2f2b132b2c73dd
2015-10-07 21:15:52 +03:00