Commit Graph

152 Commits

Author SHA1 Message Date
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
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