Below is a concise, prescriptive guide (Manjaro terminal commands) to install LineageOS on a Xiaomi Mi A3 after unlocking the bootloader. Assumes: you already unlocked the bootloader, have an up-to-date Manjaro system, and want to use fastboot / adb from terminal. This will wipe device data — back up first.
Install required packages sudo pacman -Syu sudo pacman -S android-tools android-udev wget unzip
Prepare working folder and download files (example uses LineageOS 18.1 and matching r