Commit graph

1015 commits

Author SHA1 Message Date
Max Weffers
c288e2ee18
sdm660-common: include gapps if the path exsists 2019-09-27 17:13:44 +02:00
Bruno Martins
20bea42abf
sdm660-common: Remove obsolete RIL variant board flag
There's no CAF variant anymore.

Change-Id: Ief74f8b2aa861b0d16ffab9b52304006008d2444
2019-09-27 17:13:44 +02:00
Łukasz Patron
f940b8f2e2
sdm660-common: bluetooth: Push and pop PROPERTY_VALUE_MAX in buildcfg header
This deals with the PROPERTY_VALUE_MAX redefinition compilation issue.

Change-Id: I34bb283512ca1a75c680af140846f16cccf0c645
2019-09-27 17:13:44 +02:00
Vinay Verma
4140eb5ed8
sdm660-common: Correct gid for /vendor/firmware_mnt due firmware class path change
In ueventd support has been added to read firmware path from
vendor.It wil parse /vendor/firmware_mnt/image information
and add in look up path/search path for loading firmware.
Change uid of /venodr/firmware_mnt back to system as kernel
firmware loading is removed. Previouly to support kernel firmware
loading root permissions were required.

Change-Id: I560ed75ee07626094acbc879b615190cf3a9faa3
2019-09-27 17:13:44 +02:00
mike dooley
4c4eb539fb
sdm660-common: Enabling sound trigger V2_2 for sdm660 targets
V2_2 has the same functionality as V2_1 except it adds one new
api, getModelState.
Note: V2_1 will be removed in a subsequent cl.
Test: built android and tested using SoundTriggerTestApp
Bug: 70206501
Change-Id: Id2647687732e79df252588d69f95d2a407e0092c
2019-09-27 17:13:44 +02:00
Aryan Gupta
64d07e8da3
sdm660-common: convert libinit Android.mk to blueprint 2019-09-27 17:13:44 +02:00
Brandon Solis
91ef1c9511
sdm660-common: Update user for ims daemons
Change user for imsdatadaemon, imsrcsd,
ims_rtp_daemon
from AID_SYSTEM to AID_RADIO

Change-Id: I8ee1c4ff182af0d9b4ebf028e3096cfa88118287
2019-09-27 17:13:44 +02:00
Eric Chang
490ec94237
sdm660-common: Update rtp daemon user group
- Rtp Daemon user group updated from system to radio
- Updated diag permissions

Change-Id: Ie78a80e59782c935f5a7f0c37302dcc26fb9d98c
2019-09-27 17:13:44 +02:00
Brandon Solis
89a5d368d5
sdm660-common: Update user group for daemons
ImsDataDaemon, ImsQmiDaemon and ImsRcsService user groups updated from system to radio

Change-Id: I5368db8e29b41f583e7b258a6b56318725279412
2019-09-27 17:13:44 +02:00
Vinay Verma
434262fa97
sdm660-common: Change ownership of /vendor/firmware_mnt/image
Reset ownership of /vendor/firmware_mnt/image to system system
as /vendor/firmware_mnt is mounted with same owner and group.

Change-Id: Ibebf44e80f4695c85be9f870fd345ed5e0937f3d
2019-09-27 17:13:44 +02:00
Qimeng Pan
c6c623f7ed
sdm660-common: Remove old CarrierSwitch solution init.rc code for 660
CarrierSwitch use a new solution from P or later. the new solution
switch carrier by a standalone apk instead of modifing the init.rc
code in old solution.
So, Remove init.rc changes for old carrier switch solution.

Change-Id: I2da9861d71bc73df1b19066d2fad0dd3f4dedb3e
CRs-Fixed: 2377064
2019-09-27 17:13:44 +02:00
Karthik Gopalan
eacefb5592
sdm660-common: Add Speed-Profiled contents of vendor jars.
This Change adds speed-profiled contents of vendor jars
which are listed as part of PRODUCT_BOOT_JARS. These will be
included while generating speed-profiled boot-image.

CRs-Fixed: 2255003

Change-Id: I55fe56aa52511f55688e3d8245ac74481ff062b3
2019-09-27 17:13:44 +02:00
Bruno Martins
80aa3de90e
sdm660-common: Create root folders outside of vendor init script
* The core SELinux policies for vendor_init are being restricted as to
   comply with Treble. Simply adding a local rule to allow creating
   folders under rootfs would be enough, but at the same time defining
   the extra root folders and making use of AID/fs configuration file
   to set perms is more neat and clean.
 * Furthermore, with System As Root / is a read-only filesystem
   so we can't create our mountpoints from init script anymore

Change-Id: Idabd7ae72e4c4fd9daac5ba3be3e6236f79f251b
2019-09-27 17:13:44 +02:00
Michael Bestas
9c25ae1771
sdm660-common: manifest: Revert back to DRM 1.0
* fixes broken drm on Q
2019-09-27 17:13:44 +02:00
Volodymyr Zhdanov
d18ad84793
sdm660-common: Add packages for Android 10 IMS
Change-Id: Ib387f4abcfc1895a420e05c4c87e7d00e65f02ba
2019-09-27 17:13:44 +02:00
Volodymyr Zhdanov
1295b0aa34
sdm660-common: wifi: update configs from MIUI 9.6.27
Change-Id: I954b3171c18777828226b6a360f932ddbe6912c3
2019-09-27 17:13:44 +02:00
LuK1337
be49c5683a
sdm660-common: Copy Android P VNDK blobs
Change-Id: I4f2f48ca4810247b2b951de27b82da0769f7d1b1
2019-09-27 17:13:44 +02:00
Max Weffers
017ca61bf3
sdm660: add missing libgui symbol for camera hal 2019-09-27 17:13:44 +02:00
nebrassy
32f1b62062
sdm660-common: drop composer and health from compatibility matrix
these are the wrong instances anyway

Change-Id: I3488f1c12dc392195e72c15ae5f8aed478aa7e34
2019-09-27 17:13:44 +02:00
Erfan Abdi
36941cae85
sdm660-common: Setup device soong namespace
Change-Id: I2e9c0ab68a0fe86ba18e3955e2823b87d88e835a
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-27 17:13:44 +02:00
Garret Kelly
f831e05b9f
sdm660-common: Set BOOT_SECURITY_PATCH during build
This property is now used during boot to provide the TEE-backed
keymaster with the correct boot SPL.  Set it to the platform SPL until
it diverges as part of an update.

Bug: 119549677
Test: verified boot.img has property using avbtool
Change-Id: I6d96404918cf18d0fee79c701394b39baf349c53
Signed-off-by: Henrique Pereira <hlcpereira@outlook.com.br>
2019-09-27 17:13:43 +02:00
Jyotiraditya
5c8398be2c
sdm660: Don't build Xiaomi(Doze & Parts) for now
Signed-off-by: Jyotiraditya <dreadnaught02@outlook.com>
2019-09-16 10:39:53 +02:00
Volodymyr Zhdanov
7bdbd9ff91
sdm660-common: org.ifaa.android.manager: switch to blueprint
Change-Id: Ia7b977cd407e94f5f195234ecaddc6703e253675
2019-09-16 10:39:53 +02:00
Erfan Abdi
af6aca3fc6
sdm660-common: fingeprint: Add uhid group for fingerprint service
Change-Id: I318d4650a6618c10674a34691bc1b8e43af462b8
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
[adapted for oss hal]
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2019-09-16 10:39:53 +02:00
Arian
4171cb8ef0
sdm660-common: Use aosp wlan hal for now 2019-09-16 10:39:53 +02:00
Arian
607486efe3
sdm660-common: Uprev clearkey to 1.2 2019-09-16 10:39:53 +02:00
Mingshu pang
cc66284cdc
sdm660-common: Remove Dolby formats by default.
The AC3, EAC3 formats are supported only when
license and respective decoders are present.
Having these entries in policy configuration
by default will unnecessarily trigger
open_output_stream and then fail when
decoders are not present. This results in
glitches at the begining of playback of video
clips with AC3 or EAC3 audio contents.

Removed these entries to make the video playbck
smooth with out any glitches.

CRs-Fixed: 2428579
Change-Id: I41b7ef9d8e2c5f77c261067337f602d705e11c35
2019-09-16 10:39:53 +02:00
LuK1337
b0cd3e875d
sdm660-common: audio: Remove hw_acc effect
* It doesn't work at all.

Change-Id: I36008b1d40f5bed59cb67526ec662828d6e2c850
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-09-16 10:39:53 +02:00
Justin Yun
23aea2d283
sdm660-common: vndk: Add missing vndk-sp libs to the VNDK-SP list
For the Treble devices without BOARD_VNDK_VERSION, we must have a
list of vndk-sp libs.
If there are some missing vndk-sp libs in the list, add them to the
list automatically.
Bug: 72470805
Bug: 69526027
Test: build sailfish/marlin and check boot
Change-Id: Ifc30ae32b6353141954bdcb8b0e40940382eb8a4
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2019-09-16 10:39:53 +02:00
Erfan Abdi
cc53ae1eb7
sdm660: Make shim for camera.sdm660
P: GraphicBuffer::lock(uint32_t inUsage, void** vaddr);
Q: GraphicBuffer::lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel, int32_t* outBytesPerStride);
Error: cannot locate symbol "_ZN7android13GraphicBuffer4lockEjPPv" referenced by "/vendor/lib/hw/camera.sdm660.so"

Change-Id: I1c1fe66f3f73149ced601eae87b970ce392d50ee
2019-09-16 10:39:53 +02:00
Peter Kalauskas
9c0b47e3e8
sdm660: Convert IMediaCasService to use vintf_fragments
Change-Id: I43366fd9e95b30948aaa97f1cd5ff8b189de6c52
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
2019-09-16 10:39:53 +02:00
Jyotiraditya
5e3b9275de
sdm660: Remove depreciated libmediaextractor
maybe its moved to libstagefright and libstagefright_foundation
as per 54c8809675

i am not sure

Signed-off-by: Jyotiraditya <dreadnaught02@outlook.com>
2019-09-16 10:39:53 +02:00
Arian
f66c3a3f04
sdm660: Disable sepolicy and Add minimal sepolicy 2019-09-16 10:39:53 +02:00
mjavid
2d40c8bcf4
sdm660: ipacm: Fix compilation error for switch case
Insert fallthrough statement to fix compilation
error for unannotated fall-through between switch
labels.

Change-Id: Ibc5f3f0cdc29e8144a47059c31ce15441a90ddac
2019-09-16 10:39:53 +02:00
Jaekyun Seok
f036ce1c01
sdm660: Remove PRODUCT_ACTIONABLE_COMPATIBLE_PROPERTY_DISABLE
This CL will fully enable whitelisting system properties. To do that,
the following unnecessary action triggers are removed as well.

Bug: 74266614
Test: succeeded building and tested with blueline
Change-Id: I0048fd41a5bcd16dd54ba00ac40c0afbfef21d58
2019-09-16 10:39:53 +02:00
Wei Wang
3875693331
sdm660: move PRODUCT_DEXPREOPT_SPEED_APPS from BoardConfig
add SysUI to PRODUCT_DEXPREOPT_SPEED_APPS

Test: Build
Change-Id: I088938462b389e1ebe783997f773dc5946345666
2019-09-16 10:39:53 +02:00
Max Weffers
e2cc2fde08
Revert "sdm660-common: Switch to enforcing"
This reverts commit 7b8535343b.
2019-09-16 10:39:53 +02:00
Erfan Abdi
1aa843b250
sdm660-common: drop vr for now
Change-Id: Ic5f50978377c57878e13a4981465b81c37c64472
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:39:53 +02:00
Erfan Abdi
dee1cb1d2a
sdm660-common: set clang version for Q
Change-Id: I0c27867afb299ed54674c9aca58a0f8b2a32bfd9
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:39:53 +02:00
Erfan Abdi
0485118170
sdm660-common: Build broken PHONY
Change-Id: Idb8418cfb6335fa7257e084e1d135dc6fb29ebc4
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:39:53 +02:00
Erfan Abdi
55ddd8afc2
sdm660-common: gps: Add libprocessgroup
* needed for set_sched_policy

Change-Id: I05955753c1828afa6c6f64c00a7de8eafa53e45e
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:39:53 +02:00
Erfan Abdi
74c3188f8e
sdm660-common: Drop -p arg from init chmods
Change-Id: I4dbf4c3f2560974a052401d67bbb6d43f2316dd3
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:39:53 +02:00
Michael Wright
464dc9dc12
sdm660-common: Enable haptic text cursor.
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2019-09-16 10:39:53 +02:00
David Su
101bcfa130
sdm660-common: Enable link Probing
Change-Id: I66a5fcb3b9e4645521f1fa258eb74f563cc816a8
2019-09-16 10:39:53 +02:00
xshu
7cb966078c
sdm660-common: Enable connected MAC randomization
Change-Id: Ia3f58a44c2e072aaa6c711a9db37219626894c67
2019-09-16 10:39:46 +02:00
Nicolas Geoffray
54dfbf35b7
sdm660-common: Adjust pinned files following runtime module work.
Change-Id: Ib76cf5247a4bee15b5f638b9539cc9e3272ec290
2019-09-16 10:36:23 +02:00
xshu
766c27f202
sdm660-common: Disable BSS flush
Change-Id: I94e639fecef85107f70de8601b377c927cbe7f75
2019-09-16 10:36:23 +02:00
Ecco Park
329c01009b
sdm660-common: add parameters for Hotspot 2.0
Those parameters need to set for Hotspot 2.0 network

interworking=1 : Enable Interworking
hs20=1: Enable Hotspot 2.0
auto_interworking=0 : Do not automatically go through Interworking
                      network selection in wpa_supplicant
Bug: 118633353
Test: live test with Passpoint AP
Signed-off-by: Ecco Park <eccopark@google.com>

Change-Id: Ic2351295802265516f20466113c08e2df0796dfa
2019-09-16 10:36:23 +02:00
Roshan Pius
78d42ffc70
sdm660-common: wpa_supplicant(overlay): Increase max bss count
Qcom's driver can support a max of 512 scan results. Ensure that
wpa_supplicant is in sync with that number.

Change-Id: I62dbd2bd3789c454e9683320d3a58f67019ea7ee
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:36:23 +02:00
Peter Kalauskas
4b74cf1c0f
sdm660-common: Convert IMediaCasService to use vintf_fragments
Change-Id: I43366fd9e95b30948aaa97f1cd5ff8b189de6c52
2019-09-16 10:36:23 +02:00