Commit graph

2741 commits

Author SHA1 Message Date
David Marble
ce5405d1f7 Fix wrong bootanimation.zip from mkdir .../part{0..2}
For some reason the mkdir command:
mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part{0..2}
creates a directory part{0..2} instead of three separate directories.
Non-fatal build errors and a 386 byte bootanimation.zip file result.
This explicitly creates each directory.

Change-Id: Ia6ae0e4f64521992de8cc34a376af3eaac5c8819
2016-12-02 15:43:11 -06:00
Luca Stefani
6179d9494f cm: Build bootanimation.zip
Change-Id: I58fdfdbafd4ec1ce947c1d3c168a6e3f10bffd94
2016-12-01 22:43:30 +01:00
Griffin Millender
67ddf37281 cm: Rework boot animation generation
Keep the largest bootanimation extracted
and resize it at build-time.

Change-Id: Iee32f18440ff955d13ed85b273e97cbd540721fc
2016-12-01 22:43:29 +01:00
Dan Pasanen
1b19f16eb7 [2/2] cm: set cache partition location
* In init.rc, this prop will be used to set DOWNLOAD_CACHE
* If a device specifies having a dedicated /cache partition, by setting
  BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE, use it!
* Default to /data/cache per AOSP

Change-Id: I838672ca4638c9665333c1a67257fc435f33f388
2016-11-30 19:52:24 -08:00
fefifofum
f7ef4d6d32 Contributors: Add LG G Pad 8.3 and Xiaomi Redmi 1S maintainer
Change-Id: I144f559e83abcbaf0bc766dcbb9568055c5c2595
2016-11-30 17:59:26 -08:00
Luca Stefani
596e20c129 cm: Add more Mi 5 maintainers
Change-Id: I928eed74f828e2839d5baab6622ea75372901195
(cherry picked from commit 72f4855807ea63e7be95b9a1ccd3e54875c7249f)
2016-11-30 06:16:32 -08:00
Bruno Martins
ee962ccab2 Contributors: Add Xiaomi Mi 5 maintainer
Change-Id: I4643c06b28affcdec3c584d34f72e1f2975d01dd
2016-11-30 03:41:34 -08:00
Zhao Wei Liew
8dcba6834b cm: config: Remove enhanced NFC feature
This was used for the HCE implementation by SimplyTapp in CM 9 - 10.2.
Since then, Android has an HCE implementation and this is no longer used.

Change-Id: Icd9db39829c1863c4962aab53959ad527da28bcd
2016-11-26 01:25:42 -08:00
Luca Stefani
c66825b158 build: kernel: Remove duplicated targets
We call them already in TARGET_KERNEL_BINARIES

Change-Id: I1a9cf89d59416fdb6c9c570d17fb490440d44159
2016-11-24 15:54:11 +01:00
Luca Stefani
84fda60f6b build: Set android jack args to global jack server args if existing
Change-Id: Iafd416aaac81642c7ec736712b45ecbe05b0d55e
2016-11-24 05:31:23 -08:00
Rashed Abdel-Tawab
5b38c4fb34 extract_utils: Use shasum on macOS
macOS doesn't have sha1sum but instead shasum, so use that
if 'uname -s' returns Darwin

Change-Id: I1ab8721327a561e8df78562bbc0b12e884cc4a93
2016-11-23 20:39:44 -08:00
Joey Rizzoli
73a3965995
cm: enable hidden storage manager
Change-Id: I18ac1f27d73837e08d25f441543faf30cc58f8ee
Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
2016-11-23 21:19:00 +01:00
Chau Truong Thinh
5cec3974ab Clean up 3G config for Vietnamese network
Change-Id: Iab208827af814ccc3b41de849035bfd71ef9a806
2016-11-17 22:26:58 -07:00
Sean hoyt
52592a4a4b cm: Update APNs
- Vodafone TR is now IPv4/IPv6
 - vlive no longer exists

Change-Id: I954f35f834b8b242f4bd0400fc0dab80cb52c1a3
2016-11-17 17:37:08 -07:00
Zhao Wei Liew
aae6c62687 config: common: Remove obsolete RomManager props
RomManager hasn't been properly updated in years.
Is this still even a reliable ROM updater anymore?

Change-Id: I3ea57ec0121e6d6f933dd80031bb53514a44e362
2016-11-15 03:10:40 -07:00
Silesh K Nair
11af61ac83 apns: Remove loop and bpl mobile
These service providers no longer exist.

https://en.wikipedia.org/wiki/Loop_Mobile

Change-Id: Ic6263b6e8721ee81d902e0bd42553749411d8860
2016-11-15 08:28:52 +05:30
Hriday Sharma
be2fca13e2 apns: Add Reliance Jio apn's
Change-Id: I4b44ce88abaf794f47683d13ed3b91172dea03ef
Signed-off-by: Hriday Sharma <hridaysharma42@gmail.com>
2016-11-14 14:11:00 +00:00
Ethan Chen
2a5d907bbd qcom_target: Remove unused support for CAF manifests
* This code was introduced to support building from Qualcomm hardware
  manifests, placing the appropriate Qualcomm HALs at the AOSP
  hardware/qcom/$(HAL_TYPE) location. This isn't a supported use case
  anymore, so remove the dead code.

Change-Id: Id7d53b33f53289bc1ead8eb983d7e252940b0387
2016-11-13 13:46:38 -07:00
Ethan Chen
367802bcad qcom_target: Remove unused sony HAL support
Change-Id: I046d860127918858af98e9ab73bebc253502d08f
2016-11-13 12:46:05 -08:00
Ethan Chen
3681177eb4 qcom_target: Restore original AOSP hardware/qcom/media pathmap
Change-Id: I3d11f750e0c784da049c9618a44934f8a4c9d304
2016-11-13 11:04:02 -08:00
Luca Stefani
aa92150dba config: Add missing \ in bootanimation pick
Change-Id: Id61a196f97115c70b7d1dcf84fe830b72834a17c
2016-11-13 18:53:07 +01:00
Zhao Wei Liew
9689bb9dba build: kernel: Set prefix based on KERNEL_ARCH
KERNEL_ARCH specifies the kernel architecture, not TARGET_ARCH.

Change-Id: I97407caa15cacf53489e8ebb31f5c059991a9493
2016-11-10 15:55:42 -08:00
Zhao Wei Liew
e7573daa4c build: qcom_target: Enable BOARD_USES_ADRENO
Newer QCOM HALs use this flag for libc2dcolorconvert,
examples being msm8937 and msm8996 media HALs.

Change-Id: I28e8a42b58b4f5f71126df7ad97c377724da5bab
2016-11-10 06:13:15 -07:00
Steve Kondik
c86fb126c6 cm: Fix bootanimation sorting
Change-Id: I7d45f6790406db826fbb822fedb4484427b18c31
2016-11-08 13:43:33 -07:00
Dan Pasanen
4f1743470f common: add quotes to satisfy kati/bash/make/whatever
* Honestly, I have no idea why this works. Or, to put it more
  precisely, why it works without this on _some_ devices and not
  others. All of a sudden?

* Without this patch I'm getting:
    /opt/out/14.1/build-cm_d2vzw-clobber.ninja is missing, regenerating...
    terminate called after throwing an instance of 'std::out_of_range'
      what():  basic_string::erase
    make: *** [build/core/ninja.mk:167: /opt/out/14.1/build-cm_d2vzw-clobber.ninja] Aborted (core dumped)

    #### make failed to build some targets (5 seconds) ####

Change-Id: I4bf43868bf7dfe13df57151ae3597246164cbebc
2016-11-07 21:09:41 -06:00
Adrian DC
143269c242 vendor: cm: Move fuseblk to system/sepolicy
* The rule is needed earlier in system/sepolicy

Change-Id: I3f6c45d48f4af28266f124e918966991016a4e1a
2016-11-06 21:30:27 -08:00
Alexander Martinz
1bbf3e9346 envsetup: block SDCLANG on Darwin for now
Snapdragon LLVM is not supported on Darwin yet.
There might be the case where the directory structure is set up
by default and the build system will try to execute the linux binaries.

This will fail obviously:
  /bin/bash: /Volumes/Android/build/prebuilts/snapdragon-llvm/toolchains/llvm-Snapdragon_LLVM_for_Android_3.8/prebuilt/linux-x86_64/bin/clang: cannot execute binary file

Change-Id: I1f4d0bbda88b540b7ac3159f8e83de4501b9073b
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
2016-11-06 21:28:57 -08:00
Sam Mortimer
b0cecb7335 Always create a kernel defconfig build artifact
It's just easier having it always built for you
(and it really takes no time).

Change-Id: If183cef50b1de0bf228e27bab77607df71350345
2016-11-05 08:25:45 -07:00
Marcos Marado
8ab9e00832 Added contributors for vegetalte
Change-Id: Ia7d140ea3810df186c9dd38905361a8cf278e312
(cherry picked from commit c279b9f854bf9ef340f64da8adcbe4add8d5b73d)
2016-11-05 01:58:44 -07:00
d34d
6ddd83551c themes: allow system_server to relabel them dir
On a fresh install the theme service broker creates the initial
theme directory which needs to be relabeled to a themeservice_app_data_File
in order for the brokered theme service to write to this directory

Change-Id: Ifd689a0c619c0e954192749b83a0cacaa945468f
TICKET: NIGHTLIES-3349
2016-11-05 01:58:27 -07:00
Kra1o5
8614943445 Contributors: Add maintainers for BQ Aquaris M5 (piccolo)
Change-Id: Ifb9e8443200e2ab2276aa8b56c0acfd072e6246f
(cherry picked from commit 5f54a4a144febc8882e5cd2083f9cbbf21fa8f07)
2016-11-05 01:58:21 -07:00
c457
7f3e6dfc77 Contributors: Add maintainer for Alcatel Idol 3
Change-Id: I47432d8f9e99a8d743c5629ae7fe718c1a4067d3
(cherry picked from commit 18a1b3aa9d38bbbaf50edb28ed7e62b82d0ba276)
2016-11-05 01:52:29 -07:00
Ethan Chen
63984ef361 ambient: Remove from OSS builds
* There should be no dependencies here anymore.

Change-Id: Ib316d07b859e5855269fd906f0578087beafb3fe
2016-11-04 13:16:07 -07:00
doc HD
1998914e91 vendor_cm: Vodafone TR: Fix mobile data on first boot
Vodafone Live is TV service for Vodafone TR,
but is getting choosed after full wipe and needs to be toggled everytime.

Change-Id: Id0db8a433d3e2cff0f893913dcd8361f51f72817
2016-11-04 13:11:12 -07:00
Steve Kondik
26e669badc cm: Autodetect SDCLANG in prebuilts/snapdragon-llvm
* Will be used by the build servers

Change-Id: I5d31a7c41adc283cb9336314e9d54412cc740e9e
2016-11-04 12:08:06 -07:00
Elektroschmock
082e0ec07b extract_utils: Add option to define the certificate for jars
Change-Id: I3fb4ff29b2ce898989f5599b47f47ee7fcfc5e92
2016-11-04 06:12:04 -07:00
mfonville
9fcd3c6a29 webview_packages: prefer the more powerful webview packages
If Gapps are installed, better webview providers
become avaliable.

This commit adds support for those and makes the system
choose the best provider: Chrome Stable>Google Webview>AOSP Webview

It also allows the user to choose between additional
providers from Play Store: Chrome Beta, Chrome Dev and Chrome Canary.

This patch is a collobarative work of:

mfonville <maarten.fonville@gmail.com> @mfonville
rapperskull <rapper.skull@hotmail.it> @rapperskull
Arne-Christian Blystad <arne.christian.blystad@bartec-pixavi.com> @Blystad
Alex Naidis <alex.naidis@linux.com> @TheCrazyLex

Bugfixes and move to an overlay by blunden <blunden2@gmail.com>

You can find more information on this topic here: opengapps/aosp_build#76

Change-Id: I006d814b7c12ffe4f29cd865c9d4cc6a60bc7783
2016-10-30 12:24:09 +01:00
Chippa-a
ce6d812fab
cm: overlay: Use restart action
* Google has added its own implementation in 7.1

Change-Id: I0a4890adcfeaa4a7b6463754c6b4d73b73e5f12e
2016-10-27 14:54:31 +03:00
Steve Kondik
36ae30b879 cm: mka nicer
Change-Id: Iec38c313c9eb88a74c7bf7a5cf424131b568ac0a
2016-10-26 17:37:40 -07:00
Jeff Sharkey
e4831010f3 Follow FBE refactoring.
Bug: 26668510
Change-Id: I4460bf8e1c58eb15afe067f1d3811d118540e6ac
2016-10-26 17:15:18 -07:00
Steve Kondik
2fd50c4369 Merge branch 'cm-14.0' of git://github.com/CyanogenMod/android_vendor_cm into HEAD 2016-10-26 17:08:11 -07:00
Michael Bestas
89450fb971
More 14.0 -> 14.1 changes
Change-Id: I38a2589e5743aac0d8b13799b3d79cb2dab8e5d6
2016-10-26 22:35:18 +03:00
Adrian DC
13512fb86f backuptool: /system/addon.d explicit creation
* Add the addon.d folder creation to preserve_addon_d
    before copying the files back to /system/addon.d

 * On CM based ROMs, the path exists for built elements,
    but on other AOSP-based ROMs where this script might
    be used, the folder might not be created on build and
    copy fails, breaking backuptool on second ROM update

Change-Id: I7438823b8d7ad0972649d2bf491d0f6fe423bc99
2016-10-26 02:30:46 -07:00
Marc K
97b035dd88 envsetup: dopush: fix finding files to be pushed with ninja
Change-Id: I27b4e62d08dcd2a6dc95519197c6284c8c44636d
Signed-off-by: Marc K <morckx@gmail.com>
2016-10-26 01:12:03 -07:00
Marc K
2be9cac81b envsetup: dopush: allow (symbolic) host names for adb connect
Change-Id: Icfab874abab64b0a3e5e63091cb6c25dd9630737
Signed-off-by: Marc K <morckx@gmail.com>
2016-10-26 01:11:49 -07:00
Marc K
299137f39d envsetup: dopush: fix test if device is in recovery
Change-Id: I1687b879e00918813886b2c9c54535376aa62d99
Signed-off-by: Marc K <morckx@gmail.com>
2016-10-26 01:07:17 -07:00
Steve Kondik
7d4f0f2965 cm: We are cm-14.1
Change-Id: Ic8079001ad923c49bd8fe3e88c6a01f9448f1aec
2016-10-25 20:35:15 -07:00
Michael Bestas
e724a1c496 envsetup: Fix cafremote/aospremote for projects with non-standard paths
* Fix -caf and -caf-<platform> projects
* Fix AOSP HALs that are synced in "/default" subfolder

Change-Id: I33cc344a3234de6698676c32035622acbec03dd1
2016-10-24 10:40:12 -07:00
Ricardo Cerqueira
5bf45276b7 charger: Use the same metrics as recovery to pick a density
Change-Id: Ieb046c493ca3d367cff570bd08d38c84c74e5fbd
2016-10-24 05:15:30 -07:00
Michael W
4cc370ebe5 cm: charger: Center capacity and vertical offset
* What the title says :). Looks way better
* Use half a vertical font size as offset

Change-Id: I3e5cc039932a1016d419c4dbe5af5f7673631733
2016-10-23 22:49:49 -07:00