This guide shows you how to install AOSP Android 11 on the Exynos Samsung Galaxy S7 and S7 Edge (SM-G930F/G935F, codenames herolte/hero2lte). Android 11 brought notification history, chat bubbles, conversation notifications, a built-in screen recorder, new media controls, device controls, one-time permissions, a scheduled dark theme, and app suggestions, among other changes.
The build here is LineageOS 18.1, a stable community ROM with signature spoofing, microG support, and OTA updates.
Also Read
How to install AOSP Android 11 on the Galaxy S7 / S7 Edge
Go through the requirements first, then follow the install steps.
Prerequisites
- This is for the Exynos Galaxy S7/S7 Edge (SM-G930F/G935F).
- Create a complete device backup, since the install wipes the phone.
- Enable USB debugging: Settings > About phone > tap Build number seven times, then Settings > System > Advanced > Developer options > enable USB debugging.

- Unlock the bootloader. If you have not, see our guide on how to unlock the bootloader on any Samsung device.
- Install TWRP recovery using our guide for the Galaxy S7 or the Galaxy S7 Edge.
Download AOSP Android 11
Only use a build made for your exact model. Grab the LineageOS 18.1 ZIP for your device, and the GApps package if you want the Google apps.
Downloads
LineageOS 18.1:
- Galaxy S7 (herolte): Download from XDA
- Galaxy S7 Edge (hero2lte): Download from XDA
Google apps (optional): Android 11 GApps (MindTheGapps). Skip it if you plan to use microG.
Advertisement
Warning
Install AOSP Android 11 on the Galaxy S7 / S7 Edge
- Copy the ROM ZIP (and GApps ZIP, if used) 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 the phone into TWRP:
adb reboot recovery

- In TWRP, go to Wipe > Advanced Wipe and format System, Data, and Cache. If the phone is encrypted or you are switching ROMs, use Format Data (type yes) so the ROM will boot.
- Go to Install, select the LineageOS 18.1 ZIP, and swipe right to flash it.
- If you want the Google apps, flash the GApps ZIP the same way, before the first boot.
- Wipe the cache, then go to Reboot and select System.

The first boot can take several minutes, and you will set the phone up from scratch afterward.
Frequently Asked Questions
Did the Galaxy S7 officially get Android 11?
No. Samsung stopped the S7 and S7 Edge at Android 8.0 Oreo. Android 11 only comes from community ROMs like LineageOS 18.1.
Will installing it erase my data?
Yes. Unlocking the bootloader and wiping/formatting data both erase the phone, so back up first.

![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)
can I install this on SM-G935F ?