Commit Graph

212 Commits

Author SHA1 Message Date
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
Ricardo Cerqueira
2526fef627 cm: Start bundling the updater
And remove the now-redundant ROM Manager

Change-Id: I7664f8a3c21b2a7dd817a68e8ff38f1f96c029cc
2012-09-29 17:23:32 +01:00
Steve Kondik
1949eb5c59 cm: Build the commandline tools
Change-Id: I854fffb3773524fbc66e32ccf0ab6f3697e61a46
2012-09-20 17:09:07 -07:00
Steve Kondik
abfc079413 cm: Compile Superuser from source
Change-Id: I988d7998bbac3a44770ea8d5fd0564afbca7bedb
2012-09-20 10:26:25 -07:00
Andreas Schneider
a69dc02138 cm: Move wallpapers to a common_full Makefile.
This reduces the size of the mini phone but keeps all feature to full
phone and tablet config.

Change-Id: I9fcc64221b95ba005c6045b97a5502359bfd481d
2012-09-14 01:18:53 -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
Chirayu Desai
4bacf67257 config: build rsync
Change-Id: Ic88bb9848074b7ee87e3182f46fb1865d04f6033
2012-08-19 17:41:27 +05:30
Chirayu Desai
8636d6746a build openssh packages
ssh sshd scp stfp <3

Change-Id: Ib5dd2d687de34e1d46401f2f40c258677caf0a84
2012-08-15 01:29:10 +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
Brint E. Kriebel
c2a88d6730 build: Add missing nam configuration script to PRODUCT_COPY_FILES
Change-Id: I5af83a2f0628844f8e79be9ea4c55714d179d036
2012-07-11 14:21:15 -06:00
Ricardo Cerqueira
ed3e91ee1a cm: Bump version to 10
Yay! Jellybean!

Change-Id: Idc964de1e6360630ea99fa54635e56561dcb8d63
2012-07-11 16:05:12 +01:00
Ricardo Cerqueira
3ff9b6fb5b common: Updated permission file path
Change-Id: I526c86618ff9c9c36b22d989873da83756e4a9fd
2012-07-11 11:21:50 +01:00
Steve Kondik
089802803f cm: Add e2fs progs to the build
* Herp
 * Derp

Change-Id: I25d205b19277725f371062fca95d5e86ede5cf3c
2012-07-05 01:20:47 -07:00
Steve Kondik
628df87e28 cm: Bump version to 9.0.0-RC1
Change-Id: Ib92d58910d255af6090898772af6367c887835c2
2012-06-14 00:23:28 -07:00
Ricardo Cerqueira
d8e7666540 Reset tags for UNOFFICIAL builds
Don't force a buildtype unless one is actually set. Anything without
a type is UNOFFICIAL

Change-Id: I38742485e580e21c51ee5e3f10467e7afbf247d9
2012-06-08 11:08:15 +01:00
Warren Togami
2128e2f956 Simplify ROM filename, s/SNAPSHOT/EXPERIMENTAL/, other cleanups
* Remove "update-" prefix and "-signed" suffix.
* Replace SNAPSHOT with EXPERIMENTAL (arcee).
* If CM_EXTRAVERSION, force to type EXPERIMENTAL.
* UNOFFICIAL builds now with datestamp in the same manner as NIGHTLY.
* date -u uses UTC timezone for consistency.
* Remove some CM7 dead code.

Change-Id: I681fd92e27aaf62c50eae20265ce07c67d477bca
2012-06-07 13:44:06 -10:00
Trevor Gill
dd55974cfe Added a '-' so that CM_EXTRAVERSION isn't squished into the device name
Patch 2: Fixed the possibility of no CM_EXTRAVERSION resulting in 2 '-' at the end of the file name.

Change-Id: I3025977a5da1e28247c74416e1ac50fc6901eb23
2012-05-28 05:33:33 -07:00
Simon Davie
2899cb397a cm: Update extraction of Android Terminal
libjackpal-androidterm3.so is now libjackpal-androidterm4.so

Change-Id: I2506fe691fd385a131e3fbb4a06f776e02fa77bf
2012-05-26 13:14:50 +01:00
Ricardo Cerqueira
3dc4354854 Revert "Revert "Add Apollo to list of built CM apps""
All done, apparently

This reverts commit 30ba700e9b
2012-05-25 04:31:26 +04:00
Ricardo Cerqueira
30ba700e9b Revert "Add Apollo to list of built CM apps"
This reverts commit 25eaed1829

It only works in XHDPI phones, it's missing drawables for other resolutions and layouts for tablets.
2012-05-22 02:23:28 +04:00
Ricardo Cerqueira
25eaed1829 Add Apollo to list of built CM apps
Change-Id: I63249d277745720a14a43fe214cb04a4135def2b
2012-05-21 11:38:26 +01:00
David Thompson
5538d133f3 Remove build display id override
Change-Id: I5531ed09c6bd732d2022051b8bd0ce90ff0a0892
2012-05-09 00:38:10 +01:00
Ricardo Cerqueira
9f75d84972 Add Theme Engine to the builds
Change-Id: I57568ebef3f9800e0ad7c39b6352186470ad9f08
2012-05-06 23:24:36 +01:00
Steve Kondik
fcc1610594 cm: Add CMWallpapers
Change-Id: I4d06c672ede46db9a3423e82a3d6bf910d028941
2012-05-05 16:23:24 -07:00
Sebastian Schmidt
7d5de0c5dd Add OpenVPN to the build
CM used to build OpenVPN but the change was lost in
e1f3738e7c. This adds it back.

Change-Id: I4c7e2c638a29ec184ff67ac096bf08cd2e126cab
2012-04-15 11:39:25 +02: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
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