FLASH GUIDE
ROM Installation
Two methods to flash a custom ROM. Clean flash wipes all data. Dirty flash keeps your data intact.
⚠ Always back up your data before flashing. Clean flash will erase everything on the device.
Clean Flash
1
Reboot to bootloader (fastboot)
adb reboot bootloader2
Connect your phone to PC, then verify it's detected
fastboot devices3
Flash boot partition
fastboot flash boot boot.img4
Flash vendor boot partition
fastboot flash vendor_boot vendor_boot.img5
Flash DTBO partition
fastboot flash dtbo dtbo.img6
Reboot into recovery
fastboot reboot recovery7
In recovery, select Wipe data / factory reset and confirm.
8
Go back and select Apply update from ADB.
9
Sideload the ROM zip
adb sideload Rom*.zipOr drag and drop the ROM zip file onto the terminal window.
10
After installation completes, reboot the system.
adb rebootDirty Flash
1
Reboot into recovery by holding Power + Volume Up simultaneously.
2
In the recovery menu, select Apply update through ADB.
3
Sideload the ROM zip
adb sideload Rom*.zipOr drag and drop the ROM zip file onto the terminal window.
4
After installation completes, reboot the system.
adb rebootFastboot & ADB Commands
Common commands for logs and rebooting.
Logs
adb shell su -c dmesg > dmesg.txtadb shell su -c logcat > logcat.txtReboot
adb reboot bootloaderfastboot reboot recovery