Commit Graph

572 Commits

Author SHA1 Message Date
Vachounet
b6de4fd4db sanders: sync media configs with stock 2018-07-19 03:02:58 -03:00
Vachounet
976b07567b sanders: build kernel with clang 2018-07-19 03:02:58 -03:00
Henrique Silva
a94abe8926 sanders: Move fingerprint back to makefile
* Required because vendor.img is separated
2018-07-19 03:02:58 -03:00
Henrique Silva
17eb921ee5 sanders: Remove hal1 packagelist
Deprecated
2018-07-19 03:02:58 -03:00
Vachounet
afd04fabe9 sanders: sync some props with stock 2018-07-19 03:02:58 -03:00
jhenrique09
6bad770ffc sanders: don't build camera service
* Conflicts with Moto one
2018-07-19 03:02:58 -03:00
Vachounet
60669a4f35 sanders: switch to xml audio policy 2018-07-19 03:02:58 -03:00
Vachounet
aa2a398549 sanders: override some system props
* Fix camera HAL that still expects ro.* instead of ro.vendor*
2018-07-19 03:02:58 -03:00
Vachounet
84b87de13c sanders: bye shims 2018-07-19 03:02:58 -03:00
Vachounet
23ad650025 sanders: move charge_only_mode to vendor
Change-Id: I8c5dd54ad9040f94bca25794d12ec564bfad7f85
2018-07-19 03:02:58 -03:00
Vachounet
0fffdf7b2f sanders: fix some firmwares paths
Change-Id: I112495d5db21f888fb02253f798605e58be9edaa
2018-07-19 03:02:50 -03:00
Sohamlad7
076fad1720 sanders: Move liblight and fp wrapper to vendor
* vendor.prop: force nav bar to be enabled by default for some gsi

Change-Id: I9e9cb2399ed4ac717ffb715dc740ab30501ce485
2018-07-19 03:02:50 -03:00
Sohamlad7
36c0b81ea6 sanders: move wcnss symlinks to vendor
Change-Id: If4d3af9256dd1b173f222d0ebaa9808bf516c68d
2018-07-19 03:02:50 -03:00
Sohamlad7
d751dc3717 sanders: Change audio.calfile and rild path
* and change sbin path to vendor

Change-Id: Iee8427abfdfc999ab8ca00161065105ec3eb6f84
2018-07-19 03:02:50 -03:00
Nick
7d6d8c11dc sanders: Fix path of check_features.sh (#17)
*Also correct the path of the nfc, compass & DTV files
2018-07-19 03:02:49 -03:00
Vachounet
070bf328b1 sanders: set vbmeta-version in compatibility_matrix
* Fix vendor image mismatch warning on boot

https://github.com/LineageOS/android_frameworks_base/blob/lineage-15.1/core/java/android/os/Build.java#L899
2018-07-19 03:02:49 -03:00
Vachounet
f0c2c7ed74 sanders: move camera configs to vendor 2018-07-19 03:02:49 -03:00
Vachounet
660bbadb06 sanders: build camera provider service
* And add hidl to manifest
* Also add memtrack service
2018-07-19 03:02:49 -03:00
Vachounet
da6eee2704 sanders: fix vendor.prop path 2018-07-19 03:02:49 -03:00
therootlord
3566d465e7 sanders: build a 32b version of android.hardware.sensors service
* Also add input group access
2018-07-19 03:02:49 -03:00
Vachounet
02c3e17ba7 sanders: add biometrics HIDL 2018-07-19 03:02:49 -03:00
Vachounet
9b7fe62fa0 sanders: get rid of multihal config 2018-07-19 03:02:49 -03:00
Vachounet
92d056ceaf sanders: init: fix wcnss_service path 2018-07-19 03:02:49 -03:00
Vachounet
bee8fde070 sanders: update NFC config file to use /data/vendor/nfc 2018-07-19 03:02:49 -03:00
Vachounet
e47c31716b sanders: add NFC and sensors services to manifest 2018-07-19 03:02:41 -03:00
Vachounet
c9116e3678 sanders: move moar config files to vendor
* Also build NFC and sensors services
2018-07-19 03:02:41 -03:00
Vachounet
475518e3b8 sanders: split vendor specific and system props 2018-07-19 03:02:41 -03:00
Vachounet
c21c805fa8 sanders: move firmwares symlinks to vendor 2018-07-19 03:02:41 -03:00
Vachounet
7207d67758 sanders: init: /system/vendor -> /vendor 2018-07-19 03:02:40 -03:00
Vachounet
e8de4d1208 sanders: start that treble disaster 2018-07-19 03:01:03 -03:00
Henrique Silva
2d7fc638e6 sanders: sepolicy: Fix rootfs on untrusted_app
* With this, some file explorers cannot access the root partition (even with superuser rights granted)
2018-07-19 02:09:46 -03:00
Henrique Silva
05af13d217 sanders: Address some denials 2018-07-19 02:09:46 -03:00
Vachounet
0df4237dd3 sanders: remove TARGET_USES_MEDIA_EXTENSION flag
* It's now default enable for all QC devices : https://review.lineageos.org/#/c/213117/
2018-07-19 02:09:46 -03:00
Henrique Silva
da8f27af9f sanders: Fix qti_whitelist path 2018-05-03 02:39:03 -03:00
Bruno Martins
58a2888320 sanders: libinit: Also override certain vendor build properties 2018-04-29 02:55:43 -03:00
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