FLASHING INSTRUCTIONS FOR CUSTOM ROMs

FLASHING INSTRUCTIONS FOR CUSTOM ROMs

AYUSHMAN

------------------------------------------------------------------------------------


BREIF INSTRUCTIONS;

1. Flash recovery
2. reboot to recovery,
3. adb sideload rom.
4. Reboot to recovery
5. new recovery will open this time
6. Format data.
7. Adb sideload gapps.
8. Reboot to system
Note: SKIP STEP 7 IF GAPPS BUILD

------------------------------------------------------------------------------------


DETAILED INSTRUCTIONS;

- Make sure you are on MIUI14 based rom
- Download required files and move them to platform tools folder
- Make sure bootloader is unlocked and reboot to bootloader
adb reboot bootloader
- Flash recovery (only if you were using miui and flashing custom rom for first time).
fastboot flash boot <drag and drop the recovery>
- Reboot phone to recovery
fastboot reboot recovery
- You will boot in custom recovery.
- Go to "Apply update" -> "Apply from ADB"
- Open adb window in pc and enter adb devices , if it shows as sideload , you're good to go
- Enter following command to flash rom
adb sideload <file name>
- It may stuck at 47% and may show as error in adb window but that is fine.
- after it finishes , you may need to wipe data / Factory reset (if you were same rom before , you can ignore this step)

------------------------------------------------------------------------------------

- IF FLASHING GAPPS ; (If not then ignore)
- A after message will apper after rom flashing is finished that u will have to reboot into recovery again if u want to sideload other compressed files tap "yes" u will reboot to recovery by itself if not, Do it manually using vol+ and power button
- Go to "Apply update" -> "Apply from ADB"
- Sideload Gapps
adb sideload <Drag and drop Gapps>

------------------------------------------------------------------------------------

- Reboot to system

------------------------------------------------------------------------------------
- For root , use magisk (latest version get it from github) to patch provided bootimage and flash this magisk patched boot image from bootloader
fastboot flash boot <filename>

------------------------------------------------------------------------------------


Notes : Don't use following commands while using custom roms :
"fastboot reboot fastboot" , "adb reboot fastboot"
it bricks device. and if you somehow bricked it , contact us first, it's too easy to unbrick.

Report Page