Backup of the original OS, before installing /e/

Dear all,

I bought a Samsung Galaxy S7 (SM-G390F as it is a supported device) and I would like to try /e/ on it, but before doing it I would like to know if and how I can make a copy of the original OS. The idea is to be able to revert back to the original OS if I need.
I already had a look at this guide, but as far as I understood by installing/flashing TWRP I will loose the original OS.

Any help/suggestion on this topic is very welcome.

Regain your privacy! Adopt /e/ the unGoogled mobile OS and online servicesphone

Hello @beposanfior. I too had the same concerns regarding my S9. According to @SuzieQ, there is no good way to do this beforehand. She suggests that if you ever wish to revert back to stock, to download and install the stock ROM for your device which can be found at or

Hopefully she will come along and confirm! :slight_smile:


Hello @mcmd,
Samsung’s Galaxy S7 ‘herolte’ is not really comparable to the Galaxy S9 ‘starlte’. The S7 with stock Android 8-Oreo can be flashed immediately with /e/ OS 'O’reo 8.1.2 ‘stable’ or ‘dev’. No downgrading or upgrading is required.

Hello @beposanfior,
it is obvious that you ‘will lose the original OS’ if you install a customROM like /e/ OS. Therefore, important data should be backed up externally beforehand. However, a return to the stock Android 8 Oreo is possible at any time.

1 Like

Thank you for clarifying @SuzieQ, most appreciated. If I have understood your other posts on this subject correctly, Samsung made significant changes to the bootloader starting with the S9 that are not present in prior Galaxy versions.

The S7 was released with Android 6.0 (Marshmallow), the S8 with Android 7.0 (Nougat), the S9 was release with Android 8.0 (Oreo). With each release, Samsung has tightened the thumbscrews and built in so-called security layers and bootloader locks. This continues with Samsung up to now with Stock Android 10. Among other things, the “OEM unlock” was hidden and several operations have to be carried out to make it visible. I wouldn’t be surprised if Samsung completely removes the “unlock” from future devices and, like Huawei, completely closes the bootloader.

1 Like

That does seem to be the trajectory of things. Do you have a sense as to the motivation for manufacturers to do this? Is there something specific at work here or is it just something more general: the corporate desire to lock down their devices so as to “lock” their customers “in”?

1 Like

Hi @SuzieQ, @mcmd,

thanks a lot for the answers/clarifications.

  1. Concerning this

I could have ask in a better way: is there a way to install TWRP and than make a backup of the original OS/firmware? Or do I have to find the firmware actually installed, download it and re-installing it (i.e. via Odin or heimdall)? I don’t have a Windows pc, so do you recommend heimdall?

  1. which way do you recommend to install /e/ OS? This one

or that one

[HOWTO] install /e/ on a Samsung device from a GNU/Linux PC successfully

  1. do I have to worry about dm-verity? I asked here, but I’m not convinced by the answer from @piero :slight_smile:

Thanks again!!

In what context have you been confronted with dm-verity? What makes you think you might have to worry about dm-verity?

I just read about it here:
This device uses dm-verity!
This means that swiping to allow system modifications will prevent you from being able to boot if you are using the stock kernel. In order to bypass dm-verity’s boot prevention, you will have to install a kernel that has dm-verity disabled in the fstab.

As I have no experience with smartphones, I prefer to ask before messing up.

Ahh, this hint from TWRP is already found on the Galaxy S6, although I’ve never encountered dm-verity there before. So far, I have also changed the operating system on dozens of S7 / S7 Edge devices and have not had to undo dm-verity on any of them. Flashing the S7 usually goes off without a hitch.

1 Like

Lovely, thanks.

Any advice on point 1(based on your experience is it better to flash the original firmware from Windows?) and 2 (if you followed any of those guides)?

With Windows Odin 3, it’s a piece of cake.

See also:

To backup your phone you need to install adb on your laptop/desktop PC, plug in your device via USB cable and follow these instructions by executing the commands in terminal/cmd:

  1. Find your device: adb devices
  2. Backup device: adb backup -apk -all -Shared -f <path/to/>

For example:
adb backup -apk -all -Shared -f /home/beposanfior/Documents/backup-S7-2021-02-10.ab

-all will backup all data except apps
-apk will backup all apps
-Shared will backup all data from SD card

  1. To restore your data you possibly need to reinstall the OS that was installed before and then restore by executing:
    adb restore <path/to/>

In case of typos from my side check the documentation of adb. Debugging mode must be enabled of course and maybe you have to install more stuff and confirm some stuff on your phone during this process but this should be self explaining.


Unfortualately backup via adb does not work for most apps since the option can be deactivated by app developers.

1 Like