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
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
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
* 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
Don't assume the path to the signing key is the default, it can
be empty and have the same meaning...
Change-Id: Id545d6436e9f21d6b62eec5a317ea7665190f104
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
* 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
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
* 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
Tablets want MMS too (carriers send messages, etc), lets make this
for any device inherenting telephony.mk
Change-Id: Ida0e86d1f4d982580cef72816f93f88d0b0313e4
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/media/audio/
notifications/Doink.ogg:system/media/audio/notifications/Doink.ogg
ignored.
This is due to Doink.oog already existing in frameworks/base
Change-Id: I7ab091680f9cb0fb349ff425cb3ee1273d32ee89
This reverts commit ea14a88a2a.
Using the Package Manager prevents any danling wakelock from
killed service/receiver.
Change-Id: Ie3162ca4b18a7bc9c55613af39e88ea980407e5f
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
Original author Dennis Cleiren has contacted us and asked
to remove 5 audio files that were not intended to be
merged (miscommunication with codeworkx of original patches).
For reference:
http://review.cyanogenmod.org/#/c/13215/http://review.cyanogenmod.org/#/c/16482/
Change-Id: Idad43b62f2d3fbf593b80b56ee129dd6b98e30eb
* combine apns
* leave cdma/gsm files intact but empty until the calls
* are removed from devices cm.mk
Change-Id: I0686ef4ee1fe9b34ac9beaaa2bd43555234f4f6d
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
This change allows us to disable these packages on devices
with limited storage.
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
Change-Id: Ic843d1f663c7e2f68fa758d338d2e428b9321764
* 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
* 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
* There are a number of issues with this app, and it's currently not
working very well on most devices.
Change-Id: I36094c68fa0f642921d478aa72387bce2b88a224
This reverts commit ea14a88a2a.
Using the Package Manager prevents any danling wakelock from
killed service/receiver.
Change-Id: Ie3162ca4b18a7bc9c55613af39e88ea980407e5f
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
For almost two months now I've been wondering why my phone's alarm clock
has lost much of its effectiveness. Today the reason finally hit me: the
CyanAlarm tone had been sneakily replaced in commit ID
dbb169ad9c33bdc392b47f7a1bdef3843eff9ab2!
Although the new tone is certainly more pleasant to listen at and
doesn't cause any heart attacks, it is less effective for heavy
sleepers like myself. This commit brings back the old CyanAlarm
version with the new (tentative) name "Nuclear Launch".
Change-Id: I143a4501c45e343a7f697eb1ce5d072fcc2b46f0
For almost two months now I've been wondering why my phone's alarm clock
has lost much of its effectiveness. Today the reason finally hit me: the
CyanAlarm tone had been sneakily replaced in commit ID
dbb169ad9c33bdc392b47f7a1bdef3843eff9ab2!
Although the new tone is certainly more pleasant to listen at and
doesn't cause any heart attacks, it is less effective for heavy
sleepers like myself. This commit brings back the old CyanAlarm
version with the new (tentative) name "Nuclear Launch".
Change-Id: I143a4501c45e343a7f697eb1ce5d072fcc2b46f0
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
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
* Deneb.ogg was removed in a recent commit. Replace it with Argon.ogg
which sounds exactly the same.
Change-Id: I8194ca5c9990dd80bbf07ed89965d4bf0b8070b6
- 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
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>
Keep a blacklist of md5 sums for scripts known to cause issues, and
ignore them when installing new builds
Change-Id: I19a88b58194a32da5eb5fe278f2c5b9a145b57be
For tablets with constrained system partitions (i.e. Xoom),
leave out some optional packages.
(From CM10 I86e5e98e269915189bb99b7b04a6d7e638dfbe38)
Change-Id: I35ef53d37e234ab05d641d6f536d0155a68d9ee2
* Make the default sounds a bit less jarring
* The dubstep ringtone, while funny, is kinda obnoxious.
Change-Id: I9bd8d0c900b655ea0d7065c2f3e01ce8f73390e4
This adds the CMFileManagerThemes project to build system, so dark theme
can be enable in CMFileManager.
Requires change http://review.cyanogenmod.org/#/c/26279/
Change-Id: I668bb5210647fddfcb9ee00b75825c7641127247
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
* 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
Since they're now split for phone/tablet, there isn't any default
and devices without an explicit config will register as generics.
Use sane defaults for both device types, device-specific configs
can still override these in their makefiles if necessary
Change-Id: Ie20a05d07a047f409bafb20f02d0c673ec2dc250
* 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
Patch 2: Fixed the possibility of no CM_EXTRAVERSION resulting in 2 '-' at the end of the file name.
Change-Id: I3025977a5da1e28247c74416e1ac50fc6901eb23
Allow user to provide userinit.sh and/or userinit.d/*
scripts under /data/local to be run on each boot.
Change-Id: I96f3034bcdea8d4cc75929d21b69efa31c1cb108
* 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
* 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
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