Commit Graph

2778 Commits

Author SHA1 Message Date
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
Michael Bestas
3ada201b05 Add permissions & sepolicy for HBM
* Devices with AMOLED panels use HBM instead of SRE

Change-Id: I6710e038997b04d5d7d6b5f4f6b01d3f18b4750f
2016-12-10 12:28:07 -08:00
Adrian DC
13b02ff101 repopick: Avoid failing on commits lookup
* Some projects with multiple merges and
    discountinuous histories could trigger
    an error here when the HEAD~{?} does
    not exist, hence avoid this by ignoring
    the commit and continue the search

Change-Id: Ice28c87d1bf8897da52236b637bbb0c5d349f848
2016-12-10 11:03:57 -08:00
Zhao Wei Liew
64fc5aeb49 cm: build: envsetup: Add mmmap command
It doesn't make sense to have:
1. mm and mmp
2. mma and mmap
3. mmm and mmmp
4. mmma BUT NO mmmap

Add the mmmap command for consistency.

Change-Id: I8cb1041113e6d56a0ac1d34898b07615da22b459
2016-12-10 16:48:27 +08:00
Zhao Wei Liew
afc9ad24ec cm: overlay: Enable auto-power-save modes globally
The framework disables aggressive power-save modes when appropriate,
such as when the device lacks a significant motion detector.

Thus, instead of enabling it in each device tree,
enable it by default for all devices.

Change-Id: I1999b04876f1ddce1574c050b6bc582e9a9a96da
2016-12-08 17:14:05 -08:00
Alexander Martinz
e7f4058593 cm: Fix Trusted Face
Trusted Face depends on libprotobuf-cpp-full.
Some devices already ship it (eg RIL needs it).

Include it here to build it for every device.

Link to OpenGapps issue:
https://github.com/opengapps/opengapps/issues/390

Change-Id: Iffee0aa6218dfef45f5cd728a999fa1114c0dd57
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
2016-12-08 02:10:35 -08:00
Michael Bestas
047385afe9 sepolicy: Escape '.' character
Change-Id: I35a726170f77e3f144ab7b79eac054d7fec9dc97
2016-12-07 17:53:20 -08:00
Michael Bestas
22abf9d4d1 sepolicy: Fix "Allow adb pull of executables without root"
* The policy file had the wrong extension

Change-Id: I47af98d80a950af4e4795646585b1b318e298405
2016-12-07 17:53:10 -08:00
Anik1199
ff8d3862cd Contributors: Add maintainer for Xiaomi Redmi 3/Prime (ido)
Change-Id: I90e0e90185aaee735c18ccde8e812ffe84a14bb6
2016-12-06 13:58:29 +05:30
Zhao Wei Liew
e2ec4c6051 cm: Revert the new boot animation generation process
The servers do not have ImageMagick installed right now,
breaking the automated builds.

Revert this for now.

This reverts the following commits:
840e781408 bootanim: Use a for loop to make part# folders
ce5405d1f7 Fix wrong bootanimation.zip from mkdir .../part{0..2}
6179d9494f cm: Build bootanimation.zip
67ddf37281 cm: Rework boot animation generation

Change-Id: I63fc43da9b1a6afea5f791e879f0bfc9a385d98d
2016-12-04 01:00:43 -08:00
Adrian DC
01bdd55142 roomservice: Follow fetched android_device_ projects
* In a situation where the Android tree is already
    fetched and entirely set for a device tree,
    all additions to cm.dependencies in a common
    project were ignored due to being already fetched

 * Add a new array of projects to verify but not
    necessarily fetch, and fill it upon fetch request
    or if the project starts with "android_device_",
    to let the iterations follow the common trees

Change-Id: I9eea0ab9c46a4bed8366baa37a4e7e8696481504
Signed-off-by: Adrian DC <radian.dc@gmail.com>
2016-12-03 01:56:54 -08:00
Rashed Abdel-Tawab
840e781408 bootanim: Use a for loop to make part# folders
Change-Id: Iec90f3521e589de4e8352c0349e1a0751d65d989
2016-12-02 23:06:47 -05:00
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