Want Android 7.1.2 Nougat on your Samsung Galaxy S4? Samsung stopped updating the phone at Android 5.0.1 Lollipop, so a custom ROM is the way to get a newer, cleaner version of Android on it. This guide shows how to install AICP (Android Ice Cold Project), based on Android 7.1.2 Nougat, on the Galaxy S4 and root it.
Which S4 is this for? This AICP build is for the Snapdragon Galaxy S4, codename jfltexx: the I9505, I9505G and I9506. It is not for the Exynos I9500, which uses different hardware and needs its own ROMs.

What is AICP?
AICP (Android Ice Cold Project) started on the HTC Desire HD and grew into a mature, well-supported custom ROM. On the Galaxy S4 it’s based on Android 7.1.2 Nougat and the LineageOS code base, so you get a clean, close-to-stock system with a deep set of customization options. It isn’t a Samsung release; it’s community-built, and stable enough to use as a daily driver on this phone.
What you get with Android 7.1.2 Nougat
- App shortcuts from the home screen
- Split-screen multitasking
- Quick reply to notifications
- A redesigned notification shade with bundled notifications
- Customizable quick settings tiles and an improved Doze mode
Before you start
- This guide is for the Snapdragon Galaxy S4 (jfltexx): I9505, I9505G and I9506 only.
- Install TWRP recovery first. If you don’t have it yet, follow a TWRP guide for your exact model.
- Back up your data. Installing wipes the phone.
- Charge the phone to at least 70%.
- Download the ROM and a matching GApps package, and copy both to the phone.
Download links
| AICP for Galaxy S4 (jfltexx) | AICP official download |
| Google Apps (GApps) | Android 7.1 GApps (ARM) |
AICP’s download page lists every build it has for the jfltexx. The Android 7.1.2 build is covered here, and any newer AICP version for the phone shows up on the same page.
Disclaimer:
Advertisement
How to install Android 7.1.2 Nougat (AICP) on the Galaxy S4
- With the ROM and GApps zips on the phone, turn it off.
- Boot into TWRP: hold Volume Up + Home + Power together until the phone vibrates, then release.
- Tap Wipe, then Advanced Wipe, and tick System, Data, Cache and Dalvik/ART Cache. Leave Internal Storage unticked. Swipe to wipe.
- Tap Install, select the AICP zip and swipe to flash it.
- Without rebooting, tap Install again and flash the GApps zip.
- Tap Reboot System.

The first boot can take several minutes. If it gets stuck, boot back into TWRP and repeat the wipe step.
How to root the Galaxy S4
To root AICP, flash the latest Magisk in TWRP. Magisk is the current root method and replaces the old SuperSU.
- Download the Magisk APK and copy it to the phone.
- Make a copy of the file and change the copy’s extension from
.apkto.zip. - Boot into TWRP, tap Install, select the Magisk .zip and swipe to flash it.
- Reboot, then install the Magisk APK as a normal app to manage root.
Frequently asked questions
Does this work on the Galaxy S4 I9500 (Exynos)?
No. This build is for the Snapdragon jfltexx (I9505, I9505G, I9506). The Exynos I9500 is a different device and needs ROMs made for it.

![How to Install Android 16 on Xiaomi Mi 11 Ultra [Download Link]](/api/image/Mi-11-Ultra-1-768x513.webp?url=https%3A%2F%2Fwp.getdroidtips.com%2Fwp-content%2Fuploads%2F2021%2F04%2FMi-11-Ultra-1-768x513.jpg&w=480)
![How to Install Android 16 on LG V50 ThinQ [Download Link]](/api/image/LG-V50-ThinQ-768x461.webp?url=https%3A%2F%2Fwp.getdroidtips.com%2Fwp-content%2Fuploads%2F2019%2F07%2FLG-V50-ThinQ-768x461.jpg&w=480)
link download rom not working… is empty..