yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 General] aat596:
I have redownloaded it from SourceForge and it ran successfully.

I have posted a sha256sum verification file for the XFCE 2.0 zip on sourceforge. This is the content of the file:

f50bf5c6e4bb348ef7fb1731daec7775f4f44aece5232e1968ab85dbf064fdf2 pmos-samsung-xfce-espresso10-v2.0.zip

Verify it using certutil in Windows or sha256sum --check in Linux.

If string does not match, then zip is not correct and is corrupt, so you'll have to redownload it again.

In addition, to check it faster (and dirtier), mind that the file size of the XFCE 2.0 zip is 372,8 MB.
[Galaxy Tab 2 General] Mighty:
Hey thanks for coming back to my issue

Well I'm having another problem atm

My tab shows PoskmarketOS boot partition not found
[Galaxy Tab 2 General] aat596:
So strange :confused: I don't know what it could be... so the zip is not corrupt now, right?

The last thing, you can always revert back to the previous version (at least it worked for you in the previous posts) or doing it from scratch.

Customize it as you please and sorry for the inconvenience.
[Galaxy Tab 2 General] Mighty:
No problem

Actually i couldnt even boot into twrp but the people at the martix/irc of pmos helped a lot and now its fixed

And i managed to build pmos on my own as well YAY

for your pmos i will redownload it and try again

Thanks
[Galaxy Tab 2 General] aat596:
Glad to hear it! Out of curiosity, what was the solution? (if it happens to me or someone reading this)
[Galaxy Tab 2 General] Mighty:
Well I built pmos on my computer and then flashed the boot file in a sdcard with help of Etcher put the sdcard in the tab let me tab charge and then it worked
[Galaxy Tab 2 General] Mighty:
Have u been able to mainline yet?

i downloaded the latest kernel but mainlining is hard when u hv to do from scratch

well i tried it but i need to build the device tree and i have no reference for it

also are you on the matrix/irc chat of pmos?

---------- Post added at 11:25 PM ---------- Previous post was at 11:24 PM ----------

Also should I upload my pmos build on xda?
[Galaxy Tab 2 General] Mighty:
Dude??
[Galaxy Tab 2 General] aat596:
Sorry for the late reply, I had a lot of work and exams and I don't have so much time as before.

Yep, I also noticed that there's no device tree for Samsung Galaxy Tab 2.

But I have some links of interest:

https://xdaforums.com/showthread.php?t=1522226

https://xdaforums.com/galaxy-tab-2/general/how-to-unbrick-samsung-galaxy-tab-2-t3888082

The first one seems pretty promising. If it's based on u-boot, the device tree must be somewhere.

First things first, I'm going to fix the WiFi password problem first and then (try to) mainline.

Yes, but I don't see all the messages. As I said earlier, I don't have so much free time as before.

Yes, please! I tried to post mine on XDA but did not work, so I decided to post it on SourceForge.

If you have time, follow my guide to roll your build:

https://github.com/antonialoytorrens/SGalaxy-Tab2-linux-images#optional-how-to-do-your-own-postmarketos-espresso10-prebuilt-image-file
[Galaxy Tab 2 General] aat596:
I saw that you also posted the thread on Reddit: https://www.reddit.com/r/postmarketOS/comments/jg26r7/my_first_ever_pmos_build/

That's cool!
[Galaxy Tab 2 General] Mighty:
Ooh np I will also get busy next month :(

Alrighty will check it out thank you but I don't have a working usb mostly gonna do it using framebuffer

WiFi works for me by using nmtui on mate terminal

[/QUOTE]

Well I just followed the pmos porting guide and it worked for my so that was easy

Now the issue is mainlining I used a stub dts to build the kernel and after that I'm getting error (see gitlab postmarketos pmbootstrap issues)

Have been stuck there for 2 days now
[Galaxy Tab 2 General] aat596:
Could I see your .config file?

PD: Yeah, nmtui works (and it's a workaround solution), but I think it's not quite usable at all.

PD 2: I have seen your issue, https://gitlab.com/postmarketOS/pmbootstrap/-/issues/1981, I'll check it later.
[Galaxy Tab 2 General] Mighty:
1) Ummm the config file is changed coz well i am trying to mainline it atm and building the kernel but with a stub dts.

2) Thanks hopefully i get a solution, right now following things told in IRC/Matrix lets hope it works
[Galaxy Tab 2 General] Mighty:
I didnt understand the u boot thing

like how to install it and stuff

---------- Post added at 04:05 PM ---------- Previous post was at 04:03 PM ----------

And my usb dosent work......
[Galaxy Tab 2 General] aat596:
I think the usb is required to install it... But have you tried to install postmarketOS on the sdcard and boot it from there?
[Galaxy Tab 2 General] Mighty:
what i do is take the pmos-*.zip and copy it to tab and flash it
[Galaxy Tab 2 General] aat596:
In this way you flash to /system partition, but I'm not sure if it can be installed... let me tinker a little bit with my tab and I'll write response soon.

---

Installation on sdcard can be done with

pmbootstrap install --sdcard=/dev/sdX

However, heimdall is required to flash the kernel and the initramfs, that requires the USB...
[Galaxy Tab 2 General] aat596:
Good news. Now my tab boots from sdcard without needing any USB.

What you have to do:

https://xdaforums.com/showpost.php?p=83624879&postcount=3

I don't know if helps with u-boot stuff, but at least you can maximize your storage!
[Galaxy Tab 2 General] Mighty:
Haha, so from the uboot source we got the address of framebuffer and i put it in the dts

then ran make and followed the wiki and flashed pmos and the boot.img(with mainline kernel) from twrp but well the tab is stuck at showing the splash logo
[Galaxy Tab 2 General] aat596:
If you don't mind, could you attach your dts file?
[Galaxy Tab 2 General] Mighty:
https://github.com/MightyM17/linux/edit/master/arch/arm/boot/dts/omap4-samsung-espresso10.dts
[Galaxy Tab 2 General] aat596:
I'll take a look later. But I can't help very much, as I don't know how to write dts files from scratch.
[Galaxy Tab 2 General] Mighty:
Neither do I, I'm trying to learn and write
[Galaxy Tab 2 General] dogukans3131:
This is awesome news? Would try it if I had pc
[Galaxy Tab 2 General] Mighty:
Hallo!! Hows the development going? Long time no see

And any info about mainline?
[Galaxy Tab 2 General] aat596:
Hey! Glad you're still here.

I have just bought a serial cable today (from Internet, it could arrive home in a few weeks). I'll figure out how to get serial output from the Samsung Galaxy Tab when I get it.

I am also developing postmarketOS with other devices, in fact, the asus-tf101 and the odroid-u3.

This thread may be quiet, but I'm still working on it ;)

I have also figured out how to get Bluetooth working in this 3.x kernel. It's still experimental, but I'm very close to get it.

https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1723

The issue is related to the asus-tf101, but yep, with brcm_patchram_plus, bluetooth in this tablet could also work.
[Galaxy Tab 2 General] aat596:
I have also seen that the espresso10 is one of the main candidate devices for mainline, almost all the components are supported in the mainline kernel.

https://wiki.postmarketos.org/wiki/Device_Wishlist
[Galaxy Tab 2 General] Mighty:
Im more glad you are there

I myself have been working on mainlining it and also got framebuffer working to get logs (i dont think i could get serial cable or stuff xD)

Also great work in the 3.0.101 kernel but its too old xD join me in mainlining in the IRC chat :)

---------- Post added at 05:18 PM ---------- Previous post was at 05:17 PM ----------

Wow thats amazing :D

Mainlining is one heck of a journey :p
[Galaxy Tab 2 General] zer0_Clover:
Is there a way to flash this the normal way? And when will this be stable for daily use?
[Galaxy Tab 2 General] Mighty:
Normally i flashed the zip using twrp and its still in developement
[Galaxy Tab 2 General] Daniel071:
Most people who are interested on getting Linux on a mobile device already have Linux on their PC and if they don't, it's very easy to install on the desktop.

Also, I've got Gnome 3 working on PostmarketOS on my tab 2. The performance is quite slow, but that's probably because of no hardware acceleration, no DRM (framebuffer has to be used) and old hardware. Unfortunately even if the device did get mainlined, hardware acceleration will be very difficult to get working as it has a PowerVR GPU.

And here's gparted showing the internal partitions:

For anyone interested in how I installed it, I used this method:

Installation from recovery mode - postmarketOS Wiki

wiki.postmarketos.org

Unlike the instructions at the wiki page for this device, I didn't need to use the heimdall flasher, using just TWRP worked just fine.
[Galaxy Tab 2 General] Mighty:
Hello there!

Ya i installed linux on my pc after and flashed pmos via twrp, I used Mate but many things dont work in downstream

We are trying to get this tab mainlined it would be really great if you could help as you seem to know stuff about mainlining!

Also we can get h/w acceleration from other means that isnt a problem

MightyM17/linux

Linux kernel source tree. Contribute to MightyM17/linux development by creating an account on GitHub.

github.com

This is my dts but many things dont work yet and i cant continue :(
[Galaxy Tab 2 General] liveskelet:
Is it possible to resize system partitions? After install i have only 247MB free.

Edit: 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 *)
[Galaxy Tab 2 General] aat596:
Thank you very much for the information!

It's possible, however there are also possibilities that you could brick the device, as the disclaimer of this link says:

Android: how to increase system partition and decrease data partition?

A very bad situation I want to install the Lineage 16 OS on Nexus 5 Without apps it install Ok With google apps(I select pico package arm, wich is under 100 MB) not and give error system partition ...

android.stackexchange.com

I personally have tried to do this on another device, and I almost hard-bricked, so I would not recommend it in any way.

If you want even more space, you can also install pmOS on the SDCard:

GitHub - antonialoytorrens/SGalaxy-Tab2-linux-images: Linux images for Samsung Galaxy Tab 2 (unified) 7.0 10.0

Linux images for Samsung Galaxy Tab 2 (unified) 7.0 10.0 - antonialoytorrens/SGalaxy-Tab2-linux-images

github.com

Note: Actually, I'm using the tool `pmbootstrap` to generate bare-bones images, and then I begin to customize them.

Installation from recovery mode - postmarketOS Wiki

wiki.postmarketos.org

If you read this link, you can select in which partition pmOS can be installed.
[Galaxy Tab 2 General] :
Hey brother, will you carry on development of pmos or its already history????? I am not forcing you or something but certainly its good os. I only faced WiFi connection issue so can't play with it much and had to revert back to android but newer versions won't have the problem ( mostly )
[Galaxy Tab 2 General] aat596:
In my images, WiFi only works if you open a terminal and run `nmtui`. For some reason, GUI does not work.

We are working on a very new and recent kernel for Samsung Galaxy Tab 2. Developing with the vendor's kernel is never a good experience because you have to maintain all the kernel by yourself.

Mithil17 has helped me very much carrying Samsung Galaxy Tab 2 Development. He has done all the hard work. Kudos to him!

So, we managed to get this 5.12.1 kernel to work ( source here ).

Most features aren't working yet (see here) (espresso3g and espressowifi are almost the same variants).

We have also a very WIP pmOS image running the latest kernel, but we'll publish it here when most features are ready and usable.

If you want to help us, join in #pmOS-mainline and #pmOS-offtopic in matrix.org :)
[Galaxy Tab 2 General] :
Wow that's a great news !!! Yeah I know Mithil17 well he was working to make halium work on tab 2. I would have surely helped but I am not developer as I don't know Linux codes well and I don't even have Linux PC or whatever needed just wanted to know if you are working on this old thing or not. I just help people if they need it and get helped if I need it. You devs are the only hope people like me ( who love their old device ) have.
[Galaxy Tab 2 General] Mighty:
Yeah we are working on it
[Galaxy Tab 2 General] zer0_Clover:
thats insane my netbook wasnt even able to log into it
[Galaxy Tab 2 General] MILO228:
hi what's the password for plosh? 1234 does not fit. sorry for bad english i use google translate because i don’t know english
[Galaxy Tab 2 General] Mighty:
Try 12345
[Galaxy Tab 2 General] MILO228:
I don’t build , I downloaded from the link in the topic

SGalaxyTab2-linux-images

Download SGalaxyTab2-linux-images for free. None

sourceforge.net
[Galaxy Tab 2 General] Mighty:
Try 12345 as password
[Galaxy Tab 2 General] aat596:
Maybe Login Info is wrong.

Try with `12345` or `123456`, I'm almost sure this is the password.

Note that WiFi is not working in this Phosh image, and the tablet can be hot in no-time.

And turn the tablet off (shutdown the tablet completely) when you don't need it.
[Galaxy Tab 2 General] MILO228:
12345 and 123456 don't work
[Galaxy Tab 2 General] MILO228:
12345678 work
[Galaxy Tab 2 General] aat596:
Thanks for reporting Milo! I'll fix it in the instructions as soon as possible. Sorry for the inconvenience.
[Galaxy Tab 2 General] MILO228:
how to make an image in pmbootstrap with 5.12 kernel or it cannot be done via pmbootstrap ?
[Galaxy Tab 2 General] Mighty:
yes it can be made using pmbootstrap, select samsung as vendor and espresso3g as the device, if you are using phosh/plasma/sway as ui then for extra packages add mesa-pvr-dri-classic,sgx-ddk-um,sgx-ddk-um-openrc,sgx-ddk-um-ti443x,p-wlroots. (Get p-wlroots from here)
[Galaxy Tab 2 General] MILO228:
ok
[Galaxy Tab 2 General] MILO228:
In new plosh image with wifi , wifi not work
[Galaxy Tab 2 General] Mighty:
did you enable non free firmware for wifi in pmbootstrap init?
[Galaxy Tab 2 General] aat596:
I think he has downloaded the newer image I have posted a few days ago.

I have redownloaded and reflashed the image and WiFi still works in my espressowifi device.

Mighty, if you have time, could you test this image and see if WiFi network works on your espresso3g?
[Galaxy Tab 2 General] Mighty:
Sure, could you link the exact image to download?
[Galaxy Tab 2 General] aat596:
https://sourceforge.net/projects/sgalaxy-tab2-linux-images/files/postmarketOS/mainline/20210828/pmos-samsung-espresso10-mainline-phosh-20210828-WiFi-support.zip

Thanks in advance.
[Galaxy Tab 2 General] MILO228:
wifi works until the first reboot then writes that the adapter is not found , in photo im see working batary indication , how to do also
[Galaxy Tab 2 General] Mighty:
Did you reboot by long pressing the power button? If yes then thats a known issue https://gitlab.com/postmarketOS/pmaports/-/issues/1211 and the battery indication is broken if you build with pmbootstrap for now (I need to push a change with its commit being enabled)
[Galaxy Tab 2 General] MILO228:
in the config you need to swap the portrait orientations, everything is fine with landscape
[Galaxy Tab 2 General] MILO228:
I figured out how to make sure that after a forced reboot wifi does not stop working
[Galaxy Tab 2 General] Mighty:
What is the fix?
[Galaxy Tab 2 General] MILO228:
if you restart via the power button, wifi stops working, if the tablet had to be forced to restart, you will need to go into recovery mode at boot and reboot through twrp into the system
[Galaxy Tab 2 General] MILO228:
Hi , i wanted to make an image with xfce4 and kernel 5.12, made an image in pmbootstrap, uploaded it to the sd card, started installing, but so that I didn't do twrp wrote error 1, I made images on different distributions, made images with different ui, formatted the memory card, formatted memory on the tablet but the result is the same everywhere error 1
[Galaxy Tab 2 General] Mighty:
5.12? Why that version? We have 5.15 on pmOS, and about that error 1 it's fine not an issue, just after flashing the zip, flash the boot.img as well and it'll work
[Galaxy Tab 2 General] MILO228:
the method with flashing boot.img works but only with images based on kernel 3.0.101, based on 5.15 this method does not work
[Galaxy Tab 2 General] Mighty:
What's the error? It has worked for me with 5.15
[Galaxy Tab 2 General] MILO228:
I flashed the pmos image, at the end of the installation, error 1 got out in twrp, I flashed boot.img, the download got out and then linux does not boot
[Galaxy Tab 2 General] Mighty:
What ui did you choose?
[Galaxy Tab 2 General] MILO228:
xfce4
[Galaxy Tab 2 General] Mighty:
Xfce4 will not work with GPU, so either you use xfce4 or you can use gpu
[Galaxy Tab 2 General] MILO228:
ok i will try to choose another ui
[Galaxy Tab 2 General] Mighty:
Try phosh
[Galaxy Tab 2 General] Yxles:
Is there an update of mainlining the kernel (or idk what you call it) for 10 inch? wanted to try it on my espresso3g but since most of the stuff isnt still working I postponed it and just wait for any fix to come out lol
[Galaxy Tab 2 General] Mighty:
The 10 inch uses different touch and display panels, we need to make it work out (i dont own a 10 inch myself so i havent tried) but you can help us :D
[Galaxy Tab 2 General] Yxles:
I would be more than happy to help but idk about things on mainlining but I will try my best to help (I have 3 of these tablets to sacrifice so...)
[Galaxy Tab 2 General] Mighty:
Oh that would be great! Are you on matrix/irc? Also dw we will try to sacrifice none!
[Galaxy Tab 2 General] Yxles:
I created one
[Galaxy Tab 2 General] Mighty:
I'm mighty17 there
[Galaxy Tab 2 General] Yxles:
I dm'ed you there
[Galaxy Tab 2 General] aat596:
PostmarketOS mainline images updated. Much better performance as before in Phosh. Please see the changelog for changes.

```

202110

Now the tablet does not get very hot while using it.

However, the battery is still drained fast (but not as quick as before).

Kernel updated to 5.15_rc1.

Mesa (3D graphics) are better renderized.

202106

Initial implementation of fbkeyboard environment

WiFi working

202103

Initial implementation of Phosh environment

Initial implementation of Sway environment

```
[Galaxy Tab 2 General] Yxles:
Wow damn that is some good news, this will really make this tablet much more useful that its stock os. Thank you for keep working on this
[Galaxy Tab 2 General] aat596:
Thank you! The huge work that @Mighty is doing is what makes this possible!
[Galaxy Tab 2 General] Yxles:
Hi! just checking if there's still work being put into this, still excited on running full on Linux on our devices
[Galaxy Tab 2 General] Yxles:
I installed Phosh on my 7" Tab 2 (espresso3g) using the pre-built images off postmarketOS website and so far, it works ok. The DE runs sluggishly so I looked through settings to see if it's running on Software Rendering and it is, so I was wondering if is there a way to enable GPU Rendering for 7"?
[Galaxy Tab 2 General] Mighty:
Making GPU work on mainline linux requires a bunch of tweaks and changes, but we can confirm that gpu works! There will be a release coming soon once we get some time off
[Galaxy Tab 2 General] aat596:
Post is coming soon ;)
[Galaxy Tab 2 General] Yxles:
Eyyy, nice to see that this was still being worked on can't wait for the next update 😍
[Galaxy Tab 2 General] baronaccio:
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).
[Galaxy Tab 2 General] Yxles:
Dont worry, you're not bothering at all and it wont hurt to try it. Just make sure that it supports arm32
[Galaxy Tab 2 General] aat596:
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)
[Galaxy Tab 2 General] nulldayo:
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
[Galaxy Tab 2 General] Mighty:
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/3627/ Once this gets merged, espresso10 will also be supported (on mainline)
[Galaxy Tab 2 General] lucazade:
Hell yeah! Linux on my old Samsung Tab 2 7.0 🤟
[Galaxy Tab 2 General] Mighty:
10 inch support merged on postmarketOS :D

Pvrports images will come soon
[Galaxy Tab 2 General] nulldayo:
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!