yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] firefds:
Yes, but you will need to copy them to your internal storage after the steps where you wipe data and reboot to recovery
[Samsung Galaxy S8 & S8+ Cross Device Development] smallville7123:
ok

---------- Post added at 09:45 AM ---------- Previous post was at 09:42 AM ----------

do i keep read-only on first boot and allow modifications on second boot?

for example

You have to flash dm-verity, you can't skip that step.

Just follow guide on the first page.

But basically -

1. Flash TWRP

keep read only

2. Wipe data

3. Reboot to recovery (TWRP)

allow modifications

4. Flash dm-verity

5. Flash SU/Magisk

6. Reboot to system

---------- Post added at 09:50 AM ---------- Previous post was at 09:45 AM ----------

i tap on "Format Data" right?

---------- Post added at 09:57 AM ---------- Previous post was at 09:50 AM ----------

after flashing dm-verity do i tap on Wipe cache/dalbik, Reboot System, or do i go back and flash magisk? also after flashing magisk do i Wipe cache/dalbik, Reboot System, or do i go back

also is magisk 6.1 ok, or do i need a higher version of magisk
[Samsung Galaxy S8 & S8+ Cross Device Development] firefds:
Keep read only on first boot of twrp.

After reboot to recovery choose modify system

No need to wipe cache/ dalvik at any point as data is wiped anyway.

You choose format data, yes.

Isnt this all written on the first page??

https://xdaforums.com/galaxy-s8/sam...y-twrp-galaxy-s8-exynos-t3595102/post72004368
[Samsung Galaxy S8 & S8+ Cross Device Development] smallville7123:
ok, i flashed magisk and rebooted into system, phone appears to be booting up successfully
[Samsung Galaxy S8 & S8+ Cross Device Development] ABRUSE:
Does the twrp work for the samsung s8 active
[Samsung Galaxy S8 & S8+ Cross Device Development] spawnlives:
No

This version is for Exynos variant and not for the Snapdragon variant.
[Samsung Galaxy S8 & S8+ Cross Device Development] aand16:
Can someone with the expertise please give me a hand.

I need to recover files from the encrypted /data partition on stock S8.

Can TWRP help me?

Here's a retailed thread https://xdaforums.com/galaxy-s8/help/s8-integrity-verification-failed-t3903794

Thanks a lot
[Samsung Galaxy S8 & S8+ Cross Device Development] no.ini:
What should I say?!

It is really sad and shameful not being able to fix the issue with the encryption, so you can enable enc on rooted devices!!

My last phone (ONePlus 3t) I chose because of this... You have no problems about the ****ing enc! Neither to a "stock" nor to a mod version of OS.

To my bad, I forget why I didn't choose mainstream bull**** like this (S8) for someone like me...

THIS exactly also is the difference between commercial support and "hobby technicians"... U cannot count on them...

Who wants to tell me, that a highly frequented phone like this has not enough interested people behind it to make a solution...?

poor nerds... (I'm not an exaption - but I dont have time, and willing to pay)
[Samsung Galaxy S8 & S8+ Cross Device Development] firefds:
TWRP Version 3.3.0 is out!

TWRP 3.3.0-0 Changelog

Merge AOSP 9.0 r3 (Dees_Troy)

Use ANDROID_ROOT variable instead of hard coding to /system (CaptainThrowback)

Decrypt FBE on 9.0 and metadata decrypt (Dees_Troy)

vold decrypt updates (CaptainThrowback and nijel8)

Support vibration on LED class devices (notsyncing)

Metadata decrypt support for Pixel 3 (Dees_Troy)

Support rotating the display via build flag (vladimiroltean)

Reboot to EDL mode button (mauronofrio)

Support MTP on FFS devices (bigbiff)

Update FDE decrypt to support keymaster 3 and 4 (Dees_Troy)

Detect mkfs.f2fs version to properly format on f2fs partitions (Dees_Troy)

Allow TWRP to use md5 and sha256 checksums for zip installs (bigbiff)

TWRP can use /data/cache/recovery and /persist/cache/recovery on AB devices with no cache partition (bigbiff)

Switch part of advanced menus in TWRP to use a listbox of options (Dees_Troy)

Use magiskboot to allow repacking boot images for installing TWRP (Dees_Troy with thanks to topjohnwu of course)

Download -

S8 - https://twrp.me/samsung/samsunggalaxys8.html

S8+ - https://twrp.me/samsung/samsunggalaxys8plus.html
[Samsung Galaxy S8 & S8+ Cross Device Development] Teracotta:
I'm using TWRP 3.3 and cannot boot into TWRP.

I purchased a new S8 on the 1/1/1 BL (Nougat). Flashing TWRP causes the phone to freeze at the boot logo. From my experience with the S9, this is dmverity, but I didn't even get a chance to kernel boot once.

Anyone know what the issue is?
[Samsung Galaxy S8 & S8+ Cross Device Development] firefds:
Do the following steps:

1. Restore to stock rom, make sure that you can boot to system correctly.

2. Shutdown your device.

3. Reboot it to Download mode

4. Open Odin and put the twrp tar into AP.

5. In Odin, click on the Options tab and UNCHECK the Auto Reboot option

6. Move back to the Log tab and click on Start to flash TWRP. Wait until you see the green PASS message.

7. Using the devices hardware buttons, long press POWER + VOLUME DOWN to power off the device.

8. Immediately after the screen goes blank, switch to clicking POWER + BIXBY + VOLUME UP

This should get you inside TWRP recovery. from here you need to follow the guide of initilizing TWRP and installing dmverity etc.
[Samsung Galaxy S8 & S8+ Cross Device Development] Teracotta:
I followed this, but still have the same problem.

The first time I flashed TWRP, the phone wouldn't go into Recovery, and instead booted into the kernel which gave the "not certified" message. Ever since, flashing TWRP has the phone lag at the BL.

I don't understand why this would happen with what I know of the boot stack.
[Samsung Galaxy S8 & S8+ Cross Device Development] rafalubo:
Hello friend You have the boot loader blocked you have to wait 7 days.
[Samsung Galaxy S8 & S8+ Cross Device Development] Teracotta:
This is Nougat, there is no RMM security.
[Samsung Galaxy S8 & S8+ Cross Device Development] firefds:
You still need to go to developer options and unlock OEM
[Samsung Galaxy S8 & S8+ Cross Device Development] rafalubo:
Then keep trying to see if one day you will be able to do it.
[Samsung Galaxy S8 & S8+ Cross Device Development] Teracotta:
I already did that. They only thing I haven't done is CROM but that isn't necessary for a non-Chinese phone.

I don't have any explanation for why the dm-verity would kick in on virgin boot except it's a problem with TWRP 3.3.

CONFIRMED. I flashed 3.1 without problem. Something with the new TWRP is triggering the dm-verity right at the beginning.
[Samsung Galaxy S8 & S8+ Cross Device Development] Nojevah:
I think you used the wrong thread: it should have been posted here:

https://xdaforums.com/galaxy-s8/sam...lopment/recovery-galaxy-s8-s8-exynos-t3847712

Tbh, this thread should be closed since it is corsinacu the official maintainer: https://twrp.me/samsung/samsunggalaxys8.html
[Samsung Galaxy S8 & S8+ Cross Device Development] LU SONEVESSO:
Guys, hi how are you?? So, I just tried to install/flash via Odin the latest TWRP version, and I got this message "Only official released binaries can be flashed (RECOVERY)" :crying::crying:

Somebody can help me? Plx
[Samsung Galaxy S8 & S8+ Cross Device Development] VIP1961:
TWRP 3.3.1-0 is out

New version TWRP - 3.3.1-0 is out.

TWRP 3.3.1-0 Changelog

What's new in 3.3.1-0:

* Fix selinux issues during formatting - dianlujitao

* Various fixes for toybox and toolbox builds - CaptainThrowback and bigbiff

* Flash both A and B partitions when installing a recovery ramdisk - Dees_Troy

* Add option to uninstall TWRP app from /system - Dees_Troy

* Create digest for subpartitions - bigbiff

Download -

S8 - https://eu.dl.twrp.me/dreamlte/

S8+ - https://eu.dl.twrp.me/dream2lte/
[Samsung Galaxy S8 & S8+ Cross Device Development] Nojevah:
Still wrong thread for this announcement: https://xdaforums.com/galaxy-s8/sam...lopment/recovery-galaxy-s8-s8-exynos-t3847712
[Samsung Galaxy S8 & S8+ Cross Device Development] Sage:
Is the guide still accurate?

I have tried this a number of times though after the final auto reboot while holding down the buttons it just hangs on the Samsung Galaxy S8 logo. I try again and it tells me:

Custom Binary(Recovery) blocked due to remaining installment balance.

Phone is 3 years old and OEM Unlocking is already enabled in Dev Settings. Says 'Bootloader is already unlocked'

/fixed it.

Dropped back a couple of versions on TWRP. Looks like the new version is borked.
[Samsung Galaxy S8 & S8+ Cross Device Development] finwiznot:
TWRP version

What version of TWRP did you finally end up using?
[Samsung Galaxy S8 & S8+ Cross Device Development] Sage:
3.2.3-0
[Samsung Galaxy S8 & S8+ Cross Device Development] capsycum:
Hello,

got the same issue "Only official released binaries can be flashed (RECOVERY)"

SM-G950FD

Android 9

G950FXXU4DSD6

i tried with all versions of TWRP, different version of Odin, flashed clean stock ROM

OEM is unlock in dev option

When in download mode it is OFF and lock is OFF too

Anyone ? :D
[Samsung Galaxy S8 & S8+ Cross Device Development] AndrzejDwo:
Try this one

https://xdaforums.com/samsung-a-series-2017/how-to/guide-root-install-twrp-samsung-t3747535
[Samsung Galaxy S8 & S8+ Cross Device Development] capsycum:
thanks, problem solved

i downgraded to 8.0.0 then trick the clock and it worked well with the last TWRP :)
[Samsung Galaxy S8 & S8+ Cross Device Development] Nurgiacahya:
Hy can u help me, i try to flash twrp in odin and odin says success, but when i try to go to recovery mode i only got my factory recovery, how i can fix it ?? Thank's

Sory for my bad english
[Samsung Galaxy S8 & S8+ Cross Device Development] ACardAttack:
Which version of odin are you using? You should probably use Prince Cosmy version

Also make sure your usb drivers are up to date
[Samsung Galaxy S8 & S8+ Cross Device Development] andytran1986:
1- Download TWRP , Odin and USB Driver latest.

2- Open Odin, in tab "Options", untick "reboot".

3- Flash TWRP.

After success, hold VOL DOWN + POWER to restart. Immediately screen off, hold many times 3 keys: VOL UP + BIXBY + POWER until bootscreen is on and boot to Recovery.

If not success, flash TWRP again (must PASS in Odin). Remember, after flash TWRP pass, must be boot with 3 keys before Samsung bootscreen is on !

(sorry, my English bad)
[Samsung Galaxy S8 & S8+ Cross Device Development] DariasLuc:
I can not see "System Image" on Menu Install of twrp 3.3.1-1 G955N

Only show "Recovery" and "Boot" in Install Image
[Samsung Galaxy S8 & S8+ Cross Device Development] callumbr1:
You didn't flash it correctly step by step. As soon as you click start in Odin hold the recovery combo and keep holding until twrp boots
[Samsung Galaxy S8 & S8+ Cross Device Development] YMatrix:
Upgraded to 3.1.1-1 from 3.1.1-0 but having trouble with backup. I receive partition mount error on /preload.

Returned to 3.1.1-0 and no trouble.

Problem with the new version?
[Samsung Galaxy S8 & S8+ Cross Device Development] voroxda:
I faced the same problem :(

Error:

I:Can't probe device /dev/block/sda19

Failed to mount '/preload' (Invalid argument)

I:Actual block device: '/dev/block/sda19', current file system: 'ext4'
[Samsung Galaxy S8 & S8+ Cross Device Development] DariasLuc:
Twrp 3.3.1-1 not show Image System when check Image flash

Device: G955N (Korea varriant)

Please fix it
[Samsung Galaxy S8 & S8+ Cross Device Development] Snowers96:
Upgraded to 3.1.1-1 but having trouble because i receive partition mount error on /preload.
[Samsung Galaxy S8 & S8+ Cross Device Development] spawnlives:
Updated from 3.3.1.0 to 3.3.1.1 using .img file though twrp ( not Odin ) not having any mount errors. Have installed a few zip files and backup and restore with no errors.
[Samsung Galaxy S8 & S8+ Cross Device Development] Vishnarov:
For me the same thing .. When I go back, in new TWRP flashed the old one, spit it some error and the phone not booted anymore nor in TWRP nor yet in the ROM. I fixed it when flashed the old recovery in Prince Comsy Odin. There is something buggy in new TWRP.
[Samsung Galaxy S8 & S8+ Cross Device Development] ThornLe:
Hello,

Does rooting s8 factory resets everything back to stock?

Thanks.
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
had you of read a bit you would have found the answer quickly, always read first and ask later.

Rooting doesnt wipe the device per se but flashing twrp will require you to format data which will wipe the device.

so yes to be rooted your device will get wiped
[Samsung Galaxy S8 & S8+ Cross Device Development] merbiyatch:
Hi guys. I'm wanting to root my s8. Details are in the attachment. Gm950 fd android 9.0 one ui. I was wondering if using this guide be able to root my s8 despite it being on 9.0.
[Samsung Galaxy S8 & S8+ Cross Device Development] spawnlives:
You can still use this guide bearing in mind using latest twrp and magisk versions.

Also read this guide if you come across RMM state. You can check the status of RMM in download mode.

https://xdaforums.com/samsung-a-series-2017/how-to/guide-root-install-twrp-samsung-t3747535
[Samsung Galaxy S8 & S8+ Cross Device Development] ACardAttack:
So I had to reflash twrp with odin, that worked fine, followed the instructions, format, reboot, flash no verity and then I flash my rom, it boots no problem, but if I reboot (to twrp) twrp doesnt see internal storage.

What can I do to fix this? Im on custom rom, oem unlocked, I have had no problems rebooting and installing rom, and getting to twrp, but Im at a lost as to why twrp can't see internal storage after first boot

Edit: and I somehow figured it out, I updated to more recent twrp after flashing no verity, I realize I was using the old twrp that was linked in the guide which is older version, so maybe that is it, something to do with bootloaders? Either way Im good now
[Samsung Galaxy S8 & S8+ Cross Device Development] LanceLot9980:
I've followed the procedure and had everything running just fine. After rebooting and trying to go to recovery, the phone seems to have gone in some sort of bootloop.

When I turn it on, I get the screen with "Powered by Android" and has 'Only official released binaries are allowed to be flashed' written in red letters at the top. After a second, the phone shuts off again and when I turn it on again, it just shows the same screen and now I'm caught in this cycle. I've only managed to get into download mode till now. Can anybody help?
[Samsung Galaxy S8 & S8+ Cross Device Development] ACardAttack:
Are you on a Rom or stock? If you're on stock you may need to go back and allow OEM unlocking, so if you're on stock I think you may have to flash factor images through Odin and then redo the whole thing
[Samsung Galaxy S8 & S8+ Cross Device Development] LanceLot9980:
I'm on stock. (As if I even got the chance to flash a ROM xD). Can you explain what I have to do? I've been looking around for the stock firmware but wherever I go the download speed's been choked. I found a stock firmware on xda but it's older than the version I'm on. (Device: 5, Binary: 4 error)
[Samsung Galaxy S8 & S8+ Cross Device Development] ACardAttack:
Most likely what has to be done (it will work, not sure if there is something quicker you can do), find the firmware from sammobile or another site, there is a great program that can download it for you much quicker than sammobile, forget the name.

Flash the files in odin

On first boot, go enable developer options and click enable OEM unlocking

Follow the twrp steps

Be sure to check OEM unlocking is still checked when you do first boot after twrp, may have to re do it (that is my guess what may have happened)

You could also flash a rom after installing twrp before first boot post twrp, pretty much every rom has OEM unlocking clicked and even hidden so it cant accidentally be changed
[Samsung Galaxy S8 & S8+ Cross Device Development] LanceLot9980:
Thanks for the information. It looks like the phone got messed up even more. Now, it says that 'an error occurred while updating the device software'. It can still flash stuff, so I hope flashing the firmware will get rid of this problem as well.
[Samsung Galaxy S8 & S8+ Cross Device Development] ACardAttack:
You should be fine, I got that message a few months ago and was able to follow the steps I did and everything is fine now.

It's really hard to fully hard brick phones (it can still be done, but harder than it used to be)
[Samsung Galaxy S8 & S8+ Cross Device Development] LanceLot9980:
Yeah... I'm trying to find a place where I can download this without having to wait for 2 days. I think you were referring to SamFirm but it's been deprecated :(
[Samsung Galaxy S8 & S8+ Cross Device Development] ACardAttack:
Check out this tool, it's the "sequel"

https://xdaforums.com/s10-plus/how-to/tool-frija-samsung-firmware-downloader-t3910594
[Samsung Galaxy S8 & S8+ Cross Device Development] LanceLot9980:
Thanks a bunch. But it still gives me error 102
[Samsung Galaxy S8 & S8+ Cross Device Development] spawnlives:
You can still use samfirm.

Make sure you have installed from Microsoft download links on you pc

https://xdaforums.com/s10-plus/how-to/tool-frija-samsung-firmware-downloader-t3910594/post79603302

These two files are required to use samfirm and frija software.
[Samsung Galaxy S8 & S8+ Cross Device Development] ACardAttack:
What is error 102, can you remind me?

I had some issues, one I have the 950FD, but it couldnt find anything, when I searched 950F it was able to find and download firmwares then and that worked on my phone

Also some CSC regions I couldnt find anything, so I had to cycle through a few until I found one that it had
[Samsung Galaxy S8 & S8+ Cross Device Development] LanceLot9980:
I had downloaded these after doing some research. But it's still the same :confused:

---------- Post added at 10:01 AM ---------- Previous post was at 09:56 AM ----------

It's when it can't find any firmware matching the input and the D in G950FD stands for Dual SIM, so both F and FD firmwares will work on it. Can you tell me the CSC region that you used to download the firmware? (Also, does the CSC of the firmware have OXM in it? Cuz that would be helpful)
[Samsung Galaxy S8 & S8+ Cross Device Development] spawnlives:
When searching for firmware just enter F and not FD. Basically the F and FD are the same firmware.

So for the S8

Model number is SM-950F
[Samsung Galaxy S8 & S8+ Cross Device Development] ACardAttack:
I'd just go down this list, this is what I did until I found one that would download

https://www.sammobile.com/samsung/galaxy-s8/firmware/SM-G950F/
[Samsung Galaxy S8 & S8+ Cross Device Development] LanceLot9980:
Don't worry about it. After 5 hours of agony, I finally have the device up and running :)
[Samsung Galaxy S8 & S8+ Cross Device Development] ACardAttack:
Yay!

Nice thing is if it happened again, you know how to fix it! But yeah first time is a ***** trying to figure it out
[Samsung Galaxy S8 & S8+ Cross Device Development] LanceLot9980:
Yeah. Flashing the stock ROM is basically the last thing you can do to fix your phone. I've flashed and fixed soft bricks before but after seeing that the firmware takes so long to download, I figured I should start looking for other fixes which just led me to flashing the stock ROM (what was the point...XD)
[Samsung Galaxy S8 & S8+ Cross Device Development] marko_marko_marko:
Hey.I can't confirm Keep Read Only button.When I come to that stage I can't press anything.It's like my touch isn't working.I tried installing different TWRP build but nothing has changed.

I'm on Samsung Galaxy S8 Plus
[Samsung Galaxy S8 & S8+ Cross Device Development] Rmark1086:
What's the difference between twrp primary America's vs Europe?

(My S8 SM-G950FD) Was purchased in Kuwait but I'm using in the US. Are the twrp options above just a preference?

May be stupid question but is it possible to flash US and/or Retail firmware?
[Samsung Galaxy S8 & S8+ Cross Device Development] spawnlives:
They are mirror download website for twrp. You can download from either site as they are the same twrp version.

If you mean flashing F/FD models to U/U1 models ( Exynos to Snapdragon ) no you can't.
[Samsung Galaxy S8 & S8+ Cross Device Development] ACardAttack:
Can't restore backup/see files stored internally, but can see them on external storage. My phone sees internal storage, it's not the 0mb issue, I can backup to internal storage and flash stuff stored internally, but if I want to restore, and I select internal storage it shows no folders (does show how much storage is left), I have to select external storage to restore

Any ideas what is up? Im on 3.3.1.0, I know there is a more up to date one, but I've had issues with that one so I stayed on 3.3.1.0 as that used to work fine (i did have to reflash it and format data and such, well I flashed an older version 3.2.1.0, it was linked in a guide and every reboot would lose ability to see internal storage, so I flashed 3.3.1.0 from twrp, flashed new rom and everything is better, other than not seeing internal storage folders when I select restore.

Not a huge problem, just annoying as either backing up to external/moving files to external is slow compared to how long it takes to back up to internal
[Samsung Galaxy S8 & S8+ Cross Device Development] Mohamedkam000:
You sure you followed instructions carefully?

Specially the dm-verity part?
[Samsung Galaxy S8 & S8+ Cross Device Development] ACardAttack:
Yep, so I think my initial issues were with the version of twrp I installed and my bootloader, it was an older version, didn't realize it at first, followed that, rebooted into twrp after formatting, all looked good, flashed dm-verity, flashed a rom, that all seemed good until I rebooted into twrp to make a backup before flashing magisk, I would get 0mb, eventually I figured maybe it was my version of TWRP, so I flashed 3.3.1.0 after doing all the above steps and then everything else was fine, reboots no problem to twrp, even when I go to restore backup, it shows how much memory is remaining internally, just no folders
[Samsung Galaxy S8 & S8+ Cross Device Development] spawnlives:
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.
[Samsung Galaxy S8 & S8+ Cross Device Development] ACardAttack:
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
[Samsung Galaxy S8 & S8+ Cross Device Development] spawnlives:
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.
[Samsung Galaxy S8 & S8+ Cross Device Development] Rmark1086:
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?
[Samsung Galaxy S8 & S8+ Cross Device Development] spawnlives:
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