Bruno Martins
ccdd46cfea
sm8350-common: overlay: Set IWLAN data service package name
...
Change-Id: I0f6a7531f57eaf293299b72e9ced9de70cc32477
2021-06-17 11:07:56 +02:00
Fenglin Wu
226203e348
sm8350-common: vibrator: Add logic to detect QTI haptics device
...
Check input device name to make sure a real QTI vibrator device is
detected instead of other input FF device with the same capability
being recognized wrongly as a QTI vibrator.
Change-Id: I54f00e777212b3bd19088faa183b0ff41019dfcc
2021-06-17 10:50:16 +02:00
Bruno Martins
298c65026f
sm8350-common: Drop TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
...
It is no longer necessary as per the latest QTI USB HAL update
(LA.UM.9.12.r1-11500-SMxx50.0).
Change-Id: I3caf226de247ac45bdcb9b35ab3a4c5b959dc1dd
2021-06-14 15:56:01 +02:00
LuK1337
15da14ed60
sm8350-common: Build android.hardware.thermal@2.0-service.qti
...
As seen on stock ROM.
Change-Id: I950ab50ded7b3c1164ff88ab18d7f1e3365a6086
2021-06-12 10:43:07 +02:00
Arne Coucheron
b0c92cc083
sm8350-common: Remove obsolete TARGET_BOARD_PLATFORM_GPU
...
Change-Id: I40a14bce12ee4725af17a3e8fbc05143e5577f8e
2021-06-11 11:35:00 +02:00
PIPIPIG233666
f726563012
sm8350-common: Split component-overrides to support pure AOSP/QTI BT stack
...
Change-Id: Ia40a996ba5164ba8a6fc5dde0dfb3ef859af1477
2021-06-10 19:16:10 +02:00
LuK1337
17656ebff5
sm8350-common: Force DSDS rather than SSSS
...
This allows users to setprop dsds on a single SIM device without it
getting reset back to ssss on boot.
While this restricts disabling dsds on native dual SIM devices,
doubtfully anyone would actually want to do that.
Change-Id: I72f019c466d23a89f4c3438150b592d21b65b742
2021-06-08 20:01:32 +02:00
LuK1337
082bd37f3e
sm8350-common: overlay: Sync CarrierConfig overlays with OOS 11.2.6.6
...
Change-Id: I801e16b863abc04cbc3b31d06e4283e7a3ea2f06
2021-06-08 19:55:30 +02:00
Sebastiano Barezzi
14307f1ef4
sm8350-common: Remove USE_XML_AUDIO_POLICY_CONF
...
* Dead since Q, where XML audio policies weren't enforced yet
Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2021-06-08 12:45:36 +01:00
Sebastiano Barezzi
7a0b534427
sm8350-common: fod: Move to AOSP Soong conditionals
...
Change-Id: Iaf7c291d2f08262d9f578901d688eb98ade4beba
2021-06-08 12:46:11 +02:00
LuK1337
58cb8ab963
sm8350-common: Install charger_fw_fstab.qti to /vendor/etc
...
We are loading it for offline charging mode, see init.target.rc.
Change-Id: Ie6f1a1f7cdf8fed740766cbfe3d59ce815e90b2f
2021-06-06 23:01:55 +02:00
P.Adarsh Reddy
3ce0b4aae7
sm8350-common: Enable incremental FS feature.
...
Change-Id: I23e19b4fd6f65d9abeabb50b7b417db966717ccd
2021-06-06 22:25:22 +02:00
Han Wang
7f18ac549a
sm8350-common: Unset PRODUCT_USE_PRODUCT_VNDK_OVERRIDE
...
* This is not needed if PRODUCT_SHIPPING_API_LEVEL is greater
than 29, which is true for sm8350 series.
Change-Id: I5b3fa65dfaae20c788a96a6a22d4016ddfb19983
2021-06-05 10:55:56 +02:00
LuK1337
64e3eb01f1
sm8350-common: Hardcode common path in Android.mk
...
Declaring it that way interferes with other
device tree using same var name.
Change-Id: Ib8b3e3c1e772e357dcbce53a123889e66f2cb129
2021-06-04 23:01:13 +02:00
LuK1337
b249320d97
sm8350-common: Enable DPM Connection Tracking (CT)
...
Change-Id: I25991ee34c87ce1de4fb234518238f3fc906b54b
2021-06-04 13:30:56 +02:00
Rheygine Medel
f4510723e1
sm8350-common: Removed TARGET_USES_GRALLOC1 flag.
...
Change-Id: I73e74d9a19d38c07f9ddc820484142dd3cd0a576
2021-06-03 22:24:58 +02:00
Bruno Martins
e6a911503a
sm8350-common: Update blobs from OOS 11.2.6.6
...
Change-Id: Ie0c233dd4a79a8a32e6e23106eca233f0469cdfa
2021-06-03 21:31:22 +02:00
Bruno Martins
051af641b8
sm8350-common: sepolicy: Fix labelling of project_info
...
There seems to be a race condition somewhere that prevents
it to be properly labelled, so move to genfs.
Change-Id: Ie2d1deeb19a871eb0b9f5120a92432fda658d725
2021-06-03 17:36:59 +01:00
LuK1337
d202951a85
sm8350-common: Sync sensors related props with stock
...
Change-Id: I9995281b9e61f1dada7dc3369e060bec5ba9f3d5
2021-06-03 18:26:14 +02:00
Bruno Martins
2d93bae4ca
sm8350-common: sepolicy: Label all modem efs partitions
...
Change-Id: Ia6f16134ff359b69bf4375765853c5f91d8609f6
2021-06-03 17:06:46 +01:00
LuK1337
21eda37050
sm8350-common: Enable NR by default for SIM2 slot
...
Change-Id: I9fbe74cfed75754b950931ce712d278421327d13
2021-06-03 12:14:59 +02:00
LuK1337
059459f160
sm8350-common: Remove wlchgd
...
wlchgd is unused on this platform.
Change-Id: Ifdc76ca918c2e67affa54c3ce61558b65f98558c
2021-06-03 10:47:55 +02:00
LuK1337
ed5afee9e5
sm8350-common: sepolicy: Drop labels for all socket devices
...
These don't exist anymore.
Change-Id: I25e15cc3d2f68d00e4ab85ed955b014da727294b
2021-06-03 10:47:55 +02:00
LuK1337
0e91c2f57e
sm8350-common: sepolicy: Remove u:object_r:memplus_device:s0 type
...
/dev/memplus doesn't exist anymore.
Change-Id: Ib0cf673039769465b50901db9a6575ab322d1095
2021-06-03 10:32:32 +02:00
LuK1337
511731bbf5
sm8350-common: sepolicy: Update labels for mmw thermal devices
...
Change-Id: I8dc2dc17fea9ab624b24b2ca610cfd96df202a2e
2021-06-03 10:27:40 +02:00
Bruno Martins
cfd5c2bf5b
sm8350-common: Unset config_vendorPlatformSignatures
...
There's no need to respect OnePlus's platform key anymore as we are
building our own vendor image and thus we are resigning all apps.
Change-Id: I49d97df08c448cad95b2ce1356a30aac49774148
2021-06-03 10:16:50 +02:00
LuK1337
ed059de982
sm8350-common: wifi-mac-generator: Fix byte order
...
Change-Id: I42b39015b518ad4b707e2023d7a3fef01dc8d825
2021-06-02 22:50:00 +02:00
LuK1337
72da964f9a
sm8350-common: Add wifi mac generator shell script
...
Change-Id: I95593db840dc4a668f899d248b2c8e03d4ebbc3e
2021-06-02 22:50:00 +02:00
LuK1337
83d0538609
sm8350-common: wifi: Enable read_mac_addr_from_mac_file
...
This is needed to make WiFi driver load wlan_mac.bin file.
Change-Id: Ifdffd86cc412de1338996055cafa08d753fe0426
2021-06-02 22:49:42 +02:00
LuK1337
c56b1c9a6f
sm8350-common: Use local WCNSS_qcom_cfg.ini
...
Change-Id: Iecca4f981fdf838020d74cbabc57088b1ac1a18c
2021-06-02 20:27:21 +02:00
Manisha Agarwal
13a9ce2716
sm8350-common: a2dp: Support lc3 codec playback
...
Add support for lc3 codec playback.
Change-Id: I11df956272068b6b7fe0911ce091225dccc4fd18
2021-06-02 18:02:47 +02:00
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