Skip to content

Conversation

@Fede2782
Copy link
Contributor

@Fede2782 Fede2782 commented Nov 11, 2025

This PR aims to fix the two main issues Samsung GKI devices encounter when using GKI 2.0 images. This is for Samsung devices which really support GKI images as some devices, despite being on 5.10+, don't support GKI images as the OEM and the SoC Manufacturer include essential drivers in the kernel image instead of shipping them as modules.

One patch is included.

  1. min_KDP support: Samsung devices with 6.6 kernel ship a Bluetooth driver (bluetooth.ko) which depends on these three KDP functions. Import a minimal KDP driver which behaves like the normal KDP driver when KDP is disabled by calling the required kernel functions.

Despite Samsung always adding a lot of obstacles this might really improve the situation as building kernels from Samsung sources usually takes time due to Samsung OSRC taking a lot of time to release them publicly.

Alternatively to this, a GKI variant specifically for Samsung KMIs (android12-5.10, android13-5.15, android14-6.1 and android15-6.6) can be made like is being done with ARCVM/WSA.

@Fede2782 Fede2782 changed the title Improve compatibility with Samsung GKI 2.0 devices Improve compatibility with Samsung 6.6 GKI 2.0 devices Nov 11, 2025
@backslashxx
Copy link
Contributor

hah, we need to shim symbols now. Samsung "GKI" is a mess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants