The Samsung Galaxy A5 2017 (codename a5y17lte) launched in January 2017 on Android 6.0.1 Marshmallow and was officially updated through Nougat to Android 8.0 Oreo. This guide covers installing an unofficial Android 13 custom ROM (LineageOS 20) on it. Since Samsung ended updates at Oreo, a community ROM is the way to run a near-stock build of Android 13 on the phone.
Samsung Galaxy A5 2017 overview
The Galaxy A5 2017 has a 5.2-inch Full HD (1080 x 1920) Super AMOLED display, an octa-core Exynos 7880 processor, and 3GB of RAM, with 32/64GB of storage expandable up to 256GB. It has a 16MP (f/1.9) rear camera, a 16MP front camera, and a front fingerprint sensor, backed by a 3,000mAh battery.
About Android 13
Android 13 builds on the Material You redesign from Android 12 with more theming control, including themed app icons and per-app language settings. It added a redesigned media player in Quick Settings, a built-in QR code scanner, app-level permission for sending notifications, Bluetooth LE Audio support, and tap-to-transfer media controls, along with tighter privacy and security options.
What works and known bugs
The LineageOS 20 build for the A5 2017 reports the following working: Wi-Fi, RIL, VoLTE, mobile data, GPS, camera, flashlight, camcorder, Bluetooth, fingerprint, FM radio, sound, and vibration.
Because this is a community build, some minor bugs may remain. Check the current status on the ROM’s XDA thread before you flash.
How to install AOSP Android 13 on the Galaxy A5 2017 (a5y17lte)
Go through the requirements below first.
Prerequisites
Download
Most AOSP ROMs ship without Google apps, so download the Android 13 GApps package if you want the Play Store.
Warning!
GetDroidTips is not responsible for any issue that happens to your device. Flash the correct build for your model, and proceed at your own risk.
Instructions to install
- Copy the ROM ZIP and the GApps ZIP to the phone’s internal storage.
- Connect the phone to the PC with a USB cable, with USB Debugging enabled.
- Open the platform-tools folder, type CMD in the address bar, and press Enter to open a Command Prompt.

- Boot into TWRP, or use the hardware key combination:
adb reboot recovery
- In TWRP, go to Wipe, then Advanced Wipe, and wipe System, Data, Vendor, and Cache.

- Go to Install, select the ROM ZIP, and swipe right to flash it.
- To add Google apps, go to Install again, select the GApps ZIP, and swipe right to flash it.
- Go to Reboot and select System.

The first boot can take several minutes. Once it is up, set the phone up as new.
FAQ
Did the Galaxy A5 2017 get Android 13 officially?
No. Samsung ended updates at Android 8.0 Oreo, so Android 13 is only available through community ROMs like LineageOS 20.
Is LineageOS 20 stable on the A5 2017?
The main features work, but as a community build it can still have bugs. Check the XDA thread for the latest status before flashing.
Do I need GApps?
Only if you want the Play Store and Google services. Flash a matching Android 13 GApps package during installation.
That completes the guide to installing AOSP Android 13 on the Samsung Galaxy A5 2017. If you run into any trouble, leave a comment below.