Commit Graph

1339 Commits

Author SHA1 Message Date
Steve Kondik 7f9ee227dc Merge "Croatian LatinIME dictionary" into ics 2012-03-09 09:42:27 +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
Steve Kondik 0624f43180 Merge "apns-conf.xml: Fix Mobifone APN settings." into ics 2012-03-09 09:36:59 +03:00
Warren Togami ce375df5ab SpeechRecorder is missing from -userdebug
Change-Id: I86a37a2d59d16042dc2ff5d0fce87d63c3082b30
2012-03-06 00:08:01 -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
navdra 50ac435001 Croatian LatinIME dictionary
Change-Id: Iebc1f18f8a63530d6c2bb3df0381c29dd34c51f1
2012-03-04 22:15:56 +01:00
Steve Kondik 4233c20e60 Merge "added audio files contributed by "Dennis Cleiren"" into ics 2012-03-04 03:37:14 +03:00
codeworkx dd5be36f6c added audio files contributed by "Dennis Cleiren"
Change-Id: If10709db3a35e195ed4bf53e7b934d4cc9fbc49c
2012-03-03 23:34:07 +01:00
Diogo Ferreira 8c67daebf8 cm: Add 2011 SEMC devices
This commit adds support for the following devices:
anzu: Xperia Arc / Xperia Arc S
coconut: Xperia Live With Walkman
haida: Xperia Neo V
hallon: Xperia Neo
iyokan: Xperia Pro
mango: Xperia Mini Pro
satsuma: Xperia Active
smultron: Xperia Mini
urushi: Xperia Ray
zeus: Xperia Play GSM

These devices require the following additional repositories:

android_device_semc_msm7x30-common | semc/msm7x30-common
android_device_semc_mogami-common | semc/mogami-common
android_device_semc_zeus-common | semc/zeus-common

Change-Id: Ia133717024d04711c725f78cf5cc9ef3a592b824
2012-03-02 11:01:41 +00:00
kallt_kaffe f8fadb4ce1 vendorsetup.sh: Add p5 and p5wifi (Samsung Galaxy Tab 8.9 P7300(3G+wifi) and P7310(wifi-only))
Repos that needs to be forked:
https://github.com/kalltkaffe/android_device_samsung_p5-common
https://github.com/kalltkaffe/android_device_samsung_p5
https://github.com/kalltkaffe/android_device_samsung_p5wifi

Proprietary files:
https://github.com/kalltkaffe/android_vendor_samsung_p5
https://github.com/kalltkaffe/android_vendor_samsung_p5wifi

Known issues:
- Camera is not working.
- Compass is 90 degrees wrong.
- Rotation animation "blanks out" before it starts.
- Voice calls (p5 version) isn't working although some report recieving calls work while outgoing calls is not.
- HDMI output is rotated 90 degrees.

Some more info:
Most of this is based upon the p4/p4wifi repos as it shares a lot with the p4 and I've forked pershoots p4 kernel and modified it to work with the p5.
It's very stable and can be used as a daily driver, the biggest limitation is the lack of working cameras (imho).

Kernel source: https://github.com/kalltkaffe/galaxy-2636

Change-Id: Iab45d767eb5916cc35bed8e7611123af4a44e861
2012-03-01 22:17:15 +01:00
Steve Kondik fa29585608 Merge "Fix overridden packages in backuptool" into ics 2012-03-01 20:32:22 +03:00
BumbleBee ad25568c25 Add tf101 and tf201 to vendorsetup.sh
Change-Id: I6c6fa75dba6d613fd41af6c77268bb592a2de192
2012-02-29 17:21:19 -08: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
codeworkx 24f1966a7f vendorsetup: add galaxys2 lunch combo
Change-Id: If66d8f1fc0521e7fb67711ff8b7a59eb57b1b606
2012-02-29 19:55:41 +01:00
Steve Kondik b3b545c4ff Merge "Ensure backup of voice search" into ics 2012-02-29 10:53:26 +03:00
Steve Kondik c81b8cdfa3 Merge "handle_compcache: update props to match MemoryManagement in settings" into ics 2012-02-29 10:36:00 +03:00
Steve Kondik ed69bd6f48 Merge "LatinIME: Add official Czech, Russian and Dutch dictionaries" into ics 2012-02-29 10:15:15 +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
Koushik Dutta 0f1ea3a21d fix up the version/date so it actually goes in ascending order.
Change-Id: I0172d1e8afd0556a22cbccc93597f33e3b9ca99e
2012-02-24 13:50:18 -08:00
Koushik Dutta 45130b4332 fix buikld
Change-Id: Id6fb8c83566aa678bb90ebb85bad4d06b2559916
2012-02-23 16:05:14 -08:00
Koushik Dutta d69b2920af cm verison cleanup, modversion legacy support
Change-Id: I2af5640ff319bb5861df08338e612c5eab3c6831
2012-02-23 14:07:44 -08:00
Koushik Dutta 4102233330 use PRODUCT_DEVICE everywhere instead of PRODUCT_RELEASE_NAME. It is more consistent and friendlier for automated tools.
Change-Id: I48c6779fa1ef7b59662a21dfdc0400c80b0e2eaa
2012-02-23 14:05:40 -08:00
Andrew Sutherland 258d2a7b58 handle_compcache: update props to match MemoryManagement in settings
Change-Id: I74ebcb03d5e096b8e9c71672a23b1c5a70eaef37
2012-02-22 14:55:53 -06:00
Warren Togami 5960a70595 Add SoundRecorder.apk to -userdebug
Change-Id: I096ab50a56c658db570cc99021a466bb24174b8c
2012-02-22 09:22:42 -10:00
blunden 74417838d6 LatinIME: Add official Czech, Russian and Dutch dictionaries
Change-Id: I6a7e097613d866c463d591968b367233d5113b0d
NOTE: Please test them if you use any of these languages.
2012-02-20 18:05:42 +01:00
Steve Kondik fa95dd2a4b Remove CMStats, now part of Settings app.
Change-Id: I749c63e9a410b1b46bcaec04ed24b521416854de
2012-02-18 13:52:49 -08:00
Steve Kondik bc1f988afa Merge "Add CM_SNAPSHOT ro.cm.version label option for SNAPSHOT builds." into ics 2012-02-18 23:55:31 +03: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
Mike Kasick 06b4c76dea Add CM_SNAPSHOT ro.cm.version label option for SNAPSHOT builds.
Scheme for labeling date-encoded builds that aren't technically NIGHTLIES.
Also includes CM_EXTRAVERSION appendage to add additional designations to
SNAPSHOT builds.
2012-02-18 14:34:37 -05: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
Steve Kondik 5ba0590eaa Merge "Update MMS APN for Israel" into ics 2012-02-07 03:10:49 +03: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
Shareef Ali 811417d922 add epicmtd to lunch combo
Change-Id: I322eb5612e4d1044476da66c575d57cac71fbb8e
2012-01-31 16:56:51 -05:00
Steve Kondik 6108be63e6 Merge "Add Greek dictionary" into ics 2012-01-29 02:59:09 +03: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
Giulio Cervera a0fae84b85 CM: add Evo 3D GSM
Change-Id: I6bd282ea89f7108004cd2e5455db695414bbebd0
2012-01-26 09:43:50 +01:00
Brint E. Kriebel 53c181de72 all: Add CMStats to common PRODUCT_PACKAGES
Change-Id: Iea26ef51adaadf41407ac2eed7a6b2ca71655335
2012-01-25 20:52:40 -08:00
Steve Kondik e1e63b3c1a Merge "add tenderloin device" into ics 2012-01-26 07:51:54 +03:00
L10nH34Rt 7fbf348b6f Add Greek dictionary
Change-Id: I249181bc85c6fd5969485c82f4b289fe0568f107
2012-01-21 16:26:40 +02:00
Dalingrin 23e02eb7e6 add tenderloin device
Change-Id: I5bf7c00286ff195fd093344ec5cc61b40d54318d
2012-01-18 13:48:16 -06:00
fitsnugly 407b399e5e vendor: add camera effects videos
Change-Id: I85a170723b21c86cd01b7ae88df19a39faa959a4
2012-01-14 18:50:25 -05:00
Steve Kondik 387e44993c Merge "vendor: add camera effects prebuilts" into ics 2012-01-15 01:49:01 +03:00
Steve Kondik 38b865c7ad Merge "apns: add entry for the new free mobile operator (france)" into ics 2012-01-15 01:38:39 +03:00
Steve Kondik cef7ddc5a3 Merge "Changelog: Saga contributor update." into ics 2012-01-15 01:35:22 +03:00
toastcfh 3b78629952 vendorsetup.sh: add shooter to supported device list
Change-Id: Ibb412be096065293ad006ea39e9f0862bb87918d
2012-01-14 14:23:52 -08: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
Simon Davie f9a7dc7f45 Changelog: Saga contributor update.
Change-Id: Id84b30fc95f0cf2ceadeebb09d9863fa4d950944
2012-01-08 20:05:34 +00:00
Steve Kondik 14e4c880f9 Merge "LatinIME: Update all dicts for ICS" into ics 2012-01-08 09:33:30 +03:00