i9100 Flashing mainline kernel fails with missing vmlinuz-dtb
Describe your issue
I had flashed the same device many times before, this is the first time it happens to fail flashing the kernel.
What's the expected behaviour?
Using pmbootstrap 2.2.1 from git tag, no local changes:
I run in sequence:
pull, update, init (see config).
Finally running pmbootstrap flasher flash_kernel
should flash the kernel with the phone in upload mode.
What's the current behaviour?
I get the error:
[21:47:21] (rootfs_samsung-i9100) install device-samsung-i9100 device-samsung-i9100-kernel-mainline
[21:47:29] (rootfs_samsung-i9100) install postmarketos-mkinitfs
[21:47:33] (rootfs_samsung-i9100) mkinitfs postmarketos-exynos4
[21:47:42] (native) flash kernel postmarketos-exynos4
[21:47:42] (native) install heimdall
ERROR: File /mnt/rootfs_samsung-i9100/boot/vmlinuz-dtb does not exist!
[21:47:43] NOTE: The failed command's output is above the ^^^ line in the log file: /home/plmcdev/.local/var/pmbootstrap/log.txt
[21:47:43] ERROR: Command failed (exit code 1): (native) % heimdall_flash_kernel.sh /mnt/rootfs_samsung-i9100/boot/initramfs RECOVERY /mnt/rootfs_samsung-i9100/boot/vmlinuz-dtb KERNEL
[21:47:43] See also: <https://postmarketos.org/troubleshooting>
pmbootstrap config
says:
[pmbootstrap]
aports = /home/plmcdev/.local/var/pmbootstrap/cache_git/pmaports
ccache_size = 5G
is_default_channel = False
device = samsung-i9100
extra_packages = vim,htop,bluez,evtest,postmarketos-update-kernel
hostname =
build_pkgs_on_install = True
jobs = 8
kernel = mainline
keymap =
locale = it_IT.UTF-8
mirror_alpine = http://dl-cdn.alpinelinux.org/alpine/
mirrors_postmarketos = http://mirror.postmarketos.org/postmarketos/
nonfree_firmware = True
nonfree_userland = False
ssh_keys = True
ssh_key_glob = ~/.ssh/id_*.pub
timezone = Europe/Rome
ui = sxmo-de-sway
ui_extras = False
user = plmcdev
work = /home/plmcdev/.local/var/pmbootstrap
boot_size = 256
extra_space = 0
sudo_timer = False
qemu_redir_stdio = False
build_default_device_arch = False
systemd = default
[providers]
postmarketos-base-ui-wifi = postmarketos-base-ui-wifi-wpa_supplicant
How to reproduce your issue?
Using i9100, edge with mainline kernel with pmbootstrap 2.2.1.
What device are you using?
samsung-i9100 https://wiki.postmarketos.org/wiki/Samsung_Galaxy_SII_(samsung-i9100)
On what postmarketOS version did you encounter the issue?
-
edge (
master
branch) -
v23.12
-
v23.06
(supported until 2024-01-18) -
I confirm that the issue still is present after running
sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
- GNOME Shell on Mobile
- Phosh
- Plasma Mobile
-
Sxmo (Wayland/Sway) Please post the output of
sxmo_version.sh
- Other: flashing before boot
How did you get postmarketOS image?
- from https://images.postmarketos.org
- I built it using pmbootstrap
- It was preinstalled on my device
What's the build date of the image?
2024-04-11
Additional information
I had to flash the device because after running postmarketos-update-kernel when it was still working, could not boot anymore.