Commit Graph

259 Commits

Author SHA1 Message Date
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