Jump to content

Samsung Galaxy Tab 3 Lite (samsung-goyavewifi): Difference between revisions

From postmarketOS Wiki
Choc (talk | contribs)
Tags: mobile edit mobile web edit
fixed my mistake. for some reason only wifi directory doesn't work
 
(39 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Infobox device
{{Infobox device
| manufacturer = Samsung
| manufacturer = Samsung
| name = Galaxy Tab 3 Lite (SM-T113NU)
| name = Galaxy Tab 3 Lite
| codename = samsung-goyavewifi
| codename = samsung-goyavewifi
| image =  
| model = SM-T113(NU)
| image = [[File:Samsung Galaxy Tab 3 Lite (SM-T113) running fastfetch through SSH.png|thumb|Samsung Galaxy Tab 3 Lite (SM-T113) running fastfetch through SSH on an SD card.]]
| imagecaption =  
| imagecaption =  
| releaseyear = 2013
| releaseyear = 2013
| originalsoftware =
| originalsoftware =
| pmoskernel =
| pmoskernel = Linux 3.10.17 downstream
| chipset = Spreadtrum SC8830
| chipset = Spreadtrum SC8830
| cpu = 4x 1.2 GHz Cortex-A7
| cpu = 4x 1.2 GHz Cortex-A7
Line 15: Line 16:
| memory = 1 GB
| memory = 1 GB
| architecture = armv7
| architecture = armv7
| type = tablet
<!-- 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) -->
| status_usbnet = Y
| status_usbnet = Y
| status_flashing = P
| status_flashing = Y
| status_touch =  
| status_touch = Y
| status_screen =  
| status_sdcard = Y
| status_wifi =  
| status_emmc = Y <!-- Not sure but hey, I accessed a partition on the internal storage! -->
| status_screen = Y
| status_wifi = P
| status_xwayland =  
| status_xwayland =  
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_mainline = N
| status_mainline = N
| status_battery =  
| status_battery = Y
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_3d = N <!-- Hardware accelerated 3D graphics (e.g. with freedreno) --> <!-- Both glitchy and laggy -->
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_accel = N
| status_audio =  
| status_audio = P
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_bluetooth = N <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_camera = <!-- Taking photos and videos works. -->
| status_camera = N <!-- Taking photos and videos works. -->
| status_gps = <!-- The Global Positioning System sensor works.  -->
| status_gps = <!-- The Global Positioning System sensor works.  -->
| status_mobiledata = -
| status_mobiledata = -
| status_sms = -
| status_sms = -
| status_calls = -
| status_calls = -
| status_otg =  
| status_otg = Y
| status_nfc = -
| status_nfc = -
| status_irtx = -
| status_irtx = -
Line 41: Line 45:


<!-- you can also use these lines if you need to:
<!-- you can also use these lines if you need to:
see Unixbench page on wiki
see Unixbench page on wiki -->
| whet_dhry = 0.0
| whet_dhry = 486.0 <!-- idk man i just used the highest indexed score or whatever not sure if it's the right one.-->
-->
}}
}}


== Contributors ==
== Contributors ==
 
* [[User:Choc]]
choc


== Users owning this device ==
== Users owning this device ==
Line 54: Line 56:


== How to enter flash mode ==
== How to enter flash mode ==
Download mode: VolDown + power + home
* Download mode: {{Button|Volume Down}} + {{Button|Power}} + {{Button|Home}}
* Recovery mode: {{Button|Volume Up}} + {{Button|Power}} + {{Button|Home}}


Recovery mode: VolUp + power + home
== Installation ==


== Installation ==
<code>pmbootstrap flasher flash_rootfs</code>
and
<code>pmbootstrap flasher flash_kernel</code>


! still working on it !
== Display ==
* in landscape
* blanks after inactivity, likely some power-saving feature
**  <code>echo 0 > /sys/class/graphics/fb0/blank</code> turns it back on
* fuzzes out after wake from suspend
**  X fails with
<pre>
FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument
FBDEV(0): mode initialization failed
Fatal server error: AddScreen/ScreenInit failed for driver 0
</pre>
== Audio ==
* Needs soc-sprd-audio-sc8830 package
* Headphones and back speaker works
* Headset and Handset only gives microphone and it's low volume, but <code>/usr/share/alsa/ucm2/conf.d/sprdphone/HiFi</code> can be patched to fix both. [https://raw.githubusercontent.com/HAKANKOKCU/improved-broccoli/refs/heads/main/HiFi Like this]
=== PulseAudio ===
Need to add add these lines at /etc/asound.conf:
<pre>
defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 1
</pre>
Also need to edit this line in /etc/pulse/default.pa:
<pre>
load-module module-udev-detect
</pre>
To:
<pre>
load-module module-udev-detect tsched=0
</pre>
== WiFi ==
You can copy /system/etc from stock rom to the device, mount efs to /efs at startup, create /data folder and wifi works


android recovery zip:
<pre>
<code>pmbootstrap install --android-recovery-zip</code>
#/etc/local.d/wifi.start with chmod +x
mkdir /efs
mkdir /data
mount /dev/disk/by-partlabel/efs /efs
</pre>


use <code>adb sideload</code> or install with [https://dl.twrp.me/goyave/twrp-3.0.0-0-goyave.img.html TWRP] (newer versions fail to boot)
One weird issue is it seems to not connect at all, but you have to use nmtui for first connection. then it just works.
== Input ==
=== HID buttons ===
* event0: sci-keypad
**  home, power, volume keys


flashing with heimdall seems to fail (using Samsung's sparse image format flashes successfully, but <code>/system</code> becomes unmountable in TWRP and needs to be wiped)
=== Touchscreen ===
* event1: MELFAS_MMS449_Touchscreen
**  in portrait
**  includes "Recents" and back buttons
**  stops working on suspend, <code>cat /sys/class/input/event1/device/device/device_enable</code> reenables it
**  try a non-forceful reboot if it doesn't appear


== Additional Notes ==
=== Headset ===
* event2: headset-keyboard
**  works


sparse info online:
=== Accelerometer ===
https://whatismyphone.net/vendors/samsung/galaxy-tab3-lite-sm-t113nu
* event3: accelerometer_sensor
**  no output, doesn't seem to work


currently using <code>samsung-gtelwifi</code> as base
== Additional notes ==
* screen fades to white on boot
* {{Device package|samsung-goyavewifi}}
* likely due to <code>fb0</code>
* {{Kernel package|samsung-goyavewifi}}
** sets up incorrectly and doesn't have the right mode
* {{MR|3377|pmaports}} Initial merge request
* [https://dl.twrp.me/goyave/twrp-3.0.0-0-goyave.img.html TWRP recovery] (versions>3.0.0 fail to boot)
* [https://deviceinfohw.ru/devices/item.php?item=72694 deviceinfohw.ru page for SM-T113NU]
* {{issue|1883|pmaports}} Display and touchscreen have different orientations
* [[Samsung_Galaxy_Tab_E_7.0_(SM-T116)_(samsung-goyave3g) | Similar device: Samsung Galaxy Tab E 7.0 / Galaxy Tab 3V Lite (samsung-goyave3g) (SM-T116)]]

Latest revision as of 15:23, 24 March 2025

Samsung Galaxy Tab 3 Lite
[[
Samsung Galaxy Tab 3 Lite (SM-T113) running fastfetch through SSH on an SD card.
|200px|alt=]]
Manufacturer Samsung
Name Galaxy Tab 3 Lite
Codename samsung-goyavewifi
Model SM-T113(NU)
Released 2013
Type tablet
Hardware
Chipset Spreadtrum SC8830
CPU 4x 1.2 GHz Cortex-A7
GPU Mali-400 MP2
Display 600x1024 TFT
Storage 8 GB
Memory 1 GB
Architecture armv7
postmarketOS
Category testing
Pre-built images no
Mainline no
postmarketOS kernel Linux 3.10.17 downstream
Unixbench Whet/Dhry score 486.0
Features
Flashing
Works
USB Networking
Works
Internal storage
Works
SD card
Works
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Audio
Partial
Camera
Broken
Camera Flash
No data
Connectivity
WiFi
Partial
Bluetooth
Broken
GPS
No data
Miscellaneous
FDE
No data
USB OTG
Works
HDMI/DP
No data
Sensors
Accelerometer
Broken
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


Contributors

Users owning this device


How to enter flash mode

  • Download mode: Volume Down + Power + Home
  • Recovery mode: Volume Up + Power + Home

Installation

pmbootstrap flasher flash_rootfs and pmbootstrap flasher flash_kernel

Display

  • in landscape
  • blanks after inactivity, likely some power-saving feature
    • echo 0 > /sys/class/graphics/fb0/blank turns it back on
  • fuzzes out after wake from suspend
    • X fails with
FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument
FBDEV(0): mode initialization failed
Fatal server error: AddScreen/ScreenInit failed for driver 0

Audio

  • Needs soc-sprd-audio-sc8830 package
  • Headphones and back speaker works
  • Headset and Handset only gives microphone and it's low volume, but /usr/share/alsa/ucm2/conf.d/sprdphone/HiFi can be patched to fix both. Like this

PulseAudio

Need to add add these lines at /etc/asound.conf:

defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 1

Also need to edit this line in /etc/pulse/default.pa:

load-module module-udev-detect

To:

load-module module-udev-detect tsched=0

WiFi

You can copy /system/etc from stock rom to the device, mount efs to /efs at startup, create /data folder and wifi works

#/etc/local.d/wifi.start with chmod +x
mkdir /efs
mkdir /data
mount /dev/disk/by-partlabel/efs /efs

One weird issue is it seems to not connect at all, but you have to use nmtui for first connection. then it just works.

Input

HID buttons

  • event0: sci-keypad
    • home, power, volume keys

Touchscreen

  • event1: MELFAS_MMS449_Touchscreen
    • in portrait
    • includes "Recents" and back buttons
    • stops working on suspend, cat /sys/class/input/event1/device/device/device_enable reenables it
    • try a non-forceful reboot if it doesn't appear

Headset

  • event2: headset-keyboard
    • works

Accelerometer

  • event3: accelerometer_sensor
    • no output, doesn't seem to work

Additional notes