Commit Graph

358 Commits

Author SHA1 Message Date
detule
1c83328b9c Revert "cm: apns-conf.xml: (eHRPD/LTE handoff) Change pdp type for default APNs"
The error that this patch was guarding against is no longer reproducible
on d2spr.

This reverts commit 285d4c2a4d.

Change-Id: I373ad22a021de74df4f8907dc79717719708431d
2013-05-05 21:46:47 -07:00
Marco Brohet
0a0ea35835 apns: Add hollandsnieuwe (NL)
Change-Id: Icd0060f6e05c32335161b1faddbc8aecb3bddab9
2013-04-28 08:23:33 -07:00
Tim Clark
c42e8b15f3 Fix Rogers LTE APN (broken mms) 2013-04-24 11:31:20 -07:00
Alan J. Ortiz
fd4f49d55b add of Claro Puerto Rico LTE apn Configuration
Tested on Samsung Galaxy s3 LTE SGH-i747(M) From Claro PR

Change-Id: Ia35da1053b921d8faf8cd6ab9960d6bb0aadd889
2013-04-21 18:20:03 -04:00
Arnav Gupta
e467935a9a MTNL apn fix
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>
2013-04-19 00:03:39 -07:00
ciwrl
d1ccb43ff6 Fix Straight Talk T-mobile APN
Per CYAN-679, MMSC url is incorrect. Adjust accordingly

Change-Id: I9d9f76b4a35f8df44835ea68ff17f356d19c6f8a
2013-04-13 05:43:21 -07:00
Tim Clark
6e043e2e5e Add TMOUS LTE APN
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
2013-04-04 10:19:55 -07:00
Koushik Dutta
b15f1068de add libGoogleAnalyticsV2 target
Change-Id: I34575caadb4d8ed415e596553feb777d9e70d3c7
2013-03-31 14:09:44 -07:00
jackmu95
4f3c7e1e14 Use jpegOptimized bootanimations
This commit optimize the jpeg files to reduce
the size of the bootanimation up to 10%.

Change-Id: I695772521c9ee019282220d9c649202914b0a5dc
2013-03-24 16:14:14 -07:00
Scott Busche
b14edf3e24 Update Straight Talk ATT MMS proxy
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
2013-03-24 15:32:36 -07:00
Daniel Hillenbrand
e662783a72 Merge "apns: update telekom DE to make LTE working" into cm-10.1 2013-03-06 07:33:59 -08:00
codeworkx
38bf66e3a8 apns: update telekom DE to make LTE working
Change-Id: Ida8c85b050e89dac41f0093d4351f7fa45b87906
2013-03-05 00:00:18 +00:00
Giulio Cervera
795908021d cm: 1080 pixel boot animation
Change-Id: I9ba651da8f7fd59a7c10da1f4f881240ea15772c
2013-03-05 00:13:57 +01:00
David Ferguson
0fcbbd94d8 apns: add "phone" APN for AT&T
* These "phone" provisioned SIM's don't work with the "pta" APN
  * LTE and MMS do work properly with "phone" APN

Change-Id: I782f9ee5c642c5354ab35489a9c899a52c0d5107
2013-02-17 09:52:04 -08:00
ciwrl
9945178e0f Fix Simple APN
Per http://www.mysimplemobile.com/Support-Center-Phone-Programming.aspx
Proxy and MMS proxy are not valid for this APN. Additionally, though
an invalid report (nightly), this has been reported at
https://jira.cyanogenmod.org/browse/CYAN-156

Change-Id: Id7a9e7af1a764e6052f312bf66d01d225554918b
2013-02-10 20:40:33 -08:00
jt1134
e59a416504 cm: cleanup
- 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
2013-01-20 20:43:04 -08:00
Mustaavalkosta
cc57dce630 Remove whitespaces from apn type parameters
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
2013-01-16 14:04:24 +00:00
Pavel Kirpichyov
e55fa7eed6 Tele2.lv internet settings does not require proxy anymore
Change-Id: Idb5a6ea9c3e1a5565326dee185c404ef7c9cfd0e
2013-01-08 20:55:18 -08:00
Decad3nce
3b460c3ea6 cdma: Add Cricket LTE Apns
Change-Id: I17aa4340fbf90f344936bfc165a9a1fc9bfcf2dc
2012-12-23 23:26:26 -08:00
Ricardo Cerqueira
129989b172 backuptool: Disregard known bad backup scripts
Keep a blacklist of md5 sums for scripts known to cause issues, and
ignore them when installing new builds

Change-Id: I19a88b58194a32da5eb5fe278f2c5b9a145b57be
2012-12-19 01:16:17 +00:00
Steve Kondik
5ae470e24a Merge "Add AT&T broadband apn" into cm-10.1 2012-12-16 08:57:45 -08:00
Brandon Bennett
81ce26231a Add AT&T broadband apn
Taken from tilapia for AT&T prepaid

Change-Id: I58ccf1488e68275ff5fb4e6a73345eb024ecf1fa
2012-12-13 18:58:34 -07:00
Chirayu Desai
700fc8f6c4 backuptool: only restore from same major.minor version
Change-Id: I63113fa9b3cbc6b0e1b3df75ef7dfb3160ee5062
2012-12-13 19:36:37 +05:30
Oliver Gjoneski
285d4c2a4d cm: apns-conf.xml: (eHRPD/LTE handoff) Change pdp type for default APNs
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
2012-12-04 17:11:16 -05:00
Ricardo Cerqueira
6698e5ebdb init.cm.rc: Fix startup banner, and move sysinit here
"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? (\/) (°,,,°) (\/)
2012-11-23 17:15:16 +00:00
Shareef Ali
83b2d81dbf add support for metropcs LTE
Change-Id: I7f59d004e3d6d072427e238fc1d647c93b3b5e11
2012-10-31 09:38:01 -07:00
Mike Kasick
c1d27debdc apns-conf-cdma: Remove Sprint CDMA MMS apn, conflicts with LTE/eHRPD service
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
2012-10-24 14:29:19 -07:00
Ricardo Cerqueira
8f412cb14a cm: init.rc: Fix compcache and cleanup init file
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
2012-10-18 16:42:27 +01:00
codeworkx
83eb6b5033 apns: more love for Zain JO
Change-Id: Id2498bdfbbb7ca7efe2969817cbf39c19129bb9b
2012-09-29 00:38:50 +02:00
codeworkx
d86b19257d apns: update Zain JO
Change-Id: Iedeb1c7bac6600ebe432182534f58e9144e25ac6
2012-09-29 00:29:03 +02:00
Untouchab1e
7d4082e157 Fixed the incorrect APN details for Telenet Mobile in Belgium as detailed in issue 6228.
Change-Id: Ic55f2f5a7d25755bef9d46a818e7e8e5aa2779d5
2012-09-27 11:45:05 +02:00
codeworkx
a2887fc915 apns: update MTNL settings, unified for mumbai and delhi
Change-Id: Ib25eda8e9dec794753a8c98217bab70b8816a25f
2012-09-26 22:37:20 +02:00
Steve Kondik
abfc079413 cm: Compile Superuser from source
Change-Id: I988d7998bbac3a44770ea8d5fd0564afbca7bedb
2012-09-20 10:26:25 -07:00
Joseph Stahl
320b73eb6c fix for a typo in the comments of 50-cm.sh
Updated the file to reflect its use in CM10.

Change-Id: I7d4759798c75d2e2163e34c0d3b6fde8266e4756
2012-09-15 12:57:03 -05:00
h8rift
fa2e25dc21 apns-conf.xml: Add CSL (one2free) lte.internet APN
Change-Id: Icd58a28aab468a6f016a1801a4016dde768758b5
2012-09-14 02:19:22 -04:00
h8rift
f2cd15c56f apns-conf.xml: Add CSL (one2free) mobile APN
Change-Id: If887f85218899502a2d97fd5ae7bfa768359ccca
2012-09-14 02:19:05 -04:00
h8rift
fbedba0aeb apns-conf.xml: Add Rogers LTE APN
Change-Id: I0eff2d07668418d9315fc4425f291ab047d9d8d1
2012-09-14 01:47:51 -04:00
DhK
9a0ce16d9a Add Virgin Mobile CL apn settings
Change-Id: Ie016e5c1fe9db15bd3605b61c3d41fc1c6ddb96b
2012-09-14 01:41:21 -04:00
Jüri-Kaur Schultz
59ff68060c apns-conf: EE EMT MMS apn update
Updated mms apn as referred on https://www.emt.ee/mms/htc-android
* added mmsproxy
* added mmsport

Change-Id: Id85920a4d279b54ec17e115b460ea3a6ecb44a93
2012-09-14 00:38:41 -04:00
Gs
5174188505 APN: Fix GolanTelecom MMS APN
Change-Id: Icc873a869428ba2661c84624ff98a0266377c240
2012-09-08 23:39:37 +03:00
Andrew Jiang
adef242fe6 Revert Localized Carrier SPN Changes.
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
2012-08-27 06:59:28 +04:00
Steve Kondik
ba1ca3309a cm: New boot animation from Cameron Behzadpour
* 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
2012-08-26 01:06:28 -07:00
Sven Dawitz
77bd564c71 APN/FIX: typo in german O2 apn
Change-Id: I2aac5e52b6f236ef652314b96510b6de2401b844
2012-08-22 16:05:10 +02:00
Jef Oliver
0229db786d Merge "prebuilt: common: apns-conf-cdma.xml: Fix USCC apn" into jellybean 2012-08-19 21:36:32 +04:00
Igor
b0ed627563 Added APN for Moldcell and Orange Moldova
Change-Id: I3cc5acbc4e9373f4e3f27dc939e84d21ad7a977f
Signed-off-by: Igor <igor_sorocean@hotmail.com>
2012-08-19 15:15:49 +04:00
Decad3nce
46e4adc87e prebuilt: common: apns-conf-cdma.xml: Fix USCC apn
- 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
2012-08-16 12:41:41 -05:00
Ricardo Cerqueira
65c95b04e4 Merge "Update Orange IL APN" into jellybean 2012-08-14 14:09:33 +04:00
Giulio Cervera
4f00adbd07 Merge "prebuilt: common: apns-conf-cdma.xml: add Sprint and VZW LTE/eHRPD apns." into jellybean 2012-08-12 22:58:47 +04:00
Erez A. Korn
541d59ed84 Update Orange IL APN
Changed "internet" to "uinternet", which is 3G+.
Removed non-existing network.
Added Hot Mobile and Golan Telecom.

Change-Id: I28a33f18b45f632371be845e251bdf8f872ed47b
2012-08-12 21:45:01 +03:00
Mike Kasick
4ba4d9f9b3 prebuilt: common: apns-conf-cdma.xml: add Sprint and VZW LTE/eHRPD apns.
Change-Id: I30e50bc276598e7b0c8835e60acf3189df406eff
2012-08-11 14:15:04 -04:00
Daniel Hillenbrand
775057c98f apns: updated 404-43, bpl -> vodafone
Change-Id: Ic50237707c13b5c88b15d21c58a5b625885ed908
2012-08-11 16:25:28 +02:00
matt73300
199e8ea96b Free Mobile APNs updates
Change-Id: I5999bf9639cb452e673783d4ee7afbfb8588a61f
2012-08-05 23:41:46 +04:00
Jason Mossbarger
f354be2c23 Update apns-conf.xml for Cincinnati Bell Wireless
Change-Id: I15cd628410fbcf22ddc7b7e23bbd09f1b4dd3cb8
2012-08-05 23:06:42 +04:00
Steve Kondik
fef6f1e122 Merge "apns: Clean up Bulgarian APNs" into jellybean 2012-08-05 23:05:58 +04:00
jt1134
f38ea2af71 apns-conf-cdma: add APN's for USCC and Cellular South
Change-Id: Ie36fddc3c74e7a0fa11a1c67c153bb68382d303d
2012-07-30 00:20:25 -05:00
Ivailo Stoyanov
49a5a13724 apns: Clean up Bulgarian APNs
Change-Id: Iff1fccc69e3b5265af61ac4d48f08f8500dbe035
2012-07-29 11:03:39 +03:00
Brint E. Kriebel
f0cd00ff40 Superuser: update to the 3.2-RC2 version of Superuser
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
2012-07-18 19:29:25 -06:00
Austen Dicken
0897504c1a remove mount/unmount capabilities from backuptool
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
2012-07-17 14:50:27 -05:00
Steve Kondik
45d3d8266e Merge "cm: Add prebuilt Superuser APK" into jellybean 2012-07-17 13:49:32 +04:00
Steve Kondik
b208b924a1 cm: Add prebuilt Superuser APK
* Temporary until Superuser is fixed to build with the platform.

Change-Id: Ic1dc48a461eb0142e2c2dc9bd4012e1bc5f969e1
2012-07-17 01:44:13 -07:00
Ricardo Cerqueira
6edfe231cb backuptool: Update CM version
Change-Id: I646a6706faa35908bbca767a03f97172265390ce
2012-07-15 16:49:52 +01:00
Jeffrey Clark
b929fa388a apns: Cleanup Rogers
* Remove invalid and deprecated entries
* Define LTE provider first
* Sync with provider documentation

Change-Id: I65823691df922f35df713793f073af6f95dc5e91
2012-07-09 09:42:53 +04:00
Alexandre Dumont
2fc78e3b94 apns-conf: Update Pepephone Internet APN
Switch to gprsmov.pepephone.com as explained by Pepephone.
See http://blog.pepephone.com/index.php/2011/10/27/internet-con-pepephone-explicacion-para-frikis-y-no-tanto/

Change-Id: Ia19ee175ffefc680e3740a34f6442c54212b470d
2012-06-27 21:31:24 +02:00
Alfredo
946d5b0b41 Claro-AR added missing authentication
Change-Id: Ifaeb68cda3e4d4b4aefad15feb0347ff7345df16
2012-06-21 09:47:56 -03:00
humberos
44501dc71b Update bootanimation with CID (Cyanogenmod ID)
Change-Id: I3dc3ac7a17e053b45a3c085cb70c4c7fa5f8728f
2012-06-10 22:44:12 -03:00
Patrick Schaaf
1df348489c Rotate horizontal bootanimation 270 degree clockwise
Change-Id: Ia9bed3acae20e5b372ecb399fb6780b06b05940d
2012-06-09 17:52:08 +02:00
Steve Kondik
180e421219 cm: Updated boot animation featuring Cid!
* Designed by Cameron Behzadpour (xevin)

Change-Id: I99819caa7d20f699ab48be8e9ec6b03200c4449d
2012-06-08 10:01:23 -07:00
Alan Orth
fdbd0d2433 Add TITLE metadata to new ogg notifications/ringtones
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
2012-06-04 21:16:01 +03:00
Jeffrey Clark
59271884f8 Adds StraightTalk ATT and StraightTalk T-Mobile APNS
Change-Id: Idfeed69a234402e2959453a147895b37d8fc13a3
2012-06-02 17:17:04 -07:00
Steve Kondik
db73741655 Merge "added audio files contributed by "Dennis Cleiren"" into ics 2012-06-03 04:09:11 +04:00
ciwrl
2b652cd936 Large update to APN list
Change-Id: I7ddc4c98afada4b7f4ff050990232456aded2fdd
2012-05-26 15:20:43 -07:00
codeworkx
7dfaca379b added audio files contributed by "Dennis Cleiren"
Change-Id: I4266d72dc8975308fe47408a3a97ca234616a539
2012-05-22 23:36:03 +02:00
Steve Kondik
3808092d7d Add vertical-800x1280 animation from wizdom13
Change-Id: I871730fbbc6191cd6caab55c28081e891b7990db
2012-05-20 01:51:48 -07:00
Steve Kondik
45e2c50cfd Merge "Add bootanimation to Samsung P1 devices: vertical-600x1024" into ics 2012-05-05 14:17:10 +04:00
Andrew Crowther
08bdcedf39 Virgin UK apn settings corrected & conficting (mnc 30) Virgin entry deleted
Change-Id: Ia6f2dc41be1ef9aed4f0909386ae150ef3d5aa29
2012-05-05 02:19:33 -07:00
Steve Kondik
544f492da4 apns: Add SK Telecom roaming APN
Change-Id: Icfd0ae2cdb6d1b684f796f74d55b6237add7cad3
2012-04-24 09:32:09 -07:00
Humberto Borba
9fa4e69bcb Add bootanimation to Samsung P1 devices: vertical-600x1024
Change-Id: Id03a60326174fd99dd06d6eb87ed9d027f2593e5
2012-04-20 12:50:06 -03:00
eyeballer
018b5b62c4 backuptool.sh: Improve check for whether /system is mounted.
Fixes unable to flash an update.zip over a formatted /system

Change-Id: Ia163262585cb2ef414c6996837834c512d774243
2012-04-11 19:15:32 -04:00
James Sullins
eb7799c1b6 add userinit script(s) support
Allow user to provide userinit.sh and/or userinit.d/*
scripts under /data/local to be run on each boot.

Change-Id: I96f3034bcdea8d4cc75929d21b69efa31c1cb108
2012-04-10 11:40:12 -07:00
Ricardo Cerqueira
8a8254b4f6 Add AT&T LTE APN configuration
Not the default, though, since it only works for SIMs with an LTE
plan

Change-Id: Ia6e44e4b4ab4817d3014a653e5ac00513373e353
2012-04-05 18:44:47 +01:00
Steve Kondik
a8945756d9 cm: New boot animation from Cameron Behzadpour
* 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
2012-03-15 01:29:05 -07:00
Steve Kondik
b049d6e431 Merge "Update Free Mobile APN (France)" into ics 2012-03-14 10:58:05 +03:00
Florian Hatat
bc603d9262 Update Free Mobile APN (France)
Change-Id: Ic5c68e209c82a92ab157f9a2535b782f6657f564
2012-03-13 07:29:11 +01:00
Warren Togami
6f3d7a38aa CDMA specific apns-conf.xml.
To use, include this in your device's cm.mk:
$(call inherit-product, vendor/cm/config/cdma.mk)

Change-Id: I5651bf1ad702f7ed2afe49f0d74110c7921daeab
2012-03-10 14:22:26 -10:00
Jef Oliver
2de0bba259 Merge "Modular backuptool.sh. Executes backup and restore methods defined in arbitrary /system/addon.d/*.sh scripts." into ics 2012-03-09 10:07:33 +03:00
Warren Togami
b1637c8e2b Modular backuptool.sh. Executes backup and restore methods defined in arbitrary /system/addon.d/*.sh scripts.
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
2012-03-08 20:40:36 -10:00
kallt_kaffe
b8fac54972 apns-conf.xml: Fix Mobifone APN settings.
A Mobifone user contacted me and alerted me that the APN settings for Mobifone was wrong and provided the correct ones.

Change-Id: I8a6b9bde39d7394db2fdf7261b2a8026692fb808
2012-03-05 10:31:48 +01:00
codeworkx
dd5be36f6c added audio files contributed by "Dennis Cleiren"
Change-Id: If10709db3a35e195ed4bf53e7b934d4cc9fbc49c
2012-03-03 23:34:07 +01:00
Steve Kondik
2824bf86ba Fix overridden packages in backuptool
- Fix Gallery typo
 - Add QuickSearchBox override

Change-Id: I7ac14e62eebf4289a55d2d1f065d34866cb67abd
2012-02-29 15:42:19 -08:00
Steve Kondik
b3b545c4ff Merge "Ensure backup of voice search" into ics 2012-02-29 10:53:26 +03:00
Shawn Alty
5dda0a9e97 Ensure backup of voice search
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
2012-02-25 11:06:23 -06:00
Andrew Sutherland
258d2a7b58 handle_compcache: update props to match MemoryManagement in settings
Change-Id: I74ebcb03d5e096b8e9c71672a23b1c5a70eaef37
2012-02-22 14:55:53 -06:00
Ricardo Cerqueira
2dc7045f2b backuptool: Deal with multiple files with the same name
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
2012-02-18 12:28:37 -08:00
Steve Kondik
f342837e69 Revert "Remove gallery from backuptool"
This reverts commit 538b4e9eb4.
2012-02-15 16:33:52 -08:00
Steve Kondik
538b4e9eb4 Remove gallery from backuptool
Change-Id: Ide65c6810955b2be9bc582559c7ba23a0f47cd26
2012-02-10 10:18:52 -08:00
Pawit Pornkitprasan
e1a85eee04 Update MMS APN for Israel
Ref: http://forum.xda-developers.com/showpost.php?p=22210006&postcount=11953

Seems to match other sources on the internet such as http://wiki.apnchanger.org/Israel

Change-Id: I3669ac0f54eeb4e50b7ff1e90e45136378a99773
2012-02-06 20:44:21 +07:00
Mike Kasick
511d60900a Don't export PS1 in /system/etc/mkshrc.
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
2012-01-26 17:54:31 -05:00
Steve Kondik
387e44993c Merge "vendor: add camera effects prebuilts" into ics 2012-01-15 01:49:01 +03:00
fitsnugly
c1c6ce2414 vendor: add camera effects prebuilts
Change-Id: Ib9ea7c84f43eb5e0451cfecd41d8885e901ea8d4
2012-01-13 20:43:24 -05:00
Tanguy Pruvot
8b24895b20 apns: add entry for the new free mobile operator (france)
Change-Id: Ic6e76b6ca0044cc628dea807fa0badb9ea9bb520
2012-01-10 18:49:55 +01:00
Steve Kondik
f67c4aedf9 cm: Update backuptool for calendar
Change-Id: I882a9e108304649c491b539a7453e29098208b11
2011-12-30 11:31:01 -08:00
Steve Kondik
25d7ca1628 cm: Rename modversion to cm.version
Change-Id: I73da7816fec34e892ee54e1782a18ec1c42863b4
2011-12-29 15:29:34 -08:00
DvTonder
c61cb9242e Backuptool: Add missing google apps files
This commit adds additional gapps files missing from the backuptool

Change-Id: I2848d06c23083def8e92dbf3cf1c024883fb874d
2011-12-26 20:43:28 -05:00
DvTonder
147fb1b1cb backuptool: add missing CalendarProvider.apk
This fixes the broken Calendar Sync after restore

Change-Id: I2ea6c328f64d8fa3022238072cde36f6cb92105d
2011-12-26 11:36:16 -05:00
Steve Kondik
e0711e11f8 cm: Remove junk from backuptool
Change-Id: I1d290c0d685b032fd064cd1fc6b1474359c82c36
2011-12-20 12:51:49 -08:00
Tanguy Pruvot
763624824f Missing Maps.apk in backuptool.sh 2011-12-18 21:32:41 +01:00
Ricardo Cerqueira
e1f3738e7c CM9: initial CM vendor setup for Android 4 2011-11-27 20:15:37 +00:00
Ladios Jonquil
20ac4cd470 gsm: Show localized SPN only when it matches system locale (2/2)
depends on http://review.cyanogenmod.com/10037

Change-Id: Ib405e100ff2d86d5e49c6a47f570df098b9bdcbf
2011-11-13 03:09:15 +08:00
Giulio Cervera
91d5b38230 cm: updated 'download space check' init script
increase required space needed for market downloads from ~20MB
to ~60MB (~105MB if system dalvik is on /cache)

Change-Id: I52fcd648374db4bf73ff478e9991a6a3162521d5
2011-11-02 15:53:15 +01:00
Steve Kondik
d1842b6d81 Merge "leo: remove 01modules, config.xml from CMParts" into gingerbread 2011-10-29 09:04:38 +04:00
Steve Kondik
41548347f5 Merge "gsm: Update SPN overrides list" into gingerbread 2011-10-29 08:09:07 +04:00
Arif Ali
5475a11125 leo: remove 01modules, config.xml from CMParts
Change-Id: I75198b25157a6606ebff04a30fc69e4b5196ff85
2011-10-25 16:39:25 +01:00
Laurent Monin
14b00a6cc3 Add Celcom Malaysia APNs
Change-Id: I91c56dfaf3091dd25cc81729dd2159261c2f262b
2011-10-21 23:11:38 -07:00
Steve Kondik
3ca58e0db3 Merge "Update the Virgin Mobile UK MMS APN definition" into gingerbread 2011-10-20 08:21:29 +04:00
Ladios Jonquil
af07e50c03 gsm: Update SPN overrides list
Change-Id: Ia869bd96d641a6f2e0164c869b76cb12d8336367
2011-10-16 00:12:01 +08:00
James Zdziebkowski
ec3c9da7e3 Update modelid_cfg.sh to copy correct firmware for ace nam
Change-Id: I030ffe733add1ba1112998d9d04dc4df210eced5
2011-10-07 08:57:46 -04:00
Pat Thoyts
1f937428d7 Update the Virgin Mobile UK MMS APN definition
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>
2011-09-30 09:30:22 +01:00
Steve Kondik
e4c61244e2 Merge "AicBootFix not needed with source audio Update DSP files for Inspire 4G" into gingerbread 2011-09-24 23:41:51 +04:00
James Zdziebkowski
76b051306e AicBootFix not needed with source audio
Update DSP files for Inspire 4G

Change-Id: Iff324e5318a97097734e3c392ab229258713ad4a
2011-09-21 14:34:17 +02:00
Steve Kondik
2c1e634f7b Revert "New AT&T APN data"
This reverts commit ec3aaca74e7426fc61010445c3257e6200eaa3b2.
2011-09-18 21:22:44 -07:00
Emilio López
2ee4917fd9 New AT&T APN data
Change-Id: I223bc9aac6873a14073ff29ce7a4775999a77e5b
2011-09-17 00:32:22 -07:00
Emilio López
e35e02907f Fix typo in APNs
Change-Id: I33153b7378d6376c20bab98de1756dac01b0bad4
2011-09-01 20:02:45 +00:00
Laurent Monin
d8607172c6 Add APNs for NRJ Mobile MVNO (using SFR network), France.
Change-Id: I50d316e64bfcbd3d529fac2eef9d27f463cc0e4f
2011-08-29 23:52:40 -07:00
Laurent Monin
ca5f8bba8b Drop unknown attribute "authenticationtype", never parsed
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
2011-08-29 23:50:25 -07:00
Laurent Monin
b5e56333da Fix bad attribute name vs carrier for Giffgaff MMS.
It seems such entries are coming from apps like APN backup&restore,
which have a slightly different format.

Change-Id: I51d949e4dc13e832c84ecccd66cd9cd723ea2ec4
2011-08-29 23:50:09 -07:00
Laurent Monin
fdc1a3e062 Fix APNs for OPT KNC, invalid attributes (ie. name instead of carrier)
This issue appeared in commit 7df886e58d2ff8d9afa9c3bb2112dc74b66c0a7e

Change-Id: Icbfaf8481b5b051ec131a21b34558e98ab19ab07
2011-08-29 23:49:42 -07:00
fuzz
ea3db5ed80 Add NTT Docomo APN data
Change-Id: I43ddd5edcdad49bcdc053972eebf973b2493f1ed
2011-08-29 23:49:23 -07:00
David Lebel
a4746c0a6c Add Videotron APN data.
Change-Id: I2d8b8e2fb578527bb63f47f68fa9d1f1ea8c73fb
2011-08-29 23:49:05 -07:00
jt1134
6cb24c1fa7 add Cellular South apn
Change-Id: I5edd2e31bd2337980969eabeafbde06c409929be
2011-08-29 23:47:40 -07:00
Laurent Monin
8b2ce2ec42 Remove duplicate three.co.uk mms APN.
This duplicate appeared with commit 294302200411907d848a0f51652a233398056360
"apn list refresh from paulweiss"

Change-Id: I0b66591088f67d04e8b7f94ebc5d1e41b1c45596
2011-08-28 23:46:41 +01:00
Andreas Oeldenberger
28e4bfb4db APNS: remove E-Plus WAP APN
WAP APN is shadowing WEB APN as default and might not be usefull at all(?).

Change-Id: I5555ce5b05233a2dc80073d9fa4fb75734e60995
2011-08-26 15:17:15 +02:00
Emilio López
d641b9c778 Add CGI Wireless APN data
Change-Id: I0d73b46c39a474cc8129fc13e8d3604aebb56b95
2011-08-14 01:42:17 +01:00
jt1134
df2525e278 add US Cellular apn
Change-Id: I189cd5268d0c79b61d037360b77e6e405b23ba8e
2011-08-08 15:30:54 -05:00
Stefano Picciolo
30eb9065bd Delete duplicate Wind IT apn
Change-Id: If277e1cae0fa590f1ff392f8dfe4155ec501fa84
2011-08-06 16:15:49 +02:00
Giulio Cervera
e4600998e6 Cosmote Broadband RO apn
Change-Id: I83efb8998956eacbbc3ccc188affe469360e0e74
2011-07-27 10:55:27 +02:00
Quarx2k
fdd96a84b0 Add Tele2 RU to apns-conf.xml
Change-Id: I882f289c11d5b6a0a962342f94f69ba802db4316
2011-07-17 13:42:10 +07:00
Russ
100f2a2fa4 Change Giffgaff dual APN to more commonly used single APN
Change-Id: I8fca643f8667050dd373cef45a5b4cf8db7b9e8a
2011-07-09 09:38:02 +01:00
Alex Zepeda
fc31db5886 Add Virgin Mobile US to apns-conf.xml.
Change-Id: I0cd3851ac5e4f9169461da01feabbe2d7da53802
2011-07-09 03:22:26 -04:00
Tomaž Podgoršek
eff181234c Fixed APN settings (Si.mobil)
Change-Id: I51577dc820e5d66bb5fa980b59e1386ae66b566e
2011-07-07 12:26:36 +02:00
Ph4nt0m
f5b7f2c205 Edited Tusmobil settings in "prebuilt/common/etc/apns-conf.xml" 2011-07-05 17:32:04 +01:00
atinm
d00d31d04e fixed typo in Rogers MMS setting
Change-Id: Ib64f8a7facdfc44ec9859d90b20df748e52d28b6
2011-06-26 18:15:42 -04:00
Stefano Angeleri
fceba2d7b2 Added missing TIM IT wap apn. It's needed to allow some offers to work.
Change-Id: Ia9ba793c6f96bd0a5285a2eab38cc8a36594e286
2011-06-18 21:15:05 +02:00
Steve Kondik
4ff97d51cb Quiet down this init script
Change-Id: I007e4e2bb5c0dbad233ed2655cf941d51064d901
2011-06-18 12:42:06 -04:00
mik_os
8449c14dd9 Add new APN for MTS UA and set it by default.
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
2011-06-16 16:26:37 +03:00
Tanguy Pruvot
1ef50758c3 Recovery BackupTool: add system mount check to prevent (u)mount if already mounted 2011-06-15 10:42:18 +02:00
Ladios Jonquil
262bd3ce6c gsm: Add SPN overrides list for localized carrier names
Change-Id: I8c51eb9e571f049d9b93e81fee4e574abca9d68a
2011-05-28 05:18:02 +08:00
PaulW
cfe876cefb Update backuptool.sh to correctly process force_backuptool flag/file.
This is regarding the following patch:
5cdb4ec653

The patch which was to allow custom_backup_list.txt to be maintained while flashing via ROMManager
WHILE the flag/file force_backuptool is set/present still has issues.  There are 2 reasons for this.

1) The flag is only checked during the first pass (backuptool.sh backup), as once /etc/force_backuptool
   is known to exist, all files are moved to /tmp/backupdir as designated, but when the script is
   ran again once /system has been wiped and updated, the file /etc/force_backuptool no longer exists
   as it was moved to /tmp/backupdir/force_backuptool, so the script fails as it is not checking that
   location.

2) When the backuptool.sh script is called, the above function (checking for force_backuptool) is called
   *before* the /system partition is mounted.  This therefor ignores the file regardless of whether it
   exists or not.  This is caused by check_installscript being called at the wrong point of the script.

There are therefor 2(two) main changes to this script to allow the force_backuptool override to work.
The first being within the main function of check_installscript, and the second being the location of
where check_installscript is called (ie, I moved it to below check_prereq call in the case statement,
as mounting is called before the check_prereq function checks if the ROM version is the same).

This affects *all* devices.

Change-Id: Ia7438f396eaa91b0723e56bb32ce98725e2b2025
2011-05-17 17:49:39 +01:00
Steve Kondik
6e212cf45f cm: Update APK name of new Kineto app
Change-Id: I46c18bde4654f11969137be3be954206f9620d81
2011-05-16 22:38:17 -04:00
blunden
05bd2e3cf0 Update backuptool.sh for new Gtalk app and lib
The new Gtalk app with video and voice chat from the Nexus S
OTA update is currently not backed up by the script because
Google renamed it Talk2.apk and added a new lib for it.

Change-Id: I2b0245d561584fa4d84e7d424653543d723a1ac6
2011-05-04 12:56:18 +02:00
Giulio Cervera
052a7b2e02 cm: remove tmp file on boot
Change-Id: I5bf329663e675fa98e8e269a67b56fc28d37591e
2011-04-26 01:05:34 +02:00