Jump to content

Samsung Galaxy Tab A7 (samsung-gta4l)

From Nura Wiki
Samsung Galaxy Tab A7 10.4 (2020)
Running Phosh, Firefox and fastfetch on mainline kernel
Running Phosh, Firefox and fastfetch on mainline kernel
Manufacturer Samsung
Name Galaxy Tab A7 10.4 (2020)
Codename gta4lwifi, gta4l
Model SM-T500, SM-T505, SM-T505N, SM-T505C, SM-T507
Released 2020
Hardware
Chipset Qualcomm Snapdragon 662 (SM6115)
CPU 4x2.0GHz Kryo 260 Gold 4x1.8GHz Kryo 260 Silver
GPU Adreno 610
Display 10.4" 1200x2000 TFT LCD
Storage 32GB, 64GB
Memory 3 GB, 4 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android (One UI) 10
Extended version
The most recent supported version from the manufacturer.
Android (One UI) 12
FOSS bootloader yes
Nura
Category tablet
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Nura kernel
The kernel version that runs on the device's port.
7.2.0
Features
Flashing
Whether 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
Battery
Whether charging and battery level reporting work.
Partial
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Partial
Camera
Broken
Connectivity
Wi-Fi
Works
Bluetooth
Works
GPS
Works
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching.
Works
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Works
Magnetometer
Sensor to measure the Earth's magnetism
Works
Ambient Light
Measures the light level; used for automatic screen dimming in many interfaces.
Works
Hall Effect
Measures magnetic fields; usually used as a flip cover sensor
Partial
Power Sensor
Sensor to monitor current, voltage and power. Not fuel gauge!
Works
U-Boot
Primary Bootloader
Whether it is possible to replace stock bootloader with U-Boot.
Broken
Secondary Bootloader
Whether it is possible to chainload U-Boot from stock bootloader.
Works
Mainline
Whether latest upstream versions of U-Boot are not broken and it is possible to use them.
Broken
Internal Storage
Whether it is possible to boot from internal storage (e.g. eMMC or UFS).
Untested
SD card
Whether it is possible to boot from SD card.
Untested
USB Host
Whether it is possible to boot from a USB storage or connect a keyboard.
Untested
USB Peripheral
Whether it is possible to use device as a peripheral in U-Boot, e.g. for fastboot mode.
Untested
Display
Works
Buttons
Whether it is possible to navigate in boot menu or grub with volume and power buttons.
Works

Contributors

  • O32W
  • v6lhost
  • op4aq
  • lemonss2

Users owning this device

  • Em04ka (Notes: 1 broken screen, running stock ROM ; 1 running Lineage OS 23.2, both T500)
  • Hedgehogtree (Notes: Managed to get the bootloader working; not yet booted postmarketOS (SM‑T505))
  • LegoLivesMatter (Notes: Yellow line on screen, would like to mainline one day)
  • Linuxdev (Notes: T505 variant)
  • Nardo45 (Notes: Model: SM-T500)
  • Puglover (Notes: LineageOS currently)
  • Quintenko (Notes: running lineageos)
  • SCOS100 (Notes: Model: T500, ROM: 32GB, RAM: 3GB)
  • TurkLine (Notes: Cracked screen, postmarketOS with downstream kernel)
  • V6lhost (Notes: T507 variant, UART soldered. eMMC is almost dead.)

How to enter flash mode

  • Download Mode: Power off the device then hold Volume Up+Volume Down while the device is connected to a computer with USB.
  • Fastboot Mode: Flash a custom recovery like TWRP or LineageOS Recovery first then boot into it to access fastbootd.

Installation

Download the boot and rootfs images from here

Flash boot.img to the boot partition and samsung-gta4l.img to userdata. This works for both downstream and mainline images. SD card boot is planned.

Warning WARNING: Doing this will ERASE ALL DATA on your device. Please backup all your personal data before continuing!

These mainline images not-from-GDrive are made with AI. Test/use at your own risk. We are not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, We will laugh at you. Your warranty will be void if you tamper with any part of your device / software.

Note: The hardware list below shows overall development status and mainline progress. It does not match what works out of the box in the prebuilt Google Drive images.

Mainline: Images are in the same folder but currently only work with the Himax touchscreen. Other touchscreen variants e.g. Novatek will enter Download Mode because the bootloader can't find the expected touchscreen node in the device tree.

[14949971] ERROR: don't find TP node name-/soc/spi@4a80000/himax_ts@0
, Device Tree update failed Status:Not Found
[14952919] Launching Download Mode

Username: v6lhost

Password: 1234

If you want to build your own images the device packages aren't in pmaports yet. You can get them from here

The images are meant for supported variants. Mobile data, SMS and calls only work on SM-T505, SM-T505N, SM-T505C and SM-T507. SM-T503 and SM-T509 aren't supported for now because we don't have testers.

Issues

  • Only GNOME Mobile works with the downstream kernel, but it has poor performance.
  • If you have a different touchscreen than Himax you may need to add firmware yourself. Look at the firmware APKBUILD and the rotation fix. Firmware files are in the firmware package.
  • If it fails to boot try flashing the latest official LineageOS image for your device first.

Hardware info

Common hardware for all variants
Type Identifier Status Notes
SoC sm6115 Yes Supported by mainline Linux
GPU adreno610 Yes Integrated into the SoC
PMIC pm4250 Yes Uses the PM6125 driver
Fuel gauge cw2017 No The upstream CW2015 driver does not support CW2017
Sub-PMIC pmi632 Yes
eMMC eMMC 5.1 Yes
Wireless wcn3990 Yes
Accelerometer and gyroscope bmi26x Yes
Magnetometer ak0991x Yes
Type Identifier Status Notes
LCD Himax,hx83102e Yes
Touchpanel himax-tp No The device uses HX83102E, but the current mainline driver does not support it.
LCD Novatek,nt36523 Yes
Touchpanel novatek-tsp Yes
LCD FocalTech,ft8201ab Yes
Touchpanel focaltech-tp Yes

Gallery


External links