Jump to content

Samsung Galaxy Tab 2 7.0 (samsung-espresso7)

From postmarketOS Wiki
Revision as of 15:08, 29 December 2021 by Nieldv (talk | contribs) (Building)
Samsung Galaxy Tab 2 7.0
Samsung Galaxy Tab 2 7.0
Samsung Galaxy Tab 2 7.0
Manufacturer Samsung
Name Galaxy Tab 2 7.0
Codename samsung-espresso3g
Released 2012
Hardware
Chipset TI OMAP 4430
CPU Dual-core 1.0 GHz
GPU PowerVR SGX540
Display 7.0 inches, 137.9 cm2 (~58.2% screen-to-body ratio) 600 x 1024 pixels, 16:9 ratio (~170 ppi density)
Storage 8/16/32 GB
Memory 1 GB
Architecture armv7
Software
Original software Android
postmarketOS
Category community
Pre-built images yes
postmarketOS kernel 5.15.2
Unixbench Whet/Dhry score 442.9
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Partial
Audio
Broken
Camera
Broken
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
Works
GPS
No data
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


Contributors

  • Mighty
  • AAT596 (testing in espressowifi variant)

Users owning this device


How to enter flash mode

Press Power + Volume Up to enter download/odin mode. Press Power + Volume Down to enter recovery.

What works (downstream)

  • Display
  • Touch
  • Mate
  • WiFi (using nmtui in terminal)
  • Battery

Hardware status (mainline)

Status Hardware Info
Y Panel Samsung LTN070NL01 LCD panel
Y Touchscreen MMS136
Y SD cards MicroSD card.
Y Internal memory
N GPS
Y WiFi Uses BCM4330B1.
Y Bluetooth Uses BCM4330B1.
Y GPIO keys There are 2 keys on GPIO: Volume up, Volume down.
P Charger SMB136 WIP by mighty17
Y Fuel Gauge MAX17042
Y PMIC TWL6032
N Sound Sound codec is WM1811.
Y Accelerometer BMA254
Y Magnetometer YAS530
N Proximity and Light The P3100 variant has GP2A002, P3110 variant has AL3201.
N Cameras Front - SR030PC50 Back - S5K5CCGX (OMAP4 devices have Ducati firmware for cameras)
P GPU PowerVR SGX 540 needs out-of-tree kernel module, patched mesa, and some proprietary blobs
N Modem Only in espresso3g (P3100 and P5100) - XMX6262

Building

When building with pmbootstrap and ui that requires wlroots (that is Phosh/Sway) you will need to build a patched version of wlroots from here https://gitlab.com/antoni.aloytorrens/p-wlroots/-/tree/master/apkbuild

Copy the apkbuild directory from the repo into your pmaports dir and rename it to p-wlroots. Then add "p-wlroots" as an extra packages during pmbootstrap init.

STATUS

Supported variants

  • samsung-espressowifi, which is almost identically similar to samsung-espresso3g, but with the exception that it has no modem.

Display

OMAPDRM works fine.

Display seems to be running at 30Hz due to the clock speed for 60Hz not working properly.

Brightness needs a correct PWM clock value. For now, it flickers at low brightness.

Touchscreen

Touchscreen is MMS136 and it works fine. Already in upstream.

Bluetooth

Bluetooth works. You can enable and manage it with bluez and bluetoothctl.

Battery

Fuel gauge works fine. The charger driver is WIP, if connected to usb during boot, then only it charges.

Camera

OMAP4 has different subsystem (Ducati) for camera which is non free. Probably will never work on mainline.

3D GPU Acceleration

3D acceleration works fine. SGX540 blobs also seem to be missing some EGL configs, so UIs like plasma-mobile do not work, gnome-software crashes etc. It crashes sometimes like when opening firefox. Video decoding does not work as it is done by Ducati subsystem.

Phosh

By default phosh has a scaling 1, this makes us unable to unlock the screen. So we need to set it to 0.75 (https://wiki.postmarketos.org/wiki/Phosh#Manual_Scaling) by adding

[output:LVDS-1]

scale = 0.75

in /usr/share/phosh/phoc.ini.
You can revert it back to 1 to get better performance.
wlr-randr can also be used.

Known issues

See https://gitlab.com/postmarketOS/pmaports/-/issues/1211

See also

Mainline WIP kernel:

Screenshots