| Please be patient!
|
|
|
| Session begun.
|
|
|
| Downloading device's PIT file...
|
| PIT file download successful.
|
|
|
| ERROR: Partition "KERNEL" does not exist in the specified PIT.
|
| Ending session...
|
| Rebooting device...
|
| Releasing device interface...
|
|
|
| (088945) [15:35:34] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| (088945) [15:35:34] NOTE: The failed command's output is above the ^^^ line in the log file: /home/recep/samsung-kmini3g/log.txt
|
| (088945) [15:35:34] ERROR: Command failed (exit code 1): (native) % heimdall flash --wait --KERNEL /mnt/rootfs_samsung-kmini3g/boot/boot.img
|
| (088945) [15:35:34] See also: <https://postmarketos.org/troubleshooting>
|
| (088945) [15:35:34] Traceback (most recent call last):
|
| File "/usr/lib/python3.13/site-packages/pmb/__init__.py", line 111, in main
|
| run_command(args)
|
| ~~~~~~~~~~~^^^^^^
|
| File "/usr/lib/python3.13/site-packages/pmb/commands/__init__.py", line 109, in run_command
|
| command.run()
|
| ~~~~~~~~~~~^^
|
| File "/usr/lib/python3.13/site-packages/pmb/commands/flasher.py", line 43, in run
|
| kernel(deviceinfo, method, action == "boot", self.autoinstall)
|
| ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| File "/usr/lib/python3.13/site-packages/pmb/flasher/frontend.py", line 41, in kernel
|
| pmb.flasher.run(deviceinfo, method, "flash_kernel", flavor)
|
| ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| File "/usr/lib/python3.13/site-packages/pmb/flasher/run.py", line 109, in run
|
| pmb.chroot.root(command, output="interactive")
|
| ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| File "/usr/lib/python3.13/site-packages/pmb/chroot/run.py", line 157, in root
|
| return rootm(
|
| [cmds],
|
| ...<7 lines>...
|
| add_proxy_env_vars,
|
| )
|
| File "/usr/lib/python3.13/site-packages/pmb/chroot/run.py", line 99, in rootm
|
| return pmb.helpers.run_core.core(
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| msg, cmd_sudo, None, output, output_return, check, True, disable_timeout
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| )
|
| ^
|
| File "/usr/lib/python3.13/site-packages/pmb/helpers/run_core.py", line 458, in core
|
| check_return_code(code, log_message)
|
| ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
|
| File "/usr/lib/python3.13/site-packages/pmb/helpers/run_core.py", line 298, in check_return_code
|
| raise RuntimeError(f"Command failed (exit code {str(code)}): " + log_message)
|
| RuntimeError: Command failed (exit code 1): (native) % heimdall flash --wait --KERNEL /mnt/rootfs_samsung-kmini3g/boot/boot.img
|
|
|
| (088945) [15:35:34] % cd /home/recep/samsung-kmini3g/cache_git/pmaports; git rev-parse --abbrev-ref HEAD
|
| (088945) [15:35:34] % cd /home/recep/samsung-kmini3g/cache_git/pmaports; git status --porcelain
|
|
|
|
|
| (090285) [15:36:18] $ pmbootstrap /usr/bin/pmbootstrap log
|
| (090285) [15:36:18] Pmbootstrap v3.1.0 (Python 3.13.1 (main, Dec 4 2024, 18:05:56) [GCC 14.2.1 20240910])
|
| (090285) [15:36:18] % tail -n 60 -F /home/recep/samsung-kmini3g/log.txt
|
| (090285) [15:36:18] *** output passed to pmbootstrap stdout, not to this log ***
|
|
|
|
|
| (090299) [15:36:33] $ pmbootstrap /usr/bin/pmbootstrap flasher flash_kernel
|
| (090299) [15:36:33] Pmbootstrap v3.1.0 (Python 3.13.1 (main, Dec 4 2024, 18:05:56) [GCC 14.2.1 20240910])
|
| (090299) [15:36:33] % cd /home/recep/samsung-kmini3g/cache_git/pmaports; git remote -v
|
| (090299) [15:36:33] % cd /home/recep/samsung-kmini3g/cache_git/pmaports; git show origin/master:channels.cfg
|
| (090299) [15:36:33] Attempting to build: device-samsung-kmini3g
|
| (090299) [15:36:33] armv7/device-samsung-kmini3g: Generating dependency tree
|
| (090299) [15:36:34] /bin/sh: has multiple providers (yash-binsh, dash-binsh, busybox-binsh), picked shortest: yash-binsh
|
| (090299) [15:36:34] udev: has multiple providers (eudev, libudev-zero), picked shortest: eudev
|
| (090299) [15:36:34] sudo-virt: has multiple providers (doas-sudo-shim, sudo, sudo-ldap), picked shortest: sudo
|
| (090299) [15:36:34] openssh-client: has multiple providers (openssh-client-krb5, openssh-client-default), picked shortest: openssh-client-krb5
|
| (090299) [15:36:34] ifupdown-any: has multiple providers (ifupdown-ng, busybox-ifupdown), picked shortest: ifupdown-ng
|
| (090299) [15:36:34] (rootfs_samsung-kmini3g) install device-samsung-kmini3g
|
| (090299) [15:36:34] % sudo mkdir -p /home/recep/samsung-kmini3g/tmp
|
| (090299) [15:36:34] % sudo rm -f /home/recep/samsung-kmini3g/tmp/apk_progress_fifo
|
| (090299) [15:36:34] % sudo mkfifo /home/recep/samsung-kmini3g/tmp/apk_progress_fifo
|
| (090299) [15:36:34] % sudo cat /home/recep/samsung-kmini3g/tmp/apk_progress_fifo
|
| (090299) [15:36:34] % sudo sh -c exec 3>/home/recep/samsung-kmini3g/tmp/apk_progress_fifo; /home/recep/samsung-kmini3g/apk.static --progress-fd 3 --no-progress --root /home/recep/samsung-kmini3g/chroot_rootfs_samsung-kmini3g --arch armv7 --cache-dir /home/recep/samsung-kmini3g/cache_apk_armv7 --repository /home/recep/samsung-kmini3g/packages/edge --repository /home/recep/samsung-kmini3g/packages/edge add --no-interactive device-samsung-kmini3g ;
|
| (090299) [15:36:34] New background process: pid=90316, output=background
|
| OK: 884 MiB in 698 packages
|
| (090299) [15:36:35] % sudo /home/recep/samsung-kmini3g/apk.static --no-progress --root /home/recep/samsung-kmini3g/chroot_rootfs_samsung-kmini3g --arch armv7 --cache-dir /home/recep/samsung-kmini3g/cache_apk_armv7 --repository /home/recep/samsung-kmini3g/packages/edge --repository /home/recep/samsung-kmini3g/packages/edge add --no-interactive -u --virtual .pmbootstrap /home/recep/samsung-kmini3g/packages/edge/armv7/device-samsung-kmini3g-1-r0.apk /home/recep/samsung-kmini3g/packages/edge/armv7/linux-samsung-kmini3g-3.4.113-r0.apk
|
| (1/1) Installing .pmbootstrap (20250104.123635)
|
| OK: 884 MiB in 699 packages
|
| (090299) [15:36:35] % sudo /home/recep/samsung-kmini3g/apk.static --no-progress --root /home/recep/samsung-kmini3g/chroot_rootfs_samsung-kmini3g --arch armv7 --cache-dir /home/recep/samsung-kmini3g/cache_apk_armv7 --repository /home/recep/samsung-kmini3g/packages/edge --repository /home/recep/samsung-kmini3g/packages/edge del .pmbootstrap
|
| (1/1) Purging .pmbootstrap (20250104.123635)
|
| OK: 884 MiB in 698 packages
|
| (090299) [15:36:36] Attempting to build: postmarketos-mkinitfs
|
| (090299) [15:36:36] armv7/postmarketos-mkinitfs: Generating dependency tree
|
| (090299) [15:36:36] /bin/sh: has multiple providers (yash-binsh, dash-binsh, busybox-binsh), picked shortest: yash-binsh
|
| (090299) [15:36:36] (rootfs_samsung-kmini3g) install postmarketos-mkinitfs
|
| (090299) [15:36:36] % sudo mkdir -p /home/recep/samsung-kmini3g/tmp
|
| (090299) [15:36:36] % sudo rm -f /home/recep/samsung-kmini3g/tmp/apk_progress_fifo
|
| (090299) [15:36:36] % sudo mkfifo /home/recep/samsung-kmini3g/tmp/apk_progress_fifo
|
| (090299) [15:36:36] % sudo cat /home/recep/samsung-kmini3g/tmp/apk_progress_fifo
|
| (090299) [15:36:36] % sudo sh -c exec 3>/home/recep/samsung-kmini3g/tmp/apk_progress_fifo; /home/recep/samsung-kmini3g/apk.static --progress-fd 3 --no-progress --root /home/recep/samsung-kmini3g/chroot_rootfs_samsung-kmini3g --arch armv7 --cache-dir /home/recep/samsung-kmini3g/cache_apk_armv7 --repository /home/recep/samsung-kmini3g/packages/edge --repository /home/recep/samsung-kmini3g/packages/edge add --no-interactive postmarketos-mkinitfs ;
|
| (090299) [15:36:36] New background process: pid=90347, output=background
|
| OK: 884 MiB in 698 packages
|
| (090299) [15:36:36] (rootfs_samsung-kmini3g) mkinitfs samsung-kmini3g
|
| (090299) [15:36:36] (rootfs_samsung-kmini3g) % mkinitfs
|
| 15:36:37.046627 Generating for kernel version: 3.4.113
|
| 15:36:37.050495 Output directory: /boot
|
| 15:36:37.050757 Unknown or no compression format set, using gzip
|
| 15:36:37.050888 == Generating initramfs ==
|
| 15:36:37.051300 - Using compression format gzip with level "default"
|
| 15:36:37.053020 - Searching for directories specified in /usr/share/mkinitfs/dirs
|
| 15:36:37.054645 -- Creating directories from: /usr/share/mkinitfs/dirs/00-initramfs-base.dirs
|
| 15:36:37.057034 - Searching for directories specified in /etc/mkinitfs/dirs
|
| 15:36:37.057445 - Searching for file lists from /usr/share/mkinitfs/files
|
| 15:36:37.057981 -- Including files from: /usr/share/mkinitfs/files/00-device-samsung-kmini3g-modules.files
|
| 15:36:37.059632 -- Including files from: /usr/share/mkinitfs/files/00-initramfs-base.files
|
| 15:36:37.067859 -- Including files from: /usr/share/mkinitfs/files/10-wireless-regdb.files
|
| 15:36:37.068118 -- Including files from: /usr/share/mkinitfs/files/30-postmarketos-bootsplash.files
|
| 15:36:37.069051 -- Including files from: /usr/share/mkinitfs/files/postmarketos-base.files
|
| 15:36:37.069469 - Searching for file lists from /etc/mkinitfs/files
|
| 15:36:37.069831 - Searching for hook scripts from /usr/share/mkinitfs/hooks
|
| 15:36:37.070069 - Searching for hook scripts from /etc/mkinitfs/hooks
|
| 15:36:37.071188 -- kernel module directory not found: "/lib/modules/3.4.113", not including modules
|
| 15:36:37.071539 -- kernel module directory not found: "/lib/modules/3.4.113", not including modules
|
| 15:36:37.551566 initramfs completed in: 0.50s
|
| 15:36:37.552781 Unknown or no compression format set, using gzip
|
| 15:36:37.552839 == Generating initramfs-extra ==
|
| 15:36:37.552929 - Using compression format gzip with level "default"
|
| 15:36:37.553092 - Searching for file lists from /usr/share/mkinitfs/files-extra
|
| 15:36:37.553280 -- Including files from: /usr/share/mkinitfs/files-extra/00-initramfs-extra-base.files
|
| 15:36:37.576199 -- Including files from: /usr/share/mkinitfs/files-extra/30-unl0kr.files
|
| 15:36:37.618726 - Searching for file lists from /etc/mkinitfs/files-extra
|
| 15:36:37.618879 - Searching for hook scripts from /usr/share/mkinitfs/hooks-extra
|
| 15:36:37.618958 - Searching for hook scripts from /etc/mkinitfs/hooks-extra
|
| 15:36:37.619216 -- kernel module directory not found: "/lib/modules/3.4.113", not including modules
|
| 15:36:37.619409 -- kernel module directory not found: "/lib/modules/3.4.113", not including modules
|
| 15:36:40.017693 initramfs-extra completed in: 2.46s
|
| 15:36:40.018012 == Using boot-deploy to finalize/install files ==
|
| ==> Running hooks
|
| ==> initramfs: creating boot.img
|
| ==> Checking free space at /boot
|
| ... OK!
|
| ==> Installing: /boot/initramfs
|
| ==> Installing: /boot/initramfs-extra
|
| ==> Installing: /boot/boot.img
|
| 15:36:42.577300 boot-deploy completed in: 2.56s
|
| 15:36:42.581958 mkinitfs completed in: 5.54s
|
| (090299) [15:36:42] Check kconfig: /home/recep/samsung-kmini3g/cache_git/pmaports/device/testing/linux-samsung-kmini3g/config-samsung-kmini3g.armv7
|
| (090299) [15:36:42] WARNING: config-samsung-kmini3g.armv7 isn't configured properly (category:default), run 'pmbootstrap kconfig check' for details!
|
| (090299) [15:36:42] (native) flash kernel samsung-kmini3g
|
| (090299) [15:36:42] Attempting to build: android-tools, heimdall
|
| (090299) [15:36:43] (native) install heimdall android-tools
|
| (090299) [15:36:43] % sudo mkdir -p /home/recep/samsung-kmini3g/tmp
|
| (090299) [15:36:43] % sudo rm -f /home/recep/samsung-kmini3g/tmp/apk_progress_fifo
|
| (090299) [15:36:43] % sudo mkfifo /home/recep/samsung-kmini3g/tmp/apk_progress_fifo
|
| (090299) [15:36:43] % sudo cat /home/recep/samsung-kmini3g/tmp/apk_progress_fifo
|
| (090299) [15:36:43] % sudo sh -c exec 3>/home/recep/samsung-kmini3g/tmp/apk_progress_fifo; /home/recep/samsung-kmini3g/apk.static --progress-fd 3 --no-progress --root /home/recep/samsung-kmini3g/chroot_native --arch x86_64 --cache-dir /home/recep/samsung-kmini3g/cache_apk_x86_64 --repository /home/recep/samsung-kmini3g/packages/edge --repository /home/recep/samsung-kmini3g/packages/edge add --no-interactive android-tools heimdall ;
|
| (090299) [15:36:43] New background process: pid=91302, output=background
|
| WARNING: opening /home/recep/samsung-kmini3g/packages/edge: No such file or directory
|
| OK: 546 MiB in 204 packages
|
| (090299) [15:36:43] (native) % heimdall flash --wait --KERNEL /mnt/rootfs_samsung-kmini3g/boot/boot.img
|
| Heimdall v2.1.0
|
|
|
| Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna https://glassechidna.com.au
|
| Copyright (c) 2021-2024 Henrik Grimler
|
| This software is provided free of charge. Copying and redistribution is encouraged.
|
|
|
| Initialising connection...
|
| Waiting for device...
|
| Claiming interface...
|
| Initialising protocol...
|
| Protocol initialisation successful.
|
|
|
| Beginning session...
|
|
|
| Some devices may take up to 2 minutes to respond.
|
| Please be patient!
|
|
|
| Session begun.
|
|
|
| Downloading device's PIT file...
|
| PIT file download successful.
|
|
|
| ERROR: Partition "KERNEL" does not exist in the specified PIT.
|
| Ending session...
|
| Rebooting device...
|
| Releasing device interface...
|
|
|
| (090299) [15:36:50] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| (090299) [15:36:50] NOTE: The failed command's output is above the ^^^ line in the log file: /home/recep/samsung-kmini3g/log.txt
|
| (090299) [15:36:50] ERROR: Command failed (exit code 1): (native) % heimdall flash --wait --KERNEL /mnt/rootfs_samsung-kmini3g/boot/boot.img
|
| (090299) [15:36:50] See also: <https://postmarketos.org/troubleshooting>
|
| (090299) [15:36:50] Traceback (most recent call last):
|
| File "/usr/lib/python3.13/site-packages/pmb/__init__.py", line 111, in main
|
| run_command(args)
|
| ~~~~~~~~~~~^^^^^^
|
| File "/usr/lib/python3.13/site-packages/pmb/commands/__init__.py", line 109, in run_command
|
| command.run()
|
| ~~~~~~~~~~~^^
|
| File "/usr/lib/python3.13/site-packages/pmb/commands/flasher.py", line 43, in run
|
| kernel(deviceinfo, method, action == "boot", self.autoinstall)
|
| ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| File "/usr/lib/python3.13/site-packages/pmb/flasher/frontend.py", line 41, in kernel
|
| pmb.flasher.run(deviceinfo, method, "flash_kernel", flavor)
|
| ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| File "/usr/lib/python3.13/site-packages/pmb/flasher/run.py", line 109, in run
|
| pmb.chroot.root(command, output="interactive")
|
| ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| File "/usr/lib/python3.13/site-packages/pmb/chroot/run.py", line 157, in root
|
| return rootm(
|
| [cmds],
|
| ...<7 lines>...
|
| add_proxy_env_vars,
|
| )
|
| File "/usr/lib/python3.13/site-packages/pmb/chroot/run.py", line 99, in rootm
|
| return pmb.helpers.run_core.core(
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| msg, cmd_sudo, None, output, output_return, check, True, disable_timeout
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| )
|
| ^
|
| File "/usr/lib/python3.13/site-packages/pmb/helpers/run_core.py", line 458, in core
|
| check_return_code(code, log_message)
|
| ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
|
| File "/usr/lib/python3.13/site-packages/pmb/helpers/run_core.py", line 298, in check_return_code
|
| raise RuntimeError(f"Command failed (exit code {str(code)}): " + log_message)
|
| RuntimeError: Command failed (exit code 1): (native) % heimdall flash --wait --KERNEL /mnt/rootfs_samsung-kmini3g/boot/boot.img
|
|
|
| (090299) [15:36:50] % cd /home/recep/samsung-kmini3g/cache_git/pmaports; git rev-parse --abbrev-ref HEAD
|
| (090299) [15:36:50] % cd /home/recep/samsung-kmini3g/cache_git/pmaports; git status --porcelain
|