Commit Graph

173 Commits

Author SHA1 Message Date
Marc Bourgoin
cebafd6aed msm8953-common: Drop QCOM WFD
Change-Id: I3dd591444dc54ebe3a32e0385cbfc3db6bfc5e1f
2021-09-12 11:39:12 -03:00
LuK1337
ac23b8983a msm8953-common: Drop TARGET_EXFAT_DRIVER flag
* No longer needed.

Change-Id: Icb0df10fece66ee2ded0fe9c4ae329c50b3d2571
2021-08-22 16:35:42 -04:00
Nolen Johnson
6a71b45eb4 msm8953-common: Kill deprecated TARGET_USES_MKE2FS
* This has been useless since some time in Pie.

Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
2021-08-22 16:33:59 -04:00
Nolen Johnson
a85669f571 msm8953-common: Kill deprecated/unneeded board flags
* TARGET_DISABLE_WCNSS_CONFIG_COPY - We no longer need this.

Change-Id: I8d140fecdbbaac979bc8398745ffa95b911e4c89
2021-08-22 13:17:01 -04:00
Aayush Gupta
8c1d3f5af3 msm8953-common: Allow thermal-engine r_dir_file perms for sysfs*
[    8.618801] type=1400 audit(69459649.586:21): avc: denied { read } for comm="thermal-engine" name="kgsl" dev="sysfs" ino=29020 scontext=u:r:thermal-engine:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
12-18 04:50:58.101   648   648 I auditd  : type=1400 audit(0.0:32): avc: denied { search } for uid=0 comm="thermal-engine" name="qpnp-vadc-10" dev="sysfs" ino=14445 scontext=u:r:thermal-engine:s0 tcontext=u:object_r:sysfs_vadc_dev:s0 tclass=dir permissive=0

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I09c8dbaf80ecb7a6a511cc83b934dcb3128b0e76
2021-06-20 19:11:01 -03:00
jeangraff30
ea6b45d633 msm8953-common: kang ims apk from river 2021-06-20 19:01:12 -03:00
jeangraff30
9f78431624 msm8953-common: Update blobs to deen_sprout QPKS30.54-22-21 2021-06-20 18:55:03 -03:00
chingtzunglin
31c47c9320 msm8953-common: set selabel for metadata for vold to acess 2021-06-18 18:25:08 -03:00
jeangraff30
a6143c02e7 msm8953-common: Update Graphics blobs from river QPUS30.52-33-11
* Fix several problem with glitch
* continue with deen_sprout SDM color blobs so as not to break night mode
2021-06-06 00:48:45 -03:00
UtsavisGreat
fb4c0fc523 msm8953-common: rootdir: use all cores for camera daemon
Signed-off-by: UtsavisGreat <utsavbalar1231@gmail.com>
2021-05-26 12:12:23 -03:00
Jeferson
0af5cf7c3c msm8953-common: Downrev audio to 4.0
* Audio v6 has issues related with setMicrophoneFieldDimension, killing audio input causing
  signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
* Kill soundtrigger while we are it too

Change-Id: Iff802131e67ca6cb507f5a3d3d850ad153288b83
2021-05-16 16:35:10 -03:00
Nolen Johnson
7278919e58 msm8953-common: Append vendor prefix to several properties
* Needed after `LA.UM.9.2.r1-02700-SDMxx0.0` merge.

* Also remove duplicated vendor_fm_prop, as its now in
  qcom/sepolicy.

Change-Id: Iea4145ae677b463f9370843d4db5c16d8862a6fe
2021-05-15 17:11:27 -03:00
Michael Bestas
e9d8ad8894 msm8953-common: sepolicy: Add vendor prefix to qcom_ims_prop
* qcom_ims_prop -> vendor_qcom_ims_prop
* Fixes build after device/qcom/sepolicy-legacy-um update

Change-Id: I8d1b736deaaf54ce012cf3e42a4c927d43326631
2021-05-15 17:11:27 -03:00
Nolen Johnson
d2463902e2 msm8953-common: Fold important parts of late-fs into init.mmi.rc
* I0731bb767ae22863bcb2245eb2f8d5e94d7b3672 dropped `late-fs`
  to prevent bootanimation from starting in charge_only_mode.
  Unfortunately, we missed a few small bits of `late-fs`
  trigger than charge_only_mode depends on. The only remaining
  parts of `late-fs` that have been omitted are "fs tuning" and
  the Pixel optimizations that early start bootanimation.

Change-Id: Iec9146ba7902e78f02361ad3aa53ff76e89feabc
2021-04-06 12:37:25 -03:00
Nolen Johnson
c1b0fbc8b0 msm8953-common: Don't run late-fs on charger
* Pixel boot enhancements start boot animation and
  its dependencies in `late-fs`. Hence our charger mode
  was horridly broken in 11. to mitigate this, just don't
  run `late-fs` on charger - the only net loss is some
  "read optimizations", which are no-ops here as we won't
  be reading/writing anything in charger mode.

Change-Id: I0731bb767ae22863bcb2245eb2f8d5e94d7b3672
2021-04-06 12:37:25 -03:00
Nolen Johnson
f420d8a819 msm8953-common: Set TARGET_LEGACY_HW_DISK_ENCRYPTION
* This is back, again.

Change-Id: I11fc7c2e6ad9cf912fc596a79e6ab13377588109
2021-04-06 12:37:25 -03:00
Jorge Lucas
5352fa3bad Revert "msm8953-common: Drop pixel boot enhancements"
This reverts commit d14e9e83fd.
2021-04-06 12:37:08 -03:00
dianlujitao
1fb63a6bcf msm8953-common: Disable the Significant Motion Detector
Holds an unexpected sensor_SMD wake lock on R from time to time

Change-Id: Ib1eab796c186904db8ae342c9078de7c26cdf1dc
2021-03-15 00:31:51 -03:00
jeangraff30
6167b5e618 msm8953-common: Address laser denials
based https://github.com/LineageOS/android_device_motorola_griffin
2021-03-11 23:48:36 -03:00
Joshua Blanchard
eb816e2712 msm8953-common: Only build 32bit audio stack
Change-Id: I088b21c69b306bf908d54c69c12bfd16ee552a9c
2021-03-10 22:51:12 -03:00
Joshua Blanchard
e94b9e5b3e msm8953-common: sepolicy: Add rules for Moto ADSPD HAL
Change-Id: Ib3760a1dcece4428e5ed8adc9cae1ecc3e0f01b0
2021-03-10 22:47:48 -03:00
jeangraff30
4e18f5a8c6 msm8953-common: Switch to snap camera 2021-03-07 13:37:21 -03:00
Jorge Lucas
31af7ced40 msm8953-common: Fix typo on sanders model 2021-03-06 03:04:32 +00:00
Jorge Lucas
6b56c51280 msm8953-common: Add support for potter
Signed-off-by: Jorge Lucas <jorgelucas@pixelexperience.org>
2021-03-06 03:02:25 +00:00
Brad Ebinger
7a83fee3ea msm8953-common: overlay: Add translatable="false" tags to ims package overlays
Bug: 147569830
Test: atest TeleServiceTests:PhoneGlobalsTest
Change-Id: I57d80bbf17fafdc87ba04c6e7f7ab9573482e395
2021-03-05 15:28:17 +00:00
Han Wang
3c4a11279b Revert "msm8953-common: Force enable mobile network settings v2"
* This prop is not honored anymore on 11.

This reverts commit 9c3436802860786f782335e08dc5ad4c1a009a1d.

Change-Id: I7a10d9918a0218d607d65203e9a38d3e484a618f
2021-03-05 15:28:17 +00:00
Michael Bestas
231c883687 msm8953-common: Disable WiFi display for now
* Don't show the broken setting until we have a working
  QCOM wfd stack

Change-Id: Ie0637914b853609e27e8c5cb5699364b1717f712
2021-03-05 15:28:17 +00:00
jeangraff30
ce44eb9889 msm8953-common: Add perm laser device 2021-03-05 15:28:17 +00:00
LuK1337
e324816129 msm8953-common: Fix host_init_verifier errors
Change-Id: Ieb693814ad69e6864c7baadf6922ab7cbdb6ac4c
2021-03-05 15:28:17 +00:00
dianlujitao
5f052ffa08 msm8953-common: Switch to source built vendor.qti.hardware.perf@2.0.so
For some reason, any prebuilt ones from pre-R ROMs no longer work on R
and cause the following error:
  E ANDR-PERF: Unable to link to gPerfHal death notifications!

What's worse, the minimal CPU frequency of both clusters will be locked
at 1036MHz on msm8953.

Change-Id: I1dc96e4a51c4c81dd847c59a58ec670d89054f64
2021-03-05 15:28:17 +00:00
jeangraff30
591f5d58d9 msm8953-common: address denials 2021-03-05 15:28:17 +00:00
Michael Bestas
85f5c393ae msm8953-common: Switch to standalone extract utils
* Align with templates while we are at it
2021-03-05 15:28:17 +00:00
jeangraff30
dcd3793e03 msm8953-common: Drop liboemcrypto
* Disable L1 temporarily as it is causing a problem in some applications
2021-03-05 15:28:17 +00:00
Quallenauge
f27a110c79 msm8953-common: WifiOverlay: Disable WPA2 -> WPA3 upgrade.
Our device doesn't simply support sae.

Change-Id: Ibf8b9e363b4677cf2ab9590cc2ea1ba2341e29ca
2021-03-05 15:28:17 +00:00
Andrew Hexen
fb1c02ddd3 msm8953-common: rro_overlays: Move to Vendor
* For GSI compatibility.

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I21180e80de1109483f8ce0ab67fba021d4a74b08
2021-03-05 15:28:17 +00:00
jeangraff30
2d7510968e msm8953-common: Align overlays with stock 2021-03-05 15:28:17 +00:00
Bruno Martins
53526993b6 msm8953-common: Use CodeAurora ImsService implementation for RCS
There is no evidence that Qualcomm devices running a rather recent IMS
stack need to include AOSP RCS packages. RCS already worked before this
change and continues to do so, but the main goal was to get rid of some
of the RCS related log spam, which was accomplished here.

Change-Id: I219546e29d288373877e9bcd194a60ef5e09f224
2021-03-05 15:28:17 +00:00
Brad Ebinger
a926d9650c msm8953-common: overlay: Remove old configuration and use new config for MMTEL/RCS
Remove the old config_ims_package device config and configure the
new MMTEL and RCS configurations in Telephony instead. Also,
configure the RcsService to be the default RCS service.

Bug: 111305845
Test: make checkbuild
Change-Id: I0d709b8248f1c40f0a5b50ec799396706eeadd65
2021-03-05 15:28:17 +00:00
Soul Trace
b3153b9950 msm8953-common: sepolicy: address WLAN tethering denials
Fix reboot after 120 seconds on WLAN tethering enable.
Fix "target device is connected but no internet" issue.

Move ipacm-related sections from rootdir/etc/init.qcom.rc to data-ipa-cfg-mgr/ipacm/src/ipacm.rc
Make ipacm.rc look like vendor/qcom/opensource/data-ipa-cfg-mgr/ipacm/src/ipacm.rc but add
writepid /dev/cpuset/system-background/tasks to the service definition.
This let ipacm start after data decryption (it got killed on data decrypt and not respawned,
because was disabled).
This fixes following errors:
04-01 14:35:57.525   591 17586 W libc    : Unable to set property "ctl.interface_start" to "android.hardware.tetheroffload.config@1.0::IOffloadConfig/default": error code: 0x20
04-01 14:35:57.526  2665  3190 I ServiceManagement: getService: Trying again for android.hardware.tetheroffload.config@1.0::IOffloadConfig/default...
04-01 14:35:57.526   591 17586 E hwservicemanager: Failed to set property for starting android.hardware.tetheroffload.config@1.0::IOffloadConfig/default

Set wifi.active.interface context to exported_wifi_prop and allow hal_wifi_default to set it.
I don't know why context definition was not embedded to the contexts file, but now it is.
This fixes following errors:
[163263.846522] selinux: avc:  denied  { set } for property=wifi.active.interface pid=2733 uid=1010 gid=1010 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0

Signed-off-by: TheSync <repo-sync@outlook.com>
2021-03-05 15:28:17 +00:00
Erfan Abdi
a545cbf3ec msm8953-common: disable qemu.hw.mainkeys setprop
We are enabling software navigation bar using overlay. Thus, this is
not required. Not to mention, this causes SELinux denials as well.

[    8.853895] selinux: avc:  denied  { set } for property=qemu.hw.mainkeys pid=1262 uid=0 gid=0 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0

Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
Change-Id: I36473bb7b5e2c22cbc60b96d0fab0f4446314701
2021-03-05 15:28:17 +00:00
Markdarkness
c418c64651 msm8953-common: sepolicy: address hwservicemanager denials 2021-03-05 15:28:17 +00:00
Kevin F. Haggerty
580c7b4bae msm8953-common: sepolicy: Quiet priv_app opening sysfs_android_usb files
* Reading these is disallowed globally, no need to see logspam of
  open attempts

Change-Id: I4c0094097d39456c65720cbdfb949d14439ce5f4
2021-03-05 15:28:17 +00:00
Pranav
62dc805d7b msm8953-common: sepolicy: Don't audit hal_audio_default 2021-03-05 15:28:17 +00:00
Roman Kiryanov
adf08614c2 msm8953-common: Replace audio@2.0-service with audio.service
Legacy service name, use android.hardware.audio.service instead

Bug: 153579444
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I4c05accb86dd0c9cd1b3fef3d84e0d54b2afc6a1
Change-Id: I6b55b4b1db2577f4176c99dca7021cfe78e13307
2021-03-05 15:28:17 +00:00
Palakurthi Sreekanth
89e072c010 msm8953-common: Add TUI hidl to manifest
Cannot find entry vendor.qti.hardware.tui_comm@1.0::ITuiComm/default in either framework or device manifest...

Signed-off-by: Palakurthi Sreekanth <palakurthisreekanth995@gmail.com>
2021-03-05 15:28:17 +00:00
jeangraff30
e2e1a607c5 msm8953-common: Add missing permission for ModServices 2021-03-05 15:28:17 +00:00
jeangraff30
1559da0ea1 msm8953-common: enabled fluence speaker
* Fixed call speaker
2021-03-05 15:28:17 +00:00
Michael Bestas
d22a46eb24 msm8953-common: Switch to AOSP FM radio app
Reason for revert: Apparently qcom app randomly has issues
when not used in combination with qcom fm scripts.
Revert to AOSP app for now that is tested for a long time.
2021-03-05 15:28:17 +00:00
Aayush Gupta
65b963a271 msm8953-common: Remove qcom.fmradio from PRODUCT_BOOT_JARS
- It's loaded as app library, hence not needed to be a boot jar

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I1b1357be08b511f5af7663dee256849e2f2b1b63
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
2021-03-05 15:28:17 +00:00
Jorge Lucas
ada1e34e80 msm8953-common: Decommonize nfc permissions
Signed-off-by: Jorge Lucas <jorgelucas@pixelexperience.org>
2021-03-05 15:28:17 +00:00