567 Commits

Author SHA1 Message Date
Cassie
ee13fe00b4
sm7325-common: overlay: Use the new auto network selection UI
Change-Id: I76698911103601d5f3ad67e1099790af8c2fdc18
2023-09-06 10:58:39 -07:00
Andrew Hexen
cb11d4250f
sm7325-common: sepolicy: fix init.oem.fingerprint2.sh
* For dynamic fingerprint.

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I3f3b4904b8ca3d0e3fb7d8eae235a65996df2434
2023-08-31 03:24:56 -07:00
Andrew Hexen
7bbe2cd97f
sm7325-common: vendor.prop: remove media.settings.xml
* Already set dynamically via init and the property here is blocked by sepolicy anyways, but if one were to boot permissive this would point to a non-exist file crashing media.

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I1951084243b7fa0f697210c353abedbae2ec86a1
2023-08-31 03:24:56 -07:00
Andrew Hexen
d2f6ea07a5
sm7325-common: lights: remove non-existant node
* original bringup on 19.1 this did exist but no longer seems to be the case.

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I09998c24652faab76ce0cb58b74e65d3a87295a8
2023-08-10 10:48:50 -07:00
dianlujitao
b7db219e92
sm7325-common: Set timer trigger for charging LED
Required after recent kernel update. Based on QCOM commits:
  liblight: set "timer" trigger before setting delay for blinking
  display: light: set timer trigger before updating delay_on/off values
  display: light: clear timer trigger before setting brightness

Change-Id: Iaa4d78fe7411f299ba866de174782c269c068c23
2023-08-09 08:04:52 -07:00
kleidione
37fd5434fc sm7325-common: overlay: Disable doze display state supported
* Fixes dt2w on aod

Change-Id: Ibea7338843e3c98a485c4f8038bb64e95e2cb479
Signed-off-by: kleidione <kleidione@gmail.com>
2023-06-29 14:57:44 -03:00
Erik Drozina
497a7b1b61 sm7325-common: sepolicy: Label some RIL property
W/libc: Access denied finding property "{ro.vendor.ril.svlte1x,ro.vendor.ril.svdo,ro.fota.oem,ro.product.marketname}"

Signed-off-by: Erik Drozina <erikdro41@gmail.com>
Change-Id: I7272823540980a927cfb8243122de941e16a97c2
2023-06-22 02:33:27 +02:00
LuckYViii
f6745648c0 sm7325-common: rootdir: Remove legacy ril-daemon and vendor.ril-daemon rules
* W libc : Unable to set property "ctl.stop" to "ril-daemon": error code: 0x20
* W libc : Unable to set property "ctl.stop" to "vendor.ril-daemon": error code: 0x20

Change-Id: I80784cb3d6ee3cf539b3a8b5dbcada2e8b850641
2023-06-21 13:27:23 -03:00
Michael Bestas
17da50dfc4 sm7325-common: sepolicy: Resolve vendor_init_touch denials
Change-Id: Ia71c46662f12f3939e1a4d51b4ab06101f8cc9b7
2023-06-21 13:26:42 -03:00
Michael Bestas
f958dbb553 sm7325-common: sepolicy: Allow rild read mnt_vendor_file dir
Change-Id: I099d1ea9e0c690af7e96764852b2122ac8bf6ae9
2023-06-21 13:26:30 -03:00
Nolen Johnson
383ae94428 [TMP] Revert "sm7325-common: Build Lineage Health HAL"
This reverts commit e63d405d36b99660806ef278dd4909373b031a7b.

Reason for revert: Need to rework kernel side.

Change-Id: I5edfb82b02a63ab068dfe87878bc2be7edb197b1
2023-06-21 05:15:57 +02:00
Adithya R
dec61d442b sm7325-common: rootdir: Set ro.boot.hardware.revision
Bootloader sets ro.boot.revision, we can use this to show
"Hardware version" in model information in Settings.

Change-Id: Id2d825f60f792e6d05c0b34cfee811a0ac3b5604
2023-06-14 17:58:35 -06:00
Andrew Hexen
3dd594656e sm7325-common: media: revert yupik configs to A12 versions
Slow motion video recording is broken on all common devices with A13 media profiles.

Change-Id: Ifdefc3cdee911182315229a53ec0aba3ea0bc9a9
2023-06-09 22:41:54 -06:00
Andrew Hexen
94b37d4420 sm7325-common: Build missing telephony packages
* New dependencies needed for the A13 radio stack.

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I0813f5b4c6bab7fc384413b65c66ffb416d450b3
2023-06-09 22:41:50 -06:00
Marc Bourgoin
4f2a172773 sm7325-common: Update blobs from DUBAI_RETAIL_13_T1RD33.116-33-3_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC
Co-authored-by: sb6596 <shubhamprince111@gmail.com>
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-authored-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I3e12f16adcb353d22f758eab4a281785d16212b2
2023-06-09 22:41:45 -06:00
Michael Bestas
e63d405d36 sm7325-common: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-06-09 13:59:05 -04:00
Michael Bestas
8cbf817fce sm7325-common: Implement xtra-daemon control via property
Default to false if the property is not set.
Device init scripts will need to be adapted to restart
loc_launcher service when property change is detected.

Change-Id: Icbda789cd2a9a3391f437af2c07fc5127f2f09ab
2023-06-09 13:59:05 -04:00
Michael Bestas
104d9a6b48 sm7325-common: ueventd: Remove all permissions from /sys/devices/soc0/serial_number
Change-Id: I688347cfe59f56e4de2e4bf3c3324ca465f7a897
2023-06-09 12:38:57 -04:00
Adithya R
33ddc4f499 sm7325-common: ramdisk: Nuke non-modified qti media script
We have want to ensure the one in the media folder gets copied

Change-Id: I2d85bb5c4989611139997b03c2b7e2e61fd4e19e
2023-06-09 08:17:34 +02:00
Andrew Hexen
0ae52b2bd5
sm7325-common: Decommon hotword blobs
* Eventually these are going to desync as only certain devices are getting the A13 firmware, more information here: Icf71851c3c6f4a211edc435a6a577ac4bdbea310

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: Iaa064e193a62d40c7d3e1cb5c856c9ed9b9876f3
2023-06-01 07:17:13 -07:00
sb6596
35e0aee3f8 sm7325-common: Update Power-off alarm from phone 1 TKQ1.220915.002
Change-Id: I945a33f3638b934620408cd5a3895cf498a645eb
Signed-off-by: sb6596 <shubhamprince111@gmail.com>
2023-05-22 21:54:38 -06:00
Adithya R
b049a68dd8 sm7325-common: Nuke yupik_v0 media configs
no shipped yupik device is v0

Change-Id: I177661c1532ab0b3549e565552eac564cd10754f
2023-05-19 16:13:35 -06:00
Michael Bestas
89c6af24a0 sm7325-common: Lower gps debug level
* Kill logcat spam

Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
2023-05-15 12:43:57 -04:00
Marc Bourgoin
b3c1df5215 sm7325-common: Update blobs from DUBAI_RETAIL_12_S1RDS32.55-106-4_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC
Change-Id: Icbd488e54568f3bf37acfb4cd464667eb89f7b94
2023-05-11 10:27:40 -06:00
Marc Bourgoin
2668db752f sm7325-common: Rerun sort blobs
https: //github.com/LineageOS/android_tools_extract-utils/commit/21026226be626720a1bde394c519ba2543ac439e

Change-Id: I03238e3107d4e110b61463986dc3adb2a7cdaca8
2023-05-11 10:27:36 -06:00
Emerson Honorato
e8076610dd sm7325-common: media: Switch to lahaina_vendor variants
Change-Id: Ibe86bca87905e9c8cc202f957590e9d25a5d50f2
2023-05-06 08:33:42 -06:00
Marc Bourgoin
c233285c22 sm7325-common: Commonize sepolicy
Change-Id: Idbc4e5f655fd19cc4754aab99d8bb236a73f9a12
2023-04-28 08:46:40 -06:00
Marc Bourgoin
fcbf39be75 sm7325-common: Add init.oem.fingerprint2.sh
It turns out berlna still needs this to initialize FP sensor
even though in the real world only one is used, so we might
as well leave this in common for berlna and xpeng

Change-Id: I094d12dc7581099c611dc1ffedf63d065af04081
2023-04-28 08:09:37 -06:00
Marc Bourgoin
f3b85fa1a0 sm7325-common: Update SDM from Sony XQ-BC72_Customized HK_61.2.A.0.410
Their blobs match the LA.UM.9.14.r1-20000.01-LAHAINA.QSSI13.0 display HAL tag

Change-Id: I0e54756e88af8b42e308efa7cbec2c8592934ae0
2023-04-27 20:11:55 +02:00
Marc Bourgoin
1d092241cd sm7325-common: Update display/graphics blobs from tundra
From TUNDRA_RETAIL_12_S3SJS32.1-86-1-4_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC

dubai blobs aren't on a new enough CLO tag to be compatible with the display
stack CLO tag LA.UM.9.14.r1-20000.01-LAHAINA.QSSI13.0
https://review.lineageos.org/c/LineageOS/android_hardware_qcom_display/+/349384

Change-Id: If276861699519604d74ef083f122bec792ea831c
2023-04-27 20:11:40 +02:00
Marc Bourgoin
8b97b422df sm7325-common: media: Update from tundra 12_S3SJS32.1-86-1-4
Change-Id: Id10be491caee5ec690b15ea722a8ae15b83a120d
2023-04-23 00:45:15 -06:00
Arian
01ac85ebb0 sm7325-common: Set ro.media.xml_variant.profiles to choose media profiles
This was introduced with [1] and allows to choose target specific media
profiles without caf changes to frameworks/av. Unset media.settings.xml
so that the new property gets respected and drop copying the lahaina
config as media_profiles_vendor since we don't need a fallback anymore.

[1]: eaac82f33f#

Change-Id: I7ec306bf3dd595c09308ed26c9d3a6db8490c7f0
2023-04-23 00:45:15 -06:00
Arian
618ef72efa sm7325-common: media: Cleanup init script
Drop unsupported platforms, simplify target_variant setup and drop qssi
and build codename checks.

Change-Id: I392c09587bfbf15c0bd3af84cc12d1bdb8e269d6
2023-04-23 00:45:15 -06:00
Arian
e8ed2d7b70 sm7325-common: Import qti media init script from tundra 12_S3SJS32.1-86-1-4
Change-Id: Iab9a821bb7135b76205ce1a28ddc950ce852a42b
2023-04-23 00:45:15 -06:00
Marc Bourgoin
49d77cfc9e sm7325-common: sm7325.mk -> common.mk
Since we support both sm8350 and sm7325 it makes sense to just rename this

Change-Id: I508b31e2f645b3eafd37c353c92b2a515b2da425
2023-04-23 00:45:15 -06:00
Marc Bourgoin
a149d5bf76 sm7325-common: Address some xpeng fingerprint denials
Change-Id: Ie49d70441f5440c92b8dea3d086bda5502b95be6
2023-04-23 00:45:15 -06:00
Marc Bourgoin
a0b19996f8 sm7325-common: Decommonize fingerprint HW ident entries from ramdisk
Only xpeng needs this

Change-Id: Iaac7d76f4cbdc32ef186fb7d327b2d3a8b195f9f
2023-04-23 00:45:15 -06:00
electimon
68e350c835 sm7325-common: Use one qcacld config for all chips
* ximi sm8350-common does this, and it works, so why not.

* Also cleanup some unused entries like wlan_mac and
  WCNSS_mot_cfg

Change-Id: Ifaf77ece24c229fce55f93079236a03282d5a891
Signed-off-by: electimon <electimon@gmail.com>
2023-04-23 00:45:15 -06:00
electimon
2120f3cd4a sm7325-common: Remove unneeded cmdline properties
* HAB properties are appended by the bootloader,
  as well as console. RTB filter is a debug property.

Change-Id: If5347a00492c6782f17355b5221c033987475b09
Signed-off-by: electimon <electimon@gmail.com>
2023-04-23 00:45:15 -06:00
electimon
8de4fbe8b1 sm7325-common: Rename manifest_yupik.xml to manifest.xml
* CAF only does this because they use one device tree
  for all 3 SoCs, vendor/qcom/lahaina. We use one -common
  tree with device trees inheriting it. There is no need
  to have manifest_yupik.xml.

Change-Id: I133f19725d523ce2e4acb17114b687f9e5757019
Signed-off-by: electimon <electimon@gmail.com>
2023-04-23 00:45:15 -06:00
Marc Bourgoin
bb40495639 sm7325-common: Initial xpeng support
Motorola Moto g200 5G (aka Motorola Edge S30)

Change-Id: Iea52112fefb54cc60c2c99f66ae848e54dc2be1c
2023-04-23 00:45:11 -06:00
Marc Bourgoin
bd2d3000b4 sm7325-common: Update blobs from DUBAI_RETAIL_12_S1RDS32.55-106-3_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC
Change-Id: If310308611b450e6646d581e1f2ce09eca46108a
2023-03-27 22:41:44 -06:00
Michael Bestas
93eca01bce sm7325-common: Remove no longer needed aptX blobs
As of Android 13 QPR2, AOSP Bluetooth APEX supports aptX/aptX HD

Change-Id: I03c210dd5a777f71becb691955c01f9caf0bd207
2023-03-19 14:13:33 -04:00
Marc Bourgoin
555896aae7 Revert "sm7325-common: Use bluetooth firmware from A52s"
This reverts commit bdbd9a4df48998b12acc836a802e5b744f00ec29.

Reason: Xiaomi Mi 11 Lite 5G NE (lisa) got A13 stock ROM so we can just
flash their bluetooth firmware partition onto ours and fix the issue
right at the source and drop the fix we have in our device tree.

Change-Id: I21f4918f8d0fc794db29b4aa2235c238c36a800e
2023-03-11 03:04:30 +01:00
Marc Bourgoin
28525eb0b4 sm7325-common: Update from DUBAI_G_S1RD32.55-106_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC.xml
Also update cvp section

Change-Id: I8068cfcbc84093ebd78e4b6899951978893eb36f
2023-03-05 08:39:56 -07:00
Bruno Martins
071491f492 sm7325-common: Drop custom APM flag
Custom audio policy manager is hard disabled by CAF
for 2 years now.

Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
2023-02-14 10:58:51 -05:00
dianlujitao
34c7a88992 sm7325-common: Fix non-ASCII character in gps.conf
:caf:

Change-Id: Iea9c44c0fbad574cbc077feea3d9f1de83d7d99a
2023-02-14 10:56:32 -05:00
Andrew Hexen
c42e6238fa sm7325-common: sepolicy: address berlna inclusion
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I7fe90b00a54e56abb977f6edfef2da7fbcf1509c
(cherry picked from commit e9023f971a09242e69ef14788c0c9af83291ac42)
2023-02-08 19:15:05 +01:00
Andrew Hexen
99f323a64e sm7325-common: sepolicy: address vendor_hal_imsfactory_hwservice
Fixes:
avc: denied  { find } for interface=vendor.qti.ims.factory::IImsFactory sid=u:r:vendor_dataservice_app:s0 pid=2653 scontext=u:r:vendor_dataservice_app:s0 tcontext=u:object_r:vendor_hal_imsfactory_hwservice:s0 tclass=hwservice_manager

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: Icda45278cd964f545be7f757deafb2a5a9cda0c1
(cherry picked from commit 7eb7df7e96a9a59b493b4346c6a3d62085b4ca68)
2023-02-08 19:14:41 +01:00
Andrew Hexen
4928d3c4bb sm7325-common: rootdir: import device specific recovery.rc
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: Ia7df40201ca7401576e738674a9fed64fed1d903
(cherry picked from commit 3151c775d14654da7bf14a3264fb49ae18e60875)
2023-02-08 19:14:29 +01:00