Device: Samsung Galaxy Tab S6 Lite (SM-P610, `gta4xlwifi`, Exynos 9610)
OS: Nura Edge, mainline Linux 7.3
Repo: https://github.com/Fabio-San/gta4xlwifi-mainline-pmos
Hey guys!
This little project started with a simple idea:
This tablet is still a good cheap one with good hardware, and I didn't want it
stuck on android.
So I began working with Antigravity/Chat Gpt Luna 6/OpenCode with Hy4,
all free tiers to boot postmarket os with kernel 4.14.
Then I found there was a working kernel mainline Linux 7.3
As anyone who has touched an Exynos knows, it's a big adventure.
Anyway, 7.3 is way better ready for this tablet, with some "tradeoffs".
The first focus, after getting the wifi back in action, was the audio.
I wanted to solve it first.
For 3 days the situation was almost comical: hours of researches and ideas
to get the audio (unsupported) work again.
Progresses were made between yesterday and today: the codec was detected,
the clocks looked right, the DMA was happily streaming with zero underruns...
And the speakers were completely silent!
Then, when sound finally came out, it was at double speed, making every song
a comic experience ahahah! It took a *lot* of register-level digging — and a few
hours working with AI collaborators — to untangle it all.
Anyway, long story short: audio is now fully working on mainline, including
true stereo!
No vendor blobs and no Calliope. The bare-metal path is
`ABOX DMA -> SIFS -> UAIF2 (I2S) -> 2x TAS2562`, wired up with a small custom
ASoC machine driver. Here's where things stand.
### What works
- Stable boot on mainline 7.3 (kernel 4.14 vendor kept as fallback)
- WiFi + SSH over network; USB gadget (RNDIS) for the USB network connection
- XFCE desktop, software-rendered display, power button
- ALSA + PulseAudio: correct speed, pitch and volume (SoundCloud/YouTube were fine)
- True stereo: two TAS2562 amps in parallel, one multi-codec ASoC dai_link
(0x4c = Left, 0x4d = Right), identical registers, only the TDM slot differs
- Connected standby / suspend works as long as the audio triggers are disabled
### Not working yet
Mic (needs WDMA1 + RT5665), GPU acceleration (DPU is software memcpy), charging
while powered off (decided by Samsung S-Boot, fix in future)
WiFi after suspend/restore (needs a restart).
Vendor 4.14 kernel kept as fallback; all testing with replaceable boot images
and verified backups. Repo (sanitized, no personal paths) coming to GitHub soon.
### Credits
This was a team effort: big thanks to my AI collaborators Hy4 (OpenCode)**,
Gemini 4 Hydrogen and Claude Sonnet/Antigravity -- a lot of register-level
debugging went into this.
I just wanted to share this progresses! Soon I'll be able hopefully to upload sources
and also zip files for the flash, once I'll fix more things!