Commit Graph

144 Commits

Author SHA1 Message Date
Brint E. Kriebel
af91758210 common: Set property for the CM releasetype
Set ro.cm.releasetype based on the deteremined releasetype of the
build.

Change-Id: I2c1aa7181f42342594bd6d5dc5f5252220ed3497
2014-07-10 19:02:19 +00:00
Ricardo Cerqueira
aff5e54c4e ota: Validate any installed data's signature against our own
Try to prevent incompatible-signature system quirkiness

Change-Id: I73402d963a1b57ad0ee3c68ced4f2d7f074f927f
2014-07-10 17:03:51 +00:00
Brint E. Kriebel
1df415bba2 common: Disable multithreaded dextop on RELEASE and SNAPSHOT builds
This needs some more work before it can be considered stable enough
for use on these builds.

Change-Id: Ic80603cc59623da878875e40de92bda5caef3331
2014-07-09 15:13:08 -07:00
Matt Garnes
e7b6b8c019 Add the CMHome application to common.mk
Change-Id: Id99c42ffe62ec07bc80aa7ba41f71a16d1a39754
2014-06-18 02:11:36 +00:00
Michael Bestas
7d5d16dd75 Build FFMPEG plugin for all targets
Mini targets didn't include FFMPEG so far.
I don't see the reason to do this, the plugin takes up minimal space.

Change-Id: I712982c245f9cdb8dd1052a071a7590219b9a9c3
2014-06-10 20:06:48 +03:00
Brint E. Kriebel
e0e8c2772e recovery: default recovery updating to false
Default recovery flashing on system updates to false. This can be
overridden for specific builds/devices, but the option can be enabled
or disabled on all builds.

Change-Id: Ia1bc94bd1e5f799fc894286a6b2f4f7a8a3816dd
2014-05-22 15:53:44 -07:00
Ricardo Cerqueira
58154f365c Revert "Add SELinux filesystem relabeling to init"
This reverts commit d2d1a7ffb1.

Revert "selinuxrelabel: Remove attempts to relabel /system"

This reverts commit cae5f24530.

Revert "Recheck /data for selinux labeling"

This reverts commit c4dcb16ca9.

Revert "selinuxrelabel: Add a check for dalvik-cache"

This reverts commit c7e9230614.

Revert "selinuxrelabel: Need to check in priv-app now"

This reverts commit 3013c99acb.

Revert "selinux: When adding userdata labels, do cache too"

This reverts commit 8994907baf.

Revert "selinux: Use a more reliable sentinel to flag /data labelling"

This reverts commit b52874de53.

Change-Id: I7779aaca3b0751ed74d525292681817182a0aa7f
2014-03-20 21:21:17 +00:00
Ricardo Cerqueira
17b25874d1 version: Remove dash from TARGET_VENDOR_RELEASE_BUILD_ID
This variable is used to build the fingerprint and description on
signed builds, and the dash can't go in there. Add it only when
constructing the final display version variable

Change-Id: I0736d3a88e5f9980c28e6e9afa7e2f9e2d23f815
2014-02-16 17:15:07 +00:00
Steve Kondik
e4f938c7d5 cm: New ultimate revolutionary feature of revolution!
Change-Id: Ia3d0a099b8cb0c5170f3aaba0fb68d1f216b6be7
2014-02-04 22:59:01 -08:00
Brint E. Kriebel
a1e4912298 cm: Update the path for jenkins-generated files
Change-Id: I846d3c67f5a0a41457e28c93ba200dab1d14adf0
2014-01-31 11:59:56 -08:00
Michael Bestas
8deec444c8 cm: Add Trebuchet back to the build
Change-Id: Icbb6267a547e4022c6fc5382a33ba75e257006d9
2014-01-30 21:42:22 +00:00
Abhisek Devkota
83a586ede5 Merge "Add half-resolution boot animations for low-end devices" into cm-11.0 2014-01-30 21:35:17 +00:00
Steven Luo
367e64830f Add half-resolution boot animations for low-end devices
On low-end devices, the current 48 fps boot animation can use more than
50% of CPU time, and if the texture cache is enabled, a majority of main
memory as well.  For these devices, add half-resolution variants of the
lower-resolution boot animations which display 2x upscaled -- this
greatly speeds the boot process and makes the boot animation run more
smoothly.

Change-Id: I0140616ca38c52a06dd4622f1c20a9ca0da95f4b
2014-01-30 13:22:18 -08:00
Brint E. Kriebel
ac948f53eb cm versioning: fix certificate check
The variable used does not exist at this stage of the build. Switch
to PRODUCT_DEFAULT_DEV_CERTIFICATE, which does exist when in use.

Change-Id: Icb3bbaa437e68b96e1ce05a09f6525cd1ddb9a6a
2014-01-24 09:58:36 -08:00
Michael Bestas
70d21b306d Exclude extra LatinIME dictionaries in "mini" builds
Change-Id: I935f1ba5addcff2b2e4d738550db3ca6916fe07f
2014-01-28 02:08:09 +00:00
Tanguy Pruvot
ac602b4c28 busybox: add libsepol to product packages
Change-Id: I9536c3d84713454c22f45f35e00a84a5d87ae8fb
2014-01-28 00:29:45 +00:00
Steven Luo
b95faf6097 Remove some optional packages from "mini" builds
Change-Id: I31f502a10d64343c8800d51df28b6de49e44bccc
2014-01-16 19:26:07 -08:00
Ricardo Cerqueira
74b4f9b149 cm versioning: Empty keys == default keys
Don't assume the path to the signing key is the default, it can
be empty and have the same meaning...

Change-Id: Id545d6436e9f21d6b62eec5a317ea7665190f104
2014-01-11 16:00:16 +00:00
Ricardo Cerqueira
4616137915 cm: Add a simplified version string
Similar to the ro.build.id/ro.build.display.id distinction, and with
the same rationale; signed builds are intended to be stable by
definition, the release types have different meanings (user vs
userdebug), and the full CM version has too much duplicated information:
the device's name and build date are already present elsewhere in the
same information screen.

For signed builds, remove the duplicated information and the type,
leaving only the actual numeric version and the verbose build identifier,
turning for example "11-20140109-SNAPSHOT-HappyPonies-device" into just
"11.0-HappyPonies". If a simplified display version can't be built,
it'll be the same as the full ro.cm.version

Change-Id: I7d8cccbb3205bde710f0004df0a6bd12c39693f1
2014-01-09 10:25:31 +00:00
Steven Luo
4913344f72 Don't ship CellBroadcastReceiver on wifi-only devices
Attempt to fix dependency issue

Change-Id: I0122fc4665827bfcefd61e4287d9ff685b675aee
2014-01-06 18:27:12 -08:00
Steve Kondik
42fb9d8fc5 cm: Remove legacy compcache stuff
* Remove all this stuff.  If a device wants ZRAM, it should be
   enabled by the maintainer and properly configured and tuned.
 * This stuff currently causes a conflict with the ZRAM support
   added in Kitkat. Kill it.

Change-Id: Ib2488ea4463e32ec44b65fe786f732145b5b6e23
2014-01-04 16:59:40 -08:00
Ricardo Cerqueira
07e8f87234 Merge "Fix custom unofficial build tags" into cm-11.0 2013-12-18 00:55:36 +00:00
Abhisek Devkota
e5d12df8ef Merge "Add CM Legal (1 of 2)" into cm-11.0 2013-12-17 23:12:45 +00:00
Michael Bestas
3bf9ba896d Fix custom unofficial build tags
Before: CM_VERSION=11-20131217-UNOFFICIAL"-LegacyXperia"-smultron
After:  CM_VERSION=11-20131217-UNOFFICIAL-LegacyXperia-smultron

Change-Id: Ib9c58b39efc4dc5a51380c647db9f7896e165704
2013-12-18 00:23:16 +02:00
Matt Mower
f416839b8a vendor: support custom unofficial build tags
By defining TARGET_UNOFFICIAL_BUILD_ID in a device's cm.mk, users can
build custom CM builds with their own identifier in place.
This adheres to CM's policy that unofficial builds must be
marked as such, as both the filename and internal version will still
contain the word UNOFFICIAL.

Example:
TARGET_UNOFFICIAL_BUILD_ID := CatEater01
results in
cm-11-20131211-UNOFFICIAL-CatEater01-device(.zip)

Change-Id: I61acdf4698a7fe2b35d3d5315be4b444b1b97987
2013-12-13 22:28:23 +00:00
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