Commit Graph

320 Commits

Author SHA1 Message Date
Ziyan 61a4c37735 msm8976-common: ril: add squash of OSS libsecnativefeature
msm8976-common: ril: add open-sourced libsecnativefeature, used by libsec-ril

 Change-Id: I2f487db23b31c63ba919863f393ca37cc9a81191

 libsecnativefeature: fix build with clang

 Change-Id: Ibda3234af2b1184e094913e35cb919a75f972c87

Change-Id: Iaaa06fa527cedce6609a95b21d787c13dda6a30a
2018-02-12 18:34:12 +01:00
LuK1337 2ff56657dd msm8976-common: sepolicy: Sync timekeep rules with SODP 2018-02-12 18:34:12 +01:00
LuK1337 ee0365443e msm8976-common: Timekeep is now in /vendor 2018-02-12 18:34:12 +01:00
Alin Jerpelea 8f9aac337d msm8976-common: init: Remove the timekeep service
the service has been moved to the timekeep git

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2018-02-12 18:34:11 +01:00
Bruno Martins 32345609a6 msm8976-common: Update prefixes for audio system properties
* All vendor-specific properties are required to have vendor prefixes

Change-Id: If899944896a91c647d4111dac79eb25f9611d75c
2018-02-12 18:34:11 +01:00
LuK1337 dfde1bbb16 msm8976-common: sepolicy: Add rules for RIL 2018-02-12 18:34:11 +01:00
LuK1337 d44c7bd9b8 msm8976-common: sepolicy: Allow init to setattr on sysfs symlinks
* Required for sx9310_grip sensor.
2018-02-12 18:34:11 +01:00
LuK1337 a9f7ab090c msm8976-common: Go back to CAF audio policy 2018-02-12 18:34:11 +01:00
LuK1337 4cb91ebb10 msm8976-common: rootdir: Remove unused cnd and dpmd services 2018-02-12 18:34:11 +01:00
LuK1337 650d131066 Revert "msm8976-common: Default OMX service to non-Treble"
This reverts commit a4c0788fb6a1c2342dcbd2427477d89ce758ad4d.
2018-02-12 18:34:11 +01:00
Pawin Vongmasa 8070c9bacb msm8976-common: Create media_profiles_V1_0.xml
media_profiles_V1_0.xml is created from media_profiles.xml by replacing
the dtd schema inside media_profiles.xml with an external reference to
/system/etc/media_profiles_V1_0.dtd.

Change-Id: I0fbb03603a72d0108a96bfa0f0a4ceb12ef3d430
2018-02-12 18:34:11 +01:00
Bruno Martins 0022bdce3c msm8976-common: Move media configs to vendor
Change-Id: Id589520e15ecd2066e6e3d002ee96c9364d25cac
2018-02-12 18:34:11 +01:00
Bruno Martins 436b2f46a9 msm8976-common: Move IPC router config to vendor
Change-Id: I8d6892c8205a307f3a236f7ce8c78f9bdead2ba5
2018-02-12 18:34:11 +01:00
Bruno Martins c86d342b41 msm8976-common: Move Wi-Fi files to vendor
Change-Id: I7e95baa01490ec76cf8ddfa051f01fc9b0bc5c7a
2018-02-12 18:34:11 +01:00
Bruno Martins 63b6049a40 msm8976-common: Move keylayout files to vendor
Change-Id: Idaa0fe01f453afdf2ec419a4c514516e3b2196bd
2018-02-12 18:34:11 +01:00
Bruno Martins 2e0406f63a msm8976-common: Move device-specific feature configs to vendor 2018-02-12 18:34:11 +01:00
LuK1337 60433896c0 msm8976-common: Move audio configuration files to /vendor 2018-02-12 18:34:11 +01:00
Daniel Reimer 7e5c3cf247 msm8976-common: Add gts28velte and gts210velte to build guard 2018-02-12 18:34:11 +01:00
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