• 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

ACardAttack

Senior Member
Aug 10, 2013
1,127
220
Can't remember what version twrp was but using twrp earlier than Oreo releases will result in mounting data issues due to the new data management introduce in Oreo.

Just curious are you copy backups file from external to internal storage. Unlike flashing, twrp has a dedicated storage location for internal (and external ) backups.

I backup to internal (then have to move to external to see it when restoring back up), when I try to restore backup, it shows no folders or anything at all internally, but if Im going to back up or select zip to flash, it shows folders and such. So even when I backup internally, then hit restore, nothing is there, it does show how much storage is left internally
 

spawnlives

Senior Member
Jan 27, 2018
1,115
417
Samsung Galaxy S8
Samsung Galaxy S9
I backup to internal (then have to move to external to see it when restoring back up), when I try to restore backup, it shows no folders or anything at all internally, but if Im going to back up or select zip to flash, it shows folders and such. So even when I backup internally, then hit restore, nothing is there, it does show how much storage is left internally

Not sure what going on.
If you can backup to internal storage but not restore, yet you can move the backup from internal storage to external storage an restore it may be an issue with twrp not reading the internal backup ( Yet it will perform an internal backup ).

Have you tried reinstalling twrp. Either the same one or one or two version down from 3.3.1.0
You can just flash the .img file in twrp (no other steps required ) and reboot.
 

Rmark1086

Member
Sep 25, 2018
32
8
Medina,NY
flashed twrp phone went into bootloop. I formatted with twrp flashed magisk etc. in twrp im getting Failed to mount '/preload (invalid argument)
i have root and phone seems to be working normally other than the preload problem. What can i do to fix?
 

spawnlives

Senior Member
Jan 27, 2018
1,115
417
Samsung Galaxy S8
Samsung Galaxy S9
flashed twrp phone went into bootloop. I formatted with twrp flashed magisk etc. in twrp im getting Failed to mount '/preload (invalid argument)
i have root and phone seems to be working normally other than the preload problem. What can i do to fix?


They are a few people having issues with preload with latest twrp version ( 3.3.1-1 ).

Maybe try:

Mount preload in Mount menu
Wipe menu - advance wipe - select preload partition - swipe to wipe
Early version of twrp
 
Last edited:
  • Like
Reactions: Rmark1086

Rmark1086

Member
Sep 25, 2018
32
8
Medina,NY
They are a few people having issues with preload with latest twrp version ( 3.3.1-1 ).

Maybe try:

Mount preload in Mount menu
Wipe menu - advance wipe - select preload partition - swipe to wipe
Early version of twrp

I tried to mount preload in Mount Menu but it wouldn't select so I moved on to wipe menu, advanced, and here it allowed me to select preload partition and continued on per instruction and swiped to wipe. Rebooted to Recovery to test if I could select preload in Mount Menu and sure enough I could. No more preload error. Thanks!!
 
  • Like
Reactions: spawnlives

ACardAttack

Senior Member
Aug 10, 2013
1,127
220
Have you tried reinstalling twrp. Either the same one or one or two version down from 3.3.1.0

I have not yet, Im a little hesitant, to at least downgrade as one I've had no issues before with 3.3.1.0 until this particular flash upgrading over 3.2.1.0 which was causing issues due I think to bootloader), the reason I was in this position where I had to start over and install twrp again was I tried to downgrade from 3.3.1.1 to 3.3.1.0 due to issues with it and just flashed 3.3.1.1, rebooted to twrp and got a bootloop, guess it could be issues with 3.3.1.1. and not so much me trying to downgrade. I may try when I have time on my hands in case something bad happens, but at the moment its just a minor inconvenience when I upgrade roms
 

Rmark1086

Member
Sep 25, 2018
32
8
Medina,NY
I ended up flashing back to stock firmware in order to take the latest security update and rooted again.
The original attempt at rooting I ended up having to resolve preload error in TWRP. This time i followed directions EXACTLY as its written.

First attempt i didnt hold volume up+bixby+power before hitting start in odin. I did uncheck auto reboot, holding the button combination after complete.


This time i pressed volume up+bixby+power, immediately hit start in odin and wouldn't you know it i have no Preload error.
I used the exact same twrp download from first attempt and have no errors. Im assuming maybe the preload error is from not following directions exactly as they are written or missing a step somewhere else along the way.
 
Last edited:

medosharaf21

Member
Sep 2, 2015
18
1
It's the first time to flash TWRP on s8
after flashing it and wiping it says Failed to

---------- Post added at 12:09 PM ---------- Previous post was at 11:39 AM ----------

Failed to mount preload (invalid argument)
 
Last edited:

kurtmeow

New member
Jan 8, 2020
3
0
twrp fail

cannot install TWRP <ID:0/005> Added!!
<ID:0/005> Odin engine v(ID:3.1203)..
<ID:0/005> File analysis..
<ID:0/005> SetupConnection..
<ID:0/005> Initialzation..
<ID:0/005> Get PIT for mapping..
<ID:0/005> Firmware update start..
<ID:0/005> SingleDownload.
<ID:0/005> recovery.img
<ID:0/005> RQT_CLOSE !!
<ID:0/005>
<ID:0/005> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)


Please help I am using TWRP twrp-3.3.1-1-dreamlte.img.... flashed the phone using Odin3_v3.13.1 but BL failed using BL_G950FXXU4DSBA_CL15411975_QB22090274_REV00_user_low_ship.tar.md5 or official s8 rom
 
Last edited:

spawnlives

Senior Member
Jan 27, 2018
1,115
417
Samsung Galaxy S8
Samsung Galaxy S9
cannot install TWRP <ID:0/005> Added!!
<ID:0/005> Odin engine v(ID:3.1203)..
<ID:0/005> File analysis..
<ID:0/005> SetupConnection..
<ID:0/005> Initialzation..
<ID:0/005> Get PIT for mapping..
<ID:0/005> Firmware update start..
<ID:0/005> SingleDownload.
<ID:0/005> recovery.img
<ID:0/005> RQT_CLOSE !!
<ID:0/005>
<ID:0/005> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)


Please help I am using TWRP twrp-3.3.1-1-dreamlte.img.... flashed the phone using Odin3_v3.13.1 but BL failed using BL_G950FXXU4DSBA_CL15411975_QB22090274_REV00_user_low_ship.tar.md5 or official s8 rom


Assuming that
1. That you unlocked your bootloader in developer options
2. Depending on what version you have that your rmm/kg state is showing normal(or disappeared)/checking. You can check in download mode.

Try Odin 3.13.1 or higher ( you log says 3.12.3 )
You need to flash the .img.tar file in the AP section of Odin only to install twrp.
Not sure what you trying to doing in BL section of Odin.
 
Last edited:

kurtmeow

New member
Jan 8, 2020
3
0
Assuming that
1. That you unlocked your bootloader in developer options
2. Depending on what version you have that your rmm/kg state is showing normal(or disappeared)/checking. You can check in download mode.

Try Odin 3.13.1 or higher ( you log says 3.12.3 )
You need to flash the .img.tar file in the AP section of Odin only to install twrp.
Not sure what you trying to doing in BL section of Odin.

still fail.

<ID:0/006> Added!!
<ID:0/006> Odin engine v(ID:3.1401)..
<ID:0/006> File analysis..
<ID:0/006> Total Binary size: 38 M
<ID:0/006> SetupConnection..
<ID:0/006> Initialzation..
<ID:0/006> Get PIT for mapping..
<ID:0/006> Firmware update start..
<ID:0/006> NAND Write Start!!
<ID:0/006> SingleDownload.
<ID:0/006> recovery.img
<ID:0/006> RQT_CLOSE !!
<ID:0/006>
<ID:0/006> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)

used odin 3.14 and flash twrp-3.3.1-1-dreamlte.img on AP section. Same result cannot write

Please help thanks
 

spawnlives

Senior Member
Jan 27, 2018
1,115
417
Samsung Galaxy S8
Samsung Galaxy S9
still fail.

<ID:0/006> Added!!
<ID:0/006> Odin engine v(ID:3.1401)..
<ID:0/006> File analysis..
<ID:0/006> Total Binary size: 38 M
<ID:0/006> SetupConnection..
<ID:0/006> Initialzation..
<ID:0/006> Get PIT for mapping..
<ID:0/006> Firmware update start..
<ID:0/006> NAND Write Start!!
<ID:0/006> SingleDownload.
<ID:0/006> recovery.img
<ID:0/006> RQT_CLOSE !!
<ID:0/006>
<ID:0/006> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)

used odin 3.14 and flash twrp-3.3.1-1-dreamlte.img on AP section. Same result cannot write

Please help thanks


Can you post/copy your download (Odin) screen?
And what method are you using to flash twrp
Are you flashing the .img.tar file ( not the .img file )
 

kurtmeow

New member
Jan 8, 2020
3
0
Can you post/copy your download (Odin) screen?
And what method are you using to flash twrp
Are you flashing the .img.tar file ( not the .img file )

Hi,

Thanks for the help. Already solve the problem. Got my original firmware from samsung to my original country ( PH ). I used FRIJA to dl the firmware. Thanks also to my friend to solve this problem
my phone working again.
 

jumpers

Senior Member
Nov 11, 2010
274
46
31
Charleroi
Hi guys,

Since Niantic decided to make more much crap with PoGo, their are blocking users with TWRP and FoxRecovery, by detecting it, it seems not related to the twrp folder or the .twrps file, because i deleted my whole twrp folder, deleted pogo's app datas, and the blocking still persist.

any workaround for that ? because Niantic is really annoying with those stupid acts...

have a nice day. o/
 
  • Like
Reactions: Illutorium

matesa2

New member
Feb 28, 2020
1
1
Hi , I need some help . I use this software : odin3_v3.13.1, twrp-3.3.1-0-dreamlte.img, no-verity-opt-encrypt-6.1 , Magisk-v20.3
I use tutorial from post 3 , everything goes well but after this step:
3. Go to "Wipe" menu of TWRP and you will find "Format Data". Press "Format Data" and type "yes" to continue.
I have some errors
e9b80f10d9a99.jpg

Later i install no-verity-opt-encrypt-6.1 and Magisk-v20.3 ,I have root ,everyhing works good but after restart I have error : only official released binaries are allowed to be flashed
After this error phone shuts down, twrp is not working , download mode works so I installed stock Android 9

What am I doing wrong ?
I have to use this file "RMM-State_Bypass_Mesa_v2" ?

Thank you for help , I installed before in other Galaxy phones (S4,S6) root ,twrp , xposed etc. but S8 is complicated...
 
Last edited:
  • Like
Reactions: Illutorium

pendor24

Senior Member
Jan 19, 2014
640
253
Hi , I need some help . I use this software : odin3_v3.13.1, twrp-3.3.1-0-dreamlte.img, no-verity-opt-encrypt-6.1 , Magisk-v20.3
I use tutorial from post 3 , everything goes well but after this step:
3. Go to "Wipe" menu of TWRP and you will find "Format Data". Press "Format Data" and type "yes" to continue.
I have some errors
e9b80f10d9a99.jpg

Later i install no-verity-opt-encrypt-6.1 and Magisk-v20.3 ,I have root ,everyhing works good but after restart I have error : only official released binaries are allowed to be flashed
After this error phone shuts down, twrp is not working , download mode works so I installed stock Android 9

What am I doing wrong ?
I have to use this file "RMM-State_Bypass_Mesa_v2" ?

Thank you for help , I installed before in other Galaxy phones (S4,S6) root ,twrp , xposed etc. but S8 is complicated...

the latest version of magisk is not installed by recovery. you have to patch the kernel img, flash it and install magisk install manually.
 

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.