From 139e798bf91cbe3e65c0c81e602ab5f6ee6d6085 Mon Sep 17 00:00:00 2001 From: Tom Marshall Date: Fri, 18 Dec 2015 14:45:25 -0800 Subject: 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 --- prebuilt/common/bin/otasigcheck.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'prebuilt') diff --git a/prebuilt/common/bin/otasigcheck.sh b/prebuilt/common/bin/otasigcheck.sh index 99fdaec..aba53b0 100644 --- a/prebuilt/common/bin/otasigcheck.sh +++ b/prebuilt/common/bin/otasigcheck.sh @@ -20,6 +20,9 @@ if [ -f "/data/system/packages.xml" -a -f "/tmp/releasekey" ]; then OLDIFS="$IFS" IFS="" while read line; do + if [ "${#line}" -gt 4094 ]; then + continue + fi params=${line# * Date: Sun, 3 Jan 2016 23:11:32 +0100 Subject: 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 --- prebuilt/common/etc/apns-conf.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'prebuilt') diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index 4c1ffc7..d9683aa 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -355,20 +355,22 @@ - - - + + + + + + - - - + + -- cgit v1.1 From 7ea45800c12506dd670e5d133bd5f822acf42b10 Mon Sep 17 00:00:00 2001 From: Gabriele M Date: Wed, 6 Jan 2016 23:20:42 +0100 Subject: 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 --- prebuilt/common/etc/apns-conf.xml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'prebuilt') diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index d9683aa..755bb5f 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -369,8 +369,6 @@ - - @@ -401,18 +399,15 @@ - + - + - - - -- cgit v1.1 From c7469c6008c0e4b19db4db8d8b29ec33775f4418 Mon Sep 17 00:00:00 2001 From: Francis Guevarra Date: Thu, 7 Jan 2016 10:19:24 -0800 Subject: APN: Add Smartfren IMS for Volte support RENDANG-525 Change-Id: Idcfb6e2577ec80cb160b049451f5ffdc6992ea57 --- prebuilt/common/etc/apns-conf.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'prebuilt') diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index 755bb5f..4b8ed06 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -3398,6 +3398,7 @@ + @@ -3414,6 +3415,7 @@ + -- cgit v1.1 From 74d7c57a7981eae7ab045c33556eec5492b3b2a6 Mon Sep 17 00:00:00 2001 From: Deepak Kundra Date: Fri, 8 Jan 2016 17:26:01 -0800 Subject: Update IMS APN based on Smartfren Device Technical document-v1 2 Change-Id: Iea131e28fbace6e8d848f606ef796a91afa6813d Issue-id:RENDANG-525 --- prebuilt/common/etc/apns-conf.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'prebuilt') diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index 4b8ed06..512cfe6 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -3398,7 +3398,7 @@ - + @@ -3415,7 +3415,7 @@ - + -- cgit v1.1 From bd3d22e3545d93345eb3ef3a476fd357d5efa926 Mon Sep 17 00:00:00 2001 From: Luca Stefani Date: Sat, 9 Jan 2016 06:53:54 -0800 Subject: init: Create directories needed by sshd Change-Id: I672bd86f2ce359653fe1c2abc036a0fdc918ace1 --- prebuilt/common/etc/init.local.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'prebuilt') diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc index e29b015..7cf6ec5 100644 --- a/prebuilt/common/etc/init.local.rc +++ b/prebuilt/common/etc/init.local.rc @@ -22,7 +22,8 @@ on init chmod 0220 /sys/fs/cgroup/bfqio/rt-display/cgroup.event_control on post-fs-data - mkdir /data/.ssh 0750 root shell + mkdir /data/ssh 0750 root shell + mkdir /data/ssh/empty 0600 root shell mkdir /cache/recovery 0770 system cache # Run sysinit -- cgit v1.1 From 6f6e11f0ae11a547a43fcb34d7a020ca58279cd1 Mon Sep 17 00:00:00 2001 From: HashBang Date: Thu, 31 Dec 2015 18:20:13 -0500 Subject: 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 --- prebuilt/common/etc/apns-conf.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'prebuilt') diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index 512cfe6..7e7dbcc 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -1467,8 +1467,8 @@ - - + + -- cgit v1.1 From 356bb564429d19e7857a68fd71d15641a19a744a Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Tue, 12 Jan 2016 21:58:38 +0100 Subject: 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 --- prebuilt/common/etc/apns-conf.xml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'prebuilt') diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml index 7e7dbcc..b8e659e 100644 --- a/prebuilt/common/etc/apns-conf.xml +++ b/prebuilt/common/etc/apns-conf.xml @@ -476,21 +476,14 @@ - - - - - - + + - - - -- cgit v1.1