GitHub/exynos8895/android_device_samsung_universal8895-common.git
7 months agoDNM: disable hwc with a shim lineage-18.1
ivanmeler [Thu, 7 Jul 2022 10:32:53 +0000 (10:32 +0000)]
DNM: disable hwc with a shim

21 months agouniversal8895: address charger denials
Jan Altensen [Tue, 26 Jul 2022 15:24:00 +0000 (17:24 +0200)]
universal8895: address charger denials

 * also make the charger domain permissive

Change-Id: If0c7860c84d925965417d841298ebc2a84eead7f

21 months agouniversal8895: pin all blobs
Jan Altensen [Tue, 26 Jul 2022 08:45:53 +0000 (10:45 +0200)]
universal8895: pin all blobs

Change-Id: Ifad5fcd1d5c686d0a93f19c9d3ddd6819d1d3883

21 months agouniversal8895: sepolicy: address denials
Jan Altensen [Fri, 22 Jul 2022 07:18:42 +0000 (09:18 +0200)]
universal8895: sepolicy: address denials

Change-Id: I3f98e21dcfd7c6fcee71263163a6acf37a47414d

21 months agouniversal8895: sepolicy: remove duplicate types and labels
Jan Altensen [Fri, 22 Jul 2022 07:18:08 +0000 (09:18 +0200)]
universal8895: sepolicy: remove duplicate types and labels

Change-Id: I871474cd883c2b8dc3719c5b3e4158a32e17fce9

21 months agoFix selinux denial when trying to screen-record
Henrik Grimler [Tue, 11 May 2021 17:34:27 +0000 (19:34 +0200)]
Fix selinux denial when trying to screen-record

21 months agouniversal8895-common: squash import LineageOS 17.1 sepolicy
Henrik Grimler [Sat, 5 Sep 2020 18:25:22 +0000 (20:25 +0200)]
universal8895-common: squash import LineageOS 17.1 sepolicy
https://github.com/exynos8895/android_device_samsung_universal8895-common/commits/lineage-17.1/sepolicy

21 months agouniversal8895-common: Lets include samsung_slsi/sepolicy
ivanmeler [Mon, 11 Apr 2022 13:13:14 +0000 (13:13 +0000)]
universal8895-common: Lets include samsung_slsi/sepolicy

Change-Id: I84f3d09724148a539c69fd77fc71cd8eb95e2514

21 months agouniversal8895: add android_hardware_samsung_nfc to lineage.dependencies
Jan Altensen [Wed, 13 Jul 2022 00:49:08 +0000 (02:49 +0200)]
universal8895: add android_hardware_samsung_nfc to lineage.dependencies

Change-Id: I263caa5419d195ae2fc93babf54d05cbd6997ae1

21 months agoRevert "universal8895: build updateable apex"
Jan Altensen [Mon, 11 Jul 2022 23:52:45 +0000 (01:52 +0200)]
Revert "universal8895: build updateable apex"

This reverts commit 6b53117f6b42ed34ba29d47e25917619b701b6ee.

Revert "universal8895: build apex image"

This reverts commit 0430d033ae6ac6e3c39db3e705423fc0d063cd9e.

Change-Id: I8d5f6961f6b0a835c8d281e9e3ba484a3313c4de

2 years agoRevert "universal8895: increase in-call volume"
ivanmeler [Thu, 10 Mar 2022 18:49:55 +0000 (18:49 +0000)]
Revert "universal8895: increase in-call volume"

This reverts commit cebd032de985ce470255f9d2c0443259dd49e149.

2 years agoLets exclude AudioFX once again
ivanmeler [Thu, 10 Mar 2022 19:00:46 +0000 (19:00 +0000)]
Lets exclude AudioFX once again

2 years agoRemove custom gatekeeper rc file
ivanmeler [Fri, 11 Feb 2022 11:25:57 +0000 (11:25 +0000)]
Remove custom gatekeeper rc file

2 years agoSet boot anim res to half res and correct its size
ivanmeler [Wed, 9 Feb 2022 11:42:08 +0000 (11:42 +0000)]
Set boot anim res to half res and correct its size

2 years agoDisable fdsan for camera using wrapper
ivanmeler [Wed, 9 Feb 2022 09:40:03 +0000 (09:40 +0000)]
Disable fdsan for camera using wrapper

We had issues with fdsan and camera for a long time now, previous workaround was to remove fd close
from libexynoscamera3 but that solution wasnt perfect as fd's would add up and once there were too many
(around 20 min into video recording/video call/just having camera preview open) it would stop working untill we restart
cameraserver or device, this really isnt perfect in world where video calls are neccesary

So now using a wrapper we disable fdsan and that it turn disables checks on libexynoscamera3.

This works because way we load camera goes something like this (simplified)
cameraserver -> camera-impl/provider -> camera wrapper (camera.exynos5) -> camera.vendor.exynos5 -> libexynoscamera3

And fdsan dissabled gets passed by to libexynoscamera3 from this wrapper

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/hero2ltexx/hero2lte:8.0.0/R16NW/G935FXXU2ERD5:user/release-keys'
Revision: '0'
ABI: 'arm'
Timestamp: 2022-02-09 08:57:48.238455176+0100
Process uptime: 0s
Cmdline: /vendor/bin/hw/vendor.samsung.hardware.camera.provider@2.4-service
pid: 3672, tid: 8081, name: putBufferThread  >>> /vendor/bin/hw/vendor.samsung.hardware.camera.provider@2.4-service <<<
uid: 1047
signal 35 (<debuggerd signal>), code -1 (SI_QUEUE), fault addr --------
Abort message: 'attempted to close file descriptor 90, expected to be unowned, actually owned by unique_fd 0xedd16514'
    r0  00000000  r1  00001f91  r2  00000023  r3  e5ea15c8
    r4  e5ea15c8  r5  00000e58  r6  e5ea15dc  r7  0000016b
    r8  e5ea13c0  r9  ee490138  r10 00000014  r11 0000005a
    ip  00001f91  sp  e5ea13b8  lr  ee43b165  pc  ee43b178

backtrace:
      00 pc 0003b178  /apex/com.android.runtime/lib/bionic/libc.so (fdsan_error(char const*, ...)+256) (BuildId: d59fbfecb49aca653dd2461fc94ec0e0)
      01 pc 0003af23  /apex/com.android.runtime/lib/bionic/libc.so (android_fdsan_close_with_tag+482) (BuildId: d59fbfecb49aca653dd2461fc94ec0e0)
      02 pc 0003b5a3  /apex/com.android.runtime/lib/bionic/libc.so (close+6) (BuildId: d59fbfecb49aca653dd2461fc94ec0e0)
      03 pc 00073edf  /system/vendor/lib/libexynoscamera3.so (android::sp<android::Fence>::operator=(android::Fence*)+58) (BuildId: 5b3a513f7a0544d5e9c5725337e71346)
      04 pc 00073feb  /system/vendor/lib/libexynoscamera3.so (android::ExynosCameraFence::~ExynosCameraFence()+26) (BuildId: 5b3a513f7a0544d5e9c5725337e71346)
      05 pc 00074087  /system/vendor/lib/libexynoscamera3.so (android::ExynosCameraFence::~ExynosCameraFence()+2) (BuildId: 5b3a513f7a0544d5e9c5725337e71346)
      06 pc 00074ba7  /system/vendor/lib/libexynoscamera3.so (android::ServiceExynosCameraBufferManager::m_getBuffer(int*, int*, int*)+274) (BuildId: 5b3a513f7a0544d5e9c5725337e71346)
      07 pc 000719e3  /system/vendor/lib/libexynoscamera3.so (android::ExynosCameraBufferManager::getBuffer(int*, android::EXYNOS_CAMERA_BUFFER_POSITION, android::ExynosCameraBuffer*)+62) (BuildId: 5b3a513f7a0544d5e9c5725337e71346)

2 years agouniversal8895-common: squash: import s7 camera wrapper
ivanmeler [Wed, 9 Feb 2022 11:36:47 +0000 (11:36 +0000)]
universal8895-common: squash: import s7 camera wrapper
HEAD https://github.com/8890q/android_device_samsung_universal8890-common/commits/1f1542bdd6a38e6bc734b37b6cee068ddebbc3fb/hardware/camera

2 years agoRemove pointer arrow from common, we only need it on note8
ivanmeler [Wed, 9 Feb 2022 11:15:09 +0000 (11:15 +0000)]
Remove pointer arrow from common, we only need it on note8

2 years agomanifest: clean up drm mess
ivanmeler [Fri, 11 Feb 2022 11:18:24 +0000 (11:18 +0000)]
manifest: clean up drm mess

2 years agoswitch to source built librilutils
ivanmeler [Wed, 19 Jan 2022 15:44:30 +0000 (15:44 +0000)]
switch to source built librilutils

2 years agoEnable SCO workaround for samsung
ivanmeler [Mon, 10 Jan 2022 08:46:55 +0000 (08:46 +0000)]
Enable SCO workaround for samsung

2 years agoForward port 19 changes
ivanmeler [Wed, 15 Dec 2021 08:51:39 +0000 (08:51 +0000)]
Forward port 19 changes

2 years agoGoogles rild do be evil sometimes
Ivan Meler [Fri, 3 Dec 2021 12:24:57 +0000 (13:24 +0100)]
Googles rild do be evil sometimes

2 years agouniversal8890: overlay: Place volume panel on the left by default
Bruno Martins [Fri, 28 May 2021 21:22:39 +0000 (22:22 +0100)]
universal8890: overlay: Place volume panel on the left by default

Change-Id: Iffcfad9af472ada48c0dc12cf238fd959355bc6a

2 years agoRil updates
ivanmeler [Mon, 13 Sep 2021 08:36:20 +0000 (08:36 +0000)]
Ril updates

2 years agoTest
ivanmeler [Sat, 11 Sep 2021 15:46:30 +0000 (15:46 +0000)]
Test

2 years agoRemove libcutils shim for ril
ivanmeler [Sat, 11 Sep 2021 14:00:32 +0000 (14:00 +0000)]
Remove libcutils shim for ril

2 years agoUnfuckup 8
ivanmeler [Fri, 10 Sep 2021 16:14:16 +0000 (16:14 +0000)]
Unfuckup 8

2 years agouniversal8895: Remove USE_XML_AUDIO_POLICY_CONF
Sebastiano Barezzi [Mon, 7 Jun 2021 16:07:18 +0000 (18:07 +0200)]
universal8895: Remove USE_XML_AUDIO_POLICY_CONF

* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8

2 years agoRevert "universal8890: Nuke deprecated WiFi Display overlay"
Nolen Johnson [Sun, 29 Aug 2021 23:34:39 +0000 (01:34 +0200)]
Revert "universal8890: Nuke deprecated WiFi Display overlay"

This reverts commit d08f9402d54ebb8f9a1420bf14cf01e4e6867389.

Signed-off-by: Francescodario Cuzzocrea <bosconovic@gmail.com>
Change-Id: Ief841ef54357db85830f82d0dcdfd9c4bf9e3d43

3 years agouniversal8895: overlay: Remove mac randomization configs
filiprrs [Tue, 27 Apr 2021 11:17:46 +0000 (13:17 +0200)]
universal8895: overlay: Remove mac randomization configs

* There are no references to those in frameworks/base

3 years agouniversal8895: Create media_profiles_V1_0.xml
Pawin Vongmasa [Thu, 4 May 2017 02:54:12 +0000 (19:54 -0700)]
universal8895: 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.

Test: Compiles

Bug: 36430270

Change-Id: I2bdd38bc8e85cdb64c4729a6ebc843f5031c127c

3 years agouniversal8895: copy media configs to device tree
Jan Altensen [Thu, 1 Apr 2021 03:38:27 +0000 (05:38 +0200)]
universal8895: copy media configs to device tree

Change-Id: Ib438f3e31e4b77dcc3c6a40062115b7937dbd7ca

3 years agouniversal8895: manifest: add interfaces for second sim
Jan Altensen [Wed, 31 Mar 2021 08:22:56 +0000 (10:22 +0200)]
universal8895: manifest: add interfaces for second sim

Change-Id: Ie12ff42233e1a83092fd7070bca04510319a8abb

3 years agouniversal8895: Revert back to api 1 on snap
Erfan Abdi [Wed, 26 Feb 2020 13:44:28 +0000 (17:14 +0330)]
universal8895: Revert back to api 1 on snap

* Fixes picture taking with flash on

Change-Id: Ife8c98ac5b292717fd22c1ed088a1539a084b7f3

3 years agouniversal8895: manifest: Remove Trust interface entry
Michael Bestas [Fri, 1 Jan 2021 03:15:05 +0000 (05:15 +0200)]
universal8895: manifest: Remove Trust interface entry

This has been turned into a VINTF fragment.

Change-Id: Iaf53a2e1fbac75d53ec11d4c56c51230f4758daf

3 years agouniversal8895: increase in-call volume
haridhayal11 [Wed, 31 Mar 2021 02:11:58 +0000 (04:11 +0200)]
universal8895: increase in-call volume

Change-Id: Iee83d584374fc4f39e4cb8befc66b61ccd33cad3

3 years agouniversal8895: copy mixer_(gains|paths) to device tree
Jan Altensen [Wed, 31 Mar 2021 02:10:16 +0000 (04:10 +0200)]
universal8895: copy mixer_(gains|paths) to device tree

Change-Id: Ic424f61255c95e72b3ed56ab817cb800302546ab

3 years agouniversal8895: update some ril blobs to N975FXXU6FUCD
Jan Altensen [Wed, 31 Mar 2021 02:07:37 +0000 (04:07 +0200)]
universal8895: update some ril blobs to N975FXXU6FUCD

Change-Id: I5d4daf8546855438e87671ab20fb82bb86b6f8c8

3 years agouniversal8895: Don't sign Wifi RROs with platform cert
David Su [Wed, 29 Jul 2020 19:54:00 +0000 (12:54 -0700)]
universal8895: Don't sign Wifi RROs with platform cert

Preinstalled overlays needn't be signed with the same cert
as the package it overlays, simply being preinstalled is
enough. Sign with the default cert instead for now, which
provides fewer special privileges.

Bug: 162195999
Test: verify values still overlaid correctly
Change-Id: I017491fd383551c5aadf8648edb900e0c12a27b8

3 years agouniversal8895: WifiOverlay: set config_wifi_ap_mac_randomization_supported to false
Francescodario Cuzzocrea [Wed, 4 Nov 2020 10:18:38 +0000 (11:18 +0100)]
universal8895: WifiOverlay: set config_wifi_ap_mac_randomization_supported to false

    * Needed since the deprecation of WIFI_HIDL_FEATURE_DISABLE_AP_MAC_RANDOMIZATION

Change-Id: I634a1a5eb5a87a92c720322bf01b2434a2ce013d

3 years agouniversal8895: Add WifiOverlay
Roshan Pius [Fri, 24 Apr 2020 21:33:28 +0000 (14:33 -0700)]
universal8895: Add WifiOverlay

Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5

3 years agouniversal8895: add config overlay for biometric sensors
inthewaves [Sun, 20 Sep 2020 18:03:06 +0000 (11:03 -0700)]
universal8895: add config overlay for biometric sensors

Change-Id: Iad81cd680fbeedd1ac3f216727e367d790834423

3 years agodisplay: use correct size for bootanimation lineage-17-pythonlimited
PythonLimited [Sun, 28 Feb 2021 17:23:03 +0000 (18:23 +0100)]
display: use correct size for bootanimation

3 years agocamera: add wrapper and build camera2 instead of snap
PythonLimited [Sun, 28 Feb 2021 17:20:53 +0000 (18:20 +0100)]
camera: add wrapper and build camera2 instead of snap

camera2 fixes the flash bugging when taking a photo

the wrapper isnt needed but ill keep it to debug cam later on R

3 years agouniversal8895: add supplicant@1.3 to wifi.rc
Jan Altensen [Sun, 3 Jan 2021 13:03:11 +0000 (14:03 +0100)]
universal8895: add supplicant@1.3 to wifi.rc

Change-Id: I5ba061bc22170f8469a54f2d24c8aa48e854fdc4

3 years agouniversal8895: temporarily disable hwc
Jan Altensen [Sun, 3 Jan 2021 10:13:29 +0000 (11:13 +0100)]
universal8895: temporarily disable hwc

 * hwc crashes on R so disable it for now
 * needs https://gist.github.com/Stricted/4d86d16b562776376e0564663c80012f

Change-Id: Ib7c0fd7682fdac836f15d196fd6f184fc1fc468b

3 years agouniversal8895: Switch to patchelf from tools-lineage
Michael Bestas [Thu, 5 Nov 2020 17:50:53 +0000 (19:50 +0200)]
universal8895: Switch to patchelf from tools-lineage

Change-Id: If1a7328804fb9bc39ccec70690f1090f2d0509b3

3 years agouniversal8895: Switch to standalone extract utils
Michael Bestas [Sat, 19 Dec 2020 00:53:35 +0000 (02:53 +0200)]
universal8895: Switch to standalone extract utils

* Align with templates while we are at it

Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4

3 years agouniversal8895: copy libpixelflinger from stock
Jan Altensen [Fri, 1 Jan 2021 23:12:41 +0000 (00:12 +0100)]
universal8895: copy libpixelflinger from stock

Change-Id: Ie4431ed6c3d773a199e9142c1c7b4f9122124127

3 years agouniversal8895: add shim for android_memset32
Jan Altensen [Wed, 16 Sep 2020 02:27:03 +0000 (04:27 +0200)]
universal8895: add shim for android_memset32

 * memset32.S and android_memset.S taken from Q

Change-Id: Id0878f89cdc4b754c8af3b4cc0a1920030155fad

3 years agouniversal8895: setup-makefiles: disable ELF check for mali
Jan Altensen [Sun, 25 Oct 2020 23:46:55 +0000 (00:46 +0100)]
universal8895: setup-makefiles: disable ELF check for mali

Change-Id: I1cb115b1fdb074065ea1682d1e33a675b665ec63

3 years agouniversal8895: update sha1sum's for ril blobs
Jan Altensen [Fri, 1 Jan 2021 22:28:22 +0000 (23:28 +0100)]
universal8895: update sha1sum's for ril blobs

Change-Id: I52f24f9ec9d2d72c6ccb394936a2d763755298ce

3 years agoRevert "universal8895: pin patched libexynosdisplay.so"
Jan Altensen [Sat, 26 Dec 2020 15:25:04 +0000 (16:25 +0100)]
Revert "universal8895: pin patched libexynosdisplay.so"

This reverts commit 6b9bdadbda778cd9c7255c9b6da4a0cfe98c1ad8.

Change-Id: Ic2a34fa48247c832c4993a01759ef5467d51ceb6

3 years agouniversal8895: Remove usb entry from manifest
LuK1337 [Fri, 18 Sep 2020 11:10:00 +0000 (13:10 +0200)]
universal8895: Remove usb entry from manifest

- This is now a vintf fragment

Change-Id: I45b9dfd468c690c257b7ef726d850bc405abf2bc

3 years agouniversal8895: pin patched libexynosdisplay.so
Jan Altensen [Thu, 24 Dec 2020 23:30:58 +0000 (00:30 +0100)]
universal8895: pin patched libexynosdisplay.so

Change-Id: If5eac55b07b63d383ff22aefca11e96d8609f2ca

3 years agouniversal8895: drop prebuilt camera.device@*.so blobs
Jan Altensen [Thu, 24 Dec 2020 23:30:02 +0000 (00:30 +0100)]
universal8895: drop prebuilt camera.device@*.so blobs

Change-Id: I497f37eeaa333efec58066413761898f737884d2

3 years agouniversal8895: camera3: add samsung fields to camera3_stream_t struct
Jan Altensen [Thu, 24 Dec 2020 23:29:08 +0000 (00:29 +0100)]
universal8895: camera3: add samsung fields to camera3_stream_t struct

Change-Id: I8abf86c3d261c0e49031142b8dc3e2e5d2ea1a8b

3 years agouniversal8895: add camera3 header
Jan Altensen [Thu, 24 Dec 2020 23:28:10 +0000 (00:28 +0100)]
universal8895: add camera3 header

 * taken from hardware/libhardware refs/tags/android-11.0.0_r19

Change-Id: I4244d1c75b00e04e45dd996608c76c5b98670fc0

3 years agouniversal8895: sepolicy: move type gatekeeper_efs_file to android_device_samsung_slsi... lineage-17.1
Jan Altensen [Sun, 18 Oct 2020 12:55:05 +0000 (14:55 +0200)]
universal8895: sepolicy: move type gatekeeper_efs_file to android_device_samsung_slsi_sepolicy

Change-Id: Id3ad30c8ed24ed189a90489638053e9dd3072c75

3 years agosepolicy: set BOARD_SEPOLICY_TEE_FLAVOR to mobicore
Henrik Grimler [Sat, 5 Sep 2020 20:59:10 +0000 (22:59 +0200)]
sepolicy: set BOARD_SEPOLICY_TEE_FLAVOR to mobicore

To use mobicore sepolicy now that it has been moved to android_device_samsung_slsi_sepolicy.

3 years agoSepolicy: mv mobicore/tee policy to android_device_samsung_slsi
Henrik Grimler [Sat, 5 Sep 2020 18:25:22 +0000 (20:25 +0200)]
Sepolicy: mv mobicore/tee policy to android_device_samsung_slsi

3 years agoUse more macros following review
Henrik Grimler [Sat, 5 Sep 2020 07:25:08 +0000 (09:25 +0200)]
Use more macros following review

Use get_prop macro instead of r_file_perms as we otherwise hit
neverallow { ioctl lock } for props.

3 years agoSepolicy: clean-up and use macros where suitable
Henrik Grimler [Thu, 3 Sep 2020 18:35:10 +0000 (20:35 +0200)]
Sepolicy: clean-up and use macros where suitable

Following suggestions by Stricted.

3 years agoSepolicy: rm untrusted_app* policies
Henrik Grimler [Wed, 2 Sep 2020 16:04:20 +0000 (18:04 +0200)]
Sepolicy: rm untrusted_app* policies

3 years agoAddress more denials from when running as enforcing
Henrik Grimler [Tue, 1 Sep 2020 12:23:07 +0000 (14:23 +0200)]
Address more denials from when running as enforcing

Mostly working now.
These denials are left to fix:
```
kworker/u16:1: type=1400 audit(0.0:85): avc: denied { dac_override } for capability=1 scontext=u:r:kernel:s0 tcontext=u:r:kernel:s0 tclass=capability permissive=0
kworker/u16:1: type=1400 audit(0.0:86): avc: denied { dac_read_search } for capability=2 scontext=u:r:kernel:s0 tcontext=u:r:kernel:s0 tclass=capability permissive=0
type=1400 audit(1598966762.983:15): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
type=1400 audit(1598966762.983:15): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
```

3 years agoUpdate sepolicy again based on {exynos9820,universal7880}-common
Henrik Grimler [Thu, 27 Aug 2020 19:40:49 +0000 (21:40 +0200)]
Update sepolicy again based on {exynos9820,universal7880}-common

Getting closer to a working policy!

3 years agoUse device/samsung_slsi/sepolicy and device/lineage/sepolicy
Henrik Grimler [Tue, 25 Aug 2020 20:56:05 +0000 (22:56 +0200)]
Use device/samsung_slsi/sepolicy and device/lineage/sepolicy

No reason to re-do these policies from scratch.. Also address some
more denials.

3 years agoSepolicy: add more file and device labels and fix denials
Henrik Grimler [Thu, 20 Aug 2020 10:44:29 +0000 (12:44 +0200)]
Sepolicy: add more file and device labels and fix denials

Have verified that they exist on dream2lte.

Heavily inspired by universal7880-common, exynos9820-common and
universal9810-common's sepolicies.

3 years agoLabel files and address a bunch of selinux denials
Henrik Grimler [Sun, 9 Aug 2020 16:20:18 +0000 (18:20 +0200)]
Label files and address a bunch of selinux denials

3 years agouniversal8895: overlay: disable WiFi/P2P MAC Randomization
Anan Jaser [Thu, 24 Sep 2020 14:41:05 +0000 (18:41 +0400)]
universal8895: overlay: disable WiFi/P2P MAC Randomization

3 years agouniversal8895: Board: move deprecated AP Randomization to overlay
Anan Jaser [Thu, 24 Sep 2020 14:37:00 +0000 (18:37 +0400)]
universal8895: Board: move deprecated AP Randomization to overlay

3 years agouniversal8895: Set PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true
LuK1337 [Tue, 22 Sep 2020 08:15:09 +0000 (10:15 +0200)]
universal8895: Set PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true

* Apparently this is now required on all non full treble devices since
  google added a sleep(1) in libhidl...

Change-Id: I6d8492dd7c56bfdb2ca00f3477634a46fa55b1c0

3 years agouniversal8895:Enable v1.3 drm plugins
Robert Shih [Tue, 26 Nov 2019 06:25:42 +0000 (22:25 -0800)]
universal8895:Enable v1.3 drm plugins

Bug: 139134043
Test: MediaDrmTest
Change-Id: Ie34e59947577988f75fae52d22e3f573f4b92420

3 years agouniversal8895: add script to read /efs/factory.prop
Jan Altensen [Wed, 23 Sep 2020 22:53:38 +0000 (00:53 +0200)]
universal8895: add script to read /efs/factory.prop

 * in R its no longer possible to use `import /efs/factory.prop`

Change-Id: I81ccf500ca0cf21f9be9af13db48affd5bec8ee8

3 years agouniversal8895-common: Ramdisk: remove vendor_lod UID
Anan Jaser [Wed, 23 Sep 2020 15:42:15 +0000 (19:42 +0400)]
universal8895-common: Ramdisk: remove vendor_lod UID

Unable to decode GID for 'vendor_lod': getpwnam failed: No such file or directory

Change-Id: I05248477ef8c4edf57984a74544a4e7aa89c2634

3 years agouniversal8895: Ramdisk: remove restorecon --force flag
Jan Altensen [Wed, 23 Sep 2020 15:38:54 +0000 (19:38 +0400)]
universal8895: Ramdisk: remove restorecon --force flag

host_init_verifier: Command 'restorecon --recursive --force /efs' (device/samsung/universal8895-common/ramdisk/etc/init.samsung.rc) failed: bad flag --force

Change-Id: I8b4987b05d91aa75a40a2b0a0405466a5c9ae2a5

3 years agouniversal8895: Ramdisk: remove vendor_audit UID
Anan Jaser [Wed, 23 Sep 2020 15:44:18 +0000 (19:44 +0400)]
universal8895: Ramdisk: remove vendor_audit UID

Unable to decode UID for 'vendor_audit': getpwnam failed: No such file or directory

Replace it with system system instead

Change-Id: Ia481dc7a319b50f98d7096a0c555eb0fdcc7087f

3 years agouniversal8895: Ramdisk: remove SPAY UID
Anan Jaser [Wed, 23 Sep 2020 15:32:35 +0000 (19:32 +0400)]
universal8895: Ramdisk: remove SPAY UID

Unable to decode UID for 'spay': getpwnam failed: No such file or directory

Change-Id: If8a28190a37823f07f8f8f7296a2a8fa97765d52

3 years agouniversal8895: Inherit product_launched_with_n.mk
Jan Altensen [Wed, 23 Sep 2020 00:30:55 +0000 (02:30 +0200)]
universal8895: Inherit product_launched_with_n.mk

Change-Id: Ic92d6c360dc9f00b0477364c1b6e72cb1ad35f20

3 years agouniversal8895: add shim for strdup8to16
Jan Altensen [Tue, 22 Sep 2020 22:49:33 +0000 (02:49 +0400)]
universal8895: add shim for strdup8to16

* strdup8to16.cpp and strdup16to8.cpp taken from refs/tags/android-10.0.0_r41

Change-Id: I25267fdffcb79df7af1e23dc8e07c5f8cb4f67ae

3 years agouniversal8895: Add prebuilt protobuf from sdk29
Jan Altensen [Tue, 22 Sep 2020 22:41:47 +0000 (02:41 +0400)]
universal8895: Add prebuilt protobuf from sdk29

Change-Id: I706c5a88e39018ec5b2e4633069893017417ea47

3 years agouniversal8895: BoardConfig: ditch custom Exynos mtunes
Jan Altensen [Tue, 22 Sep 2020 19:38:27 +0000 (23:38 +0400)]
universal8895: BoardConfig: ditch custom Exynos mtunes

3 years agouniversal8895: extract-files: remove libhidltransport/libhwbinder dependencies
Jan Altensen [Tue, 22 Sep 2020 19:29:49 +0000 (23:29 +0400)]
universal8895: extract-files: remove libhidltransport/libhwbinder dependencies

3 years agouniversal8895: livedisplay: drop libhidltransport dependency
Anan Jaser [Tue, 22 Sep 2020 17:21:44 +0000 (21:21 +0400)]
universal8895: livedisplay: drop libhidltransport dependency

Change-Id: I5837d457cab9547f353e551855514a30fc57f078

3 years agouniversal8895: copy manifest.xml via DEVICE_MANIFEST_FILE
Jan Altensen [Tue, 22 Sep 2020 17:31:37 +0000 (21:31 +0400)]
universal8895: copy manifest.xml via DEVICE_MANIFEST_FILE

3 years agouniversal8895: wifi: Remove IWifi hidl entry from manifest.xml
Ahmed ElArabawy [Tue, 22 Sep 2020 17:30:34 +0000 (21:30 +0400)]
universal8895: wifi: Remove IWifi hidl entry from manifest.xml

This CL removes the definition for the IWifi hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 138243400
Test: builds and wifi works
Change-Id: Icaff93193e10d4953d9947d2739b05959ece79f1

3 years agouniversal8895: wifi: Move wpa_supplicant VINTF definition to wpa_supplicant module
Jimmy Chen [Tue, 22 Sep 2020 17:29:39 +0000 (21:29 +0400)]
universal8895: wifi: Move wpa_supplicant VINTF definition to wpa_supplicant module

Bug: 36505680
Test: atest FrameworksNetTests
Test: atest VtsHalWifiSupplicantV1_3TargetTest
Test: connect EAP access point and verify PMK cache works correctly.
Change-Id: I2c382765b8e84951fc17bb9f1c3785dcd66e7b51

3 years agouniversal8895: wifi: Remove hostapd hidl entry from manifest.xml
Ahmed ElArabawy [Tue, 22 Sep 2020 17:28:57 +0000 (21:28 +0400)]
universal8895: wifi: Remove hostapd hidl entry from manifest.xml

This CL removes the definition for the hostapd hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 145780363
Test: builds and wifi softap works
Change-Id: I2a9cb25209efc94f6306f38d89cb5e1ff6f72bed

3 years agouniversal8895: Convert IMediaCasService to use vintf_fragments
Peter Kalauskas [Tue, 22 Sep 2020 16:50:45 +0000 (20:50 +0400)]
universal8895: Convert IMediaCasService to use vintf_fragments

4 years agouniversal8895: update security patch level
Jan Altensen [Mon, 13 Apr 2020 15:11:13 +0000 (17:11 +0200)]
universal8895: update security patch level

 * G950FXXS8DTC6/G955FXXS8DTC6/N950FXXSADTC4

Change-Id: Ifed1edb8f1b0e3e369b928054e24423e80403c1d

4 years agouniversal8895: kang ril blobs from starlte
Jan Altensen [Sun, 12 Apr 2020 23:36:07 +0000 (01:36 +0200)]
universal8895: kang ril blobs from starlte

Change-Id: I3701a9478b884303abf69f8d6f1563672bfe0a75

4 years agouniversal8895: move doze to hardware/samsung
Jan Altensen [Sat, 4 Jan 2020 00:46:12 +0000 (01:46 +0100)]
universal8895: move doze to hardware/samsung

Change-Id: I644f599f6b7d787e0bb83fc48bf8474bc99f0492

4 years agouniversal8895: fix bluetooth calls
Jan Altensen [Mon, 10 Feb 2020 21:42:04 +0000 (22:42 +0100)]
universal8895: fix bluetooth calls

Change-Id: I6a43d1ae28317657c240bae4232622860ca9f05a

4 years agouniversal8895: move audio_policy_configuration.xml to device tree
Jan Altensen [Mon, 10 Feb 2020 21:40:24 +0000 (22:40 +0100)]
universal8895: move audio_policy_configuration.xml to device tree

Change-Id: I155f6d41495aea66a147ab47c91cb5651cd47993

4 years agouniversal8895: map bixby button to APP_SWITCH
Jan Altensen [Fri, 7 Feb 2020 01:41:43 +0000 (02:41 +0100)]
universal8895: map bixby button to APP_SWITCH

Change-Id: Ib126c8907be9a37b8a9fb30b60161db36e60cc32

4 years agouniversal8895: move vibrator hal to hardware/samsung
Stricted [Mon, 3 Feb 2020 20:47:51 +0000 (20:47 +0000)]
universal8895: move vibrator hal to hardware/samsung

Change-Id: Ia481ec90ba1a60ec9b1ce45a50b7cc39f354c800

4 years agouniversal8895: switch to new hidl based powerhal
Stricted [Mon, 3 Feb 2020 20:45:50 +0000 (20:45 +0000)]
universal8895: switch to new hidl based powerhal

Change-Id: I4a7c67b7c9ff79eb177a2adc71fe248fa153a300

4 years agouniversal8895: Setup device soong namespace
Erfan Abdi [Wed, 4 Sep 2019 13:20:41 +0000 (17:50 +0430)]
universal8895: Setup device soong namespace

Change-Id: I2e9c0ab68a0fe86ba18e3955e2823b87d88e835a

4 years agouniversal8895: update security patch level
Jan Altensen [Thu, 30 Jan 2020 20:21:30 +0000 (21:21 +0100)]
universal8895: update security patch level

 * G950FXXS6DTA1/G955FXXS6DTA1/N950FXXS8DSL3

Change-Id: I62461fecc77f44a396f296349f5cf646b2b8bff1

4 years agouniversal7580: exclude audiofx
Jan Altensen [Tue, 3 Sep 2019 21:41:24 +0000 (23:41 +0200)]
universal7580: exclude audiofx

Change-Id: Ib38343d4d31bfd9c61cc7af1105964ddc0646335