LuK1337
5e59b3a379
sm8350-common: sepolicy: Label oplusstanvbk partition
...
Change-Id: I01f6c33c2328935cbddca6e40c3d9fdb0e4fbc01
2021-06-02 13:27:38 +02:00
Bruno Martins
eeea085285
sm8350-common: sepolicy: Allow vendor_sensors to read engineermode data
...
Change-Id: I90a4f912fc277094faf9150866eae50d8f171e2a
2021-06-02 13:18:12 +02:00
Bruno Martins
05e5792452
sm8350-common: sepolicy: Address vendor_qti_init_shell denials
...
Change-Id: I60d638881bde90ba2627150a17a45689314c74b0
2021-06-02 13:18:12 +02:00
Bruno Martins
2596fae414
sm8350-common: sepolicy: Allow camera to set vendor.sys.op.disable_ufstw
...
Change-Id: Iafd461fed468a91f3c5637a6ecb61616acbcb225
2021-06-02 13:18:06 +02:00
Bruno Martins
d822e326fb
sm8350-common: sepolicy: Label tri-state key calibration data file
...
Change-Id: I072c2aaf5c9aae231c68bc9e55806eb59fa7f665
2021-06-02 11:37:29 +02:00
LuK1337
965826e23b
sm8350-common: sepolicy: Add rules for OnePlus charger
...
Change-Id: Ic4685fca5d631bce8b87492bc3c956e3dc567054
2021-06-02 09:35:21 +01:00
LuK1337
cfa0bbf545
sm8350-common: Don't write to /dev/stune/foreground/tasks
...
This platform does not have a schedtune thus it
spams logcat with SELinux denials.
Change-Id: Iefefa2f383aef3e4d730e0b0568afd2affd2f3da
2021-06-02 02:15:50 +02:00
Bruno Martins
186093efa0
sm8350-common: sepolicy: Trash leftover rules
...
Change-Id: Ia4e454598230bb5f78812494c2c3d45933c71250
2021-06-02 01:00:04 +01:00
Bruno Martins
79d93b6625
sm8350-common: Revise feature permission sets
...
Change-Id: I79396b6836f4ee45a7019c170ae6f647d06a8569
2021-06-02 00:59:17 +01:00
LuK1337
aed215cbbf
sm8350-common: sepolicy: Regenerate labels for wakeup dirs
...
The list of folders for genfscon was generated using following script:
for f in `adb shell "find /sys/devices -name wakeup -type d"`; do
adb shell "ls -Z '$f' | grep -qv u:object_r:sysfs:s0 || echo '$f'"
done
While list for regular file_contexts was just a simple grep "wakeup[0-9]".
Change-Id: I66abd501ce53b84e7268948d01d7b6c6c42cfbd1
2021-06-02 01:55:41 +02:00
LuK1337
d2493c7765
sm8350-common: Build PowerShare HAL for all targets
...
Entire OnePlus 9 series supports wireless charging.
Change-Id: I50782fda084e0de21b32a67ae2d7be72579f16a5
2021-06-02 01:15:32 +02:00
LuK1337
444f982c63
sm8350-common: powershare: Update TX enable node
...
Change-Id: I0c9b384b2debdb2f83016d7d51eff45122bb594e
2021-06-02 01:15:32 +02:00
LuK1337
62dffdd580
sm8350-common: sepolicy: Label all oplus chg nodes
...
Change-Id: I0f7b55e21dcf237e33e91717d4f750e88134268a
2021-06-02 01:15:32 +02:00
LuK1337
1d85651b3a
sm8350-common: sepolicy: Remove procfs_oem_wireless type
...
SM8350 devices don't have /proc/wireless or /proc/skin_temp_thrd.
Change-Id: Ib3a67f7c508ab3aea0bee28866b7293c8a785739
2021-06-02 01:15:32 +02:00
LuK1337
deeda29fbf
sm8350-common: sepolicy: Sync block device labels with stock
...
Change-Id: I39ff2f346297e4c90fb85e0dced69bec15c1503d
2021-06-02 01:15:32 +02:00
Bruno Martins
82593d3701
sm8350-common: Explicitly enable dm-default-key volume metadata encryption method
...
Change-Id: Iabfe4d15ac108fa594df391be728986274e3126e
2021-06-02 01:05:14 +02:00
Bruno Martins
4cd2c8b6e5
sm8350-common: Bring up camera with enforcing SELinux
...
SELinux is more and more annoying nowadays, we all know that...
After spending hours to figure out why camera wasn't working while
on enforcing mode, the audits finally showed up after booting
into permissive mode. :S
05-31 01:19:55.133 877 877 I provider@2.4-se: type=1400 audit(0.0:456): avc: denied { read write } for name="capture" dev="sysfs" ino=116259 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
05-31 01:19:55.133 877 877 I provider@2.4-se: type=1400 audit(0.0:457): avc: denied { open } for path="/sys/kernel/tof_control/app0/capture" dev="sysfs" ino=116259 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
Change-Id: I1727b1a299a02f15b75dce9a4d5c72201f6632c3
2021-06-01 23:23:38 +01:00
Bruno Martins
dae9ae569e
sm8350-common: Sync ODM features list with OnePlus framework
...
Change-Id: I5ee53189cb0783d7d2acec584aef6cecc7d612de
2021-06-01 23:23:38 +01:00
Alexander Koskovich
13f9f346a3
sm8350-common: init: Restrict SIM to SSSS on the NA variants
...
Change-Id: I39d324395f61c253ea1f6b0d192b1194f57961fb
2021-06-01 23:23:38 +01:00
LuK1337
0ff6496538
sm8350-common: Sync audio props with stock
...
Change-Id: Icf3bd214c67fa68ba113b55f374dad68a7a60850
2021-06-01 23:23:38 +01:00
Ajender Reddy
9847562161
sm8350-common: Enable vbat monitor feature by default
...
Change-Id: Ic5e8248bbd7c79553510d0094463607cc316a50e
2021-06-01 23:23:38 +01:00
Sudheer Papothi
14e5d46fab
sm8350-common: Add speaker protection v4 configuration
...
Add speaker protection v4 configuration on lahaina.
Change-Id: I8d1e9e7055bc78ba4c14e395e0880c8ee8d20013
2021-06-01 23:23:38 +01:00
LuK1337
56e0ada962
sm8350-common: Enable display early wakeup
...
Change-Id: I43b9339763fefe732856db669687eeee4771c740
2021-06-01 23:23:38 +01:00
LuK1337
ad3e0f3fdb
sm8350-common: Sync surfaceflinger props with stock
...
Change-Id: I30c310b7e2bd5c7a21f07b8d8ae7056d99f22c4d
2021-06-01 23:23:38 +01:00
Sushil Chauhan
e973da39e0
sm8350-common: Enable Content Fps Detection
...
Enable Content Fps Detection feature in SurfaceFlinger.
CRs-Fixed: 2641659
Change-Id: I3a74823612d89b6901dfb7395f1c8ef924875a30
2021-06-01 23:23:38 +01:00
LuK1337
fd985a1945
sm8350-common: Configure USB MTP over FFS
...
This is now required for targets using 5.4 kernel and above
because the legacy f_mtp is deprecated.
Change-Id: Ief9d955d6e4159263864bc82beae6dcf6c858ce1
2021-06-01 23:23:38 +01:00
Jack Pham
b5aa70b18d
sm8350-common: Configure USB Diag over FFS
...
On targets where diag-router is used, override the
vendor.usb.diag.func.name property to 'ffs' to
instantiate the Diag function instances to use
F_FS instead of the legacy f_diag driver.
Change-Id: I529a081a0d6988628944a9020b61c061baa877a4
2021-06-01 23:23:38 +01:00
Jaideep Sharma
3590daee0a
sm8350-common: Add property for timecheck timeout duration.
...
Timecheck timeout set to 20sec based on the property
vendor.audio.hal.boot.timeout.ms before system is ready.
It updates to default timeout of 5sec, once the system
is ready.
Change-Id: I651fea37fc7093e196fc2f5e540e6d9447f88b71
2021-06-01 23:23:38 +01:00
Kunlei Zhang
d47fe32f67
sm8350-common: Add feature support to set power mode for voice call
...
Add support to set power mode for voice call
Change-Id: I052f094c62a25cd75da3c7cca172b85a4f46ced4
2021-06-01 23:23:38 +01:00
dianlujitao
a3a36f3a02
sm8350-common: Switch to QTI bt stack
...
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
2021-06-01 23:23:38 +01:00
Lokesh Gidra
c0ab297b6f
sm8350-common: Use 6GB dalvik-heap config
...
We are currently using 2GB dalvik-heap config.
Bug: 145823510
Test: MPTS
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2021-06-01 23:23:38 +01:00
LuK1337
aade89e9d0
sm8350-common: Switch MDM remote fs symlinks to MSM
...
Apparently 8350 has MSM baseband rather than MDM, who'd have thought?
Change-Id: Ie70a0c5dce177f293ccc0ff1b46a642527f85549
2021-06-01 23:23:38 +01:00
LuK1337
1be5e11fdb
sm8350-common: Don't pass OEM_TARGET_PRODUCT to kernel build cmdline
...
Not needed on this platform.
Change-Id: I6cbb2772b8a79a7d50be113e493ae9743238cc8e
2021-06-01 23:23:38 +01:00
Aaron Kling
4c99525ebc
sm8350-common: Copy selected modules to recovery
...
Change-Id: Ic85408521bb5a2d40d9bfadff849c7b266b6f10d
2021-06-01 23:23:38 +01:00
Bruno Martins
1c1195097b
sm8350-common: Bring up DSDS radio
...
Change-Id: I290532f7a9f3477b0a13f73d6818a16134df1caa
2021-06-01 23:23:38 +01:00
Bruno Martins
f49155a32c
sm8350-common: sepolicy: Fix haptics nodes path
...
Change-Id: I54cb741b145ff144162c82f84aad46628b408004
2021-06-01 23:23:38 +01:00
Bruno Martins
f4e7375e13
sm8350-common: sepolicy: Re-label health sysfs nodes
...
Change-Id: I648046582f54a254d61c6c76ec5747357bdeca59
2021-06-01 23:23:38 +01:00
LuK1337
b6e726035c
sm8350-common: Update wlan symlinks
...
Change-Id: I4f0ae4ee4a9b5e39325405c9388466438b5b8535
2021-06-01 23:23:38 +01:00
LuK1337
32f0124324
sm8350-common: Regenerate config.fs
...
Change-Id: I6eb871c6a13593a8f3684b7af95f2c41eadd3bd5
2021-06-01 23:23:38 +01:00
LuK1337
4773fa9758
sm8350-common: Duplicate all audio configs to vendor/etc/audio/sku_lahaina
...
Change-Id: Ie14049e44c0f97729b96a171f29c25470ae162fa
2021-06-01 23:23:38 +01:00
LuK1337
2deb022492
sm8350-common: Use correct FRP block device
...
Change-Id: I54495530fa383b81efc70e94f4bb46a56a07ef6d
2021-06-01 23:23:38 +01:00
LuK1337
892d7c1b59
sm8350-common: Build libhidltransport.vendor
...
Needed for composer HAL.
Change-Id: I3cf443297bc558b29c3033fce403394c412461b9
2021-06-01 23:23:38 +01:00
LuK1337
448b981fac
sm8350-common: Use correct kernel linker
...
Change-Id: I1d1064a5176182acce7921e94485a1090d931660
2021-06-01 23:23:38 +01:00
LuK1337
81398e09df
sm8350-common: Set correct userdata size
...
Change-Id: I9d06a1d089fa8da2b024e0d0fbd85424a8c9c7b5
2021-06-01 23:23:38 +01:00
Christian Oder
c7065c61ee
sm8350-common: Add reserved partition sizes for product, system and system_ext
...
Change-Id: Ib856284f6b6c9ed3511ef691c72f58f7e6f5a901
2021-06-01 23:23:38 +01:00
LuK1337
ad5b0c461d
sm8350-common: Declare super and its partitions size
...
Partitions size is calculated using this formula: (super / 2 - 4M).
Change-Id: I8d211f9885f3bbebfc221ae320f83b9478677034
2021-06-01 23:23:38 +01:00
LuK1337
c85c37e576
sm8350-common: Fix host_init_verifier errors
...
Change-Id: I6d6ca2bd57ef36916e17cc91fea13839d03d02a8
2021-06-01 23:23:38 +01:00
LuK1337
044ba4df05
sm8350-common: rootdir: Strip out unnecessary SKU customization
...
I'd rather never wake up to wake_up_samurai.ogg.
Change-Id: Id52e643546b2e3e0a3eab8690188004c7a2386df
2021-06-01 23:23:38 +01:00
LuK1337
9f55e268e1
sm8350-common: Enable AUDIO_FEATURE_ENABLED_GKI
...
Change-Id: I4f909077d75bf188e57767614486e9ca1021707e
2021-06-01 23:23:38 +01:00
Smita Ghosh
efd421db40
sm8350-common: gpt-utils: Add OTA support for below partition
...
1. shrm
2. cpucp
Change-Id: I14e8c4b3399f403fbec857bcbb073f54ced24339
2021-06-01 23:23:38 +01:00