GitHub/LineageOS/android_device_samsung_universal7580-common.git
4 years agouniversal7580: update media_codecs and dmedia_profiles to A310FXXU4CRG2
Borduni [Sun, 28 Oct 2018 11:07:49 +0000 (12:07 +0100)]
universal7580: update media_codecs and dmedia_profiles to A310FXXU4CRG2

Change-Id: Ief38aca3faad68ffeb3e270d219b5e1c097b02a5
Signed-off-by: Stricted <info@stricted.net>
4 years agouniversal7580: sepolicy: Use noatsecure for everything
Ethan Chen [Tue, 26 Sep 2017 06:09:37 +0000 (23:09 -0700)]
universal7580: sepolicy: Use noatsecure for everything

 * Required to preserve LD_SHIM_LIBS throughout
    the services to fully support SHIM libraries

 * Introduced in device_qcom_sepolicy by commit:

    "sepolicy: allow getopt for appdomain"
    I7b78620d64af15ca4690abf49e4c24f0b0d5be9a

    "Certain domain needs LD_PRELOAD passed from init.
     Allow it for most domain."

Change-Id: I17095630043bbd5af4436cd5625a0fdc3480ed05
Signed-off-by: Adrian DC <radian.dc@gmail.com>
Signed-off-by: Stricted <info@stricted.net>
4 years agouniversal7580: set NUM_FRAMEBUFFER_SURFACE_BUFFERS to 3
Stricted [Mon, 22 Oct 2018 03:57:27 +0000 (05:57 +0200)]
universal7580: set NUM_FRAMEBUFFER_SURFACE_BUFFERS to 3

Change-Id: Ifbf77d412502218524c8784d375d302fb8f5b445

4 years agouniversal7580: sepolicy: Add initial universal7580 SELinux policy
Danny Wood [Thu, 4 Oct 2018 07:12:58 +0000 (09:12 +0200)]
universal7580: sepolicy: Add initial universal7580 SELinux policy

Change-Id: I8dd2eefba25e500edcb08b453fff6da1a33fbe30

4 years agouniversal7580: Add reversed RIL_InitialAttachApn fields
Christopher N. Hesse [Tue, 13 Feb 2018 23:14:52 +0000 (00:14 +0100)]
universal7580: Add reversed RIL_InitialAttachApn fields

These are needed to fix RIL crashing when trying to attach the initial
APN.

For LTE to work, these fields must be initialized to sane values.
Defaults that I found are "IP" for roamingProtocol and 0 for imsType.

Our custom libril in hardware/samsung will be updated to account for these
requirements.

Change-Id: Iad3c078bf6205d0d45ea5006070f2e1de5a972ea

4 years agouniversal7580: load wifi firmware from /vendor
Stricted [Tue, 2 Oct 2018 03:05:45 +0000 (05:05 +0200)]
universal7580: load wifi firmware from /vendor

Change-Id: Ie90730396029c23eb921288370530b186dea8817

4 years agouniversal7580: build USB packages
Stricted [Mon, 1 Oct 2018 10:46:51 +0000 (12:46 +0200)]
universal7580: build USB packages

Change-Id: Ia69edbf65d36022eacce7e4a4fb510de1a441092

4 years agouniversal7580: build sensor packages
Stricted [Mon, 1 Oct 2018 09:54:00 +0000 (11:54 +0200)]
universal7580: build sensor packages

Change-Id: Iff1ceee2642219851e273f61529914a14a010d06

4 years agouniversal7580: build lights hal
Stricted [Mon, 1 Oct 2018 09:13:26 +0000 (11:13 +0200)]
universal7580: build lights hal

Change-Id: Ib53d6d665658f0c436f87084943950b43d4ac4f5

4 years agouniversal7580: build power hal
Stricted [Mon, 1 Oct 2018 09:13:05 +0000 (11:13 +0200)]
universal7580: build power hal

Change-Id: Ie8a4b190f53858feb89c942f6e6c9cff4a348985

4 years agouniversal7580: build keystore
Stricted [Mon, 1 Oct 2018 09:03:41 +0000 (11:03 +0200)]
universal7580: build keystore

Change-Id: I72a58d7c5e72fb429cc18850d44665b8a34a8a15

4 years agouniversal7580: pin omx blobs
Stricted [Mon, 1 Oct 2018 08:39:42 +0000 (10:39 +0200)]
universal7580: pin omx blobs

Change-Id: Ie93f1c3882ec2996cbbd51a932fa504e88b9c20e

4 years agouniversal7580: copy seccomp filter to vendor
Stricted [Mon, 1 Oct 2018 08:18:17 +0000 (10:18 +0200)]
universal7580: copy seccomp filter to vendor

W /vendor/bin/hw/android.hardware.media.omx@1.0-service: Could not read additional policy file '/vendor/etc/seccomp_policy/mediacodec.policy'

Change-Id: Ica3c4105f67eb2ccc8af7554535beac66d7b2a65

4 years agouniversal7580: build all shim libs
Stricted [Mon, 1 Oct 2018 08:00:55 +0000 (10:00 +0200)]
universal7580: build all shim libs

Change-Id: I4afc99aeb171e28c9275a334b166f8c2b36c14d1

4 years agouniversal7580: Use sdFAT for exFAT
Paul Keith [Mon, 19 Feb 2018 17:21:29 +0000 (18:21 +0100)]
universal7580: Use sdFAT for exFAT

Change-Id: I660c5b3008636a651a2812fe1739ff8a2ea845cb

4 years agouniversal7580: Create vulkan symlinks
Stricted [Mon, 1 Oct 2018 05:14:02 +0000 (07:14 +0200)]
universal7580: Create vulkan symlinks

Change-Id: Id79b8fbc0f9ec65de4900366022aa5cd72475694

4 years agouniversal7580: exclude ril headers for gvwifi
Stricted [Mon, 1 Oct 2018 04:03:41 +0000 (06:03 +0200)]
universal7580: exclude ril headers for gvwifi

Change-Id: Id42c2a8ad0a345f08ae91dfa215a4b9e8b8ead04

4 years agouniversal7580: Add gralloc header
Danny Wood [Sun, 30 Sep 2018 08:16:06 +0000 (09:16 +0100)]
universal7580: Add gralloc header

Change-Id: Id10d2f3e871cf6984894ab160db2acf3640e898e

4 years agouniversal7580: Add common overlays
deadman96385 [Mon, 24 Sep 2018 02:19:56 +0000 (21:19 -0500)]
universal7580: Add common overlays

Change-Id: I99e636f87cdfb20cea34090ce74d51dfaf413873

4 years agouniversal7580: build common gps packages
Stricted [Sun, 23 Sep 2018 00:58:15 +0000 (02:58 +0200)]
universal7580: build common gps packages

Change-Id: I485ed07e053deb5a30181cab5f6ae3bf3a7cf24c

4 years agouniversal7580: build dtbhtoolExynos
Stricted [Sun, 23 Sep 2018 00:56:57 +0000 (02:56 +0200)]
universal7580: build dtbhtoolExynos

Change-Id: If6b8fbd69ad39ee90ee7d3b42350c16e9957d8b6

4 years agouniversal7580: add common bluetooth configuration
Stricted [Sun, 23 Sep 2018 00:46:37 +0000 (02:46 +0200)]
universal7580: add common bluetooth configuration

Change-Id: Ibf15cda6cfd34f44d9aa210369e5bfd9891b5c47

4 years agouniversal7580: add prebuilt libprotobuf-cpp-fl26.so
Stricted [Sat, 22 Sep 2018 02:26:14 +0000 (04:26 +0200)]
universal7580: add prebuilt libprotobuf-cpp-fl26.so

Change-Id: I1f538da2bdd8365e2c0f85761fd14d197b0ff4ba

4 years agouniversal7580: libsec-ril: replace libprotobuf-cpp-full.so with libprotobuf-cpp-fl26.so
Stricted [Wed, 14 Nov 2018 13:19:50 +0000 (14:19 +0100)]
universal7580: libsec-ril: replace libprotobuf-cpp-full.so with libprotobuf-cpp-fl26.so

Change-Id: Ibbb291a457753ab65879c0225e4f6a8978524d14

4 years agouniversal7580: gpsd: replace libgui with libsensor
Stricted [Sat, 22 Sep 2018 02:18:25 +0000 (04:18 +0200)]
universal7580: gpsd: replace libgui with libsensor

Change-Id: I7c66ad5eb2b2ebf055c3416c756b8c36e8ad918c

4 years agouniversal7580: shim omx libs
Stricted [Sat, 22 Sep 2018 02:17:44 +0000 (04:17 +0200)]
universal7580: shim omx libs

Change-Id: Icf3b6077fcea8e0a7b8a23fb609a0e3b15c0daf3

4 years agouniversal7580: libshims: add missing fence symbols to libexynoscamera shim
Stricted [Sat, 22 Sep 2018 02:16:49 +0000 (04:16 +0200)]
universal7580: libshims: add missing fence symbols to libexynoscamera shim

Change-Id: Ifa0529aa56ad3c8ef144e582c007068263e26878

4 years agouniversal7580: LD_PRELOAD libstagefright_shim into mediaserver
Lukas0610 [Sat, 24 Feb 2018 17:35:43 +0000 (18:35 +0100)]
universal7580: LD_PRELOAD libstagefright_shim into mediaserver

Change-Id: I2db10ce007ca0d9736d44447487ecb2fa4cfa1e7

4 years agouniversal7580: libshims: add shim for GraphicBufferMapper@libui
Lukas0610 [Sun, 18 Feb 2018 20:28:02 +0000 (21:28 +0100)]
universal7580: libshims: add shim for GraphicBufferMapper@libui

Kanged from https://github.com/LineageOS/android_device_sony_huashan/blob/4e32964a1e6aa1623feaba91e96ea4ce5e551fb8/libshims/ui/GraphicBufferMapper.cpp

For now this only fixed OMX-encoders and helped me to advance in fixing the decoders too, current state in doing so:

    02-18 21:16:53.461  3211  8056 W GraphicBufferMapper_shim: lock(0xee899768) failed: 22 (Invalid argument)
    02-18 21:16:53.461  3211  8056 D GraphicBufferMapper_shim: handle(0xee4ce1b8) sizeof(12)
    02-18 21:16:53.461  3211  8056 D GraphicBufferMapper_shim: handle(0xee4ce1b8)->version = 1
    02-18 21:16:53.461  3211  8056 D GraphicBufferMapper_shim: handle(0xee4ce1b8)->numFds = -292768608
    02-18 21:16:53.461  3211  8056 D GraphicBufferMapper_shim: handle(0xee4ce1b8)->numInts = 1684104552

with the notice of [handle->version == sizeof(handle-type) ] and, of course, handle->numFds > 0 and handle->numInts >= 0

Change-Id: Ie7fc973c8e494fc282faf9cf6b55b718c1f56e6f

4 years agouniversal7580: libshims: add OMX shim
Lukas0610 [Mon, 19 Feb 2018 15:45:52 +0000 (16:45 +0100)]
universal7580: libshims: add OMX shim

Change-Id: I103aa42a8384da0cbd8ee2cfa8af2c543479b3fa

4 years agouniversal7580: libshims: Shim GraphicBuffer for libexynoscamera
Christopher N. Hesse [Fri, 16 Feb 2018 10:32:39 +0000 (11:32 +0100)]
universal7580: libshims: Shim GraphicBuffer for libexynoscamera

Change-Id: Id2a55641d2d2f26acd1993c6533178077da55f1b

4 years agouniversal7580: libshims: add camera params shim
Christopher N. Hesse [Sun, 28 Jan 2018 12:54:11 +0000 (13:54 +0100)]
universal7580: libshims: add camera params shim

Change-Id: I72f79dfdbd650a5813bc540c41f228a4af136448

4 years agouniversal7580: libshims: Add libstagefright shim for NV21 color format
Christopher N. Hesse [Fri, 16 Feb 2018 01:06:05 +0000 (02:06 +0100)]
universal7580: libshims: Add libstagefright shim for NV21 color format

Change-Id: Iffc9e308b557df6e45aa96ddff958638c8766997

4 years agouniversal7580: pin libwvdrmengine
Stricted [Sat, 22 Sep 2018 01:38:27 +0000 (03:38 +0200)]
universal7580: pin libwvdrmengine

Change-Id: I36f1c5f20655aa6579c8a37e2b0ea3a68a7322db

4 years agouniversal7580: set recovery fstab
Stricted [Sat, 22 Sep 2018 01:31:42 +0000 (03:31 +0200)]
universal7580: set recovery fstab

Change-Id: I077bddba045a7b8d037ede24e7b41dad72bfecd6

4 years agouniversal7580: add seccomp policys
Stricted [Sat, 22 Sep 2018 01:31:02 +0000 (03:31 +0200)]
universal7580: add seccomp policys

Change-Id: Ib37293d0ca79619f6125640db694f675e2431597

4 years agouniversal7580: import custom rild.rc
Stricted [Sat, 22 Sep 2018 01:26:57 +0000 (03:26 +0200)]
universal7580: import custom rild.rc

Change-Id: I7b1004f19ad781e091f156710093de4c4e117d36

4 years agouniversal7580: libril: avoid SEGV when requesting call forwarding info
Corinna Vinschen [Mon, 20 Aug 2018 09:15:19 +0000 (11:15 +0200)]
universal7580: libril: avoid SEGV when requesting call forwarding info

libsec-ril.so crashes when requesting call forwarding info.  The reason
is that Samsung's RIL_CallForwardInfo has two extra members, string
pointers called startTime and endTime.   There's no such thing as start
and end time defined for GSM call forwarding, so it's not clear what's
the purpose.  However, adding these members to RIL_CallForwardInfo
and setting them to NULL fixes the crash.

Change-Id: I174bb24996e79c378a94921f105168f6c574a044
Signed-off-by: Corinna Vinschen <xda@vinschen.de>
4 years agouniversal7580: ril: Adjust the RIL_SMS_Response structure to match vendor
Basil Gello [Fri, 14 Jul 2017 13:47:58 +0000 (16:47 +0300)]
universal7580: ril: Adjust the RIL_SMS_Response structure to match vendor
 definition

Fixes the "SMS not sent" error message shown in SMS app while the
actual SMS has been sent to network and delivered to the recipient

Change-Id: Id959548e0eb83808d6f9daadb7fbe4eb8e4adc31

4 years agouniversal7580: import ril header
Stricted [Sat, 22 Sep 2018 01:16:22 +0000 (03:16 +0200)]
universal7580: import ril header

Change-Id: I01707eba72d5c6516e0f3a0ebf6a3f4f15bf512f

4 years agouniversal7580: import common ramdisk
Stricted [Sat, 22 Sep 2018 01:14:19 +0000 (03:14 +0200)]
universal7580: import common ramdisk

Change-Id: I80ddc9b0cfc7fc312513ba795443b294135aaf35

4 years agouniversal7580: Import Samsung Doze from samsung_qcom-common
deadman96385 [Sat, 24 Feb 2018 19:44:03 +0000 (20:44 +0100)]
universal7580: Import Samsung Doze from samsung_qcom-common

Change-Id: Ibd29d5c49fcabcd30bf3572f3bcd08110900779e

4 years agouniversal7580: add samsung_audio and samsung_dtbh header
Stricted [Fri, 21 Sep 2018 23:43:42 +0000 (01:43 +0200)]
universal7580: add samsung_audio and samsung_dtbh header

Change-Id: I6bde3f7d662c40ed03bd1aca2dc8103cb14bebd4

4 years agouniversal7580: set backlight path
Stricted [Fri, 21 Sep 2018 23:42:46 +0000 (01:42 +0200)]
universal7580: set backlight path

Change-Id: I22c6c4049fa63f9bed04dcff667edc6eb0afa818

4 years agouniversal7580: import common lineagehw classes
Stricted [Fri, 21 Sep 2018 23:41:12 +0000 (01:41 +0200)]
universal7580: import common lineagehw classes

Change-Id: If0ac7e713f4d1eeaa9b251481b3ae21cc743f32e

4 years agouniversal7580: Add common properties
Stricted [Fri, 21 Sep 2018 23:35:35 +0000 (01:35 +0200)]
universal7580: Add common properties

Change-Id: Iec01ffb9290f343efeb1df421d333b8b8045d13a

4 years agouniversal7580: build textclassifier bundle
Stricted [Fri, 21 Sep 2018 22:25:27 +0000 (00:25 +0200)]
universal7580: build textclassifier bundle

Change-Id: I326101539f689589e85691fe83e4076939f080e3

4 years agouniversal7580: build memtrack hidl inplementation
Stricted [Fri, 21 Sep 2018 22:24:36 +0000 (00:24 +0200)]
universal7580: build memtrack hidl inplementation

Change-Id: I4941d0851aea34e934720e67c1e040b9a20b0ba3

4 years agouniversal7580: add stock media codec files
Stricted [Fri, 21 Sep 2018 22:22:31 +0000 (00:22 +0200)]
universal7580: add stock media codec files

Change-Id: I0fe4f491037be7a168e29d8f4ab58ad817b6de4b

4 years agouniversal7580: build DRM hal
Stricted [Fri, 21 Sep 2018 22:19:57 +0000 (00:19 +0200)]
universal7580: build DRM hal

Change-Id: I78a0ba3932c6ad82d77fdd83c8f84a3b35531464

4 years agouniversal7580: build renderscript hal
Stricted [Fri, 21 Sep 2018 22:19:33 +0000 (00:19 +0200)]
universal7580: build renderscript hal

Change-Id: I3699568130975c997063c51a29b67da972f39e80

4 years agouniversal7580: build graphic packages
Stricted [Fri, 21 Sep 2018 22:18:46 +0000 (00:18 +0200)]
universal7580: build graphic packages

Change-Id: Ie4d693823e8540546666c5f1144acae8e85b0603

4 years agouniversal7580: build configstore HIDL HAL
Stricted [Fri, 21 Sep 2018 22:16:54 +0000 (00:16 +0200)]
universal7580: build configstore HIDL HAL

Change-Id: If2d406bff9a2d8ba57c2184e0075ea99204fb141

4 years agouniversal7580: build common camera packages
Stricted [Fri, 21 Sep 2018 22:15:07 +0000 (00:15 +0200)]
universal7580: build common camera packages

Change-Id: I1d11d138a077bd19b5a423e05f80c2f2c6be5f8d

4 years agouniversal7580: copy common permissions
Stricted [Fri, 21 Sep 2018 22:12:02 +0000 (00:12 +0200)]
universal7580: copy common permissions

Change-Id: I759a45ed12aa16f036c388ab94ba92c15845d301

4 years agouniversal7580: add common wifi board flags
Stricted [Fri, 21 Sep 2018 22:09:35 +0000 (00:09 +0200)]
universal7580: add common wifi board flags

also build common wifi packages

Change-Id: Ife1f86334399bfe3e01ed8927bf11748d1758fc4

4 years agouniversal7580: add common stock audio configuration files
Stricted [Fri, 21 Sep 2018 22:05:19 +0000 (00:05 +0200)]
universal7580: add common stock audio configuration files

Change-Id: I74b6eb44dbe85ad90c11de96efa90f3ff264c6c1

4 years agouniversal7580: build hardware/samsung OSS Audio HAL
Stricted [Fri, 21 Sep 2018 22:04:03 +0000 (00:04 +0200)]
universal7580: build hardware/samsung OSS Audio HAL

Change-Id: I90c41b1f897d0ad3d54c542644469da40c7a8a42

4 years agouniversal7580: add initial lineage.dependencies
Stricted [Fri, 21 Sep 2018 21:48:01 +0000 (23:48 +0200)]
universal7580: add initial lineage.dependencies

Change-Id: I63172d3b463d18ffa7e4b15ffef231df4bc57e06

4 years agouniversal7580: add initial common proprietary-files.txt
Stricted [Fri, 21 Sep 2018 21:39:10 +0000 (23:39 +0200)]
universal7580: add initial common proprietary-files.txt

Change-Id: I7be7ee4a057d3b1bf54fcc0505100bcf5e1da895

4 years agouniversal7580: inherit proprietary vendor files
Stricted [Fri, 21 Sep 2018 21:38:23 +0000 (23:38 +0200)]
universal7580: inherit proprietary vendor files

Change-Id: Ie8a29dc571838c8fca20d062bf4c5cd62af41476

4 years agouniversal7580: inherit Samsung LSI board support package makefiles
Stricted [Fri, 21 Sep 2018 21:36:26 +0000 (23:36 +0200)]
universal7580: inherit Samsung LSI board support package makefiles

Change-Id: I4799848b8b97c16926af556ad8ffed9607ff8964

4 years agouniversal7580: add common BSP flags
Stricted [Fri, 21 Sep 2018 21:35:20 +0000 (23:35 +0200)]
universal7580: add common BSP flags

Change-Id: If928fb39c57e2f5abc29cb663f674dc4586c753c

4 years agouniversal7580: import common extract-utils
Stricted [Fri, 21 Sep 2018 21:19:02 +0000 (23:19 +0200)]
universal7580: import common extract-utils

Change-Id: I119a2a89b7fffc529c501fe25106e6762ff513f1

universal7580: Set initial copyright year

Change-Id: I24c549f6df20316d2597f3af56466d71a70fc180

4 years agouniversal7580: basic skeleton tree
Stricted [Fri, 21 Sep 2018 21:13:21 +0000 (23:13 +0200)]
universal7580: basic skeleton tree

Change-Id: I8ce5798da44dd190d2e18023eefdcf630c7de49b