Commit graph

2952 commits

Author SHA1 Message Date
Dan Pasanen
46973d7b79 bootanimation: get all the parts
Change-Id: I6f2b38a64629f918b79d28ba8b1d0d6535901142
2017-01-19 22:03:15 +00:00
Rashed Abdel-Tawab
b48c27f04f
build: Append -dtb to kernel image name if TARGET_KERNEL_APPEND_DTB is set
Currently devices that have TARGET_KERNEL_APPEND_DTB set also have to set
BOARD_KERNEL_IMAGE_NAME to Image.gz-dtb (or zImage-dtb on arm32) in order
to properly build the image with an appended DT. Automatially append -dtb
if TARGET_KERNEL_APPEND_DTB is set so BOARD_KERNEL_IMAGE_NAME does not need
to be set.

Change-Id: I5464c67092a7b9f86669902e5c0e4a47836f7cbd
2017-01-19 15:57:13 -05:00
Asher Simonds
070053c6ab cm: bootanimation: Improve boot animation
* Make it run at 60 FPS
 * Slow down the pace to make it more relaxed

Change-Id: I563b09da875c53f1cd456606ee7a6200e8841bb1
2017-01-19 13:25:07 +00:00
Adrian DC
3c6bdac74b extract_utils: Detect output existence before moving it for backup
* Avoids:
    Cleaning output directory (./../../../vendor/.../.../proprietary)..
    mv: cannot stat './../../../vendor/.../.../proprietary/*':
    No such file or directory

Change-Id: I3258e64f3997f139d8db4fb4e07d14964a469c78
2017-01-18 23:20:47 +00:00
Zhao Wei Liew
e796a286bd cm: bootanimation: Clear intermediaries
Make sure that any changes to the boot animation can be picked up
and rebuilt by running 'mka bootanimation.zip'.

Change-Id: Ice10e919df4c1b651c5c5dbb9700cab38eeac748
2017-01-18 13:19:59 +00:00
Asher Simonds
e035b9ab41 vendor: lineage boot animation
Change-Id: Iff2087eb97aee5e586eecf3898f0066d99bc885c
2017-01-17 08:13:19 -06:00
micky387
ffdd0dc110 Sepolicy: Add perm for find cmstatusbar
01-11 20:56:42.459   367   367 E SELinux : avc:  denied  { find } for service=cmstatusbar pid=4069 uid=10094 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:cm_status_bar_service:s0 tclass=service_manager permissive=0

Change-Id: I807db436c6e983244c08ca025d41d75d035dbc0f
2017-01-16 20:08:12 +00:00
Zhao Wei Liew
a18b05792f cm: config: Remove obsolete props
All usages of ro.com.android.dataroaming default to false.
The rest of the props are no longer used.

Change-Id: I2320e82a1859f8c13f3430a43aa8714186158ee0
(cherry picked from commit 76b66c1ab812e6e4749bec53e03bfc5084c38257)
2017-01-16 10:33:50 +00:00
Abhisek Devkota
6af9acb650 Disable SU by default
- We plan on distributing an addon for our SU
- Developers that want SU by default can export
    WITH_SU=true to their env
- This helps with application compatibility for
    various services, while maintaining user flexibility

Change-Id: I6d52159676f805c3698ff59c896d943a3a4b25db
2017-01-15 04:21:13 +00:00
Abhisek Devkota
f2d6fe2b98 vendorsetup: match lineage naming for build roster
Change-Id: Iaeb6b323ca00df3c9121d68fdadd1c32cd550861
2017-01-14 15:46:07 -08:00
Zhao Wei Liew
e407ec7035 cm: build: kernel: Remove obsolete checks
* BOARD_USES_UBOOT is unused.
 * Same goes for BOARD_USES_UNCOMPRESSED_BOOT. Furthermore,
   it is superseded by TARGET_USES_UNCOMPRESSED_KERNEL.

Change-Id: I9f0e2848fcd0cd212bccacf14df55ad03f821051
2017-01-14 19:48:07 +08:00
rahulsnair
7c3adf8c8e vendor: Add maintainers of Moto G4/G4 Plus (athene)
Change-Id: I4ce9c3dc371a85071abd1cca0a233089ba73daee
2017-01-13 14:49:24 +00:00
David Hays
7f001b1c37 overlay: Enable Visual Voicemail for Verizon devices
Change-Id: Ic49ce790cf7710f59dad913b6ccada21ea2e8e9f
2017-01-13 04:18:47 +00:00
Ziyan
54648c2a3b build: kernel: build arm kernel modules with -fno-pic
With androidkernel (androideabi) toolchains, -fpic is enabled by default.
At least on my 3.4 arm kernel, this causes an issue with kernel modules:
"Unknown symbol _GLOBAL_OFFSET_TABLE_".

On traditional armeabi toolchains, -fpic is not enabled, resulting in working
kernel modules; let's follow that here.

Change-Id: I3058b5213b34bdde9bb9d744563c7d55cd42d2a5
2017-01-12 18:28:12 +00:00
David Marble
20c06fd75e http_prebuilt: Improve retrieval of artifacts from archive
The current version always redownloads the artifact.
Kali does not like the nested md5sum command and ignores it
leaving file checksum value blank so the test always fails.
A temporary variable is used to get around this limitation
of kali.

The echo "Downloading..." command has been modified to actually
print and has been moved so it only does so when downloading
the artifact.

Change-Id: I115860a87e55399a652d6548fe50f6204337f854
2017-01-12 00:50:44 -06:00
Matt Mower
0e57974630 apns: Update H2O Wireless
* It's H2O, not H20
* Update based on
  - https://www.h2owirelessnow.com/mainControl.php?page=dataManualConfig
  - https://www.h2owirelessnow.com/images/pdf/ManualConfigurations011211.pdf

Change-Id: I181f0aa1fe3a67afd37b65a0f93107f242b479e1
2017-01-10 22:45:13 +00:00
Brandon McAnsh
66792510a9 http_prebuilt: Implement archive of artifacts
* checksum will be downloaded and asserted to prevent a
    redownload every clean
* Archives will exist (invisibly) at vendor/cm/prebuilt/archive

Change-Id: I637e86cacd146d665044a119885900dc4660e22b
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2017-01-09 13:42:29 +00:00
Matt Mower
8945f5e8c7 extract_utils: Introduce variable INITIAL_COPYRIGHT_YEAR
Let a device specify INITIAL_COPYRIGHT_YEAR=XXXX in setup-makefiles.sh
so that the correct copyright(s) is/are included in vendor makefiles.
The CyanogenMod copyright is retained when INITIAL_COPYRIGHT_YEAR<2017
and the LineageOS copyright is now included for >=2017.

Change-Id: I6895b5b69bc7ba399042ac3c29e17f3209d15f1b
2017-01-09 01:26:44 +00:00
Dan Pasanen
c6b5c382a2 build: core: include platform helper macros in target makefiles
* These are now needed sooner than we had been importing them
  in android_build. This ensures they'll be imported before
  their macros are needed.

Change-Id: Id7e31f36393414f6d51a8bc80686ceaebfe7cb28
2017-01-08 07:47:39 +00:00
Zhao Wei Liew
fb4b8c54b5
build: envsetup: Update CAF remote
CAF recommends using https://source.codeaurora.org/quic/la now.

Change-Id: Ic8d6451111f0e71bce044ffaae79f0acfc34caa1
2017-01-08 05:14:08 +02:00
Zhao Wei Liew
a63bf9536b build: qcom_target: Define MSM_VIDC_TARGET_LIST
Currently, in the media HAL, we're replacing the usage
of this variable with a check for TARGET_BOARD_PLATFORM.

Instead of having to do that every time a new branch is made,
define the variable in qcom_target.

Change-Id: Idd85b6f0b167bbc64833eb03335abcaa7b9de4a9
2017-01-08 10:14:07 +08:00
Zhao Wei Liew
9838ea37f6 build: qcom_target: Clean up QCOM_HARDWARE_VARIANT checks
Change-Id: I97f812412f94a0638e78eaf7e45112b6924120a9
2017-01-08 10:11:14 +08:00
Ethan Chen
b69c2ff494 envsetup: Fix indentation of eat function
Change-Id: I14afa4c8f7c705cfa04ad07f56f7e7a13a8c9378
2017-01-08 01:58:14 +00:00
Zhao Wei Liew
046484f8c7 cm: common: Correct indentation
Indentation should be 4 spaces here.

Change-Id: I3484eb8bd04eb4457c4f17403381b286e1bdb1ed
2017-01-07 15:55:35 +08:00
Tom Powell
e4c8c8296f build: include lineage releasekey in recovery
Change-Id: I3335af3b490ef1af5fdd786654f4e68bb3290b27
2017-01-06 22:29:06 -08:00
Tom Powell
343b594650 build: remove deprecated recovery keys
Change-Id: I7bb6548315520b387a06b5d66a85dcfbeb5c3f82
2017-01-06 22:26:29 -08:00
Luca Stefani
7021706d0d extract_utils: Update smali/backsmali to v2.2b4
Change-Id: I91a2c5569ac0e6cf99d742f2b207f8222f9c01f0
2017-01-06 10:24:41 +00:00
Gabriele M
4cf635a5ad extract_utils: Update backsmali command
-e no longer exists starting from v2.2b3, so update the
command. While at it, add the logic to deal with Android N
separated boot oat files.

Change-Id: Iab8e3946d6421824fea74e26dc43d2db38573022
2017-01-06 10:23:46 +00:00
Matt Mower
ed8c248ec0 envsetup: Fix check for deprecated CM device tree
By the time lunch is run on a product name, it's too late to check
whether a deprecated CM device tree is being used (roomservice runs in
lunch). Instead, rely on check_product() to identify whether a tree
uses cm_ or lineage_ before running lunch.

Change-Id: I16288365f791ff68c3226f3808427168b2fc06fa
2017-01-02 03:00:58 -06:00
Zhao Wei Liew
321dde5f70 cm: Rebrand CM_VERSION to LINEAGE_VERSION
Change-Id: I79433c4d2fa14784c5b41985ed91e3712aacafa4
2017-01-02 04:08:40 +00:00
Ricardo Cerqueira
0a656b6446 tools: getb64key - print the base64 version of a PEM public key file
Change-Id: Ia94ff560c88dfe85c3fa55db5c8219aa0d3419ee
2017-01-02 01:20:45 +00:00
Dan Pasanen
8d0369c962 vendor: Add a task for getting prebuilts via http
* Gello being our first pawn
 * Use curl instead of wget (more powerful)
 * Ensure the intermediates directory exists prior to download

Change-Id: If19c18638a14a8b9ab55470ae6ee5a2deda2e3ec
2017-01-01 00:44:10 +00:00
Zhao Wei Liew
2199e557df cm: Remove root access prop
This property is already defaulted to 0 in the code.
The su_daemon is also disabled by default.

Thus, for all intents and purposes, root access is
already being disabled by default.

Change-Id: I1241689c0d3253aa2e44835c55839f24b3b74341
2016-12-31 22:45:12 +00:00
Simon Shields
63ce74b055 cm: support lineage device trees
Change-Id: Id7d7c5747639903d1289557dab38341d5c7cc287
2016-12-31 21:29:32 +00:00
Erwan Leboucher
63c9392fa1 Revert "contributors: add LG V10"
I do not own the device anymore.

This reverts commit 3f9f7a6b3d.

Change-Id: I3a6e64d78e844cb1bbb7eeb5af75f48fbe516e5a
2016-12-31 13:35:46 +00:00
Brinly Taylor
72313ad694 vendor: cm: Add some more BQ maintainers/devices
* Remove myself from Desire Eye.

Change-Id: I1450aee16e3fb42bfbdea6758677552ab7b59906
(cherry picked from commit 1d729b4b31b607a848cd9cc84dad6c3dc6dfccb0)
2016-12-31 08:34:43 +00:00
Zhao Wei Liew
5d8bdc3fce cm: Switch to LineageOS privacy policy
Change-Id: I883961b172dd832d7bcc3dca8151f6b7c4c36ad3
2016-12-30 01:53:15 +00:00
Marco Brohet
e52ee2b7b2 apns: Update hollandsnieuwe's (NL) APN
Some time ago, hollandsnieuwe issued new SIM cards, which should
be associated with a different APN. This patch makes sure that we
support both the old and new ones.

Patch set 2: Add username and password (credits to Louis Matthijssen)

Change-Id: I21d0060825bc126b40990789c7552d6a3f0f6e43
2016-12-29 09:57:01 +00:00
Dan Pasanen
4c6c53ecf8 vendor: disable custom bootanimation for now
* until we get our own

Change-Id: I6fae862b62d711499d4755e160ec060ebb7a1d0f
2016-12-29 05:17:40 +00:00
Dan Pasanen
24a1cc95b6 Revert "cm: Revert the new boot animation generation process"
This reverts commit e2ec4c6051.

* New build server(s) will be able to support this

Change-Id: I990297e6db7aa6076199bb6344328e704b1d4ebe
2016-12-29 05:16:33 +00:00
Dan Pasanen
0344771b53 vendor: we are now LineageOS
* Change necessary bits to support our project move

Change-Id: I085470d448a243cc9d60b4ce920dee52086f64cd
2016-12-28 19:44:28 +00:00
Dan Pasanen
0fdc085c2e build: repopick: point to LineageOS gerrit
Change-Id: Ibf58b111360c17cee919efd585f5ec48be1e2eec
2016-12-27 10:32:16 -06:00
Zhao Wei Liew
0930a03185 cm: Remove def_notif_count overlay
This overlay is no longer used.

Change-Id: I226d989396a4fb74736f5c78eb4b38eaa8febba5
2016-12-24 23:36:03 -08:00
fluxi
18d03eb7a0 sepolicy: Address new bluetooth denial
avc: denied { getattr } for pid=1538 comm="droid.bluetooth" path="/storage/emulated" dev="tmpfs" ino=20607 scontext=u:r:bluetooth:s0 tcontext=u:object_r:storage_stub_file:s0 tclass=dir permissive=

Change-Id: I1456561db1d5e2ebd5634756409c8b198f4f4b64
2016-12-23 12:17:03 -08:00
Zhao Wei Liew
0faa9024b8 cm: common: Remove Launcher3 makefile entry
We no longer sync Launcher3. This entry never did anything anyway,
since we build Trebuchet instead, which overrides Launcher3.

Change-Id: Ia2c56c9f819025ba34cbff1daf8d3380a924a8a5
2016-12-23 18:35:25 +08:00
Ilya Lebedev
06773b94fb Contributors: Add maintainer for ARK Benefit A3(peach)
Change-Id: I3ca16eeec0fd30150f2ca7277151135e42ec291a
2016-12-17 16:04:26 +03:00
Alex Naidis
a3a76f5d1c webview_packages: fix incorrect signatures
Chrome Stable and Google Webview had incorrect
signatures. That was due to an incorrect method
of determining the right signature.

That mistake wasn't noticed because Android
disables the signature check on "userdebug" and
"eng" builds. It is only enabled on "user" builds.

So this commit replaces the wrong signatures
of Chrome Stable and Google Webview by the
correct ones and thus makes them avaliable
webview providers on "user" builds.

Main credits go to @KreAch3R for his
extensive research on the issue.

Change-Id: I081783b59254bfed0b2e3568ba8ae2801d86efea
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-12-15 18:10:15 +01:00
Vishnu Vardhan Reddy Naini
a053944472 Add Reliance Jio India IMS volte apn's
See AOSP for verification https://android.googlesource.com/device/google/marlin/+/nougat-dr1-release/apns-full-conf.xml#23115

Change-Id: If4f1b12ba598a4a9aed81ccfa069d4c0fd738c19
2016-12-11 21:39:03 -08:00
Vishnu Vardhan Reddy Naini
d40e1496f6 Fix Reliance Jio India APNs.
See AOSP https://android.googlesource.com/device/google/marlin/+/nougat-dr1-release/apns-full-conf.xml#23105

Change-Id: Icafc3450aa06426ba3d837b95bef0865992b4782
2016-12-11 21:38:58 -08:00
Joey Rizzoli
08f65cdc3e cm: bring back storage manager
7.1.1 added this additional overlay

Change-Id: I776f86380d93a2ebb0cf39607ca5bb98238d47a9
Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
2016-12-10 12:49:18 -08:00