yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] nerddd:
EDIT: these steps are not all relevant anymore, stick to the guide at post #3 by jesec

Alright, I just rooted my S8 after reading through the entire official thread. All went very smoothly! Thought I'd outline the process here with what I think is the necessary info, and hopefully that can clear a few things up for those in doubt.

Firstly, be warned that /data will be wiped. Do necessary backups with eg Smart Switch or preferably Helium to save some app data also,

1. Get Odin 3.12.3 and both the unofficial and official TWRP from the OP. You can get the .img of the official TWRP (will be flashed with unofficial TWRP in place)

2. Enter download mode on the phone by holding Pwr+VolDwn+Bixby at boot

3. Connect the phone to your PC and make sure it's recognized in Odin

4. Untick Auto Reboot in Odin options

5. Flash the unofficial TWRP (.tar file in AP tab)

6. Wait for "Pass!" in Odin, then reboot your phone manually by holding Pwr+VolDwn+Bixby for some seconds

7. At boot, enter recovery directly by switching your hold to Pwr+VolUp+Bixby instead

8. In TWRP browse to the no-verity-opt-encrypt.zip file and flash it

9. Reboot and enter recovery again

10. In TWRP, go to Wipe -> Advanced wipe and tick /data -> Wipe it

11. Flash the Magisk zip

12. Reboot and wait some minutes for the first boot

13. Reboot again and enter TWRP

14. Go to install, choose to flash an image file, and browse to the official TWRP .img

15. It will ask you if you want to flash boot or recovery, so choose recovery

16. Reboot - you're all set

IF you find that at point 8, you're in stock recovery instead of TWRP after getting a verification error follow these steps:

In stock recovery choose to wipe data/factory reset -> reboot back into download mode -> flash TWRP again through Odin -> reboot into recovery which will be TWRP this time -> continue from point 8 above

EDIT: these steps are not all relevant anymore, stick to the guide at post #3 by jesec
[Samsung Galaxy S8 & S8+ Cross Device Development] joe535:
Okay, will try again with the most recent files. By the way, I accidentally cleared my system partition.. Does anyone have a flashable (odin) file from the original S8 Stock ROM?? And where do I find the kernel-sources from Samsung? As far as I remember, I have read something that they have been released.. True ??
[Samsung Galaxy S8 & S8+ Cross Device Development] joe535:
Just flashed AP_G950FXXU1AQCC_CL10895874_QB12938370_REV00_user_low_ship_meta.tar via ODIN...

Phone works, ufff so I was lucky :)

Off course this is not the European version but at least I can use it. Shows "4G" instead of "LTE", but I don't mind if the speed is equal...

Will try to root now...

By the way, if you feel your phone hangs showing the "fat" SAMSUNG Logo, it is a bit tricky to enter TWRP or Download mode again. You can force shutdown holding vol-down and POWER button for at least 8 seconds. But then you have to be very quick changing the fingers to Bisby and volume-up (or down again) buttons... In ODIN, ONLY flash this file "AP_G950FXXU1AQCC_CL10895874_QB12938370_REV00_user_low_ship_meta.tar", as "AP"... Do not flash other files !!!

Joe
[Samsung Galaxy S8 & S8+ Cross Device Development] joe535:
Super perfect...

Hey man, this one worked for my phone, many thanks. Finally, my S8 is rooted and I can restore apps from Ti-Backup and hopefully can finally make a full backup with TWRP. Now waiting for Lineage :)
[Samsung Galaxy S8 & S8+ Cross Device Development] nk33:
props to you my man for producing a proper step-by-step.
[Samsung Galaxy S8 & S8+ Cross Device Development] drago122:
All version of no-verity-opt-encrypt.zip are good to use 3.1 4.1 5.1 it's the same????
[Samsung Galaxy S8 & S8+ Cross Device Development] WhyYou:
Can I restore backup from SmartSwitch after rooting and getting TWRP? or will that create problems?

---------- Post added at 02:58 PM ---------- Previous post was at 02:57 PM ----------

Just use the latest one, which is 5.1
[Samsung Galaxy S8 & S8+ Cross Device Development] nerddd:
I restored successfully with Smart Switch after twrp and root. It doesnt back up app data though
[Samsung Galaxy S8 & S8+ Cross Device Development] nk33:
You mean app data or any data? What about photos and files etc?
[Samsung Galaxy S8 & S8+ Cross Device Development] ChazzMatt:
[MENTION=6371894]jesec[/MENTION], this write-up seems to have more details, steps than in your TWRP instruction post. Could you edit your post to include what's missing? Could help a lot of people who may not find this post above. Would prevent a lot of unnecessary questions, etc.

Thanks for all your work!
[Samsung Galaxy S8 & S8+ Cross Device Development] WhyYou:
I see... Thank you very much!
[Samsung Galaxy S8 & S8+ Cross Device Development] rafalubo:
Yes
[Samsung Galaxy S8 & S8+ Cross Device Development] GalaxyHD:
after that can I put Oreo without problems?
[Samsung Galaxy S8 & S8+ Cross Device Development] rafalubo:
I do not have oreo it's beta phase and it has a lot of problems
[Samsung Galaxy S8 & S8+ Cross Device Development] _moelle:
so u dont even have used it by yourself but tell about a lot of problems? - i m using it as my daily driver now for about 2 weeks and have not a single issue! - nor do most of the users i know who also use it as daily driver have noticed any real issues. - so i d recommend u to not just spread some bad news if you havent made any own experiences.

to the request for any guide or just oreo build that works fine, use this one:

https://xdaforums.com/galaxy-s8/sam...g95xf-fd-n-renovate-ice-or30-nightly-t3706221

firmware links are included on the thread aswell as every required information how to flash it. - if u use supersu instead of magisk, u wont face any data partition issues. - so u can run that oreo rom using twrp and root.
[Samsung Galaxy S8 & S8+ Cross Device Development] rafalubo:
if what you say I use it from the first day he left and with problems you do not have to be so rude
[Samsung Galaxy S8 & S8+ Cross Device Development] _moelle:
sorry i dont get your post at all. ...anyway, it wasnt my intention to be rude. still doesnt really think it was "so"rude as u call it...tho, but if u feel so, i d like to apologize.
[Samsung Galaxy S8 & S8+ Cross Device Development] rafalubo:
I'm not sorry, thanks, I apologize, too.
[Samsung Galaxy S8 & S8+ Cross Device Development] jeemer:
I'm a little confused on this. I've tried following the instructions but I think it's this step that's messing me up:

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.

First I tried doing this as instructed. I held the three buttons down and immediately clicked start on Odin. Odin seemed to begin to run, and then the device began to reset and Odin errored.

I tried it a second time, this time planning on allowing Odin to complete first and then for me to hold the buttons on it rebooting when complete. This gave me the error "Verification Failed, Unable to restart your device. The Integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data."

Everything had to then restart again from scratch. Where did I go wrong here? Is it a timing thing, do I need to hold the 3 buttons and then click to start Odin as it's in the middle of rebooting?

Edit: nevermind, I found out what I was doing wrong. You need to be prepared to hold those 3 buttons, click start in Odin, wait for it to finish and the second your device starts rebooting actually hold down the 3 buttons until you get into TWRP.
[Samsung Galaxy S8 & S8+ Cross Device Development] clows:
hi...i might hv a problem on my s8..so after id did this steps :

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.

then when it reboot, my phone stucked on samsung galaxy s8 screen..any help pls? :crying:
[Samsung Galaxy S8 & S8+ Cross Device Development] jeemer:
This kinda happened to me when I messed up earlier. If I remember rightly I held volume down + bixby + power for a few seconds, which got me into download mode. Then I was able to hold down power to switch then phone off. Then I was able to hold volume up+bixby+power to get into restore mode and reboot the device. After it rebooted I was able to power it off and start again.

If you manage to start again, check my edit note on my post above. I think the actual bit explaining where you start Odin and hold the 3 buttons is worded in a confusing way.
[Samsung Galaxy S8 & S8+ Cross Device Development] creadorlatino:
Hi, I have an encryption failure message which I did not manage to pass. I follow the steps of the guide many times but I can not solve it. now it does not leave me when I flash Stock Rom through the 4 files and the message of encryption failure keeps appearing. I can only make it work with batrom. I would like to go back to Stock ?
[Samsung Galaxy S8 & S8+ Cross Device Development] IceTi:
I just installed TWRP and SuperSU on my GalaxyS8.

I just wanted to say thta everything worked perfect. I followed your instructions and had no problems!

Thanks a lot!
[Samsung Galaxy S8 & S8+ Cross Device Development] pramyhoga:
Is the latest version 3.1.1-2 fully support Oreo Beta? I tried with Beta 2 and Beta 3 itu cannot read internal memory.
[Samsung Galaxy S8 & S8+ Cross Device Development] kitchenfork:
Hi all, a quick question. I have a new s8 in the mail. I plan to flash TWRP and Oreo Beta straight away without even first booting into system, as there is no point setting up the phone twice. Will TWRP install fine, even if my bootloader/modem are stock and maybe outdated as I won't have done a first boot to check for OTA firmwares? I will flash new bootloader/modem alongside Oreo Beta but wasn't sure if I first need to flash the latest stock firmware prior to this.

Edit: Just remembered the OEM developer options step so gotta boot eitherway, may as well update firmware first.

Thanks for the help.
[Samsung Galaxy S8 & S8+ Cross Device Development] guncis:
so i put mu orea 8.0 but somethimes it does restart byitself and when it restarts the logo screen freezes
[Samsung Galaxy S8 & S8+ Cross Device Development] KilimIG:
This is my first samsung device so I just wanted to make sure I have this right. ODIN is basically a conduit for a recovery to flash this recovery onto your phone? So once you flash TWRP you don't really need ODIN anymore?
[Samsung Galaxy S8 & S8+ Cross Device Development] :
Hi, after flashing TWRP and installing no-verity-opt-encrypt-6.0 my Wifi does not work anymore. When I turn on my Wifi, it searches for a couple of seconds and then turns off. Before I flashed my device everything was working fine. Has anyone any idea?

EDIT: No idea what I did wrong, but after flashing the stock firmware and redoing everything it works fine now...
[Samsung Galaxy S8 & S8+ Cross Device Development] tomiga:
You don't need it after you flash TWRP, but it's a good idea to keep it around just in case you need to revert to stock or reflash recovery.
[Samsung Galaxy S8 & S8+ Cross Device Development] jack allen:
I keep stuff like that and the dm-verity/no-verity zip just incase and a stock rom, stock twrp, and of corse odin. There is always a chance something will go wrong you should always do a nandroid backup and keep a stock rom availiable
[Samsung Galaxy S8 & S8+ Cross Device Development] firefds:
TWRP 3.2.0-0 is out for the S8/S8+

Samsung Galaxy S8 (Exynos) (dreamlte)

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

Samsung Galaxy S8+ (Exynos) (dream2lte)

https://twrp.me/samsung/samsunggalaxys8plus.html
[Samsung Galaxy S8 & S8+ Cross Device Development] rafalubo:
hi friend how are you working in 7.1 or only in oreo thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] Txingudi:
Hello, can you provide me with the Twrp Exynos download link for s8? I just can not find one that works ... thanks.
[Samsung Galaxy S8 & S8+ Cross Device Development] firefds:
It's literally in the post above your's and the post above that..
[Samsung Galaxy S8 & S8+ Cross Device Development] tomaasz:
https://eu.dl.twrp.me/dreamlte/
[Samsung Galaxy S8 & S8+ Cross Device Development] shaggyskunk:
Yeah - The art of Reading is almost as lost as Atlantis lol ?

Sent from my SM-G955W ??
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
And then some.

I find myself spending less and less time here because i cant stand all the lazy self entitled users which have flooded the forums.

Miss the old days where people would actually try and help themselves instead of expecting to be spoofed even the most simple things

Spoonfeeding is for babies last time i checked :D

sent from my Note FE
[Samsung Galaxy S8 & S8+ Cross Device Development] kmmt123:
Why this update has not been acknowledged? After all the new version is being downloaded from official TWRP site yet this thread is on v3.1.1!
[Samsung Galaxy S8 & S8+ Cross Device Development] shaggyskunk:
Because it hasn't been updated... And what is the problem? You seem to know that there's an Updated version of TWRP - Congratulations ?

Sent from my SM-G955W ??
[Samsung Galaxy S8 & S8+ Cross Device Development] :
Rooting Samsung Galaxy s8

hey guys i am new on this forum, i don't know if this is the right post to ask this on but i have a galaxy s8 and i wanted to root but when i read what needs to be done i got scared a little bit lol

the last samsung device i got was a samsung note, rooted it with supersu at the time and i cant remember it was so difficult

i bought my s8 1 month ago and installed the zip files and odin yesterdag but i don't want to start anything i cant finish

i had some problems with one method of installing ADB with USB than i found another post with a tool from this forum and downloaded it on my pc

but how is that affecting my s8? do i install everything trough odin? what do i install first so i dont mess up everything on my phone

i found out that its possible to brick your phone, i never cared and thought about that when i had my samsung note and just did it

but this one is way more expensive..

sorry for the bad english/grammer i hope you guys understand

thank you :) :good:
[Samsung Galaxy S8 & S8+ Cross Device Development] EMJI79:
Are you aware you might loose warranty and some security features?
[Samsung Galaxy S8 & S8+ Cross Device Development] :
thanks for replying :)

i am aware of the warranty and don't really care about that

didn't know about the security features.. but i think i rather have a rooted phone than have all the security features
[Samsung Galaxy S8 & S8+ Cross Device Development] EMJI79:
Then you might go for it
[Samsung Galaxy S8 & S8+ Cross Device Development] :
but thats the problem lol.. sorry for being stupid but i dont know what to install first or how

i know this is a full guide but i installed the zip files and everything on my pc so how is that doing anything with my s8?

i read that i need to flash in recovery mode but what about all the other files i needed to download on my pc?

and is supersu still safe to root? or do u suggest another one?
[Samsung Galaxy S8 & S8+ Cross Device Development] rafalubo:
https://www.youtube.com/watch?v=d9XnGS9kpYE
[Samsung Galaxy S8 & S8+ Cross Device Development] EMJI79:
I haven't rooted my phone because I didn't want to sacrifice warranty when I want to sell it which wasn't important for the OnePlus I last rooted but lowers the price on selling a Samsung.

I can't just say people now prefer Magisk to SuperSu because it compromises less on security (last that I heard was android pay and some other features were working on magisk, not with SuperSu).

I think if you want people to help you in this thread you have to ask more precise questions.

Good luck.
[Samsung Galaxy S8 & S8+ Cross Device Development] :
i am trying to explain it as good as possible but my english is not perfect.. sorry if you think my questions aren't precise... i just don't want to start anything that will ruin my phone forever so that's why i made this post.. now i still don't know what to do with the files i downloaded on my pc or how that is doing anything on my S8 but thank you for replying..

---------- Post added at 07:08 PM ---------- Previous post was at 07:07 PM ----------

i am gonna try that, thank you very much :good:
[Samsung Galaxy S8 & S8+ Cross Device Development] rafalubo:
hello look at the tutorials well I did it with them and without any problem
[Samsung Galaxy S8 & S8+ Cross Device Development] :
do you think i didn't read the guide? whats wrong with some more questions?
[Samsung Galaxy S8 & S8+ Cross Device Development] shaggyskunk:
It's a good idea to watch a few YouTube videos on how to Root your S8 or S8+ just so when you are actually doing it - it's not the first time that you have seen what things should look like ?

I haven't read back to see what you have downloaded to your pc - But you want to have:

The Latest Stock Firmware for your device and carrier (get it from sammobile.com) on your pc in case something goes wrong.

Latest Samsung USB Drivers.

The latest & CORRECT version of TWRP img.tar for your device.

Odin 3.12.3 (if there's a newer version get it).

SuperSU v2.82 SR5.

You want to Move or Copy EVERYTHING you need or want to save to your external sd card or computer BEFORE you start to do anything!

After you have installed TWRP and SuperSU - The FIRST thing to do is to make a Nandroid backup of the Stock Rom!

These are the basics that I follow every time I Root a Samsung device - Don't be nervous - But be careful to follow the instructions to the letter!

Most importantly - Have fun and enjoy your new phone! ??

Sent from my SM-G955W ??
[Samsung Galaxy S8 & S8+ Cross Device Development] manups4e:
already asked question maybe.. but i can't find the answer... will i loose the iris scanner or fingerprint sensor if i trip knox? i'm in eu so i don't actually loose warranty
[Samsung Galaxy S8 & S8+ Cross Device Development] rafalubo:
the videos are very clear
[Samsung Galaxy S8 & S8+ Cross Device Development] :
i downloaded everything i just didn't know when i needed to move the files to the sd card to get it to work

now i know, thank you so much for replying :good: :)
[Samsung Galaxy S8 & S8+ Cross Device Development] shaggyskunk:
No you shouldn't lose the Iris or Finger Print Scanner - I haven't on Stock Rooted Samsung devices ?

Some Samsung apps may not work properly - ie: Samsung Health...

Sent from my SM-G955W ??
[Samsung Galaxy S8 & S8+ Cross Device Development] EMJI79:
So we don't loose warranty in eu even if we root the phone?
[Samsung Galaxy S8 & S8+ Cross Device Development] EMJI79:
And Android pay?
[Samsung Galaxy S8 & S8+ Cross Device Development] shaggyskunk:
Android Pay works on My Rooted Custom AOSP Roms - You need to use either SuperSU v2.82 SR5 with SuHide or Magisk if you are Rooted ?

Sent from my SM-G955W ??
[Samsung Galaxy S8 & S8+ Cross Device Development] :
i successfully rooted my s8 thank you for the help guys

edit: i get a error notification from knox, i tried to hide it in magisk but i keep getting the annoying error message
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
Disable security log agent and it will go away.

sent from my Note FE
[Samsung Galaxy S8 & S8+ Cross Device Development] nordavind:
I miss the multi-user feature on my S8+ (G955F) therefore I want to edit build.prop in order to activate it. Root isn't necessary in this case as this can be achieved via TWRP by mounting system partition and use adb pull and push.

Currently I've got stock Samsung from May 2017 - I haven't updated it on purpose.

This is my first Samsung device so I'm pretty much new to this. Would it be possible to install TWRP, boot into it, mount the system partition, edit the system file and restart the phone? Will be TWRP replaced with the stock recovery afterwards and I will be able to use system updates? My phone is encrypted, is installing dm-verity mandatory (altering system files changes the checksum)?

Is it possible to have only TWRP installed with stock Android?

Basically, I would like to keep stock Android by having build.prop edited. Is this feasible? :) If not, which custom ROM as much similar to stock should I go with without losing camera or fingerprint sensor etc...?

I'm aware of losing the warranty by installing TWRP and I don't need SamsungPay either.

Sorry for these newbie questions :o
[Samsung Galaxy S8 & S8+ Cross Device Development] manups4e:
https://www.piana.eu/root/

this explains how europe warranty law works :)
[Samsung Galaxy S8 & S8+ Cross Device Development] Androiderprime:
my device has already been flashed with TWRP. the chancer in me decided to use the TWRP app to upgrade to the new TWRP. ( I know silly me) now when my device boots it says in the top corner, Could not do a normal boot invalid kernel length. can I just re flash TWRP.
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
Working for me without issue
[Samsung Galaxy S8 & S8+ Cross Device Development] Androiderprime:
I must of overlooked something then. any ideas on if I can just re flash TWRP to get access to my device again
[Samsung Galaxy S8 & S8+ Cross Device Development] xDreDz:
OEM unlock is off and I get this " only official binaries.... " thing
[Samsung Galaxy S8 & S8+ Cross Device Development] Evasii0n:
When I flash this on the latest firmware recovery doesn't boot and neither does the rom I've installed and I get the DevieInfo error on Odin unless I do the trick. Tried 3.1.11 and 3.2.0 and no luck do I need a different bootloader

EDIT: Got into TWRP seems to be extremely finicky
[Samsung Galaxy S8 & S8+ Cross Device Development] nordavind:
Should I keep my firmware from May 2017 before installing TWRP or should I use stock upgrade and then install TWRP?

Which ROM should I go with to keep the system as much up to date?
[Samsung Galaxy S8 & S8+ Cross Device Development] SimplyCity:
On both S8 variants it just sometimes happens. Nothing really big. Run Odin, flash full stock rom downloaded from Sammy site - that way you can recover your phone. Bad news is that you loose everything from internal memory. But after you flash stock rom, you may go and flash TWRP as same as you did for the first time. And you will be all ok. :)

Remember: after your stock rom is up, go to developer options and ENABLE OEM UNLOCK again, otherwise you end at the same point you are now.

Good luck!

Echoe[emoji769] team member / S8+ powered by Echoe[emoji769]
[Samsung Galaxy S8 & S8+ Cross Device Development] jjordan00:
Hello someone to have download link for:

twrp-3.2.0-0-dreamlte.img.tar
[Samsung Galaxy S8 & S8+ Cross Device Development] ran011:
https://eu.dl.twrp.me/dream2lte/twrp-3.2.0-0-dream2lte.img.tar.html

or

https://dl.twrp.me/dream2lte/twrp-3.2.0-0-dream2lte.img.tar.html
[Samsung Galaxy S8 & S8+ Cross Device Development] jjordan00:
Thank you.. :)
[Samsung Galaxy S8 & S8+ Cross Device Development] Jostian:
try twrp 3.1.1.2 I for one will not update to 3.2.0 yet as there are some glitches, especially when flashing over 3.1.1.2... for clean installs of TWRP 3.2.0 should be fine, but upgrading doesn't seem faultless at present.