Commit Graph

302 Commits

Author SHA1 Message Date
Luca Stefani f7f672f6fb msm8976-common: Add rild socket shim
Change-Id: Ia5aa2cf867678045215625f6297708db6f49fdaa
2018-01-26 15:47:21 +01:00
Daniel Reimer 392bac6064 msm8976-common: audio: Decommonize audio_policy_configuration.xml 2018-01-26 15:47:21 +01:00
Daniel Reimer 75f78a6e5a msm8976-common: overlay: Decommonize radio and network attributes 2018-01-26 15:47:21 +01:00
LuK1337 a8edb8f13a msm8976-common: Include legacy QCOM sepolicy 2018-01-26 15:47:21 +01:00
LuK1337 6cc79a1df7 msm8976-common: sepolicy: Allow timekeep to read "since_epoch"
* We don't really need to relabel it since we trust
  timekeep as it's just a simple OSS program.
2018-01-26 15:47:21 +01:00
LuK1337 eee9f90a82 msm8976-common: sepolicy: Allow system_server to read qti_debugfs 2018-01-26 15:47:21 +01:00
LuK1337 762edfede3 msm8976-common: sepolicy: Use regular expression when labeling BT sysfs
* Apparently gts28vewifi uses different number
  than 125 thus we should be using [0-9]+ regex.
2018-01-26 15:47:21 +01:00
LuK1337 e13f6fe38a msm8976-common: sepolicy: Allow Bluetooth to read firmware files
* Newer devices ship with bt_firmware partition but
  we aren't so lucky so we have to allow bluetooth
  to read firmware_file instead.
2018-01-26 15:47:21 +01:00
LuK1337 54f1428686 msm8976-common: Label BT_QCA6174 sysfs files 2018-01-26 15:47:21 +01:00
Ethan Chen 2bf275f870 msm8976-common: sepolicy: Use noatsecure for everything
* We rely on LD_SHIM_LIBS to provide missing symbols to
  some of our proprietary libraries.

Change-Id: I17095630043bbd5af4436cd5625a0fdc3480ed05
2018-01-26 15:47:21 +01:00
LuK1337 25e027d85e msm8976-common: Initial SELinux updates
* Drop domain_deprecated
* Use proper device block paths as
  symlinks are no longer working.
2018-01-26 15:47:21 +01:00
Bruno Martins 2849bf85b3 msm8976-common: Update for moved hardware key overlays
* These have now been moved to the SDK

Change-Id: I551ddc8c58ccd7184fddb1c615b15cce8127daad
2018-01-26 15:47:21 +01:00
Bruno Martins c22f31c686 msm8976-common: lineagehw: Apply LineageOS rebrand
* Adapt to the new Lineage SDK and temporarily disable the import
   of currently non-existing Lineage common classes.

 * Drop never required BOARD_USES_CYANOGEN_HARDWARE flag
   (only required to opt-in for common light HALs).

Change-Id: I979bb57522b37a698b1de6afaea2ba41464e6277
2018-01-26 15:47:21 +01:00
Bruno Martins 60d3e23292 msm8976-common: overlay-lineage: Apply LineageOS rebrand
Change-Id: Idc537612efe4cf870d6a8164bd04844c1bb40b2b
2018-01-26 15:47:21 +01:00
Rashed Abdel-Tawab ca03722438 msm8976-common: Move Lineage specific overlays to overlay-lineage
Change-Id: Ic38bb1acb4d37f90b62679e4420815f49b30fc7f
2018-01-26 15:47:21 +01:00
Jaekyun Seok b32a6dc9fb msm8976-common: Enforce RRO on framework-res
Overlays only for framework-res will be converted into RROs.

Other overlays can't be converted due to some known issues on app RRO.

Bug: 36231603
Change-Id: Idca30fdbbcc990fd124de16a06a112a346612a61
(cherry picked from commit db1b6058200fc5255f519cf6609fca7619d6743e)
2018-01-26 15:47:21 +01:00
LuK1337 cf378f6270 msm8976-common: overlay: Update network and radio attributes 2018-01-26 15:47:21 +01:00
Artem Borisov 153d99643d msm8976-common: Dex-preopt boot and system server
WITH_DEXPREOPT_BOOT_IMG_ONLY was removed in 8.1 in favor of
WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY.

Along with boot classpath it will also pre-optimize system server jars.

Change-Id: Idd0ac1ac39a6c3d14637a974a0a99953c99af236
2018-01-26 15:47:21 +01:00
Rashed Abdel-Tawab c83d95716c msm8976-common: Update for early-mounted system partition
* This removes /system entry from fstab, since this partition
   is now early-mounted and the fstab entry is specified in device tree.

 * At the same time, also include a fully populated fstab, in order to avoid
   build breakage while generating recovery updater scripts.

Change-Id: I8e558458b984e97a45a920c3751a6b7c3f2ebc5c
2018-01-26 15:47:21 +01:00
LuK1337 5d063b3f78 msm8976-common: Set printk loglevel to KERN_WARNING 2018-01-26 15:47:21 +01:00
LuK1337 bf85d5beb3 Revert "msm8976-common: Remove 48kHz support from surround_sound mixer"
This reverts commit 389a1668d0.
2018-01-26 15:47:21 +01:00
LuK1337 6e2473fca4 msm8976-common: Add libqcomvoiceprocessing to PRODUCT_PACKAGES 2018-01-26 15:47:21 +01:00
LuK1337 6b9f7d1117 msm8976-common: Remove hw_acc effect
* It doesn't work at all.
2018-01-26 15:47:21 +01:00
LuK1337 2bf29301cc msm8976-common: Convert audio_effects.conf to XML
* Converted using : https://github.com/luk1337/aeffects-conf2xml
2018-01-26 15:47:21 +01:00
Philip Cuadra c1dfc8a51f msm8976-common: Pin .vdex files as well
.vdex files have been added to allow pre-verified dex.  The pinner
service needs to take this in account when pinning.  Add pinning of
appropriate system .vdex files on 8996 targets.

Bug 33168521
Test:  Tested manually by confirming pinning is successful

Change-Id: Ice2c3f0ec0b314963fb136793d9fa36ecba58490
2018-01-26 15:47:21 +01:00
Philip Cuadra 66353fcbd1 msm8976-common: Enable Camera App pinning
This change enables Camera app pinning on 8996 targets

Bug 28251566

Change-Id: Icc357441af65e8ece897311bdaf8acc063d3f6ab
2018-01-26 15:47:20 +01:00
LuK1337 dbb08fba7b msm8976-common: Enable sound monitor audio feature 2018-01-26 15:47:20 +01:00
LuK1337 9aff6633e8 msm8976-common: Add aptX blobs
* We can't use Samsung blobs cause they are 32-bit only.
2018-01-26 15:47:20 +01:00
LuK1337 6e8f6148bd msm8976-common: Replace QCOMs groups with oem_2950-oem_2952 2018-01-26 15:47:20 +01:00
LuK1337 125282819b msm8976-common: Remove unsupported media profiles 2018-01-26 15:47:20 +01:00
LuK1337 d2efa15d0b msm8976-common: Remove useless rm -rf /efs/dmverity
* It wasn't working anyway:
/init.qcom.rc: 73: rm requires 1 argument
2018-01-26 15:47:20 +01:00
LuK1337 7ae5254b74 msm8976-common: Update time data file path to match O changes 2018-01-26 15:47:20 +01:00
LuK1337 2807542d4b msm8976-common: /system/bin -> /system/vendor/bin 2018-01-26 15:47:20 +01:00
LuK1337 b58c717272 msm8976-common: Update widevine blobs from angler 2018-01-26 15:47:20 +01:00
Luca Stefani c2e9557c27 msm8976-common: Default OMX service to non-Treble 2018-01-26 15:47:20 +01:00
Paras Nagda f4440a00e8 msm8976-common: mediacodec: Allow select and eventfd syscalls for 8976
Add pselect6 and eventfd2 syscalls
Includes following:
mediacodec: allow sendto and recvfrom syscalls
mediacodec: allow lseek syscall
mediaextractor: allow pread64 and readlinkat syscalls

Change-Id: Iff6e2f7fc0562a520f56cbf4bbce72f1af545f9c
2018-01-26 15:47:20 +01:00
Ritesh Harjani 90b1ed66c9 msm8976-common: Add AID_QCOM_DIAG, AID_RFS, and AID_RFS_SHARED to config.fs
Change-Id: I9da576900ed29a2633bb997dbbea4565b489a418
2018-01-26 15:47:20 +01:00
Luca Stefani 29e1ca0f65 msm8976-common: Move to fs config gen 2018-01-26 15:47:20 +01:00
LuK1337 e4728c3664 msm8916-common: Update extract_utils.sh path 2018-01-26 15:47:20 +01:00
Luca Stefani 0ca03cf02f msm8976-common: Kill unused hostapd configs 2018-01-26 15:47:20 +01:00
Luca Stefani 3b1d4dda68 msm8976-common: Remove hostapd daemon
* It lives in it's own rc extension now
2018-01-26 15:47:20 +01:00
Subhani Shaik aa9b14817f msm8976-common: wifi: set tdls_external_control to configure external control mode.
BUG: 30205217
Change-Id: I17f8f8991301db0bed3db416c52b33be8642e200
2018-01-26 15:47:20 +01:00
Jongrak Kwon b4b7a2abf8 msm8976-common: wifi: Configure the p2p_search_delay to 100 msec
This commit configurs the p2p_search_delay to 100 msec to
avoid more default delay (500msec, configued in the supplicant)
during the p2p_find operations.

Change-Id: Ibb384b31cd1b46dd669483a0d14a3215c0113b7b
CRs-Fixed: 680606
2018-01-26 15:47:20 +01:00
Roshan Pius 38d48d92b5 msm8976-common: wifi: Move wpa_supplicant to vendor partition
Bug: 35684372
Test: Compiles
Change-Id: I1bf1355c22f5fc4f6a68032f3b30cced91d0bfed
2018-01-26 15:47:20 +01:00
Christopher Wiley 9eec850757 msm8976-common: wifi: Do not define superfluous wpa_supplicant service
Bug: 30816535
Change-Id: Iab4e212b1c2dcbb97e73945e6b807b37174e0ae0
2018-01-26 15:47:20 +01:00
Roshan Pius 054d9243de msm8976-common: init: Change ownership of wifi firmware reload sysfs paths
This will let the wifi hal run as "wifi" user and not need root
permissions to access this path for firmware reloads.

Bug: 33435250
Test: Compiles.
Change-Id: I84a38cea5e0f729147c3191c3485a3738d7838ef
2018-01-26 15:47:20 +01:00
Luca Stefani 7e70804173 msm8976-common: Use proper seclabel for charger service
* Partically taken from angler f2f207d2594b
2018-01-26 15:47:20 +01:00
Alberto97 7588252675 msm8976-common: bt: Remove net_bt_stack
* net_bt_stack is gone, replace it with bluetooth (android/platform_system_core@604208e957)

Change-Id: I62ac0fa2e59a9643fd6a3d4b173dd8c8892037b9
2018-01-26 15:47:20 +01:00
Woody Lin 094f6917e1 msm8976-common: rootdir: Symlink platform/soc/${ro.boot.bootdevice} to bootdevice
Make symbolic link from
/dev/block/platform/soc/${ro.boot.bootdevice} to
/dev/block/bootdevice.

Change-Id: I7b7f4c728656103445e7fb68ccca92402fa36ff5
2018-01-26 15:47:20 +01:00
Myles Watson 6e63a763d9 msm8976-common: Add libbt-vendor in device-common.mk
Bug: 36810308
Test: build
Change-Id: Iae4a6340a184dde818603b546470c8cf883f2f7b
2018-01-26 15:47:20 +01:00