Samsung Galaxy Tab S4 (Wi-Fi) (samsung-gts4lwifi)

From postmarketOS
Samsung Galaxy Tab S4 (Wi-Fi)
Manufacturer Samsung
Name Galaxy Tab S4 (Wi-Fi)
Codename samsung-gts4lwifi
Model SM-T830
Released 2018
Category testing
Pre-built images no
Original software Android (One UI)
Original version 10 (One UI 2.0)
Hardware
Chipset Qualcomm Snapdragon 835 (MSM8998)
CPU Octa-core (4x 2.45 GHz Kryo 280 Gold + 4x 1.9 GHz Kryo 280 Silver)
GPU Adreno 540
Display 2560 x 1600 (60Hz 10.5" Super AMOLED)
Storage 64/256 GB eMMC + microSD Slot
Memory 4/6 GB
Architecture AArch64
Type tablet
Features
USB Networking
Flashing
Works
Touchscreen
Display
Partial
WiFi
FDE
Mainline
Partial
Battery
3D Acceleration
Audio
Bluetooth
Camera
Internal storage
Works
USB OTG
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


Contributors

Users owning this device


How to enter flash mode

  • Download mode: Hold down Volume Up and Volume Down while connecting the device to a computer with a USB cable.
  • Recovery mode: Hold down Power and Volume Up

Installation

/* Not yet */

Mainline

A work-in-progress mainline kernel is being developed here. (Will be upstreamed as soon as possible)

S2MU004 MUIC

The bootloader does not configure the MUIC for USB when booting. To get the USB lines connected from the SoC to the USB-C plug we have to write:

  • 0x24 to register 0xCA
  • 0x12 to register 0xC7

For UART we write 0x48 instead of 0x24 to register 0xCA.


Miscellaneous info

Command to create boot.img

$ make O=output-gts4lwifi ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j16 &&
rm -f output-gts4lwifi/arch/arm64/boot/{boot.img,Image-dtb} &&
cat output-gts4lwifi/arch/arm64/boot/Image.gz output-gts4lwifi/arch/arm64/boot/dts/qcom/msm8998-samsung-gts4lwifi.dtb > output-gts4lwifi/arch/arm64/boot/Image-dtb &&
mkbootimg --kernel output-gts4lwifi/arch/arm64/boot/Image-dtb \
        --pagesize 4096 \
        --kernel_offset 0x8000 \
        --ramdisk_offset 0x2000000 \
        --tags_offset 0x1e00000 \
        --second_offset 0xf00000 \
        --base 0 \
        --header_version 0 \
        -o output-gts4lwifi/arch/arm64/boot/boot.img &&
adb wait-for-recovery &&
cat output-gts4lwifi/arch/arm64/boot/boot.img | adb shell "cat > /dev/block/platform/soc/1da4000.ufshc/by-name/boot" &&
adb reboot

See also