Jump to content

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
The version the device was shipped with.
4.4.2
postmarketOS
Category testing
Pre-built images
Whether pre-built images are available here.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
pmOS kernel
The kernel version that runs on the device's port.
Mainline
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
1044.3
Optional Generic Port Generic MSM8916 (qcom-msm8916)
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Internal storage
eMMC, SD cards, UFS, ...
Works
SD card
Also includes other external storage cards
Works
Battery
Charging and battery level reporting works
Untested
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Works
Camera
Untested
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching
Partial
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Works

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