Samsung Galaxy Tab 2 7.0 (samsung-espresso7)
![]() 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 |
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
- Nielsdv (Espressowifi 8GB)
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 |
Installation
Prerequisites: TWRP installed on the Tab, see the LineageOS wiki for instructions: espressowifi, use the espresso3g TWRP image if you have the espresso3g tablet.
Make sure to backup your data and store this somewhere safe if you care about the stock OS and/or your files!
Run pmbootstrap init and configure your installation, if you want to use Phosh/Sway, see #wlroots first. Flashing the image to the device is in 2 parts; the rootfs and the kernel.
rootfs
There are 2 ways to go about installing the rootfs, depending on where you want to install it to.
- For an sdcard use:
pmbootstrap install --sdcard=/dev/sdX
Make sure to specify the mountpoint of the sdcard plugged into your computer.
- For installing on the internal filesystem use:
pmbootstrap install --android-recovery-zip
pmbootstrap flasher --method=adb sideload
By default this will install on the (fairly limited) 1GB /system partition. To specify a different partion (for example the 8/16 GB data partion), add --recovery-install-partition=data
to the first line.
When asked, boot your device into TWRP, wipe cache and your partion. Then go into advanced and start sideload mode, wait for this to finish.
kernel
After the rootfs is installed, insert the SDcard (if you used this) and boot the device into download mode. run
pmbootstrap flasher flash_kernel
This will flash the kernel to the device and reboot it. If you land in TWRP, just go to reboot and click system. It might complain about missing an OS, but do not worry! You should see some tuxes and be dropped in the OS!
wlroots
When building with pmbootstrap and using an 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
-
Mate on Samsung Galaxy Tab 2 7.0
-
Mate on Samsung Galaxy Tab 2 7.0
-
Phosh (5.12 kernel, espressowifi) on Samsung Galaxy Tab 2 7.0