Omkar Chandorkar
6648181913
sm8150-common: Introduce Dolby Atmos support
...
Change-Id: I1a8fc93be075490337de558b603f54fa74e13c46
fix
Update proprietary-files.txt
test
Update extract-files.sh
2024-03-11 16:57:36 +05:30
John Galt
ca24a8a1ac
sepolicy/camera: support Laser AF
...
Stock uses same.
2024-03-10 21:22:14 +05:30
Omkar Chandorkar
3c5cbb89a2
sm8150-common: Initial support for MDM modem
...
Change-Id: I414a8e2350f8e3af1088cd2d345ef31c17600455
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-08-05 10:06:45 +08:00
John Galt
eb87f78e92
sm8150-common: overlay: sepolicy: switch to new interface
...
Use new CSC implementation of DC Dimming with per-panel dc dimming luts.
Change-Id: I4b8455551cddbd656af17d7a01227deb438489cd
2023-08-05 10:06:44 +08:00
Cyber Knight
25fe7cb380
sm8150-common: Support Single Tap Sensor
...
Change-Id: I92bf77d402d8ee0f569fdefba5a494ea92533b04
2023-07-25 19:09:29 +02:00
John Galt
b88878ffc2
sm8150-common: Support doze double tap sensor
...
Change-Id: Iccfe562cb42dae7d6d84e36251e317a7d87cc484
2023-07-25 19:09:25 +02:00
TimoDo
e3630b3d45
sm8150-common: sepolicy: 2 wakeup nodes moved to qcom/common
...
following:
https://gerrit.aospa.co/c/AOSPA/android_device_qcom_common/+/29938
Change-Id: Ic1475b7f761c99bf97eb5045dad54183f3d47e08
2023-07-03 12:49:36 +00:00
Omkar Chandorkar
bbfb13ba6f
sm8150-common: sepolicy: remove duplicate nfc definition
...
Change-Id: I3bc8aff3b8e22119682408481621bdc99f9339ba
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2023-06-20 15:54:39 +00:00
Rituj Beniwal
c305cd6abc
sm8150-common: enable automated DC-Dimming
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: I05ee86d1cd64ae66787a1b32a1858247610bcfbf
2023-04-16 08:02:31 +00:00
timocapa
97454f0614
sm8150-common: Enable OEM fast charge detection
...
ref: 6c9af65b5b
Change-Id: I1eb33ada5fb66617b78cb95ccf32c8885a1b9b0c
2023-04-07 18:37:57 +02:00
Timo
c92545bf06
sepolicy: label LOGO and storsec to allow OTA
...
Change-Id: Icfc2ddb0a2df930f077f7b376d857462431903df
2023-02-18 20:47:10 +01:00
John Galt
021c61704f
Build/use UDFPS sensor
...
Change-Id: Ib12af1e03245224002be273266f1eb7e9d756d81
2023-02-18 20:47:09 +01:00
timocapa
0585d1dcba
sepolicy: remove 2 neverallows since waipio merge
...
Change-Id: I7654de766e10eae932354ee6d3a2a95f2e17eac0
2023-02-18 20:47:08 +01:00
Omkar Chandorkar
9b62a6fb2c
sm8150-common: add and enable SSR stack
...
- this will handle our potential adsp crashes
Change-Id: I49819bef2dd863ab7cf48cced5ab6dbeefe637ee
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2023-02-18 20:47:07 +01:00
timocapa
feaffc512e
sepolicy: Fix wakeup denials
...
E android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup38: Permission denied
W Binder:663_2: type=1400 audit(0.0:2897): avc: denied { read } for name=wakeup38 dev=sysfs ino=81797 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
used:
for i in $(realpath /sys/class/wakeup/*); do if ! echo "$(ls -dZ $i)" | grep -q sysfs_wakeup; then echo genfscon sysfs $(echo $i | sed -e 's|/sys||g' -e 's|wakeup/wakeup.*|wakeup|g' -e 's|wakeup[0-9]*|wakeup|g') u:object_r:sysfs_wakeup:s0; fi; done | sort -u
2022-05-24 19:26:23 +02:00
Omkar Chandorkar
06d4f95e1e
sm8150-common: update for new oneplus common tree
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-03 15:25:10 +09:00
LuK1337
d3e7573d05
sm8150-common: Switch to AOSP NfcNci
...
Change-Id: I3403084373445475ee1d997c47cfaa887bcfeb4a
2022-03-03 15:25:07 +09:00
LuK1337
c279953dc7
sm8150-common: sepolicy: Address neverallows
...
Change-Id: I73b3d2d45a2e6988ca86a9d3bfa125fd69320b13
2022-03-03 15:25:06 +09:00
LuK1337
5863411fde
sm8150-common: sepolicy: exported_radio_prop is no more
...
Change-Id: I0f5b2220d5d8c3efc41e2f7b1d5930affe4614a6
2022-03-03 15:25:06 +09:00
Inseob Kim
fc2551d553
sm8150-common: sepolicy: Attach vendor_property_type to properties.
...
We are going to enforce that each property has an explicit owner, such
as system, vendor, or product. This attaches vendor_property_type to
properties defined under vendor sepolicy directories.
Change-Id: Iedbbcc5086c09f549e91e73ece7311563c378347
2022-03-03 15:25:05 +09:00
SamarV-121
9408b66bfa
Revert "sm8150-common: sepolicy: Label ro.gfx.driver.1"
...
* https://android-review.googlesource.com/c/platform/system/sepolicy/+/1344643
This reverts commit 1c1b01fc0ed48a42b470efc987b28352485547b6.
Change-Id: I8cf513c21b91260ef914ea1621a7363c133d37d3
2022-03-03 15:25:05 +09:00
LuK1337
b58744eaa3
sm8150-common: sepolicy: Label vendor_sensors_als_prop in private
...
Fixes init panic on Android S GSI.
Change-Id: Ie3273eaf0a8958d3821c4d5eb79cd4a3e83e82d5
2022-03-03 15:25:02 +09:00
Omkar Chandorkar
76266d26b6
sm8150-common: add missing nfc blob and sepolicy
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-03 15:25:00 +09:00
Omkar Chandorkar
bbde6da1d0
sm8150-common: sepolicy: label a2dp prop
...
* fixes init: Do not have permissions to set 'persist.vendor.bt.a2dp_offload_cap' to 'sbc-aptx-aptxtws-aptxhd-aac-ldac' in property file '/vendor/build.prop': SELinux permission check failed
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-03 15:24:55 +09:00
Hikari-no-Tenshi
74878cd3ff
sm8150-common: sepolicy: allow system_app to control led
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: Ic598d335971a7cea6aaa0edada62a903d90dddec
2022-03-03 15:24:54 +09:00
Omkar Chandorkar
833a7e5152
sm8150-common: sepolicy: label ese prop
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-03 15:24:54 +09:00
Omkar Chandorkar
e3752d0117
sm8150-common: drop secure_element
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: I36ec5382484a1dc9030f118ffbe7f16c06837d33
2022-03-03 15:24:49 +09:00
Omkar Chandorkar
86293659d3
sm8150-common: address a few denials
...
* suppress gmscore_app looking for fw
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-03 15:24:49 +09:00
Omkar Chandorkar
0122d9236d
sm8150-common: Drop PowerOffAlarm
...
* google clock doesn't support and pa only ships gapps
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-03 15:24:48 +09:00
Omkar Chandorkar
c8a34560dd
[SQUASH]sm8150-common: camera_helper: checkout to LOS
...
Revert "FallSensor: Correctly theme the dialog"
This reverts commit acd289b071
.
Revert "sm8150-common: Theme the popup camera dialog"
This reverts commit 0b170523d1
.
Revert "sm8150-common: Allow to always display front camera open dialog"
This reverts commit a66514ccd9
.
Revert "camera_helper: Show alert dialog before raising camera when screen is off"
This reverts commit 5183a77b26
.
Revert "sm8150-common: camera_*: rework implementation and cleanup"
This reverts commit 7099ff8d71
.
sm8150-common: Move camera motor handling to OnePlusCameraHelper
Change-Id: Ie5f8bcdc80ad38a48fc9f1984f02efc2ebd85b91
Automatic translation import
Change-Id: Ic5ef142f24e2b0c4b94b082b5228edc2dc04f0de
2022-03-03 15:24:46 +09:00
Omkar Chandorkar
0a68ddbf98
sm8150-common: inital bringup for aospa
...
* drop in-tree bootctrl and dependencies
* drop unused flags
* use usb component
* update HIDL manifests for CAF
* blob perf deps
* drop non-existent overlays and general cleanup
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: I7babead03416479ad6928d359b1cb68def0565cc
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-03 15:24:40 +09:00
Omkar Chandorkar
69d5120e21
sm8150-common: drop los touch
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-05-23 15:08:26 +00:00
Omkar Chandorkar
94f3b805df
sm8150-common: remove DeviceSettings
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-05-23 15:08:14 +00:00
Omkar Chandorkar
e451685d49
sm8150-common: sepolicy: allow camera to read /dev/adsprpc-smd-secure
...
* fixes portrait mode in oneplus camera
`05-20 17:02:33.677 878 1598 E OPRTB : doLoadLibrary():1542 doLoadLibrary RTB select: /vendor/lib64/libarcsoft_dualcam_bokeh_api.so, bokeh_select:0
05-20 17:02:33.678 878 1598 E android.hardware.camera.provider@2.4-service_64: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:2459: Error -1: apps_dev_init: app does not have access to fastrpc device of domain 3 (Permission denied)
05-20 17:02:33.678 878 1598 E android.hardware.camera.provider@2.4-service_64: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:2588: Error 0xffffffff: apps_dev_init failed for domain 3, errno Permission denied
05-20 17:02:33.672 878 878 W provider@2.4-se: type=1400 audit(0.0:55): avc: denied { read } for name="adsprpc-smd-secure" dev="tmpfs" ino=28876 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:vendor_xdsp_device:s0 tclass=chr_file permissive=0`
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-05-21 09:33:19 +00:00
Omkar Chandorkar
b0a4f906d6
sm8150-common: sepolicy: cleanup contexts
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-05-16 12:31:46 +00:00
Omkar Chandorkar
870504e13d
sm8150-common: cleanup NFC prop and service
...
* fixes init being unable to start service or set the prop
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-05-10 15:44:12 +00:00
alk3pInjection
d6cd006f80
sm8150-common: Cleanup {oemdump, memplus, fsc} stuff
...
Signed-off-by: alk3pInjection <webmaster@raspii.tech>
2021-05-06 12:27:07 +00:00
Omkar Chandorkar
3855eeb877
sm8150-common: fod: rewrite set/restore colour mode
...
* add newly introduced customer modes
* Mode write streams were dumped using following strace command:
- strace -fp `pidof vendor.oneplus.hardware.display@1.0-service` -e openat,write
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-05-02 11:15:59 +00:00
Omkar Chandorkar
c7fceca04c
sm8150-common: add customer display modes
...
after LineageOS/android_device_oneplus_sm8150-common@648ca57376 I realised
that our display modes were different compared to OOS while having the same
name. So add Natural and Vivid which uses the native modes, and make
P3 and SRGB use customer modes now.
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-05-02 04:13:59 +00:00
Omkar Chandorkar
b4f0e658aa
sm8150-common: sepolicy: address more nfc denials
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-27 09:15:12 +00:00
Omkar Chandorkar
4f2a9f1bbb
sm8150-common: address remaining denials for eSE
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-21 18:49:49 +05:30
Omkar Chandorkar
ec9d1bfd62
sm8150-common: label eSE prop and address more denials
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-21 12:18:53 +05:30
Omkar Chandorkar
415be4e599
sm8150-common: sepolicy: remove sepol for virtual_ab
...
* hotdogb uses regular a/b now
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-20 21:35:44 +05:30
Omkar Chandorkar
8eaee60311
sm8150-common: sepolicy: allow untrusted_app to read vendor_persist_camera_prop
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-20 21:33:50 +05:30
Omkar Chandorkar
f6c90feb13
sm8150-common: sepolicy: allow secure_element to read nfc prop
...
* fixes E libc : Access denied finding property "persist.vendor.nfc.delayese"
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-20 11:54:50 +05:30
Omkar Chandorkar
7e2cacf3ca
sm8150-common: sepolicy: allow rw_file perms to secure_element hal
...
* fixes E NxpEseHal: seHalInit: SecureElement open failed!!!
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-20 11:50:20 +05:30
Omkar Chandorkar
3d7d8d6c20
sm8150-common: address secure_element denial
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-14 10:44:41 +05:30
Omkar Chandorkar
8277c8b60b
sm8150-common: sepolicy: address priv_app denial
...
* fixes avc: denied { read } for comm=446576696365207374617465206D61 name="temp" dev="sysfs" ino=78965 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=file permissive=0 app=com.oneplus.camera
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-13 15:07:21 +05:30
Omkar Chandorkar
c39af233b2
sm8150-common: drop sysfs_livedisplay_tuneable
...
* was lazy to fix this before
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-07 12:21:26 +05:30
Omkar Chandorkar
e3877fd44d
sm8150-common: sepolicy: add vendor_ prefix
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-06 20:30:02 +05:30