Custom ROM Installation Guide: Clean & Dirty Flash
এই পোস্টে আমরা Android ফোনে Custom ROM safely ইন্সটল বা upgrade করার step-by-step guide দেখাবো। Clean Flash, Dirty Flash, MIUI ডিভাইস ইন্সটলেশন এবং optional GApps/Magisk ফ্ল্যাশ সব cover করা হবে।
✅ Clean Flash Steps (Recommended)
- Boot into your recovery
- Wipe data, cache, ART/Dalvik cache
- Format data, then reboot to recovery
- If needed, flash firmware zip for your device
- Flash ROM zip file
- Re-wipe cache and ART/Dalvik cache
- [OPTIONAL] Flash GApps zip and/or Magisk zip
- Reboot!
Note: Clean flash is always recommended for best stability.
⚡ Dirty Flash Steps
- Boot into recovery
- If needed, flash firmware zip for your device
- Flash ROM zip file
- Wipe cache and ART/Dalvik cache
- [OPTIONAL] Flash GApps zip and/or Magisk zip
- Reboot!
Dirty flashing allows updating ROM without wiping system completely. Make sure previous mods like Magisk, subs themes, or other changes are removed.
🛠 Simple Flashing Steps
Flashing New ROM
- Reboot to recovery
- Wipe system, vendor, data, cache & Dalvik if coming from another ROM
- Format data if encrypted
- Flash ROM (GApps included)
- (Optional) Flash Magisk
- Reboot and voila!
Upgrading to a Newer Build
- Reboot to recovery
- Wipe cache and Dalvik
- Flash ROM
- (Optional) Flash Magisk
- Reboot and done!
📱 Flashing on MIUI Devices
If coming from stock MIUI:
- Flash TWRP
- Format data (Type YES, will erase internal storage)
- Wipe system, data, vendor, cache & Dalvik
- Flash latest Chinese weekly firmware
- Flash ROM
- Flash GAPPS (optional)
- If decrypted, flash Fcryptdisabler after ROM (optional)
- Reboot
🔄 Flashing Between Custom ROMs
Encrypted → Encrypted
- Use TWRP
- Format data (YES)
- Wipe system, data, vendor, cache & Dalvik
- Flash latest firmware
- Flash ROM
- Flash GApps (optional)
- Reboot
Decrypted → Decrypted
- Use TWRP
- Wipe system, data, vendor, cache & Dalvik
- Flash latest firmware
- Flash ROM
- Flash GApps (optional)
- Flash Fcryptdisabler
- Reboot
Decrypted → Encrypted & Encrypted → Decrypted
- Follow similar TWRP steps with format data and Fcryptdisabler as needed
💡 Notes & Tips
- Always clean flash recommended for all ROMs
- Dirty flash allowed between same-type ROM builds (GApps with GApps, Vanilla with Vanilla)
- Remove all Magisk mods, themes, and other customizations before flashing
- If ROM is decrypted, flash Fcryptdisabler after ROM to avoid boot issues
