Samsung Galaxy Tab A 7.0 (2016) (samsung-gtexswifi)
Appearance
	
	
| This device runs a Downstream kernel. Some UIs will not work, and most features (3D acceleration, audio, etc.) may be broken. | 
|  gtexswifi running xfce4 | |
| Manufacturer | Samsung | 
|---|---|
| Name | Galaxy Tab A 7.0 (2016) | 
| Codename | samsung-gtexswifi | 
| Released | 2016 | 
| Type | tablet | 
| Hardware | |
| Chipset | Spreadtrum SC8830 | 
| CPU | Quad-core 1.3 GHz Cortex-A7 | 
| GPU | Mali-400 MP | 
| Display | 800x1280 IPS LCD | 
| Storage | 8GB eMMC 4.5 | 
| Memory | 1.5GB RAM | 
| Architecture | armv7 | 
| Software | |
| Original software The software and version the device was shipped with. | Android (TouchWiz) 5.1.1 | 
| Extended version The most recent supported version from the manufacturer. | Android (TouchWiz) 7.1 (CyanogenOS 14.1) | 
| postmarketOS | |
| Category | downstream | 
| Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. | no | 
| pmOS kernel The kernel version that runs on the device's port. | 3.10.108 | 
| Unixbench score Unixbench Whetstone/Dhrystone score. See Unixbench. | 964.9 | 
| Device package |  device-samsung-gtexswifi | 
| Kernel package |  linux-samsung-gtexswifi | 
| 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. | Works | 
| Screen Whether the display works; ideally with sleep mode and brightness control. | Works | 
| Touchscreen | Works | 
| Multimedia | |
| 3D Acceleration | Untested | 
| Audio Audio playback, microphone, headset and buttons. | Broken | 
| Camera | Untested | 
| IR TX | Untested | 
| Connectivity | |
| WiFi | Partial | 
| Bluetooth | Broken | 
| GPS | Broken | 
| 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. | Untested | 
| Note: This page is about Spreadtrum SC8830 variants of Samsung Galaxy Tab A 7.0 (2016) (samsung-gtexswifi). | 
| This tablet requires a 512-byte header prepended to boot.img before it will even attempt to boot. This header is the letters "DHTB" followed by 508 NULL bytes. boot-deploy!67 | 
Supported Models
SM-T280 and SM-T280Q
Contributors
- Zocker1012
- 19atlas
Users owning this device
- 19atlas (Notes: SM-T280, no problem while booting, needs u-boot)
- Grgergo
- Marshift
- Miguelzinn0132
How to enter flash mode
Press + +
Installation
We recommend using twrp
After installing twrp, run:
$ pmbootstrap init
$ pmbootstrap install
$ pmbootstrap flasher flash_rootfs # flash SYSTEM
$ pmbootstrap flasher flash_kernel # flash boot.img
How to start ssh
ignore warnings
$ ip a # see device
$ sudo ip link set dev enp0s20u<CHANGEME> address 12:12:12:12:12:12
$ ssh user@172.16.42.1
Other
Unixbench results
   BYTE UNIX Benchmarks (Version 5.1.3)
   System: samsung-gtexswifi: Linux
   OS: Linux -- 3.10.108 -- #1-postmarketOS SMP PREEMPT Tue Jul 23 11:07:54 UTC 2024
   Machine: armv7l (unknown)
   Language: en_US.utf8 (charmap=, collate=)
   CPU 0: ARMv7 Processor rev 5 (v7l) (0.0 bogomips)
          
   CPU 1: ARMv7 Processor rev 5 (v7l) (0.0 bogomips)
          
   CPU 2: ARMv7 Processor rev 5 (v7l) (0.0 bogomips)
          
   CPU 3: ARMv7 Processor rev 5 (v7l) (0.0 bogomips)
          
   19:38:36 up 1 min,  0 user,  load average: 1.69, 0.72, 0.27; runlevel 
------------------------------------------------------------------------
Benchmark Run: Mon Jul 29 2024 19:38:36 - 19:43:18
4 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables        3187624.6 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     1200.4 MWIPS (10.1 s, 7 samples)
System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    3187624.6    273.1
Double-Precision Whetstone                       55.0       1200.4    218.2
                                                                   ========
System Benchmarks Index Score (Partial Only)                          244.2
------------------------------------------------------------------------
Benchmark Run: Mon Jul 29 2024 19:43:18 - 19:48:05
4 CPUs in system; running 4 parallel copies of tests
Dhrystone 2 using register variables       12555512.6 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     4759.2 MWIPS (10.2 s, 7 samples)
System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   12555512.6   1075.9
Double-Precision Whetstone                       55.0       4759.2    865.3
                                                                   ========
System Benchmarks Index Score (Partial Only)                          964.9
Device WIP mainline kernel
Wifi
wifi service in lineageos wpa_supplicant.conf
# WiFi
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
WPA_SUPPLICANT_VERSION      := VER_2_1_DEVEL
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_sprdwl
BOARD_HOSTAPD_DRIVER        := NL80211
BOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_sprdwl
BOARD_WLAN_DEVICE           := sc2341
WIFI_DRIVER_FW_PATH_PARAM   := "/data/misc/wifi/fwpath"
WIFI_DRIVER_FW_PATH_STA     := "sta_mode"
WIFI_DRIVER_FW_PATH_P2P     := "p2p_mode"
WIFI_DRIVER_FW_PATH_AP      := "ap_mode"
WIFI_DRIVER_MODULE_PATH     := "/lib/modules/sprdwl.ko"
WIFI_DRIVER_MODULE_NAME     := "sprdwl"
See also
- Samsung_Galaxy_Tab_A_7.0_(2016)_(samsung-gtexslte) (mostly similar device)
- pmaports!5289 Initial merge request