Commit graph

37 commits

Author SHA1 Message Date
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
Adam Farden
db2438bad5 Add common config for devices with low space on system
Change-Id: I4e63dc4d608ed79c36c6757b2ffbfc76cd3634e6
2012-04-07 22:40:38 +02:00
Steve Kondik
e0c12dad51 cm: Add CM-specific permissions
* These can be used if someone wants to filter for CM features
 * Basic feature com.cyanogenmod.android is included in all builds
 * Include nfc_enhanced on devices that have NFC

Change-Id: Ib7704b791c8916f1eabe5f40fd21e2f0005d32f9
2012-03-30 10:09:06 -07:00
Steve Kondik
ab1991f33d cm: Kill this meme already.
* Change -KANG to -UNOFFICIAL since too many people just don't get it.

Change-Id: I1992c0dab85f54c23ed4553a3c649775ade55893
2012-03-29 15:27:14 -07:00
Ricardo Cerqueira
1bc652f6dc cm: Update displayed build ID for 4.0.4
Change-Id: I46c14097d2e90a984ffbe11964fa6c99d13b25c6
2012-03-29 11:24:38 +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
Warren Togami
d4358abf13 Revert "SpeechRecorder is missing from -userdebug"
Change-Id: I48ecbf393674b6642f645b64caec1b61d3aae3ae
2012-03-14 19:41:15 -10: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
Warren Togami
ce375df5ab SpeechRecorder is missing from -userdebug
Change-Id: I86a37a2d59d16042dc2ff5d0fce87d63c3082b30
2012-03-06 00:08:01 -10: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
Warren Togami
5960a70595 Add SoundRecorder.apk to -userdebug
Change-Id: I096ab50a56c658db570cc99021a466bb24174b8c
2012-02-22 09:22:42 -10:00
Steve Kondik
fa95dd2a4b Remove CMStats, now part of Settings app.
Change-Id: I749c63e9a410b1b46bcaec04ed24b521416854de
2012-02-18 13:52:49 -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
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
Brint E. Kriebel
53c181de72 all: Add CMStats to common PRODUCT_PACKAGES
Change-Id: Iea26ef51adaadf41407ac2eed7a6b2ca71655335
2012-01-25 20:52:40 -08:00
fitsnugly
407b399e5e vendor: add camera effects videos
Change-Id: I85a170723b21c86cd01b7ae88df19a39faa959a4
2012-01-14 18:50:25 -05:00
fitsnugly
c1c6ce2414 vendor: add camera effects prebuilts
Change-Id: Ib9ea7c84f43eb5e0451cfecd41d8885e901ea8d4
2012-01-13 20:43:24 -05:00
Steve Kondik
25d7ca1628 cm: Rename modversion to cm.version
Change-Id: I73da7816fec34e892ee54e1782a18ec1c42863b4
2011-12-29 15:29:34 -08:00
Giulio Cervera
f1510283a4 CM: update build id
Change-Id: I4ca2d85705c0bac6ce8458a510f4a8030afbe2f5
2011-12-24 04:30:12 -05:00
nebkat
0acffd545d Add Trebuchet launcher
Change-Id: Ibe3e33cd6aeb1e464217ef15cd95f81153965f1c
2011-12-22 17:03:48 +00:00
Steve Kondik
e0c297da83 cm: Add missing packages
Change-Id: Idf090bdbdcf7fd0ed2c68faa63413c8f246e02ed
2011-12-20 16:16:01 -08:00
Steve Kondik
254db262d7 cm: Add common overlay, set backup transport
Change-Id: Ic9a9822d790fefbdb2fe4a4b4cde762f0c10cd86
2011-12-20 15:02:07 -08:00
Steve Kondik
485527d704 cm: Support for sysinit and compcache
Change-Id: If292a6803a78582dcee50e31bdf6a2731debcc2a
2011-12-20 12:14:54 -08:00
Steve Kondik
a25e4e0a8e cm: Add prebuilt Android Terminal Emulator + fixes
* Rename get-rommanager to get-prebuilts
 * Add audio_effects.conf to the build

Change-Id: I1e98aeeada645d9588b6841de846e4e38a44756b
2011-12-14 22:27:59 -08:00
Steve Kondik
04a4941417 cm: Add DSPManager 2011-12-14 14:02:19 -08:00
Steve Kondik
7ae102ea38 Enable all LWPs
Change-Id: Ib5d1b69979af077eb84cccd48851832eba243a63
2011-11-30 22:24:18 -08:00
Ricardo Cerqueira
6ed03ff4aa Re-add brand variable
Accidentally dropped in change If1a7835aca0832e41e664caed373707ce711f08a

Change-Id: I12857ee33b95adb30b8ad347ab277c2acc221657
2011-11-28 17:25:14 +00:00
Koushik Dutta
3c8136b773 Merge branch 'ics' of git://github.com/CyanogenMod/android_vendor_cm into ics
Conflicts:
	config/common.mk

Change-Id: I6a26a57eda383ffdb51bfe89d4f5ea5dc7602bac
2011-11-28 07:45:10 -08:00
Koushik Dutta
c6f7a49065 Remove common_versions.mk, and include it in common.mk. No reason to require inheritance from two product files.
Change-Id: If1a7835aca0832e41e664caed373707ce711f08a
2011-11-28 07:44:23 -08:00
Steve Kondik
0051ed6602 cm: Fix name of HoloSpiral LWP
Change-Id: I8abcc52922da3e9cc67a5356ccbc97823e713849
2011-11-27 22:15:35 -08:00
Koushik Dutta
74d3badb70 Add VoiceDialer and VideoEditor
Change-Id: I0f899ec8ae0a60833bdfdc40d511d86ce2499b21
2011-11-27 13:00:30 -08:00
Koushik Dutta
8387c32892 Add dictionaries. Add new audio packages.
Change-Id: Ic58ab2bb8b089288abea59ebede50408af3e3112
2011-11-27 20:15:38 +00:00
Koushik Dutta
05dc42e732 fix apns and missing superuser. 2011-11-27 20:15:38 +00:00
Ricardo Cerqueira
e1f3738e7c CM9: initial CM vendor setup for Android 4 2011-11-27 20:15:37 +00:00