Chris Vogel @me@chrichri.ween.de

not yet

intent

no sarcasm, no irony

hashtag

#packetfence, #yunohost, #flohmarkt, #librem5, #ShotOnLibrem5, #microblogpub, #Lite3DP, #deskhop, #espressi

matrix

@chrichri:ween.de

sourcehut

https://git.sr.ht/~chrichri/

codeberg

https://codeberg.org/ChriChri

member

@ev@social.phosh.mobi, @noybeu@mastodon.social, https://www.duh.de/

  • Notes
  • Articles
  • Remote follow
Chris Vogel's avatar
Chris Vogel
@me@chrichri.ween.de

#RabbitHole: @okias@floss.social is doing a lot work to mainstream #sdm845 patches to the #linux kernel. During a meeting of Phosh.mobi e.V. members I learned that there seem to be not many testers for #Shift6mq #axolotl. I still had a broken Axolotl sitting on my desk…

  • repaired the phone that originally had been bought as part of a #ShiftPhone8 deal
    • cleaning inside (residue from water contact)
    • new display (two lines of broken pixels)
    • new usb-c pcb (didn't charge, data broke during testing)
  • learned about edl to recover if phone wouldn't boot to fastboot anymore (yes, really had that situation later 😉)
  • learned about the difference of fastboot and fastbootd mode
  • learned about u-boot and the boot chain on the phone
  • learned about dynamic partitions used in Android and how to use them from #linux
  • learned about pmbootstrap
    • to build my own device images (mixture of existing axolotl and sdm845 to be compatible to the phone and the usage with u-boot and dynamic partitions)
    • changed pmbootstrap to build small (92M) boot image for boot_a/b partition
  • tried to get more space for out of the phone for boot & root than provided by boot_a/b and system_a/b
    • resized userdata of Android
    • created two additional partitions for postmarketOS
  • learned how to recover from kernel not booting without re-flashing
    • u-boot usb mass storage mode exports the mass storage of the phone over usb-c
    • phone connected to an aarch64 system (#Librem5 running #Mobian)
    • mounting encrypted partition, boot and what-else is needed
    • installing kernel packages via apk while in chroot on Librem5
  • learned how to compile a kernel using ./envkernel.sh and pmbootstrap

Now I'm quite sure I can recover from any failure I will encounter while testing sdm845 kernels and I have the following setup on my Shift6mq:

  • ShiftOS-L with small userdata partition in slot_b
    • applications for demoing the phone installed
    • work profile to contain closed source applications
  • postmarketOS edge installed on partitions behind userdata
    • u-boot on rescue_a
    • 1GB pmOS_boot
    • 60GB pmOS_root
    • applications for demoing
    • multi-user: my testing user, demo user
    • everything except cameras work
  • dual-boot possible on-the-go: enter fastboot (by holding vol-up at start), change slot, reboot

I put my notes on the postmarketOS wiki.

I started two merge requests:

  • support audio configuration when started through u-boot in alsa
  • add support for booting using u-boot and dynamic partitions to axolotl

I'll carry the phone at #clt2026 - Chemnitzer Linux Tage 2026 - on saturday 28th this month. I'll mostly be around the "Linux on Mobile" booth.

Chemnitzer Linux-Tage 2026 · Chemnitzer Linux-Tage 2026 chemnitzer.linux-tage.de
  • permalink
  • interact from your instance
  • 18 hours ago
  • 14 likes
  • 8 shares
  • 2 replies
Likes
@ulfi@troet.cafe @nicolef@mastodon.social @theimpulson@mastodon.social @kdieter@machteburch.social @qwertzy@mastodon.social @grote@chaos.social @IzzyOnDroid@floss.social @okias@floss.social @ondra@unextro.net @clt_news@mastodon.social
and 4 more.
Shares
@ulfi@troet.cafe @nivea@hessen.social @Elischeva91@babka.social @amartinz@mastodon.social @pt1997@floss.social @agx@ruhr.social @linmob@linuxmobile.social @chris@hallo.ween.de
nivea's avatar
nivea
@nivea@hessen.social

in reply to this object

@me @okias chapeu! shift needs more linux!

  • permalink
  • 15 hours ago
pt1997's avatar
pt1997
@pt1997@floss.social

in reply to this object

@me @okias very cool :) I also have the Shift6mq and Shiftphone 8. Do you know how can I help with testing. I have experience with Postmarket OS as I'm using it on the Pinephone Pro. I've also managed to get it running on the Shiftphone 8 but have not done much with it since.
I'll also be at CLT :)

  • permalink
  • 17 hours ago
Chris Vogel's avatar
Chris Vogel
@me@chrichri.ween.de

in reply to this object

@pt1997@floss.social @okias@floss.social hm, there's a matrix room for sdm845 mainline. I'll try to change my notes intoba state that helps to run the kernel for testing. As I undrtstood David didn't start with stuff for axolotl, yet.

  • permalink
  • 17 hours ago
Powered by microblog.pub 2.0.0+ynh2 and the ActivityPub protocol. Admin.