Jan Altensen [Mon, 1 Jul 2019 06:47:52 +0000 (08:47 +0200)]
universal7580: sepolicy: label video4linux sysfs nodes
Change-Id: I051d99f1d6195da668e5ba5b51c08782aacd6acd
Jan Altensen [Sun, 30 Jun 2019 17:01:24 +0000 (19:01 +0200)]
universal7580: sepolicy: fixup powerhal policy
Change-Id: I68dd42a88aba3a7667dde36f18ebb1a43224e7ee
Jani Lusikka [Wed, 20 Jan 2016 16:47:27 +0000 (18:47 +0200)]
universal7580: sepolicy: Allow rild to access sysfs_input files
Addresses:
I auditd : type=1400 audit(0.0:124): avc: denied { write } for comm="rild" name="hall_irq_ctrl" dev="sysfs" ino=16010 scontext=u:r:rild:s0 tcontext=u:object_r:sysfs_input:s0 tclass=file permissive=0
Change-Id: I1f1667a230b4db02adc7165eedaf684cf318b471
Jan Altensen [Sun, 30 Jun 2019 14:51:26 +0000 (16:51 +0200)]
universal7580: sepolicy: allow system-server to read/write sysfs_sensors
Change-Id: Iad7b1cda464d6eee8ce3ca6978ceba91cd042744
Jan Altensen [Sun, 30 Jun 2019 14:38:41 +0000 (16:38 +0200)]
universal7580: sepolicy: label s5 neo sensor sysfs nodes
Change-Id: I9be6cc3b0c767cdf4a7a5fbe90e67f861d4e9da2
Jan Altensen [Sun, 30 Jun 2019 14:25:24 +0000 (16:25 +0200)]
universal7580: sepolicy: label s5 neo input devices
Change-Id: I2871bfda8a7f968023141949ff01ace232d3ad4d
Jan Altensen [Tue, 29 Jan 2019 11:07:11 +0000 (12:07 +0100)]
universal7580: remove unused lineagehw impls
Change-Id: Id6a187043bc09bb3abd352d5994c59afff440952
universal7580: remove no longer needed JAVA_SOURCE_OVERLAYS flag
Change-Id: Idd5d18379c8b20ddd3a6d3ff50130b47917c152a
Jan Altensen [Tue, 29 Jan 2019 11:06:32 +0000 (12:06 +0100)]
universal7580: Build vendor.lineage.livedisplay HAL from hardware/samsung
Change-Id: I53bce07131a67e677effbdc3e3ae7faed22fe1f6
Paul Keith [Tue, 8 Jan 2019 23:47:48 +0000 (00:47 +0100)]
universal7580: Build vendor.lineage.touch HAL from hardware/samsung
Change-Id: I6eca1e9875cb5793a3a45c6e77bc201946ebd897
Danny Wood [Tue, 25 Jun 2019 10:40:23 +0000 (11:40 +0100)]
universal7580: sepolicy: Fix SELinux denials related to the A5 as well as a couple of other universal denials
Change-Id: I043c8ed73eb901216d3ee6aa182a6b436000b055
Danny Wood [Tue, 21 May 2019 06:51:45 +0000 (07:51 +0100)]
universal7580: ramdisk: fix a typo in the WiFi init script
Change-Id: I88a31c9b12b47dcd34ab5452334d7622350b31a8
Danny Wood [Tue, 14 May 2019 15:06:49 +0000 (16:06 +0100)]
universal7580: sepolicy: fix and cleanup denials hit during init
Change-Id: If58602ea177da08848338b3b7ccacb7bd299502c
Danny Wood [Tue, 14 May 2019 15:06:32 +0000 (16:06 +0100)]
universal7580: ramdisk: move some sysfs node permissions to ueventd.samsungexynos7580.rc to simplify boot scripts and sepolicy
Change-Id: I8f37a859b4075b20f4f1ba6e1adfa025cd651638
Danny Wood [Fri, 29 Mar 2019 12:43:21 +0000 (12:43 +0000)]
universal7580: Update sepolicy for P
Change-Id: I390e8388a6709d6e4bae96fd707485adfb306de1
Han Wang [Tue, 2 Oct 2018 12:00:56 +0000 (14:00 +0200)]
universal7580: Update textclassifier package name for P
Change-Id: If846cc590060025202fa336af4420747f6b01238
Bruno Martins [Sun, 2 Sep 2018 22:40:59 +0000 (00:40 +0200)]
universal7580: Adapt for local LineageHW java overlays
Change-Id: Icb2b9810217f4b4d442ab83a16f455bd2ed82071
Anton Hansson [Wed, 21 Feb 2018 14:11:44 +0000 (14:11 +0000)]
universal7580: SamsungDoze: Set LOCAL_PRIVATE_PLATFORM_APIS
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug:
73535841
Change-Id: Ib244e0b7de264191a94d8b0e6512be2a580ec59f
Stricted [Sun, 14 Oct 2018 22:39:02 +0000 (00:39 +0200)]
universal7580: libexynoscamera_shim: Add missing Fence destructor
Change-Id: Ib4f57730ecb7199f492c3e28ff2b79872359535d
Bruno Martins [Thu, 16 Aug 2018 14:19:28 +0000 (15:19 +0100)]
universal7580: Switch to common basic USB HAL
Change-Id: I0e0809a2338f006063c5160bb7aec36a555cebab
Stricted [Sun, 14 Oct 2018 22:36:01 +0000 (00:36 +0200)]
universal7580: Remove ANDROID_BUILD_TOP
This is no longer used in Pie, so just get the top dir of the build system
and use that.
Change-Id: I6d91b3c7484596b76546ccdf06fb1ea538067d82
Roshan Pius [Thu, 18 Jan 2018 22:24:13 +0000 (14:24 -0800)]
universal7580: Don't start supplicant with interfaces
Framework will now add interface to supplicant (via HIDL) when it
needs to control an interface, so don't specify them in the startup
params.
Bug:
69426063
Test: Device boots up and able to connect to wifi.
Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0
Roshan Pius [Tue, 6 Feb 2018 00:16:57 +0000 (16:16 -0800)]
universal7580: wpa_supplicant(hidl): Add support for
starting HAL lazily
Bug:
72394251
Test: Able to start supplicant from framework using
ISupplicant.getService()
Change-Id: I19b8434e7241b9028e7dc86316ec9d5512affcca
Jeff Vander Stoep [Thu, 30 Nov 2017 21:00:27 +0000 (13:00 -0800)]
universal7580: wifi_supplicant: deprecate entropy.bin
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit
b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.
Bug:
34980020
Test: Use wifi and wifi tethering on Taimen
Change-Id: Iaa2a8a42e4e3fd941c5be0f8fa691245cdb429e9
Jeff Vander Stoep [Wed, 24 Jan 2018 16:57:13 +0000 (08:57 -0800)]
universal7580: wpa_supplicant: Move control sockets to
/data/vendor
Treble compliance.
Bug:
70228425
Bug:
70393317
Test: complete wifi test in b/
70393317
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets
Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
Jerry Zhang [Fri, 14 Jul 2017 18:36:32 +0000 (20:36 +0200)]
universal7580: Set sys.usb.ffs.aio_compat
The kernel does not support aio with ffs.
Set the property so adb/mtp know to use the compatible
functions, and the same while in recovery.
Bug:
37916658
Test: Use adb / use adb in recovery
Change-Id: Id35a05fcb9952dcf7239bd15a61cc620537419bc
Stricted [Sun, 14 Oct 2018 22:29:55 +0000 (00:29 +0200)]
universal7580: correct TARGET_ARCH_VARIANT to armv8-a
Change-Id: I359ce8b7f004236495ec2b5252a3b21f855a5e44
Danny Wood [Sun, 23 Jun 2019 07:37:00 +0000 (08:37 +0100)]
universal7580: camera: switched from assert to ALOG_ASSERT to fix Oreo compilation, also added copyrights and a brief workaround descritpion
Change-Id: I29b6f3eb4cad070258194af86555eadac907d517
Danny Wood [Fri, 21 Jun 2019 09:46:36 +0000 (10:46 +0100)]
universal7580: camera: create a worker thread to handle all callbacks to avoid hard locking the camera hal with single threaded clients
Change-Id: I31e5b4e874d32ffdceb04aaf5cdd4b805a34f26e
Danny Wood [Sat, 25 May 2019 12:33:19 +0000 (13:33 +0100)]
universal7580: camera: block notify callbacks during the cancel_auto_focus function as this can cause a race condition and a lockup
shorten the cancel_auto_focus blocking delay to 500mS to improve loading speed
Change-Id: I20cc5401bbc80bfd8f79d744d987f540206ce0c2
Danny Wood [Fri, 24 May 2019 17:25:04 +0000 (18:25 +0100)]
universal7580: camera: block calls to cancel_auto_focus for 1 second after camera2_auto_focus to workaround hard locks when it gets called too soon
Change-Id: I8c274fb8de112ca279b98507a0d4ac2a2674da93
Danny Wood [Fri, 24 May 2019 07:33:09 +0000 (08:33 +0100)]
universal7580: camera: fix compiler warnings in wrapper
Change-Id: Iaecd86986ebbcbe3d6d1130b2b31a772d61949b6
Lukas0610 [Sat, 24 Feb 2018 08:12:33 +0000 (09:12 +0100)]
universal7580: camera: fixed torch-on-delay
Wrapped set_torch_mode() and increased API-version of CameraWrapper to 2.4 to trigger support for set_torch_mode()
Change-Id: I0dbc89345a785fabd84edeb0290e94d4e57019a6
Brandon McAnsh [Mon, 14 May 2018 21:16:57 +0000 (17:16 -0400)]
universal7580: camera: CameraWrapper: Include nativebase headers
Change-Id: I4cff3aea01a930eaecee86bc5d653dfa65ef0add
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Lukas Berger [Fri, 19 Jan 2018 22:00:21 +0000 (23:00 +0100)]
universal7580: camera: fixup missing dependencies/includes for camera-wrapper
Change-Id: Ifbbe153eeb87636134efb5f9015feb81c8fa8afc
Benoît Laniel [Fri, 24 Mar 2017 21:33:03 +0000 (22:33 +0100)]
universal7580: camera: defer start_preview until surface is valid
Some apps like Snap start preview very early to setup camera while initializing
UI. It then calls setPreviewDisplay (set_preview_window) to define the surface
used for preview.
According to https://developer.android.com/reference/android/hardware/Camera.html#setPreviewDisplay%28android.view.SurfaceHolder%29
"This allows camera setup and surface creation to happen in parallel, saving time."
But https://developer.android.com/reference/android/hardware/Camera.html#startPreview%28%29
"Preview will not actually start until a surface is supplied with setPreviewDisplay(SurfaceHolder) or setPreviewTexture(SurfaceTexture)."
However, hero camera hal starts preview with an internal buffer when surface
is not valid / null.
[CAM_ID(0)][]-WARN(setPreviewWindow[204]):Preview window is NULL, create internal buffer for preview
[CAM_ID(0)][]-INFO(startPreview[519]):setBuffersThread is run
On the next set_preview_window call (the one defining the surface), camera hal
restarts preview since it is already running using the internal buffer.
[CAM_ID(0)][]-WRN(setPreviewWindow[187]):Preview is started, we forcely re-start preview
Problem with this is that it deadlocks quite often. It loops here
[CAM_ID(0)][]-INFO(m_mainThreadQSetup3AA[1078]):m_flagThreadStop(1)
Let's handle the situation in the wrapper so no restart is done by the hal.
Change-Id: I762af781e5af96b52407387aa9ae67874a8ab8b6
codeworkx [Sat, 28 Nov 2015 19:33:54 +0000 (20:33 +0100)]
universal7580: camera: add empty camera wrapper
Changes:
* Removed references to "Camera3"
* Made it build correctly on universal7580
Change-Id: Ifa7a77ff5a9eb903cf2146d8ce8c7d6a64a6da4c
Signed-off-by: Jesse Chan <jc@lineageos.org>
Danny Wood [Sun, 12 May 2019 09:46:48 +0000 (10:46 +0100)]
universal7580: sepolicy: fix WiFi MAC address reading denial
Change-Id: I90e413b1696d2918c266fbce80db3f3b5d674933
Danny Wood [Sat, 4 May 2019 22:21:32 +0000 (23:21 +0100)]
universal7580: sepolicy: label /dev/vfsspi to fix fingerprint on some A5 variants
Change-Id: I04518ed877169940263e5a5689007d49ab5a819a
Borduni [Sun, 17 Mar 2019 12:57:53 +0000 (12:57 +0000)]
universal7580: ramdisk: remove old telephony hacks
Change-Id: I1d63f321f087cc1d264fbd6a0fd4d1a3bdd6e3f4
Borduni [Sun, 17 Mar 2019 12:55:44 +0000 (12:55 +0000)]
universal7580: ramdisk: remove "battery-enhancements"
Change-Id: Iecc608f1215bf3b74c818d77601ccb05926cf845
Danny Wood [Sun, 17 Mar 2019 08:59:40 +0000 (08:59 +0000)]
universal7580: sepolicy: add s5p-mem rule (fixes WideVine L1)
Change-Id: I18ee98ff921c8553d25275ea54acd744b47cc1a4
Danny Wood [Sun, 17 Mar 2019 08:56:38 +0000 (08:56 +0000)]
universal7580: ramdisk: correct permissions for /dev/s5p-smem
Change-Id: Ie0d6e248b62c6fde7275ebf2f3b2bd56d303bd05
maniacx [Mon, 11 Jun 2018 11:45:10 +0000 (19:45 +0800)]
universal7580: bt voice: call sco config after initializing BT firmware
Change-Id: Icc55ff2311244dedab0caa17d8279f455aee7e46
Lukas0610 [Tue, 6 Nov 2018 14:17:59 +0000 (15:17 +0100)]
universal7580: add device-specific bluetooth HIDL implementation
Change-Id: I0a239cfd728fe3fcee4bbbb7f557becad666935a
Jan Altensen [Tue, 12 Feb 2019 17:34:41 +0000 (18:34 +0100)]
universal7580: sepolicy: label mdnie accessibility file
Change-Id: If60faeb30f3130bc834eb843f81685112cd61190
Kevin F. Haggerty [Fri, 2 Mar 2018 13:03:00 +0000 (14:03 +0100)]
universal7580: Move charger service into the charger domain
Change-Id: Iac160690570156b79e800df8ae06a17902abc202
Stricted [Sun, 3 Feb 2019 13:14:37 +0000 (13:14 +0000)]
universal7580: remove unused macloader service
Change-Id: I6c30c777aa3e83f262ffd80bc48a7f678407c14a
Danny Wood [Fri, 25 Jan 2019 16:07:15 +0000 (16:07 +0000)]
universal7580: audio_policy: Fix sample rates to 48kHz to avoid using the resampler which introduces audible artefacts
Change-Id: Ic692aef4ca86be8dbbcf3d08139c816d16c823cc
Borduni [Wed, 16 Jan 2019 16:40:52 +0000 (17:40 +0100)]
universal7580: Use low-end default video codec
Change-Id: Ibcdf5eed3039a94cc23648a96ad570c2db0fa343
Danny Wood [Fri, 7 Dec 2018 12:17:33 +0000 (12:17 +0000)]
universal7580: sswap: Add Sepolicy and fix init script
Change-Id: I3c6d7bafcabd0d7d12d63fdadb7853e91084c81c
Danny Wood [Fri, 16 Nov 2018 11:05:19 +0000 (11:05 +0000)]
universal7580: ramdisk: Cleanup repeated permission setting
Change-Id: I452bf554949978662a90306e040961e7be9ad5f5
LuK1337 [Mon, 18 Dec 2017 19:03:14 +0000 (20:03 +0100)]
universal7580: Add aptX blobs
Change-Id: Idb84521067ddbaccb17ef93278c03ff0d2a140fe
Simon Shields [Wed, 14 Feb 2018 13:43:23 +0000 (14:43 +0100)]
universal7580: support for building without the BSP
Change-Id: I9065695fccdbd414663fb7e9c02d62e22fdb22e8
universal7580: Drop incompatible license
Change-Id: I685a96ec1fe7c077e51b36c6dc4288819ac3665b
Christopher N. Hesse [Fri, 16 Feb 2018 09:59:58 +0000 (10:59 +0100)]
universal7580: Update gralloc header
Change-Id: Ib1a696f667c8f1a0887dcb8d3476dd8a06b51f96
Stricted [Wed, 3 Oct 2018 02:45:52 +0000 (04:45 +0200)]
universal7580: update bsp config flags
Change-Id: I48dae62d85a545aaf8626b38045db0dc71b4a3e5
Ziyan [Mon, 17 Aug 2015 15:21:00 +0000 (17:21 +0200)]
universal7580: set restorecon_recursive on /efs
Change-Id: Ib90d6ef47752ed6bcd5493289ca786e3e236b4dd
Stricted [Tue, 30 Oct 2018 06:11:59 +0000 (07:11 +0100)]
universal7580: remove unused proprietary files
Change-Id: I05ab8e90a70ee881d50b7277bcd186dc7d1b191d
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>
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>
Stricted [Mon, 22 Oct 2018 03:57:27 +0000 (05:57 +0200)]
universal7580: set NUM_FRAMEBUFFER_SURFACE_BUFFERS to 3
Change-Id: Ifbf77d412502218524c8784d375d302fb8f5b445
Danny Wood [Thu, 4 Oct 2018 07:12:58 +0000 (09:12 +0200)]
universal7580: sepolicy: Add initial universal7580 SELinux policy
Change-Id: I8dd2eefba25e500edcb08b453fff6da1a33fbe30
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
Stricted [Tue, 2 Oct 2018 03:05:45 +0000 (05:05 +0200)]
universal7580: load wifi firmware from /vendor
Change-Id: Ie90730396029c23eb921288370530b186dea8817
Stricted [Mon, 1 Oct 2018 10:46:51 +0000 (12:46 +0200)]
universal7580: build USB packages
Change-Id: Ia69edbf65d36022eacce7e4a4fb510de1a441092
Stricted [Mon, 1 Oct 2018 09:54:00 +0000 (11:54 +0200)]
universal7580: build sensor packages
Change-Id: Iff1ceee2642219851e273f61529914a14a010d06
Stricted [Mon, 1 Oct 2018 09:13:26 +0000 (11:13 +0200)]
universal7580: build lights hal
Change-Id: Ib53d6d665658f0c436f87084943950b43d4ac4f5
Stricted [Mon, 1 Oct 2018 09:13:05 +0000 (11:13 +0200)]
universal7580: build power hal
Change-Id: Ie8a4b190f53858feb89c942f6e6c9cff4a348985
Stricted [Mon, 1 Oct 2018 09:03:41 +0000 (11:03 +0200)]
universal7580: build keystore
Change-Id: I72a58d7c5e72fb429cc18850d44665b8a34a8a15
Stricted [Mon, 1 Oct 2018 08:39:42 +0000 (10:39 +0200)]
universal7580: pin omx blobs
Change-Id: Ie93f1c3882ec2996cbbd51a932fa504e88b9c20e
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
Stricted [Mon, 1 Oct 2018 08:00:55 +0000 (10:00 +0200)]
universal7580: build all shim libs
Change-Id: I4afc99aeb171e28c9275a334b166f8c2b36c14d1
Paul Keith [Mon, 19 Feb 2018 17:21:29 +0000 (18:21 +0100)]
universal7580: Use sdFAT for exFAT
Change-Id: I660c5b3008636a651a2812fe1739ff8a2ea845cb
Stricted [Mon, 1 Oct 2018 05:14:02 +0000 (07:14 +0200)]
universal7580: Create vulkan symlinks
Change-Id: Id79b8fbc0f9ec65de4900366022aa5cd72475694
Stricted [Mon, 1 Oct 2018 04:03:41 +0000 (06:03 +0200)]
universal7580: exclude ril headers for gvwifi
Change-Id: Id42c2a8ad0a345f08ae91dfa215a4b9e8b8ead04
Danny Wood [Sun, 30 Sep 2018 08:16:06 +0000 (09:16 +0100)]
universal7580: Add gralloc header
Change-Id: Id10d2f3e871cf6984894ab160db2acf3640e898e
deadman96385 [Mon, 24 Sep 2018 02:19:56 +0000 (21:19 -0500)]
universal7580: Add common overlays
Change-Id: I99e636f87cdfb20cea34090ce74d51dfaf413873
Stricted [Sun, 23 Sep 2018 00:58:15 +0000 (02:58 +0200)]
universal7580: build common gps packages
Change-Id: I485ed07e053deb5a30181cab5f6ae3bf3a7cf24c
Stricted [Sun, 23 Sep 2018 00:56:57 +0000 (02:56 +0200)]
universal7580: build dtbhtoolExynos
Change-Id: If6b8fbd69ad39ee90ee7d3b42350c16e9957d8b6
Stricted [Sun, 23 Sep 2018 00:46:37 +0000 (02:46 +0200)]
universal7580: add common bluetooth configuration
Change-Id: Ibf15cda6cfd34f44d9aa210369e5bfd9891b5c47
Stricted [Sat, 22 Sep 2018 02:26:14 +0000 (04:26 +0200)]
universal7580: add prebuilt libprotobuf-cpp-fl26.so
Change-Id: I1f538da2bdd8365e2c0f85761fd14d197b0ff4ba
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
Stricted [Sat, 22 Sep 2018 02:18:25 +0000 (04:18 +0200)]
universal7580: gpsd: replace libgui with libsensor
Change-Id: I7c66ad5eb2b2ebf055c3416c756b8c36e8ad918c
Stricted [Sat, 22 Sep 2018 02:17:44 +0000 (04:17 +0200)]
universal7580: shim omx libs
Change-Id: Icf3b6077fcea8e0a7b8a23fb609a0e3b15c0daf3
Stricted [Sat, 22 Sep 2018 02:16:49 +0000 (04:16 +0200)]
universal7580: libshims: add missing fence symbols to libexynoscamera shim
Change-Id: Ifa0529aa56ad3c8ef144e582c007068263e26878
Lukas0610 [Sat, 24 Feb 2018 17:35:43 +0000 (18:35 +0100)]
universal7580: LD_PRELOAD libstagefright_shim into mediaserver
Change-Id: I2db10ce007ca0d9736d44447487ecb2fa4cfa1e7
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
Lukas0610 [Mon, 19 Feb 2018 15:45:52 +0000 (16:45 +0100)]
universal7580: libshims: add OMX shim
Change-Id: I103aa42a8384da0cbd8ee2cfa8af2c543479b3fa
Christopher N. Hesse [Fri, 16 Feb 2018 10:32:39 +0000 (11:32 +0100)]
universal7580: libshims: Shim GraphicBuffer for libexynoscamera
Change-Id: Id2a55641d2d2f26acd1993c6533178077da55f1b
Christopher N. Hesse [Sun, 28 Jan 2018 12:54:11 +0000 (13:54 +0100)]
universal7580: libshims: add camera params shim
Change-Id: I72f79dfdbd650a5813bc540c41f228a4af136448
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
Stricted [Sat, 22 Sep 2018 01:38:27 +0000 (03:38 +0200)]
universal7580: pin libwvdrmengine
Change-Id: I36f1c5f20655aa6579c8a37e2b0ea3a68a7322db
Stricted [Sat, 22 Sep 2018 01:31:42 +0000 (03:31 +0200)]
universal7580: set recovery fstab
Change-Id: I077bddba045a7b8d037ede24e7b41dad72bfecd6
Stricted [Sat, 22 Sep 2018 01:31:02 +0000 (03:31 +0200)]
universal7580: add seccomp policys
Change-Id: Ib37293d0ca79619f6125640db694f675e2431597
Stricted [Sat, 22 Sep 2018 01:26:57 +0000 (03:26 +0200)]
universal7580: import custom rild.rc
Change-Id: I7b1004f19ad781e091f156710093de4c4e117d36
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>
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
Stricted [Sat, 22 Sep 2018 01:16:22 +0000 (03:16 +0200)]
universal7580: import ril header
Change-Id: I01707eba72d5c6516e0f3a0ebf6a3f4f15bf512f
Stricted [Sat, 22 Sep 2018 01:14:19 +0000 (03:14 +0200)]
universal7580: import common ramdisk
Change-Id: I80ddc9b0cfc7fc312513ba795443b294135aaf35
deadman96385 [Sat, 24 Feb 2018 19:44:03 +0000 (20:44 +0100)]
universal7580: Import Samsung Doze from samsung_qcom-common
Change-Id: Ibd29d5c49fcabcd30bf3572f3bcd08110900779e
Stricted [Fri, 21 Sep 2018 23:43:42 +0000 (01:43 +0200)]
universal7580: add samsung_audio and samsung_dtbh header
Change-Id: I6bde3f7d662c40ed03bd1aca2dc8103cb14bebd4