Samsung Galaxy Tab 4 10.1 2015 (samsung-matisseve)

From postmarketOS Wiki
Note This page is about the dedicated port of this device. There is also an optional generic port available for this device - see Generic MSM8916 (qcom-msm8916).
Samsung Galaxy Tab 4 10.1 (2015)
Samsung Galaxy Tab 4 10.1 (WiFi)
Samsung Galaxy Tab 4 10.1 (WiFi)
Manufacturer Samsung
Name Galaxy Tab 4 10.1 (2015)
Codename samsung-matisseve
Model SM-T533
Released 2015
Type tablet
Hardware
Chipset Qualcomm Snapdragon 410 (APQ8016)
CPU 4 cores up to 1.2 GHz Cortex-A53
GPU Qualcomm Adreno 306 GPU
Display 1280×800 px, 10.1" in (26 cm) diagonal, WXGA TFT display (LCM: smd_ltl101al06, touchscreen: atmel_mxt_1188s)
Storage 16/32 GB flash memory, microSDXC slot (up to 64 GB)
Memory 1.5 GB
Architecture aarch64
Software
Original software Android
Original version 4.4.2
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel Mainline
Optional Generic Port Generic MSM8916 (qcom-msm8916)
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera
Camera Flash
Connectivity
WiFi
Works
Bluetooth
Works
GPS
NFC
Miscellaneous
FDE
USB OTG
Partial
HDMI/DP
Sensors
Accelerometer
Works
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer
This device is based on the Snapdragon 410.
See the SoC page for common tips, guides and troubleshooting steps

Contributors

How to enter Odin flash mode

  • Hold Power + Volume Down + Home while powering up the device.
  • Press Volume Up to enable flashing.

This device uses Odin. In order to be able to flash on it you need to install heimdall. On ArchLinux this package in present in the repos.

The command to flash an image is:

heimdall flash  --<partition_name> <your .img file>

Install

Fastboot

You need to install lk2nd boot loader on the device. See instructions here

To enter fastboot mode press Power + Volume Down until you see fastboot screen (device will reboot if already on).

When you have lk2nd installed and running, follow Qualcomm_Snapdragon_410/412_(MSM8916)#Installation.

Description

The device is based on the apq8016 variant of the msm8916 SoC that is beeing mainlined here. It means that it is in the process of being supported as is by the upstream Linux kernel.

Milestones

This presents the important steps that have been achieved toward mainlining this device:

  1. bootloader
  2. usb/network
  3. WiFi/BT
  4. device package
  5. Display
  6. buttons
  7. touchscreen
  8. sound (headphones)
  9. accelerometer
  10. sound (speaker)

TODO

  • Screen: remove backlight hack
  • Battery management
  • GPS
  • USB-OTG: works with a powered usb otg cable
  • FDE: Device boots to black screen when FDE is enabled, can be pinged through USB-net


In case you want to come back to stock (original firmware)

  • Enter Odin flash mode (Power + Volume Down + Home)
  • Use heimdall to download pit file
heimdall download-pit  --output <your pit file>.pit
  • unzip/untar your stock files
  • flash stock using heimdall (you may need to adapt the command depending of the pit file)
heimdall flash --APNHLOS NON-HLOS.bin --ABOOT aboot.mbn --BOOT boot.img --HIDDEN hidden.img.ext4 --MODEM modem.bin --RECOVERY recovery.img --RPM rpm.mbn --SBL1 sbl1.mbn  --SYSTEM system.img.ext4 --QSEE tz.mbn --CACHE cache.img.ext4
  • after reboot Android may complain that partitions are corrupted, just clic on reinitialize data and it should be ok

Unbricking notes

Eloy bricked his tablet some years ago. Currently trying to recover with EDL.

Notes:

  • The battery still charges, even with broken firmware.
  • EDL cable (with shorting Data+ to GND) does not seem to work, maybe because (corrupted?) SPL is responsible for switching to EDL.
  • There are some pads on the mainboard, but it is not known which are the EDL test points. See Huawei_Ascend_G7_(huawei-g7)#Preparation for files

See also