Jump to content

Samsung Galaxy Tab A 8.0 2015 (samsung-gt58): Difference between revisions

From postmarketOS Wiki
Minecrell (talk | contribs)
m Fixup device name
TravMurav (talk | contribs)
Cleanup, bring in line with gt510 page
Line 22: Line 22:
| status_fde = Y
| status_fde = Y
| status_mainline = Y
| status_mainline = Y
| status_battery = N
| status_battery = P
| status_3d = P
| status_3d = Y
| status_accel = Y
| status_accel = Y
| status_audio = Y
| status_audio = Y
Line 36: Line 36:
| whet_dhry = 921
| whet_dhry = 921
| status_otg = N
| status_otg = N
| status_nfc = -
| pmoskernel =
| pmoskernel =
}}{{Based on SoC|Qualcomm_Snapdragon_410/412_(MSM8916)|Snapdragon 410}}
}}{{Based on SoC|Qualcomm_Snapdragon_410/412_(MSM8916)|Snapdragon 410}}
'''Samsung Galaxy Tab A (2015)''' is a series of devices based on [[Qualcomm_Snapdragon_410/412_(MSM8916)|Qualcomm Snapdragon 410]] SoC which has great mainline Linux support.
This page should generally apply to any 8.0 inch variant of the device (WiFi, LTE, with and without the pen support). Note that those variants may have different amount of RAM. For 9.7 inch variants see [[Samsung_Galaxy_Tab_A_9.7_2015_(samsung-gt510)|Samsung Galaxy Tab A 9.7]].
== 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 | WIFI !! style=min-width:8em | LTE !! 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-yes" | Works ||
|}


== Contributors ==
== Contributors ==
Line 50: Line 73:


'''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)
# 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]].
# When prompted to select the kernel, you can pick <code>mainline</code> on all variants (if you don't need the modem) or <code>mainline-modem-lte</code> for variants with LTE.
== Known Bugs and Workarounds ==
* '''How to charge device ?'''
Charger driver is not present at this time. Turn off your device and plug it in. The device will boot and get charged. You can check if the device charges by reading the value from <code>/sys/class/power_supply/max170xx_battery/current_now</code>
* '''Display Artifacts during brightness adjustment'''
Turn display off (lock device using power button) and turn on again to remove artifacts until next brightness change. Auto brightness should be turned off due display bug.
* '''Automatically switch to headset and turn off speakers when headset plugged in or cannot switch to speakers during phone calls'''
Select headset from settings after plugging in headset (Known issue)


== 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"
|-
|-
Line 100: Line 137:
|}
|}
Running some diagnostics programs on Android will likely point out some more info about sensors and any other specifications.
Running some diagnostics programs on Android will likely point out some more info about sensors and any other specifications.
</div></div>


== Patch to enable otg ==
== Patch to enable otg ==
Line 106: Line 144:
After applying this patch the driver will not work for max77843. There are unhandled interrupts which will be disabled by linux.
After applying this patch the driver will not work for max77843. There are unhandled interrupts which will be disabled by linux.


<div class="toccolours mw-collapsible mw-collapsed" style="overflow: auto;">
Patch
<div class="mw-collapsible-content">
<syntaxhighlight lang="diff">
<syntaxhighlight lang="diff">
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt5-common.dtsi b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt5-common.dtsi
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt5-common.dtsi b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt5-common.dtsi
Line 410: Line 451:
  #define MAX77843_MUIC_STATUS2_CHGTYP_MASK (0x7 << MAX77843_MUIC_STATUS2_CHGTYP_SHIFT)
  #define MAX77843_MUIC_STATUS2_CHGTYP_MASK (0x7 << MAX77843_MUIC_STATUS2_CHGTYP_SHIFT)
</syntaxhighlight>
</syntaxhighlight>
</div></div>


Reference datasheets (similar devices)
Reference datasheets (similar devices)
MFD : https://www.infinite-electronic.kr/datasheet/94-MAX14616AEWA.pdf
* MFD : https://www.infinite-electronic.kr/datasheet/94-MAX14616AEWA.pd
Charger : https://datasheets.maximintegrated.com/en/ds/MAX77860.pdf
* Charger : https://datasheets.maximintegrated.com/en/ds/MAX77860.pdf
Others :  
* Others :  
1. https://datasheets.maximintegrated.com/en/ds/MAX77818.pdf
*# https://datasheets.maximintegrated.com/en/ds/MAX77818.pdf
2. https://datasheets.maximintegrated.com/en/ds/MAX77829.pdf
*# https://datasheets.maximintegrated.com/en/ds/MAX77829.pdf
 
 
== Known Bugs and Workarounds ==
* '''How to charge device ?'''
Currently the charging circuit does not work. Turn off your device and plug it in. The device will boot and get charged.
 
* '''Display Artifacts during brightness adjustment'''
Turn display off (lock device using power button) and turn on again to remove artifacts until next brightness change. Auto brightness should be turned off due display bug.


* '''Display does not work or Display flickers'''
== See also ==
You may have the BOE variant of the panel. Verify it in lk2nd.
* [https://gitlab.com/postmarketOS/pmaports/-/tree/master/device/testing/device-samsung-gt58 Device package]
 
* [https://gitlab.com/postmarketOS/pmaports/-/tree/master/main/linux-postmarketos-qcom-msm8916 msm8916 mainline kernel package]
* '''Automatically switch to headset and turn off speakers when headset plugged in or cannot switch to speakers during phone calls'''
* [[Samsung_Galaxy_Tab_A_9.7_2015_(samsung-gt510)]]
Select headset from settings after plugging in headset (Known issue)
* [https://github.com/msm8916-mainline/linux Mainline kernel tree for msm8916 devices]

Revision as of 11:35, 28 September 2021

Samsung Galaxy Tab A 8.0 (2015)
Samsung Galaxy Tab A 8.0 LTE (SM-T355Y)
Samsung Galaxy Tab A 8.0 LTE (SM-T355Y)
Manufacturer Samsung
Name Galaxy Tab A 8.0 (2015)
Codename samsung-gt58
Released 2015
Hardware
Chipset Qualcomm MSM8916 Snapdragon 410
CPU Quad-core 1.2 GHz Cortex-A53
GPU Qualcomm Adreno 306
Display 1024x768 (WXGA) PLS
Storage 16 GB
Memory 2 GB
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
Unixbench Whet/Dhry score 921
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
Works
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Works
USB OTG
Broken
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 SoC which has great mainline Linux support.

This page should generally apply to any 8.0 inch variant of the device (WiFi, LTE, with and without the pen support). Note that those variants may have different amount of RAM. For 9.7 inch variants see Samsung Galaxy Tab A 9.7.

Variant differences

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

Feature WIFI LTE 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 Works

Contributors

  • Hello-world-321

Users owning this device


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.
  3. When prompted to select the kernel, you can pick mainline on all variants (if you don't need the modem) or mainline-modem-lte for variants with LTE.

Known Bugs and Workarounds

  • How to charge device ?

Charger driver is not present at this time. Turn off your device and plug it in. The device will boot and get charged. You can check if the device charges by reading the value from /sys/class/power_supply/max170xx_battery/current_now

  • Display Artifacts during brightness adjustment

Turn display off (lock device using power button) and turn on again to remove artifacts until next brightness change. Auto brightness should be turned off due display bug.

  • Automatically switch to headset and turn off speakers when headset plugged in or cannot switch to speakers during phone calls

Select headset from settings after plugging in headset (Known issue)

Mainline Kernel Status

Table of components in the device

Patch to enable otg

The following patch modifies max77843 extcon driver for max77849 and adds support in device tree

After applying this patch the driver will not work for max77843. There are unhandled interrupts which will be disabled by linux.

Patch

Reference datasheets (similar devices)

See also