1. Unlock your device bootloader.
2. Install a custom recovery (e.g., TWRP).
3. Wipe necessary partitions (e.g., system, data, cache).
4. Flash the custom ROM using recovery.
5. Reboot your device.