Commit Graph

186 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
Abhisek Devkota
035835dbf0 Merge "vendor cm: Add PhotoPhase LWP" into cm-11.0 2014-06-23 21:38:46 +00:00
Matt Garnes
e7b6b8c019 Add the CMHome application to common.mk
Change-Id: Id99c42ffe62ec07bc80aa7ba41f71a16d1a39754
2014-06-18 02:11:36 +00:00
Matt Garnes
5d7d0e5601 Reverting last commit, pushed to head by accident.
That project is not ready yet.

Change-Id: I3691eb34dd45e23aafc084a3e8c9877302499e3c
2014-06-16 19:01:50 -07:00
Matt Garnes
ee55f653e8 Add the CMHome application to the common_full makefile.
Change-Id: I240d774d68e28fa8a71487c9708c1950c935dd78
2014-06-16 18:56:15 -07:00
Jorge Ruesga
7b7818afac vendor cm: Add PhotoPhase LWP
Change-Id: Ida8a9d400cd09b1fdbd670965c5ac60a3378c482
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2014-06-15 11:57:14 +02: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
Andy Mast
f2dd79adfc Merge "cm-11 themes: Build new ThemesProvider" into cm-11.0 2014-05-08 21:32:31 +00:00
Steve Kondik
f1deb14ac0 cm: Underp package names
* Go back to sleep, Steve.

Change-Id: Ie8aa55981ec2447741119cb413798568174ce659
2014-05-06 13:53:47 -07:00
Steve Kondik
08bfcb3644 cm: Build Stagefright FFMPEG plugin
Change-Id: Ic727bcea4d5cbc35c720800660be7b80d638122d
2014-05-06 18:45:31 +00:00
dhacker29
942bf85d3c cm-11 themes: Build new ThemesProvider
Change-Id: Ia309407d94ceb38d56b899d1801944d5bda1acda
2014-05-05 02:45:10 +03:00
Abhisek Devkota
9094cd800c Merge "CM11 Themes: Add feature for new themes." into cm-11.0 2014-05-01 22:49:05 +00:00
Clark Scheff
ca330a2862 CM11 Themes: Add feature for new themes.
Change-Id: I0da30606534c13a43de33bef08f79fbbb1b348d3
2014-04-28 12:22:40 -07:00
Christopher R. Palmer
1c282ce3d3 build: telephony: Only include VoiceDialer in telephony builds
For WiFi only devices, they don't want this by default.

Change-Id: I4d07ab25d971f8a50beb84e2fd5f6d0bf1aeb8fe
2014-04-22 18:40:41 -04:00
Roman Birg
bd3a941634 fix the mac build
Change-Id: I58ba010150da6ccc062722b975afde0f12b68fc5
Signed-off-by: Roman Birg <roman@cyngn.com>
2014-04-01 00:07:44 +00: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
fuzz
a278f039cb cm: Move default ringtone override to telephony.mk
Change-Id: If5bf8f72f9b07271145d910ba5c44dc73748ae27
2014-03-04 21:41:25 +09: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
Dan Pasanen
2cfe6b260b cm: add selective based spn (2/2)
* patch set 1 to 7 doesn't fix the problem, it bruce forces the spn
list to ALL DEVICES.
* this change and http://review.cyanogenmod.org/#/c/57393/
will attack the problem at lowest level, customized it for speed
and memory.
*  the best part is that it handles letters and exit the
function when it find a letter in the response from ril.

Change-Id: Ia63309acf38617e68b98ff1068463a942fa793df
2014-01-13 07:54:11 -06: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
Abhisek Devkota
32bbdf6f57 Remove unused audio mk files
These are empty and useless.

Change-Id: I23cd1be105f7bddbf555a35e10efcc92a7c1eb47
2014-01-02 21:27:03 +00:00
Steven Luo
510db5ca65 common_mini_tablet_wifionly.mk: don't try to install removed BlueZ config file
Change-Id: I91ac1dd34c9c048cda7d6b5a81ee22b2db852b49
2013-12-19 00:47:12 +00: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