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

From postmarketOS
Jump to navigation Jump to search
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
Category community
Original software Android 4.0.1 ICS
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
Type tablet
Features
USB Networking
Works
Flashing
Partial
Touchscreen
Works
Display
Works
WiFi
Partial
FDE
Works
Mainline
Partial
Battery
Works
3D Acceleration
Broken
Audio
Broken
Bluetooth
Broken
Camera
GPS
Mobile data
SMS
Calls
USB OTG / USB-C Role switching
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
FOSS bootloader



Contributors

  • WilliamO7
  • Archbtw

Maintainer(s)

  • Mighty17

Users owning this device

  • AAT596 (Notes: espressowifi, 7 inch version)
  • 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)
  • 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))
  • TPJS (Notes: running Lineage-OS)
  • 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)
  • Bluetooth service

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).
    • Note: There is community-patch to achieve this, but it's using non-free BLOBS. You may check out their website, but be aware that you do this on your own risk. This project is not associated with postmarketOS!!
  • Currently the kernel is not mainlined, but the OMAP chip is supported, so it should be possible to mainline. Kernel is on mainline now.
  • 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. Note that the system-partition is likely too small, which will -for example- prevent the lightdm-windowmanager from starting up. The recovery-zip should be built to target the data partition!
  pmbootstrap install --android-recovery-zip --recovery-install-partition=data
  • Then use the usual heimdall flasher method to install the kernel and initramfs (flash_kernel).
  pmbootstrap flasher flash_kernel

Doing both with one method, may 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 you want to boot from an SD card, write the image to the it:

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

galaxytab2:~# 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

galaxytab2:~# mount

/dev/mapper/mmcblk1p10p2 on / type ext4 (rw,relatime)
/dev/dm-0 on /boot type ext4 (rw,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=203440k,nr_inodes=819200,mode=755)
dev on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=124636,mode=755)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/elogind type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/libexec/elogind/elogind-cgroups-agent,name=elogind)
tmpfs on /run/user/10000 type tmpfs (rw,nosuid,nodev,relatime,size=101716k,nr_inodes=25429,mode=700,uid=10000,gid=10000)

Links

LineageOS:

Mainline kernel: