Jump to content

Samsung Galaxy Tab A 9.7 2015 (samsung-gt510): Difference between revisions

From postmarketOS Wiki
TravMurav (talk | contribs)
m no nfc, other stuff is WIP
TravMurav (talk | contribs)
Various updates that describe some useful quirks, LTE variant and sync the state of the device features with the kernel fork.
Line 1: Line 1:
{{note|This device is currently in WIP state, some features marked as working may not yet be available from the device packages available in the pmOS repository. Ask TravMurav on matrix.}}
{{Infobox device
{{Infobox device
| manufacturer = Samsung
| manufacturer = Samsung
| name =  Galaxy Tab A 9.7 WiFi (2015)
| name =  Galaxy Tab A 9.7 (2015)
| codename = samsung-gt510wifi
| codename = samsung-gt510wifi, samsung-gt510lte
| image = File:Gt510wifi_fixed.jpg
| image = File:Gt510wifi_fixed.jpg
| imagecaption = Samsung Galaxy Tab A 9.7 WiFi (2015)
| imagecaption = Samsung Galaxy Tab A 9.7 WiFi (2015)
| releaseyear = 2015
| releaseyear = 2015
| originalsoftware = Android 7.1.1 with Linux Kernel version 3.10.49
| originalsoftware = Android 7.1.1 with Linux Kernel version 3.10.49
| pmoskernel = 5.6.0
| pmoskernel = Mainline
| chipset = Qualcomm APQ8016 Snapdragon 410
| chipset = Qualcomm MSM8016 Snapdragon 410
| cpu = Quad-core 1.2 GHz Cortex-A53
| cpu = Quad-core 1.2 GHz Cortex-A53
| gpu = Qualcomm Adreno 306
| gpu = Qualcomm Adreno 306
| storage = 16GB
| storage = 16GB
| display = 1024x768 (XGA) PLS
| display = 1024x768 (XGA) PLS
| memory = 1.5GB
| memory = 2GB
| architecture = aarch64
| architecture = aarch64
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
Line 22: Line 23:
| status_wifi = Y
| status_wifi = Y
| status_xwayland = Y
| status_xwayland = Y
| status_fde =  
| status_fde = Y
| status_mainline = Y
| status_mainline = Y
| status_battery =
| status_battery = P
| status_3d = P
| status_3d = Y
| status_accel = Y
| status_accel = Y
| status_audio = Y
| status_audio = Y
| status_bluetooth = Y
| status_bluetooth = Y
| status_camera =
| status_camera =
| status_gps =
| status_gps = Y
| status_mobiledata = -
| status_mobiledata = Y
| status_sms = -
| status_sms = Y
| status_calls = -
| status_calls = P
| status =  
| status =  
| booting = yes
| booting = yes
Line 40: Line 41:
| whet_dhry = 904.0
| whet_dhry = 904.0
}}
}}
Samsung Galaxy Tab A (2015) is a series of devices based on [[Qualcomm_Snapdragon_410/412_(MSM8916)]] SoC which has great mainline Linux support.
This page should generally apply to any 9.7 inch variant of the device (WiFi, LTE, with and without the pen support). Note that those variants may have different amount of RAM. For 8.0 inch variants see [[Samsung_Galaxy_Tab_A_8.0_LTE_(2015)_(samsung-gt58lte)]].
== Variant differences ==
The device has multiple variants, the main differences in the features are shown in the table below:
{| class="wikitable"
|-
! style=min-width:8em | Feature !! style=min-width:8em | gt510wifi !! style=min-width:8em | gt510lte !! Notes
|-
! GPS
|  || class="feature feature-yes" | Works || WiFi variant needs investigation. Modem support is not enabled for the WiFi variant at this time.
|-
! Mobile data
| class="feature feature-unavailable" | Unavailable || class="feature feature-yes" | Works ||
|-
! SMS
| class="feature feature-unavailable" | Unavailable || class="feature feature-yes" | Works ||
|-
! Calls
| class="feature feature-unavailable" | Unavailable || class="feature feature-partial" | Partial || See Tips below for call audio.
|}


== Contributors ==
== Contributors ==
* jja2000
* jja2000
* TravMurav
* Minecrell (and others from the msm8916-mainline team)
* Minecrell (and others from the msm8916-mainline team)


Line 62: Line 86:


'''lk2nd Fastboot:'''
'''lk2nd Fastboot:'''
Boot up the device after installation
When turned off hold Power + Volume Down


== Installation ==
== Installation ==
# Install [https://github.com/msm8916-mainline/lk2nd#readme lk2nd] (alternative bootloader that provides a standard fastboot interface) when a new release includes this device's device tree.
# Install [https://github.com/msm8916-mainline/lk2nd#readme lk2nd] (alternative bootloader that provides a standard fastboot interface).
# Follow [[Qualcomm_Snapdragon_410/412_(MSM8916)#Installation]].
# Follow [[Qualcomm_Snapdragon_410/412_(MSM8916)#Installation]].
== Tips And Tricks ==
* Charger driver is not present at this time, but bootloader seem to enable it if the device was turned on by plugging the cable in. You can check if the device charges by reading the value from <code>/sys/class/power_supply/max170xx_battery/current_now</code>
* Phone calls audio on LTE variants may be only available via headphones output at this time.
* Due to a bug (?) in DSI driver, Brightness change DSI commands sent to the panel result in de-sync of the video data and produce some visual artifacts. To remove the artifacts simply turn the display off and on. You may want to make sure that automatic brightness control is disabled.


== Mainline Kernel Status ==
== Mainline Kernel Status ==
<div class="toccolours mw-collapsible mw-collapsed" style="overflow: auto;">
Table of components in the device
<div class="mw-collapsible-content">
{| class="wikitable"
{| class="wikitable"
|-
|-
  ! Component !! Model !! Mainline kernel driver !! Status
  ! Component !! Model !! Mainline kernel driver !! Status
|-
|-
| RGB LED || ? || ? || ?
| RGB LED || ? || ? || Doesn't exist in hardware?
|-
|-
| MicroUSB || - || Yes || Working in kernel fork
| MicroUSB || - || Yes || Working in kernel fork (Only Peripheral mode)
|-
|-
| eMMC || (Android lists) Toshiba 400073 || Yes || Working in kernel fork
| eMMC || (Android lists) Toshiba 400073 || Yes || Working in kernel fork
|-
|-
| Battery/Charging/Fuelgauge || MAX77849 || ? || ?
| Battery/Charging/Fuelgauge || MAX77849 || ? || Fuel-Gauge works with mainline driver, charger may work unconfigured.
|-
|-
| Volume/Power/Home keys || GPIO || Yes || Working in kernel fork
| Volume/Power/Home keys || GPIO || Yes || Working in kernel fork
Line 87: Line 120:
| Accelerometer || STMicroelectronics K2HH || [https://github.com/msm8916-mainline/linux/blob/master/drivers/iio/accel/st_accel_i2c.c Yes, supported in kernel fork] || Same as matissevewifi, should work without trouble
| Accelerometer || STMicroelectronics K2HH || [https://github.com/msm8916-mainline/linux/blob/master/drivers/iio/accel/st_accel_i2c.c Yes, supported in kernel fork] || Same as matissevewifi, should work without trouble
|-
|-
| Light Sensor || Capella Micro CM3323 || Yes || Missing DT bindings
| Light Sensor || Capella Micro CM3323 || Yes ||  
|-
|-
| Display || Samsung S6D7AA0 LTL101AT01 || No || Working in kernel fork
| Display || Samsung S6D7AA0 LTL101AT01 || No || Working in kernel fork
|-
|-
| Backlight IC || Texas Instruments lp8558 || Not strictly needed || Brightness is set through DSI, PWM signal goes to lp8558
| Backlight IC || Texas Instruments lp8558 || Not strictly needed || Brightness is set through DSI, PWM signal goes to lp8558 (results in artifacts as DSI commands desync the video data)
|-
|-
| Audio || PM8916/MAX98357A || Yes || Audio over headset and mic work. Speakers are powered by external amp (MAX98357A or similar).
| Audio || PM8916/MAX98357A || Yes || Audio over headset and mic work. Speakers are powered by external amp (MAX98357A or similar).
Line 107: Line 140:
| Bluetooth || WCN3660B || Yes || Working in kernel fork, Using the WCN3660B compatible
| Bluetooth || WCN3660B || Yes || Working in kernel fork, Using the WCN3660B compatible
|-
|-
| GPS || ? || ? || Part of modem DSP
| GPS || qcom hexagon modem || In userspace || Part of modem DSP: Can be handled by ModemManager or gpsd. LTE variant should work, WiFi variant need investigation.
|-
|-
| Front camera || Siliconfile Technologies Inc. SR200PC20 || [https://forum.xda-developers.com/showpost.php?p=28482154&postcount=242 Not sure, but there's a datasheet] ||
| Front camera || Siliconfile Technologies Inc. SR200PC20 || No || [https://forum.xda-developers.com/showpost.php?p=28482154&postcount=242 Not sure, but there's a datasheet]
|-
|-
| Main camera || Siliconfile Technologies Inc. SR544 || [https://github.com/jgsun/mrvl-3.14/commit/d595e2b Old v4l2 patch for unrelated hardware], may be adaptable to current Mainline ||
| Main camera || Siliconfile Technologies Inc. SR544 || No || [https://github.com/jgsun/mrvl-3.14/commit/d595e2b Old v4l2 patch for unrelated hardware], may be adaptable to current Mainline
|}
|}
Running some diagnostics programs on Android will likely point out some more info about sensors and any other specifications. At some point I (jja2000) will switch around to Android for a bit to fill in the table. If anyone reading this finds some driver for any of the missing parts let me know on Matrix or if possible edit the table itself.
Running some diagnostics programs on Android will likely point out some more info about sensors and any other specifications. At some point I (jja2000) will switch around to Android for a bit to fill in the table. If anyone reading this finds some driver for any of the missing parts let me know on Matrix and if possible edit the table itself.
 
</div></div>
 


== See also ==
== See also ==
<!--
Link to related gitlab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):
* {{MR|CHANGEME|pmaports}} Initial merge request
* {{issue|CHANGEME|pmaports}} Some related issue
You can also add normal web links:
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page]
-->
* [https://gitlab.com/postmarketOS/pmaports/-/tree/master/device/testing/device-samsung-gt510wifi Device package]
* [https://gitlab.com/postmarketOS/pmaports/-/tree/master/device/testing/device-samsung-gt510wifi Device package]
* [https://gitlab.com/postmarketOS/pmaports/tree/master/main/linux-postmarketos-qcom-msm8916 Kernel package]
* [https://gitlab.com/postmarketOS/pmaports/tree/master/main/linux-postmarketos-qcom-msm8916 Kernel package]
* [[Samsung_Galaxy_Tab_A_8.0_LTE_(2015)_(samsung-gt58lte)]]
* [[Samsung_Galaxy_Tab_A_8.0_LTE_(2015)_(samsung-gt58lte)]]
<!--
* [https://gitlab.com/postmarketOS/pmaports/-/tree/master/main/linux-postmarketos-qcom-msm8916 msm8916 mainline kernel package]
If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one.
* [https://github.com/msm8916-mainline/linux Mainline kernel tree for msm8916 devices]
* [https://gitlab.com/postmarketOS/pmaports/tree/master/device/device-DEVICE_CODENAME Device package]
* [https://gitlab.com/postmarketOS/pmaports/tree/master/device/linux-DEVICE_CODENAME Kernel package]
 
-->

Revision as of 08:25, 29 July 2021

Note This device is currently in WIP state, some features marked as working may not yet be available from the device packages available in the pmOS repository. Ask TravMurav on matrix.
Samsung Galaxy Tab A 9.7 (2015)
Samsung Galaxy Tab A 9.7 WiFi (2015)
Samsung Galaxy Tab A 9.7 WiFi (2015)
Manufacturer Samsung
Name Galaxy Tab A 9.7 (2015)
Codename samsung-gt510wifi, samsung-gt510lte
Released 2015
Hardware
Chipset Qualcomm MSM8016 Snapdragon 410
CPU Quad-core 1.2 GHz Cortex-A53
GPU Qualcomm Adreno 306
Display 1024x768 (XGA) PLS
Storage 16GB
Memory 2GB
Architecture aarch64
Software
Original software Android 7.1.1 with Linux Kernel version 3.10.49
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel Mainline
Unixbench Whet/Dhry score 904.0
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Partial
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Works
Modem
Calls
Partial
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Works
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
Works
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data

Samsung Galaxy Tab A (2015) is a series of devices based on Qualcomm_Snapdragon_410/412_(MSM8916) SoC which has great mainline Linux support.

This page should generally apply to any 9.7 inch variant of the device (WiFi, LTE, with and without the pen support). Note that those variants may have different amount of RAM. For 8.0 inch variants see Samsung_Galaxy_Tab_A_8.0_LTE_(2015)_(samsung-gt58lte).

Variant differences

The device has multiple variants, the main differences in the features are shown in the table below:

Feature gt510wifi gt510lte Notes
GPS Works WiFi variant needs investigation. Modem support is not enabled for the WiFi variant at this time.
Mobile data Unavailable Works
SMS Unavailable Works
Calls Unavailable Partial See Tips below for call audio.

Contributors

  • jja2000
  • TravMurav
  • Minecrell (and others from the msm8916-mainline team)

Maintainer(s)

  • jja2000
  • TravMurav (LTE variant)
  • The MSM8916-Mainline team

Users owning this device

  • Fell (Notes: pmOS)
  • Grimler
  • Jja2000 (Notes: Contributed, I have two of these now)
  • Lebedinets (Notes: SM-T555)
  • QC8086 (Notes: WiFi)
  • Roboe (Notes: (second hand) SM-P550 16GB (gt5note10wifi); broken S-Pen tip; running pmOS stable with lk2nd bootloader (flipped touch by the Y-axis after loading unofficial TWRP, .-.))
  • Russanandres (Notes: PMOS)
  • Samcday
  • TravMurav (Notes: SM-T555 (LTE variant))
  • UxAmadeus


How to enter flash mode

Download mode: When turned off hold Power + Volume Up + Home

lk2nd Fastboot: When turned off hold Power + Volume Down

Installation

  1. Install lk2nd (alternative bootloader that provides a standard fastboot interface).
  2. Follow Qualcomm_Snapdragon_410/412_(MSM8916)#Installation.

Tips And Tricks

  • Charger driver is not present at this time, but bootloader seem to enable it if the device was turned on by plugging the cable in. You can check if the device charges by reading the value from /sys/class/power_supply/max170xx_battery/current_now
  • Phone calls audio on LTE variants may be only available via headphones output at this time.
  • Due to a bug (?) in DSI driver, Brightness change DSI commands sent to the panel result in de-sync of the video data and produce some visual artifacts. To remove the artifacts simply turn the display off and on. You may want to make sure that automatic brightness control is disabled.

Mainline Kernel Status

Table of components in the device


See also