The error you're encountering, particularly the line:
textlibprocessgroup: Failed to find NormalIoPriority process profile
is a known issue in Android-based systems (like LineageOS) running on non-Android kernels (e.g., a standard Linux kernel under libvirt). This happens because the Android-specific cgroup and process group configurations (like NormalIoPriority) are not available or compatible with the host kernel.
NormalIoPriority) to be present in the kernel.libprocessgroup library (part of Android's init system) fails to find these profiles, causing the service to crash repeatedly.Since LineageOS expects cgroup v1, you can configure your Debian 13 host to use cgroup v1 for the VM.
Edit the kernel command line for the VM in libvirt:
bashvirsh edit <vm-name>
<kernel> or <cmdline> section:
(This forces the VM to use cgroup v1.)xml<cmdline>systemd.unified_cgroup_hierarchy=0</cmdline>
Alternatively, pass it via QEMU args (if using virt-install or qemu directly):
bash-append "systemd.unified_cgroup_hierarchy=0"
Restart the VM and check if the error persists.
If you cannot switch to cgroup v1, you may need to patch LineageOS's init scripts to avoid relying on NormalIoPriority.
init binary from the LineageOS image.init.rc or vendor.boot-default.rc to remove or comment out the NormalIoPriority process group.⚠️ Warning: This requires deep knowledge of Android internals and may break other functionality.
If you're running LineageOS in a VM, consider:
android-kernel or a custom linaro kernel).virtio-compatible kernel for ARM64.libprocessgroup and NormalIoPriority.If the issue persists:
logcat output for more details:
bashadb logcat
/sys/fs/cgroup/.cgroup v1 first (Solution 1) – this is the most straightforward fix.Would you like help with any of these steps in more detail? For example, modifying the libvirt XML or extracting the init scripts?
Vibe can make mistakes. Check answers. Learn more