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>
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
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
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
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
* This is not run on 3 UK's network, but AT&T's
Change-Id: I81c8881b04ebd5c7a24794835097056d9075d9a2
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
* Type configuration is empty, not "default,supl"
Change-Id: I4d9bb0e4d61058dbf256059c3ba6b217faabcf78
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
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
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
Vodafone Live is TV service for Vodafone TR,
but is getting choosed after full wipe and needs to be toggled everytime.
Change-Id: Id0db8a433d3e2cff0f893913dcd8361f51f72817
* 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
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
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
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
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
* 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
* 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
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
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
'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
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
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
* Use a custom system property to trigger the real one, so we avoid
running afoul of any SELinux CTS requirements.
Change-Id: If5e7a275f492631a673284408f1e430a12358380
Tele2 is the parent company of Comviq and it's operating in Tele2s network,
hence using the same APNs as Tele2
Change-Id: I55c551827a6312159cfdd8c01e20e5e1d3016cdf
* 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
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
Tele2 is the parent company of Comviq and it's operating in Tele2s network,
hence using the same APNs as Tele2
Change-Id: I99ea6798bf74a1c2368f2b920f9269597bbc1809
Even though mimetypes are supposed to be case insensitive, Android
treats them as case sensitive so it is best practice to do it all
in lowercase.
Change-Id: I2ce2ac2df4db4989d8be36479f07d4bab97dc7bf
This will allow us to add supported mimetypes in libcore.net.MimeUtils
which in turn will allow more recognized mimetypes for anything that
uses android.webkit.MimeTypeMap.
Change-Id: I97febe17cff1d196f479b557fef3bca1b11bdd74
Issue-Id: CYNGNOS-1176
Added Sprint's MVNO ringplus. it was added in e1d6d09de7
but removed later in e980819a9c6bb404a7a24772687e88065f434020/b28ca702333739b132b51926eff7b2ec6d2fa2fd
for an unknown reason.
Also, Ting (another Sprint MVNO) was updated so that it shows as active when revisting
the "Access Point Names" menu.
Change-Id: I4f8fc540235a8f8ad0df8656de0ffdbde2b83852
* Remove unnecessary intermediate groups which are more harmful than
helpful in some cases.
* Remove weights, we're not using these.
* Lock down the display group to system only.
Change-Id: I3a848fcc32459b53fa92317c253a20399637033e
* This was leftover from testing and breaks the feature when running
on older kernels which don't support it.
Change-Id: Idb959b37b88238aee87c221d6accc899bf497aea
* Always set slice_idle to 0 for CFQ and BFQ (IOPS mode).
This is a guaranteed performance boost for nonrotational storage
and is also the new default in Linux 4.2+
Change-Id: Id271a4283219beb272c174de0e452c6c42c4e572
* This creates the interface for a new ioprio management system
which dramatically boosts performance and interactivity across
the entire system.
Change-Id: I3c402dd2cf6ed0a356a828257c2f373800f6a6cf
Previously called TMN, now called MEO, this operator only has two APNs, one for
Internet and one for MMS.
Change-Id: Iccd17fe50db36db16d105ccada076c3cc6e7c49c
Clean up some straggling duplicates
Add Llamaya Int/MMS 21403
Add authtypes to some apns
CYNGNOS-436
Change-Id: I94f47725b72e98f98344792927951d6f06b31eab
With the influx of new APNs and reordering, this broke the vendor/cm
overlay for preferred APN overrides.
Reorder the list to unbreak functionality.
TODO: Make this override more granular as to distinguish between Carrier
and MVNO on carrier APN.
Change-Id: I65b1bf3a54ce76e4cf0b817a1a3cd6f86fe31f6d
-Move epc.tmobile to type null (deprecated)
-Bring in multiple MVNO's
-Reconcile with external partner lists
Change-Id: I11523b6d207ec33ea501b70eaca533a1cf4f0a00
Removed bearer for Sprint eHRPD and LTE APNs. The eHRPD APN was set
to bearer 13 even though it is valid for all 1x/EVDO/eHRPD connecti
ons. This was causing no APN to be selected when an EVDO connection
was established and radioTech != 13 (eg EVDO_REV_A = 8). The LTE be
arer must also be unspecified so telephony does not then select the
eHRPD APN since any unspecified bearer is potentially valid for bot
h 3G and LTE. Regardless, the bearer does not need to be specified
since the system selects the correct APN for 3G or LTE automaticall
y.
Change-Id: I4ab61625888bf793a774fca2baab8274760452c4
Update based on Ting's guidelines here:
help.ting.com/hc/en-us/articles/205428698-GSM-Android-APN-Settings
Change-Id: I5de6b7a0b0bab9880e02122a7d76b883c2558cec
According to CYAN-6602 this carrier no longer exists. Hence we can safely
remove the associated APN configuration
Change-Id: I984c73a628a4bee0a07dd61fc1dca77fe05da34b
MVNO NL is adding authentication to their APN configuration.
This new configuration is backwards compatible with the old version.
This fixes CYAN-6525.
Change-Id: Idf8570563d3fe502333d04ba9f24521d224afe91
Cosmote RO recently changed their carrier name to Telekom Romania.
The associated APN configurations for that carrier now has the carrier name
changed to reflect this. This fixes CYAN-5461.
Change-Id: I0aae5b085fb822e0992274cd0feb0868d4989e5b
This references CYAN-6495. Apparently, the indosat3g apn is no longer in use and has already been removed from AOSP.
Change-Id: I36e64f1944853aa6d1b5889d0da2f858b0731300
This fixes erroneous APN info introduced by I0a9808304f11ac0ccbdf78c7457d1fb3275e6087
This is tested to work on both carriers.
Change-Id: I7e32609b8e997d072b393d411870de1d9f4cac18
These were overloading the ASCII names to region-specific charsets,
which looks nice but it's horribly confusing if you're not native
from those regions and happen to be roaming there.
So... like our upstreams, just show the original carrier names
Change-Id: Icb3c6c9be2a4ee57866f2f57411a4f441be88f7c
These configurations has been causing problems since Android 5.1:
A docomo SIM card is regarded as no service.
A Y!mobile SIM card is regarded as Softbank.
Change-Id: Iead54ef9eff1d4bf0d472eb588fcda000cb228ad
(cherry picked from commit d60d2fd669aa75b49f7dba6a141008e1d9ea414c)
bootanimation.zip contains PNG files and not JPG
Some zips aren't resized and use original resolution instead half resolution,
fix it too.
Change-Id: Ic12f93dc2a18f7ca9c9c7bff6b34dc0821bbfb4c
Causing data problems for multiple Verizon users on multiple devices
This reverts commit 54a9c4ad26.
Change-Id: I3ea083f1b040cb6b1c2ab52dbddf6e9403bc6f39
* Fixes being stuck in 1x or 3g and not being able to hand
back up without a reboot or airplane mode toggle
Change-Id: I9d6c422c77b2a55fab551538f8776402bc574478
CM12 doesn't have a KSM setting in performance settings anymore.
KSM should be configured and enabled on device basis.
Change-Id: I98a0cbe1b01a659eb28bcd459be55d78a88bda86