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
- remove SpareParts: it's disabled and broken, the options it provides
are either useless/broken or available in development settings
- remove modelid_cfg.sh: no devices are using this any more
- remove opticharger: it's not used any more
Change-Id: I68c86b2407486c4b40998288cf1f70b7cb8170f4
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
Keep a blacklist of md5 sums for scripts known to cause issues, and
ignore them when installing new builds
Change-Id: I19a88b58194a32da5eb5fe278f2c5b9a145b57be
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
* Promo video here: http://www.youtube.com/watch?v=ogp9f4_yEoU
* It looks *way* better on a device, though :)
* The animation is square, so the names have changed.
Change-Id: I8eebdf29a7d30632d75210a6d3975d7ea17d5246
- 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
From http://androidsu.com/superuser/
This brings the version in line with the current version of
the su binary and fixes the bug where su approval is
not stored.
Change-Id: I0ca67ae79942f34eaa16cc3cf26b312cf7a8cd67
backuptool should not be messing with whether /system is mounted
or not as it screws up the expectations of other scripts run
in the install process. instead the mounting/unmounting
functionality has been moved to ota_from_target_files
Change-Id: I0711afd517638e7d0a0c39369d3a776748245dd2
New notifications and ringtones were added[1], but without proper
metadata. This caused "House_of_house.ogg" for example to be
displayed as "House_of_house" in the ringtone-selection dialog.
Adding the TITLE tag fixes this.
[1]http://review.cyanogenmod.com/#/c/16482/
Change-Id: Ie8b7baeb42410205b399bbc2014d09c6d8946a4e
Allow user to provide userinit.sh and/or userinit.d/*
scripts under /data/local to be run on each boot.
Change-Id: I96f3034bcdea8d4cc75929d21b69efa31c1cb108
* Default for tablet is horizontal-1280x800
* Default for phone is vertical-480x800
* Override using TARGET_BOOTANIMATION_NAME in cm.mk (must come before
inherit of CM base product.
Change-Id: Ibd01236847b4f1de0cfd4246c8bd93b1f047005a
Tips & Tricks
=============
* 50-cm.sh contains only a reference implementation. You may customize the methods however you wish.
For example, 20-foobar.sh pre-backup can use a loop with conditionals to generate a dynamic backup list in
/tmp/foobar_file_list which is later printed by list_files() so the backup method will act on those files.
* Optional methods pre-backup, post-backup, pre-restore, or post-restore may be defined for special purposes.
* Inject new files into /tmp/addon.d/ prior to backuptool.sh backup if you want to act during the current CM upgrade.
* Delete files from /tmp/addon.d/ during post-restore if you want to permanently remove files from /system/addon.d/
Addons may use this approach to run a script only once.
* Scripts run in sort -n order. Prefix with numbers 00 through 99 if want to run in a particular order.
* You can have two separate scripts, implementing only backup in one, and only restore in the other with a different
number prefix of each. This allows even greater control the backup/restore order even further.
* You could use pre-backup to generate a one-time use backup script in /tmp/addon.d/ that deletes itself in
post-restore.
Patch Series
============
http://review.cyanogenmod.com/#change,13265
CyanogenMod/android_build
* edify generator
http://review.cyanogenmod.com/#change,13266
CyanogenMod/android_system_core
* permissions on /system/addon.d
http://review.cyanogenmod.com/#change,13267
CyanogenMod/android_vendor_cm
* 50-cm.sh reference backup script
* modular backuptool.sh
* support backuptool.functions used by /system/addon.d/*.sh scripts
Change-Id: Ifd5eaf9dcfd68d92e5043c21d1bae1dc0ad54860
A Mobifone user contacted me and alerted me that the APN settings for Mobifone was wrong and provided the correct ones.
Change-Id: I8a6b9bde39d7394db2fdf7261b2a8026692fb808
Currently the tool only backs up the lib, but not the apk.
Seeing as how the market version of voice search is still not
up to date with the current release, it should still be backed
up with this script.
Change-Id: Ia130bb3e289fc3c2206a60ed0fcfd7dab816425d
Since the destination for all backed up files during an installation was
/tmp, all files sharing a name (like the full_model.bin files from
the various face detectors) ended up being restored as copies of
the last such file, effectively breaking the backup.
As a fix, when backing up files, use the entire original path to make
sure they're kept separate and restorable.
Change-Id: I399f7a9433a225871d97e0ecaeb051a90e68696b
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