Samsung Galaxy Tab 4 10.1 2015 (samsung-matisseve)

Contributors

 * rvlander

How to enter Odin flash mode

 * Hold  +   +   while powering up the device.
 * Press  to enable flashing.

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

The command to flash an image is:

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

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

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

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 ( +   +  )
 * Use heimdall to download pit file
 * unzip/untar your stock files
 * flash stock using heimdall (you may need to adapt the command depending of the pit file)
 * 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) for files