Hi,
I'm trying to install Ubuntu Touch on my old Xiaomi Mi6 (that is not supported anymore, but the last version should be able to work) but it seems that UBports installer is not able to install it. The phone is unlocked ofc, installer recognizes it properly, I chose all checkboxes from the options, installers reboots it fo fastboot and tries to format userdata partition, but that step gets stuck. I then tried to manually do all the steps that the config file for sagit (mi6) has listed:
actions:
- fastboot:format:
partition: "userdata"
type: "ext4"
condition:
var: "wipe"
value: true
- actions:
- fastboot:flash:
partitions:
- partition: "recovery"
file: "recovery.img"
group: "firmware"
- partition: "boot"
file: "recovery.img"
group: "firmware"
- partition: "cust"
file: "unpacked/vendor.img"
group: "firmware"
condition:
var: "bootstrap"
value: true
- actions:
- fastboot:reboot:
fallback:
- core:user_action:
action: "recovery"
condition:
var: "bootstrap"
value: true
- actions:
- systemimage:install:
- actions:
- adb:reboot:
to_state: "recovery"
I installed ubuntu recovery and it boot to it ok now, I also did flash vendor.img to cust partition as the config files suggests, but I don't understand what does this do:
- actions:
- systemimage:install:
and can I do it manually?
If I just flash vendor.img to cust partition and reboot, only the Recovery boots up, but no Ubuntu or any install option. Anyone can help?