Commit Graph

140 Commits

Author SHA1 Message Date
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
David Su
2561c2a828 msm8953-common: Don't sign Wifi RROs with platform cert
Preinstalled overlays needn't be signed with the same cert
as the package it overlays, simply being preinstalled is
enough. Sign with the default cert instead for now, which
provides fewer special privileges.

Bug: 162195999
Test: verify values still overlaid correctly
Change-Id: I017491fd383551c5aadf8648edb900e0c12a27b8
2021-03-05 15:28:17 +00:00
Roshan Pius
edac4d8f98 msm8953-common: Add WifiOverlay
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2021-03-05 15:28:17 +00:00
Bruno Martins
63217da21e msm8953-common: Sign Tether RROs with default cert
In analogy to commit 70d7541daf964240d88f38e8231a0f57fdc56d5b.

Change-Id: I18f770da2986653a70fdfa92f3be5e1199d06d08
2021-03-05 15:28:17 +00:00
LuK1337
88f5c17a4a msm8953-common: TetheringOverlay: Disable BPF
* Such is life with 3.18 kernels.

Change-Id: I1c5e3fab63271b1e3fe6c814d96edbde782f27e8
2021-03-05 15:28:17 +00:00
Alessandro Astone
59d3433270 msm8953-common: Disable SF backpressure
Change-Id: I4d5e9ec52901a8b7da9c0c439417a4ac90c512b3
2021-03-05 15:28:17 +00:00
Bruno Martins
8c06c4ea22 msm8953-common: Split product, odm and vendor props
Signed-off-by: jeangraff30 <jeangraff30@gmail.com>
2021-03-05 15:28:17 +00:00
jeangraff30
930acbbc84 msm8953-common: decommonize gatekeeper and keymaster
Reason : ali and deen_sprout uses qti
2021-03-05 15:28:17 +00:00
jeangraff30
0a1448e67e msm8953-common: drop fingerprint 2021-03-05 15:28:17 +00:00
Baldev Sahu
3b7dcf9598 msm8953-common: Update display config to version 1.9
upgrade display config version to 1.9.

Change-Id: I7fdd3d527ba732897e4fe91849996b895bc88037
2021-03-05 15:28:17 +00:00
Jan Altensen
545bc491b3 msm8953-common: libshims: add shim for android_memset32
* memset32.S and android_memset.S taken from Q
2021-03-05 15:28:17 +00:00
Subhajeet Muhuri
75fce9194b msm8953-common: overlay: Update pinner list for new SystemUI location
Change-Id: I93c1a4b73ca1f03ca0fcf9cbe4ce1b057a739ca6
2021-03-05 15:28:17 +00:00
Zhao Wei Liew
2e405fd45e msm8953-common: Remove unnecessary kernel board flags
TARGET_KERNEL_ARCH is a no-op unless it is different from TARGET_ARCH.

TARGET_KERNEL_HEADER_ARCH is also a no-op unless
it is different from TARGET_KERNEL_ARCH.

Change-Id: If64fb040c8ec61394e2657f13e51ff7a08519220
2021-03-05 15:28:17 +00:00
Arne Coucheron
ad65ba60c7 msm8953-common: Remove deprecated TARGET_BOARD_PLATFORM_GPU
Change-Id: I40a14bce12ee4725af17a3e8fbc05143e5577f8e
2021-03-05 15:28:17 +00:00
Nolen Johnson
f0ec5dce00 msm8953-common: Kill deprecated/unneeded board flags
* USE_OPENGL_RENDERER - Not used in any repos we build
  (msm8960 display HAL leftover).

Change-Id: I8d140fecdbbaac979bc8398745ffa95b911e4c89
2021-03-05 15:28:17 +00:00
Anton Hansson
029fe26593 msm8953-common: Remove obsolete dex settings
This block is completely redundant because..
- WITH_DEXPREOPT := true is the default
- WITH_DEXPREOPT_PIC is never read
- DEX_PREOPT_DEFAULT := nostripping has no effect when the
  BOARD_USES_SYSTEM_OTHER_ODEX flag is set to true

Test: make
Change-Id: I618a1e395ca1a14555cd50eef1a4f1aa079b553d
2021-03-05 15:28:17 +00:00
Cosme Domínguez Díaz
15a1ee045f msm8953-common: Drop TARGET_USES_NEW_ION_API flag
* Deprecated

Change-Id: Id50d6721cb1fb96bdb6d3ddb40b36a0147094b86
2021-03-05 15:28:17 +00:00
Ethan Chen
e82e921f06 msm8953-common: Remove unnecessary netutils packages
* These are already packaged by AOSP.

Change-Id: I77f91fbbb33a6d891d14fe852b094ab914ca3111
2021-03-05 15:28:17 +00:00
Michael Bestas
6e2432d236 msm8953-common: Remove unused libextmedia_jni
Change-Id: Id57661f4f1c4143cbd7b69472e6ab4b428ffab4f
2021-03-05 15:28:17 +00:00
Michael Bestas
1126957d71 msm8953-common: Cleanup dead targets
Change-Id: Ib1e2965a5e9f16929f1dc11c719d917cd85604d1
2021-03-05 15:28:17 +00:00
Erfan Abdi
42ccc30a9e msm8953-common: Add missing kernel cmdline
Change-Id: I9838371f5f9ab32fc84b0bba28b0069623c3e7a5
2021-03-05 15:28:17 +00:00
Dybios
56851bd344 msm8953-common: MotoActions: Adapt launchAssist method for R
Due to the API change for SearchManager to generalize
handle launching Assistant on both Phones and TVs alike.
  25b0f41e84

Signed-off-by: Dybios <dibyajyoti.samal@gmail.com>
2021-03-05 15:28:17 +00:00
Joshua Blanchard
3746c2f486 msm8953-common: sepolicy: Add missing rules for persist_audio_file
* Rules for persist_audio_file have been removed for legacy devices.

* Instead of labeling "/mnt/vendor/persist/audio", which is the default
  path for audio calibration, label "/mnt/vendor/persist/factory/audio"
  as this is where Moto devices store these calibration files anyway.

Change-Id: Ic27eb7f713e145a795cfec9de3c684fe9e2fc985
2021-03-05 15:28:17 +00:00
LuK1337
739c49d0e0 msm8953-common: Update qcom sepolicy include
Change-Id: I7167575e82eb8c5de2d822643261757edda73a07
2021-03-05 15:28:17 +00:00
jeangraff30
cb9158848a msm8953-common: Cleanup 2021-03-05 15:28:17 +00:00
jeangraff30
f57e00e939 msm8953-common: add dependencies 2021-03-05 15:28:16 +00:00
Jorge Lucas
d14e9e83fd msm8953-common: Drop pixel boot enhancements
Signed-off-by: Jorge Lucas <jorgelucas@pixelexperience.org>
2021-03-05 15:28:16 +00:00
Jorge Lucas
a1d8ed9b3d msm8953-common: qti telephony common is deprecated
also drop telephony injection

Signed-off-by: Jorge Lucas <jorgelucas@pixelexperience.org>
2021-03-05 15:28:16 +00:00
Felix
566811d0f7 msm8953-common: sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2021-03-05 15:28:16 +00:00
Kyle Lin
ced21791ef msm8953-common: Adjust dex2oat thread count after setup wizard
Test: Forrest appinstall test
Bug: 149395059
Change-Id: I9c5db865c616480b0f00629aba54e02b97bc4674
2021-03-05 15:28:16 +00:00
Pavan Kumar M
1b6c15c663 msm8953-common: Add permissions for RCS service
Add permissions to Rcs service to access QMI IMSS service

Change-Id: I263a0b6413c1ae26ab57a96936bc983c68ef709e
2021-03-05 15:28:16 +00:00
Ethan Chen
8d73c2f067 msm8953-common: Add AOSP RCS packages
Change-Id: Ic16d3b92820d246db73ad70ccaa0f4bc7f50e515
2021-03-05 15:28:16 +00:00
Ethan Chen
a54d87d166 msm8953-common: Remove dead RCS packages
Change-Id: Ie2c03fa11cb08c7ab900d7b666981d592aba19c7
2021-03-05 15:28:16 +00:00
David Sehr
c06de7f838 msm8953-common: Enable usage of dex2oat64
Use 64-bit dex2oat for better dexopt time.

Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-03-05 15:28:16 +00:00