[HOWTO] Install /e/ on a Samsung smartphone with Windows easily

Version française disponible ici.

Hi everyone ! :slight_smile:

I have just installed /e/ on my smartphone (Samsung Galaxy J5 2015 / SM-J500FN / j5nlte) and I would like to offer a better tutorial for Samsung smartphones. Indeed the method currently proposed by /e/ here is really not simple, I didn’t understand what I was doing, and I didn’t succeed in the end.

Instead of downloading a lot of complicated stuff, here we will download simple tools, and… without a command line !

I will illustrate this tutorial with images for my device. The only differences with you will therefore be the model number of your smartphone, so nothing to worry about.

WARNING : each device is unfortunately unique and comes with its own set of complications, check via another tutorial using the same device and the same version of Android as yours that there is no weirdness (especially for the latest models).

1) Check that one’s device is compatible with /e/

  1. Go to the list of compatible devices.

  2. Click on the codename of your Samsung smartphone, then read the list of supported models at the bottom of the page.
    supported models

If one of the models listed matches yours, that’s fine! You will find your model number on your smartphone: Settings > System and/or About phone > “Model number”.

2) Download the ROM of the latest version of /e/ for one’s device

  1. At the top of the page, in the “Install” section, click on the link.
    install section
  2. Scroll down until the “Download /e/ for [your device]” part, and click on “dev”.
    download e for
  3. The new page displays different links in the following way :
    e-0.7-o-2020020840483-dev-j5nlte.zip which means :
    e/general version of e/version of android (o for Oreo, n for Nougat, p for Pie)/year/month/day of update. (The last 5 digits do not matter.)
    e download page
  4. Click on the one above to download the latest version.

3) OEM Unlock

In order to increase the security, Samsung locks what is called the bootloader, which prevents someone from modifying the operating system installed. Since we want to modify it, we need to unlock the bootloader. To do so :

  1. Turn on your phone that is still on the Android version provided by Samsung.

  2. In Settings, go to System and/or About the phone (it depends on the version), until you see the “Build number”.

  3. Tap rapidly several time on this number in order to activate the “Developper options”. It’s a new category that now appears in settings, usually above “About the phone”.

  4. In the developper options, scroll down until “OEM Unlock” or something like that, and activate this option. Don’t worry about the warning.

  5. If this option doesn’t show up, look at this article.
    The solution can also be to update the phone and/or wait 7 days after his activation.

  6. Logout every Google or Samsung account from the device in Settings > Accounts to prevent any issue.

4) Download ODIN

Odin is a utility used by Samsung to reset (or flash) their smartphones.

  1. Download Odin here.
  2. Unzip the file with a right click on it then “Extract all” then “Extract”.

    d%C3%A9compresser%20fenetre
  3. The unzipped folder created opens (if not, open it), then open “Odin3 v3.13.3.exe”.
  4. Click on “Ok” when the warning message is prompted.
    avertissement%20odin
  5. Odin is now open, put it aside.

5) Download TWRP

On your Samsung smartphone, there are several modes :

  • the Download Mode, accessible by pressing the home, power and volume down buttons simultaneously and for a long time. A warning appears, click on the volume up button to continue, or volume down to restart the device.
  • the Recovery Mode, accessible in the same way but by pressing the volume up button instead of volume down.

TWRP is a tool that will replace the default recovery mode of your Samsung smartphone (so it can be accessed in the same way as mentioned above).

Now that you know what you need to know :

  1. Download TWRP here by selecting your device.
    (WARNING : make sure that the number of your model corresponds PERFECTLY to the version you are downloading)

  2. Go to the “Download Links” section. Click on your region. (If it doesn’t work, try the other one)

  3. In the page that opens, click on the latest version of TWRP with the extension “.tar” at the end (therefore the highest in the list) to start the download.
    twrp%20versions

6) Install TWRP

  1. WARNING : make sure you have enough battery power to avoid any tricky situation, whether for your smartphone or your computer.

  2. Open Odin (the tool we put aside earlier).

  3. Put your smartphone in download mode (see above how to do this).
    The display differs according to the version of Android, here 6.0.1 Marshmallow.

  4. Connect your smartphone to your computer with a reliable cable.
    The word “Added” should appear on Odin. This means the smartphone in download mode is detected.

    If nothing happens, it means your computer doesn’t have the necesary drivers. So you need to install them, by following the steps of the following 7) part. Sometimes you just have to wait a few minutes that Windows install them automatically.
    odin%20added

  5. Click on “AP”, then select the TWRP file in .tar format previously downloaded.
    AP

  6. Click on “Start” to start installing TWRP on your device. It will take a few seconds. Once finished, Odin will display in a green box “PASS”.

    WARNING : Immediately after clicking on “Start”, press the home and volume up buttons simultaneously and for a long time. This allows you to enter in TWRP directly when the phone automatically reboots. If you don’t, Android will start normally but the TWRP installation will be deleted. It will therefore be necessary to repeat the procedure.

    If you don’t like to do things quickly or if your phone reboots into the system instead of TWRP, here is a procedure that will work on every device : in the “Options” tab (between “Log” and “Pit”) untick the “Auto-reboot” box. Therefore you will have to manually reboot the device by pressing the main button, the power button and the volume down button. As soon as the screen turns off, move your finger from the volume down button to the volume up button (while continuing to press on the other buttons) in order to enter into TWRP.

    When TWRP is starting, a small line appears at the top left of the screen with the word “recovery” on some devices.

7) Install the necessary drivers if needed

In order for your smartphone to communicate with the computer, and therefore be flashed, you must install the necessary drivers. (If you have already successfully installed TWRP, skip this step.)

  1. Download them from the official source (you need to have a Samsung account) or directly from an unofficial source.

  2. Unzip the downloaded directory.

  3. Open the unzipped directory created and launch the utility (the file ending by “.exe”).

  4. Click on “Yes” in the Windows warning message and follow the steps indicated.
    Perfect, your device can now correctly communicate with Odin.

8) Install /e/ with TWRP

Now you’re in TWRP, congratulations, you’ve done the hardest part. Let’s detail the following procedures in several sub-steps.

A) Delete existing smartphone content

  1. Before you reach the main menu, a message may ask you if you want to open TWRP read-only (i.e. no risk of deleting or changing anything) or not. This option shouldn’t be chosen (since we want to install a new operating system). Slide the bottom arrow from left to right.

    TWRP may also ask you for a password, which is your phone password.

  2. Once in the main menu, click on “Wipe” then “Advanced Wipe”.


  3. Select the following items to delete and nothing else :

  1. Validate by dragging the “Swipe to Wipe” arrow from left to right.

    If red error messages show up, your phone is probably encypted but TWRP can’t decrypt the /data partition (it’s a common issue on Samsung phones).

    To solve that problem, go to Wipe > Advanced wipe, select “data”, click on “Repair or Change File System”, then on “Change filesystem”. Select exFAT (or another one if it doesn’t work, it doesn’t matter), then swipe from the left to the right. Redo the manipulation but this time select ext4 (which is the original file system) then slide from the left to the right.
    Go to the 8)A)1. part of the howto.

  2. Return to the main menu using the virtual buttons at the bottom of the screen.

B) Transfer the /e/ ROM to the internal storage of the smartphone

The previously downloaded /e/ ROM is waiting in the warm on your computer, so you need to transfer it to your smartphone’s internal storage so that TWRP can use it.

  1. Connect your smartphone to the computer.

  2. Copy the ZIP folder of the /e/ ROM (without unzipping) (right click on it and then “Copy”).

  3. Paste it into the internal storage of your smartphone. To do this, in the file explorer you are in, click on “This PC” then on your smartphone, then on “Internal storage”. Paste here, next to the “TWRP” folder (not inside).

  4. Unplug your smartphone once the transfer is complete.

C) Install /e/

Everything is ready, all that remains is to install /e/.

  1. In the TWRP main menu, click on “Install”.

  2. Select the .zip file you just copied/pasted. It should appear directly if you have pasted it at the right place.

  3. To confirm the flash of your smartphone, slide the “Swipe to confirm Flash” arrow from left to right.

  4. A blue loading bar or a shiny empty bar should appear. After a few minutes at most, the installation is completed.

If you encounter an “error 7”, refer to this topic .
This could also be due to the fact that :

  • your device isn’t compatible with the ROM you are trying to install,
  • your TWRP version is too old. Try to find a more recent unofficial one.
  1. Click on “Wipe cache/dalvik” at the bottom left, confirm if necessary.

  2. Click on “Reboot System”. You can choose whether or not to install the TWRP application on /e/ and choose whether or not you want this application to be a system application. Since it’s not useful, I preferred to click on “Don’t install TWRP App” and DO NOT drag the arrow from left to right (this would have resulted in its installation).

9) Enjoy your digital sovereignty

The animation of the /e/ logo should now appear on your screen for several minutes. Wait, then configure your device as you wish.

If you have any problem or correction to make so that this tutorial can be accurate to the word, do not hesitate :wink:

Other topic :

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

22 Likes

La version française est disponible ici :

2 Likes

Great documentation @Anonyme, well illustrated. Thanks you for sharing!

3 Likes

Hi, I have a Samsung Galaxy S6 SM-G920R4 (US Cellular)

I found that only the SM-G920F is shown as the supported model, would flashing this image work? Or would doing something like this brick the phone?

Thanks

Hi, welcome in our community :slight_smile:

Don’t flash if it doesn’t match perfectly with your device. I can’t tell you precisly if it would damage your phone though. But not doing it is the wiser decision.

Thanks :frowning:

Any other similar anti google open source ROMS you would suggest?

@seasnail as far as I know, /e/ is the only true anti GAFAM and privacy respectful OS.

@anon64684597 Ahah indeed :yum:

Welcome @isa :slight_smile:

So it has booted on the OS instead of TWRP. What if you turn off your phone and go into recovery mode ? (Power + Volume up + Home)
It shows TWRP or the original recovery menu ?

If it’s the original recovery menu, try to install TWRP again.

I did not install fastbood, adb and all those things I don’t understand either.

Grrr… Every single phone has its own little issues, so be very careful and check before doing this for other tutorials with your specific phone (and read the comments about it) in order to see if there is no particularity.

Looks like being on Nougat (or higher I guess) can cause trouble.
(Sorry for all the posts, I’ve reach the maximum Edit number)

This ‘how to’ is just great! I would have not been able to flash the device without it! Thanks a lot for it!
I got the error 7 as well which makes updates a bit more complicated because I can’t do it from the mobile. I need to download it on a desktop, change the file that needs to be changeds and zip again the whole thing before copy/pasting in the internal storage… Same for you @Anonyme or did you find a way to go around this on the mobile itself?

The version of TWRP for my device in the official website wasn’t updated for 2 years, that’s why the error 7 occurred.

I found this repo with recent version of TWRP that work great with my device, no error 7 anymore.

1 Like

Hello, good topic but i’m trying to install /e/ on my samsung galaxy s6 and the download link “primary (europe)” doesn’t work in TWRP (https://twrp.me/Devices/Samsung/). Do you have an idea to fix it ? (choose (Americas) that works ? )
Thanks.

and now… it works ! the link is back ! great !

Hi there, I have a Samsung SIII, i9300 the international version, I have managed up to the point where I have installed TWRP and wipe what is here described. Then I have copied the right zip file ( [e-0.6-n-2019061613637-dev-i9300.zip] ) to a sd card. The card is recognized by TWRP as an external_sd card. The problem is that when I try to install it I get the error 7. From the link I tried to edit the script in the zip file and tried to install again but I always get new errors (not the error 7 but for example error 6 or others) in TWRP. Any suggestions are welcome.

Hello.

Thanks for the documentation which really helped me into getting /e/.
Based on the different tips I managed to get until the end of step 7 and the installation of /e/ (I get an error 7 which I bypassed).

Unfortunatelly when I restart the device on system I’m stuck on “Samsung Galaxy J7” white screen.
I got no error and I have not found yet how to debug it.
I have a Samsung Galaxy J7 SM-J730F/DS which is not exactly the model supported but the processor is the same Galaxy J7 SM-J700.

Have you any idea of what can be the issue or how I can troubleshoot ?

Hi @jean78 if it is not on the supported list chances are the build will not work. You may get it to install but the OS would throw up weird errors. At worst a mismatched ROM can brick your phone. You have already added a request for a device - the more the users requesting for support the better the chances of a build for this phone.

@Anonyme thank you so much for your turotial, I succeeded installing /e/ and I feel so happy now!

@anyone;
But now new challenges arise… I followed the steps, including to select the option NOT to install TWRP after flashing the device. However, after installing /e/ a system-update is being offered and I get a message;

Apply update

you are about to upgrade to /e/OS 0.7 - 24 Jan 2020.

If you press OK, the device will restart itself in recovery mode to install the update.

Note: This feature requires a compatible Recovery or updates will need to be installed manually.

When I press OK my device will reboot, but I enter in TWRP menu again. So it seems TWRP is installed, after selecting “do not install”.

My question is;
*is there a possibility to remove TWRP from my device?
*is it safe to remove TWRP from my device?
*how can I install the system-update?

I have to admit I allready tried some ideas myself, for example;
*after being in the TWRP menu I noticed the e-xxx-xxx-xx.zip-file is still there, so I choose to remove the .zip file and the TWRP-directory which where installed and used in the flashing proces.

*have I screwed up when doing this experiment?

thank you

How can I uninstall or remove TWRP from my device?

For the vast majority of devices, you don’t actually remove TWRP to get back to the stock recovery. Installing a different recovery is your only real option. Simply install whatever recovery that you want and that will overwrite or replace TWRP. Usually you can follow the instructions on our website for installing TWRP manually, only use the file for whatever recovery you are choosing to install instead of the TWRP file.

Note, we don’t keep or maintain a database of stock recoveries. If you are trying to reinstall the stock recovery, you will have to find a copy of the stock recovery on your own.

1 Like

my apologies

I found a post precisely answering my questions on this forum in the link below. (also by @Anonyme) @archje thank you for your quick response. Hopefully I keep learning everyday, for a long time to come. :mortar_board:

I want to thank everybody involved and contributing with the /e/ project. You are making my day.

1 Like