yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
Flashing TWRP is easy but you should follow with the no verity zip from the OP, and then you can flash magisk ot superSU. If you can root without TWRP, you should be able to maintain some Samsung apps - unless Knox is triggered.
[Samsung Galaxy S9 & S9+ Cross Device Development] jfitie:
This version (twrp-3.2.1-2-star2lte.img) can't decrypt encrypted data partition when using LineageOS (lineage-15.1-20180501-nightly-star2lte-signed.zip) and an encryption password.
[Samsung Galaxy S9 & S9+ Cross Device Development] Samik7:
I had the same issue. You need to log off google and Samsung account. Had to go to 7 day few times because of this
[Samsung Galaxy S9 & S9+ Cross Device Development] Bofahad:
After rooting with pathed Magisk titanium Backup doesnt work? AnyOne!
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
Does it FC or it can't save to its backup location ?
[Samsung Galaxy S9 & S9+ Cross Device Development] Bofahad:
Cant see root
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
You will have reinstall root - it looks like it is gone. Check with other apps that need root.
[Samsung Galaxy S9 & S9+ Cross Device Development] Bofahad:
I have root with all other apps , i tried to uninstall it then i install it then i got Crash every time i run it !
[Samsung Galaxy S9 & S9+ Cross Device Development] SantinoInc:
Maybe it needs BusyBox? Did you give Titanium root priviledges?
[Samsung Galaxy S9 & S9+ Cross Device Development] Bofahad:
BusyBox installed fine , yes
[Samsung Galaxy S9 & S9+ Cross Device Development] Bofahad:
Can i uninstall Magisk then install Supersu SR5 ?? Or i will face OEM & black screen problems ??
[Samsung Galaxy S9 & S9+ Cross Device Development] iDroid8:
Hi Jesec, would you be able to recommend a custom kernel? I've not used a Samsung before, so don't really have an idea as to what which kernels are considered good. Would elementalX be a good custom kernel to flash before root? I really wouldn't want any of those RKP processes to be active.
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
Yes. You should not have any issues- unless there are already issues beyond just Magisk, which I think there are.

It might be time for a clean wipe and reinstall with TWRP.
[Samsung Galaxy S9 & S9+ Cross Device Development] Bofahad:
Thank you
[Samsung Galaxy S9 & S9+ Cross Device Development] Bofahad:
Guys after doing all of that i got a Software update so what is the Correct way to install it ??
[Samsung Galaxy S9 & S9+ Cross Device Development] Bofahad:
Guys becarful you cannot uninstall Magisk & install Supersu & if you do that you Cannot install Magisk again .
[Samsung Galaxy S9 & S9+ Cross Device Development] force70:
Did you fully uninstall Supersu before trying to reinstall Magisk?

sent from my Exynos S9 plus, Pixel 2 XL or Note FE
[Samsung Galaxy S9 & S9+ Cross Device Development] Bofahad:
How to fully unistall it if its already not installed !
[Samsung Galaxy S9 & S9+ Cross Device Development] force70:
Im confused then because you said you installed Supersu?
[Samsung Galaxy S9 & S9+ Cross Device Development] Bofahad:
I flashed it but i didn't installed , there is no root after booting !
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
But the app may be there but not working. See if it is and then delete it and try again.
[Samsung Galaxy S9 & S9+ Cross Device Development] Revontheus:
Hello all! Would it be better to disable auto-reboot on ODIN and hit the combo keys manually?

Thank you! Day 6/7 of RMM Jail
[Samsung Galaxy S9 & S9+ Cross Device Development] Bofahad:
That's not my problem i Restored backup with working Magisk .
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
Definitely want auro-reboot off so it doesn't restart before you flash the zips that will keep everything in unlocked mode.
[Samsung Galaxy S9 & S9+ Cross Device Development] Revontheus:
Thanks! It wasn't on the instructions list on here, but I do remember turning it off being mentioned back in the S7 forums :).

Hoping that Xposed (non magisk version) would work well...
[Samsung Galaxy S9 & S9+ Cross Device Development] Bofahad:
Xposed work very well .
[Samsung Galaxy S9 & S9+ Cross Device Development] cebs:
Anyone getting this error?

Enviado do meu SM-G955F através de Tapatalk
[Samsung Galaxy S9 & S9+ Cross Device Development] Bofahad:
No
[Samsung Galaxy S9 & S9+ Cross Device Development] iamnotkurtcobain:
What is this lol
[Samsung Galaxy S9 & S9+ Cross Device Development] cebs:
If i knew it i wouldn't be here asking... [emoji23]

I can't do anything, neither installing or backing up - - '
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
Are you using S9 TWRP on different device ?
[Samsung Galaxy S9 & S9+ Cross Device Development] cebs:
Nop, I'm on S9 Plus, the rom i use is for multiple devices, S7, S8 and S9
[Samsung Galaxy S9 & S9+ Cross Device Development] cebs:
Here is a screenshot to prove it [emoji4]

I'll try to do a clean install

EDIT: problem solved, had to reinstall everything, something messed up with system partitions

Enviado do meu SM-G955F através de Tapatalk
[Samsung Galaxy S9 & S9+ Cross Device Development] Zwulf:
Found some working Magisk versions on Telegram channel. These are not made by me, so if you got problems, don't blame me for anything. ;)

16.0 is said to be better, but modded 16.4 works well for me (NFC won't work with 16.4).

I hope it's ok to post that here - if not, I apologize, I'll delete the post then.
[Samsung Galaxy S9 & S9+ Cross Device Development] denja12:
Deleted
[Samsung Galaxy S9 & S9+ Cross Device Development] djfoo000:
I have a quesiton on the following section of the instructions:

What is exactly the recommended thing to do? At what point can I "pause" the reboot process to flash/reboot into TWRP? Or can I just let the reboot process complete anyway? This reboot happens upon ticking the OEM Unlock option, right?
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
I am past this, but it took 2 7day periods to get there after letting it complete the reset, so I would also like to learn this in case it happens again.
[Samsung Galaxy S9 & S9+ Cross Device Development] alcoholer:
Hi everyone, i have a T-Mobile Samsung S9 SM-G960U how i can recognize if is Snapdragon version or Exynos.

And if is Snapdragon i am able to root this device?

Thanks in advance
[Samsung Galaxy S9 & S9+ Cross Device Development] denja12:
Delete
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
That Snapdragon. CPUZ app will confirm not Exynos. Doubt if you can root Snapdragon.

---------- Post added at 10:45 AM ---------- Previous post was at 10:29 AM ----------

You will see a message after you toggle OEM unlock that says phone will perform a factory reset. I hit power, bixby, and volume down buttons just as it was rebooting to perform factory reset to override and boot into download mode in order to flash twrp with ODIN. You need to have automatic reboot set in ODIN options prior to flashing twrp. During automatic reboot after twrp is flashed hit power, bixby, and volume up buttons to boot directly into new twrp installation.
[Samsung Galaxy S9 & S9+ Cross Device Development] force70:
Being an XDA member i dont get can you not even know that all the US models have snapdragons and how can you also not even know that those Bootloaders are locked and there is no root available yet lol? Talk about living under a rock lol.

sent from my Exynos S9 plus, Pixel 2 XL or Note FE
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
That is what I thought but since I haven't had TWRP and RMM issues since then hopefully won't have to do so in the future - but good to know what will save 1 7 day period.
[Samsung Galaxy S9 & S9+ Cross Device Development] Amd4life:
Can you post a link to XDA> I don't use telegram. Thanks
[Samsung Galaxy S9 & S9+ Cross Device Development] fayeharuna:
S9+ G965N when i wipe,it tips me cannot mount date ,flash rom have the same tip, but it seems doesn't matter?
[Samsung Galaxy S9 & S9+ Cross Device Development] harise100:
You have to "Format" data, not wipe. The one were you have to type "yes".

After that, reboot to recovery again.
[Samsung Galaxy S9 & S9+ Cross Device Development] fayeharuna:
when i format date waining failed to mount '/preload'
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
I was having problem with mounting system in TWRP when trying to restore rom. I fix it by going into advance wipe, selecting system, repair or change file system, change file system to Ext. 4, go back and repair system file, than wipe system only with advanced wipe, then system does mount during restore process and successful restoration.
[Samsung Galaxy S9 & S9+ Cross Device Development] fayeharuna:
that's the screenshot

wipe warning failed to mount /preload
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
Are you mounted to data and preload in mount? The above process may work substituting data in lieu of system. I guess you can select preload as a partition in mount but not in wipe.
[Samsung Galaxy S9 & S9+ Cross Device Development] fayeharuna:
i didn't select preload in wipe but it always warning me failed mount preload , and in mount the preload partition cannot be selected
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
Thats the same it was for me except with system. I could not select system in mount until I performed the previously aforementioned process. Not sure about preload since there is no selection for it in wipe.
[Samsung Galaxy S9 & S9+ Cross Device Development] fayeharuna:
system is same to me untill i format date,but preload is still have the problem. whatever i wipe or flash it always warnning me that.
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
I don't have option to select preload partition in wipe. But I can select and mount preload partition and all other partitions in mount.
[Samsung Galaxy S9 & S9+ Cross Device Development] fayeharuna:
in explorer my preload folder is empty, i lost my preload partition??
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
my preload folder is empty too.
[Samsung Galaxy S9 & S9+ Cross Device Development] fayeharuna:
emmm thanks for u

anybody use g965N? maybe it's a bug on G965N
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
I had the N and I flashed the Detonator T-Mobile thing and basically bricked it. The N is the Korean version and mine had alot of bloat not to mention there was some lock put on phone by SK Telecom. I bought it off of Amazon (advertised as unlocked, ordered F version but first they sent me snapdragon then N, finally switch to different vendor on Amazon) but after I flashed the Detonator thing it wanted sim code. I don't think the N version of phone has anything to do with not being able to mount preload.
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
I am thinking you may want to try reflashing the dm verity zip file and see if that does anything to correct. Follow the original process in the beginning of this thread.
[Samsung Galaxy S9 & S9+ Cross Device Development] davidt123456:
Hi,

I am just a beginner.

I only flashed TWRP and dm-verity patch and rebooted to system. Now the OEM unlock is off. Shall I turn it on if I want to flash magisk and xposed? Or can I flash with OEM unlock off? If I turn OEM unlock on, the system will load to factory settings, do I need to flash TWRP again?

Thanks.
[Samsung Galaxy S9 & S9+ Cross Device Development] ianmacd:
Put your device in download mode and note what's written on the screen. If you see OEM Lock: Off, FRP Lock: Off and no mention of RMM Prenormal, you are ready to flash Magisk. If you see anything else, do not proceed. Instead, take steps to remedy the situation.
[Samsung Galaxy S9 & S9+ Cross Device Development] fayeharuna:
Doesn't work ,I searched xda and found other Samsung device had the same problem,use cwm recovery format /preload can fix it,because twrp can't format preload.so how can I format preload use adb shell?
[Samsung Galaxy S9 & S9+ Cross Device Development] gaww:
You never want to turn it back
[Samsung Galaxy S9 & S9+ Cross Device Development] davidt123456:
Out of curiosity - what will happen? Is it risky or will I just return to the beginning?

---------- Post added at 10:48 AM ---------- Previous post was at 10:45 AM ----------

Thank you. So the the info on screen in download mode have higher validity than info in Menu->Developer mode?

I am just trying to understand it.

I got a response in other thread that I need to unlock OEM (https://xdaforums.com/showpost.php?p=76542220&postcount=51)
[Samsung Galaxy S9 & S9+ Cross Device Development] ianmacd:
It's risky. If you proceed, your device will be wiped again and you'll have to start from scratch.

Once you've set OEM Unlock to on, never go near the setting again. There is nothing to be gained.

Yes, the download mode screen is definitive. It will always give the true status of the device.

The toggle Under Settings can get out of sync with the true device state, in particular if you install a custom ROM. You haven't done this, so your toggle should theoretically reflect the true status of the device, but if you rely only on what you see in download mode, you'll never go wrong.

The ROM I'm running, for example, claims to have removed the setting altogether, in an effort to prevent accidental retoggling back to locked state, but It still shows up under my Settings screen and claims to be locked. It can't be locked, of course, because I'm running a custom ROM that would otherwise fail to boot. And indeed, checking download mode shows that the actual lock state is off.

If your device is truly locked, then yes, you need to toggle that setting to unlock it. It's just that once you start playing with custom ROMs and the like, you can no longer reply on what that toggle tells you. For safety's sake, I always go by download mode.
[Samsung Galaxy S9 & S9+ Cross Device Development] serajr:
[MENTION=6371894]jesec[/MENTION]

Can the install time sepolicy patch be used to add a custom selinux rule, like this one (or something like this)?

./magiskpolicy "allow init domain process { noatsecure }" --load ./sepolicy --save ./sepolicy

Thanks in advance!
[Samsung Galaxy S9 & S9+ Cross Device Development] denja12:
Great to see twrp on the s9 and s9 +
[Samsung Galaxy S9 & S9+ Cross Device Development] sprockettyz:
Hey bro What's different between 16.0 patch and 16.4
[Samsung Galaxy S9 & S9+ Cross Device Development] jaydriod26:
Do it work for usa galaxy s 9plus
[Samsung Galaxy S9 & S9+ Cross Device Development] Lewdog45:
No. USA versions are Snapdragon models.
[Samsung Galaxy S9 & S9+ Cross Device Development] iDroid8:
Does this on UK or European versions? Those are Exynos variants.
[Samsung Galaxy S9 & S9+ Cross Device Development] force70:
Why are people so lazy to read the OP, specifically the first paragraph in big red letters.

No need to ask silly questions if you would just take 30 secs to read a bit fellas.:thumbup:

sent from my Exynos S9 plus, Pixel 2 XL or Note FE
[Samsung Galaxy S9 & S9+ Cross Device Development] iDroid8:
The OP says "Exynos variants such as International (F), International Dual(Hybrid)-SIM (F/DS), Korean (N) ONLY."

I'm simply trying to confirm whether this includes UK/European variants, as I'd like to be sure before I potentially drop £500 on something. This is not completely obvious to someone who's never used a Samsung before.

No need to ask silly questions if you would just take 30 seconds to understand a post a bit
[Samsung Galaxy S9 & S9+ Cross Device Development] force70:
"International" means UK/European variant.

And all european/UK models (and most Asian models) are exynos based and either F or F/DS versions. Hope that helps some?

And you could have maybe mentioned your a n00b to samsung because to most of us here the question you asked is common knowledge honestly.

Not as bad as asking if this works on USA versions though lol...i mean to the majority here that is a very stupid question.

sent from my Exynos S9 plus, Pixel 2 XL or Note FE
[Samsung Galaxy S9 & S9+ Cross Device Development] locuras_86:
Try for the third time to root my S9 Plus and I can not. I follow all the steps and will not let me enter a TWRP. I have the latest version of odin and TWRP. FRP LOCK OFF - OEM LOCK OFF - QUALCOMM SECUREBOOT ENABLE - INSURANCE DOWNLOAD ENABLE. Active odin and run everything well. I press Vol + Bixby and Power and the main screen appears saying any key to shotdown - set the recovery bit of guarantee and an open padlock that says custom. But he will not let me enter a TWRP
[Samsung Galaxy S9 & S9+ Cross Device Development] muhammadshais:
Your bootloader is locked u can't flash this on snapdragon
[Samsung Galaxy S9 & S9+ Cross Device Development] force70:
Likely a HK variant, they arent locked.

No one is that clueless to try this on a USA or Canada version lol.

Hes just in the wrong thread, one would think the "Exynos" in the title or the red text in the OP would make that obvious though lol

sent from my Exynos S9 plus, Pixel 2 XL or Note FE
[Samsung Galaxy S9 & S9+ Cross Device Development] GreyFox777:
Guys, im gonna to buy S9+, please tell me what exactly steps are to do for not triggering pre-normal mode?

And what exactly to do after i enable the OEM unlock? Device asks for formatting all data? Does it happend immideately or at the next boot?

What is meaned by BUT DO NOT LET IT COMPLETE THE WHOLE RESET PROCESS. ?

How do i prevent it from being completed? Force disable the device, by holding three buttons to enter download mode, right after im unabling OEM unlock?!
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
It will say it going to perform factory reset when it starts boot press download buttons instead to go into download mode to flash twrp with Odin.
[Samsung Galaxy S9 & S9+ Cross Device Development] CloudOneX:
When i flash twrp via odin, twrp os not able to mount all folders (/system, /data, and so on)

What can i do?
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
What device you have?
[Samsung Galaxy S9 & S9+ Cross Device Development] CloudOneX:
Samsung Galaxy S9+ SM-G965F.

Had xposed and magisk installed. I uninstall xposed because of Snapchat.

Then Xopsed AND Magisk was uninstalled...

So Bootloader is open, but not ticked (blue, right)

I flashed stock Rom G965FXXU1ARD6, because i reseted my phone.

Since Xposed and magisk are uninstall i can't flash anything via twrp (so i was hopefully that after reset works....) (I was trying to restore a Backup of system, too. Doesn't work).

So after flash stock rom i installed twrp, but then it shows can't mount /system, /data, and all other...

So now i am not able to root my phone. But i think, there have to be a way out!

I hope you can help me..
[Samsung Galaxy S9 & S9+ Cross Device Development] force70:
You likely forgot to format data, twrp cant read sammy encryption.

You already did the whole process once so this should have been easy for you?

sent from my Exynos S9 plus, Pixel 2 XL or Note FE
[Samsung Galaxy S9 & S9+ Cross Device Development] CloudOneX:
Sorry, but i don't know the progress to format data.. i never had such a problem yet...

I had 4 phones before, and at all devices, i had some soft bricks.. but never a twrp problem..
[Samsung Galaxy S9 & S9+ Cross Device Development] wegiwegi:
You install twrp, go wipe>format data>type yes

when it is done, boot into recovery, get back on twrp menu and install the files you need in order to root etc, you have the steps at the beginning of this thread when you have done all that is when you boot to system
[Samsung Galaxy S9 & S9+ Cross Device Development] CloudOneX:
When i install magisk via twrp, i have a soft brick. Phone is in bootloop...
[Samsung Galaxy S9 & S9+ Cross Device Development] CloudOneX:
I got it!!!! I just forgot to flash "no-verity-encrypt-samsung-1.0.zip" file after flsah twrp..
[Samsung Galaxy S9 & S9+ Cross Device Development] jack allen:
I keep gettin error 1 when i install certain zip files and also every now and again when i reboot it will tell me no os is installed and then i follow the steps again of twrp and the format and no verity etc
[Samsung Galaxy S9 & S9+ Cross Device Development] Zwulf:
Could you please upload it elsewhere? "Error 502: Bad gateway" for this link, no chance to download it. Thank you in advance!
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
Delete
[Samsung Galaxy S9 & S9+ Cross Device Development] Braunbär_1:
Hi, I activated encryption with my S9 running lineage. TWRP 3.2.1-2 asks at startup for password to decrypt /data - good.

But if I enter the correct password (checked and tried several times!) TWRP prints "Password failed, please try again!"

Now I cannot use backup/restore functions anymore.
[Samsung Galaxy S9 & S9+ Cross Device Development] leomd333:
Hello, just picked up my S9 and haven't been on here in a few years! Can you back up the stock ROM and data before wiping to disable encryption? Cheers
[Samsung Galaxy S9 & S9+ Cross Device Development] Braunbär_1:
As there was no reply to my post: Is the bug understood? Will it be fixed?

Here is the TWRP recovery.log:

I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Is encrypted, do decrypt page first
I:Switching packages (TWRP)
I:Set page: 'decrypt'
I:Set page: 'trydecrypt'
I:operation_start: 'Decrypt'
crypt_ftr->fs_size = 111337440
Using scrypt with keymaster for cryptfs KDF
could not find any keystore module
Failed to init keymaster
Signing failed
kdf failed
failure decrypting master key
Failed to decrypt master key
crypt_ftr->fs_size = 111337440
Using scrypt with keymaster for cryptfs KDF
could not find any keystore module
Failed to init keymaster
Signing failed
kdf failed
failure decrypting master key
Failed to decrypt master key
Failed to decrypt data.
I:Set page: 'decrypt'
I:operation_end - status=1

BTW, I figured that I can make Backups to the SD-Card, but I cannot backup the - still encrypted - /data partition.
[Samsung Galaxy S9 & S9+ Cross Device Development] force70:
Its not really a bug per se, twrp has never been able to read samsung encryption unfortunately. This is well known so Im not sure why you would encrypt and not expect to have issues?

I mean when you first flash twrp part of the instructions is to format data (decrypt) to allow it to read the internal storage.

sent from my Exynos S9 plus, Pixel 2 XL or Note FE
[Samsung Galaxy S9 & S9+ Cross Device Development] Android_Raj:
Good Evening,

I'm a newbie here. I have S9+ sm-g965u1 (USA version unlock) can i root the phone, if yes need help. Thanks.
[Samsung Galaxy S9 & S9+ Cross Device Development] rsktkr1:
Doubt if you will be able to root that device since it Snapdragon processor.
[Samsung Galaxy S9 & S9+ Cross Device Development] force70:
100% no that device has a locked bootloader and root is not available for it. You should have researched before buying it if you wanted an S9 which is rootable.

Now... going forward so you dont get flamed for stuff like this the most important thing to remember when your a n00b:

1) Always read the OP, the answer to your question is actually stated there in this case

2)Please use the search button or google before asking a question!

The answer to your question is very well known here and the information is readily available. Plus this is an exynos thread not snapdragon so your not even in the right thread!

sent from my Exynos S9 plus, Pixel 2 XL or Note FE
[Samsung Galaxy S9 & S9+ Cross Device Development] Braunbär_1:
Hi force70,

Yes, that is well known, even to me. BUT I wrote that I encrypted with LineageOS, and here is an excerpt of the well known Changelog of twrp-3.2.1-2:

Thus it should work, but it does not!
[Samsung Galaxy S9 & S9+ Cross Device Development] force70:
I havent seen anyone with it working yet honestly. Doesnt mean it wont but just seems unlikely at this point

sent from my Exynos S9 plus, Pixel 2 XL or Note FE
[Samsung Galaxy S9 & S9+ Cross Device Development] dejong12:
I'm going back to stock firmware in order to see if my call issue is fixed. Will I need to take any measures before flashing TWRP again? I've never been in the 7 day jail and I'd like to keep it that way.