From 2b999181c8a7963b81a419366be2e022717f0601 Mon Sep 17 00:00:00 2001 From: Abhisek Devkota Date: Mon, 16 Mar 2015 11:27:10 -0700 Subject: [PATCH 01/11] Fix default Alarm tone Hassium was deleted as a duplicate of Helium. Fix this value. Change-Id: I27e60c05ebe82d5ba400d84f5466308012a102d6 --- config/common_full_phone.mk | 2 +- config/common_full_tablet_wifionly.mk | 2 +- config/common_mini_phone.mk | 2 +- config/common_mini_tablet_wifionly.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/common_full_phone.mk b/config/common_full_phone.mk index f35bd586..de2067a0 100644 --- a/config/common_full_phone.mk +++ b/config/common_full_phone.mk @@ -4,7 +4,7 @@ $(call inherit-product, vendor/cm/config/common_full.mk) # Default notification/alarm sounds PRODUCT_PROPERTY_OVERRIDES += \ ro.config.notification_sound=Argon.ogg \ - ro.config.alarm_alert=Hassium.ogg + ro.config.alarm_alert=Helium.ogg ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space)) PRODUCT_COPY_FILES += \ diff --git a/config/common_full_tablet_wifionly.mk b/config/common_full_tablet_wifionly.mk index fa0080d4..f7689b7e 100644 --- a/config/common_full_tablet_wifionly.mk +++ b/config/common_full_tablet_wifionly.mk @@ -4,7 +4,7 @@ $(call inherit-product, vendor/cm/config/common_full.mk) # Default notification/alarm sounds PRODUCT_PROPERTY_OVERRIDES += \ ro.config.notification_sound=Argon.ogg \ - ro.config.alarm_alert=Hassium.ogg + ro.config.alarm_alert=Helium.ogg ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space)) PRODUCT_COPY_FILES += \ diff --git a/config/common_mini_phone.mk b/config/common_mini_phone.mk index 4b193060..956bb380 100644 --- a/config/common_mini_phone.mk +++ b/config/common_mini_phone.mk @@ -7,7 +7,7 @@ include vendor/cm/config/cm_audio.mk # Default notification/alarm sounds PRODUCT_PROPERTY_OVERRIDES += \ ro.config.notification_sound=Argon.ogg \ - ro.config.alarm_alert=Hassium.ogg + ro.config.alarm_alert=Helium.ogg ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space)) PRODUCT_COPY_FILES += \ diff --git a/config/common_mini_tablet_wifionly.mk b/config/common_mini_tablet_wifionly.mk index 882af7e5..57256ed4 100644 --- a/config/common_mini_tablet_wifionly.mk +++ b/config/common_mini_tablet_wifionly.mk @@ -7,7 +7,7 @@ include vendor/cm/config/cm_audio.mk # Default notification/alarm sounds PRODUCT_PROPERTY_OVERRIDES += \ ro.config.notification_sound=Argon.ogg \ - ro.config.alarm_alert=Hassium.ogg + ro.config.alarm_alert=Helium.ogg ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space)) PRODUCT_COPY_FILES += \ From 23c48f6f4f8d3f3377fb74d289178c72bc812da9 Mon Sep 17 00:00:00 2001 From: percy-g2 Date: Fri, 13 Mar 2015 21:00:05 +0100 Subject: [PATCH 02/11] vendor:cm: Add Moto E contributors Change-Id: I5e560a306b62b172c6ea7855c48a54dbc6193ac4 --- CONTRIBUTORS.mkdn | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTORS.mkdn b/CONTRIBUTORS.mkdn index c475537b..b05e3ebd 100644 --- a/CONTRIBUTORS.mkdn +++ b/CONTRIBUTORS.mkdn @@ -43,6 +43,7 @@ Maintainers (CyanogenMod 12.0): * __LG G3 (Verizon) (VS985):__ invisiblek * __LG Optimus LTE (P930) / LG Nitro HD {P935):__ arcee * __LG Optimus LTE (SK Telecom) (SU640):__ arcee +* __Moto E 2014 (xt1021,xt1022,xt1023/condor):__ percy_g2, scritch007 * __Moto G 4G (xt1039,xt1040,xt1042,xt1045/peregrine):__ somcom3x, intervigil * __Moto X (xt1053,xt1055,xt1056,xt1058,xt1060/ghost):__ Hashcode, Skrilax_CZ * __Moto X 2014 (victara):__ crpalmer From 6ed255db27798763db384cf6683784592e7458a7 Mon Sep 17 00:00:00 2001 From: "Howard M. Harte" Date: Sat, 14 Mar 2015 09:02:22 -0700 Subject: [PATCH 03/11] Add additional APNs for US Cellular Change-Id: Ia3e5ccc244ff6b95de1f079571c12591375b847b --- prebuilt/common/etc/apns-conf.xml | 59 +++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index 1e291070..a22a1739 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -777,7 +777,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -807,6 +836,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From b62da1e2e1a5b42b8c2bc37ddbb63119b9f8a57d Mon Sep 17 00:00:00 2001 From: Byun Jae Myeong Date: Sun, 15 Mar 2015 01:59:12 +0900 Subject: [PATCH 04/11] apn: Add LG U+ LTE APN Change-Id: I5bb329e9b2d5eb76a47db8c0ea2fdd0b853c29e5 Signed-off-by: Byun Jae Myeong --- prebuilt/common/etc/apns-conf.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index a22a1739..f3f94109 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -1493,6 +1493,7 @@ + From 8df987a37181343070055e66c487aa290f2e2f28 Mon Sep 17 00:00:00 2001 From: Abhisek Devkota Date: Mon, 16 Mar 2015 18:23:44 -0700 Subject: [PATCH 05/11] Add USMobile (MVNO) apn Change-Id: I5cf33256a04e96567d87042e10ed80034a40ec41 --- prebuilt/common/etc/apns-conf.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index f3f94109..4a64985e 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -709,6 +709,7 @@ + From dc699fb190a7249053c4f2fd280f9dc8a3096fe6 Mon Sep 17 00:00:00 2001 From: Emerson Pinter Date: Thu, 12 Feb 2015 19:20:19 -0200 Subject: [PATCH 06/11] sepolicy: Permissions for userinit Change-Id: Icaf9d191841a6214925729e40d84a61a2ebf2296 --- sepolicy/file_contexts | 1 + sepolicy/sysinit.te | 10 ++++++++++ sepolicy/userinit.te | 1 + 3 files changed, 12 insertions(+) diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 7999ccd9..4f82c380 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -12,6 +12,7 @@ /system/bin/sysinit u:object_r:sysinit_exec:s0 /system/etc/init.d/90userinit u:object_r:userinit_exec:s0 +/data/local/userinit.sh u:object_r:userinit_data_exec:s0 # For minivold in recovery /sbin/minivold u:object_r:vold_exec:s0 diff --git a/sepolicy/sysinit.te b/sepolicy/sysinit.te index dea539e8..6fd0b856 100644 --- a/sepolicy/sysinit.te +++ b/sepolicy/sysinit.te @@ -9,3 +9,13 @@ allow sysinit shell_exec:file { rx_file_perms }; allow sysinit system_file:file { rx_file_perms }; allow sysinit self:process setcurrent; +userdebug_or_eng(` + allow sysinit userinit_data_exec:file { r_file_perms relabelto }; + allow sysinit property_socket:sock_file write; + allow sysinit init:unix_stream_socket connectto; + allow sysinit userinit_prop:property_service set; + allow sysinit sysfs:file rw_file_perms; + allow sysinit sysfs_devices_system_cpu:file write; + allow sysinit self:capability dac_override; + allow sysinit userinit_exec:file { rx_file_perms }; +') diff --git a/sepolicy/userinit.te b/sepolicy/userinit.te index caddb086..74072877 100644 --- a/sepolicy/userinit.te +++ b/sepolicy/userinit.te @@ -1,3 +1,4 @@ type userinit_exec, exec_type, file_type; +type userinit_data_exec, file_type; allow userinit_exec userinit_prop:property_service set; From eb600fe87cc4874ac4cc8cd90e132a27c381678c Mon Sep 17 00:00:00 2001 From: Abhisek Devkota Date: Wed, 18 Mar 2015 14:16:28 -0700 Subject: [PATCH 07/11] Add new Maxis combined APN Change-Id: I1981d43e0fffb5ce0d468117490c30cfe0d50055 --- prebuilt/common/etc/apns-conf.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index 4a64985e..c267be7d 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -1614,6 +1614,7 @@ + From 9c2413bc19fb89a722f3bc251833059d9b19674f Mon Sep 17 00:00:00 2001 From: Abhisek Devkota Date: Thu, 19 Mar 2015 11:44:59 -0700 Subject: [PATCH 08/11] Update Telenor HU APN Change-Id: I96fc55f7f30fb6203e8729e4cd7c40203adf3420 --- prebuilt/common/etc/apns-conf.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index c267be7d..8af7a46e 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -147,7 +147,8 @@ - + + From 768292df1d7ae1c975885e683a034cc336bf55c8 Mon Sep 17 00:00:00 2001 From: Gianmarco Reverberi Date: Tue, 10 Mar 2015 20:16:06 +0100 Subject: [PATCH 09/11] SystemUpdateService: enable service but lock its receivers [2/2] Added SecretCodeReceiver to locked components Added list of components that need to be forced enabled (because they've been previously disabled) Change-Id: I7cc0efc1830b45bc5384ff421b829e0be0d955d8 --- .../frameworks/base/core/res/res/values/config.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/overlay/common/frameworks/base/core/res/res/values/config.xml b/overlay/common/frameworks/base/core/res/res/values/config.xml index a2378443..1d92819f 100644 --- a/overlay/common/frameworks/base/core/res/res/values/config.xml +++ b/overlay/common/frameworks/base/core/res/res/values/config.xml @@ -27,12 +27,18 @@ com.google.android.gsf/com.google.android.gsf.update.SystemUpdateActivity - com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService$Receiver + com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService$SecretCodeReceiver com.google.android.gms/com.google.android.gms.update.SystemUpdateActivity - com.google.android.gms/com.google.android.gms.update.SystemUpdateService com.google.android.gms/com.google.android.gms.update.SystemUpdateService$Receiver com.google.android.gms/com.google.android.gms.update.SystemUpdateService$ActiveReceiver + com.google.android.gms/com.google.android.gms.update.SystemUpdateService$SecretCodeReceiver + + + + + com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService + com.google.android.gms/com.google.android.gms.update.SystemUpdateService CyanogenMod From a4f3e9a213f97e0381eca9b82856618a011db20c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20T=C3=B3th?= Date: Mon, 23 Mar 2015 22:09:16 +0100 Subject: [PATCH 10/11] Update Telekom (T-Mobile) HU APN Change-Id: I003a14519b17ea0f7a3d72ee16fb97eeb763eb3e --- prebuilt/common/etc/apns-conf.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index 8af7a46e..0bbf33e7 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -149,9 +149,8 @@ - - - + + From 75271cfdf9ad92eefa82d7347cc2cf411cb276b6 Mon Sep 17 00:00:00 2001 From: Abhisek Devkota Date: Tue, 24 Mar 2015 14:37:37 -0700 Subject: [PATCH 11/11] Airtel MMS - Add authtype=1 for PAP Change-Id: Ic41d403221351b5bec67c306d8ded2915e0cf45b --- prebuilt/common/etc/apns-conf.xml | 50 +++++++++++++++---------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index 0bbf33e7..da60f426 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -916,17 +916,17 @@ - + - + - + @@ -934,7 +934,7 @@ - + @@ -950,7 +950,7 @@ - + @@ -978,7 +978,7 @@ - + @@ -994,7 +994,7 @@ - + @@ -1007,12 +1007,12 @@ - + - + @@ -1039,7 +1039,7 @@ - + @@ -1055,7 +1055,7 @@ - + @@ -1096,30 +1096,30 @@ - + - + - + - + - + - + - + - + @@ -1226,22 +1226,22 @@ - + - + - + - + - + - +