Samsung Galaxy Tab A 7.0 (2016) (samsung-gtexswifi)

From postmarketOS Wiki
Samsung Galaxy Tab A 7.0 (2016)
gtexswifi running xfce4
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 Android (TouchWiz)
Original version 5.1.1
postmarketOS
Category testing
Pre-built images no
Mainline no
postmarketOS kernel 3.10.108
Unixbench Whet/Dhry score 964.9
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Audio
Camera
Camera Flash
IR TX
Connectivity
WiFi
Partial
Bluetooth
GPS
NFC
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
USB OTG
Works
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer
Note Note: This page is about Spreadtrum SC8830 variants of Samsung Galaxy Tab A 7.0 (2016) (samsung-gtexswifi).
Note 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


How to enter flash mode

Press Power + Volume Up + Home Button

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