yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] chinchulin01:
Hello guys.

I want to get root with Magisk and I'm trying to flash TWRP first. I've tried with different cables, different versions of Odin... to no avail. Usually the phone won't do anything when I press start on Odin.

Sometimes the flashing goes through but I get the Verification Failed message (see pic below) and I have to factory reset the device only to start over.

Sometimes I get a screen stating my phone is encrypted and I need to enter my password. I will enter 1234, it reboots and resets to factory settings again.

I tried the procedure indicated in #15 to no avail.

I would greatly appreciate your advice here. What am I doing wrong?

Pics here:

https://www.use.com/NyoyB
[Samsung Galaxy S8 & S8+ Cross Device Development] VIP1961:
New version

TWRP 3.2.1-0 is out for the S8/S8+

Changelist

* minui fixes (cryptomilk)

* Better android-8.0 compatibility in ROM trees (Dees_Troy)

* Fix missing library in android-8.0 (nkk71)

* Fix inconsistent SDCard naming (DevUt)

* Default to TWRP restore instead of adb backup restore to fix restore on fresh TWRP boot (jlask)

Samsung Galaxy S8 (Exynos) (dreamlte)

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

Samsung Galaxy S8+ (Exynos) (dream2lte)

https://eu.dl.twrp.me/dream2lte/
[Samsung Galaxy S8 & S8+ Cross Device Development] callumbr1:
You need to format data and type yes. Then flash dm verity zip to remove encryption. Follow the steps exactly In the OP and you should have no issue.
[Samsung Galaxy S8 & S8+ Cross Device Development] JeffDC:
I read on a download page the following:

"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.

but I have not found directions in the previous TWRP threads, nor this one detailing the proper kernal and how to install.

Would someone please advise.

Thank you.
[Samsung Galaxy S8 & S8+ Cross Device Development] firefds:
By installing the zip in the instructions you will have a modified kernel with dm-verity disabled.

Just follow the instructions exactly as they are written.
[Samsung Galaxy S8 & S8+ Cross Device Development] JeffDC:
Thank you, firefds.
[Samsung Galaxy S8 & S8+ Cross Device Development] 2pac4life:
Thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] Florby:
Thank you so much for your hard work [MENTION=6371894]jesec[/MENTION] ! I flashed TWRP and rooted my brand new 955F (running AQJ1) yesterday, and it works perfectly! :highfive:

FWIW if anyone is wondering, the flashing is just as easy (if not easier) using Heimdall instead of Odin (I only have Linux):

heimdall flash --RECOVERY /path/to/twrp.img --no-reboot

I keep getting the security notification, and can't seem to disable it. Any hints?
[Samsung Galaxy S8 & S8+ Cross Device Development] samteeee:
This should get rid of the warning:

Using root explorer

Edit build.prop

Towards the bottom:

From ro.config.tima=1

To ro.config.tima=0

Then save build.prop and restart your phone.
[Samsung Galaxy S8 & S8+ Cross Device Development] Florby:
Thanks, that fixed it! :)
[Samsung Galaxy S8 & S8+ Cross Device Development] Jostian:
Any changelog between 3.1.1-2 and 3.2.1? EDIT: saw changelog on post #1043
[Samsung Galaxy S8 & S8+ Cross Device Development] c3poo:
hello friends, I just rooted the s8 + and the safe folder does not work for the knox, how can I fix it? and apologize if it's already set, I did not see it and I do not see how to make it work. Thank you very much
[Samsung Galaxy S8 & S8+ Cross Device Development] samteeee:
You are welcome.
[Samsung Galaxy S8 & S8+ Cross Device Development] yash92duster:
It will never work

Once knox tripped Goodbye to knox features
[Samsung Galaxy S8 & S8+ Cross Device Development] c3poo:
Oh, thank you.
[Samsung Galaxy S8 & S8+ Cross Device Development] pat357:
Is there a minimum bootloader version required to use TWRP 3.2.0.1 on a Samsung S8+ (SM-G955F) ?

My S8+ is currently on NRD90M.G955FXXU1AQF7 with TWRP 3.1.1.1 : does TWRP 3.2.0.1 support this somewhat older bootloader ?

I ask because I once tried to update TWRP v3.1.1.1 to v3.1.1.2 and ended up with a soft-bricked phone just as many other S8(+) owners did.

To tell you the whole story, this is my current situation :

SM-G955F with TWRP v3.1.1.1 installed together with Magisk 14.0 to root the phone. All is working fine.

Objective :

update TWRP v3.1.1.1 to the latest v3.2.0.1

As I see it, I have 2 options :

opt 1:

Can I just update my TWRP v3.1.1.1 to v3.2.0.1 using the TWRP tool from the playstore ? (without even loosing root)

opt 2:

Or do I first need to update my system by flashing the latest stock firmware ? This is a lot more cumbersome because I would :

1. first have to go to stock (loosing TWRP and root (Magisk) + all Magisk modules)

2. Odin -> TWRP v3.2.0.1, boot TWRP to flash no-verity-opt-encrypt-6.0.zip (and lose my complete /data !)

3. Reinstall Magisk and all modules using new TWRP

4. Reloading all my 320 user apps and configure them (re-downloading maps, ..)

4. Hoping that everything new will run without problems.

Because my phone is currently running fine and everything is configured the way I want it, I'm a bit reluctant to do the latter (opt 2) if not strictly needed.

Would opt 1 work ?
[Samsung Galaxy S8 & S8+ Cross Device Development] mrbonine:
Followed to the Letter - Success, Thank You!

As someone that benefits from every step being detailed, I really appreciate the work and quality that has gone into this. I succeeded on the first attempt a rare and wonderous thing.

​
[Samsung Galaxy S8 & S8+ Cross Device Development] Evil...:
All perfect with the indications, only have a question. What is the function of "dm-verity and force encryption disabler " ?? still, dont flash that.
[Samsung Galaxy S8 & S8+ Cross Device Development] Jarz01:
Thanks for the link but I still have some doubts with this matter. So if I don't brick my phone by flashing stuff on it, Samsung's warranty is still active? Despite that fuse being gone and those codes for unlocked devices being shown?
[Samsung Galaxy S8 & S8+ Cross Device Development] shaggyskunk:
Their purpose is to be able to Boot your phone properly after Flashing TWRP and not get stuck in a Bootloop ?

Sent from my SM-G955W ??
[Samsung Galaxy S8 & S8+ Cross Device Development] chinchulin01:
Hello callumbr1. Thanks for your answer. How can I flash a zip without TWRP? Regards.
[Samsung Galaxy S8 & S8+ Cross Device Development] callumbr1:
If your rooted use flashfire from app store
[Samsung Galaxy S8 & S8+ Cross Device Development] chinchulin01:
Ok, I managed to install TWRP. I wasn't paying attention to point 6) in OP where it says

- Hold [VOLUME DOWN] + [BIXBY] + [POWER] for approx. 15 seconds.

A bit of a finger twister but it worked. I didn't have to install the verity zip.

Thanks a lot for your answers. All good now. Regards.
[Samsung Galaxy S8 & S8+ Cross Device Development] manups4e:
by the law.. nope.. samsung MUST proove that is root fault if your device is broken.. (if the screen have dead pixels for example is hard to say it's root's fault)
[Samsung Galaxy S8 & S8+ Cross Device Development] Casey.bluek:
regarding S8 G950FD root

the download links for the twrp doesnt seem to work, thanks in advance. i tried everything there is to rooting the S8 SM-G950FD. but after the process odiin TWRP flash goes success whether i hold Vol up Bixby and power altogether at the exact timing it doesnt seem to come up (TWRP) i m stuck in a very horrifying bootloop and again i have to flash the original OS Firmware.

i dont know what to do now? ive tried every possible alternative to rooting. CF Auto root as well.. same issue Can anyone help me on this.. if possible

thanks again.

XDA ROCKS!!
[Samsung Galaxy S8 & S8+ Cross Device Development] vargapirot:
This is my version of build number ending QJ5 ... Is that important? Can I start with this recovery installing ? :)

This is screenshot :
[Samsung Galaxy S8 & S8+ Cross Device Development] thorretje:
Ok, Read all, followed the instructions and got stuck at TWRP screen.

Swipe doesn't work at all, so I can't do anything.

Reboot of phone doesn't work because it gets back to TWRP front screen where I must swipe and that doesn't work.

Is there a way to get past this.

I tried to use ODIN for an older version of TWRP but it fails at initialisation. For now my s8 is dead. Does anyone have an idea??
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
3 finger boot to download mode and flash stock with Odin.

sent from my Pixel 2 XL or Note FE
[Samsung Galaxy S8 & S8+ Cross Device Development] thorretje:
just tried to do that. Odin stopped immidiately after initialisation and phone rebooted into teamwin TWRP, but stil no swipe possible

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/006> Odin engine v(ID:3.1203)..

<ID:0/006> File analysis..

<ID:0/006> SetupConnection..

<ID:0/006> Initialzation..

<ID:0/006> FAIL! (DeviceInfo)

<OSM> All threads completed. (succeed 0 / failed 1)

<ID:0/006> Removed!!

<ID:0/008> Added!!

--------------------------------------------------------------------

used ADB Reload Bootloader for a reboot.

System restarted, giving a Verification error where I could only Reconfigure to Fabric-settings.

Device restarted afterwards and I could reconfigure my S8 with a samsung and google backup.
[Samsung Galaxy S8 & S8+ Cross Device Development] awswan:
Hey everyone,

I installed twrp on my s8 G950FD, also installed Magisk. I tried installing xposed from the magisk app repo but got stuck at the samsung logo. So I did a factory reset (the basic wipe on twrp recovery), and booted the phone and found that Magisk wasn't there. anymore. So I re-installed Magisk but now the phone is stuck in a boot loop (restarting at boot) I tried flashing the Magisk uninstall but still no boot. I'm really anxious now, what can I do to solve the problem? Thanks for you help...
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
There may be another way but probably would make sense just to flash back to stock then start over fresh. Thats what I would do anyway.

Also this has absolutely nothing to do with twrp so next time I'd use the Q&A forum for a question of this nature..that's what it's for.

sent from my Pixel 2 XL or Note FE
[Samsung Galaxy S8 & S8+ Cross Device Development] awswan:
Thanks, it's what I was thinking. Sorry for posting in the wrong place, the xda forum is still kinda new to me and I didn't really know where to post. Won't do it twice!
[Samsung Galaxy S8 & S8+ Cross Device Development] JairPaalman:
How to keep /data encryption when formatting with TWRP?

I've noticed that I can't format my /data partition with the advanced format feature in TWRP, which is caused by the /data partition being encrypted. It is possible to format it using the factory reset feature, but doing so removes the encryption, which in term triggers the force encryption property of the boot image, which then causes a bootloop.

There are only 2 ways to avoid that bootloop:

1. flash a boot image without force encryption (for example, a boot image patched by Magisk)

2. keep the encryption on the /data partition

Right now, I'm trying to get the second option to work, but I really don't kbnow how to do it. are there any more experienced users out there who know how to keep your encryption and format /data?
[Samsung Galaxy S8 & S8+ Cross Device Development] ryhoo2:
'"

I think when you'll format /data partiotion in TWRP it will always be decrypted. To encrypt it back you need to do that from the system. Go to Settings / Lock screen and security / Secure startup and set the PIN, this will encrypt your /data partition again.

I got another question before I pull the trigger and tip my Knox flag. I also want to keep my /data partition encrypted. On my previous phone (Xiaomi MI5) in TWRP it asked me on startup for the encryption password, so I could enter it and decrypt /data partition and use it in TWRP. Does it also ask for the password on startup in TWRP on Galaxy S8? Or TWRP does not suport it yet here? It's crucial to install root without formatting /data partition. Thanks!
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
Twrp cannot read Sammy encryption and has never been able to.

sent from my Pixel 2 XL or Note FE
[Samsung Galaxy S8 & S8+ Cross Device Development] ryhoo2:
Oh, that's a bummer.. I thought the Full Disk Encryption is a universal Android feature. Maybe Sammy use their own custom mechanism.
[Samsung Galaxy S8 & S8+ Cross Device Development] Bradley W:
Hi everybody

Anyone can help me about how to root my s8+ please SM G955F

Andoid 7.0
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
Yes I will advise you to use the search button as there are threads on this specific task here on xda. Lots of information to be had bro just take some time and read.

As hint..if you had taken the 2 minutes to read the OP here you would already have your answer

This is the best advice you will get, spoon-feeding you the information won't help either one of us. :thumbup:

sent from my Pixel 2 XL or Note FE
[Samsung Galaxy S8 & S8+ Cross Device Development] Bradley W:
Please tell me it will work on my sm955f

Android 7.0
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
Dude for the love of God...please don't quote the whole OP...jeez we just don't do that here.

There is a download link in that post for the 955.. what does that tell you??

Common sense would say that since there is a download link for the 955 that this works on the 955... C'mon man.

sent from my Pixel 2 XL or Note FE
[Samsung Galaxy S8 & S8+ Cross Device Development] Spirit81:
any hint..

I flashed stock firmware, after that twrp, reboot, dm-verity

then flashed custom rom, everything goes ok, but there is no data on phone, and no rom installed?

tried with other ROM with aroma..it seems ok now
[Samsung Galaxy S8 & S8+ Cross Device Development] alireza_simkesh:
Hi everyone,

I tried flashing TWRP using the instruction in OP, but my phone is stuck at the boot logo (Galaxy S8+). I can go into download mode by holding power down+bixby+power.

What should I do in order to pass the boot screen?
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
If you follow the directions properly you dont get a bootloop its as simple as that.

So since your bootlooping this indicates user error.

Following the directions properly and exactly would be the correct course of action in this case.

sent from my Pixel 2 XL or Note FE
[Samsung Galaxy S8 & S8+ Cross Device Development] pepebiondi:
Go back to an official firmware. Go to stock recovery. Wipe data. Flash Twrp again. Eureka.

I had this issue last week.
[Samsung Galaxy S8 & S8+ Cross Device Development] alireza_simkesh:
I followed the direction from the third post:

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.

(the link to standalone driver package is down for me but I had the drivers already since I had S6 before S8). But I am stuck on the boot logo. Actually, there is no bootloops, its just stuck.

I will try this.

Since you had this issue before, why do you think this happens? I even tried downloading the latest TWRP from their website, but that didn't work. Could it be because I am using USB 3 port on my laptop?
[Samsung Galaxy S8 & S8+ Cross Device Development] danny19901:
I have a quick question my TWRP isn't noticing the internal storage and asks if I allow modifications I'm not sure why I keep getting asked as I haven't had my S8+ to long and I recently upgraded from S7

Also the internal shows as 0mb in size and won't display anything regarding folders or files however external is fine
[Samsung Galaxy S8 & S8+ Cross Device Development] callumbr1:
Go to mount in twrp and mount data.

---------- Post added at 08:19 AM ---------- Previous post was at 08:18 AM ----------

Did you flash the correct version. This happened to me when I flashed the wrong version before.
[Samsung Galaxy S8 & S8+ Cross Device Development] alireza_simkesh:
I downloaded the latest .tar from twrp website. Would that be the latest version or is there another website where I can get the latest version?
[Samsung Galaxy S8 & S8+ Cross Device Development] Carotix:
hi,

you need to flash the twrp 2 times ...

the first time hold [VOLUME down] + [BIXBY] + [POWER] on your phone and then press start on Odin and keep thoose buttons pressed so it will fail but it come back in download mode .... don't unplug your phone

the second time hold [VOLUME up] + [BIXBY] + [POWER] on your phone and then press start on Odin and keep thoose buttons pressed so your phone will restart in recovery mode
[Samsung Galaxy S8 & S8+ Cross Device Development] callumbr1:
https://eu.dl.twrp.me/dream2lte/

Latest version here.

If it doesn't work try the previous version. Just follow all steps :good:
[Samsung Galaxy S8 & S8+ Cross Device Development] danny19901:
Yeah unfortunately data fails to mount but after formatting data it's fine until I flash Oreo with Google edition ROM TW based ROM it for some reason causes the internal storage to be unable to mount and 0mb and shows nothing in it but after formatting it's there and shows its full storage.
[Samsung Galaxy S8 & S8+ Cross Device Development] callumbr1:
That's because currently data can't be mounted in Oreo mate.
[Samsung Galaxy S8 & S8+ Cross Device Development] danny19901:
Ah ok I never knew as I didn't have this problem with S7 I think it's time I go back to Nougat.
[Samsung Galaxy S8 & S8+ Cross Device Development] alireza_simkesh:
Is this the same as this one?:

https://twrp.me/samsung/samsunggalaxys8plus.html

---------- Post added at 12:19 PM ---------- Previous post was at 12:18 PM ----------
[Samsung Galaxy S8 & S8+ Cross Device Development] alireza_simkesh:
Flashing twice as mentioned by Carotix worked for me, and I was able to root it as well.

Isn't better to mention this in OP as well? (@force70 so It wasn't really a user error, the instruction is not complete).
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
Well it still was because most of us know to do that even though its not in the instructions...its been like that since day 1. What Carotix mentioned has been outlined in the thread numerous times for the same reason that people keep getting stuck for the same reason.

And yes it would be better of course to mention it in the instructions for people new to the device and different way of doing things

The newer stuff is much more of a pain to work on that's for sure.

Glad your up and running at any rate.:thumbup:

sent from my Pixel 2 XL or Note FE
[Samsung Galaxy S8 & S8+ Cross Device Development] sayaksark:
Why download not working? Any issues?
[Samsung Galaxy S8 & S8+ Cross Device Development] fguerreroi:
I have problems with the download Link, please help
[Samsung Galaxy S8 & S8+ Cross Device Development] HaTeNL:
How to update the official firmware after flashing TWRP?

I just did it using Odin and now want to install TWRP and root again. When I installed TWRP using odin after succesfully flashing the latest firmware, I wasn't sure what to do, because after booting it said to reset the device, which I ofcourse didnt.. I don't want to lose my data. Now I panicked and installed the firmware again using Odin and everything is fine, except, ofcourse no TWRP
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
You already updated you said?

Now if you want twrp again you will need to format data....again which will of course wipe the device.

So if your asking how to get twrp fully working again without losing data, you cant

sent from my Pixel 2 XL or Note FE
[Samsung Galaxy S8 & S8+ Cross Device Development] HaTeNL:
Thanks. Then I wonder what the proper way is to update "a stock ROM that is rooted using TWRP"? It is a pain in the ass to backup and restore everything every time just to install a new ROM update.

It was so much easier with my OnePlus One. For the time being, I will try to make myself comfortable without root..
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
I think you can have root without a wipe (dont quote me as Ive always used twrp and root together so not 100% on that) but you will need to search for the how to.

With twrp its not possible if you want trwp to work 100%

You wanna play you gota pay kinda deal.
[Samsung Galaxy S8 & S8+ Cross Device Development] vegetaleb:
can I flash TWRP flashable of AQL5 directly over AQH3 or S8 FW updates between these 2 must be flashed before?
[Samsung Galaxy S8 & S8+ Cross Device Development] sayaksark:
Where is download?

Why download links are unavailable?

Ps:

I guess nobody has the answer... I Googled and found a link

twrp.me

Go there and search for your device.
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
The correct process is to spend those boring 20 minutes taking a twrp backup to the external SD card.

Then install, flash and initialise twrp (and root if you want) then spend the less than 10 minutes restoring data.

If something had gone wrong in your process without a backup, what was your plan?

You won't have write access to the data partition from twrp without initialisation - very awkward.
[Samsung Galaxy S8 & S8+ Cross Device Development] sayaksark:
HI... I want to do the same thing...

So what did u do... Did u flash the new firmware prior to flash twrp?

Thnx in advance.
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
Agreed, without access to data twrp is very neutered
[Samsung Galaxy S8 & S8+ Cross Device Development] fguerreroi:
Thanks man! I'll be looking in that page
[Samsung Galaxy S8 & S8+ Cross Device Development] callumbr1:
Yeah
[Samsung Galaxy S8 & S8+ Cross Device Development] sayaksark:
hi

just to be confirmed before i flashed any wrong version....

can that latest firmware AQK7 (s8+) be flashed with the latest TWRP version 3.2.1.0 ???? anybody already tried?

EDIT: just flashed the above firmware and TWRP...no issues at all...working flawlessly.
[Samsung Galaxy S8 & S8+ Cross Device Development] kitchenfork:
I did one first boot, checked for firmware update (there was none), clicked OEM unlock in developer options, then installed TWRP, and then this ROM without issues.

Just remember to restart the computer after installing the Samsung drivers as I kept getting an error in Odin but was fixed once PC restarted.
[Samsung Galaxy S8 & S8+ Cross Device Development] sayaksark:
What firmware u had can u check pls? and what twrp version u flashed?
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
Did exactly that a few days ago on my s8
[Samsung Galaxy S8 & S8+ Cross Device Development] sayaksark:
Cool... Thnx

Now I can go flashing with confidence. Xd
[Samsung Galaxy S8 & S8+ Cross Device Development] sheebee:
thank you for great work. just a notice that correct link for samsunggalaxys8plus should have /samsung/ instead /devices/

same 4 samsunggalaxys8