536 Commits

Author SHA1 Message Date
SGCMarkus
00d68e4ed4 sm8250-common: switch to source built hwcomposer
Change-Id: I4932a1a25b7a10d675c9a43462b20e1f75994a2f
2022-03-23 17:50:52 +01:00
dianlujitao
a2e464f5d3 sm8250-common: Drop Snap
Change-Id: Ie5e2c3d337a3d80795d6d307eb5cc4326d73bbd0
2022-03-23 14:03:37 +01:00
Kilian von Pflugk
7c74ba214b sm8250-common: Remove TARGET_USES_64_BIT_BINDER
The TARGET_USES_64_BIT_BINDER option is deprecated and can be removed

Change-Id: Ieab43c6baf17eff134a11312d8f8ee7d1b310d55
2022-03-23 14:01:08 +01:00
Alexander Koskovich
5ef2bbcda9 sm8250-common: overlay-lineage: Remove obsolete fps location config
Change-Id: I2569c77b4daa84263903f710d421d05d0a491d08
2022-03-23 14:00:44 +01:00
SGCMarkus
00355cbbbd sm8250-common: enforce artifact paths
Change-Id: I38bf893aac1ffc213b510ae13bcad78e69283f13
2022-03-23 13:47:08 +01:00
SGCMarkus
2fd396c638 sm8250-common: build few missing codec2 libs
Change-Id: I9d148d963330e1aa26b9fb9d34cacfc12c6b1198
2022-03-23 13:46:34 +01:00
SGCMarkus
489a2afe62 sm8250-common: reserve a bit of space for vendor
Change-Id: I090f22e4672d3c19f7104ac49fc01bf5bfdf4e61
2022-03-23 13:45:47 +01:00
SGCMarkus
f70e552aac sm8250-common: defconfig: switch to fragments
Change-Id: I3ffa5d54075cf84326cf2861fed5f33216e38372
2022-03-19 16:53:53 +01:00
SGCMarkus
22ee9f1402 sm8250-common: sepolicy: remove label for gsm.operator.iso-country
e7fae4b66b
2022-03-13 16:09:19 +01:00
SGCMarkus
7ad58f9629 sm8250-common: sepolicy: allow vendor_file execute_no_trans
In some cases vendor_init_fingerprint, vendor_init_hw,
and vendor_qti_init_shell were not allowed to execute setprop/getprop

This caused ril and fingerprint, as well as partially sensors to fail.

Log:
avc:  denied  { execute_no_trans } for  pid=613 comm="init.oem.hw.sh" path="/vendor/bin/setprop" dev="overlay" ino=32565 scontext=u:r:vendor_init_hw:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
avc: denied { execute_no_trans } for comm="init.qcom.early" path="/vendor/bin/getprop" dev="overlay" ino=34132 scontext=u:r:vendor_qti_init_shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
avc: denied { execute_no_trans } for comm="init.oem.finger" path="/vendor/bin/getprop" dev="overlay" ino=34132 scontext=u:r:vendor_init_fingerprint:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
avc: denied { execute_no_trans } for comm="init.qcom.post_" path="/vendor/bin/getprop" dev="overlay" ino=34132 scontext=u:r:vendor_qti_init_shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
2022-03-09 22:50:07 +01:00
SGCMarkus
bc6c1abac1 sm8250-common: set board in device tree, and add more stock props 2022-03-09 22:16:05 +01:00
SGCMarkus
fa109b63a0 sm8250-common: manifest: move livedisplay interface specification to device 2022-03-06 23:03:05 +01:00
SGCMarkus
3c0cba0748 sm8250-common: livedisplay: uprev to 2.1 2022-03-06 23:02:20 +01:00
SGCMarkus
969edb23b4 sm8250-common: livedisplay: rebrand lito to kona 2022-03-06 20:52:29 +01:00
Steven Moreland
8f5d895118 sm8250-common: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Ife609bf7eddeae2fba81625d92de7d8ecddf60e6
2022-03-06 20:49:33 +01:00
Erfan Abdi
b2b124d14a sm8250-common: Import custom livedisplay 2022-03-06 20:48:04 +01:00
SGCMarkus
3b67381779 sm8250-common: build sdm common livedisplay for picture adjustment 2022-03-06 20:44:40 +01:00
linjoey
bdae4a7413 sm8250-common: Modify Vulkan and OpenGL version to 2020-03-01
Bug: 191252896
Test: android.graphics.cts.VulkanDeqpLevelTest#testVulkanDeqpLevel pass
Change-Id: I0e598ee8a26cd614dc5076a87c514756ba39d740
2022-03-06 17:46:32 +01:00
Alastair Donaldson
57730b70c1 sm8250-common: Add OpenGL ES and update Vulkan dEQP feature flags
Populates a new	feature	flag to	record the level of OpenGL ES dEQP
test support.  Updates the analogous Vulkan dEQP feature flag to the
value for the next dessert release.

Bug: 159841535
Bug: 175706433
Merged-In: Ib0fb8f83732d0b3f56bb11a97c84fdc7727c1026
Change-Id: Ic97a65fba95a67e3e16cedd0eb4f3f209f645421
2022-03-06 17:45:58 +01:00
SGCMarkus
05b741a6db sm8250-common: dont set ro.vendor.hw.dualsim
* this is set by motobox if needed and causes issues on single sim devices
2022-03-06 17:40:10 +01:00
SGCMarkus
37fb10f30e sm8250-common: sepolicy: allow hal_fingerprint_default access to vendor_sysfs_fingerprint 2022-02-25 16:58:36 +01:00
SGCMarkus
906e2153d7 sm8250-common: sepolicy: add pstar touch hal service 2022-02-22 21:57:46 +01:00
SGCMarkus
f62bc83a70 sm8250-common: proprietary-files: remove prebuilt blobs that we can build from source 2022-02-22 16:37:16 +01:00
SGCMarkus
bb1e3d3af0 sm8250-common: build lineage trust hal 2022-02-21 18:52:57 +01:00
SGCMarkus
c42a29db84 sm8250-common: proprietary-files: update to RRA31.Q3-19-86 2022-02-21 18:18:34 +01:00
SGCMarkus
3660a02879 sm8250-common: switch to qti bt stack 2022-02-21 13:59:59 +01:00
SGCMarkus
7375f455fa sm8250-common: sepolicy: fix power hal and wakeup
also fix few more nfc denials
2022-02-21 00:11:32 +01:00
SGCMarkus
0a4e913d63 sm8250-common: show smooth display settings instead of min refresh rate 2022-02-20 19:37:09 +01:00
SGCMarkus
e55133914b sm8250-common: manifest: clean up 2022-02-20 17:29:55 +01:00
SGCMarkus
31398f7cdc sm8250-common: sepolicy: label dt-gesture and allow power/sensor hal access
pstar uses the touchscreen_mmi via stmicro_mmi driver
this is a partial revert of
376db816f6
2022-02-20 17:19:53 +01:00
SGCMarkus
d1def81471 sm8250-common: sepolicy: allow gnss hal to find fwk_sensor_hwservice 2022-02-20 17:09:08 +01:00
SGCMarkus
5ecaa7df6c sm8250-common: sepolicy: allow fingerprint hal access to bootimage props 2022-02-20 17:06:10 +01:00
SGCMarkus
b750905fc0 sm8250-common: sepolicy: allow rild access to wifi hal props 2022-02-20 17:05:35 +01:00
SGCMarkus
de433dd886 sm8250-common: sepolicy: label bq25960, mmi_chrg_manager(_qc3p) power supplies
also remove fp_fpc1020 duplicate
2022-02-20 17:04:34 +01:00
SGCMarkus
e948fd1bba sm8250-common: sepolicy: label moto nfc props
also make the touch prop more common
2022-02-20 17:02:57 +01:00
SGCMarkus
b41d7c4118 sm8250-common: sepolicy: allow thermal-engine access to sysfs_battery_supply 2022-02-20 17:01:38 +01:00
SGCMarkus
b43e3fd93e sm8250-common: sepolicy: label stflashtool and st secure_element 2022-02-20 16:59:59 +01:00
SGCMarkus
54cdde429d sm8250-common: rootdir: remove init.mmi.usb.sh 2022-02-20 16:57:16 +01:00
SGCMarkus
b144c5e052 sm8250-common: build MotoActions 2022-02-20 15:23:31 +01:00
SGCMarkus
e565a9ed2d sm8250-common: sepolicy: label pstar nfc service and device 2022-02-20 15:21:51 +01:00
SGCMarkus
55cd6328ed sm8250-common: sepolicy: label pstars vibrator interface 2022-02-20 15:15:29 +01:00
dianlujitao
0fe53f415a sm8250-common: sepolicy: Fix build for S
Change-Id: Ic0c822ce146bee4d09a62306d4573f557acd186e
2022-02-20 14:29:59 +01:00
SGCMarkus
55053bf55c sm8250-common: seccomp: rename mediacodec policy 2022-02-20 14:28:53 +01:00
SGCMarkus
a3497aef2b sm8250-common: sepolicy: fix inclusion path 2022-02-20 14:27:58 +01:00
SamarV-121
918ba8d989 sm8250-common: sepolicy: Unlabel ro.gfx.driver.1
* https://android-review.googlesource.com/c/platform/system/sepolicy/+/1344643

Change-Id: I8cf513c21b91260ef914ea1621a7363c133d37d3
2022-02-20 14:24:42 +01:00
dianlujitao
a668c90d3a sm8250-common: sepolicy: Remove nonexistent property labels
Change-Id: I725ebcd810a718d0f6f42c4422d32845520aacef
2022-02-20 14:24:31 +01:00
SGCMarkus
488bd72bc5 sm8250-common: sepolicy: add rules for goodix/fpc1020 2022-02-20 14:21:47 +01:00
dianlujitao
99a387cf03 sm8250-common: Fix invalid usage of log utility
Fix derp in 1116fa8b1fcc9513d91f174300496c673b09f5eb

Change-Id: I7a4d5291a11d823f0cef024b136cfc703fa64fc0
2022-02-20 13:06:27 +01:00
SGCMarkus
2e99e32574 sm8250-common: cleanup rootdir init
remove non existing services

also fixup path for fpc_ident
2022-02-20 13:04:31 +01:00
SGCMarkus
d021fee4e1 sm8250-common: fstab: dont use bootdevice for metadata
this is also used by first_stage_init, which cant access
/dev/block/bootdevice
2022-02-20 13:04:31 +01:00