[LINUX][POSTMARKETOS] Native Linux on Samsung Galaxy Tab 2 (unified)

Search This thread

baronaccio

Member
Aug 19, 2017
6
0
Sorry to bother the thread. On the last chance to make a P3100 TAB 2 survive next 2023...can I install this awesome LINUX "rom" in order to make this ancient tablet a mini server for domotic?
I want to run HOME ASSISTANT (Linux based), prices of Raspberry Pi 4 are over the top and I don't want to throw away this P3100 (is starting to become sluggish for everyhting, even the most simple app).
 

Yxles

Senior Member
Aug 11, 2021
127
19
Xiaomi Mi 3
Sorry to bother the thread. On the last chance to make a P3100 TAB 2 survive next 2023...can I install this awesome LINUX "rom" in order to make this ancient tablet a mini server for domotic?
I want to run HOME ASSISTANT (Linux based), prices of Raspberry Pi 4 are over the top and I don't want to throw away this P3100 (is starting to become sluggish for everyhting, even the most simple app).
Dont worry, you're not bothering at all and it wont hurt to try it. Just make sure that it supports arm32
 
  • Like
Reactions: baronaccio

aat596

Senior Member
May 7, 2020
111
41
23
Hello all!

We are proud to release the 5th dev build of this device!
Unfortunately, the images are a bit old (PostmarketOS 21.12, which is unsupported; and Alpine 3.15, still with support), but they still work as a proof of concept (and Plasma Mobile UI is available for testing).

I have uploaded two videos, showing Phosh and Plasma Mobile.

NEWS
---------------

Although this release still covers only 7-inch devices, the next one will also cover 10-inch devices.
This means that downstream releases will be deprecated, and all devices will be able to work with mainline images.


ADDITIONAL NOTES
---------------

When building newer images from scratch (from pre-alpha 3.17 edge release), Phosh still works with newer releases, but an additional package is needed.
There are issues for getting Plasma Mobile to work in newer releases.


VIDEOS
----------------

* Showcasing Plasma Mobile:
* Showcasing Phosh:
Made with Blender 2.93.10 video editor.

* Video Backup: https://sourceforge.net/projects/sgalaxy-tab2-linux-images/upload/postmarketOS/Videos/


DOWNLOAD
----------------

MAINLINE ONLY (10-inch devices won't work!)

* https://sourceforge.net/projects/sgalaxy-tab2-linux-images/files/postmarketOS/mainline/20220509/


CREDITS
----------------

This release wouldn't be possible without these people and communities:

* MightyM17 (for device kernel development): https://github.com/MightyM17
* OpenPVRSGX-DevGroup (for PowerVR SGX kernel driver integration): https://github.com/openpvrsgx-devgroup/linux_openpvrsgx
* GNUToo, freemangordon & Maemo Leste folks (for custom mesa SGX build and integrations): https://github.com/maemo-leste , https://github.com/maemo-leste-upstream-forks/mesa , https://github.com/maemo-leste/sgx-ddk-um
* Plasma Mobile: https://plasma-mobile.org
* Phosh: https://gitlab.gnome.org/World/Phosh/phosh
* PostmarketOS: https://postmarketos.org


POSTMARKETOS TEAM
--------------------

Thanks for the PostmarketOS team for help in kernel development and general troubleshooting.
I invite you to join into their rooms (Matrix / IRC client required), and also encourage you into mainlining your devices:
* Main website: https://postmarketos.org
* Main channel: https://matrix.to/#/#main:postmarketos.org
* Device porting: https://matrix.to/#/#porting:postmarketos.org
* Mainline kernel dev channel: https://matrix.to/#/#mainline:postmarketos.org
More info: https://wiki.postmarketos.org/wiki/Matrix_and_IRC


GITHUB & GITLAB ISSUES
--------------------
GitLab: https://gitlab.com/pvrports/pvrports (source code)
GitHub: https://github.com/antonialoytorrens/SGalaxy-Tab2-linux-images (POST ISSUES HERE or in this thread)
 
Last edited:

nulldayo

New member
Nov 13, 2022
2
1
Rostock
Hello, I'm very looking forward for the next release for the espresso10s, since I have two of them laying around doing nothing....

Yesterday I tried flashing pmOS on one of my tablets with different Interfaces but none of them could be used since all attempts stuck at the "postmarketOS Loading...." screen. I used pmbootstrap to make a recovery zip and adb sideload with twrp, then heimdall for flashing the kernel (heimdall flash --KERNEL boot.img). It looked like if the kernel has loaded (ifconfig, dmesg and lsusb recognized a linux device hanging on USB with IP address), but ssh connection gets refused; since I dont have SD cards and external keyboards with matching interface I can't get it working otherwise.
I would be very glad if someone could give me some advice for how to get it working, or a configuration where it works with espresso10.
best wishes :3
 

Attachments

  • IMG_2009.JPG
    IMG_2009.JPG
    1.3 MB · Views: 30

nulldayo

New member
Nov 13, 2022
2
1
Rostock
Yes, I got pmOS on my 10 inch device just right after the merge :)
I have another 4 of these tablets, I think I will get pmOS on all of them lol

I wish you all a merry christmas!
 

Attachments

  • IMG_2098.png
    IMG_2098.png
    8.9 MB · Views: 72
  • Like
Reactions: aat596

lucazade

Member
Feb 11, 2013
19
2
OnePlus 6
I'm a bit confused about which images is better to install on this device.. I need your help :)

At the moment I've installed the following file via TWRP install:
pmos21.12-samsung-espresso3g-espressowifi-phosh-alpine3.15_kernel5.17.zip
and it is working quite fine.

I would like to know if building from scratch with pmbootstrap or
using community 22.12 prebuilt img files will include pvrports and optimizations.

Sorry if already asked but I wasn't able to find an answer.
 

Mighty

Senior Member
I'm a bit confused about which images is better to install on this device.. I need your help :)

At the moment I've installed the following file via TWRP install:
pmos21.12-samsung-espresso3g-espressowifi-phosh-alpine3.15_kernel5.17.zip
and it is working quite fine.

I would like to know if building from scratch with pmbootstrap or
using community 22.12 prebuilt img files will include pvrports and optimizations.

Sorry if already asked but I wasn't able to find an answer.
Yes you can build using 22.12 and use the pvrports repo https://gitlab.com/pvrports/pvrports/-/tree/v22.12 to build, we will be uploading prebuilt images for pvrports soon!
Happy Holidays!
 
Hello @Mighty and @aat596 thank you very much for the effort and time spend to give a third life to this device.
postmarketOS on this eleven years old Tablet is an incredible and fantastic thing
.

i cannot find how to deal with pre-build.IMG, Heimdall faill at 2%
and i don't know how make a TWRP compatible .ZIP from those .IMG
ls "dd" could be the solution ?

so i build myself for recovery using pmbootstrap,
i share the builds here :

but how to define swap partition (before, during or after building) ?
 
Last edited:

Mighty

Senior Member
Hello @Mighty and @aat596 thank you very much for the effort and time spend to give a third life to this device.
postmarketOS on this eleven years old Tablet is an incredible and fantastic thing
.

i cannot find how to deal with pre-build.IMG, Heimdall faill at 2%
and i don't know how make a TWRP compatible .ZIP from those .IMG
ls "dd" could be the solution ?

so i build myself for recovery using pmbootstrap,
but how to define swap partition (before, during or after building) ?
https://wiki.postmarketos.org/wiki/ZRAM Did you check this page out?
Also heimdall seems buggy with install pmOS for me as well
 
  • Like
Reactions: piero-e

egor835

Member
Jun 15, 2021
6
0
Russia
Hi,
I have green glitches on all kernels except 3.0.101, I tried to build the system myself, nothing has changed. Changing a DE doesn't change anything either. Moreover, glitches appears even when nothing other than boot.img is installed. Model is GT-P3100. What can I do with that? Sorry for my bad english.
 

Attachments

  • IMG_20230323_154209.jpg
    IMG_20230323_154209.jpg
    5.9 MB · Views: 25
  • IMG_20230323_154148.jpg
    IMG_20230323_154148.jpg
    6.2 MB · Views: 25
  • IMG_20230323_154438.jpg
    IMG_20230323_154438.jpg
    3.1 MB · Views: 25

Mighty

Senior Member
Ah youve used pvrports or pmaports? Also 3.0.101 is ancient and has very less support (no GPU, charging etc).
The green lines are a known bug but not to this extent, maybe try changing to dark theme.
Wdym by nothing other than boot.img installed, you need boot.img + rootfs for any linux image to work :p
 

egor835

Member
Jun 15, 2021
6
0
Russia
Ah youve used pvrports or pmaports?
Both, and both have these glitches.
try changing to dark theme
Did not help. In fact, this is the second tablet with a similar problem, both GT-P3100 and both were bought in Russia, maybe this is some kind of regional feature?
Wdym by nothing other than boot.img installed
I formatted all partitions and installed only boot.img via TWRP and the "boot partition not found" screen also has these glitches (see pic 3)

Btw, thanks for help :)
 

Mighty

Senior Member
Did not help. In fact, this is the second tablet with a similar problem, both GT-P3100 and both were bought in Russia, maybe this is some kind of regional feature?
Nope, mostly an issue with the GPU drivers we have, they are closed sourced so we cannot do much about it :(
I formatted all partitions and installed only boot.img via TWRP and the "boot partition not found" screen also has these glitches (see pic 3)

Btw, thanks for help :)
You'll also need to install the rootfs on the /system or /userdata partition or in a sdcard for things to work
 

egor835

Member
Jun 15, 2021
6
0
Russia
You'll also need to install the rootfs on the /system or /userdata partition or in a sdcard for things to work
No, no, you misunderstood me. I installed rootfs in a sdcard, then on system and then on userdata, and everything worked perfectly except for these glitches, but then I installed only boot.img, and the glitches remained. I don't think it's a video driver issue.
 
Last edited:

Top Liked Posts