Commit Graph

169 Commits

Author SHA1 Message Date
Pawit Pornkitprasan
a082e90c04 cm: only include WhisperPush in telephony-enabled devices
No point having it in Wi-Fi-only tablets

Change-Id: Iceacb99ab8d10c565896ad89da8ba533de83dc31
2013-12-13 18:17:08 +07:00
Abhisek Devkota
381a305718 Add CM Legal (1 of 2)
Allow defining a ro.cmlegal.url to for T&C and Privacy Policy

Change-Id: I45ffbdd9e472e258ed8c5a63dff0f3b9c7bc04e2
2013-12-10 04:35:08 -08:00
Chris Soyars
4d758b16c9 Include WhisperPush with CyanogenMod build
Change-Id: I63fddfbc144cd8d8dbc797dc87d0897345bb0f79
2013-12-09 17:12:01 -08:00
Michael Bestas
ff4943e7f1 Remove CM9 bootanimation handling
* Kill this already, all devices should have migrated by now

Change-Id: If8032b47e969c92ece939af55d963423a18e1f3c
2013-12-08 01:04:18 -08:00
Ricardo Cerqueira
178ca721b4 Always build the updaters
The separation logic is from signing key, not build type. Let
the app makefiles decide

Change-Id: I71286d83148454d77c5e8c35b8c25762ea2d34d3
2013-12-08 01:04:18 -08:00
Ricardo Cerqueira
ae71f04d55 Incorporate TARGET_VENDOR_RELEASE_BUILD_ID into the build identifier if it exists
Change-Id: I24d422abd3817c55cffe17166fb30d7efe48e0a0
2013-12-08 01:04:18 -08:00
Koushik Dutta
41fd0aab57 Add CyanogenMod Mobile Services prebuilt.
Change-Id: I477b7b3c230a87926a97be8c17c834a355671ab2
2013-12-07 22:26:37 -08:00
Steve Kondik
5a27f63685 cm: Allow devices to set the GMS client id
Change-Id: I6fdf3817a292ac64291e8f9506eddd7d33059344

cm: Actually add the custom clientidbase

Change-Id: I8105f2cd13c26777f59f1926f378f52c1152cd0d
2013-12-07 11:09:06 +00:00
Steve Kondik
275701b519 cm: Remove procmem and procrank from user builds
* These need to be installed setuid, which is a no-no for CTS.

Change-Id: I68d111db2db675116e214108776aa13c848d0c9a

Put procmem and procrank back into non-user builds

Change-Id: I193a9607dad40043649de6fea1f9bf0ab0c437f1
2013-12-07 11:08:42 +00:00
David Ferguson
f474b12932 add libemoji to common build
* this one goes out to all the ladies

Change-Id: I3c183c082927b12b34b4e2a6121dbdc5a6775427
2013-11-10 19:39:36 -05:00
Ricardo Cerqueira
8521d46944 selinux: CM policies are now inserted last
Inclusion of the makefile is done by the build system to enforce
the wanted order

Change-Id: I86d7c6fb08b6bb1f6e0385e951a54827345aaf84
2013-11-05 22:19:33 +00:00
Ricardo Cerqueira
50dda4c2a9 Updates for CM11
Change-Id: Icb527c5aefa0dd86cc91f42f4f691b5fdf7ead48
2013-11-05 15:26:20 +00:00
Ricardo Cerqueira
178dbd6829 keys: Updated path for the signing makefile
Change-Id: I0b293829539682a8fc3b4b672f488b5c53f81282
2013-10-23 20:59:03 +01:00
dhacker29
d22f39ffb3 No need to override mkshrc as it no longer exports PS1
busybox sh works fine with the one in android_external_mksh

Change-Id: I09ae2d16837053ea0be50d3320eccf47057e25c1
2013-10-22 15:46:47 -05:00
Ricardo Cerqueira
9cd218c54b Merge "Revert "Disable excessive dalvik debug messages"" into cm-10.2 2013-10-22 16:51:33 +00:00
Michael Bestas
52c5eb47e5 Revert "Disable excessive dalvik debug messages"
This reverts commit 1f2a3d42ca.

Change-Id: Id3d8c92698d3874e15234d321a7bb1405041b7cf
2013-10-22 03:28:45 +00:00
Ricardo Cerqueira
a21887e878 Remove Term, su, and CMUpdater from user builds
Also, set the default root_access property to 0, and
explicitly add to the build packages tools we always
want, to avoid relying on PRODUCT_TAGS that may change
upstream

Change-Id: Iecfb8501cfb2f556d5cafe7d18d06539c0433839
2013-10-19 09:45:47 +01:00
Michael Bestas
1f2a3d42ca Disable excessive dalvik debug messages
Change-Id: Id95875f577348713ab46a055d225e73055b9aea8
2013-10-11 23:25:53 +03:00
Steve Kondik
bc68cf2cc0 cm: Skip backuptool on GMS builds
Change-Id: Id0cf16551b87be2d218f04b0d5a158d88ace4e74
2013-10-06 22:41:52 -07:00
Ricardo Cerqueira
554f3703e5 Refactor versioning
* Replace the 1-to-1 variable-to-buildtype stuff with a single
  environment variable. CM_[TYPE]=true becomes CM_BUILDTYPE=[TYPE]
* Change the placement of the extra version tag: 10.2-21234567-TYPE-model-TAG
  becomes 10.2-21234567-TYPE-TAG-model, for consistency with the rest.
  The last component of the version should always be the model.
* Add support for the SNAPSHOT build type, for use with the monthlies
* Unknown types will still fallback to UNOFFICIAL
* Accept the jenkins RELEASE_TYPE variable as an alternative to
  CM_BUILDTYPE for compatibility with older branches

Change-Id: Idf96c7ca887747a5ae49a17cf5adf642fb1d561f
2013-09-28 15:31:18 +01:00
Steve Kondik
7439296afe cm: Build the BluetoothExt package
* This package contains Bluetooth profiles implemented by Qualcomm on
   top of Bluedroid.
 * Currently contains support for MAP and FTP profiles.
 * Also included is BTC for wlan coex on QC chipsets.

Change-Id: I933b14de4576691c31087c9de4d60f21cbe3678b
2013-09-19 19:53:08 -07:00
Steve Kondik
e4801d125a cm: Remove Focal
* There are a number of issues with this app, and it's currently not
   working very well on most devices.

Change-Id: I36094c68fa0f642921d478aa72387bce2b88a224
2013-09-19 14:13:50 -07:00
William Roberts
4256e66a1b Use PRODUCT_BOOTANIMATION instead of COPY_FILES
Change-Id: I10f6db5687ba2a3724a00b94bc7592dbd6405b82
2013-09-04 13:18:48 -04:00
Pawit Pornkitprasan
04ffabe3dd Use Package Manager to disable stock OTA
This reverts commit ea14a88a2a.

Using the Package Manager prevents any danling wakelock from
killed service/receiver.

Change-Id: Ie3162ca4b18a7bc9c55613af39e88ea980407e5f
2013-09-01 16:29:16 +07:00
Ricardo Cerqueira
ea14a88a2a Prevent stock OTA activities from running in CM
Change-Id: I3f586cd246fc351afb82c94f41329bf930f6f41a
2013-08-27 22:15:26 +01:00
Michael Bestas
848f3f5d34 Don't include VideoEditor in mini_phone/mini_tablet configurations
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Ib95abd1541ca31b0480c0e2c433ffa6faabdc37d
2013-08-25 06:58:46 +00:00
Giulio Cervera
b6f18ffe8a cm: Add CMAccount to the build
Change-Id: I28bf86f4752bbd30f86413a304ed21092c043e52
2013-08-25 06:35:44 +00:00
William Roberts
9642d1dd8b sepolicy: Start CM Common sepolicy
Rather than having to maintain out of tree changes, it is often
easier to maintain a hiearchy of changes, starting with the vendors
common config file. From there, inheriting products can pick up a base
and start to add or remove certain bits from it, making use of the
BOARD_SEPOLICY_* functions documented in external/sepolicy/README.

Change-Id: I28a4aaf6c126535f0a88001582641b234a750015
2013-08-17 22:27:45 +01:00
Ricardo Cerqueira
127ac8a44e Add a default root access mode.
Instead of relying on the Settings app code to assume a default,
actually set one

Change-Id: I2054bc0a793a79f7d26bc1bee23e097585a3b8c4
2013-08-15 00:15:07 +01:00
Koushik Dutta
45e6598078 add a hook to add extra packages
Change-Id: I1f955a59a18bda22c4431d05a426aab91764d20d
2013-08-12 15:41:14 -07:00
Ricardo Cerqueira
1780956d4f Build and bundle the hardware framework
Change-Id: I2e3b6d15b37134c000ca208bbc6158c6f3e56b9c
2013-08-08 00:50:26 +01:00
Ricardo Cerqueira
f383563305 Enable the SELinux dialog in Settings
Change-Id: Icc708416d062bc811c83bce0841331c84afcb3f6
2013-08-04 13:25:00 +01:00
Chirayu Desai
f61831643f Focal: Clean the lens, tighten the tripod, setup the light
It was a long a cold night of winter, and I said "Oh,
how cool would it be if I had a better camera!"
The lovely elf came and rang my doorbell, giving me
a package. Inside, there was something I've never
seen before: A mystic cloud where, while inside,
everything becomes possible. Where your wildest
creativity bits become a reality. Rainbows and
pink unicorns, this commit adds Focal to the build.

Change-Id: I7e0d14164405ef1c0b2faa46965f8ec3f38ab7df
2013-07-29 15:37:02 +00:00
Ricardo Cerqueira
154d029d9c Bump version to 10.2
Change-Id: Ic1810c62cc883c30e3c3e81b20aa4a8c5df74775
2013-07-25 01:12:16 +01:00
Koushik Dutta
8475d72646 Rename Babel to VoicePlus
Change-Id: I7ae779594cc2647e217ee6d66b7c7ed439ea250c
2013-07-21 09:34:19 -07:00
Ricardo Cerqueira
d2d1a7ffb1 Add SELinux filesystem relabeling to init
Since not all recoveries out there will support the OTA packages'
own labeling, check at boot if the system needs labels (and
apply them)

Change-Id: I58767977b90a78a12efe7bd9d713654eadf47e7a
2013-07-17 16:48:28 +01:00
Koushik Dutta
1f1434338b Add Babel in preparation
Change-Id: Ic40924702930fbc62708fe9c00cd0dd2fcfeaf28
2013-07-16 12:52:42 -07:00
Steve Kondik
2978e20d74 cm: Add ntfs-3g and exfat tools to the build
Change-Id: Ie4e3a82deb39a108c559fe698fefdf03f2237a71
2013-07-07 14:23:43 -07:00
Chirayu Desai
19425dde40 remove leading hypen from extraversion before adding one
Change-Id: Ia33f564d272cae14f300c18d783a108ad09dfef6
2013-07-03 13:07:18 -07:00
Ricardo Cerqueira
5ab6b93f24 cm: Include private signing keys if present
Change-Id: Ic96d4d49d821cb03d5318e3e9ad93d02fb92573e
2013-07-02 10:42:12 +01:00
Ricardo Cerqueira
b409a89752 Bump version to 10.1.1-RC0
This should've been done almost 2 months ago when we cut 10.1.0...

Change-Id: I628d688cddb6d5cb48f1fb97fb834664b47e2053
2013-06-24 23:10:31 +01:00
Chirayu Desai
7a7185b044 CellBroadcastReceiver
- Build it.
- Enable config_cellBroadcastAppLinks

Change-Id: If0e3488d30b673782555254c473ea1e56758555d
2013-04-04 09:13:53 +05:30
Chirayu Desai
88401db6ff Don't enable ADB authentication on eng builds
Change-Id: Ibc618e1644080984eb9a409178a2d2bcd76ddf77
2013-03-24 16:15:52 -07:00
Koushik Dutta
9d15c7a74e add SUPERUSER_PACKAGE_PREFIX in prep for switch to new superuser
Change-Id: I0b880a6d0f9cf36c0a8419ec00fc978245adbb6f
2013-03-04 00:37:02 -08:00
Koushik Dutta
82d0fdaddd prepare for switch to new superuser
Change-Id: I69c992928e6552a76ba880a399d08e4f59d348e3
2013-02-28 10:33:25 -08:00
Chirayu Desai
59df363c60 Enable ADB authentication by default.
Change-Id: I942a2df97ef769549b6f76b7c25241380e8df4f1
2013-02-15 17:05:08 +01:00
sleeplessninja
918a7eaf8d Enable wireless Xbox 360 controller support 2013-01-30 15:01:20 -06: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
Robert Burns
7ce9d9e31f Revert "Fix copy JNI files of Term.apk"
This reverts commit 7718d2ac05.

Change-Id: I9069fb00af7a6d1666292a2fc3da1a01cd8fd976
2013-01-03 12:42:09 +05:30
DvTonder
f0074035cd Vendor: Add the LockClock app (part 2 of 3)
Change-Id: I152c9ddca2d5508819404d1c18c257f752da5749
2012-12-30 14:08:44 -05:00
Rocky Zhang
7718d2ac05 Fix copy JNI files of Term.apk
Term.apk now contains JNI shared ojbects for all architectures.
Currectly, the script would only extract and copy armeabi object.
Change the script to extract all object and copy the correct ABI
object to the filesystem.

Change-Id: I167eafab523a4104063fec89b7ba136031c1d07c
Signed-off-by: Rocky Zhang <zhangyan.hit@gmail.com>
2012-12-24 00:11:27 -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
Chirayu Desai
e6e61634cd cm: include minor version in CM_VERSION if not 0
Change-Id: I0b7d0227bcb0fc5de831bcb065e087afece89a34
2012-12-05 23:36:19 -08:00
Chirayu Desai
909ce86a14 cm: bump version
Change-Id: If21a44c1da4e8072cd6c1c53a6e6b13a0b50467a
2012-11-22 15:50:54 +05:30
Ricardo Cerqueira
d54227422d cm: Integrate jenkins-generated files if present
Let's bundle the build manifest...

Change-Id: Ie40c40a74c6d923031a76a0a8f4f4b552aeb15c9
2012-11-13 10:42:11 +00:00
Steve Kondik
c35e7a64f9 cm: Prepare for release
Change-Id: Id464d33546add769c2428dc4d8ab2dc94223fb98
2012-11-12 10:56:38 -08:00
Steve Kondik
7bd61217cb cm: Build CMFileManager
Change-Id: Ifa45f109fdc8dc64c9b656eb9afc80c90bc17898
2012-10-31 22:41:39 -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
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