yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Pad 5] D6072:
I downloaded the ubuntu 23.04 image in the link you provided. But I can't extract it. I only got a 9.1GB file without any ".img" file extension name. Is it properly?
[Xiaomi Mi Pad 5] TheMagicMojoMan:
I think you are right. No .img extension because I directly dd'ed and compressed the partition in one go.

Try to flash this 9.1GB file to your desinated partition on your tablet.
[Xiaomi Mi Pad 5] TheMagicMojoMan:
I have just downloaded the 23.04 image, unpacked it and flashed the resulting file to one of my partitions. Then installed the respective boot file and rebooted and the tablet boots to Ubuntu 23.04 as expected.

I have also applied the 'sound fix' but it did not fix the sound issues on 23.04.
[Xiaomi Mi Pad 5] bigfoothart:
How can we get Arch Linux here? Also if UEFI is possible, can systemd-boot work ?
[Xiaomi Mi Pad 5] maverick_jia:
ok, I'll test it. But why is this option important?
[Xiaomi Mi Pad 5] maverick_jia:
I'm still using 22.04. Can you give me your 23.10 image to a test?
[Xiaomi Mi Pad 5] ClearStaff:
Its a standard to have this enabled on many distros as its hard dependency of systemd-binfmt, it allows to register different executable types to theirs interpreter, used for example by box86/64.
[Xiaomi Mi Pad 5] TheMagicMojoMan:
Already uploaded :)
[Xiaomi Mi Pad 5] timmy1980:
Is resuming from suspend still an issue?
[Xiaomi Mi Pad 5] maverick_jia:
It is. Any suggestions on this part?
[Xiaomi Mi Pad 5] timmy1980:
I'm afraid not, I am not at all skilled in this area. I was just curious. If I could help I would.
[Xiaomi Mi Pad 5] maverick_jia:
That's Great! I can't download them all because of the traffic limit. Can I just burn the xz file directly? How do you package ubuntu with a desktop as an image?
[Xiaomi Mi Pad 5] maverick_jia:
Thank you all the same. I always felt that there was a lack of debugging methods for the power management.
[Xiaomi Mi Pad 5] TheMagicMojoMan:
Sorry, I do not understand completely.

You should

download the Ubuntu_23.10_Nabu_desktop.xz file

then decompress it with xz -d Ubuntu_23.10_Nabu_desktop.xz. This will result in a file named 'Ubuntu_23.10_Nabu_desktop' which is about 8.8 GB in size.

Flash this to your favorite partition.

Then you need to download and flash the respective 'boot_maverick_sdaxx.img' file to 'boot_a' or 'boot_b'

(you need to use it because I have named the kernel '6.1.10-maverick_jia+' and you will have VERMAGIC mismatch with the installed modules if you use your own bootloader)

Side note: I don't know how to get rid of the '+' at the end of the kernel name, i just set CONFIG_LOCALVERSION="-maverick_jia" and CONFIG_LOCALVERSION_AUTO=n

As suggested and argued before we might change the first to CONFIG_LOCALVERSION="-nabu" for future images.
[Xiaomi Mi Pad 5] TheMagicMojoMan:
Here is the way I currently do it:

I have Ubuntu both on partitions /dev/sda32 and /dev/sda33. I prepare the system e.g. on sda33. After all is done the last step is flashing the bootloader for my image on sda32 and rebooting to it. Now (using the Ubuntu on sda32) I can shrink the size of /dev/sda33 (I use 'gparted' for that). Then after mounting /dev/sda33 I nake the compressed image file with sudo dd if=/dev/sda33 | xz -z6v > Ubuntu_xx.yy_Nabu_desktop.xz.

You could also use xz -z7v or xz -z8v or xz -z9v to get better compression ratios but it will take considerably longer.

But I think you could also use the method you have described in your blog post and just add sudo apt install -y ubuntu-desktop to the list of packages that you are installing to rootfs folder and then continue with setting up a loop device and copying all the files to it.
[Xiaomi Mi Pad 5] maverick_jia:
I see. Thank you. I will add it in the next release. Box 86/64 is very interesting.
[Xiaomi Mi Pad 5] maverick_jia:
This is a very clever way. I have never thought of a good way to save a desktop image.
[Xiaomi Mi Pad 5] TheMagicMojoMan:
Just a quick thought:

If you have black screen after booting the Ubuntu images I have provided than please try to format your partition to ext4 before flashing the image to it.

(I am currently very confused because I am sure a user named "do not want to fastboot" or something similar reported that problem and I have answered him but now I cannot find that conversation here or elsewhere anymore.

Is it my age that makes me start forgetting things?!? :oops: ) → was in 'Conversations'
[Xiaomi Mi Pad 5] TheMagicMojoMan:
I just saw that about 3 weeks ago they managed to get Armbian working on the Xiaomi Pad 5 Pro with kernel 6.5.9. Maybe/hopefully we can learn from this!

[ROM][Armbian]Armbian for Xiaomi Pad 5 pro is on the way

[Update on 2023.11.28] Armbian has official support for xiaomi pad 5 pro now: https://www.armbian.com/xiaomi-pad-5-pro/. Armbian's release has kernel 6.6.1. And here is a not-yet-released build with kernel v6.7-rc2 which adds usb role switch and...

xdaforums.com
[Xiaomi Mi Pad 5] ClearStaff:
Well if it comes to non-Ubuntu OSes i did actually made a newest Fedora ARM image for Nabu. Its in OEM mode, its resizing rootfs automatically, and i did some benchmarks and its performing better than Ubuntu.
[Xiaomi Mi Pad 5] TheMagicMojoMan:
Well done!

What does that mean?

And what kernel version does your image use and where can we download it to take it to a test?
[Xiaomi Mi Pad 5] ClearStaff:
OEM mode means no predefined user account, account is created with wizard on the first boot, for now 6.1.10, same as maverick except different defconfig. I'll upload image and current defconfig in this week when i will be on non-metered connection.
[Xiaomi Mi Pad 5] D6072:
Tested the latest Ubuntu 23.10 image.

The sound is fixed and it's not too loud anymore. I have played a video which has H.264 MPEG-4 codec. Its audio is hearable and clear.

The video is found on a Chinese website: https://www.bilibili.com/video/BV1au4y1L7am

You guys can play it on your tablet.(By the way, I made this video😊)

Music playback is also improved a lot (but sometimes it still sounds glitchy).

Again, thanks for your hard work to make our port become better and better!💪
[Xiaomi Mi Pad 5] LesGaR:
Wow!! Great job

You are use Efi boot for this fedora image? or use boot.img?

I try to boot fedora in nabu form efi since 2 weeks, but not work. Grub is working an image preboot, but screen not work. Maybe kernel or firmware missing.

Can you attach kernel and firmare are using? or some intructions to compile it myself.

Thanks in advance
[Xiaomi Mi Pad 5] ClearStaff:
I'll post image alongside instruction how to make it when i'll have better internet available. No EFI at all, just plain boot image.
[Xiaomi Mi Pad 5] maverick_jia:
This is Mi tablet 5pro. I just read the kernel DTS file, many are the same. same as my kernel is based on map220v's kernel, this kernel should also be based on some amazing person's version.

Now I list some differences:

This kernel has a fast charge chip driver, but this chip is different from the Xiaomi Tablet 5. When I'm ready to add the fast charge chip driver, I think I can refer to it.

My kernel has RTC, USB OTG, xiaomi keyboard and pm8150 charge/fuel gauge drivers, which is my main changes in my kernel.
[Xiaomi Mi Pad 5] maverick_jia:
I'm looking forward to it！you can open a new forum and let more people see it:).

We should do the same thing on the Ubuntu too, right?@TheMagicMojoMan
[Xiaomi Mi Pad 5] ClearStaff:
To do this on Ubuntu Starting from 23.10 you just need to not create user account and if its still not working edit InitialSetupEnable=True to /etc/gdm/custom.conf/daemon.conf
[Xiaomi Mi Pad 5] TheMagicMojoMan:
Wow, that sounds easy:) I'm gonna give it a try later ...
[Xiaomi Mi Pad 5] ClearStaff:
You might want to configure screen on your tablet then copy over ~/.config/monitors.conf to /etc/skel/.config and to /var/lub/gdm3/.config so loginscreen and new user starts with correct scaling.
[Xiaomi Mi Pad 5] TheMagicMojoMan:
I'll try that! These kind of tips are worth their weight in gold. Thank you so much!!!

Can you post your resize2fs.service script as well? I don't know exactly how this works, yet. Is there something like a "after-first-login" hook (is "hook" the correct word in that context)?

We also need to add

# Firefox wayland
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
export MOZ_ENABLE_WAYLAND=1
fi

to the .profile of the user after it is created. That way Firefox starts in wayland mode which means that one-finger scrolling and pinch-to-zoom with two fingers is enabled.
[Xiaomi Mi Pad 5] TheMagicMojoMan:
Just for completeness: Armbian running on the Xiaomi Pad 5 (6.1.10-maverick_jia kernel).

(I do not plan to invest more time into it because it is based on Ubuntu Jammy with its known quirks).
[Xiaomi Mi Pad 5] ClearStaff:
I'll check later (after work) how ubuntu initializes profile, we might be able to export it using /etc/profile.d/ or /etc/profile, i don't think we really need to check for XDG_SESSION_TYPE on Nabu, we are always going to use Gnome on Wayland Session, and if i recall correctly on newest firefox if we MOZ_ENABLE_WAYLAND=1, it still checks if there is wayland display available and if not it should fall back to X11.

So options:

1. Add bashrc to /etc/skel,

2. Add MOZ_ENABLE_WAYLAND=1 to /etc/profile or somewhere in /etc/profile.d (i would prefer profile.d, would be easier to create package with settings stored in separate files)

The only disadvantage of option 2 is that im not sure if we can do if statement and check for session type here, but it should not be needed on nabu
[Xiaomi Mi Pad 5] D6072:
That's cool 😎! This means we will have another Linux distribution to use?
[Xiaomi Mi Pad 5] TheMagicMojoMan:
I started from scratch with the ubuntu-base-23.10-base-arm64.tar.gz file. InitialSetupEnable=True is added to /etc/gdm/custom.conf in the [daemon] section.

Unfortunately, I cannot make it run:
[Xiaomi Mi Pad 5] ClearStaff:
Hmmm.. can you check if root is mounted read-write? On Arch i couldnt start GDM because my root was mounted read-only. If that's the case add entry for root in /etc/fstab, also you can try to remove InitialSetupEnable from custom.conf, i had to add it on Arch but on Ubuntu it was not needed if i recall correctly.

Also my guide for Fedora is 50% written, i'll upload it on this week when im done, some things should be useful on Ubuntu too.
[Xiaomi Mi Pad 5] LesGaR:
Ok. I wait until you have time and better internet connection. I don't asking for ETA.

Only I like to try you fedora version because now I installed fedora UEFI bootloader in windows EFI folder and now can access to grub and boot fedora, but screen not work.

I try it with ubuntu, but no success.
[Xiaomi Mi Pad 5] LesGaR:
If I not wrong, to boot ubuntu it's necessary flash boot.img and erase dtbo in same slot.

If can be install kernel in UEFI, erase dtbo isn't necessary, upgrade kernel maybe it's easier and we can use both slots.

What's do you think?
[Xiaomi Mi Pad 5] I dont wanna fastboot:
Yes, It's me I am going to try it but I found the original tutorial has been removed for some reason😥. Tomorrow I will try again with my memory. Hope I can make it😬
[Xiaomi Mi Pad 5] maverick_jia:
I found a solution to the problem of cracked sound on ubuntu 22.04.

1. speed up I2C7

&i2c7 {
status = "okay";
clock-frequency = <1000000>;

cs35l41_br: cs35l41@40 {
compatible = "cirrus,cs35l41";
reg = <0x40>;
interrupt-parent = <&tlmm>;
interrupts = <81 IRQ_TYPE_LEVEL_LOW>;
reset-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH>;
#sound-dai-cells = <1>;
sound-name-prefix = "BR";
cirrus,boost-peak-milliamp = <4000>;
cirrus,boost-ind-nanohenry = <1000>;
cirrus,boost-cap-microfarad = <15>;
cirrus,asp-sdout-hiz = <3>;
cirrus,gpio2-src-select = <4>;
cirrus,gpio2-output-enable;
};

2.copy firmwares:

maverick@mipad5:~$ ls /lib/firmware/cirrus/
cs35l41-dsp1-spk-cali.wmfw cs35l41-dsp1-spk-prot.wmfw

3. run following commands

load DSP firmware

amixer sset "BR DSP1 Preload",0 on
amixer sset "BL DSP1 Preload",0 on
amixer sset "TR DSP1 Preload",0 on
amixer sset "TL DSP1 Preload",0 on

link DSP

amixer sset "TR PCM Source",0 DSP
amixer sset "TL PCM Source",0 DSP
amixer sset "BR PCM Source",0 DSP
amixer sset "BL PCM Source",0 DSP

connect QUAT_TDM_RX_0 to MultiMedia1, alsamixer is no needed

amixer sset "QUAT_TDM_RX_0 Audio Mixer MultiMedia1" on

I think it would be better to write all of the above configuration to the appropriate files in the /usr/share/alsa/ucm2/ directory.

4.Enable PipeWire and Disable Pulse Audio Server

https://trendoceans.com/enable-pipewire-and-disable-pulseaudio-in-ubuntu/#google_vignette
[Xiaomi Mi Pad 5] ClearStaff:
I have a small setback with creating guide for Fedora image, DNF is not working properly either using chroot or systemd-nspawn which means i can't really add tqftpserv and pd-mapper into image without resorting to emulating whole system in qemu which is not fine... do you have any problems using apt in emulated environment or it is just fedora doing pranks on me?
[Xiaomi Mi Pad 5] D6072:
That reminded me when I was trying to port a Alpine Linux to my Apple Silicon MacBook. If we have issues with an emulated environment, you can try the same thing in an arm64 native environment. In fact, I tried using APK in the chroot on my Apple Silicon MacBook with Fedora Workstation 39. And it's good. 👍😊

Also, you can share your logs with us, maybe someone can help you!
[Xiaomi Mi Pad 5] ClearStaff:
Nah its just that dnf takes 1 hour to just install pd-mapper in qemu-user-static. I'll try to take a workaround with installing some rpms on first boot.
[Xiaomi Mi Pad 5] TheMagicMojoMan:
I have finally succeeded in making an Ubuntu image from 23.10 ubuntu-base. I have also tried the above and found out the following:

It does not change the initial setup. It is in portrait mode and normal scaling (small letters; see image below)

When you add monitors.xml to /var/lib/gdm3/.config login screen looks like expected after restart (in my case landscape mode and 200% scaling). Nice!

When you add monitors.xml to /etc/skel/.config strange things happen: screen keyboard is missing and cannot be turned on in settings, same with some other settings. And all settings are lost after reboot. So, don't do it!
[Xiaomi Mi Pad 5] TheMagicMojoMan:
I had a lot of trouble with apt in emulated environment the last two days which resulted in my last attempts of building an image based on ubuntu-base 23.10 all failing.

This changed when I started using arch-chroot script to chroot into my rootfs folder. It still shows some errors when I install packages (errors are related to /bin/dpkg) but now my builds are working.
[Xiaomi Mi Pad 5] ClearStaff:
Hmm.. /etc/skel doesnt have any problems on Fedora, i wonder what Ubuntu does different. Gnome initial setup uses temporary user, on Fedora i can bypass that do gis uses GDM user, but i dont have any idea how to do this on Ubuntu.
[Xiaomi Mi Pad 5] ClearStaff:
I think i have general idea how to make pen work. On Android we have something called Xiaomi Touch Feature, it is a proc_ops virtual device driver that is exposing some nt36xxx settings to userspace via /sys. Android enable pen Feature when we connect pen via bluetooth, custom Roms omit that and set it regardless of bluetooth state. Then nt36xxx reads those settings and writes some bytes via SPI to a controller. We could ignore Xiaomi Touch Feature and send those SPI commands to enable pen directly, but i have tried it and nvt_write_spi always throws error, so for now im trying to get Xiaomi Touch Feature working on Linux. I successfully built and loaded Xiaomi Touch Feature module on 6.1 kernel and i can set features from /sys i need to add missing bits i to nt36xxx and we might get pen working soon.
[Xiaomi Mi Pad 5] TheMagicMojoMan:
@ClearStaff I think I misunderstood what you wrote.

Don't do this:

sudo cp ~/.config/monitors.xml /etc/skel/.config

which obviously copies the content of monitors.xml to the hidden file .config in /etc/skel.

This works as intended:

sudo cp -r ~/.config /etc/skel/

Now, after creating a user account at first start everything looks identical to my user profile which I used as a template.

EDIT: However, this works:

sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config
[Xiaomi Mi Pad 5] TheMagicMojoMan:
I now have an Ubuntu image based on ubuntu-base 23.10 with working touchscreen, sound and snap which starts in OEM mode.

However, I am still missing the automatic resizing to use the entire space of the root partition. Can you help me on that?

This unit file with fixed root works but is too limited:

[Unit]
Description=Resize system to size of root partition
After=local-fs.target
Wants=local-fs.target

[Service]
# this works in bash: ROOT=/dev/$(eval $(lsblk -oMOUNTPOINT,NAME -P | grep 'MOUNTPOINT="/"'); echo $NAME )

Environment=ROOT=/dev/sda33
ExecStart=/bin/bash -c "/sbin/resize2fs ${ROOT} || exit 0"
Type=oneshot

[Install]
WantedBy=multi-user.target

This bash command returns the name of the device root is mounted:

ROOT=/dev/$(eval $(lsblk -oMOUNTPOINT,NAME -P | grep 'MOUNTPOINT="/"'); echo $NAME )

I don't know how to incorporate this correctly into the above systemd unit file. The syntax is different and I am also not sure if I can use the eval command in a .service file.
[Xiaomi Mi Pad 5] ClearStaff:
You can create a shell script inside /bin, exec this Shell script as a service. At start check for a file, for example /etc/.root_resized, if file does not exist find and resize rootfs and touch this file. This way you can incorporate your rootfs finding and you can be sure that after successful resizing resize2fs wont be called on each reboot
[Xiaomi Mi Pad 5] maverick_jia:
Can you give me a guide for loading grub with uefi?
[Xiaomi Mi Pad 5] maverick_jia:
@TheMagicMojoMan，I tried to partition disk again and I found that I can only create 32 partitions. Partition 31 was userdata and partition 32 was pmos. When I tried to create partition 33, ‘parted’ tool reported "Error: Too many primary partitions ", how did you create partitions 33 and 34?
[Xiaomi Mi Pad 5] TheMagicMojoMan:
Like so I guess ...

/etc/systemd/system/resize-root.service

[Unit]
Description=Resize system to size of root partition
After=local-fs.target
Wants=local-fs.target

[Service]
ExecStart=/bin/bash -c "/bin/resize-root.sh || exit 0"
Type=oneshot

[Install]
WantedBy=multi-user.target

/bin/resize-root.sh:

#!/bin/bash
ROOT=/dev/$(eval $(lsblk -oMOUNTPOINT,NAME -P | grep 'MOUNTPOINT="/"'); echo $NAME )
if [[ -f "/etc/.root_resized" ]] then
echo "$ROOT has already been resized"
echo "(Delete the file '/etc/.root_resized' if you explicitely want the partition to be resized again.)"
else
echo "Resizing $ROOT ..."
resize2fs $ROOT
if [[ $? -eq 0 ]] then
echo "resizing $ROOT finished successfully"
touch /etc/.root_resized
systemctl disable resize-root.service
else
echo "Error: resizing $ROOT failed"
fi
fi
[Xiaomi Mi Pad 5] TheMagicMojoMan:
Sorry, I remember that @serdeliuk explained this in his "How to resize disk to use linux on Nabu" tutorial which now is gone. And I did not take notes :(

Anybody here who took notes how to do it?!?
[Xiaomi Mi Pad 5] ClearStaff:
If i recall correctly, sgdisk --resize-table 64 /dev/block/sda
[Xiaomi Mi Pad 5] ClearStaff:
Except that you dont need to explicity disable this service with systemctl because we have this lock file for that reason.
[Xiaomi Mi Pad 5] bigfoothart:
can we use x-systemd.growfs in fstab instead?
[Xiaomi Mi Pad 5] TheMagicMojoMan:
Since resizing the system to the size of the partition is only done once after install, wouldn't it be better to completely get rid of /etc/.root_resized and explicitly disable the service when resizing was successful and not disable it if resizing failed?
[Xiaomi Mi Pad 5] ClearStaff:
I think you are right.
[Xiaomi Mi Pad 5] ClearStaff:
So, i was able to get Xiaomi Touch Features loading and working on Linux, i got /dev/xiaomi-touch showing up and im able to write to it. I was able to add procfs device into nt36xxx so i have /proc/nt36xxx/ and im able to for eg. read memory region of nt36xxx from userspace and write to nt36xxx, still i cant enable pen (yet.). Looking in downstream Kernel i should write to specific address command 7B 01 to enable pen, but i cant figure out the correct address. :(
[Xiaomi Mi Pad 5] LesGaR:
Finaly!!!

Triple boot working. I used latest version post it few post ago.

Only I need enable usb-otg. Now not working:-(
[Xiaomi Mi Pad 5] maverick_jia:
Great!! can you share your uefi image for us?
[Xiaomi Mi Pad 5] maverick_jia:
Thank you, I will test this command later!
[Xiaomi Mi Pad 5] LesGaR:
Sure! Now I need to adjust firmware files. I fixed bluetooth and touchscreen, only need fix sound.

Next I try to sign grub, to use with secureboot uefi.

I try it this night, next week I have a lot of exams, if can't fixed this weekend, can I share dirty image.
[Xiaomi Mi Pad 5] TheMagicMojoMan:
Nice work!!!

Please teach us how to build the boot loader. 🙏
[Xiaomi Mi Pad 5] LesGaR:
Can I mp us?
[Xiaomi Mi Pad 5] TheMagicMojoMan:
You can pm me anytime.
[Xiaomi Mi Pad 5] maverick_jia:
me too.

Of course.:)
[Xiaomi Mi Pad 5] maverick_jia:
I tried. That's the comand I needed. thanks alot!
[Xiaomi Mi Pad 5] ClearStaff:
If you are interested, map200v did some interesting work on Nabu, kernel 6.6 apparently with Pen support, i see this branch is still behind with keyboard support, but i think it would be good to check if his branch can benefit from work on this thread. And btw. apparently my nabu died (panel malfunction) :_: im going to get it back from service in around max 10 days.
[Xiaomi Mi Pad 5] TheMagicMojoMan:
Thanks for pointing this out! I am very interested in trying kernel 6.6.

(I think @maverick_jia will potentially be the first to make it run on our tablet because he knows best about all the patches that might be needed).

I'm sorry to hear that. I hope that this is not a general problem of the tablet. The only good is that it seems you found a repair service that might be able to fix it. I wish them and you the very best!
[Xiaomi Mi Pad 5] ClearStaff:
https://github.com/map220v/sm8150-mainline, there is 6.6 branch for our tablet. I wish i could try it but i dont have the device for now :/
[Xiaomi Mi Pad 5] TheMagicMojoMan:
First attempt to boot kernel 6.6

Not too bad I think ...

Unfortunately, USB is not working so could not log in terminal to do further detective work to find why GDM does not start. Maybe I can ssh into it.
[Xiaomi Mi Pad 5] ClearStaff:
I wonder if firmware paths are the same on our 6.1 kernel, and on map's 6.6 kernel.

Quick check:

/lib/firmware/qcom/a630_sqe.fw

/lib/firmware/qcom/a640_gmu.bin

/lib/firmware/qcom/sm8150/xiaomi/nabu/a640_zap.mbn

/lib/firmware/qcom/sm8150/xiaomi/nabu/adsp.mbn

/lib/firmware/qcom/sm8150/xiaomi/nabu/cdsp.mbn

/lib/firmware/cirrus/cs35l41*

/lib/firmware/qcom/sm8150/xiaomi/nabu/modem*

/lib/firmware/qcom/sm8150/xiaomi/nabu/venus.mbn

/lib/firmware/qcom/sm8150/xiaomi/nabu/wlanmdsp.mbn

/lib/firmware/novatek/novatek_nt36523_fw.bin

All files coming from: https://github.com/map220v/nabu-firmware
[Xiaomi Mi Pad 5] ClearStaff:
And map220v actually tests this kernel on PostmarketOS, so it would be better to actually check this kernel on postmarketos first... ( but not on serdeliuk's, just on a freshly build pmos with pmbootstrap)
[Xiaomi Mi Pad 5] TheMagicMojoMan:
@ClearStaff Thanks!

I had changed .dts to point those to /lib/firmware/qcom/sm8150/ to be in line with what I am currently using on 6.1.10.

I'll check those later.

I'm not fhe biggest fan of pmos and I also feel their bootstrap process is not so easy to customize. But that is only a personal preference.

I have my build system now up and running and I know more or less what I am doing. This allows me to quickly recompile the kernel and images and do some testing with my preferred OS (currently Ubuntu - but I am not the biggest fan of snaps; did many experiments with running Manjaro on an X96Max+ TV box before and Manjaro used to be my main system on a laptop as well; I'm sure that sooner or later I will run Manjaro on Nabu as well).