Skip to content

Added new device: samsung-espresso10 (Samsung Galaxy Tab 2 10.1)

postmarketOS Bot requested to merge WilliamO7:device-samsung-espresso10 into master

Created by: WilliamO7

Information:

Notes:

  • This should work on both versions of the Galaxy Tab 2 10.1" (3G and Wifi), but this has only been tested on the 3G version.
  • Since the kernels have been unified between all devices in the Tab 2 range (including the 7.0" devices), I have made the name of the kernel more general. This also trivialises ports to the 7.0" edition (espresso7) as well, but I do not own that particular device.
  • Nomenclature has been tweaked from LineageOS's naming due to our unique situation here (as in, we cannot unify the different sized devices as easily)

Observations:

  • In the repository's current state, PMOS builds, but it has to be installed in two stages: First the system partitions via android recovery (TWRP), then the kernel via the usual heimdall method. Doing it all with one tool yields flash errors on both sides with boot.img and system.img/FACTORYFS (where it gets to 9% progress then stops) respectively.
  • The device boots to weston at the correct resolution, with everything visible as intended, so no problems there. The backlight doesn't turn off on sleep though, (although I cannot fix this now, see the next point.)
  • USB does not work at all. As in it doesn't even show up in dmesg or lsusb when connected. I tried two linux distros (Artix and Ubuntu 16.04) to test this, and both yielded the same result. (The tablet does have an Apple 30-pin-esque connector, which should be compatible with USB, but also needs extra circuitry for OTG mode, so this could be why?)
  • As a result, I cannot enable ssh networking or telnet, and so my efforts end here. I can't even debug this, since I cannot access the logs.

If anyone could help getting USB working on this device, that would be amazing. Thanks in advance.

UPDATE 2017/12/21 - I tried building the OS with my current tree, and now it bootloops? Like WTF? Realised that my '_flavor' variable was set wrongly, so I'm not going to unify the kernel this time around. Will push an update ASAP.

Merge request reports