Commit Graph

647 Commits

Author SHA1 Message Date
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
Abhisek Devkota
8a5d3bb670 Update HK APNs
Per partner list

HAM-267 | HAM-934

Change-Id: Icb80c9020a8a9ac370d6dbac0efd1d6833e44c1b
2015-09-25 14:35:28 -07:00
Dan Pasanen
5318973c8a apns: combine internet and mms apns for vzw
Change-Id: I551746204893ecd13b5b238286cfb2566928de92
2015-09-22 13:26:26 -07:00
Brian Deery
da7d187848 APN: add Sprint MVNO Ringplus, Ting update
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
2015-09-21 15:12:57 -07:00
Steve Kondik
b61b6df53f cm: Clean up cgroups even more!
* Only one is needed!

Change-Id: Ib79864bf2b7a3d86a2bad91de01a9b82279f4a91
2015-09-20 20:58:43 -07:00
Steve Kondik
dcbf2aa77e cm: Clean up cgroups
* 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
2015-09-20 03:33:31 -07:00
Steve Kondik
100cc8ea1b cm: Remove xattr option from bfqio cgroup
* This was leftover from testing and breaks the feature when running
   on older kernels which don't support it.

Change-Id: Idb959b37b88238aee87c221d6accc899bf497aea
2015-09-19 12:41:38 -07:00
Steve Kondik
4462dfa518 cm: Update shared init.rc
* Remove cruft
 * Add LiveDisplay sysfs

Change-Id: I6e3ca9048c9196dbc85151f102fb22ff5a4222b4
2015-09-18 20:05:06 -07:00
Steve Kondik
c815f700e0 cm: Set IOPS mode for CFQ and BFQ automatically
* 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
2015-09-17 23:30:41 -07:00
Steve Kondik
28dbc8b311 cm: Create cgroups for BFQIO
* This creates the interface for a new ioprio management system
   which dramatically boosts performance and interactivity across
   the entire system.

Change-Id: I3c402dd2cf6ed0a356a828257c2f373800f6a6cf
2015-09-15 15:32:29 -07:00
Andreas Schneider
9cfe968a73 backuptool: Add checks if it makes sense to execute commands
Change-Id: Ic83fc1168ac459b1bba5cef97d184ce2a9db4c68
2015-09-15 16:02:45 +03:00
dianlujitao
e4f75ba2a0 Update SPN override for China Telecom
Change-Id: I954949d328399e843405714e837a07806d3e0756
2015-09-10 22:51:22 +08:00
Steve Kondik
a385501738 cm: SELinux policy for persistent properties API
* Set up persistent properties for devices with a /persist partition.

Change-Id: I78974dd4e25831338462c91fc25e36e343795510
2015-09-09 11:53:23 -07:00
Steve Kondik
26731f56cc cm: Set the IO scheduler based on a system property
Change-Id: Iab8314ed3a204c2d4815e008503d5a3bfa6b12cc
2015-09-08 03:53:51 -07:00
Kra1o5
cefa91c862 Update Spain APNs
* Update Vodafone, Orange & Yoigo apns & remove duplicated.
* Separate Lowi default & mms apn.

Change-Id: I0b98b74c82aee9e60ce79ed0cc4a10d226d1772c
2015-09-03 11:42:17 -07:00
Abhisek Devkota
b31f746baf Update India APNs to YU list
CYNGNOS-898

Change-Id: I9f20283470eb330492e7c4de84093c7101da7580
2015-09-02 23:52:08 -07:00
Abhisek Devkota
80145f3a1b Fix Airtel APN Selection
Airtel GPRS should be before AirtelFun. Also remove empty fields
from AirtelFun.

CYNGNOS-865
Change-Id: I8ddab82787778ba07d759e78ac571b266863f0af
2015-08-31 13:33:29 -07:00
Davis Mosenkovs
78822daa4d Updated APN settings for Latvian operators
Sources:
https://www.lmt.lv/lv/interneta-lietosana (section: Kadi ir LMT mobila interneta un MMS parametri?)
http://www.tele2.lv/internets/internets-telefonam/ (section: Interneta iestatijumi)
http://www.bite.lv/palidziba/palidziba/interneta-iestatijumi-telefona (section: Android telefonam)

Change-Id: I356ae711493eb951d14473d34e6e50aad094e55c
2015-08-31 12:32:50 -07:00
Abhisek Devkota
0e3db258b0 Rogers LTE apn fix?
Suggestion per Andrew A.

Change-Id: Idc8f74892ddec1a41eda701fe57df4e4ece0eb25
2015-08-31 12:30:02 -07:00
Marcos Marado
f9b05b9471 Fix Movistar APNs
Change-Id: If8d9834158a5c07830f65464c050b1b76fe0d133
Ticket-Id: CYNGNOS-861
2015-08-31 17:52:26 +01:00
Kra1o5
f4a4458e4c Add new Tuenti MNC SPN override name
Change-Id: Ie516cdb4da5a71b9c3171d27fd75d72c73d4c5e8
2015-08-11 13:45:14 -07:00
Arvin Quilao
869cfdbea0 APN: Update configurations for Philippine networks
*update carrier names
*remove duplicate entries
*remove deprecated redinternet

Change-Id: Ic3cee2691a32cd8959a7eaa142f5042317d0c962
2015-08-11 13:43:20 -07:00
Ricardo Cerqueira
4f3ae0ea0a apns: zero-length items are evil and break auto-selection
Addresses CYNGNOS-667

Change-Id: Id0fbba6cf68599d363a7f0737621b3e11ece4ad5
2015-08-03 20:37:07 +01:00
Marcos Marado
bec1e57257 Clean up MEO/TMN APNs
Previously called TMN, now called MEO, this operator only has two APNs, one for
Internet and one for MMS.

Change-Id: Iccd17fe50db36db16d105ccada076c3cc6e7c49c
2015-07-31 12:24:41 +01:00
Abhisek Devkota
8b5c2c0a52 Remove 'preferred' no-op
Per line 217 in TelephonyProvider.java, this is a no-op

https://goo.gl/rpwV9z

Change-Id: Ieca3b9e723e5c6031fc0698c81074b2aa12e562c
2015-07-30 20:57:16 -07:00
dianlujitao
c1f717f851 Update APN for China Telecom
* Remove deprecated #777
 * Add ctlte
 * Update ctwap and ctnet

Change-Id: Ia939087d7428260fe6e962f96e5550ceb38beed2
2015-07-31 11:35:47 +08:00
ginnungagap
8d2b2c75bf Update #comment to reflect removal of /data/local/userinit.d/ support
Change-Id: I7446c44f1c6388dd6ddb877a1e4ae4e6ab6c2499
2015-07-27 10:26:33 -07:00
Patrick
7135af8a23 Fix Rogers APN
Change-Id: Id90cd1de711ea5c4ae546fa787a5cb7989158269
2015-07-17 15:44:24 -07:00