yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] SantinoInc:
Can someone please help me understand this part of the TWRP instructions:

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.

At this point you're phone is in Download Mode, your PC has ODIN up and running. Now once we connect the phone instead of simply hitting START in Odin (as we have all probably done in the past) we MUST hold Vol UP+ BIXBY + POWER and continue holding it until TWRP starts up?

What if you for some reason screwed that part up? Would you have go back into Odin again and reflash TWRP img?
[Samsung Galaxy S8 & S8+ Cross Device Development] Ansuel:
Yes np at all if you don't enter just repeat the process
[Samsung Galaxy S8 & S8+ Cross Device Development] SantinoInc:
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.

Thanks for the quick reply. My next noob questions (I still get nervous rooting even after rooting every phone I had since the HTC EVO!)

1...Are you guys swiping right to allow modifications straight away? If I wanted to backup the stock ROM first should I not swipe right and instead perform a backup? I want to make a full backup of the stock software before I do the FORMAT DATA

2... Can we have the

dm-verity and force encryption disabler

on the MicroSD card before we start this procedure instead of trying to transfer the file from the PC or ADB push it to the phone? I see that the OP states that TWRP should mount the MicroSD card so I'm thinking this should be ok and maybe he just didn't change that in the instructions.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ansuel:
1 yes why not... But you need to save the back on the external SD

2 np here too...
[Samsung Galaxy S8 & S8+ Cross Device Development] annson08:
I don't know if this is a bug or something but if I were to chain flash two aroma installers, after finishing the first one the screen would lock and turn off (this is usual after flashing aroma installers, I can just turn it back on and unlock the screen) but this time since the recovery jumps to the second aroma installer right after finishing the first, I can't turn the screen back on and unlock it. The phone just vibrates when pressing the power button. I hope this reaches the OP.
[Samsung Galaxy S8 & S8+ Cross Device Development] mintrocks:
Is Samsung pay working with renovate ice?
[Samsung Galaxy S8 & S8+ Cross Device Development] dingdong_:
DRM issues

Hi guys - i am still running the Apr24 first version - thanks Jesse!!

iIve encountered the following:

- stream netflix - no problem

- download netflix watch offline - not possible - error: there is a problem wit the video file 102.2.6

- watch amazon prime streaming or downloaded - not possible: error code: decryption failure

both worked fine back on stock ROM

any thoughts? - i want to wait for other ROMs to mature a bit before switching over

anything to do with the forced disabling of decryption?

Thanks a bunch
[Samsung Galaxy S8 & S8+ Cross Device Development] kittiyut:
Is there a way to root (S8 950FD) without doing TWRP?
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
?cf autoroot? - not tested by me
[Samsung Galaxy S8 & S8+ Cross Device Development] nk33:
I have rooted every one of my android devices.… up until now. It was always a must for me.

It just kinda doesnt seem worth it… .too many issues reported
[Samsung Galaxy S8 & S8+ Cross Device Development] Valkiry:
So im a seasoned Odin Flasher with Samsung and i cant seem to get this to work at all...

Keep flashing and still doesnt boot to recovery just vibrates then goes back to start-up...
[Samsung Galaxy S8 & S8+ Cross Device Development] dingdong_:
i was stuck in the same cycle - this bit of advice worked for me:

• Press and hold the*Volume Down button*+ Home button*+ Power*button at the same time. As soon as your device screen goes black, immediately leave the Volume down button and swap to Volume Up*button while still holding other 2 buttons. Keep the 3 buttons pressed until you get into TWRP Recovery.

Nobody anywhere mentions down first then up - but it worked for me....

Good luck
[Samsung Galaxy S8 & S8+ Cross Device Development] Valkiry:
I actually notices it had to do with my case why it wasn't going to recovery properly. But that's what you get with a cheap Chinese case. I'll mod it later.

The way I installed was

-Root with chain fire (had to do it twice because sammy kept breaking root)

-install Twrp img via terminal and used a reboot to recovery app to solve my issues.

Also for install method just disable auto restart and then disconnect your phone once it's finished and force shutdown then use recovery buttons. None of this hold recovery buttons while it's trying to flash crap that's just dangerous.
[Samsung Galaxy S8 & S8+ Cross Device Development] neitin:
Hey Guys, quick question can I just root my phone without flashing any custom rom. I just got my phone and want to just have recovery installed and root it. Please advise.
[Samsung Galaxy S8 & S8+ Cross Device Development] yash92duster:
Yes ofcourse
[Samsung Galaxy S8 & S8+ Cross Device Development] TheFrozen4:
Yes, I do the same. The rom is great as-is and the custom rom scene is just barely getting started.

However, when you do this remember that you will not get OTA updates, despite being on stock rom. You need to flash them yourself.
[Samsung Galaxy S8 & S8+ Cross Device Development] otonieru:
What issue exactly ?

Flashing and rooting this phone is pretty straight forward and very easy i think.

And its worth every bit
[Samsung Galaxy S8 & S8+ Cross Device Development] talroot:
twrp disappears

Has anyone had TWRP just disappear? I followed instructions and rooted using supersu 5 days ago with no issues. I still have root access on my phone but the samsung stock recovery appears to be in place when I try to boot into TWRP.
[Samsung Galaxy S8 & S8+ Cross Device Development] SoLdieR9312:
You need to reboot to TWRP after flashing, if you boot rom, twrp will be gone after that.. Check TWRP Install Instructions - Initialize (new device)
[Samsung Galaxy S8 & S8+ Cross Device Development] talroot:
It rebooted to TWRP after flashing with Odin like it was supposed to. The instructions went exactly as followed with no issues. For that matter, I manually rebooted into TWRP after a few reboots to flash supersu. I tried to get into TWRP this morning to flash the CSC utility and it's like it doesn't exist.

Only thing to do at this point would be flash TWRP per instructions again, right?

---------- Post added at 08:46 AM ---------- Previous post was at 08:30 AM ----------

I was able to get TWRP back on the phone using the TWRP app and flashing the image.
[Samsung Galaxy S8 & S8+ Cross Device Development] dingdong_:
Question: vraagje:

If i installed the first TWRP posted by Jesse and no have root via Magisk - how would one go about flashing updates ?
[Samsung Galaxy S8 & S8+ Cross Device Development] talroot:
You will have to get updates by flashing custom/stock modified roms available here at XDA.
[Samsung Galaxy S8 & S8+ Cross Device Development] GerWonder:
Hello to all,

I have a problem that after flashing the .tar at Odin I can´t even use the touchscreen in twrp screen. So I stuck on the Keep /system RO part and can´t do anything further. Anyone have an idea how I can solve the problem?

Thanks for your help!
[Samsung Galaxy S8 & S8+ Cross Device Development] talroot:
Is MTP broke in this version again "twrp-3.1.1-0-dreamlte.img.tar	37.1M	2017-05-13 07:11:20 EDT"

Currently stuck in TWRP trying to copy over Renovate Ice and fails telling me "cannot copy file" at what appears to be the half way point with 27 minutes remaining.
[Samsung Galaxy S8 & S8+ Cross Device Development] Saiint7:
Have you guys noticed any battery life hits? I rooted my s7 edge t mobile version a few months back and lost an hour or two of SOT
[Samsung Galaxy S8 & S8+ Cross Device Development] kane274:
I just flashed 3.1.0-1 last night on my Wife's S8 and lost MTP in TWRP and when booted into rom. Was hoping 3.1.1.0 would fix it :confused:
[Samsung Galaxy S8 & S8+ Cross Device Development] profi208:
Hi all

I'm stuck at transferring ROMs while in TWRP

Any idea what could be causing the problem?

Thanks in advance
[Samsung Galaxy S8 & S8+ Cross Device Development] sebfar:
It's a twrp bug. You can transfer rom when you are on stock rom

Envoyé de mon SM-G955F en utilisant Tapatalk
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
I think what's being said here is that twrp will not restore the data partition to a stock samsung ROM.

I've just spent a joyous day verifying this getting a 255 failure on write partway through the restore, always at the same point until data is formatted and then at a different repeatable point until formatting.

I think a large warning should be in the first post about this as this isn't a restriction on non Samsung devices.
[Samsung Galaxy S8 & S8+ Cross Device Development] BioProf:
Spent a few hours yesterday on my G-955FD (Exynos; Singapore home base) trying to install TWRP.

I used Odin 3.12.5

I had no success even though Odin showed success. The phone booted to the screen indicated verification failed and I must reset. I have booted and rooted my previous Samsung phones without issue, so I'm not a complete novice. Because I could not determine with certainty which TWRP file was the proper one, I tried each of the following images in this order. All yielded the same error message.

twrp-3.1.1-0-dream2lte.img.tar

twrp-3.1.0-r1_dreamlteks.tar

twrp-3.1.0-r1_0424_dreamlte.tar

Fortunately, the "Reset" option worked for me and the phone reinstalled my apps from Samsung Cloud.

I'll wait until someone as a simplified method of safely installing TWRP and Magisk or another root that will permit Android Pay to work (and I would hope Samsung Pay as well).
[Samsung Galaxy S8 & S8+ Cross Device Development] profi208:
Isn't the 955FD the samsung galaxy S8+?

https://xdaforums.com/galaxy-s8+/development/recovery-twrp-galaxy-s8-exynos-t3594756
[Samsung Galaxy S8 & S8+ Cross Device Development] talroot:
Not sure if I understand that explanation. What we're saying is you still can't transfer files to your phone in TWRP. The post said it was fixed, and it seemed like it was, but transfers still slow to a halt and eventually fail. The work around is putting all the files you need on your micro sdcard prior to wiping and attempting to flash custom roms in TWRP.

I haven't actually tried a TWRP restore yet.
[Samsung Galaxy S8 & S8+ Cross Device Development] dying4004:
please let me know if you find a solution for this issue.

I am having same issue with my s8 g950F.
[Samsung Galaxy S8 & S8+ Cross Device Development] profi208:
Have you enabled OEM unlock?
[Samsung Galaxy S8 & S8+ Cross Device Development] dying4004:
yes i have
[Samsung Galaxy S8 & S8+ Cross Device Development] BioProf:
All proper developer options enabled

Yes, OEM unlock was enabled as was USB Developer/Download. As I noted, Odin reported that the TWRP . .. . rar file was installed.

---------- Post added at 05:52 AM ---------- Previous post was at 05:49 AM ----------

Yes, it is the international dual-sim version of the S8+
[Samsung Galaxy S8 & S8+ Cross Device Development] vinsky78:
For those who have "verification failed" error make sure you press and hold power+bixby+volume up buttons while pressing Start in Odin. Hold them until the phone reboot but don't hold too long. If you keep them pressed after the Samsung logo appears you will get the "verification failed" error again.
[Samsung Galaxy S8 & S8+ Cross Device Development] dingdong_:
As suspected - as my current version works perfectly - I guess I'lll wait for some time before seeing which ROM prevails before flashing - or even for Lineage to be available - worked like a charm on my previous phones.

Thanks for confirming
[Samsung Galaxy S8 & S8+ Cross Device Development] dying4004:
guys, i have gone a little further

after flashing twrp 3.1.0.1 i forced s8 to go into twrp directly

then i went into twrp/flashables and flashed no verify opt encrypt.5.1 and while it flashes it shows error cannot mount /data cannot mound sd card.

then i flashed magisk and then rebooted and phone tried to boot and goes into twrp and automatically reboots and stuck in this loop.

any idea?

cheers
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
Post 3 states Format data prior to the DM flash
[Samsung Galaxy S8 & S8+ Cross Device Development] JayBass:
Hi I have a SM-G955F, I flashed the latest firmware ODIN_BL_CP_G955FXXU1AQE5.rar, rebooted back into ODIN Mode, flashed twrp-3.1.1-0-dream2lte.img.tar and then booted into TWRP.

At the first screen where option for system read only, I cannot make a selection. Touch screen is not working and I cant make a selection or swipe.

I am thinking maybe I should try flash a previous version of the TWRP, but not sure if this would create more problems. Please help me urgently. I am desperate.

Regards.

//-------

Flashing the previous version twrp-3.1.0-1-dream2lte.img.tar solved my problem.

Something is not right with the latest twrp-3.1.1-0-dream2lte.img.tar.

L8r
[Samsung Galaxy S8 & S8+ Cross Device Development] MikhaelCH:
I actually flashed the s8 twrp on my s8+ (noobish damn) anyway ive tried reflashing the correct one and keep getting fail in odin still.

as well as that, Tried to flash stock firmware back over but keep getting fail in odin?

- havent tried firmware specific to my country yet, i just used any G955F firmware, could this be why?

but anyway im stuck in twrp 3.1.1.0 (with the unresponsive touch) i think and it was accidentally the s8 version (dreamlte) not dream2lte

anyway, any help is appreciated. thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] Ansuel:
Use adb and flash it with that
[Samsung Galaxy S8 & S8+ Cross Device Development] kefrayba:
I can use Smart Switch to recover my data from my old device after wipe and root?
[Samsung Galaxy S8 & S8+ Cross Device Development] MikhaelCH:
oh thanks! hadn't even thought of this,

you mean flash the correct twrp through adb or flash the firmware ?

thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] tiho5:
Yes, up to what smart switch can transfer, it can be used. Backup everything you can and go ahead.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ansuel:
Twrp
[Samsung Galaxy S8 & S8+ Cross Device Development] Feche:
TWRP settings are not being saved, any fix for this?
[Samsung Galaxy S8 & S8+ Cross Device Development] dynospectrum:
Settings will stick after a few reboots.
[Samsung Galaxy S8 & S8+ Cross Device Development] Shuuin:
I can't transfor files, i don't have sd card and push function does not work.
[Samsung Galaxy S8 & S8+ Cross Device Development] Ansuel:
Root stock use push from there
[Samsung Galaxy S8 & S8+ Cross Device Development] Shuuin:
Thanks. But I just reinstalled stock, installed latest twrp did format. En booted phone, transfered custom Tom then installed tom using twrp
[Samsung Galaxy S8 & S8+ Cross Device Development] Ansuel:
The bug with too large file is gone?
[Samsung Galaxy S8 & S8+ Cross Device Development] Shuuin:
No, i tried.

I install the custom rom this way, without sd card.

Download Smart Switch, to restore stock rom if you deleted system rom on TWRP.

repeat the guide for installing TWRP, after format. Reboot to recovery and install the "dm-verity and force encryption disabler"

After installment, reboot phone and let it boot into stock rom.

After setup and boot. Transfer the custom rom to your device and reboot into recovery.

install, then select the custom rom.
[Samsung Galaxy S8 & S8+ Cross Device Development] MikhaelCH:
hey man,

erm not sure how this works since the problem with the phone is that it is stuck with a unresponsive touchscreen in twrp, and so the only modes i can be on is that or download mode and therefore the device isn't recognised by the pc when trying to get into bootloader for adb?

thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] bidav1:
Sm-g955n csc

Hi guys,

I bought a 955n 128gb variant from sk.

Its a sk telecom phone. I can use it outside sk bit I can't switch the firmware to DBT or change csc.

I also dont have Hebrew language for the menus.

I tried 955f firmware with odin but no luck.

Tried without modem and csc and it almost bricked my device so i odined the stock 955n firmware skc. Used Samsung switch to recover.

my current csc is SKC and the phone has a lot of sk telecom crap on it.

How can I change csc on that phone? the most annoying part is the lack of hebrew language on the menus. i managed to partly solve it but it's still not like the 955f version which has full hebrew support.

Thanks!
[Samsung Galaxy S8 & S8+ Cross Device Development] yash92duster:
[MENTION=6371894]jesec[/MENTION]

In TWRP v3.1.1

Backup/Restore works fine

Took full backup of rom ( All partitions ) and restored

and it works fine :)
[Samsung Galaxy S8 & S8+ Cross Device Development] drago122:
When upgrade twrp to the latest version 3.1.1 it's necessary repeat all the procedure format data remove encryption ecc ..... ??? Or dirty flash the new recovery up the old version??
[Samsung Galaxy S8 & S8+ Cross Device Development] Ansuel:
When you are in twrp the adb shell should be up by default

Enter recovery and see if it gets detected with adb devices

(Remember you need the Samsung driver)
[Samsung Galaxy S8 & S8+ Cross Device Development] Habaddon:
Hello,

It seems I cannot flash a rom, it always come to a point where it cannot write anything, the only one that worked was CarHDRom, but I think I was just lucky because it's not working anymore (but I made a backup as soon as it passed, so I'm able to restore, most of the time, even restoration failed sometimes (extractTarFork() process ended with ERROR=255)).

I follow part 1 & 2, then I flashed Renovate Ice 2.0 checking full wipe without rebooting after part2.7. Is there something I missed ? Any ideas on wha'ts causing it ?

I have no error logs, aroma installer says no error but the flashing process is too fast, it probably crash somewhere... Save logs button not working neither, it says logs exported to microSD card but it's a lie, nothin' exported :)
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
Too risky advice from a Samsung newbie
[Samsung Galaxy S8 & S8+ Cross Device Development] Habaddon:
It's not edited in the mail :)

already try multiple times, format everything except MicroSD et OTG too, but no luck. I'll try to reflash stock with odin and do the steps again this evening, we'll see if it works...
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
I'm​ unable to restore the data partition when it's formatted as ext4, it will restore when formatted as ext3, but system is thereafter to no matter what I try (950f)

Any thoughts?
[Samsung Galaxy S8 & S8+ Cross Device Development] zoltar1308:
Hy . After flash twrp and no-verity-opt-encrypt-5.1.zip power on the phone and my wifi is not activate. what is the problem?
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
Did you format data as per the instructions in post #3?
[Samsung Galaxy S8 & S8+ Cross Device Development] zoltar1308:
yes.now is ok. but now i have problem with security notice popup. how disable?

i manage to disable with Package Disabler Pro. thanks
[Samsung Galaxy S8 & S8+ Cross Device Development] Café King:
I haven't rooted my phone yet, but probably will. Before I do, I have a question. And sorry if it's been asked already. Is there any way to backup apps+data without root? Does Smart Switch backup everything and can it be restored when rooted?

Thanks in advance

/CK
[Samsung Galaxy S8 & S8+ Cross Device Development] bidav1:
do you guys know if it works on g955n? i tried flashing the F roms on it, it did not work so i'm afraid to test again with twrp.

it's sk telecom korean version 128gb. when i boot i have the LTE Band sk telecom logo and T USIM in settings of the device.

eventually i want to somehow flash a different csc (no idea how yet but twrp is a start i guess)

thanks guys
[Samsung Galaxy S8 & S8+ Cross Device Development] ianmacd:
Once TWRP is on the device, what is the correct procedure when a new stock firmware update appears?

After flashing the update with Odin, TWRP will need to be reflashed. After that has been done, I assume I would need to reapply dm-verity and the force encryption disabler, too. is that correct?

One further question: I assume there's no way that /data can become accidentally re-encrypted, or is there?

I'm a long time CF Auto Root user, hence these beginner questions about TWRP. I did search for the answers before posting, but couldn't find the answers anywhere.
[Samsung Galaxy S8 & S8+ Cross Device Development] d.cortez:
i do exactly this when the full STOCK ROM is available. backup internal storage-->create nandroid backup->update to latest STOCK ROM and reboot to ensure no issues-->flash TWRP in ODIN and format data to remove encryption-->reboot to TWRP recovery-->flash dm-verity and encryption disabler-->reboot to recovery->restore backup to internal storage->restore nandroid. if i have issues, i factory reset in TWRP and start a clean setup :)

good question, i don't know the answer to that one.
[Samsung Galaxy S8 & S8+ Cross Device Development] iamnotkurtcobain:
I wiped my system last night and wanted to restore a backup from my sd card and I got this extractTarFork Error.

I rebooted twrp several times, wiped and formated the Data partition and rebooted again. TarFork Error again.

After 5-6 times it worked and it was restored. But something is way bad...

[MENTION=6371894]jesec[/MENTION] could you look at this?
[Samsung Galaxy S8 & S8+ Cross Device Development] yash92duster:
For me extractTarFork Error cake on ly once

When I flashed new rom and then when trying to go back to backup rom that err came

After full format and restore fixed it
[Samsung Galaxy S8 & S8+ Cross Device Development] iamnotkurtcobain:
Full format? Means internal storage too?
[Samsung Galaxy S8 & S8+ Cross Device Development] RuggedHunter:
[MENTION=6371894]jesec[/MENTION] can you provide the twrp setting name for if the EFS checkbox is selected....Google refuses to reveal a comprehensive list.

I need to be able to toggle this settings via openrecoveryscript.

For example, I used to have to disable free space check before making a backup...so the script was:

set tw_disable_free_space 1

backup BSDOM

I guess I already have an EFS backup stored safely, but I'd like to include it in my regular auto backups... and since there's not a native parameter for the backup command...I believe there's probably a setting name like "tw_enable_efs_backup or something.

Edit:. This should be close enough.

I'll try set tw_backup_efs 1

Edit: Nope, unfortunately no joy.
[Samsung Galaxy S8 & S8+ Cross Device Development] yash92duster:
Yes format it too

And restore full backup again then only it worked

That fork err did not come