Click the button in Odin and select your downloaded TWRP .tar file.
Check . Do not check Internal Storage unless you have copied your ROM files to an external SD card. Swipe to wipe. Step 3: Flash the Custom ROM and GApps
Return to the Wipe menu, select , type yes , and confirm. This removes factory encryption locks. Step 4: Flash the Custom ROM and GApps
Open Odin on your PC and connect your phone in Download Mode.
This error indicates an asset mismatch. Ensure you downloaded the ROM built explicitly for your exact model number (e.g., SM-A520F vs. SM-A520K).
Install TWRP Recovery on your Galaxy A5. This custom recovery is essential for flashing ROMs. Phase 2: Installing the ROM via TWRP
Go to Settings > About Phone > Software Information and tap Build Number seven times. Go back to the main settings menu, open Developer Options , and enable USB Debugging and OEM Unlocking . Step-by-Step Installation Guide Step 1: Unlock the Bootloader
The best ROM for your device depends on your specific Galaxy A5 model year (A500, A510, or A520) and your personal preferences. 1. LineageOS (The Gold Standard)
The Samsung Galaxy A5 series contains some of the most resilient mid-range smartphones ever built. However, official software support for these devices ended years ago. If your phone feels sluggish, lacks modern features, or misses critical security patches, custom ROMs offer a powerful solution.
:
Power off your phone. Boot into by pressing and holding the Volume Down + Home + Power buttons simultaneously until a warning screen appears, then press Volume Up to continue.
Upgrade an older device (like the Galaxy A5 2017 or A51) to Android 13, 14, or even newer versions long after Samsung has dropped support.
This will wipe your data. Back up your photos and contacts.
Here are some popular custom ROMs for the Samsung Galaxy A5:
If your ROM doesn't recognize your SD card, you may need to reformat it within the new system settings.