A free and open-source operating system for various devices, based on the Android mobile platform.
Prerequisites;
Unlocked bootloader
Run fastboot flashing unlock in fastboot
Note this will trigger a factory reset on the device
Latest android 13 firmware
Latest platform tools
Common sense
Download
There will be five files;
boot
vendor_boot
Lineage os 20 rom zip file
GApps zip file
Magisk zip file
Its best to zip the magisk apk before installation. Use your favourite file explorer to rename the extension
Start a command prompt. I use windows terminal
.\adb devices
.\adb reboot bootloader
.\fastboot flash --slot all boot "path to boot.img"
.\fastboot flash --slot all vendor_boot "path to vendor_boot.img"
.\fastboot reboot recovery
Format data
Apply Update > Apply from ADB
.\adb sideload "path to rom zip file"
Advanced > reboot to recovery
Apply Update > Apply from ADB
.\adb sideload "path to GApps zip"
Advanced > reboot to recovery
.\adb sideload "path to magisk zip'
.\reboot system now
Comments