Commit Graph

874 Commits

Author SHA1 Message Date
RomanDesigner 52248c29ea
matisse-common: Fix sepolicy errors in file_contexts 2020-01-17 16:26:34 +03:00
RomanDesigner f699c03440
matisse-common: Remove obsolete media props 2020-01-17 16:26:19 +03:00
RomanDesigner 004e236768
matisse-common: Disable codec2 2020-01-17 16:26:02 +03:00
RomanDesigner 8b09473b42
Init bringup for Q 2020-01-17 16:25:31 +03:00
RomanDesigner c0491efaa2
matisse-common: Force set OpenGL render 2020-01-17 15:59:18 +03:00
RomanDesigner 7abbefd19a
matisse-common: Delete already set sepolicy settings 2020-01-17 15:59:00 +03:00
RomanDesigner ecf68e4bda
matisse-common: Set SELinux to permissive mode 2020-01-17 15:58:39 +03:00
RomanDesigner a66a8550f9
revert f74f6bd 2020-01-17 15:58:22 +03:00
RomanDesigner f74f6bdbde
matisse-common: Store correct IMSI when retreived from SIMRecords and use it for RuimRecords 2020-01-17 15:57:31 +03:00
RomanDesigner e98bde9fec
matisse-common: sepolicy: Label firmware folders
It's required to label root folders in Q.

Change-Id: Ic71347ae333532c7fe5a45c7c0b05f3171a89d3c
2020-01-17 15:56:22 +03:00
Mohammad Afaneh 9f4cf5d3f8
matisse-common: Move keylayout to vendor 2020-01-17 15:55:20 +03:00
RomanDesigner 9093136f6c
matisse-common: Use XML audio policy 2020-01-17 15:54:23 +03:00
Kevin Rocard 8a68dc6084
matisse-common: Convert audio_effects.conf to audio_effects.xml
Bug: 37492580
Test: dumped the effectFactory state and check it was unchanged
      $ adb shell dumpsys media.audio_flinger | sed '/Clients:/q'

Signed-off-by: Kevin Rocard <krocard@google.com>
2020-01-17 15:53:03 +03:00
Kim Le e66821e503
matisse-common: Move fstab to vendor/etc 2020-01-17 15:51:23 +03:00
RomanDesigner 0865c167cd
matisse-common: Move hardware specific .rc files to /vendor/etc/init/hw
The reason these files are moved to /vendor/etc/init/hw and
not /vendor/etc/init is because 'init' scans the /vendor/etc/init folder
for vendor service .rc fragments to import. That would either result
in duplicate imports or out-of-order imports of these hardware
specific .rc files and that *may* have unintended consequences.

In order to preserve the current import order for MTP, we move all
hardware specific .rc files to /vendor/etc/init/hw which is not
autoscanned by init BUT leave the init.${ro.hardware}.rc (i.e.
init.qcom.rc in this case) in root for 'init' to find.

Signed-off-by: Joshua Primero <jprimero155@gmail.com>
2020-01-17 15:50:58 +03:00
Han Wang c0fd7ac7bd
matisse-common: Remove deprecated ipv6 tethering support
* This is not a thing anymore since N.

Change-Id: I8aa3cf828cb7f688f703544d9eda4170c99c7650
2020-01-17 15:50:26 +03:00
Bruno Martins 1e2f0fb942
s3ve3g-common: Remove obsolete RIL variant board flag
There's no CAF variant anymore.

Change-Id: Idd41a4fc0a551c0c19d2900db562803c74f38889
2020-01-17 15:49:37 +03:00
RomanDesigner e389b9e034
matisse-common: Set shipping API level in the common product makefile
It's not meant to be set as a board config flag. Simply do it by
inheriting the makefile that now also exists for devices launched
with KitKat.

Change-Id: I1ba570823a902cbd352be831b15e64c0eed63044
2020-01-17 15:48:56 +03:00
padarshr 89a6196225
matisse-common: Address 'LOCAL_MODULE_TAGS := eng debug' deprecation.
Newer AOSP deprecates LOCAL_MODULE_TAGS := eng debug.
We now remove that and instead add the package to
PRODUCT_PACKAGES_ENG or PRODUCT_PACKAGES_DEBUG as applicable.

To ensure that we don't miss out on any package during this switch,
we add these explicitly, even though it might have been already
added under PRODUCT_PACKAGES at some other location.

Change-Id: Id1f94f34e100d616d91292efe514c201f7d24642
2020-01-17 15:47:18 +03:00
Arne Coucheron 3620e7924e
s3ve3g-common: fstab: Remove f2fs support
As of now, this is causing issues with system and apps
not being able to create files and folders in data.

Change-Id: Ie4798ae98e0dd4e4e42011a2940e1a73627f8f3f
2020-01-17 15:46:38 +03:00
RomanDesigner 0dab3f0820
matisse-common: Move libinit complete 2020-01-17 15:35:59 +03:00
Francescodario Cuzzocrea 6cd8720714 matisse-common: build Camera2
- Until we figure out crashes caused by CameraWrapper in Snap
   also build Camera2 which at least works
2020-01-08 11:16:22 +01:00
Francescodario Cuzzocrea 3fd7e1321f matisse-common: fstab: Add recoveryonly flag for system 2020-01-06 12:07:23 +01:00
Francescodario Cuzzocrea 22e165c60d [SQUASH]: matisse-common: initial bringup of matisse-common repo from s3ve3g-common repo
Change-Id: Ic670ca01287332c46be39dc64b34cf17fcda559c
2020-01-03 10:27:33 +01:00
Francescodario Cuzzocrea 523c3c4fa7 s3ve3g-common: mount /fota as /misc also in TWRP
- also mount /external_sd and  /usb-otg as we are at it

Change-Id: Icd563c94468ff66e4f3fb0e6eb1f1f00888604bb
2019-11-09 09:01:41 +01:00
Francescodario Cuzzocrea 49c58dfbec s3ve3g-common: remove BOARD_HAS_NO_MISC_PARTITION
- we are mounting /fota as /misc now

Change-Id: I742c8415bd507a56489260849daea512c1cb36ca
2019-11-09 09:00:25 +01:00
Francescodario Cuzzocrea a7c97ac84c s3ve3g-common: add s3ve3gxx to TARGET_OTA_ASSERT_DEVICE
Change-Id: Ib3e8f94fa6f24ddb5771c04b41ff47a536f36542
2019-11-08 23:22:59 +01:00
PythonLimited fdfc55c774 s3ve3g-common: use fota partition for /misc
Change-Id: I09ccdd43dc72137631ce72387d8a6f5a8ffb6c3e
2019-11-04 15:33:34 +02:00
pythonlimited a981113235 s3ve3g-common: remove IAdaptiveBacklight
Not supported by the panel driver
2019-10-17 02:38:40 +02:00
Francescodario Cuzzocrea 3ab8a2a547 s3ve3g-common: build HIDL lights hal from hardware/samsung 2019-10-15 21:38:52 +02:00
Francescodario Cuzzocrea d7acb88446 s3ve3g-common: further update and cleanup common-proprietary-files.txt 2019-10-15 21:38:44 +02:00
luk1337 f335e12acf s3ve3g-common: remove unneeded languages_full.mk include
* Already included in full_base_telephony

Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
2019-10-15 21:38:20 +02:00
Jarl-Penguin 91d57b9431 s3ve3g-common: update blob extraction scripts
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
2019-10-15 21:38:15 +02:00
Francescodario Cuzzocrea 00229976e8 s3ve3g-common: switch to stock timeservices
Those blobs keeps correct time even after a reboot, sadly klte one not.
Thanks at magiconapoli for providing the blobs and Roland for pointing
this out.
Also pin the blob to be sure to not pick not working ones.
2019-10-15 21:38:09 +02:00
Francescodario Cuzzocrea 7889cce77c s3ve3g-common: add Samsung LiveDisplay service to manifest
we support adaptivebacklight and displaycolorcalibration
2019-10-15 21:38:01 +02:00
Francescodario Cuzzocrea 90b22cd1ae s3ve3g-common: drop libsec-ril to device specific trees
single sim and dual sim variants use a different libsec-ril.so, so drop them to device specific trees
2019-10-15 21:37:54 +02:00
Kevin F. Haggerty 7c33e48bf4 s3ve3g-common: Update duos-related Telecomm props
* Our device doesn't behave well with the "new" logic that tracks the audio
  input with the default SIM

Change-Id: I084305b0ac1bdeb9915d2f75cfdeda4ab7fd0244
2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea 10f7b82f02 s3ve3g-common: update and cleanup proprietary files list 2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea 233d58b0ff s3ve3g-common: switch to klte libsec-ril 2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea 9100c0e146 s3ve3g-common: drop camera firmware XML files
* s3ve3gxx and s3ve3gjv have two different sensor for back cameras,
instead of copying both XML firmware files for both models just drop the
files to device specific tree and include only the one which is actually
needed to avoid confusion
2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea d63e3f0928 s3ve3g-common: do not override paths in libmmcamera2_sensor_modules.so
* the libmmcamera2_sensor_moduels.so belongs to s3ve3gxx and s3ve3gjv as
the two models have different sensor, so it should be moved to device
specific tree, but  overriding those paths this breaks firmware loading for camera, so for now just left things as they are
2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea 3be42be6a5 s3ve3g: fix offline charging
* Apparently settings user_debug in kernel cmdline breaks offline
charging functionality. Thanks at suudep for pointing this out

* Also remove unneeded androidboot.console=null
2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea fd0ff0a0b2 s3ve3g-common: use prebuilt libfmjni.so from lineage-14.1
* it seems that from lineage-15.1 something changed and the source built library fails to initialize iris driver on our board
2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea b78a5e8f63 s3ve3g-common: move BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE to msm8226-common 2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea b00f86f8d3 s3ve3g-common: remove double BOARD_FLASH_BLOCK_SIZE 2019-10-15 21:37:54 +02:00
dianlujitao bbdcf67fe6 s3ve3g-common: Rename bt props for new HAL
Change-Id: I1afd110bffed0f43b1afcbef99be8a3776d24e0b
2019-10-15 21:37:54 +02:00
klozz 4d372f9ccd msm8226-common: set bt uses btnv
* https://review.lineageos.org/c/LineageOS/android_hardware_qcom_bt/+/226649

Signed-off-by: klozz <shaclone707@gmail.com>
2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea 2dc266d548 s3ve3g-common: drop deprecated BLUETOOTH_HCI_USE_MCT 2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea 909a2422ce s3ve3g-common: set product shipping api level to 18
* The device has been launched with android 4.3 Jelly Bean
2019-10-15 21:37:16 +02:00
Sam Mortimer db796ccf2b s3ve3g-common: Remove config_tether_upstream_types
* Made redundant by enabling config_tether_upstream_automatic
  in vendor/lineage

Change-Id: Idd22b0616ae1c8732139085c03f19e6c21c75feb
2019-10-15 21:36:46 +02:00