This is to address hang-ups in eHRPD-LTE hand-offs as witnessed on d2spr.
Log of problem:
[GsmDC-6] Connecting to carrier: 'APN2 EHRPD internet' APN: 'n.ispsn' proxy: 'null' port: 'null'
[0319]> SETUP_DATA_CALL 15 0 n.ispsn null null 0 IPV4V6
....
qmi_ril(0/281): [event] qcril_data_event_hdlr: Dual-IP Partial Retry: Failure
qcril_data_event_hdlr: Dual-IP Partial Retry: Sending setup data call failure code
On stock rom:
[GsmDC-50] Connecting to carrier: 'APN2 EHRPD internet' APN: 'n.ispsn' proxy: '' port: '
[GsmDC-50] Allow IPv6 type request: false
[9240]> SETUP_DATA_CALL 15 0 n.ispsn 0 IP
Note, PDP type on stock rom/APN is not Dual-IP. Without information on how
"Allow IPv6 type request" is tested, for now force the PDP change via apns-conf.xml
Change-Id: I938bf9d1a0b50ec72283fbdba3785832519f3f48
"getprop" depends on the presence of the property workspace
env var, which is created by the first starting service. Why
not make that sysinit itself? (\/) (°,,,°) (\/)
The old Sprint CDMA MMS apn uses the same MCC/MNC pair (310120) and apn
type ("default") as Sprint's LTE/eHRPD service. Thus, Sprint LTE devices
attempt to connect to LTE/eHRPD services using the old CDMA MMS apn first,
which usually fails, and thus delays service establishment.
However, occasionally service "successfully" connects with the CDMA MMS
apn, for unknown reasons, at which point that apn is set as the preferred
apn for LTE connections. Thus, any subsequent LTE/eHRPD connection attempt
fails due to use of the wrong apn.
By removing the old CDMA MMS apn, LTE/eHRPD connections will use the
appropriate apns. Furthermore
com.android.mms.transaction.TransactionSettings::TransactionSettings does
not query the bearer field when looking for valid MMS apns, so the
LTE/eHRPD will continue to work on non-LTE Sprint devices.
Note that with this change, the MMS apn now specifies an mmsproxy.
Change-Id: Iba48bd6d120b02bc6265f958d0e04181d17f5c66
The "import" keyword is only parsed once, for a one shot execution, during
the initial section setup, and before running "on fs". Having an import of
a file that's located in a filesystem other than root will result in an error
like
<3> init: could not import file '/system/etc/init.local.rc' from '/init.rc'
So... any files imported into init need to be moved to the root fs.
While we're at it, move init.rc changes that are specific to CM (and don't
involve modification of preexisting configs) into this file, to ease future
upstream merges (and minimize breakage on devices that override init.rc with
their own variants)
Needs to be paired with the corresponding system/core patch
Change-Id: Iab6340db2e28ef19dbcd84ae5c71737ce0cd491f
Updated mms apn as referred on https://www.emt.ee/mms/htc-android
* added mmsproxy
* added mmsport
Change-Id: Id85920a4d279b54ec17e115b460ea3a6ecb44a93
This patch basically reverts the changes done to spn-conf.xml here:
http://review.cyanogenmod.com/#/c/10038/ , which was then ported to
ics and jellybean branches.
The localized SPN function requires a framework change (Found here:
http://review.cyanogenmod.com/#/c/10037/), which is not
present on ics nor jellybean branches, effectively rendering the
settings useless.
Until the framework changes are present, I think it'd be best to
change this back so that users of these Chinese carriers will at
least have their carrier names displayed correctly.
Patch Set 3: Fix description links.
Change-Id: I12bcf308dd797ea7638327c33f9252a20894ad05
- Sets a working USCC apn that doesn't conflict with Sprint mobile country
and identification codes. Fixes issues with sending mms on Sprint devices.
- Patchset 2: Add LTE-test apns from dumped SGSIII stock ROM.
Change-Id: I2868968fe097f0aaa31b8c8b2d944bf186d197c8
Changed "internet" to "uinternet", which is 3G+.
Removed non-existing network.
Added Hot Mobile and Golan Telecom.
Change-Id: I28a33f18b45f632371be845e251bdf8f872ed47b
Allow user to provide userinit.sh and/or userinit.d/*
scripts under /data/local to be run on each boot.
Change-Id: I96f3034bcdea8d4cc75929d21b69efa31c1cb108
A Mobifone user contacted me and alerted me that the APN settings for Mobifone was wrong and provided the correct ones.
Change-Id: I8a6b9bde39d7394db2fdf7261b2a8026692fb808
At present, when running a busybox shell ("busybox sh") from mksh
(/system/bin/sh), one gets the following message before every command line:
sh: precmd: Permission denied
This is due to mkshrc exporting a PS1 which depends on a mkshrc defined
function, "precmd". Since "busybox sh" does not source mkshrc, it does not
have this function defined, resulting in the above error.
By not exporting PS1, "busybox sh" uses its own reasonable default. mksh
subshells continue to work as usual, since they (re)source /etc/mkshrc
anyways.
Change-Id: Ic9182e42aa033e811300d9e6e8d6d3f43e14e58f
increase required space needed for market downloads from ~20MB
to ~60MB (~105MB if system dalvik is on /cache)
Change-Id: I52fcd648374db4bf73ff478e9991a6a3162521d5
This corrects the MMS settings to match those seen on Virgin provided stock handsets and
fixes receiving of media messages.
MNCs 31 and 32 are likely to also require changing but have not been tested so are
unchanged by this patch.
Change-Id: I6bc40fa7bfa7f21cf3c6a36cdef2b46512075c6a
Signed-off-by: Pat Thoyts <patthoyts@gmail.com>
According to packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyProvider.java,
getRow() method is knowing nothing about such attribute and just ignore it.
So it should do no harm to remove such.
There's a "authtype" attribute that is parsed, but its value should be an integer.
Change-Id: I9cca16cdd68db30c3a1f76149b0699d49d82fb71
It seems such entries are coming from apps like APN backup&restore,
which have a slightly different format.
Change-Id: I51d949e4dc13e832c84ecccd66cd9cd723ea2ec4
This duplicate appeared with commit 294302200411907d848a0f51652a233398056360
"apn list refresh from paulweiss"
Change-Id: I0b66591088f67d04e8b7f94ebc5d1e41b1c45596
Previous default apn is a provider's special offer. After first connect
provider eats 5 UAH ($0.62), and users does not have enough time to disable
data at first boot.
Change-Id: I36f753608c91a0acba2dace4bebd86b4324a1f09
It was not working until I noticed the error,
and works since I manually edited it. First
time I thought I had accidentally edited it
to a wrong value, then I noticed that I needed
to edit every time I updated cyanogenmod, so
I found the error in the sources and I'm
reporting it here to save future updates...
It is
$ host 193.209.134.141
141.134.209.193.in-addr.arpa domain name pointer mms-service.mobile.sonera.net.
and not
$ host 93.209.134.141
141.134.209.93.in-addr.arpa domain name pointer p5DD1868D.dip0.t-ipconnect.de.
Change-Id: I62cfd18f29076189e1da5379bb37dc5bb533c815
this is useful for all user which want to use cMTD or static
partition size (like alpharev) to assign more space to /data
reducing /cache size
Change-Id: Ib251c9bea1dea50b6c444df977aa605e58008c41
Removed label requirement, cause too many trouble on user
The 2nd SD Card partition will be mounted as sd-ext with ext3fs
(there are some problem with ext4, we stay on 3 until 4 problem
will be sorted)
Change-Id: I87e53d1714d84fbdafeb80599ebb3e62b3a24b1e
check for mmc device type = SD
mount sd-ext partition by label = sd-ext
we are smart, so only ext4 support
removed wait for device
Change-Id: Ie1ee2de3365d5515030d46801099418607e1265e