Wow! You guys are fast. So I hope I will answer all questions. Lets see:
@Keneda :
- Of course I run Ubuntu ( Ubuntu Budge 22.04 )
- The installer is 0.9.7-beta
- Yes, Bootloader unlocked, developer mode enabled
- It told me, that I should use the stable channel, but downgrading via snap did not work ( created a ticket as well )
@MrT10001 : I love the name! With Mr T on my side, the phone will be fixed soon
- With all combinations ( Power + Vol up, Power + Vol Down and Power + both vol) The phone resets, shakes and returns to the redmi screen.
Yes, I would call it a bootloop.
- I did not know that a correction of Android is nessessary ... Hmm
Does this help:
cat ubports-installer.log
{"level":"info","message":"Welcome to the UBports Installer version 0.9.7-beta!"}
{"level":"verbose","message":"Versions: {"node":"16.15.0","v8":"10.4.132.22-electron.0","uv":"1.43.0","zlib":"1.2.12","brotli":"1.0.9","ares":"1.18.1","modules":"107","nghttp2":"1.47.0","napi":"8","llhttp":"6.0.4","openssl":"1.1.1","cldr":"41.0","icu":"71.1","tz":"2022a","unicode":"14.0","electron":"20.1.1","chrome":"104.0.5112.102"}"}
{"level":"verbose","message":"Reading config file: undefined"}
{"level":"command","message":"exec: {"cmd":["heimdall","detect"],"error":{"message":"Command failed: heimdall detect\nERROR: Failed to detect compatible download-mode device.","code":1},"stderr":"ERROR: Failed to detect compatible download-mode device."}"}
{"level":"command","message":"exec: {"cmd":["adb","-P",5037,"kill-server"],"stderr":"cannot connect to daemon at tcp:5037: Connection refused"}"}
{"level":"command","message":"exec: {"cmd":["adb","-P",5037,"start-server"],"stderr":"* daemon not running; starting now at tcp:5037\n* daemon started successfully"}"}
{"level":"command","message":"exec: {"cmd":["fastboot","devices"]}"}
{"level":"command","message":"exec: {"cmd":["adb","-P",5037,"wait-for-any-any"]}"}
{"level":"command","message":"exec: {"cmd":["heimdall","detect"],"error":{"message":"Command failed: heimdall detect\nERROR: Failed to detect compatible download-mode device.","code":1},"stderr":"ERROR: Failed to detect compatible download-mode device."}"}
{"level":"command","message":"exec: {"cmd":["adb","-P",5037,"get-state"],"stdout":"device"}"}
{"level":"command","message":"exec: {"cmd":["adb","-P",5037,"shell","getprop ro.product.device"],"stdout":"dandelion"}"}
{"level":"info","message":"device detected: dandelion"}
{"level":"warn","message":"Please update: snap refresh ubports-installer --stable"}
{"level":"info","message":"Installing Ubuntu Touch on your Xiaomi Redmi 9A (dandelion)"}
{"level":"info","message":"configuring..."}
{"level":"info","message":"settings: {"bootstrap":true,"partition":true,"wipe":true,"channel":"16.04/armhf/android9/devel"}"}
{"level":"verbose","message":"running step {"actions":[{"adb:reboot":{"to_state":"bootloader"}}],"fallback":[{"core:user_action":{"action":"bootloader"}}]}"}
{"level":"verbose","message":"running adb action reboot"}
{"level":"command","message":"exec: {"cmd":["adb","-P",5037,"reboot","bootloader"]}"}
{"level":"verbose","message":"running step {"actions":[{"fastboot:wait":null}]}"}
{"level":"verbose","message":"running fastboot action wait"}
{"level":"command","message":"exec: {"cmd":["fastboot","devices"]}"}
{"level":"command","message":"exec: {"cmd":["fastboot","devices"]}"}
{"level":"command","message":"exec: {"cmd":["fastboot","devices"]}"}
{"level":"command","message":"exec: {"cmd":["fastboot","devices"]}"}
{"level":"command","message":"exec: {"cmd":["fastboot","devices"]}"}
{"level":"command","message":"exec: {"cmd":["fastboot","devices"],"stdout":"FQ45JZSKNNL75PH6\tfastboot"}"}
{"level":"verbose","message":"running step {"actions":[{"fastboot:assert_var":{"variable":"unlocked","value":"yes"}}],"fallback":[{"core:user_action":{"action":"unlock_phone"}}]}"}
{"level":"verbose","message":"running fastboot action assert_var"}
{"level":"command","message":"exec: {"cmd":["fastboot","devices"],"stdout":"FQ45JZSKNNL75PH6\tfastboot"}"}
{"level":"command","message":"exec: {"cmd":["fastboot","getvar","unlocked"],"stderr":"unlocked: yes\nFinished. Total time: 0.000s"}"}
{"level":"verbose","message":"running step {"actions":[{"core:download":{"group":"firmware","files":[{"url":"https://github.com/ubuntu-touch-mt6765/ut-images/releases/download/bootstrap-images/recovery_dandelion.img","name":"recovery.img","checksum":{"sum":"40b5ea262e08be110302c8f73eec8dcf16acc051be54217735d5ded5b3172da9","algorithm":"sha256"}},{"url":"https://dl.google.com/developers/android/qt/images/gsi/vbmeta.img","name":"vbmeta.img","checksum":{"sum":"f6da5489fd877cb69cf61fa721cfd6d77e530084aefe9b96664f818947ff61f6","algorithm":"sha256"}}]}}],"condition":{"var":"bootstrap","value":true}}"}
{"level":"verbose","message":"running core action download"}
{"level":"debug","message":"checking previously downloaded firmware files"}
{"level":"info","message":"Downloading 1 files"}
{"level":"debug","message":"downloading firmware files"}
{"level":"info","message":"Downloaded file 1 of 1"}
{"level":"verbose","message":"running step {"actions":[{"fastboot:format":{"partition":"userdata","type":"ext4"}}],"condition":{"var":"wipe","value":true}}"}
{"level":"verbose","message":"running fastboot action format"}
{"level":"command","message":"exec: {"cmd":["fastboot","format:ext4","userdata"],"stdout":"Creating filesystem with 5945595 4k blocks and 1488032 inodes\nFilesystem UUID: b636bbef-6858-451c-bc44-63eddf88917a\nSuperblock backups stored on blocks: \n\t32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, \n\t4096000\n\nAllocating group tables: 0/182\b\b\b\b\b\b\b \b\b\b\b\b\b\bdone \nWriting inode tables: 0/182\b\b\b\b\b\b\b \b\b\b\b\b\b\bdone \nCreating journal (32768 blocks): done\nWriting superblocks and filesystem accounting information: 0/182\b\b\b\b\b\b\b \b\b\b\b\b\b\bdone","stderr":"Warning: userdata type is f2fs, but ext4 was requested for formatting.\nmke2fs 1.46.2 (28-Feb-2021)\nSending 'userdata' (180 KB) OKAY [ 0.010s]\nWriting 'userdata' OKAY [ 0.017s]\nFinished. Total time: 0.103s"}"}
{"level":"verbose","message":"running step {"actions":[{"fastboot:flash":{"partitions":[{"partition":"vbmeta","file":"vbmeta.img","group":"firmware","flags":["--disable-verity","--disable-verification"]},{"partition":"recovery","file":"recovery.img","group":"firmware"}]}}],"condition":{"var":"bootstrap","value":true}}"}
{"level":"verbose","message":"running fastboot action flash"}
{"level":"command","message":"exec: {"cmd":["fastboot","devices"],"stdout":"FQ45JZSKNNL75PH6\tfastboot"}"}
{"level":"command","message":"exec: {"cmd":["fastboot","devices"],"stdout":"FQ45JZSKNNL75PH6\tfastboot"}"}
{"level":"command","message":"spawn:start: {"cmd":["fastboot","flash","vbmeta","--disable-verity","--disable-verification","/home/oliver/snap/ubports-installer/435/.cache/ubports/dandelion/firmware/vbmeta.img"]}"}
{"level":"command","message":"spawn:exit: {"cmd":["fastboot","flash","vbmeta","--disable-verity","--disable-verification","/home/oliver/snap/ubports-installer/435/.cache/ubports/dandelion/firmware/vbmeta.img"]}"}
{"level":"command","message":"spawn:start: {"cmd":["fastboot","flash","recovery","/home/oliver/snap/ubports-installer/435/.cache/ubports/dandelion/firmware/recovery.img"]}"}
{"level":"command","message":"spawn:exit: {"cmd":["fastboot","flash","recovery","/home/oliver/snap/ubports-installer/435/.cache/ubports/dandelion/firmware/recovery.img"]}"}
{"level":"verbose","message":"running step {"actions":[{"fastboot:reboot_fastboot":null}],"fallback":[{"core:user_action":{"action":"fastbootd"}}],"condition":{"var":"partition","value":true}}"}
{"level":"verbose","message":"running fastboot action reboot_fastboot"}
{"level":"command","message":"exec: {"cmd":["fastboot","reboot-fastboot"],"error":{"message":"Command failed: fastboot reboot-fastboot\nRebooting into fastboot OKAY [ 0.001s]\n< waiting for any device >","signal":"SIGINT"},"stderr":"Rebooting into fastboot OKAY [ 0.001s]\n< waiting for any device >"}"}
{"level":"debug","message":"attempting to handle Error: rebooting to fastboot failed: Error: {"error":{"signal":"SIGINT","cmd":"fastboot reboot-fastboot"},"stderr":"Rebooting into fastboot OKAY [ 0.001s]\n< waiting for any device >"}"}
{"level":"verbose","message":"running core action user_action"}