Jump to content

Samsung Galaxy Tab 3 7.0 (samsung-lt023g): Difference between revisions

From postmarketOS Wiki
Meek (talk | contribs)
Remove misleading information and fix capitalization.
Rontti (talk | contribs)
update device support status
 
(16 intermediate revisions by 3 users not shown)
Line 20: Line 20:
| status_touch = Y
| status_touch = Y
| status_screen = Y
| status_screen = Y
| status_wifi = Y
| status_wifi = P
| status_xwayland = Y
| status_xwayland = Y
| status_fde = Y
| status_fde = Y
| status_mainline =  
| status_mainline = N
| status_battery = Y
| status_battery = Y
| status_3d =  
| status_3d = N
| status_accel = Y
| status_accel = Y
| status_audio =  
| status_audio = Y
| status_bluetooth = P
| status_bluetooth = P
| status_camera = Y
| status_camera = Y
| status_gps =  
| status_gps =  
| status_mobiledata =  
| status_mobiledata = N
| status_sms =  
| status_sms = N
| status_calls =  
| status_calls = N
| booting = yes
| booting = yes
| whet_dhry = 564.6
| whet_dhry = 564.6
| pmoskernel = 3.4.113
}}
}}


Line 61: Line 62:


== Installation ==
== Installation ==
Kernel can be installed via <code>pmbootstrap flasher flash_kernel</code> after [[#Entering flash mode|entering flash mode]]. To install rootfs add <code>deviceinfo_flash_sparse="true"</code> to the deviceinfo file. If you want to install to USERDATA partition use the partition name USER.


== Packages required for installation ==
Refer to [[Installation/Using pmbootstrap]] for more details.
Packages required for a working installation are:
 
* dhclient
During <code>pmbootstrap init</code>, select
* linux-firmware-mrvl
* Channel: <code>edge</code>
* xterm (in case your DE choice has no terminal built-in)
* Vendor: <code>samsung</code>
* Device codename: <code>lt023g</code>
* <code>wpa_supplicant</code> as the wifi backend
* User interface: <code>lxqt</code> (recommended, see [[#Incompatible software|Incompatible software]] below for more details; only software rendering is supported)
* Additional options: extra free space: <code>500</code> MB (not needed when installing to sdcard)
* Extra packages: <code>linux-firmware-mrvl,zstd,networkmanager,networkmanager-cli</code> for wifi firmware, and to allow connecting to wifi using either lxqt nm-applet or the command line interface. See [[#How to get WiFi working|How to get WiFi working]] for more details.
 
Before running <code>pmbootstrap install</code> to generate the kernel and rootfs images, you need to choose the rootfs location from the following three options.
 
# USERDATA partition: Change <code>deviceinfo_flash_heimdall_partition_system</code> in [[deviceinfo]] to <code>USER</code> and use <code>pmbootstrap flasher flash_rootfs</code> to flash the rootfs after generating the image. ([https://gitlab.postmarketos.org/postmarketOS/pmaports/-/commit/05a6b40e65a229b0ce4e3154680a9d1f2c9b7475 Flashing to SYSTEM with heimdall fails.])
# External sd card: Add the <code>--sdcard=/dev/mmcblk...</code> flag.
# [[Installation from recovery mode]] using a zip file: Add the <code>--android-recovery-zip</code> flag.
 
[[Full disk encryption]] is supported with all of the above options, and is enabled by adding the <code>--fde</code> flag.
 
Kernel can be installed via <code>pmbootstrap flasher flash_kernel</code> after [[#Entering flash mode|entering flash mode]].


== What works ==
== What works ==
See devicetable on the right.
See devicetable on the right.
* Booting off a microSD card
* Booting off a microSD card
* Booting from userdata partition
* Booting from system partition using Android recovery ZIP option
* Booting from system partition using Android recovery ZIP option
* Physical buttons
* Physical buttons
Line 82: Line 98:
* Sensors
* Sensors
* Bluetooth (only shows available devices. Still looking for a way to connect to a device)
* Bluetooth (only shows available devices. Still looking for a way to connect to a device)
* Audio


== What does not work ==
== What does not work ==
* Cellular networking(not exist on some models)
* Cellular networking(not exist on some models)
* 2D and 3D Acceleration
* 2D and 3D Acceleration
* Audio
Everything else is untested as of writing this.
Everything else is untested as of writing this.


== Incompatible software ==
== Incompatible software ==


Due to the lack of upstream support for the PXA986 SoC, the kernel remains to a very old 3.4.5 version. As of 2023, there is still largely chance that the software on the edge channel of postmarketOS will run on this device with some notable exceptions. Concerning the choice of the environment, LXQt works out of the box. It has been reported that Xfce4, GNOME, and MATE never reach the desktop.
Due to the lack of upstream support for the PXA986 SoC, the kernel remains to a very old 3.4.113
version. As of 2023, there is still largely chance that the software on the edge channel of postmarketOS will run on this device with some notable exceptions. Concerning the choice of the environment, LXQt works out of the box. It has been reported that Xfce4, GNOME, and MATE never reach the desktop.


Some issues related to general software:
Some issues related to general software:
Line 100: Line 117:


== How hpagseddy get camera working ==
== How hpagseddy get camera working ==
Right now it's not usable for daily use, just for testing camera quality and checking if camera is working or not. I used "motion" package from Alpine Linux to capture pictures. If you want to test it too, just use "apk add motion" command to install that package. Then simply type "motion" and it will start capturing pictures nearly every second. If it doesn't capture pictures or pictures are just black squares then your camera isn't working. For opening pictures, I used feh image viewer to view images but every gallery app works great.
Right now it's not usable for daily use, just for testing camera quality and checking if camera is working or not. I used the "motion" package from Alpine Linux to capture pictures. If you want to test it too, just use <code>apk add motion</code> command to install that package. Then simply type "motion" and it will start capturing pictures nearly every second. If it doesn't capture pictures or pictures are just black squares then your camera isn't working. For opening pictures, I used feh image viewer to view images but every gallery app works great.


== How to get WiFi working ==
== How to get WiFi working ==
Install <code>linux-firmware-mrvl</code> to get the necessary firmware files, reboot the device after install.
Install <code>linux-firmware-mrvl</code> to get the necessary firmware files. Navigate to <code>/lib/firmware/mrvl</code> and run <code>sudo unzstd *.bin.zst --force</code> to extract firmware (as the kernel does not support compressed firmware), then reboot the device via <code>sudo reboot</code>.
 
Run <code>sudo ifconfig mlan0 up</code>, then configure <code>wpa_supplicant</code>:
Run <code>sudo ifconfig mlan0 up</code>, then configure <code>wpa_supplicant</code>:
<pre>$ wpa_passphrase YOUR_SSID YOUR_PASSPHRASE | sudo tee /etc/wpa_supplicant/wpa_supplicant.conf
<pre>$ wpa_passphrase "YOUR_SSID" "YOUR_PASSPHRASE" | sudo tee /etc/wpa_supplicant/wpa_supplicant.conf
</pre>
</pre>
Then run:
Then run:
<pre>
<pre>
Line 112: Line 131:
sudo udhcpc -i mlan0
sudo udhcpc -i mlan0
</pre>
</pre>
If the service fails to start, you might need to kill the existing process:
<pre>
sudo killall wpa_supplicant
</pre>
Note: You need to turn rndis0 off using <code>sudo ifconfig rndis0 down</code> if you used USB Internet. Also remove usb_internet.start from <code>/etc/local.d</code>.
Note: You need to turn rndis0 off using <code>sudo ifconfig rndis0 down</code> if you used USB Internet. Also remove usb_internet.start from <code>/etc/local.d</code>.
If starting the service didn't work, start wpa_supplicant manually with:  
 
You can also try running wpa_supplicant manually:
 
<pre>
<pre>
sudo wpa_supplicant -u -Dnl80211 -B -c /etc/wpa_supplicant/wpa_supplicant.conf -imlan0
sudo wpa_supplicant -u -Dnl80211 -B -c /etc/wpa_supplicant/wpa_supplicant.conf -imlan0
</pre>
</pre>
You might need to kill the existing process if the wpa_supplicant service fails to start (find it for example with htop).
You can also use NetworkManager, stop and disable wpa_supplicant (<code>sudo rc-service wpa_supplicant stop ; sudo rc-update del wpa_supplicant</code>), and restart NetworkManager (<code>sudo rc-service networkmanager restart ; sudo rc-update add networkmanager</code>).


=== Notes ===
You can also use [[NetworkManager]]. Stop and disable wpa_supplicant, then restart and enable NetworkManager (<code>sudo rc-service wpa_supplicant stop; sudo rc-update del wpa_supplicant; sudo rc-service networkmanager restart; sudo rc-update add networkmanager</code>). After connecting to a hotspot, run [[NetworkManager/DHCP|udhcpc]] to get a DHCP lease: <code>sudo udhcpc -i mlan0</code>.
As of 2023, wpa_supplicant does not work to connect to WiFi, use [[NetworkManager]] to connect and run [[NetworkManager/DHCP|dhclient]] to get a DHCP lease.


== About GPU ==
== About GPU ==
The GPU is Vivante GC1000 which has open source drivers but we can't get it work yet. The reverse engineered driver is called etnaviv and the compiling process is a little bit complex. If anyone figures it out don't forget to tag @hpagseddy at postmarketOS Matrixserver.
The GPU is Vivante GC1000 which has open source drivers but we can't get it work yet. The reverse engineered driver is called etnaviv and the compiling process is a little bit complex. If anyone figures it out don't forget to tag @hpagseddy at postmarketOS Matrix server.


Wayland works, but you may get better battery life with X11 (tested GNOME vs MATE).
Wayland works, but you may get better battery life with X11 (tested GNOME vs MATE).
Line 134: Line 157:
== Links ==
== Links ==
* [https://en.wikipedia.org/wiki/Samsung_Galaxy_Tab_3_7.0 Wikipedia page for device]
* [https://en.wikipedia.org/wiki/Samsung_Galaxy_Tab_3_7.0 Wikipedia page for device]
* [https://github.com/kumajaya/android_kernel_samsung_lt02 Kernel source]
* [https://github.com/yahiashamaa/android_kernel_samsung_lt02 Kernel source 3.4.113]
* [https://forum.xda-developers.com/showthread.php?t=2503063 Unofficial TWRP]
* [https://forum.xda-developers.com/showthread.php?t=2503063 Unofficial TWRP]
* {{MR|1484}} Add support for the Samsung Galaxy Tab 3 7.0 (lt023g)
* {{MR|1484}} Add support for the Samsung Galaxy Tab 3 7.0 (lt023g)
* [https://github.com/etnaviv Vivante Open source drivers]
* [https://github.com/etnaviv Vivante Open source drivers]
* [https://github.com/samsunggalaxytab3/android_kernel_samsung_lt02 more updated kernel]
* [https://github.com/kumajaya/android_kernel_samsung_lt02 Old Kernel 3.4.5]
* [[Samsung Galaxy Tab 3 Lite 7.0 (samsung-goyawifi)|sibling model Galaxy Tab 3 Lite 7.0 (samsung-goyawifi)]]
** Seems to share the chipset, but not the wifi (firmware 8777 vs. 8787 iirc); has some quality of life improvements over this one, eg. [https://pkgs.postmarketos.org/package/master/postmarketos/armv7/device-samsung-goyawifi-networkmanager-dhclient Install and use dhclient for networkmanager to get IP throught DHCP]

Latest revision as of 12:00, 23 March 2025

Samsung Galaxy Tab 3 7.0
Samsung Galaxy Tab 3 7.0
Samsung Galaxy Tab 3 7.0
Manufacturer Samsung
Name Galaxy Tab 3 7.0
Codename samsung-lt023g
Released 2013
Type tablet
Hardware
Chipset Marvell PXA986
CPU Dual-core 1.2 GHz Cortex-A9
GPU Vivante GC1000
Display 1024×600 TFT
Storage 16GB
Memory 1GB
Architecture armv7
Software
Original software Android
Original version 4.4.2 (Linux 3.4.5)
postmarketOS
Category testing
Pre-built images no
Mainline no
postmarketOS kernel 3.4.113
Unixbench Whet/Dhry score 564.6
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Audio
Works
Camera
Works
Camera Flash
No data
Connectivity
WiFi
Partial
Bluetooth
Partial
GPS
No data
NFC
No data
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
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


Firefox on Matchbox

Maintainer

  • hpagseddy

Users owning this device

  • Catto24 (Notes: lt02wifi)
  • Cdde (Notes: Broken-ish WiFi)
  • Devon (Notes: Works great. Wifi works with fixed ip address)
  • Hacker420
  • Marineboy1
  • MoralCode (Notes: Broken-ish WiFi)
  • Randomtek (Notes: Kids' version (SM-T2105))
  • Rontti (Notes: rootfs only worked on SD card and USER partition)
  • Tfuxu (Notes: Nice old tablet for reading and listening to books, only crippled by its SOC and 1GB of RAM)
  • Threeoh6000 (Notes: Kids Edition, works fine, xfce4)
  • Ysh (Notes: lt02wifi 8GB)


Entering flash mode

  • Power down the device, then press and hold Volume Down + Home + Power simultaneously.
  • Once the device vibrates, release Power, but keep Volume Down and Home held.
  • The device will ask you if you wish to upload a custom OS. Press Volume Up to confirm.
  • Once the device displays "Odin mode" in the top-left of the screen, it is ready for flashing.

Entering recovery mode

  • Power down the device, then press and hold Volume Up + Home + Power simultaneously.
  • Once the device vibrates, release Power, but keep Volume Up and Home held.

Installation

Refer to Installation/Using pmbootstrap for more details.

During pmbootstrap init, select

  • Channel: edge
  • Vendor: samsung
  • Device codename: lt023g
  • wpa_supplicant as the wifi backend
  • User interface: lxqt (recommended, see Incompatible software below for more details; only software rendering is supported)
  • Additional options: extra free space: 500 MB (not needed when installing to sdcard)
  • Extra packages: linux-firmware-mrvl,zstd,networkmanager,networkmanager-cli for wifi firmware, and to allow connecting to wifi using either lxqt nm-applet or the command line interface. See How to get WiFi working for more details.

Before running pmbootstrap install to generate the kernel and rootfs images, you need to choose the rootfs location from the following three options.

  1. USERDATA partition: Change deviceinfo_flash_heimdall_partition_system in deviceinfo to USER and use pmbootstrap flasher flash_rootfs to flash the rootfs after generating the image. (Flashing to SYSTEM with heimdall fails.)
  2. External sd card: Add the --sdcard=/dev/mmcblk... flag.
  3. Installation from recovery mode using a zip file: Add the --android-recovery-zip flag.

Full disk encryption is supported with all of the above options, and is enabled by adding the --fde flag.

Kernel can be installed via pmbootstrap flasher flash_kernel after entering flash mode.

What works

See devicetable on the right.

  • Booting off a microSD card
  • Booting from userdata partition
  • Booting from system partition using Android recovery ZIP option
  • Physical buttons
  • Touch keys
  • Backlight brightness
  • Battery indicator
  • Wayland
  • X11
  • Front and back Camera (/dev/video0 - front camera, /dev/video1 - back camera)
  • Sensors
  • Bluetooth (only shows available devices. Still looking for a way to connect to a device)
  • Audio

What does not work

  • Cellular networking(not exist on some models)
  • 2D and 3D Acceleration

Everything else is untested as of writing this.

Incompatible software

Due to the lack of upstream support for the PXA986 SoC, the kernel remains to a very old 3.4.113 version. As of 2023, there is still largely chance that the software on the edge channel of postmarketOS will run on this device with some notable exceptions. Concerning the choice of the environment, LXQt works out of the box. It has been reported that Xfce4, GNOME, and MATE never reach the desktop.

Some issues related to general software:

  • Software using sandboxing will fail (e.g. epiphany browser). Of course, this includes all flatpaks as well
  • /etc/fstab cannot be used to mount a partition (an unsupported kernel syscall in newer versions of mount prevents the access to the file)
  • Some programs will just fail to start

How hpagseddy get camera working

Right now it's not usable for daily use, just for testing camera quality and checking if camera is working or not. I used the "motion" package from Alpine Linux to capture pictures. If you want to test it too, just use apk add motion command to install that package. Then simply type "motion" and it will start capturing pictures nearly every second. If it doesn't capture pictures or pictures are just black squares then your camera isn't working. For opening pictures, I used feh image viewer to view images but every gallery app works great.

How to get WiFi working

Install linux-firmware-mrvl to get the necessary firmware files. Navigate to /lib/firmware/mrvl and run sudo unzstd *.bin.zst --force to extract firmware (as the kernel does not support compressed firmware), then reboot the device via sudo reboot.

Run sudo ifconfig mlan0 up, then configure wpa_supplicant:

$ wpa_passphrase "YOUR_SSID" "YOUR_PASSPHRASE" | sudo tee /etc/wpa_supplicant/wpa_supplicant.conf

Then run:

sudo rc-service wpa_supplicant start
sudo udhcpc -i mlan0

If the service fails to start, you might need to kill the existing process:

sudo killall wpa_supplicant

Note: You need to turn rndis0 off using sudo ifconfig rndis0 down if you used USB Internet. Also remove usb_internet.start from /etc/local.d.

You can also try running wpa_supplicant manually:

sudo wpa_supplicant -u -Dnl80211 -B -c /etc/wpa_supplicant/wpa_supplicant.conf -imlan0

You can also use NetworkManager. Stop and disable wpa_supplicant, then restart and enable NetworkManager (sudo rc-service wpa_supplicant stop; sudo rc-update del wpa_supplicant; sudo rc-service networkmanager restart; sudo rc-update add networkmanager). After connecting to a hotspot, run udhcpc to get a DHCP lease: sudo udhcpc -i mlan0.

About GPU

The GPU is Vivante GC1000 which has open source drivers but we can't get it work yet. The reverse engineered driver is called etnaviv and the compiling process is a little bit complex. If anyone figures it out don't forget to tag @hpagseddy at postmarketOS Matrix server.

Wayland works, but you may get better battery life with X11 (tested GNOME vs MATE).

Mainline

The PXA986 SoC has no support upstream (https://www.kernel.org/doc/html/latest/arm/marvell.html#mmp-mmp2-mmp3-family-communication-processor).

Links