yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 & S8+ Cross Device Development] steljwaxd:
Yes that part is clear, but what isn't clear is the fact why, why do we need to disable native android encryption? Let's say I want to flash a custom ROM without flashing disable dm-crypt, what would happen and why?
[Samsung Galaxy S8 & S8+ Cross Device Development] potsykate:
Anyone willing to help with my problem of TWRP just freezing the screen after installing on my UK S8+.? I've asked in other sub forums but no one is able to answer and solve this problem. I'm desperate to get this working so I can finally install a new ROM.

I install it via Odin but on every occasion the screen just freezes and there's nothing I can do in TWRP so I have to go back to Oreo via Odin.
[Samsung Galaxy S8 & S8+ Cross Device Development] elner0:
TWRP on S8+ Oreo Exp9. Failed to mount '/data' (No such process)

Never have had this problem on TWRP before. Neither on my S6E, S7E and S8+ , always updated on latest firmware, rooted and with perfect TWRP.

Until now ..... with latest OREO/exp 9 update .... . Cant make any backup / restore for _ Failed to mount '/data' (No such process)_

How I did try it (for almost two days):

1:Flash G955FXXU1CRB7/ G950FXXU1CRAP (samfirm and WRoid) with odin 3.13.1 / 3.12.3 and Prince

2:Flash TWRP 3.2.1-0 latest

3:Format Data ( yes) + also tried Wipe Data, and Internal Data, Dalvik & Cache

4: Reboot recovery and Flash no-verity-opt-encrypt-6.0

5:Flash Magisk 16 , later on also tried 15.3

6:Reboot

7. Setup and phone works fine

but when booting into Twrp afterwards and try to make f.e. a backup get a "Failed to mount '/data' (No such process)" notice .

Already Tried:

differet odins, firmwares , magisks , partitioning SD, re-formating micro SD ext 3 / ext 4

always same error message after rebooring and never can "mount data" afterwards .

HELP .

Tnx in advance ,

El
[Samsung Galaxy S8 & S8+ Cross Device Development] Orphee:
I didn't try yet but it seems to be because of Magisk, Need to try with SuperSU...

But I really would like to avoid SuperSU...
[Samsung Galaxy S8 & S8+ Cross Device Development] hxxJuan:
Guys i have some problems. After flashing about 7 times to apply TWRP via Odin, in this Part of the guide;

Pt,1:
[...]
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.

I do exactly, step to step, but my S8+ g955 FD is not starting in TWRP, it stops in Galaxy s8+ bootscreen in infinite loop. At this point i cannot shut down the phone, only forced Restart (Volume down+Pwr button) or forced reboot to download mode (volume down + bixby + pwr button.)

What i can do?
[Samsung Galaxy S8 & S8+ Cross Device Development] cwhiatt:
What version of TWRP?
[Samsung Galaxy S8 & S8+ Cross Device Development] firefds:
This step was always tricky for me, so this is what I'm doing:

Before you flash, make sure the Auto Reboot option in Odin is OFF.

Now, flash TWRP without holding any buttons.

When the flash is done, turn off the device manually with volume down+pwr and immediatly hold volume up + pwr + home for recovery.

This should boot you to TWRP
[Samsung Galaxy S8 & S8+ Cross Device Development] praty5:
can i use the same to flash the oreo variant of s8
[Samsung Galaxy S8 & S8+ Cross Device Development] firefds:
Yes
[Samsung Galaxy S8 & S8+ Cross Device Development] Reneval:
Hi Guys,

after install of latest TWRP it can' mount data partition :(

i have the latest stockfirmware CBR7 for DB T/germany (android 8.0.0)

I have format data und use no-verity-opt-encrypt-6.0.zip and install of supersu.

It can mount data only as long you start the system for the first time.

when you restart twrp all is fine.

have sammy change the bootloader?

what to do now to use this firmware und mount data in twrp, too?

because i can't install any zip or make a backup.

thanks for any tipps!
[Samsung Galaxy S8 & S8+ Cross Device Development] callumbr1:
Which version of twrp you flashing?
[Samsung Galaxy S8 & S8+ Cross Device Development] firefds:
Install SuperSU and it will worj
[Samsung Galaxy S8 & S8+ Cross Device Development] Reneval:
thanks!

i read this and install supersu 2.82 stable, but no luck.

after first system-boot twrp can't mount data with this firmware-version.

which supersu Version i have to use?
[Samsung Galaxy S8 & S8+ Cross Device Development] firefds:
2.85 SR5
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Downlod link in OP is Down :(

See:

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

Any mirror ?

I just need TWRP for my G950F Exynos running latest Stock ROM Oreo.

Thx !
[Samsung Galaxy S8 & S8+ Cross Device Development] pendor24:
Hello

this work
[Samsung Galaxy S8 & S8+ Cross Device Development] Reneval:
No luck at all.

After Recovery install and format data + dm-verifity (v.6.0) all is ok.

After first boot the TWRP can't mount data anymore.

Maybe we need a new TWRP for the present oreo firmware CRB7?
[Samsung Galaxy S8 & S8+ Cross Device Development] hxxJuan:
I've tried that method about 3 times without luck :( ...

Downloaded about 3 times this file;

twrp-3.1.1-2-dream2lte.img.tar

Now i get tired and just installed an stock image but now i see another problem... Internal storage shows only 16GB, original is 64gb.

I think some part of the phone it's corrupt... don't know what to do.
[Samsung Galaxy S8 & S8+ Cross Device Development] pmorales:
Try this link to download:

https://dl.twrp.me/dream2lte/
[Samsung Galaxy S8 & S8+ Cross Device Development] cwhiatt:
If it were me I would start from the top and flash:

G950FXXU1AQL5_G950FUWE1AQL5_UNE.zip

with Odin 3.12.3

Then flash twrp-3.2.1-0-dreamlte.img.tar

Then flash Magisk-v15.2.zip

I have the G950F and that is exactly what I have used for Android Nougat (I have not yet upgraded to Oreo).
[Samsung Galaxy S8 & S8+ Cross Device Development] hxxJuan:
Ok, so now i check the files and download TWRP for my Exynos 955FD again and did it in that order and still no TWRP access. :(

Update (16gb Internal storage issue), after full flash via odin using [BL], [AP], [CP] and [csc] slots i restored the 64GB of internal storage. (i was really scared when i see only 16gb, thought some memory module inside of the phone just died :crying:)

After this, i did another 2 tries to flash TWRP without luck.
[Samsung Galaxy S8 & S8+ Cross Device Development] cwhiatt:
I stated that the files were for the G950F.

If you have the G955FD then you are going to need different files for Nougat!

https://www.sammobile.com/firmwares/galaxy-s8-plus/SM-G955FD/

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

Try this. Follow instructions exactly from OP
[Samsung Galaxy S8 & S8+ Cross Device Development] x_kam77:
Hello,

I have SGS8 with version G950FXXU1AQL5 + Android 7.0 Stock.

I would like to upload twrp 3.2.1-0-dreamlte + no-verity-opt-encrypt-5.1 + magisk v16.0. Will it work? Will not I catch the bootloopa?

will eventually load RENOVATE_OREO_0.5
[Samsung Galaxy S8 & S8+ Cross Device Development] cwhiatt:
I have the same model and same version and used the following without fail:

Odin - 3.12.3

twrp 3.2.1-0-dreamlte

no-verity-opt encrypt - 3.1

Magisk - v15.2
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Same problem here ...

I'm on Android 8.0, System + Magisk works like a charm (stock kernel).

But after some time TWRP can't mount /data anymore ... it's quite annoying to configure TWRP everytime :(

From dmesg:

<4>[ 48.126653] [4: recovery: 3014] Setting journal tag on volname[USERDATA]
<6>[ 48.127380] [6: recovery: 3014] EXT4-fs (sda24): Reserve inodes (4096/3579904)
<4>[ 48.127676] [6: recovery: 3014] EXT4-fs (sda24): [B]warning: maximal mount count reached[/B], running e2fsck is recommended
<4>[ 48.128535] [7: recovery: 3014] EXT4-fs warning (device sda24): ext4_enable_quotas:5223: Failed to enable quota tracking (type=0, err=-3). Please run e2fsck to fix.
<3>[ 48.128724] [7: recovery: 3014] EXT4-fs (sda24): mount failed
<4>[ 48.129973] [4: recovery: 3014] Setting journal tag on volname[USERDATA]
<6>[ 48.130428] [7: recovery: 3014] EXT4-fs (sda24): Reserve inodes (4096/3579904)
<4>[ 48.130482] [4: recovery: 3014] EXT4-fs (sda24): warning: maximal mount count reached, running e2fsck is recommended
<4>[ 48.131402] [5: recovery: 3014] EXT4-fs warning (device sda24): ext4_enable_quotas:5223: Failed to enable quota tracking (type=0, err=-3). Please run e2fsck to fix.
<3>[ 48.131587] [5: recovery: 3014] EXT4-fs (sda24): mount failed

Probably another stupid security feature :)
[Samsung Galaxy S8 & S8+ Cross Device Development] cwhiatt:
This is why I'm rarely in the beta group.
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
I need help

An error happened that it says "custom binary(recovery) blocked due to intallments"
[Samsung Galaxy S8 & S8+ Cross Device Development] pendor24:
Hello

reflash the AP part of your rom with odin.
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
I tried to reflash it but it still says the error

And im not using a custom rom im still on stuck if thats what youre telling me
[Samsung Galaxy S8 & S8+ Cross Device Development] _moelle:
simple fix...use tgp kernel. it has fixed this for me. no data encrpytion issue annymore at all.
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
Update: the error actually says "custom binary(recovery) blocked due to remaining installment balance"
[Samsung Galaxy S8 & S8+ Cross Device Development] pendor24:
I have encountered this problem twice and every time the flash of the AP part with odin has solved the problem

AP (contains the original recoveryi img of your ROM)
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
Can you tell me what to flash

Srry i know its the twrp one but i need to do this right before i make a mistake again

Srry im kind of a newbie to the s8
[Samsung Galaxy S8 & S8+ Cross Device Development] pendor24:
Reflash the AP part of your rom stock with odin.
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
Ok i reflash the ap part with the twrp recovery img right

My bad im confused in that part
[Samsung Galaxy S8 & S8+ Cross Device Development] pendor24:
1) reflash the AP party with odin.

2) read the instructions on page 1 of the TWRP.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
He mean with odin .. the "AP****.tar.md5" package .... anyway:

and SYSTEM + USERDATA .. so that'll wipe your data. (at least on CRB7 Android 8.0).

Some minutes ago i did exactly this, only flashed AP Part .. because for some reason wifi didn't work anymore, even after flashing the stock boot.img over TWRP/ADB .. no way. So i just flashed AP part with ODIN in order to fix wifi which worked then... but then i was checking IMEI with the Dialer --> "*#06#" .. and nothing happens !

Short story: i ended up to wipe data and flash the full stock ROM incl. pit (CSC package) in order to fix all issues... strange thing.

It's incredible (and annoying) how much security stuff this Phone has. I'm coming from the Ace 2 Forum and building a custom kernel for that phone is way easier. But i'll do my best guys :)

Thanks for your Tip! - But i don't have encryption issue .. .. TWRP just can't mount /data partition .. nothing more.

I can boot the system with the stock kernel without problems. (anyway i need to make it working in twrp, it's important)
[Samsung Galaxy S8 & S8+ Cross Device Development] pendor24:
Hello

to repair the wi-fi I would flash the modem (CP) rather than the system
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hello,

If i'm not wrong it fixed wifi after flashing AP only.... but with the side-effect that some other things didn't work.

*#06# and *#1234# didn't shown nothing. :)

Anyway, next time i'll try it out ;)
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
Ok will this fix the error "custom binary (recovery) blocked due to remaining installment balance?

Note this is during the download mode
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I don't know, i never had this error.

But i would try to flash the latest stock ROM CRB7.

And DO NOT CHOOSE HOME_CSC !! *

Choose CSC instead.

* this is especially very important if u're coming from Android 7.

So for the first time u flash Android 8 it's very important to flash with the normal CSC so that ODIN will repart your Phone properly to fit the new Android. Then next time u want to flash any Android 8 updates, then u don't need to repart it again.

Many users don't know this and they will most probably have a messed up Phone.

Edit:

what do u mean ?! - Can u make maybe a screenshot or photo and attach it here ??
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
Man this is a headache

This error is preventing it from flashing twrp

---------- Post added at 10:18 PM ---------- Previous post was at 10:03 PM ----------

Hold on ill show you the error
[Samsung Galaxy S8 & S8+ Cross Device Development] _moelle:
if i dont mix something, it has still to do with encryption, even if u can boot it. u can boot encrypted partitions, but not change em via twrp(or even mount) unless u format it obviously - stock system is encrypted by default and we can boot it, so thats not the point.

try the kernel. i bet it wont happen anymore.
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
Here's the error I'm talking about

Edit: this happens when trying to flash twrp
[Samsung Galaxy S8 & S8+ Cross Device Development] mr.thiem:
I can not set twrp for Android 8.0. suspended logo samsung. please help
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
OK, really strange. I don't have that issue using ODIN v3.13.1.

Read Post #1 && #3 and u'll pass.
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
I was using the 3.12.3 one

---------- Post added at 12:16 AM ---------- Previous post was at 12:03 AM ----------

Tried the one you use but no luck

I cant flash twrp damn it

My phone is a exynos variant G955F
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
This is the model
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
Im out of options here tell if anything can be solved
[Samsung Galaxy S8 & S8+ Cross Device Development] _moelle:
U CANT FLASH TWRP VIA ODIN SINCE OF OREO (if your device is using oreo stock without root/custom rec.)! revert back to stock nougat via odin, then flash twrp via odin , it will work.

---------- Post added at 01:02 AM ---------- Previous post was at 01:01 AM ----------

wait this means u are on nougat?
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
Yes it is on nougat
[Samsung Galaxy S8 & S8+ Cross Device Development] _moelle:
and you are even sure that every part of your firmware is based on nougat? please share a complete screenshot of your bootloader/download mode.
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
My apologies that im not good in this since im new to flashing heres the info

The bootloader i need help for thst because i honestly dont know but here are the pics
[Samsung Galaxy S8 & S8+ Cross Device Development] _moelle:
first of all, no need to apology, i just asked for the screenshots, to be able to sort out some common issues that may probably the reason your issue.

unfortunately i dont really notice anything wrong.

so u got a samsung galaxy s8+ g955+ , running stock nougat, right?

its already stated in your screenshot, but i just wanna make sure, you already hit the build name on software information ( settings ) a few times until you unlocked the developer settings? - there u turned on "oem unlock"? ... thats an important step.

i dont really understand why this error happens to while flashing twrp, it should work without an issue on nougat.

maybe u got the wrong twrp image? or some other minor troublemakers happened during your attempt to flash twrp; so i ve grabbed everything requried for flashing twrp, maybe it will help u.

twrp image file u need to flash:

https://eu.dl.twrp.me/dream2lte/twrp-3.2.1-0-dream2lte.img.tar.html ( use the .tar variant, instead of the normal .img file. - both are possible to download. both should actually be able to flash without an issue, but i recommend to use the .tar variant. )

latest odin:

https://xdaforums.com/showpost.php?p=75703449&postcount=276

step by step tutorial:

https://goo.gl/ggPKgp

generally, u cant really do anything wrong, if you do it just the way of the linked tutorial. - if its still not possible to flash twrp, i m kinda clueless. - sorry.
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
Sorry, that's rubbish, I did this myself yesterday without issue, important to flash twrp before booting the ROM.

Follow your logic - back to 7.0, flash twrp, then flash the whole of 8.0 - where's twrp gone???
[Samsung Galaxy S8 & S8+ Cross Device Development] Alanrey00:
I did everything as you say except for the rom and the rmm fix as I like the stock one, should I be safe to reboot??

PS: I'm on oreo and magisk is working as normal but I'm afraid to reboot and lock the oem again and lose the root
[Samsung Galaxy S8 & S8+ Cross Device Development] Onyx0099:
Ok thx i will work on this today

ill notify you if it worked or not

Also aside of this i forgot to say that way before this happened i did managed to flash it but when i turned on my phone it say that the verification failed and it gave me a option to reset(factory reset)

So for safety reasons i reset it, after that this error started showing when i try to flash it again because nothing happened at the first time
[Samsung Galaxy S8 & S8+ Cross Device Development] _moelle:
it sounds like bull****, i agree, but its true! i just tried it again after reading your statement. - so far i wasnt able to flash the complete oreo firmware at all, at least if i want to keep twrp and / or root. its in fact only the new bootloader thats triggering the rmm state to prenormal if i flash any custom binary like twrp. - i cant even flash twrp after flashing the crap BL. it has to be flashed together otherwise its ending on "fail, only official images are allowed to flash..."

if i flash twrp and the bl within one step, twrp will be installed but no matter, if i try to boot directly into twrp or just reboot usually, i end in a oem lock bootloop.

only way for me so far, is to flash the nougat BL on top of the oreo firmware files. then i can flash twrp without an issue.
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
Ok, that's new information not in your original post.

Your scenario is known, you have to wait 7 days without booting to be able to load twrp.
[Samsung Galaxy S8 & S8+ Cross Device Development] _moelle:
yeah, but 7 days "rootless jail" isnt acceptable for me. - so u said, u just did it yourself yesterday, so did you wait 7 days too? or what does "i did it myself yesterday" means?
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
It means I followed all the steps and had rooted Oreo without issue or delay. Including twrp back and data restore less than an hour.
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
7 Day Theory ? - SAMSUNG is really funny :D

btw, after starting from scratch, TWRP - Mount /data worked for 2 -3 times .. and now it can't mount it anymore.

But i believe it has something to do because i'm on stock kernel... so after some time /data gets encrypted again.

I hope it'll not happen anymore after i flash a kernel with all the security stuff disabled.

I'll report.
[Samsung Galaxy S8 & S8+ Cross Device Development] _moelle:
sorry but i dont get you, u told me that my scenario is known and i have to wait 7 days - i was already aware of that 7 days rule, but now u tell me that it worked for you without any delay? so whats the difference of your step by step following to all us other guys, who have to deal with the rmm 7 days jail, if we want to use the oreo bootloader with twrp and root?
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
I followed this but with the latest Odin.

https://xdaforums.com/galaxy-s8/how-to/guide-how-to-install-twrp-root-galaxy-t3752480
[Samsung Galaxy S8 & S8+ Cross Device Development] _moelle:
"...help them to install TWRP on their S8 after Oreo Update." - so are we talking about "natural" oreo update by ota? if so, yeah that usually doesnt trigger the rmm prenormal state. - i have to flash oreo via odin - that seems to bring all the troubles. of rmm and oem lock bull****.
[Samsung Galaxy S8 & S8+ Cross Device Development] goRt:
I used Odin without issue, not sure you get ota when rooted
[Samsung Galaxy S8 & S8+ Cross Device Development] haifish9999:
Seems so the newest TWRP version have got issue with mount data problem ( even format data process already did).... it's shown 0 mb capacity in TWRP / Internal storage .... rooted the device on Oreo 8.0 without any issues except the mount data problem. With this problem we can't flash any zip file located on internal storage ( if you don't have the external sd card or USB storage).
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
Hmm in my case i installed now 2 Times Oreo + TWRP + magisk (with the no-verity zip) without to wait 7 Days and it worked always.

Also the OEM Bootloader lock in Dev- Settings was always already enabled and always unlocked.

And that "RMM State" is not present at all in my Download mode !

Is that only for G955F ??
[Samsung Galaxy S8 & S8+ Cross Device Development] force70:
Not everyone has the oem unlock issue

sent from my Pixel 2 XL or Note FE
[Samsung Galaxy S8 & S8+ Cross Device Development] cwhiatt:
I've got the SM-G950F and downloaded the official Oreo firmware from Sammobile. I was thinking about upgrading to Oreo maybe this weekend.

If you wouldn't mind, can you confirm the TWRP and Magisk versions that work with Oreo?
[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
I used all latest versions, no problems so far except the weird issue with mounting data on TWRP.

But i think that should be fixed by installing a custom kernel with security stuff disabled right after flashing all the other stuff. So before to boot to the system.
[Samsung Galaxy S8 & S8+ Cross Device Development] cwhiatt:
Thanks. I may hold out then for a bit to see if the issue gets resolved without custom kernel flash.
[Samsung Galaxy S8 & S8+ Cross Device Development] pendor24:
Hello

maybe we should try to compress the TWRP. img in TWRP. img. lz4 see if it works.
[Samsung Galaxy S8 & S8+ Cross Device Development] degsyh:
Yes there is definitely something strange with MTP / file transfers. Even simple stuff like getting the PC to recognise the phone. I've had pop ups on the phone saying it can't connect but when you switch to the image transfer (can't remember its name) it works ok but then you can only see images/video etc . The workround is to uninstall and then re-install the drivers every time which is a PITA. I thought it was just my Windows10 playing up but I think they might need to update something in the drivers (the original USB drivers from Samsung website are from 2015)
[Samsung Galaxy S8 & S8+ Cross Device Development] fisher6:
Yeah something is strange. I can't copy any ROM files, adb push and sideload do not work either. Never spent 2 days trying to root and install a custom rom. My only chance is to wait for one that is less than 2 GB in size. Going back to my OP3T until then.
[Samsung Galaxy S8 & S8+ Cross Device Development] Tripledrop:
+1

Must be Knox related, noticing phone now has root... Would be good to know how to stop it though...
[Samsung Galaxy S8 & S8+ Cross Device Development] Tripledrop:
Perfect, should've thought of that!

---------- Post added at 07:36 PM ---------- Previous post was at 07:26 PM ----------

Ok, another question.. I understand Samsung Pay, Pass & Secure Folder don't work with root (they didn't on my S7 either), and I don't use these so happy enough.

However I do use Android Pay, and that won't work now. Always worked fine for me using Magisk root previously. Is there anything I can do in Magisk to make this work? A different version maybe?