TCP delayed ack settings are expected to be modified when the
Wifi or LTE connection is established and the configurations
will be reverted back when the Wifi connection is terminated.
The change also modifies the /sys/kernel/ipv4/tcp_delack_seg
and /sys/kernel/ipv4/tcp_use_useconfig file owner to "system"
Requires: https://www.codeaurora.org/cgit/quic/la/kernel/msm/commit/?h=kk_2.7-stable&id=73989a4b345bba0efca96cc86b0258e83884ff63
Change-Id: I008e36931752d6db29454c5ce41e3cfe19b15ecb
* these are taken from the latest jfltevzw ota update
* appears bearer is no longer needed
* general cleanup of duplicates
Change-Id: Ida43d7e1419d58a50d16c02d51d2bc4ed3495aa6
Note that I am not on that network myself so I have not been able to verify the settings. However, they are taken from the official support site.
Change-Id: I8b803f5af6e6c307f4ce85f1e20bf75050bcf1be
APN type was set to "default,supl,mms" for both internet and mms. Using CyanogenMod (CM11) it is causing of sending and receiving mms to get stuck forever.
This sets APN type for internet to "default,supl" and "mms" for mms.
Change-Id: Ia2cede31788ab4f76b52d8a2f2ef8a934427169e
LoL, it's http:// not http//
This fixes MMS on SKT LTE
Change-Id: Ic5506d9e3382b37a4cf78f92326d8759111d5c85
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Remove the default- and dun-types set on the Verizon MCC=31x
and MNC=48x pairs. This fixes long connection delays to
LTE and EHRPD apns.
It is based on: http://review.cyanogenmod.org/#/c/61711/
Change-Id: Ib39c601cb3610ff972db3849dfc96542f75f5761
This mask a real problem on devices on legacy cdma because we didn't
a stubbed apn for devices that don't use apn to connect to data.
this patch fixes it: http://review.cyanogenmod.org/#/c/62148/
this also problem with sprint 3g APN and lte apn numerics is the same
causing the apn stick together. one of those apn will always stick
persistently unless we force a manual disconnect or by selecting an apn
number from the list and that the 3g apn is due to the effect that it has
no way determining on which apn is used in sprint. they do it by the
numeric, which is why most lte numerics apn is separate from 3g numeric.
We had a large debate on this issue once before, this is the same bug:
http://review.cyanogenmod.org/#/c/51425/
This reverts commit 5de6ec579e.
Change-Id: Ia5c8310af0dce1805ae400d9f78c87c94cdc3cc2
* Because we didn't already have enough did we?
* This fixes "No apn selected for device" when sending/receiving
MMS.
* Removed the MobiPCS apn. Its breaking network extenders because
and I its conflicting with the vzw apn of the same mcc/mnc pair.
I doubt they use this pair anyway.
Change-Id: I70671482af5356ee6562d4d388fda6e90fc5c15b
This reverts commit d2d1a7ffb1.
Revert "selinuxrelabel: Remove attempts to relabel /system"
This reverts commit cae5f24530.
Revert "Recheck /data for selinux labeling"
This reverts commit c4dcb16ca9.
Revert "selinuxrelabel: Add a check for dalvik-cache"
This reverts commit c7e9230614.
Revert "selinuxrelabel: Need to check in priv-app now"
This reverts commit 3013c99acb.
Revert "selinux: When adding userdata labels, do cache too"
This reverts commit 8994907baf.
Revert "selinux: Use a more reliable sentinel to flag /data labelling"
This reverts commit b52874de53.
Change-Id: I7779aaca3b0751ed74d525292681817182a0aa7f
apns re-added from:
- Add apns/eri for Boost Mobile
- Add Japanese APNs/eri for au, docomo MVNO, EMOBILE and SoftBank
Change-Id: I2e0091cc4ed1a5c6957792940aba13b801bf7335
In theory, could have been a good idea, but ultimately just leads to
headaches for device maintainers that need to overlay any of these.
Revert "overlay: remove Verizon specific eri.xml"
This reverts commit 5f92da62c6.
Revert "Add Japanese APNs/eri for au, docomo MVNO, EMOBILE and SoftBank"
This reverts commit eeeb0888d4.
Revert "Add apns/eri for Boost Mobile"
This reverts commit b207e2eda3.
Revert "add more vzw eri's"
This reverts commit 82e10af192.
Revert "multi-carrier overlays: Add eri and config for US Cellular"
This reverts commit 1af75f1ba7.
Revert "Multi-carrier overlays: Fix Mms"
This reverts commit f8b0737a43.
Revert "Generic multi-carrier overlays based on hammerhead"
This reverts commit 6f5758c9c3.
Change-Id: I3495a89ce405362dc558f7ec7f0e61adea9fa507
* Various tools might want to use these values without writing to
them. Set world readable for all nodes.
Change-Id: I5521ca0104e9f21b2e3fdb3469485f887ee50f28
* Remove "Telenor MMS" - Was merged into "Telenor" in a previous patch
* Rename Ludo to Ventelo - Ludo doesn't exist anymore
* Merge "Mobitalk Internet" and "Mobitalk MMS" into a single APN
Change-Id: I77ff06d6c8d6021cd1887468bbeb7ac9315e68bb
Per https://jira.cyanogenmod.org/browse/CYAN-2183 the previous ones
were all incorrect/broken and replaced by the new addition.
Needs testing
Change-Id: Ic6781e9d75da61f8ff2c84de13c3235ee97a029b
PS2: Adjust mnc on coop mobil MMS to be '##' format
Signed-off-by: Henning Nielsen Lund <hnl_dk@amigaos.dk>
Change-Id: I4cd0e838ca274440a56678252c8ad1f209da5a7d
* patch set 1 to 7 doesn't fix the problem, it bruce forces the spn
list to ALL DEVICES.
* this change and http://review.cyanogenmod.org/#/c/57393/
will attack the problem at lowest level, customized it for speed
and memory.
* the best part is that it handles letters and exit the
function when it find a letter in the response from ril.
Change-Id: Ia63309acf38617e68b98ff1068463a942fa793df
* Remove all this stuff. If a device wants ZRAM, it should be
enabled by the maintainer and properly configured and tuned.
* This stuff currently causes a conflict with the ZRAM support
added in Kitkat. Kill it.
Change-Id: Ib2488ea4463e32ec44b65fe786f732145b5b6e23
These are a no-op due to the additional block-device protection from
e18c0d508a
so get rid of them entirely. Any installing recovery (or equivalent
installation process) should handle the labeling of system components
on its own.
Change-Id: I14c50f08efa6f05b03fad4fbc404219cc504e1ff
TBD: Do we still want to label unlabeled files?
This simply adds checks for selinux labels for
files under /data/misc/wifi which were not labeled
correctly for some devices
Change-Id: Iaacf6db792aaea1485502b424d639a1212c5841b
* combine apns
* leave cdma/gsm files intact but empty until the calls
* are removed from devices cm.mk
Change-Id: I0686ef4ee1fe9b34ac9beaaa2bd43555234f4f6d
These changes fix the error below found in a logcat and clean up some other issues in the file.
"E CM PowerHAL: Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: Permission denied"
PS2: tweaked permissions & removed dupilcated entries
Change-Id: I9b1bbe66c36ba0d8de13b8cb9351d2952851c250
Rename of authenticatiotype to authtype wish i accidentaly
wrote wrong by mistake, now it is right and set authentication type to "PAP"
correctly.
Change-Id: If4a235682c3330db7c87531039ffd92ceb6098e4
Sprint CDMA MMS APN was being incorrectly set as default and hipri,
causing LTE connectivity issues because it was prioritized over the
other APN entries for LTE and EHRPD.
Change-Id: I6ca4fd172e2ecc64ca7a2c3fbca5327be61e7b5c
- Add back and fix Sprint APN for 1x/HRPD. Corrects MMS settings and gives a
suitable APN for DcTracker to use for HRPD/EvDo.
- Remove All test SIM APNs. Since no one is running around with a test SIM and
its useless to have a bunch of APNs sharing the same MCC MNC pair.
Change-Id: I1ccbed9b3cdd456e97d205d70bf283785122de8c
This reverts commit ea14a88a2a.
Using the Package Manager prevents any danling wakelock from
killed service/receiver.
Change-Id: Ie3162ca4b18a7bc9c55613af39e88ea980407e5f
In some areas, the new StraightTalk ATT apn settings do
not work, requiring the user to re-add the apn settings
on their own, a feat made more difficult by the fact
that StraightTalk only lists the new apn info on their
website
Change-Id: Id02876d4aa461a3ad8e7211ef45f468b6e181036
Add in Beeline UZ APN, and remove MTS UZ as they are no longer
operating in the region.
Per https://jira.cyanogenmod.org/browse/CYAN-2220
Change-Id: I3cf38a6736d28af8aa568f630dc8bb9344259a82
Per https://jira.cyanogenmod.org/browse/CYAN-1750 , correct
mnc listing for Claro PR LTE apn is "110" instead of "11".
Patchset #2: Modify non-LTE APNs as well; change commmit title
Patchset #3: Modify commit title to clarify Claro PR adjustments only
Change-Id: Ic18810492a282fc74b5472139404e2db48edd83d
Everything Everywhere (EE) replace Orange UK and T-Mobile UK.
Adapted for CM conf from Guillaume Châtelet's commit:
d9bd5e7d4f
PS1: initial commit
PS2: rebase
Change-Id: Ie1ff90bdffd1cce8c5697624b4c83a06a6729dc3
Since not all recoveries out there will support the OTA packages'
own labeling, check at boot if the system needs labels (and
apply them)
Change-Id: I58767977b90a78a12efe7bd9d713654eadf47e7a
sysinit depends on having the filesystems mounted, and userdata
in particular depends on having /data present. Move its startup
to post-fs-data
Change-Id: Iafcc926a3aa310c1afe501d272df5811da500d86
This commit updates the Personal Argentina APN to the new
datos.personal.com address and adds another set of entries for when
mnc is 341
Change-Id: Ibe17ba00c5ffe3730fce107f0a471ac9c408b636
The error that this patch was guarding against is no longer reproducible
on d2spr.
This reverts commit 285d4c2a4d.
Change-Id: I373ad22a021de74df4f8907dc79717719708431d
MTNL uses 68 and 69 MNC respectively in Delhi and mumbai
forward port of this change
http://review.cyanogenmod.org/#/c/27022/
Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
This is taken from the OTA update for the Note II.
All APNs are currently resolving to the same 2 addresses from my T-Mobile phone.
The T-Mobile support website lists fast.tmobile.com (no hyphen).
I am attempting to mirror the stock OTA from T-Mobile.
Change-Id: I863b517be7dec19620b79fc876a88ba65e4dacba
Using proxy.mvno.tracfone.com should also future proof it if they change the
IP again. proxy.mvno.tracfone.com resolves to (66.209.11.32)
Change-Id: I8cb5b3ce473bef1369ec4ee313759258fc1172d3
* These "phone" provisioned SIM's don't work with the "pta" APN
* LTE and MMS do work properly with "phone" APN
Change-Id: I782f9ee5c642c5354ab35489a9c899a52c0d5107
Reportedly Free Mobile users must edit their APN and remove whitespaces to make it work. I searched and fixed the other ", " occurrences too while I was at it.
Change-Id: Ib948dff8329653c42c967c4dae5a6e97086df127
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