• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[RECOVERY][OFFICIAL] TWRP for Galaxy S8 and S8+ (Exynos)

Search This thread

jesec

Inactive Recognized Developer / Contributor
Jan 29, 2015
804
6,192
SF Bay Area
Team Win Recovery Project 3.1.1
Exynos ONLY.
In NO way it is compatible with Snapdragon variants including but not limited to American(U/A/T/P/V), Chinese(0/8/6), Hong Kong(0), Japanese(SC-*), Canadian(W) variants.

home.png
backupname.png


#include <std_disclaimer.h>

Special Notes:
1. DON'T FORGET TO ENABLE "OEM UNLOCK" (located in Developers options).
2. KNOX will be tripped once you flashed custom binaries to your phone.
(Your warranty may be voided. However this may not affect you if your country, European Union for example, forces Samsung to provide hardware warranty regardless of software status.)
More Infos: https://en.m.wikipedia.org/wiki/Rooting_the_Android_operating_system
3. Samsung Firmware OTA (aka System Updates) will no longer work once you flashed custom binaries.
(You can flash custom ROMs if you want to keep the OS up-to-date.)
4. It is HIGHLY UNRECOMMENDED to purchase any access to any kind of private forums, ROMs or Kernels.
(DO NOT GET FOOLED.)


Download:
Galaxy S8 (dreamlte - Exynos vaiants - G950F/FD/N/X)
https://twrp.me/devices/samsunggalaxys8.html
Galaxy S8+ (dream2lte - Exynos variants - G955F/FD/X/N)
https://twrp.me/devices/samsunggalaxys8plus.html

Sources:
https://github.com/TeamWin

Changelog:
Check #2.

Guide:
Check #3.

Official Telegram Group: - General Discussion
Join to get quick support (when you find my guide confusing or meet any unexpected problem).
You can also discuss about ROMs(this group is "neutral" so you can discuss about or review any ROM. Note: Devs: Do NOT aggressively advertise your work.), get latest updates from developers or report possible bugs.
Invite Link

Show your appreciation:
Click Thanks!, Rate 5-star or/and Donate to me. ;)


XDA:DevDB Information
TWRP for Galaxy S8 and S8+, Tool/Utility for the Samsung Galaxy S8

Contributors
jesec
Source Code: https://github.com/TeamWin


Version Information
Status: Beta

Created 2017-04-24
Last Updated 2018-07-22
 
Last edited:

jesec

Inactive Recognized Developer / Contributor
Jan 29, 2015
804
6,192
SF Bay Area
Changelog:

Aug. 02:
Merged AQG kernel updates from Samsung.
NOTE: AQG or later bootloader is supported and REQUIRED from this version.

May. 30:
Possible fix for I/O problems.
Backported latest F2FS from Linux 4.12.
Minor kernel updates.

Apr. 27:
Problems Solved:
1. MTP
2. ADB
3. External SD Mount

Features Added:
F2FS - Note: This change ONLY makes it possible to operate F2FS in TWRP. You still need a F2FS-compatible KERNEL to boot into system with F2FS.

Note: As MTP and ADB are available now, flashable zips will no longer be included. Please download them by yourself and transfer them from your computer to phone if you need them.
Useful Links:
Disable dm-verity and make encryption optional: https://build.nethunter.com/android-tools/no-verity-opt-encrypt/
Magisk: https://forum.xda-developers.com/apps/magisk

Apr. 24:
Initial Release
 
Last edited:

jesec

Inactive Recognized Developer / Contributor
Jan 29, 2015
804
6,192
SF Bay Area
Guides:

Notice: It may wipe all your data including those in internal storage.

Part 1 - HOW-TO FLASH TWRP:
1. In your ROM, go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
2. Go to Settings -> Developer options and enable OEM Unlock option.
3. Download and Install Samsung Mobile Phones Drivers.
- Option 1: Download and Install Smart Switch for PC.
- Option 2: Download and Install standalone driver package.
4. Download and extract Odin (Samsung's Flash Tool) to your computer.
5. Download a .tar image of TWRP.
6. Reboot your device to download mode.
- Hold [VOLUME DOWN] + [BIXBY] + [POWER] for approx. 15 seconds.
- Read the warning carefully.
- If you agree, press [VOLUME UP] to get into Download mode. If you don't agree, STOP.
7. Open Odin and place that TWRP tar file in the [AP] slot.
8. Connect your phone.
9. Hold [VOLUME UP] + [BIXBY] + [POWER] on your phone and then press start on Odin.
10. Wait for the phone to reboot. DO NOT release [VOLUME UP] + [BIXBY] + [POWER] or you may not reboot into TWRP.

Part 2 - HOW-TO INITIALIZE TWRP: (for new phones)
1. If you completed Part 1 successfully, you should be in TWRP now. At this point, you will reach the screen asking you if you want to allow system modifications.
2. Select "Keep /system RO". (Don't swipe right or you may not be able to boot into system if you failed to complete next steps. However, you can swipe right to allow modifications if you are confident that you can complete next steps.)
3. Go to "Wipe" menu of TWRP and you will find "Format Data". Press "Format Data" and type "yes" to continue.
4. Go to "Reboot" menu and Press "Recovery" to reboot TWRP.
5. Download the latest dm-verity and force encryption disabler zip on your computer.
6. Transfer the zip to your phone.
- Option 1: MTP: Connect your phone with computer and just copy the zip to internal storage. (similar to how you transfer files when in system.)
- Option 2: ADB: Connect your phone with computer and run command "adb push /path/to/zip /sdcard/".
- Option 3: External SD: Copy the zip to an external SD and then insert the card to your phone.
7. Go to "Install" menu of TWRP and flash the zip.

TWRP is initialized and fully functional at this stage. Now you can either reboot into system or root, flash custom ROMs via TWRP.

Part 3 - HOW-TO ROOT:
1. Download the flashable zip.
- Option 1: Magisk
- Option 2: SuperSU (untested)
2. Transfer the zip to your phone.
3. Go to "Install" menu of TWRP and flash the zip.

Part 3a - HOW-TO FLASH CUSTOM ROMS:
1. Download the flashable zip.
2. Transfer the zip to your phone.
3. Go to "Install" menu of TWRP and flash the zip.
Simple.
 
Last edited:

nk33

Senior Member
Jun 24, 2009
1,142
85
if i wipe data partition in order to disable encryption - is that like erasing my phone and starting from scratch? will i lose all my data?
 

nk33

Senior Member
Jun 24, 2009
1,142
85
Yes you will, make sure you've backed-up as much as you can to your Google Cloud Storage. I promise, it's worth it.

Thanks.

And if i just install TWRP, and then the root zip file to give me root will it all work ok? will i achieve root ok?

I spent ages getting this phone just like i want it and seriously cant be bothered to do it all again - will i be ok keeping encryption on if all i want to achieve is root?

what will i lose out on if i dont disable encryption?
 

Kevin_R

Member
Sep 6, 2008
23
3
Thanks.

And if i just install TWRP, and then the root zip file to give me root will it all work ok? will i achieve root ok?

I spent ages getting this phone just like i want it and seriously cant be bothered to do it all again - will i be ok keeping encryption on if all i want to achieve is root?

what will i lose out on if i dont disable encryption?

I found that if I didn't disable the encryption, root wouldn't work as it couldn't mount the file system to make the relevant changes

---------- Post added at 02:19 PM ---------- Previous post was at 02:14 PM ----------

Anyone managed to get Samsung Pass and Secure Folder working? I have Magisk Hide running and Knox Trip is emulated to 0x0. Other apps that would normally detect root don't detect it but Samsung Pass and Secure Folder still can.
 
  • Like
Reactions: thevmax

Lurch1o

New member
Apr 25, 2010
2
0
Just for info tried installing the SuperSU binary through TWRP but, as TWRP seems to have no access to the SD card, the flash failed and left me in a boot loop.

Reinstalling TWRP from Odin and reflashing Magisk solved the Boot loop issue.

SuperSU did kill the Knox processes for me though to stop the annoying nagging notifications.
 

pax2011

Senior Member
Feb 6, 2016
70
16
If after flashing from Odin, phone says that needs restore, Just press volume up Bixby Power, wait, then format data, Power off. Now ho back in download mode, reflash with odin, done.
It works all', except personal area and Samsung health
hT1fwQ
 
  • Like
Reactions: OrphanBlack

fiarfox888

Member
Oct 26, 2014
46
4
if i use this method i lose warranty ? is it possible to do evrything later on normal without having any trouble ?
 

xxmcvapourxx

Senior Member
Oct 11, 2010
116
9
help : just tried to root my g950f Uk 02 - i've flashed it a few times and used the two flash but im getting verification failed and it wont erase anymore when i try use the recovery flash i get invaled mount /data when using that decrypt .zip in flashables do i need to redo the stock firmware and start again?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 171
    Team Win Recovery Project 3.1.1
    Exynos ONLY.
    In NO way it is compatible with Snapdragon variants including but not limited to American(U/A/T/P/V), Chinese(0/8/6), Hong Kong(0), Japanese(SC-*), Canadian(W) variants.

    home.png
    backupname.png


    #include <std_disclaimer.h>

    Special Notes:
    1. DON'T FORGET TO ENABLE "OEM UNLOCK" (located in Developers options).
    2. KNOX will be tripped once you flashed custom binaries to your phone.
    (Your warranty may be voided. However this may not affect you if your country, European Union for example, forces Samsung to provide hardware warranty regardless of software status.)
    More Infos: https://en.m.wikipedia.org/wiki/Rooting_the_Android_operating_system
    3. Samsung Firmware OTA (aka System Updates) will no longer work once you flashed custom binaries.
    (You can flash custom ROMs if you want to keep the OS up-to-date.)
    4. It is HIGHLY UNRECOMMENDED to purchase any access to any kind of private forums, ROMs or Kernels.
    (DO NOT GET FOOLED.)


    Download:
    Galaxy S8 (dreamlte - Exynos vaiants - G950F/FD/N/X)
    https://twrp.me/devices/samsunggalaxys8.html
    Galaxy S8+ (dream2lte - Exynos variants - G955F/FD/X/N)
    https://twrp.me/devices/samsunggalaxys8plus.html

    Sources:
    https://github.com/TeamWin

    Changelog:
    Check #2.

    Guide:
    Check #3.

    Official Telegram Group: - General Discussion
    Join to get quick support (when you find my guide confusing or meet any unexpected problem).
    You can also discuss about ROMs(this group is "neutral" so you can discuss about or review any ROM. Note: Devs: Do NOT aggressively advertise your work.), get latest updates from developers or report possible bugs.
    Invite Link

    Show your appreciation:
    Click Thanks!, Rate 5-star or/and Donate to me. ;)


    XDA:DevDB Information
    TWRP for Galaxy S8 and S8+, Tool/Utility for the Samsung Galaxy S8

    Contributors
    jesec
    Source Code: https://github.com/TeamWin


    Version Information
    Status: Beta

    Created 2017-04-24
    Last Updated 2018-07-22
    104
    Guides:

    Notice: It may wipe all your data including those in internal storage.

    Part 1 - HOW-TO FLASH TWRP:
    1. In your ROM, go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
    2. Go to Settings -> Developer options and enable OEM Unlock option.
    3. Download and Install Samsung Mobile Phones Drivers.
    - Option 1: Download and Install Smart Switch for PC.
    - Option 2: Download and Install standalone driver package.
    4. Download and extract Odin (Samsung's Flash Tool) to your computer.
    5. Download a .tar image of TWRP.
    6. Reboot your device to download mode.
    - Hold [VOLUME DOWN] + [BIXBY] + [POWER] for approx. 15 seconds.
    - Read the warning carefully.
    - If you agree, press [VOLUME UP] to get into Download mode. If you don't agree, STOP.
    7. Open Odin and place that TWRP tar file in the [AP] slot.
    8. Connect your phone.
    9. Hold [VOLUME UP] + [BIXBY] + [POWER] on your phone and then press start on Odin.
    10. Wait for the phone to reboot. DO NOT release [VOLUME UP] + [BIXBY] + [POWER] or you may not reboot into TWRP.

    Part 2 - HOW-TO INITIALIZE TWRP: (for new phones)
    1. If you completed Part 1 successfully, you should be in TWRP now. At this point, you will reach the screen asking you if you want to allow system modifications.
    2. Select "Keep /system RO". (Don't swipe right or you may not be able to boot into system if you failed to complete next steps. However, you can swipe right to allow modifications if you are confident that you can complete next steps.)
    3. Go to "Wipe" menu of TWRP and you will find "Format Data". Press "Format Data" and type "yes" to continue.
    4. Go to "Reboot" menu and Press "Recovery" to reboot TWRP.
    5. Download the latest dm-verity and force encryption disabler zip on your computer.
    6. Transfer the zip to your phone.
    - Option 1: MTP: Connect your phone with computer and just copy the zip to internal storage. (similar to how you transfer files when in system.)
    - Option 2: ADB: Connect your phone with computer and run command "adb push /path/to/zip /sdcard/".
    - Option 3: External SD: Copy the zip to an external SD and then insert the card to your phone.
    7. Go to "Install" menu of TWRP and flash the zip.

    TWRP is initialized and fully functional at this stage. Now you can either reboot into system or root, flash custom ROMs via TWRP.

    Part 3 - HOW-TO ROOT:
    1. Download the flashable zip.
    - Option 1: Magisk
    - Option 2: SuperSU (untested)
    2. Transfer the zip to your phone.
    3. Go to "Install" menu of TWRP and flash the zip.

    Part 3a - HOW-TO FLASH CUSTOM ROMS:
    1. Download the flashable zip.
    2. Transfer the zip to your phone.
    3. Go to "Install" menu of TWRP and flash the zip.
    Simple.
    41
    Changelog:

    Aug. 02:
    Merged AQG kernel updates from Samsung.
    NOTE: AQG or later bootloader is supported and REQUIRED from this version.

    May. 30:
    Possible fix for I/O problems.
    Backported latest F2FS from Linux 4.12.
    Minor kernel updates.

    Apr. 27:
    Problems Solved:
    1. MTP
    2. ADB
    3. External SD Mount

    Features Added:
    F2FS - Note: This change ONLY makes it possible to operate F2FS in TWRP. You still need a F2FS-compatible KERNEL to boot into system with F2FS.

    Note: As MTP and ADB are available now, flashable zips will no longer be included. Please download them by yourself and transfer them from your computer to phone if you need them.
    Useful Links:
    Disable dm-verity and make encryption optional: https://build.nethunter.com/android-tools/no-verity-opt-encrypt/
    Magisk: https://forum.xda-developers.com/apps/magisk

    Apr. 24:
    Initial Release
    29
    I am aware of compatibility issues related to newer bootloader.
    New version of TWRP will be released soon with support to newer BLs.
    19
    New official builds will be released soon with support to newer BLs.
    At this moment, you can checkout Telegram channel for unofficial test builds.