[Galaxy Tab S2 Q&A, Help & Troubleshooting] MrBrause:
Hi there,

after successful testing a lineagos-release for my Galaxy S7, after discovering this forum, this is now my first attempt on building it for my Galaxy Tab S2.

I already tested some releases based upon Lineage17.1 and 18.1, although I did not manage it to get RIL working on 18.1.

I also tried these shims, because I saw those errors in logcat radio:

https://github.com/universal5433/android_device_samsung_trelte-common/tree/lineage-18.1/shims/libcutils

The big problem is, that the screen stays black, right after the Samsung logo.

The tablet reacts on the pressing of some buttons and after bulding it with the command below I was able to get some logs (they are attached - crash section - or tombstone).

brunch lineage_gts210ltexx-eng

I used TWRP and also LineageRecovery with the same results.

I used selinux-permissive, but to me it looks like the tablet, stucked before because of a problem with the display (HWC, ION, surfaceflinger, android.hardware.graphics.composer). It gets recognized only partially. I was not able to bring the topics HWC, ION and so on really together.

I am building on Ubuntu 22.04.3 LTS.

My init:

repo init -u https://github.com/LineageOS/android.git -b lineage-18.1

My roomservice.xml (the one with the best results so far):

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="bluess57/android_device_samsung_gts210ltexx" path="device/samsung/gts210ltexx" remote="github" revision="lineage-18.1" />
<project name="bluess57/android_device_samsung_gts2-common" path="device/samsung/gts2-common" remote="github" revision="lineage-18.1" />
<project name="bluess57/android_kernel_samsung_universal5433" path="kernel/samsung/universal5433" remote="github" revision="lineage-18.1" />
<project name="bluess57/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="lineage-18.1" />
<project name="LineageOS/android_hardware_samsung" path="hardware/samsung" remote="github" revision="lineage-18.1" />
<project name="LineageOS/android_hardware_samsung_slsi_exynos" path="hardware/samsung_slsi/exynos" remote="github" revision="lineage-18.1" />
<project name="LineageOS/android_hardware_samsung_slsi_exynos5" path="hardware/samsung_slsi/exynos5" remote="github" revision="lineage-18.1" />
<project name="LineageOS/android_hardware_samsung_slsi_openmax" path="hardware/samsung_slsi/openmax" remote="github" revision="lineage-18.1" />
<project name="universal5433/android_hardware_samsung_slsi_exynos5433" path="hardware/samsung_slsi/exynos5433" remote="github" revision="lineage-18.1" />
<project name="LineageOS/android_device_samsung_slsi_sepolicy" path="device/samsung_slsi/sepolicy" remote="github" revision="lineage-18.1" />
</manifest>

I have also tested with hints, I got from those links, although they are for a different board, not Exynos5433, but they led me to this status.

a3xeltexx: fixed HWC · Exynos7580/android_device_samsung_exynos7580-common@c1c508e

* HWC is finally working! Change-Id: Icac178266d2047604b0450a0836c76d289dcaee4

github.com

Enable HWC · Issue #10 · Exynos7580/android_device_samsung_a3xeltexx

Hi guys, i found the main cause of battery draining when screen is on. It's due to the HWC, we are always using the GPU to compose the screen by using there's tags : # HWC debug.hwc.force_gpu=1 deb...

github.com

GitHub - me176c-dev/drmfb-composer: A simple HIDL implementation of android.hardware.graphics.composer@2.1 using DRM KMS

A simple HIDL implementation of android.hardware.graphics.composer@2.1 using DRM KMS - me176c-dev/drmfb-composer

github.com

A tombstone:

10-17 17:48:55.386 20450 20450 D hwcomposer: using
10-17 17:48:55.386 20450 20450 D hwcomposer: xres = 2048 px
10-17 17:48:55.386 20450 20450 D hwcomposer: yres = 1536 px
10-17 17:48:55.386 20450 20450 D hwcomposer: width = 197 mm (264.056000 dpi)
10-17 17:48:55.386 20450 20450 D hwcomposer: height = 147 mm (265.404000 dpi)
10-17 17:48:55.386 20450 20450 D hwcomposer: refresh rate = 59 Hz
10-17 17:48:55.387 20450 20450 I hwcomposer: PSR info devname = /sys/devices/13800000.decon_fb/psr_info
10-17 17:48:55.387 20450 20450 I hwcomposer: PSR mode = 2 (0: video mode, 1: DP PSR mode, 2: MIPI-DSI command mode)
10-17 17:48:55.387 20450 20450 I hwcomposer: Panel type = 0 (0: Legacy, 1: DSC)
10-17 17:48:55.388 20450 20450 E display : unknown display attribute 6
10-17 17:48:55.388 20450 20450 E HWC2On1Adapter: Setting active config to 0 for HWC1 config 0
10-17 17:48:55.391 20450 20450 I HidlServiceManagement: Registered android.hardware.graphics.composer@2.1::IComposer/default
10-17 17:48:55.392 20450 20450 I HidlServiceManagement: Removing namespace from process name android.hardware.graphics.composer@2.1-service to composer@2.1-service.
10-17 17:48:55.506 20450 20450 I ComposerResources: failed to get mapper 4.0 service, falling back to mapper 3.0
10-17 17:48:55.506 20450 20450 I ComposerResources: failed to get mapper 3.0 service, falling back to mapper 2.0
10-17 17:48:56.131 20450 20450 I hwcomposer: exynos_setPowerMode:: disp(0), mode(2)
10-17 17:48:56.133 20450 20450 I hwcomposer: unblank ioctl failed (display already unblanked)
10-17 17:48:56.133 20450 20450 E HWC2On1Adapter: setPowerMode: Failed to set power mode on HWC1 (-16)
10-17 17:48:56.359 20450 20450 E FMQ : grantorIdx must be less than 3
10-17 17:48:56.361 20450 20450 E ion : ioctl c0044901 failed with code -1: Invalid argument
10-17 17:48:56.362 20450 20450 E display : invalid gralloc handle (at 0xb346d0a0)

Crash-section:

10-02 18:10:20.459 3480 3480 D hwcomposer: using
10-02 18:10:20.459 3480 3480 D hwcomposer: xres = 2048 px
10-02 18:10:20.459 3480 3480 D hwcomposer: yres = 1536 px
10-02 18:10:20.459 3480 3480 D hwcomposer: width = 197 mm (264.056000 dpi)
10-02 18:10:20.459 3480 3480 D hwcomposer: height = 147 mm (265.404000 dpi)
10-02 18:10:20.459 3480 3480 D hwcomposer: refresh rate = 59 Hz
10-02 18:10:20.460 3480 3480 I hwcomposer: PSR info devname = /sys/devices/13800000.decon_fb/psr_info
10-02 18:10:20.460 3480 3480 I hwcomposer: PSR mode = 2 (0: video mode, 1: DP PSR mode, 2: MIPI-DSI command mode)
10-02 18:10:20.460 3480 3480 I hwcomposer: Panel type = 0 (0: Legacy, 1: DSC)
10-02 18:10:20.460 3480 3480 E display : unknown display attribute 6
10-02 18:10:20.461 3480 3480 E HWC2On1Adapter: Setting active config to 0 for HWC1 config 0
10-02 18:10:20.461 3488 3488 I flags_health_check: ServerConfigurableFlagsReset reset_mode value: 0
10-02 18:10:20.462 0 0 I [c7] logd.daemon: reinit
10-02 18:10:20.462 3488 3488 I flags_health_check: ServerConfigurableFlagsReset attempted boot count is under threshold, skipping reset.
10-02 18:10:20.462 0 0 I [c7] init: Service 'logd-reinit' (pid 3487) exited with status 0 oneshot service took 0.011000 seconds in background
10-02 18:10:20.462 0 0 I [c7] init: Sending signal 9 to service 'logd-reinit' (pid 3487) process group...
10-02 18:10:20.463 0 0 I [c7] libprocessgroup: Successfully killed process cgroup uid 1036 pid 3487 in 0ms
10-02 18:10:20.463 3480 3480 I HidlServiceManagement: Registered android.hardware.graphics.composer@2.1::IComposer/default
10-02 18:10:20.464 3480 3480 I HidlServiceManagement: Removing namespace from process name android.hardware.graphics.composer@2.1-service to composer@2.1-service.
10-02 18:10:20.464 3349 3349 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
10-02 18:10:20.466 3349 3349 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@4.0::IMapper/default in either framework or device manifest.
10-02 18:10:20.466 3480 3491 I ComposerResources: failed to get mapper 4.0 service, falling back to mapper 3.0
10-02 18:10:20.466 3349 3349 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest.
10-02 18:10:20.466 3480 3491 I ComposerResources: failed to get mapper 3.0 service, falling back to mapper 2.0
10-02 18:10:20.470 3437 3437 E HWComposer: loadLayerMetadataSupport: getLayerGenericMetadataKeys failed: UNSUPPORTED (8)
10-02 18:10:20.470 0 0 I [c6] init: Service 'exec 8 (/system/bin/flags_health_check BOOT_FAILURE)' (pid 3488) exited with status 0 waiting took 0.016000 seconds
10-02 18:10:20.471 0 0 I [c6] init: Sending signal 9 to service 'exec 8 (/system/bin/flags_health_check BOOT_FAILURE)' (pid 3488) process group...
10-02 18:10:20.471 0 0 I [c6] libprocessgroup: Successfully killed process cgroup uid 1000 pid 3488 in 0ms
10-02 18:10:20.471 3437 3437 I HWComposer: Switching to legacy multi-display mode
10-02 18:10:20.471 0 0 I [c6] init: processing action (load_persist_props_action) from (/system/etc/init/logcatd.rc:29)
10-02 18:10:20.471 3437 3437 E HWComposer: isConnected failed for display 0: Invalid display
10-02 18:10:20.471 0 0 I [c6] init: processing action (load_bpf_programs) from (/system/etc/init/bpfloader.rc:20)
10-02 18:10:20.472 0 0 I [c6] init: starting service 'bpfloader'...
10-02 18:10:20.473 3437 3495 W SurfaceFlinger: Ignoring VSYNC request while display is disconnected

I really appreciate hints from this community.

Thanks

Daniel