Commit Graph

537 Commits

Author SHA1 Message Date
Bruno Martins
d40f88c860 sanders: init: Handle overriding system and vendor props
* Up until now, vendor build properties were added into /system/build.prop
   when property split isn't enabled. However, Google realised that
   either /vendor/build.prop or /system/vendor/build.prop can always exist,
   and decided to clean up code and always install vendor build props
   into $(TARGET_OUT_VENDOR)/build.prop.

 * For this reason, the unified devices that used to override build props
   such as build fingerprint, will need to override the matching vendor
   build props.

Change-Id: Iacdd8eb67543daff5a46b92dbaf17cd094ce462b
2018-04-29 02:41:24 -03:00
Bruno Martins
61903f5113 sanders: Drop useless CNE related flag
* Nothing in the OSS bits takes it into account.

Change-Id: I6f949a12c643810cb1fba764bf13abb30e5dd88c
2018-04-27 19:13:39 -03:00
Rashed Abdel-Tawab
1626080a5c sanders: Move HIDL shims to vendor
Nothing uses these in system. No need to keep them there
also address denials (thanks to @joojoobee666)

Change-Id: Ia09e6611f801a79fa9ac04c60425397eada383ec
2018-04-27 19:12:08 -03:00
dianlujitao
ec4c1e393a sanders: Build dummy android.hidl.[base,manager]@1.0
* Required by Oreo-MR0 blobs

Change-Id: I81a081130869c4d92f30b2674e75bb6b096a7a2c
2018-04-27 19:10:46 -03:00
jhenrique09
354bf4fabf Revert latest hidl dummy libs commits
* With Android.bp duplicate reference error will occur:

23:54:16 error: device/motorola/cedric/libhidl/Android.bp:1:1: module "android.hidl.base@1.0" already defined
23:54:16 error: device/motorola/potter/libhidl/Android.bp:1:1: <-- previous definition here
23:54:16 error: device/motorola/cedric/libhidl/Android.bp:12:1: module "android.hidl.manager@1.0" already defined
23:54:16 error: device/motorola/potter/libhidl/Android.bp:12:1: <-- previous definition here

Revert "sanders: build a dummy android.hidl.manager@1.0"

This reverts commit edd4757655.

Revert "sanders: Build a dummy android.hidl.base@1.0 for Oreo-MR0 blobs"

This reverts commit 11becd0eca.
2018-04-27 19:04:55 -03:00
therootlord
4b82e25628 sanders: sepolicy: cleanup 2018-04-27 16:42:01 -03:00
Vachounet
3f951ce093 sanders: address some denials
Change-Id: I90239f922aea3b7684b492ea34f137ef31577221
2018-04-27 14:09:32 -03:00
Vache
da902d3674 sanders: label mmcblk0p35 as metadata_block_device
* No idea why /dev/block/bootdevice/by-name/metadata doesn't work
* Also apply proper vold rules
* Fix encryption
2018-04-27 14:07:17 -03:00
jhenrique09
ec6a5a41a5 sanders: sepolicy: Fix camera_bgproc service denials 2018-04-27 14:06:30 -03:00
jhenrique09
14a8a7f47c sanders: sepolicy: Fix adspd denial
* Fix Ok Google

02-01 19:29:32.243 I/auditd  ( 2567): type=1400 audit(0.0:18): avc: denied { read } for uid=10046 comm="earchbox:search" name="u:object_r:adspd_prop:s0" dev="tmpfs" ino=15433 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:adspd_prop:s0 tclass=file permissive=0
2018-04-27 14:04:54 -03:00
Vachounet
7b2d219e9c sanders: fix FMRadio after enforcing
* Use oss service
* Set proper context

Change-Id: I7bd58339bf2d9d37847961f9260eead785c14c5a
2018-04-27 14:03:52 -03:00
jhenrique09
46660b7702 sanders: Fix moar denials 2018-04-26 01:37:47 -03:00
jhenrique09
2081af0064 sanders: sepolicy: Fix more denials 2018-04-26 01:35:50 -03:00
jhenrique09
b237828d88 sanders: sepolicy: Give proper label to custom fp hal 2018-04-26 01:28:38 -03:00
Vachounet
afb5c1e6f7 sanders: remove persist_block_device from dev_type
* Already defined
2018-04-26 01:26:13 -03:00
Vachounet
e6898f1a78 sanders: update sepoly again 2018-04-26 01:24:28 -03:00
Vachounet
baa9d4a4ea sanders: address some new denials 2018-04-26 01:19:15 -03:00
Vachounet
2094c0db30 sanders: sepolicy update 2018-04-26 01:17:20 -03:00
Vachounet
005c212c61 sanders: sepolicy update
Change-Id: Ibc045495b988437244304f37d451c9537a53a4f3
2018-04-26 00:58:56 -03:00
jhenrique09
c65378a328 sanders: sepolicy: Remove duplicated reference 2018-04-26 00:07:40 -03:00
Vachounet
c030252639 sanders: build libqdMetaData.system
Change-Id: Ia5ad7e28569253d267cead4dbc85bc4fc202d7c2
2018-04-02 15:02:03 -03:00
Vachounet
a804edfd89 sanders: build libdisplayconfig
Change-Id: I06a4bfe9c775d1e3f831cb2f61cde27b19a4dc93
2018-04-02 15:01:36 -03:00
Vachounet
0a371fa939 sanders: enable TARGET_USE_SDCLANG
Change-Id: I3b4d503a5daa07cf15d96363a1fb88bd72ee7879
2018-04-02 15:01:10 -03:00
attack11
f419a198aa msm8953: sched_upmigrate need to be set first 2018-04-01 02:47:48 -03:00
attack11
97ad391067 Revert "Use tracefs not debugfs"
This reverts commit 4312ce926ab60cbde9ff079908b7eb2954824419.
2018-03-23 19:26:57 -03:00
Varun Garg
4e4e55cca4 msm8953: Update the sched parameters
Updating the sched params upmigrate, downmigrate
and upmigrate_min_nice for msm8953

Change-Id: I204bdc817bf769aa9f36acf4b4e2f151fe48d3c5
2018-03-23 19:22:10 -03:00
jhenrique09
a16467737d sanders: Use all cores in dex2oat 2018-03-22 23:07:08 -03:00
therootlord
9d35be7aef Revert "sanders: Use all cores for dex2oat"
This reverts commit 51644ac52a.
2018-03-22 22:59:55 -03:00
Dan Pasanen
27831bbe96 sanders: use kernel-based exfat
Change-Id: If271a3441027cf66ed7142d99ee8fe7b6c596de3
2018-03-19 00:33:26 -03:00
Vachounet
c289905a7d sanders: add some qcom HALs 2018-03-17 12:38:01 -03:00
Vachounet
52f4de4958 Revert "sanders: enable radio power save"
(reverted from commit 26ddbb0c29)
2018-03-17 12:34:14 -03:00
Vache
7a586a2151 sanders: update trim properties from stock
* https://review.lineageos.org/#/c/208080/
2018-03-13 13:42:24 -03:00
Vache
26ddbb0c29 sanders: enable radio power save 2018-03-13 13:31:26 -03:00
dianlujitao
be42bf9056 sanders: Add Lineage power hal to manifest
Change-Id: I03b213310b66be95d779c507dc22f748dc19c366
2018-03-05 16:30:38 -03:00
Vachounet
496570a51f sanders: shim: transition to TARGET_LD_SHIM_LIBS 2018-03-05 02:41:31 -03:00
jhenrique09
586b1a78c4 sanders: overlay: Enable turbo power charger support
* The text 'TurboPower connected' will be displayed on keyguard instead of 'Fast charging'
2018-02-24 21:15:08 -03:00
Lennart Wieboldt
81ce9eca39 sanders: remove cpuset foreground boost
Cpuset foreground boost is departed since
https://android.googlesource.com/platform/frameworks/base/+/a712d4058f6f85268838

Change-Id: Iab1834dbb8cce15480b5e11968bcfff7cc80177e
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
2018-02-16 01:27:43 -02:00
Alexander Martinz
30abb787a0 sanders: remove CPUSETS build flags
They both got replaced by runtime checks, see system/core @ 795267d4c

Change-Id: If6a5b5d93dd327475a1e6d3b80244381b1414f99
Signed-off-by: Alexander Martinz <alex@amartinz.at>
2018-02-16 01:22:08 -02:00
Rashed Abdel-Tawab
9542b45b9a sanders: Add QTI low power whitelist
Change-Id: Idb4a954979f916a7903ead982bf18b33e5cf1baf
2018-02-16 01:15:22 -02:00
dianlujitao
daefa1fec1 sanders: Add OEM privileged app permissions
Change-Id: If5425295a67449685737ab4e8099a5e2b432c78e
2018-02-16 01:11:29 -02:00
therootlord
efa9ea1915 sanders: MotoActions: Dexpreopt it 2018-02-11 19:47:49 -02:00
therootlord
f1e8d0379b sanders: MotoActions: Disable hand wave by default 2018-02-08 01:53:34 -02:00
therootlord
8cbf0fd3bb sanders: MotoActions: Re-add/fix Glance Sensor 2018-02-08 01:16:19 -02:00
Vachounet
44cfb60227 Revert "sanders: drop libqsap_sdk"
* OSS one has missing symbols, keep it as blob only

(reverted from commit a9c2dd4486)

Change-Id: I388727a3f9c99719301565fde32ff36b3b26d225
2018-02-07 22:49:45 -02:00
Dan Pasanen
c6ea6e0279 sanders: add shim for wifi_qsap_set_tx_power
Change-Id: I9ef277db6f4e068e7b92710f6039b4f261d72282
2018-02-07 22:47:27 -02:00
Vachounet
4501be51f5 sanders: update GPS HAL
* LA.UM.6.5.r1-04000-8x96.0

Change-Id: I53666d7eb27d350c6a4893ad37d2a69b16fceb7e
2018-02-07 22:37:32 -02:00
Vachounet
809d80472d sanders: add health HIDL 2018-02-07 22:28:41 -02:00
therootlord
1bb7d60aeb sanders: Bringup for SacredOS 2018-01-27 18:22:03 -02:00
jhenrique09
355b8575a3 sanders: Cleanup device 2018-01-27 18:15:44 -02:00
jhenrique09
ed3a1e0d54 sanders: Nuke data-ipa-cfg-mgr 2018-01-27 17:54:43 -02:00