Jump to content

Samsung Galaxy Tab 2 10.1 (3G and Wifi) (samsung-espresso10)

From postmarketOS Wiki
Revision as of 10:35, 12 February 2023 by Hueku (talk | contribs) (SD Card)
Samsung Galaxy Tab 2 10.1"
Galaxy Tab 2 10.1" booted into postmarketOS with weston
Galaxy Tab 2 10.1" booted into postmarketOS with weston
Manufacturer Samsung
Name Galaxy Tab 2 10.1"
Codename samsung-espresso10
Released 2012
Hardware
Chipset TI OMAP 4430
CPU Dual-core 1.0 GHz Cortex-A9
GPU PowerVR SGX540 @ 307 MHz
Display 1280x800
Storage 16 GB (expandable with up to 32 GB MicroSD)
Memory 1 GB
Architecture armv7
Software
Original software Android 4.0.1 ICS
postmarketOS
Category community
Pre-built images yes
Features
Flashing
Partial
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Audio
Broken
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Partial
Bluetooth
Broken
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
Works
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


Contributors

  • WilliamO7
  • Archbtw

Maintainer(s)

  • Mighty17

Users owning this device

  • AAT596 (Notes: espressowifi, 7 inch version)
  • Alexdmrk (Notes: Some experiments with hardware acceleration blobs has been done: they are abandoned)
  • Coldarchie (Notes: Unlocked, currently Slim7)
  • Daniel071 (Notes: Works great except very poor performance; Probably because of no hardware acceleration)
  • Dartvader316 (Notes: Mainline)
  • Deathmist (Notes: 10.1" Wi-Fi-only model (espressowifi))
  • DolphinChips
  • Eloy (Notes: 7 inch version, runs pmOS)
  • Hreikin (Notes: espressowifi, 10 inch version)
  • Hueku (Notes: espresso3g)
  • Lm2 (Notes: postmarket works almost well testing the operatin'system)
  • Mighty (Notes: espresso3g, 7 inch version)
  • Nieldv (Notes: 10,1" wifi, runs unlegacyAndroid)
  • Nulldayo (Notes: Has 5 of the 10.1" Wi-Fi-only model (espressowifi))
  • Piero-e (Notes: 10.1" inch 3g variant / gt-p5100 / testing PostmaketOS (big thanks to Mighty) / running unofficial /e/OS android 7 based (espresso3g) (special thanks to Android-Andi))
  • Stupidenbyace (Notes: Broken motherboard)
  • TPJS (Notes: running Lineage-OS)
  • UltrasonicMadness (Notes: Wi-Fi version)
  • UxAmadeus
  • Wjtje


What works

  • Display
  • Weston
  • Touchscreen
  • USB
  • Wifi (if started up manually, there's still some problems on boot)
  • FDE w/ osk-sdl
  • Battery (Gnome 3 can read the battery percentage, whether it is discharging or charging and Charging-sdl does work. One small issue is that Gnome 3 cannot detect the battery time remaining)

What does not work

  • RIL (hasn't been setup yet, but Replicant got it going on the android side so it should be possible.)
  • 2D + 3D acceleration (so most UIs slow down to a crawl, such as plasma-mobile).
  • Currently the kernel is not mainlined, but the OMAP chip is supported, so it should be possible to mainline.
  • Bluetooth service crashes; Running sudo service bluetooth start and then sudo service bluetooth status returns "crashed"
  • Audio does not work with both built-in speakers and headphone jack (Tested with Gnome 3)

To test/do

  • Audio
  • Graphics Acceleration
  • GPS/Compass/Sensors
  • RIL

How to enter flash mode

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

Installation

This has to be done in two parts:

  • First create an Android recovery image of PMOS and flash it using TWRP. If it refuses to flash using the "Install" option, try to flash it with adb sideload.
  • Then use the usual heimdall flasher method to install the kernel and initramfs (flash_kernel).

Doing both with one method results in errors in both situations.

Note: If you wish to install to the /data partition instead of the system partition, extract the Android recovery image, replace FACTORYFS with DATAFS in chroot/install_options, and re-archive it with no compression. (zip -0r disiredFileName.zip *) or https://wiki.postmarketos.org/wiki/Installation_from_recovery_mode#Create_the_recovery_zip_image

SD Card

In case the device rejects the installation from recovery mode with adb sideload and from SD Card with error (E: Error executing updater binary in zip '/external_sd/pmos-samsung-espresso10.zip'), try to write the image to the SD Card and boot from there:

1. Download the image from the download page

2. Decompress the *.img.xz file and write it to the SD Card using the command from Installation - Flashing - From SD Card

or

1. Build your own image using pmbootstrap Using pmbootstrap - installing postmarketOS - SD Card

2. Write it to your SD Card using the command from Installing postmarketOS - SD Card

Photos

Partition layout

samsung-espresso10:~# fdisk -l -o Device,Start,End,Sectors,Size,Name /dev/mmcblk1
Disk /dev/mmcblk1: 14.68 GiB, 15758000128 bytes, 30777344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 52444E41-494F-2044-4D4D-43204449534B

Device             Start      End  Sectors  Size Name
/dev/mmcblk1p1      8192    49151    40960   20M EFS
/dev/mmcblk1p2     49152    53247     4096    2M SBL1
/dev/mmcblk1p3     53248    57343     4096    2M SBL2
/dev/mmcblk1p4     57344    73727    16384    8M PARAM
/dev/mmcblk1p5     73728    90111    16384    8M KERNEL
/dev/mmcblk1p6     90112   106495    16384    8M RECOVERY
/dev/mmcblk1p7    106496  1540095  1433600  700M CACHE
/dev/mmcblk1p8   1540096  1581055    40960   20M MODEM
/dev/mmcblk1p9   1581056  4448255  2867200  1.4G FACTORYFS
/dev/mmcblk1p10  4448256 29728733 25280478 12.1G DATAFS
/dev/mmcblk1p11 29728734 30777309  1048576  512M HIDDEN

Links

LineageOS:

Mainline kernel: