Commit Graph

674 Commits

Author SHA1 Message Date
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
herriojr
6576661e4a Fix MimeType Case
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
2015-10-05 11:52:22 -07:00
herriojr
5d2c998920 Add libcore.net.MimeUtils Overrides
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
2015-10-01 12:16:46 -07:00