Arian
d5591d6d37
davinci: Build audio HAL from source
...
* Disable ssrec and hdmipassthru since they depend on proprietary headers
Change-Id: I6abf4baf2e03aa9dc4ce52cbe758d976441cc7fc
2020-11-23 20:44:38 +01:00
Arian
dbb6f79eb3
davinci: audio: Merge static mixer_paths overlay into mixer_paths_idp
...
Change-Id: If09ffda8650e2e8a64c2bcba850038a690d4db63
2020-11-23 20:44:38 +01:00
Bruno Martins
e0dab7b3ec
davinci: audio: Nuke dirac and misoundfx effect
...
Change-Id: I5672e554a2b2b21fbadfe915b9a89cd2365f3864
Signed-off-by: Arian <arian.kulmer@web.de>
2020-11-23 20:44:38 +01:00
Angga Satya Putra
c77b652733
davinci: audio: Remove shoebox and hw_acc from audio effects
...
* libshoebox.so does not exist anymore
* HW_ACCELERATED has been disabled by default as stated in the HAL
E EffectsFactoryConfigLoader: Could not find library in effect directories: libshoebox.so
E EffectsFactoryConfigLoader: Error querying effect 7d1580bd-297f-4683-9239-e475b6d1d69f on lib offload_bundle
E EffectsFactoryConfigLoader: Could not find library shoebox to load effect shoebox
E EffectsFactoryConfigLoader: 3 errors during loading of configuration: /vendor/etc/audio_effects.xml
Change-Id: I2407c03728930995213f16ec0551e4194fbb7476
Signed-off-by: Arian <arian.kulmer@web.de>
2020-11-23 20:44:38 +01:00
Michael Bestas
2f4f2b5147
davinci: gps: Lower gps debug level
...
* Kill logcat spam
Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
2020-11-23 20:44:38 +01:00
dianlujitao
094fe89a3f
davinci: gps: Fix non-ASCII character in gps.conf
...
Change-Id: Iea9c44c0fbad574cbc077feea3d9f1de83d7d99a
2020-11-23 20:44:38 +01:00
Arian
f88933946c
davinci: Import GPS configs from MIUI V12.0.1.0.QFJMIXM
...
Change-Id: Id3ec33eeb511081ebf2eb07324b167b3e58c11a2
2020-11-23 20:44:38 +01:00
dianlujitao
bf60c73d8e
davinci: Build GNSS HAL
...
* Remove unnecessary dependencies on liblbs_core.so
* Hardcode vendor loc HIDL version to 3.0 to enable vendor HIDL when
building w/o BSP.
Change-Id: I01f661f1d1e038737801f5a9db88e3388d470f74
2020-11-23 20:44:38 +01:00
Arian
4f4f8cd486
davinci: gps: Clean up
...
* Get rid of 1.0 and 1.1 hidl
* Get rid of target_specific_features.mk
* Clean up the top Android.mk
* Drop sample configs
* Drop sample target and board config
Change-Id: I7b45b940812a51306db76f6275ea43049fa62335
2020-11-23 20:44:38 +01:00
Arian
848723807d
davinci: gps: Import gnsspps from LA.UM.8.9.r1-03800-sm6150.0
...
Change-Id: Ib047a59a195cb6ead9438d74403cad7031804e6e
2020-11-23 20:44:37 +01:00
Arian
5230c34f83
davinci: gps: Import from LA.UM.8.9.r1-03800-sm6150.0
...
Change-Id: Idc1e896796742df928ef244bf003d24e87bfd3d7
2020-11-23 20:44:37 +01:00
Arian
cadbc6c7eb
davinci: Add xtra_root_cert for xtwifi-inet-agent
...
Change-Id: I17d268efe42a1e87c12122e1a1f9a97d9bb195c3
2020-11-23 20:44:37 +01:00
Wei Wang
2a8a880cdb
davinci: rootdir: Tune zram performance
...
-Set max_comp_streams to num of cores since upstream also moves this to
percpu.
Bug: 38249616
Test: boot and run zram-perf showing better performance
Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
2020-11-23 20:44:37 +01:00
Arian
7ff9df129e
davinci: rootdir: Update zram size from V12.0.1.0.QFJMIXM and tweak swappiness and allocstall threshold
...
Change-Id: I70a19d48918ad0fc0d7ae7e5919779636fdaa0d4
2020-11-23 20:43:15 +01:00
PIPIPIG233666
86032a20b5
davinci: fod: Add support for Xiaomi's touchfeature
...
Change-Id: I15a4a3d777d784abe04e88372647fc9abff78626
Signed-off-by: Arian <arian.kulmer@web.de>
2020-10-13 18:25:13 +02:00
Demon000
86826edb8d
davinci: fod: Set nit value on sysfs notification
...
Change-Id: I78069d10677c6704b0bb080ecf76ecbbfd0b2212
2020-10-13 18:25:13 +02:00
TheScarastic
e83427491a
davinci: fod: Add surfaceflinger extension lib
...
Change-Id: I51fb56c0a20e3cac83afb46ed6a6e2f967159d18
2020-10-13 18:25:13 +02:00
Demon000
95126a384e
davinci: fod: Switch to in-kernel handling of changes
...
Change-Id: I242a57b42bb455835bbc0777878a93bca6b986e7
2020-10-13 18:25:13 +02:00
Patrick Tjin
d24f1a797c
davinci: Add nosdcard characteristic to device
...
Bug: 30895189
Change-Id: Ic2e040dc8d811ca84c910d42f6f7db35526802ff
2020-10-13 18:25:13 +02:00
Michael Bestas
9313cc0a61
davinci: Remove android.hidl.base@1.0 shims
...
* Patch the 2 remaining blobs that depend on it.
* They already need libhidltransport.so so there's
no real need for the shims anymore.
Change-Id: I00f185fd4d1d8798893cf82abf9d64fcb68c3301
2020-10-13 18:25:13 +02:00
Arian
f31e4ef583
davinci: Define vendor security patch level
...
Change-Id: If74e5a645a24cf4312056a07cf662018b1f5a37c
2020-10-13 18:25:13 +02:00
Joey
e551c833be
davinci: Build Trust HAL
...
Change-Id: I92706987f8d3094cdfb82e71e5331b7efe69e5df
Signed-off-by: Joey <joey@lineageos.org>
2020-10-13 18:25:13 +02:00
Bruno Martins
bcc47bc18f
davinci: Implement SunlightEnhancement LiveDisplay HAL
...
Change-Id: I17b0215ad78d86989c146291552c5e6e7b6a689d
2020-10-13 18:24:30 +02:00
Arian
5de047f6e9
davinci: Build livedisplay
...
Change-Id: I6ca5443d061fe4139b0bab07a5ee1ba2a77e8de9
2020-10-10 21:43:31 +02:00
Fabian Leutenegger
d376352a80
davinci: Add assert for davinci & davinciin
...
Change-Id: Ibd97c7a9a790c9bf757e8cd34eb01fa2f43752b6
2020-10-10 21:43:31 +02:00
Arian
c5bf912891
davinci: init: Use variables for the region specific properties
...
Change-Id: I67df78d83007f872fd22c9b177e82234ef494523
2020-10-10 21:43:31 +02:00
Arian
3e024ca758
davinci: init: Always set the ro.build props
...
* ro.build. properties are set at runtime if not set
already (after libinit runs) in android 10 hence
ro.build.fingerprint wasn't set since the prop did
not contain a value while libinit ran.
Change-Id: I213c4c2c730c294c42a5d4db70359e7b49d7947e
2020-10-10 21:43:31 +02:00
LuK1337
68956aa31a
davinci: init: Override everything ^.^
...
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I8b617e57ef5345cb55e697c29a63c036512ed0af
2020-10-10 21:43:31 +02:00
AbhiShek Aggarwal
cce805e116
davinci: Add custom init to set proper variants
...
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I04f09a14cf41c89b3135c53e3089d5c3e703aae0
2020-10-10 21:43:31 +02:00
Nvertigo
6156c1202c
davinci: sepolicy: Fix OTA auto-flashing with encrypted f2fs.
...
If userdata is on f2fs and encrypted (stock config for userdata),
/cache/recovery/block.map is not created due to this denial:
05-01 13:43:47.512 6538 6538 W uncrypt : type=1400 audit(0.0:10): avc: denied { sys_admin } for capability=21 scontext=u:r:uncrypt:s0 tcontext=u:r:uncrypt:s0 tclass=capability permissive=0
Without block.map the automatic flashing of the OTA without user
interaction fails, and the user needs to manually mount data, and
flash the OTA manually.
Change-Id: I6ecb84e8b730d4c641a8bd8769043dfbfb817b83
2020-10-10 21:43:31 +02:00
Arian
22ecf03acd
davinci: Switch to enforcing
...
Change-Id: Id959ed770c96e63146b0009c4065b8b1b2d3513c
2020-10-10 21:43:31 +02:00
Arian
28af42ef6e
davinci: sepolicy: Label properties to avoid denials
...
Change-Id: Id07b6977e6ef19bd2c9d6867e06073c8364c57d3
2020-10-10 21:43:31 +02:00
Michael Bestas
51b7479a3d
davinci: sepolicy: Silence harmless QCOM denials
...
Change-Id: Iad1e2c0e654a4a46da76a57ece63dc4f35761d50
2020-10-10 21:43:31 +02:00
Arian
c41825b8c2
davinci: sepolicy: Label hwc and hwversion properties
...
Change-Id: I2c433eb307d63e0ca8fa4e4da664c649cdd0c4c2
2020-10-10 21:43:31 +02:00
Demon000
a4562cf819
davinci: sepolicy: Label property used by ril
...
Change-Id: I05e3a823cdfbbd995791769ea3774ebd064f6f12
2020-10-10 21:43:31 +02:00
Demon000
50625df1c3
davinci: sepolicy: Label manufacturer prop used by camera hal
...
Big brained Xiaomi checks if this device is a Xiaomi device before
giving access to auxiliary cameras.
Change-Id: Ife6587148824cd6b68e634ca0b999d4f380b20ce
2020-10-10 21:43:31 +02:00
Arian
f73820a339
davinci: sepolicy: Add motor rules
...
Change-Id: Ia076f82c816d0ff3ced950fcb1e2982e9ca668ff
2020-10-10 21:43:31 +02:00
Arian
fe196ce3ab
davinci: sepolicy: Allow adsprpcd to read sysfs_graphics
...
Change-Id: I14787d37700d6bf5d3ec34025ad67a66e5060222
2020-10-10 21:43:31 +02:00
Arian
68573e21ac
davinci: sepolicy: Allow power hal to write to input event
...
Change-Id: I003620c57059e0916c95ff9d025f4d668082b2c5
2020-10-10 21:43:31 +02:00
Arian
8abb2a34a1
davinci: sepolicy: Allow bluetooth HAL to read the mac address
...
Change-Id: I2e1a7c635ce8a5eedb1e4ec6cd55d31705ee47d3
2020-10-10 21:43:31 +02:00
Arian
264db02b15
davinci: sepolicy: Allow sensors HAL to set persist sensors properties
...
Change-Id: Ie1ed422961f922f1239f10eb2e752106cf3f7778
2020-10-10 21:43:31 +02:00
Demon000
566fe95ed5
davinci: sepolicy: Add sensors rules
...
Change-Id: I1e52fc7e35f4517c80cfc6ddc819d2b585ae7238
2020-10-10 21:43:31 +02:00
Demon000
a17f9fcea7
davinci: sepolicy: Create mi_thermald sepolicy
...
Change-Id: I0848568bd68c51a981273ead7e103703ff31393f
2020-10-10 21:43:31 +02:00
Demon000
11e6180f9b
davinci: sepolicy: Give NFC full access to NFC data files
...
Change-Id: I7a1dfea2e99a875eed5bc501db2175cb4955b90c
2020-10-10 21:43:31 +02:00
Demon000
279eba00ff
davinci: sepolicy: Allow radio to read vendor audio prop
...
Change-Id: Ibb6e15b51c6a06761bc7e534ff8eb3a70fba8321
2020-10-10 21:43:31 +02:00
Demon000
6ce7df4ba6
davinci: sepolicy: Add fingerprint rules
...
Change-Id: Id8b275e2d8666799eb1529cc66bc1d386710d3a4
2020-10-10 21:43:31 +02:00
Demon000
56783f283f
davinci: sepolicy: Label used camera props
...
Change-Id: Icf0f65f3a03323f38e4c6a954c508b894440b609
2020-10-10 21:43:31 +02:00
Demon000
bed948fb95
davinci: sepolicy: Add camera rules
...
Change-Id: Ifade6b81926206a8e7ab0ae0ff8d8dc657de294e
2020-10-10 21:43:31 +02:00
Demon000
167d382728
davinci: sepolicy: Add audio rules
...
Change-Id: I5da3edd3525831412d5eec131dcfa02dc88053ab
2020-10-10 21:43:31 +02:00
Demon000
a9d5dfade7
davinci: sepolicy: Allow nv_mac to create mac files
...
Change-Id: Ia7ed6c06d3ba4e2b3205c860dd57ac24026f96f8
2020-10-10 21:43:31 +02:00