Difference between revisions of "Samsung Galaxy Tab 4 10.1 2015 (samsung-matisseve)"

From postmarketOS
Jump to navigation Jump to search
(Link to shared installation instructions)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Infobox device
 
{{Infobox device
 
| manufacturer = Samsung
 
| manufacturer = Samsung
| name = Galaxy Tab 4 10.1 WiFi (2015) SM-T533
+
| name = Galaxy Tab 4 10.1 (2015)
| codename = samsung-matissevewifi
+
| codename = samsung-matisseve
| image = File:samsung-matissewifi.jpg
+
| image = File:Matissevewifi.jpeg
 
| imagecaption = Samsung Galaxy Tab 4 10.1 (WiFi)
 
| imagecaption = Samsung Galaxy Tab 4 10.1 (WiFi)
 
| releaseyear = 2015
 
| releaseyear = 2015
Line 36: Line 36:
 
| booting = Y
 
| booting = Y
 
| pmoskernel = Mainline
 
| pmoskernel = Mainline
}}
+
}}{{Based on SoC|Qualcomm_Snapdragon_410/412_(MSM8916)|Snapdragon 410}}
  
 
== Contributors ==
 
== Contributors ==
Line 85: Line 85:
 
* Battery management
 
* Battery management
 
* GPS
 
* GPS
 +
* USB-OTG
 +
* 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 (<code>Power</code> + <code>Volume Down</code> + <code>Home</code>)
 +
* Use heimdall to download pit file
 +
<syntaxhighlight lang="bash" line='line'>
 +
heimdall download-pit  --output <your pit file>.pit
 +
</syntaxhighlight>
 +
* unzip/untar your stock files
 +
* flash stock using heimdall (you may need to adapt the command depending of the pit file)
 +
<syntaxhighlight lang="bash" line='line'>
 +
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
 +
</syntaxhighlight>
 +
* 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 ==
 
== See also ==
Line 91: Line 115:
 
* [https://wiki.postmarketos.org/wiki/Mainlining_Guide#Materials_to_look_into Mainlining Guide - postmarketOS intruduction videos to device tree for arm]
 
* [https://wiki.postmarketos.org/wiki/Mainlining_Guide#Materials_to_look_into Mainlining Guide - postmarketOS intruduction videos to device tree for arm]
 
* The [[Samsung_Galaxy_Tab_A_9.7_WiFi_(2015)_(samsung-gt510wifi)]] is very similar and as a port that is well advanced. It can be a source of inspiration.
 
* The [[Samsung_Galaxy_Tab_A_9.7_WiFi_(2015)_(samsung-gt510wifi)]] is very similar and as a port that is well advanced. It can be a source of inspiration.
* [https://gitlab.com/postmarketOS/pmaports/tree/master/device/testing/device-samsung-matissevewifi Device package]
+
* [https://gitlab.com/postmarketOS/pmaports/tree/master/device/testing/device-samsung-matisseve Device package]

Latest revision as of 21:39, 30 September 2021

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
Released 2015
Category testing
Original software Android 4.4.2 (KitKat)
postmarketOS kernel Mainline
Hardware
Chipset Qualcomm APQ8016 Snapdragon 410
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
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
Xwayland
Works
FDE
Mainline
Works
Battery
3D Acceleration
Works
Accelerometer
Works
Audio
Works
Bluetooth
Works
Camera
GPS
Mobile data
Unavailable
SMS
Unavailable
Calls
Unavailable
USB OTG
NFC


This device is based on 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:

1 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
  • 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
1 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)
1 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