Byzantium backports unofficial

Thanks for the help, let me see and try it again. at point 4, you don’t get the auto reboot(sometimes I get auto reboot, and if that happens, it is done, sometimes I don’t get the reboot, then I can stay on the screen until manual reboot),

is systemd-resolved and systemd-container installed after the point 11 or right after point 4(assume i don’t get the automatic reboot)

is the ssh a must? I have trouble to login, keeps getting timeout. I have enabled ssh, installed(server and client) remote and client devices. but just can’t login.

1 Like

@galilley
Can you try without using ssh and see if it makes a difference?
Because I followed your steps ( - ssh) and it didn’t work.
So I don’t know what is wrong.

2 Likes

I am trying now too with ssh. ha

Nope, didn’t not work. either. I ssh in, and did two dist-upgrade. reboot, black login screen login again. I ssh in again, did apt install , but no internet access even though I saw it showed on my wifi router admin page. I am going to try the same process again, and install iwconfig to scan and connect again from the ssh and see if I can do sth from there. I think the main problem is now even the phosh is installed(did two dist-upgrade), still the black console screen after reboot.

Update! tried second time with the process, after two dist-upgrade, log says
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. which is good. Everything works except after reboot still black console login screen. I just realize this. since it is the consle login after the reboot, is it the display manager not working for login display? what is the librem5 pureos display manger?

Update 2!
so I can ssh in, so I am trying to see the display manager or whatever that is called. I think it is phosh? I compared my working phone to the one that just upgrade the backdrop.

left the phosh service errors out after the backdrops applied, the right side is the old phosh 32, anyone knows what the next step might be?

3 Likes

Could you do it again and document everything you do (example: do you reboot after your first updates? before applying the backports
Because I am copying your instructions to a T but it is not working.

2 Likes

@ASywD2, do you have the display manager fail after the second dist-upgrade against backdrop repo reboot? which only has a console login screen, i have to ssh in to browser, and phosh is not workinf at that moment as my screenshot shows above.

1 Like

Could you run journal -rb and looking for the reasons of phosh crash? The line could be related to capsh.
You can also save the all related link:

$ sudo journalctl -rb | grep capsh > crash.log

Next please provide crash.log :slight_smile:

To restore network connection you could save systemd-resolved locally and install it before the first reboot.

p.s. did you install back phosh-plugins package?

1 Like

Yes, but I need some time. I have only one L5, so, I have to be very careful :slight_smile:

I believe that using screen in gnome-terminal should works fine. The steps are the same but it does not help in the case of spontaneous reboot…

2 Likes

This is exactly what I did. I’ve fixed the original post a little bit, please let me know if I miss some details.

Which kind of fail you observe? console login, no phosh? Are you able to access remotely (ssh) and look into journalctl -rb?

1 Like

Yes, I have installed the phosh-plugins, everything works before the reboot up to the point 7 in your steps, the settings are different, online login changed. except the phosh ui itself needs the reboot to change.

I don’t see anything on capsh returns, but if I grap the phosh.service in the journalctl, I got this repeat lines.

purism@pureos:~$ cat crash.log
Jan 08 06:27:19 pureos systemd[1]: phosh.service: Triggering OnFailure= dependencies.
Jan 08 06:27:19 pureos systemd[1]: Failed to start phosh.service - Phosh, a shell for mobile phones.
Jan 08 06:27:19 pureos systemd[1]: phosh.service: Failed with result ‘exit-code’.
Jan 08 06:27:19 pureos systemd[1]: phosh.service: Control process exited, code=exited, status=203/EXEC
Jan 08 06:27:19 pureos (chvt)[1330]: phosh.service: Failed at step EXEC spawning chvt: No such file or directory
Jan 08 06:27:19 pureos (chvt)[1330]: phosh.service: Failed to locate executable chvt: No such file or directory
Jan 08 06:27:19 pureos systemd[1]: Starting phosh.service - Phosh, a shell for mobile phones…
Jan 08 06:27:19 pureos systemd[1]: phosh.service: Scheduled restart job, restart counter is at 49.(—>this is the auto restart count)


here is the command that crashes. ----> exec /usr/bin/phosh-session

● phosh.service - Phosh, a shell for mobile phones
Loaded: loaded (/lib/systemd/system/phosh.service; enabled; preset: enabled)
Drop-In: /usr/lib/systemd/system/phosh.service.d
└─librem5.conf
Active: activating (auto-restart) (Result: exit-code) since Wed 2025-01-08 06:27:40 EST; 3s ago
Docs: World / Phosh / phosh · GitLab
Process: 1366 ExecStart=capsh --noamb – -c exec /usr/bin/phosh-session
(code=killed, signal=TERM)
Process: 1367 ExecStartPost=chvt 7 (code=exited, status=203/EXEC)
Main PID: 1366 (code=killed, signal=TERM)
CPU: 22msstrong text

1 Like

This one looks like the root of the problem!
Have you really miss chvt? Could you run this command in a terminal?

This is a part of kbd package (can be checked by dpkg -S chvt), you could check the state of this package as follow:

$ apt list | grep kbd

It must be installed.

2 Likes

Update!!!
It worked. I installed kdb again, chvt folder has been shown. So for your steps up the the reboot, do another apt install kdb, then Reboot, UI appears. I am going to test out my second phone and update… Thanks.

However, I don’t have Internet anymore even if I connect to the wifi.

So two phones, made in USA and regular one have different behaviors. USA one somehow has a newer phosh installed gui is a bit different, but gnome -online-accounts doesnt work(I signed in to google Gmail, but no accounts showed up on settings), the regular one work as expected. Everything works including gnome-online-accounts

2 Likes

Great! Congratulations! :slight_smile:
I will add kbd as a strict dependency to phosh with the next update. :slight_smile:

Did you install systemd-resolved?

p.s. one more person who connect to Gmail with L5 :joy: :handshake:

2 Likes

Haha, I don’t have other mail service, all the contacts, and other accounts and jobs related stuff are linked there. Lol. Can’t really get rid of it. I also did the waydroid on my other librem.

So my steps are:

  • Install fresh image (on the phone in my case)

  • Run sudo apt update and sudo apt dist-upgrade, reboot

  • Enable ssh
    1. install openssh-server on the phone,
    2. openssh-client on the laptop
    3. Install ufw on the phone, ufw allow 22/tcp
    4. Enable remote and file sharing on the phone

  • Add backports repo and run sudo apt dist-upgrade

  • 4.1 Asked about automatic services reload, I say No in my case and manually choose yes

  • Waiting about 20 minutes

  • Get the same message about ‘tpm-udev’ and ‘libtss2’

  • Run ‘sudo apt dist-upgrade’

--------my workaround is here
Install systemd-container, systemd-resolved, phosh-plugins, pureos-theme-gnome, pureos-artwork-base, kdb, and I did the auto remove right after that.
then,

  • Reboot
  • Works for me

not working part
In case someone wants to connect to Gmail if the account is signed in but not appear on the online account, I used a different browser chromium to set as the default browser and then sign in worked.

No Internet, can’t figure out, I reflashed the whole process again, worked.

Epiphany browser crashes if I long press for copy the text.

Pureos flicks when scrolling

Convergence, the drawer background suddenly becomes transparent if you have apps on the same screen.

Thanks for the hard work.

Question, if the crimson comes, can we update directly or we have to flash back to byzantium and update from there?

3 Likes

The official installation documentation procedure for Crimson on the Librem 5 is not available yet.

1 Like

Finally, everything working now, right?

Which version installed? From where are you trying to copy text, url or page?
Could you launch it from a terminal and looking for a log messages?

Yes… Have no idea how to fix it. I home phosh will migrate to gtk4 soon and this bug will disappear.

Could be related to Phosh 0.44 as a transparency effects appear here for the first time (as far as I saw). Can not check as my usb-c connector a little bit damaged… Waiting for a spare parts :). You could report to upstream about this issue.

Thanks for testing! :wink:

I think NO because backports have really new versions of some packages (phosh and so on). Crimson based on bookworm, but I often use trixie to reach the latest phosh version and other apps.
Finally, I will try to upgrade directly but I believe that we will need a separate repo for Crimson backports :joy:

4 Likes

47.0.1 is the Epiphany browser version, I saw the 40.2 version is available, not sure if I should downgrade.

I will try to launch from the terminal tomorrow.
I think this backports version are already higher and better than crimson ha. I hope Crimson has a better system wised update. Hopefully I can purchase the ram to upgrade :D. Just installed the new wifi modem not long ago.

I always like testing new stuff. A very fun quiet. How do you guys quote the post and reply to a new reply? I don’t see the quote option, only replay button. Ha

3 Likes

Highlight any text in any post by dragging over it. You can also learn about Discourse using this command:

@discobot start tutorial
2 Likes

Sorry to say, but I found another thing break. No sound(speaker, handset, microphone), audio is broken. Which package is pureos using for audio stuff?

1 Like

Try this recipe please.

1 Like

Sorry, didn’t read your repo instruction thoroughly. I will try and reply back. Thanks

1 Like