Samsung Galaxy Tab S4 (Wi-Fi) (samsung-gts4lwifi)
Manufacturer | Samsung |
---|---|
Name | Galaxy Tab S4 (Wi-Fi) |
Codename | samsung-gts4lwifi |
Model | SM-T830 |
Released | 2018 |
Type | tablet |
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 |
Software | |
Original software | Android (One UI) |
Original version | 10 (One UI 2.0) |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | partial |
Flashing |
Works |
---|---|
USB Networking | |
Internal storage |
Works |
SD card | |
Battery | |
Screen |
Partial |
Touchscreen | |
Multimedia | |
3D Acceleration | |
Audio | |
Camera | |
Camera Flash | |
Connectivity | |
WiFi | |
Bluetooth | |
Miscellaneous | |
FDE | |
USB OTG | |
HDMI/DP | |
Sensors | |
Accelerometer | |
Magnetometer | |
Ambient Light | |
Proximity | |
Hall Effect | |
Haptics | |
Contributors
- Phoshmosh (WIP mainline)
Users owning this device
- Ungeskriptet (Notes: Let's pray for dual DSI to work)
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