Commit graph

700 commits

Author SHA1 Message Date
Wei Wang
d8ec9a75c6
sm6375-common: Remove QTI perfd
Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4
2024-07-18 20:16:00 +05:30
Miguel de Dios
e7be3c83e4
sm6375-common: Change readahead to 128KiB on post-boot
Reduce readahead from 512KiB to 128KiB to reduce thrashing when we
have a lot of apps running.

Bug: 110908295
Bug: 80426378
Test: manual - device boots
Test: manual - check app launch does not take long
Test: cts-tradefed.sh run cts -m CtsCameraTestCases
Change-Id: I59c1f2f8a6fbb5e0d956ba07a40a2bfac3b61481
2024-07-17 19:38:04 +05:30
Lokesh Gidra
3586166e3f
sm6375-common: Use 4GB dalvik-heap config
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2024-07-17 12:56:42 +05:30
Anand S
33518c1389
sm6375-common: Drop prebuilt libqsap_sdk
* Already being built from source.

Change-Id: I231d1eb694ae609cb6cc8ba45166edec29c52eb1
2024-07-17 12:56:42 +05:30
Anand S
6cc0c8c16c
sm6375-common: overlay: Drop 6GHz band support
* We don't have support for this in our devices.

Change-Id: I181aa3d55e1f155bc3c27c59df29f6f6d0f20b1d
2024-07-16 12:56:42 +05:30
Anand S
db32b03c66
sm6375-common: Disable HDR related props
* We don't use HDR supporting displays on bangkk or fogos.

Change-Id: Ib4890bcf2fe4001876fc84a352b9eab6a199830e
2024-07-16 12:56:42 +05:30
Anand S
3addce0935
sm6375-common: sepolicy: Allow hal_health_default to access sysfs
Change-Id: I5d09337f045ee6f523d6b534113f4b563f7f1e23
2024-07-16 12:56:42 +05:30
Anand S
bfce9c1935
sm6375-common: sepolicy: Label goodix fingerprint init service
Change-Id: I4d8ac2418fcd44473a6ff0077208b3792d774520
2024-07-16 12:56:42 +05:30
UtsavBalar1231
397da7dd83
sm6375-common: sepolicy: Allow setting read_ahead_kb on /data partition
Change-Id: I2ac458dfcad8bb51b3c25da9dc03bdea91540ca3
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2024-07-16 12:56:42 +05:30
Sevenrock
3969c8d426
sm6375-common: sepolicy: Allow system_server to read vendor_sysfs_battery_supply
Change-Id: Iac8be40b8cc928a378d415f5c36e0cef249c3aab
2024-07-16 12:56:42 +05:30
Jack Pham
e61118e7a9
sm6375-common: sepolicy: Allow init (recovery) to access USB sysfs
Add genfs contexts for USB sysfs entry that control the operational
mode and assign them as vendor_sysfs_usb_device type.

Change-Id: Ic1f0c5e9237848ac47cebca6e2cbbe9bd25270ad
2024-07-16 12:56:42 +05:30
Julian Veit
2753c420ea
sm6375-common: sepolicy: Allow bootanim and surfaceflinger call vendor_hal_qspmhal_default
Original patch:
df6b106517

Change-Id: I70e2fb64d94ce551b751028ff04af6ed95f68f09
2024-07-16 12:56:42 +05:30
Julian Veit
1c172dc934
sm6375-common: sepolicy: Allow Don't audit system_server access sysfs
Original patch:
119dca5600

Change-Id: Ib87c05d9e2bf7c5d90a43e6e67376add49ec4898
2024-07-16 12:56:42 +05:30
Julian Veit
69b10c73af
sm6375-common: sepolicy: Allow system_server to read sysfs
Original patch:
7c6511ebe5

Change-Id: I1f4283c9bdfea286a268ccb027229b05ff45333b
2024-07-16 12:56:42 +05:30
Julian Veit
782f2994b9
sm6375-common: sepolicy: Allow vendor_hal_perf_default ro access to sysfs
Original patch:
3e30e78ca0

Change-Id: I29004d6c688aafb107e2c50037740a347e5e7694
2024-07-16 12:56:42 +05:30
Anand S
baebac18de
sm6375-common: vintf: Add missing manifest entries
* Rearrange some uprevs while we're at it.

Change-Id: Idc178dba3ec3e47dcdd698215a15a30fcd9bfb5b
2024-07-16 12:56:42 +05:30
Anand S
a775932992
sm6375-common: FCM: Add missing radio entries
* I servicemanager: Could not find android.hardware.radio.data.IRadioData/slot1 in the VINTF manifest. No alternative instances declared in VINTF.
* I servicemanager: Could not find android.hardware.radio.messaging.IRadioMessaging/slot1 in the VINTF manifest. No alternative instances declared in VINTF.
* I servicemanager: Could not find android.hardware.radio.modem.IRadioModem/slot1 in the VINTF manifest. No alternative instances declared in VINTF.
* I servicemanager: Could not find android.hardware.radio.network.IRadioNetwork/slot1 in the VINTF manifest. No alternative instances declared in VINTF.
* I servicemanager: Could not find android.hardware.radio.sim.IRadioSim/slot1 in the VINTF manifest. No alternative instances declared in VINTF.
* I servicemanager: Could not find android.hardware.radio.voice.IRadioVoice/slot1 in the VINTF manifest. No alternative instances declared in VINTF.
* I servicemanager: Could not find android.hardware.radio.ims.IRadioIms/slot1 in the VINTF manifest. No alternative instances declared in VINTF.

Change-Id: I909045ff3cf54c36b577c8e41807508af39d367b
2024-07-16 12:56:42 +05:30
Anand S
f2321d6463
sm6375-common: Add missing AIDL/HIDL FCM entries
* Also rearrange and uprev entries while we're at it.

Change-Id: I4de4ea112831448e58d73634605b9bcb950a60af
2024-07-16 12:56:42 +05:30
Anand S
df31270d2f
sm6375-common: Drop unused packages and permissions
Change-Id: I6a5e807dc1f2ff8730274dd5715534513cf36d81
2024-07-16 12:56:42 +05:30
Anand S
23ad6edd96
sm6375-common: Adjust kernel cmdline for moto_sm6375
* Values taken from unpacked boot.img.

Change-Id: Idd8acda89f39ed3f4581d69a4f57459c9266d1c3
2024-07-16 12:56:42 +05:30
Michael Bestas
263f49d80e
sm6375-common: Build fastboot custom HAL
* This adds getprop functionality in fastbootd.

Change-Id: I4906f6e9dcc00d37a7fa97e0139ba536f00755fa
2024-07-14 20:41:27 +05:30
Anand S
abf9c1dc4b
sm6375-common: Build missing hidl/hals
Change-Id: I472f836e4966c8d75b6901f735d451594400ffe2
2024-07-05 12:56:42 +05:30
Anand S
4feee76329
sm6375-common: sepolicy: Label bangkk lineage touch hal
Change-Id: I3d39dfd159c2002edd39c1e198a2ee2064b36927
2024-07-05 12:56:42 +05:30
Anand S
df686badb7
sm6375-common: sepolicy: Label more wakeup nodes
Change-Id: I84b6bbf9851ff9d176e3c46519af591a8351656c
2024-07-05 12:56:42 +05:30
Anand S
2589a27276
sm6375-common: sepolicy: Address charge control related denials
* avc:  denied  { getattr } for  comm="thermal-engine" path="/sys/devices/platform/soc/soc:mmi_chrg_manager/power_supply/mmi_chrg_manager/charge_control_limit_max" dev="sysfs" ino=82898 scontext=u:r:vendor_thermal-engine:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Change-Id: Icde2cfa035bc13e71280c844db7ee0278c7284dd
2024-07-05 12:56:42 +05:30
inferno0230
017bc6073d
sm6375-common: sepolicy: Address battery related denials
Signed-off-by: inferno0230 <mail@inferno0230.in>

Change-Id: Iff32fd8fed9143524bf4a1747c5b3cd4d330cd05
2024-07-04 12:56:42 +05:30
TALU
fa18dfa143
sm6375-common: sepolicy: Label the new Samsung NFC HAL
Change-Id: I7a8ba9bc0bc78f8426c8cb94311498f3735eca3d
2024-07-04 12:56:42 +05:30
Anand S
a16fe13425
sm6375-common: Adapt sepolicies for moto sm6375
Change-Id: I1b49afc2d8148ee25a36e99385c28a257117814f
2024-07-04 12:56:42 +05:30
Anand S
b1a9267f76
sm6375-common: Decommonise ro.sf.lcd_density
* Fogos uses ro.sf.lcd_density=280

Change-Id: I9858acc26b1c6f82110958f8088310701eff2978
2024-07-04 12:56:42 +05:30
Anand S
7a96a5062f
sm7325-common => sm6375-common
* All configs updated from fogos U1UG34M.23-82-2 build

Change-Id: I6750c454f2eeec53205c56f033c76443e93b44ed
2024-07-03 12:56:42 +05:30
dianlujitao
5dd69c17ba sm7325-common: Build MotoNrEnabler
Change-Id: Ib142f2c6ff58cb9b1b23982618c4eaf5106f922e
2024-07-01 18:02:55 +00:00
Nolen Johnson
143f1118e6 fixup! sm7325-common: Remove wait_for_keymaster and all references
* Oh wow, a second instance!

Change-Id: I97160cb66b218c3d9b5e8bf3c5eea6721e9e409f
2024-06-23 11:52:36 -04:00
Paul Crowley
5e3340a0aa sm7325-common: Remove wait_for_keymaster and all references
No longer needed now init listens for property changes on a
separate thread.

Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
2024-06-23 11:51:28 -04:00
x0x00044
3b2fb64bf1 sm7325-common: overlay: Remove config_cellBroadcastAppLinks
- This is true by default.

Change-Id: I9f91f4bf49995975d434ad8b74b175693409862a
2024-06-22 22:12:59 -04:00
Marc Bourgoin
c236e4ee06 sm7325-common: Address some sepolicy denials from xpeng
Change-Id: I6e6c8f774f800628f52dde1b081956f8d17f30bd
2024-06-22 03:11:20 +00:00
basamaryan
4689a61aeb sm7325-common: Drop unnecessary BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE flag
Change-Id: Ibb96c529ac64239d7bb919e46f5a625a6deebf98
2024-06-20 11:31:48 -04:00
Chirayu Desai
45e60673ef sm7325-common: Disable UFFD GC
Unable to determine UFFD GC flag for kernel version "5.4.268-qgki".
You can fix this by explicitly setting PRODUCT_ENABLE_UFFD_GC to "true" or
"false" based on the kernel version.
1. Set PRODUCT_ENABLE_UFFD_GC to "true" if the kernel supports userfaultfd(2)
   and MREMAP_DONTUNMAP.
2. Set PRODUCT_ENABLE_UFFD_GC to "false" otherwise.

Change-Id: Ie77d9a86a7fe94e4cade1868ffea27194f724e03
2024-06-20 11:31:48 -04:00
Michael Bestas
17b770768b sm7325-common: Build missing libraries for 14 QPR3
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-06-20 11:31:47 -04:00
Marc Bourgoin
30f84f8c6d dubai: Update blobs from from dubai_g-user 13 T1RDS33.116-33-15-6 e089e7-b95537 release-keys - RETAIL variant
Change-Id: Ib066db454729807d23a60d7d0e99ebd86869d6be
2024-06-09 23:23:54 -06:00
Marc Bourgoin
8eb885e3eb sm7325-common: Fix property SELinux denials
Some of our properties were in the wrong spot or duplicated into the wrong
spot, so let's fix these denials

Example:
E init    : Do not have permissions to set 'persist.vendor.btstack.aac_frm_ctl.enabled' to 'true' in property file '/vendor/build.prop': SELinux permission check failed

Change-Id: Ifc27e35f7e8ba428d7ea37cfa7220af24100efef
2024-04-30 22:55:50 -06:00
Marc Bourgoin
00a151f121 sm7325-common: Adjust bluetooth blobs
Drop audio.bluetooth_qti.default as we use AOSP BT stack
Add libbluetooth_audio_session_qti_2_1 and libbt-hidlclient

Change-Id: I9ffe33d9bbcc202b1fcbff4845b7f920fd37424a
2024-04-30 22:55:50 -06:00
Marc Bourgoin
8aff7f9dad sm7325-common: Don't advertise aptxadaptiver2 support
This isn't supported on AOSP BT stack

Change-Id: I64b42edaf5c252496a3f74767702c0979fa3f32f
2024-04-30 22:40:40 -06:00
Arian
2234edf6af sm7325-common: Redefine bluetooth a2dp offload capabilities
Drop unsupported aptx codecs and rank aac below aptx

Change-Id: Ic0c4cefce9f4c39b609490b124230882dec605e9
2024-04-30 22:40:40 -06:00
Edwin Moquete
c460de4e96 sm7325-common: Remove unused persist.bluetooth.a2dp_offload.cap property
This prop has no effect as of T QPR1.

See: LineageOS/android_packages_modules_Bluetooth@cf25e33

Change-Id: Ic762812dd59429d344ccc55c01bf96b0ffd6dbab
2024-04-26 22:13:51 -06:00
basamaryan
7b1dbed07b sm7325-common: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-03-21 15:14:14 -04:00
Cole Faust
189b622ad1 sm7325-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qcom has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-03-10 23:26:03 +00:00
Tomasz Wasilczyk
a4905bd936 sm7325-common: gps: Don't include cutils/threads.h
Bug: 289414897
Test: buildserver
Change-Id: I14b99f42feaae7af00cbd17cfe482eb2e5da71e8
2024-03-10 19:24:42 -04:00
Marc Bourgoin
532bda2446 sm7325-common: Update blobs from from dubai_g-user 13 T1RDS33.116-33-15-1 06f6d-c0e7b release-keys - RETAIL variant
Change-Id: I23b046da6cf8744f9d3b9379668cc8d18b551365
2024-03-07 03:19:20 +00:00
Nolen Johnson
d40cb2d754 sm7325-common: Rename chargeonly_data_file to chargeonly_vendor_data_file
* For some magical reason, the naming (and not just associations)
  matter as of a few days ago - no clue why.

Change-Id: I6cf12b455dbf460a9be607d796af3536093e8427
2024-03-05 22:20:15 -05:00
Marc Bourgoin
81963a246e sm7325-common: Update PowerOffAlarm from spacewar
Change-Id: I32275f18c2544227922f32f840ef0e0f31afdf5f
2024-02-04 23:16:24 -07:00