Herolte - Samsung Galaxy S7

The Samsung Galaxy S7 is a lightweight, powerful handset with an impressively crisp screen, and good look and feel. As with Samsung devices in general, the process of building and flashing ROMs has its peculiarities compared to devices of other makes. This page should help overcome the challenges they might otherwise present.

This device is currently being worked on by Ari Börde Kröyer.



Halium 7.1 can be built for the Samsung Galaxy S7, although not everything works as of writing.

Building Halium 7.1 for the Galaxy S7 is a straightforward process. It is well described in the UBPorts porting guide and the Halium porting guide, but you should also consult the LineageOS guide. For those wishing undertake this endeavor, some words of advice:

  • Read the guides and familiarize yourself with the process before starting.
  • Secure the necessary resources beforehand, including a PC to do the development work on and a good USB cable.
  • Download and install the necessary resources before starting.
  • Check and record the details of your device (version, hardware, the currently installed OS and its version)
  • Completing a successful build is the easy step. Installing, configuring, debugging and fixing issues is the demanding part. However, anyone with a fair amount of patience and the ability to read and follow a slightly above average cooking recipe should manage to build, install and get the system up and running. Making everything work is different question.

For convenience, links to some of the important resources mentioned in the guides are also gathered at the bottom of this page, along with other useful/potentially useful resources not mentioned there.

Good luck!


The following table is somewhat lacking, but a good start.

Distribution Device Specific Files Kernel What works What doesn’t work
LineageOS for Samsung Galaxy S7 wiki page android_device_samsung_herolte android_kernel_samsung_universal8890 based on v3.18.14 ? ?
Ubports device port page: none as yet abkro/android_device_samsung_hero-common abkro/android_device_samsung_herolte abkro/android_kernel_samsung_universal8890 based on v3.18.14 Graphics, screen rotation, wifi, lights, sound (partially), vibration. ?
Halium and Ubports device port page Same as above android_kernel_samsung_universal8890 based on v3.18.14 Graphics, screen rotation, wifi, lights, sound, vibration. Bluetooth, phone, sms, gps, camera, video.

Kernel & Hardware

Mainline (vX.Y.Z as of writing)

(To be completed…)

Cyanogemod based kernels (LOS & UBP)

(To be completed…)

Device Specifics

Developer Info

In order to flash a custom recovery or boot image, the Samsung Galaxy S7 has to be put into download mode. Simultaneously press the home button, volume-down button and power button until the blue screen appears. Then confirm download mode by pressing the volume-up button.

Switching of the device when in the download mode can be done by simultaneously pressing the volume-down button and the power button until the device switches off.

After flashing a custom recovery, entering custom recovery from the power-off state is done by simulteaneously pressing the volume-up button, the home button and the power button until the Samsung boot logo appears, then IMMEDIATELY releasing all buttons.

If at some point the device does not boot at all from the power off state, no matter how long you press the power button, try this:

  • First enter the download mode as described above.
  • Then switch completely off, also as described above.
  • Now, you should once more be able to either boot normally or boot into recovery, whichever you wish.