Установка postmarketos на планшет samsung galaxy tab 3
Prerequisites: TWRP installed on the Tab, see the LineageOS wiki for instructions: espressowifi, use the espresso3g TWRP image if you have the espresso3g tablet.
Make sure to backup your data and store this somewhere safe if you care about the stock OS and/or your files!
rootfs
There are 2 ways to go about installing the rootfs, depending on where you want to install it to.
pmbootstrap install --sdcard=/dev/sdX
Make sure to specify the mountpoint of the sdcard plugged into your computer.
- For installing on the internal filesystem use:
pmbootstrap install --android-recovery-zip
pmbootstrap flasher --method=adb sideload
By default this will install on the (fairly limited) 1GB /system partition.
To specify a different partion (for example the 8/16 GB /data partition), add --recovery-install-partition=data to the first line.
- For installing on the internal /data partition use:
pmbootstrap install --android-recovery-zip --recovery-install-partition=data
When asked, boot your device into TWRP, wipe cache and your partion. Then go into advanced and start sideload mode, wait for this to finish.
Supported variants
- samsung-espressowifi, which is almost identically similar to samsung-espresso3g, but with the exception that it has no modem.
Alternative install
In your PC, type these commands to generate and export the flashable installation (defaults flashing to /system partition), please see this section for more details:
pmbootstrap install --android-recovery-zip
adb push /tmp/postmarketOS-export/*.zip /sdcard/
Then, go to TWRP and flash the installation.
Display
OMAPDRM works fine.
Display seems to be running at 45Hz due to the clock speed for 60Hz not working properly.
DOWNSTREAM 3.1 KERNEL (WORKS ON ALL SAMSUNG GALAXY TAB 2 DEVICES)
What partially works:
- WiFi (using nmcli on the terminal, somehow nm-applet password prompting does not work)
Not tested or does not work:
- See https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Tab_2_10.1_(3G_and_Wifi)_(samsung-espresso10) for unified.
- See https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Tab_2_7.0"_(samsung-espresso3g) for espresso3g/espressowifi 7" inch only.
- 10 inch uses a different display panel. Work is being done to unify all the Samsung Galaxy Tab 2 7.0 and 10.1 devices into the mainline kernel, but we need testers.
Version Information· Known issues (will fix in the next release):
- NetworkManager applet does not prompt a password. Have to type network connection via the command line.
- Action buttons (Login, Shutdown, Reboot, etc.) do not work. Have to reboot or shutdown via the command line.· Other things that will be included in the next release:
- Make a desktop shortcut opening a browser linking this XDA thread.
Status: Testing
Created 2020-10-02
Last Updated 2020-10-02aat596
Senior Member
Screenshots
aat596
Senior Member
Boot from sdcard
There is a way to run PostmarketOS on a Micro SD Card (an easy but a little bit dirty way):
What you have to do:
- Download my XFCE 2.0 img file HERE and burn the img to the Micro SD Card (using an image USB writer program). You can also instead write your own image to the Micro SD Card using pmbootstrap: pmbootstrap install --sdcard=/path/to/sdcard
- Download the FAKE pmOS zip HERE. It's a sample zip file to avoid errors of the initial script installer. Then, push it to the tablet using `adb push` and then flash it.
- Your device must have TWRP recovery installed. So, go to TWRP recovery now.
- WIPE /system partition (where sample postmarketOS is installed).
- Insert your Micro SD Card to your tablet.
- Reboot and enjoy!
aat596
Senior Member
aat596
Senior Member
Mighty
Senior Member
aat596
Senior Member
zer0_Clover
Senior Member
the ui feel a bit outdated but good work!
aat596
Senior Member
XFCE is one of the Desktop Environments that you can choose on PostmarketOS installation. In this device, it is the most stable for me.
Edit: Like you said, maybe if I have time, could install a theme for XFCE to modernify it.Mighty
Senior Member
aat596
Senior Member
Mighty
Senior Member
Anyway except for Linux OS on the PC (i mean i can use a VM) but most people have windows on their computers so they wont install Linux to just install something on their tablet
---------- Post added at 10:43 AM ---------- Previous post was at 10:11 AM ----------
well just read ur installation guide and it can be done on Windows using adb (usb charger needed)
idk if i can just paste it into my tab and flash it
Will keep u updated once i install itzer0_Clover
Senior Member
XFCE is one of the Desktop Environments that you can choose on PostmarketOS installation. In this device, it is the most stable for me.
Edit: Like you said, maybe if I have time, could install a theme for XFCE to modernify it.Mighty
Senior Member
UPDATE: i copied it to my tab to /sdcard and tried installing, it shows failed to mount system(device or resource busy)
i cannot sideload using adb as my pc dosent detect it
now im going to use adb on my tab and try to sideload---------- Post added at 12:51 PM ---------- Previous post was at 12:47 PM ----------
---------- Post added at 12:56 PM ---------- Previous post was at 12:51 PM ----------
Ok so i just restarted even though it showed me error failed to mount system(device or resource busy)
AND IT WORKED
bugs (i will edit this as i find out)-
-brightness slider dosent work
-ui in some places is blurry
-booting into twrp causes the os to be removed(i needed to reflash it)
-cant click on my wifi and put the password
-if u logout there is no keyboard to log in againoverall this can be improved greatly
thanks for making it!!Mighty
Senior Member
Note: PostmarketOS is in development. It cannot be used as a daily driver in this device (yet).
See README of installation HERE
- Booting
- Display
- Modern browsers (only midori)
- WiFi (using nmcli on the terminal, somehow nm-applet password prompting does not work)
- Bluetooth
- Rotation
- Other modern browsers
- Everything else
Version Information
Status: TestingCreated 2020-10-02
Last Updated 2020-10-02aat596
Senior Member
aat596
Senior Member
UPDATE: i copied it to my tab to /sdcard and tried installing, it shows failed to mount system(device or resource busy)
i cannot sideload using adb as my pc dosent detect it
now im going to use adb on my tab and try to sideload---------- Post added at 12:51 PM ---------- Previous post was at 12:47 PM ----------
---------- Post added at 12:56 PM ---------- Previous post was at 12:51 PM ----------
Ok so i just restarted even though it showed me error failed to mount system(device or resource busy)
AND IT WORKED
bugs (i will edit this as i find out)-
-brightness slider dosent work
-ui in some places is blurry
-booting into twrp causes the os to be removed(i needed to reflash it)
-cant click on my wifi and put the password
-if u logout there is no keyboard to log in againoverall this can be improved greatly
thanks for making it!!aat596
Senior Member
I'm trying to fix at least the WiFi issue, because you can only connect with nmcli.
I only distribute the XFCE image, but I'm also trying to fix some TODO issues (most important ones, it's not worth to spend a lot of time on an outdated 3.x.x kernel) and making a prettier desktop environment.
So. of course is not the end. In fact, there's so much work to doMighty
Senior Member
I'm trying to fix at least the WiFi issue, because you can only connect with nmcli.
I only distribute the XFCE image, but I'm also trying to fix some TODO issues (most important ones, it's not worth to spend a lot of time on an outdated 3.x.x kernel) and making a prettier desktop environment.
So. of course is not the end. In fact, there's so much work to do
Wow still working on an 8 year old device I'm amazed!! Thanks a lot
Also im using it on espresso3g (if that helps u fix bugs)
I am more than happy to test this (cant tell battery info my battery is old and dosent work properly) but other features and issues i will try and tell you!
I would also love to help develop it but I have no clue on how the code for a custom OS works and i guess it requires Linux and a beefy computer
All the best and thanks!aat596
Senior Member
New version 2.0
Login info:
User: samsung
Password: samsung
What includes in this release (v2.0):Known issues (will be fixed in the next release):
- NetworkManager applet does not prompt a password. Have to type network connection via the command line.
- Action buttons (Login, Shutdown, Reboot, etc.) do not work. Have to reboot or shutdown via the command line.Kernel can be installed via pmbootstrap flasher flash_kernel after entering flash mode. To install rootfs add deviceinfo_flash_sparse="true" to the deviceinfo file. If you want to install to USERDATA partition use the partition name USER.
THESE IMAGES ARE TESTING ONLY. THEY ARE NOT BATTERY-OPTIMIZED AND THE TABLET GETS HIGH TEMPERATURE EASILY. USE AT YOUR OWN RISK, AND POWER OFF THE TABLET COMPLETELY IF NOT USING IT.
How hpagseddy get camera working
Right now it's not usable for daily use, just for testing camera quality and checking if camera is working or not. I used "motion" package from alpine linux to capture pictures. If you want to test it too, just use "apk add motion" command to install that package. Then simply type "motion" and it will start capturing pictures nearly every second. If it doesn't capture pictures or pictures are just black squares then your camera isn't working. For opening pictures, i used feh image viewer to view images but every gallery app works great.
How to get WiFi working
Install linux-firmware-mrvl to get the necessary firmware files, reboot the device after install. Run sudo ifconfig mlan0 up , then configure wpa_supplicant :
Note: You need to turn rndis0 off using sudo ifconfig rndis0 down if you used USB Internet. Also remove usb_internet.start from /etc/local.d . If starting the service didn't work, start wpa_supplicant manually with:
You might need to kill the existing process if the wpa_supplicant service fails to start (find it for example with htop).
You can also use NetworkManager, stop and disable wpa_supplicant ( sudo rc-service wpa_supplicant stop ; sudo rc-update del wpa_supplicant ), and restart NetworkManager ( sudo rc-service networkmanager restart ; sudo rc-update add networkmanager ).
Battery
Fuel gauge works fine. The charger driver is WIP, if connected to usb during boot, then only it charges.
MAINLINE 5.12.1 KERNEL (ONLY WORKS ON 7-INCH SAMSUNG GALAXY TAB 2 DEVICES)
Phosh
This is no more needed, as you can unlock it with scale as 1, kept for future reference.
in /usr/share/phosh/phoc.ini.
You can revert it back to 1 to get better performance.
wlr-randr can also be used.postmarketOS - дистрибутив Linux для мобильных устройств. Целями проекта являются поддержка устройств на протяжении длительного срока и использование последних версий ПО, включая mainline-ядро Linux. В качестве основы для postmarketOS был выбран Alpine Linux - легковесный rolling-release дистрибутив, использующий musl (libc), OpenRC (init) и BusyBox.
(Имя пользователя - user, пароль - 147147)- Список пакетов: postmarketOS | Alpine Linux
- Русскоязычная комната: Matrix/Telegram
- Социальные сети: Mastodon | Lemmy | Reddit | Twitter | VK (неофициальный)
Postmarketos, замена андроиду. Это Alpine linux
Более 100 устройств грузятса (но работает не все)
Сегодня попробивал на мото ж5, прикольная ос :) попробую потом модем запустить
Вопрос к специалистам, можно ли использивать freedreno драйвер на не манлайн ялре? Какая минимальная версия ядра?
mikser120,
Понимаю. Но увы.
Вроде как то азиаты смогли запустить на нем четвертый ведроид. Но это же азиаты, они никогда не оставляют инструкций.
У меня была идейка, прикупить аппарат и кое как ломануть загрузчик. Для того что бы портануть Ubuntu Touch.
karelinars, если захотите могу удаленный доступ предоставить со всеми вытекающими думаю много людей обрадуются,линяху бы на нем запустить вообще б улёт был
mikser120,
Да пока что не надо ничего. Надо просто нанять прогеров, что бы они ломанули загрузчик.
Подскажите пожалуйста,с какой прошивки запускать,какое ядро. и в общих чертах по порядку запуска,пытаюсь на Galaxy Nexus maguro i9250 поставить,установил Lune OS на СМ 12.1 снапшот.
Специально зарегистрировался на этом прекраснейшем форуме, и ОЧЕНЬ надеюсь, что мне тут помогут.
Итак:
ОС: linux
Аппарат: Wileyfox Swift
Рассказываю максимально подробно, дабы мой пост был полезен оказавшимся в аналогичной ситуации.
1. Установил поддержку adb
1) sudo apt install android-tools-adb android-tools-fastboot -- установка adb и fastboot
2) lsusb -- просмотр устройств, подключенных по usb
3) sudo leafpad /etc/udev/rules.d/51-android.rules -- редактируем правила
4)UBSYSTEM=="usb", SYSFS=="vid", MODE="0666" -- вставляем в текстовый файл и заменяем значение vid на свое
5) sudo service udev restart -- перезагружаем udev
6) sudo fastboot devices -- проверяем подключенные телефоны по adb (если телефон в режиме fastboot)
Комп видит устройство.
Далее сделал:
sudo fastboot oem unlock
sudo fastboot flashing unlock_critical
т.е. тлефон в обеих случаях попросил на экране подтвердить действия, я выбрал YES, и загрузчик разблокирован.
target reported max download size of 268435456 bytes
sending 'boot' (480 KB).
OKAY [ 0.023s]
writing 'boot'.
OKAY [ 0.013s]
finished. total time: 0.036s
Но сам телефон как был в fastboot так и остался там. Т.е. с ним ничего не произошло.
[02:31:21] Work path [/home/myuser/.local/var/pmbootstrap]: (Просто Enter)
[02:32:09] Vendor [wileyfox]: wileyfox
[02:32:26] Device codename [crackling]: crackling
[02:32:39] Kernel [mainline]: mainline
[02:32:54] Enable this package? (y/n) [y]: y
[02:33:07] Username [superman]: superman
[02:33:15] User interface [weston]: weston
[02:33:42] Change them? (y/n) [n]: n
[02:33:53] Extra packages [nano]: nano
[02:34:04] Use this timezone instead of GMT? (y/n) [y]: y
[02:34:16] Device hostname (short form, e.g. 'foo') [wileyfox-crackling]: wileyfox-crackling]
[02:34:31] Zap existing chroots to apply configuration? (y/n) [y]: y
Спрашивает пароль для sudo, ввожу, и получаю Done.
Теперь ввожу: pmbootstrap install
В результата Done
Ну и соответственно подключаю устройство, и ввожу: pmbootstrap flasher flash_rootfs
[02:49:14] (native) flash rootfs image
[02:49:16] (native) install avbtool
Sending sparse 'userdata' 1/3 (247988 KB) OKAY [ 7.780s]
Writing 'userdata' OKAY [ 41.606s]
Sending sparse 'userdata' 2/3 (262141 KB) OKAY [ 8.249s]
Writing 'userdata' OKAY [ 21.880s]
Sending sparse 'userdata' 3/3 (80004 KB) OKAY [ 2.539s]
Writing 'userdata' OKAY [ 6.347s]
Finished. Total time: 88.405s
После всего этого в fastboot выбираю вход Start и телефон снова перезапускается в fastboot.
Из наблюдений, на экране даже после удачной команды sudo fastboot flashing unlock_critical белым фоном горит Secure Boot - enabled
Хотя ниже строкой: Device State - unlocked
Подскажите пжс что не так, подсознание подсказывает, что что-то пошло не так с sudo fastboot flash boot lk2nd.img, так как после этой команды перестал работать Recovery.
My progress: I compiled the kernel successfully (from santos10-dev on GitHub), however due to the initramfs being compressed with gzip in postmarketOS the kernel crashes with RAMDISK: gzip decompressor not configured! , so I enabled CONFIG_RD_GZIP , but now the kernel won't load at all (on both of my tablets). I also tried the maximum-attention hook because the 3g variant has a vibration motor but nothing happened and to be sure that the hook works I took the script from the hook and tried it in TWRP out and it vibrated.
The next thing I did is analyze the boot.img from postmarketOS and LineageOS (from nels83) and noticed that the boot.img contains a file called ramdisk . In the LineageOS boot.img the ramdisk is compressed with LZMA and in the postmarketOS boot.img the file is compressed with gzip, but the kernel crashed with the gzip-compressed ramdisk, so the kernel did load, right?
I also made a 619k ohm UART adapter and I'm getting output but after the logo shows on the tablet nothing more will output. The pmOS wiki says that I need to add console=ttyS0,115200n8 to CONFIG_CMDLINE but in TWRP and LineageOS, there is no ttySX in /dev, so I enabled serial-related kernel configs and still nothing :/
Im not good at programming and running native Linux on this tablet would be so cool! And due to this tablet having MHL this could be a really nice portable PC (even though it only has 1GB of RAM. )
Here are a few logs I got:
Ungeskriptet
Senior Member
F4DiS
New member
Ungeskriptet
Senior Member
You might be looking at the 3G version. The Wi-Fi port also works on the 3G variant (and LTE maybe?) but it really isn't usable with X11 right now although wayland seems to work somewhat fine without HW acceleration. I could only find GPU drivers for ARM for this tablet since it is x86 and has a PowerVR GPU.
F4DiS
New member
great, 3g version is what i have. and i dodnt noticed when wiki page mooved to "boot successful" category, sorry.
but my question is when i am executing the instruction of installation via pmbootstrap i'm being asked for device codename, neither santos103g not p5200 there, but santos10wifi. so if i have 3g version, should i use santos10wifi or what? sorry my bad english and stupid questions
oh sorry ive didnt notice that sign on santos103g wiki page saying the installation is the same
Ungeskriptet
Senior Member
Select the Wi-Fi version. The 3G version uses the same kernel and the only thing that won't work is 3G.
I recommend you to use Weston if possible, as it is the best working graphical environment. Gnome also uses Wayland so it should be also good, but currently it won't start (haven't figured it out yet).
F4DiS
New member
great, thanks very much for your work. btw what user interfaces can i have working? you said wayland so i've tried plasma-bigscreen and stuck at "Loading. " however weston wokrs well.
Ungeskriptet
Senior Member
Your only option is Weston for a usable interface at the moment and AFAIK plasma-bigscreen is for TVs.
karimwassim
Member
hi ,
i'm sorry but i did not understand how to install in my TAB 3 wifi
can some one share the install process because realy intersting about this project.
Ungeskriptet
Senior Member
First you need to have Linux installed on your PC/in a VM (if you use a VM, you need to setup USB forwarding), I recommend you installing Manjaro XFCE.
Once you are booted into Linux, follow these steps:
1. Install pip from your package manager:
For Arch Linux (and Manjaro): sudo pacman -S python-pip
For Debian (and Ubuntu, Linux Mint, Pop OS): sudo apt-get install python3-pip
2. Install pmbootstrap with pip:
pip install --user pmbootstrap && source ~/.profile
2. Option: Install with Pamac (GUI method, preinstalled on Manjaro)
Launch Pamac → 3 Dots → Preferences → Third Party → Turn on "Enable AUR support", "Check for updates" and "Check for development packages updates"
Search for pmbootstrap and install it.
In nmtui:
Activate a connection → Select your network → Type your Wi-Fi password → Quit nmtui
When connected, unplug the cable.
karimwassim
Member
karimwassim
Member
i get this errors in log file when generating the image :
/home/wintosh/.pmbootstrap/chroot_rootfs_samsung-santos10wifi --cache-dir /home/wintosh/.pmbootstrap/cache_apk_x86 --initdb --arch x86 add alpine-base
EDIT:
i was it using Windows subsystem for Linux (WSL) and it's not compatible
kls0e
New member
Ungeskriptet
Senior Member
@kls0e I'll try mainlining the device (after I mainlined GT-I9100G or not) with this kernel. This could fix many problems like X11
kls0e
New member
philip_rhoades
Senior Member
- I am assuming that the device is connected to the Linux (Fedora in my case) computer via USB:
- and nothing else happens on the computer or the tablet . . I was expecting that pbmbootstrap would find the USB-connected tablet and do the flashing . .
BTW, I have not installed TWRP - the native download mode should be OK?
Ungeskriptet
Senior Member
- I am assuming that the device is connected to the Linux (Fedora in my case) computer via USB:
- and nothing else happens on the computer or the tablet . . I was expecting that pbmbootstrap would find the USB-connected tablet and do the flashing . .
BTW, I have not installed TWRP - the native download mode should be OK?
Hmm. Seems like your tablet isn't being recognized by pmbootstrap.
Does your tablet show up in lsusb or dmesg on your PC when connected via USB?
TWRP isn't neccessary for postmarketOS unless you flash it via a recovery ZIP, so thats not the issue.
philip_rhoades
Senior Member
Hmm. Seems like your tablet isn't being recognized by pmbootstrap.
Does your tablet show up in lsusb or dmesg on your PC when connected via USB?
TWRP isn't neccessary for postmarketOS unless you flash it via a recovery ZIP, so thats not the issue.
OK, so the tablet booted up happily with pmOS ! I played around with the tk stuff for a while and was able to start Wayland terminals, and the screen looks very nice - but I can't do much with it because I can't get access to anything else and no visual keyboard pops up . .
Also, although it still showing up on my LAN as 192.168.1.105, I can't even ping it, let alone ssh to it . . but still - some progress! I am happy that I have made it this far but is there more that can be done with the tablet now?
I should write out my variations on using Fedora and clarifying some steps too . .
myusernamemustbeunique
New member
hey people, i recently tried setting up postmarketOS on Samsung Galaxy Tab 3 10.1 and i am facing the same problem as philip, but changing the usb cables and trying to flash from other computers (other linux mint, and ubuntu) did not help.
i am new to this and just started with postmarketOS trying to use the old samsung device without google stuffs.
tldr: use "Power + Volume Down"!
usb debugging is activated and pmbootstrap installed/prepared as described above by Ungeskriptet.
(Edit: I wasnt following the guide accordingly, i pressed "Power + Vol Up" instead of "Power + Vol Down". )
i am using Linux Mint 20.2 Cinnamon btw.
when doing "pmbootstrap init" multiple times (to make sure everything is set up fresh) i am also asked for "Zap existing chroots to apply configuration? (y/n) [y]: _ "
-- is it fine to just "y" there?
so moving on to flashing i am receiving same as philip:
however "lsusb" doesnt show any Samsung device
but "dmesg" displays a lot including:
-- the same without the line "USB disconnect, device number 10" does appear when starting the tablet in original android - so i would say, the usb cable is working
deviceinfo
from the wiki i already tried setting the deviceinfo "deviceinfo_flash_fastboot_vendor_id="04e8" "
in "~/.pmbootstrap/cache_git/pmaports/device/testing/device-samsung-santos10wifi/deviceinfo"
-- but i am still "waiting for any device"
and the wiki of deviceinfo states as obsolete options:
last solution from wiki with "pmbootstrap shutdown" did not help either
but some different output at dmesg was produced (dont know it it really was because of pmb shutdown):
when starting the tablet with power+vol [*edit: Vol Up] i am seeing "Android system recovery " quit fast ..is this where i need to start the "pmbootstrap flasher flash_kernel"? (i also tried starting the flasher and waiting for the device when booting using power+vol.. ending up with the same result)
and in the background i can see "Kein Befehl" + the green Android thing with a warning in its open "stomach"
additionally the battery (the original already "gave up" and was replaced earlier) shows a sign for two days now displaying a red cross in the battery icon, and it has not been loading since then, just reducing its capacity to 35% at the moment ..so time is kind of running out soon :x -- it was loading fine when not activated and running android.
__________
do you have any idea what i am doing wrong?
thanks for your help!
ps: sorry for the long post, i just wanted to give you all information needed..
myusernamemustbeunique
New member
usb debugging is activated and pmbootstrap installed/prepared as described above by Ungeskriptet.
[. ]
when starting the tablet with power+vol[up] i am seeing "Android system recovery " quit fast ..is this where i need to start the "pmbootstrap flasher flash_kernel"?
Answer: No!
I was just too stupid. I pressed "Power + Volume Up" so I entered the recovery mode. ._.
(-> So it has not been "prepared as described above" (using "Power + Volume Down") and that was the fault.)
Sorry for the troublemaking.
And thanks a lot for the guide, @Ungeskriptet !
I will now step into installing packages for firefox, visual keyboard, etc. .
-> Do you have any recommodation for setting up the keyboard?
What works
See devicetable on the right.
- Booting off a microSD card
- Booting from system partition using Android recovery ZIP option
- Physical buttons
- Touch keys
- Backlight brightness
- Battery indicator
- Wayland
- X11
- Front and back Camera (/dev/video0 - front camera, /dev/video1 - back camera)
- Sensors
- Bluetooth (only shows available devices. Still looking for a way to connect to a device)
rootfs
There are 2 ways to go about installing the rootfs, depending on where you want to install it to.
pmbootstrap install --sdcard=/dev/sdX
Make sure to specify the mountpoint of the sdcard plugged into your computer.
- For installing on the internal filesystem use:
pmbootstrap install --android-recovery-zip
pmbootstrap flasher --method=adb sideload
By default this will install on the (fairly limited) 1GB /system partition.
To specify a different partion (for example the 8/16 GB /data partition), add --recovery-install-partition=data to the first line.
- For installing on the internal /data partition use:
pmbootstrap install --android-recovery-zip --recovery-install-partition=data
When asked, boot your device into TWRP, wipe cache and your partion. Then go into advanced and start sideload mode, wait for this to finish.
About GPU
The GPU is Vivante GC1000 which has open source drivers but we can't get it work yet. The reverse engineered driver is called etnaviv and the compiling process is a little bit complex. If anyone figures it out don't forget to tag @hpagseddy at postmarketos matrix server. Galaxy tab 4 7.0 have same GPU, and plasma mobile seems to work better with hw acceleration, but OpenGL is failing.
Wayland works, but you may get better battery life with X11 (tested gnome vs mate).
Top Liked Posts
My progress: I compiled the kernel successfully (from santos10-dev on GitHub), however due to the initramfs being compressed with gzip in postmarketOS the kernel crashes with RAMDISK: gzip decompressor not configured! , so I enabled CONFIG_RD_GZIP , but now the kernel won't load at all (on both of my tablets). I also tried the maximum-attention hook because the 3g variant has a vibration motor but nothing happened and to be sure that the hook works I took the script from the hook and tried it in TWRP out and it vibrated.
The next thing I did is analyze the boot.img from postmarketOS and LineageOS (from nels83) and noticed that the boot.img contains a file called ramdisk . In the LineageOS boot.img the ramdisk is compressed with LZMA and in the postmarketOS boot.img the file is compressed with gzip, but the kernel crashed with the gzip-compressed ramdisk, so the kernel did load, right?
I also made a 619k ohm UART adapter and I'm getting output but after the logo shows on the tablet nothing more will output. The pmOS wiki says that I need to add console=ttyS0,115200n8 to CONFIG_CMDLINE but in TWRP and LineageOS, there is no ttySX in /dev, so I enabled serial-related kernel configs and still nothing :/
Im not good at programming and running native Linux on this tablet would be so cool! And due to this tablet having MHL this could be a really nice portable PC (even though it only has 1GB of RAM. )
Here are a few logs I got:
First you need to have Linux installed on your PC/in a VM (if you use a VM, you need to setup USB forwarding), I recommend you installing Manjaro XFCE.
Once you are booted into Linux, follow these steps:
1. Install pip from your package manager:
For Arch Linux (and Manjaro): sudo pacman -S python-pip
For Debian (and Ubuntu, Linux Mint, Pop OS): sudo apt-get install python3-pip
2. Install pmbootstrap with pip:
pip install --user pmbootstrap && source ~/.profile
2. Option: Install with Pamac (GUI method, preinstalled on Manjaro)
Launch Pamac → 3 Dots → Preferences → Third Party → Turn on "Enable AUR support", "Check for updates" and "Check for development packages updates"
Search for pmbootstrap and install it.
Note: PostmarketOS is in development. It cannot be used as a daily driver in this device (yet).
See README of installation HERE
Similar threads
Breadcrumb
What does not work
- Cellular networking(not exist on some models)
- 2D and 3D Acceleration
- Audio
Everything else is untested as of writing this.
Camera
OMAP4 has different subsystem (Ducati) for camera which is non free. Probably will never work on mainline.
Status
wlroots
Copy the apkbuild directory from the repo into your pmaports dir and rename it to p-wlroots. Then add "p-wlroots" as an extra packages during pmbootstrap init.
To achieve this, download the directory from here and uncompress it. Then: $ cp -r ~/Downloads/p-wlroots-master-apkbuild/apkbuild/ ~/.local/var/pmbootstrap/cache_git/pmaports/temp/p-wlroots
Now, do the usual `pmbootstrap` installation, but selecting `p-wlroots` as an extra package.
MAINLINE 5.15.1 KERNEL ALSO AVAILABLE (ONLY WORKS ON 7-INCH SAMSUNG GALAXY TAB 2 DEVICES)
- Booting
- Display
- Modern browsers (well, kinda)
- WiFi
- GPU (non-free SGX drivers)
- Bluetooth (only fbkeyboard image, in Phosh and Sway does not work)
- Rotation
Not tested or does not work:
3D GPU Acceleration
3D acceleration works fine. SGX540 blobs also seem to be missing some EGL configs, so UIs like plasma-mobile do not work. Video decoding does not work as it is done by Ducati subsystem.
kernel
After the rootfs is installed, insert the SDcard (if you used this) and boot the device into download mode. run pmbootstrap flasher flash_kernel This will flash the kernel to the device and reboot it. If you land in TWRP, just go to reboot and click system. It might complain about missing an OS, but do not worry! You should see some tuxes and be dropped in the OS!
Читайте также: