yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] xK31THx:
Thanks for the excellent instructions. I believe I followed them exactly as written. The only small deviation was that after I flashed the new TWRP, my phone rebooted (I had forgotten to uncheck reboot, oops), and before I could get the correct buttons pushed down, I saw the screen say "updating system" or something like that. I went ahead and followed through with the instructions as written, but got another boot loop after flashing Magisk 16.

So...I'm going to flash again, this time without letting my phone even breathe before booting into recovery. I'll post my results once it's done.

Thanks again for the additional info and new TWRP!! My failed to mount /vendor error is gone. I'd try that experimental kernel, but don't think I could live without wifi.

UPDATE: I got another boot loop after flashing Magisk 16 in TWRP. Could it be a bad version? Any suggestions/recommendations?

2nd Update: After following the complete list of instructions, my phone got a boot loop, so I rebooted to TWRP and flashed the experimental kernel, and it booted (no wifi). After briefly setting up the OS, I rebooted to TWRP and flashed Magisk, and rebooted. Now my phone is rooted (still no wifi). But at least my phone is rooted, and that was my main goal. Any thoughts on how to get wifi working?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] travis82:
Wifi could be broken because props need to be set. IE: ro.securestorage.support=false Kernel has wifi built in but I am not sure what props need to be set to get it going. Encryption needs to be disabled in fstab.qcom and that is located on the vendor partition. default.prop is symlinkd to system/etc prop.default.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] desudecchi:
We are currently trying to fix Wi-Fi within the kernel. Right now either we fix Wi-Fi and break NFC or the opposite happens. As soon we get something going I'll be posting new revisions here.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Teracotta:
What is this encryption problem? I thought Samsung devices didn't have encryption?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] trivita:
encryption is on the partition. enforced/proposed by android standard. not some specific oem.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] xK31THx:
Is there any chance you could make available a kernel with working wifi (I don't need NFC) in the meantime? I know you are probably very busy, and I completely understand if it's not a priority. Just thought I'd ask. As it is, I'm OK with using my S7 Edge as my daily driver. :)
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] ru_dimka:
What about regular S9? Thank you
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] victorbayas:
The firmware is now available on Sammobile https://www.sammobile.com/firmwares/SM-G9650/
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] sake2000:
Tks a lot for building it !But I still have problem during using it such as it cannot actually wipe anything and read files in my phone,and I cannot open my s9 plus if I install this twrp.My phone is a China version s9plus and I wonder if any one have same problem as I do.Tks again for building it!
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] desudecchi:
You need to flash the custom kernel I linked a few messages back (broken wifi) to be able to see the information stored in the data partition or you can keep your current kernel and just use a microsd card for your zips and images until we get wifi working in the custom kernel.

We are currently trying to fix that issue as fast as possible within the kernel. We are also testing a custom ROM based on stock and almost everything works except ADB excluding minor bugs such as wifi not working with hotel wifi due to it requiring the device to sign in (sign in is not working correctly). I'll be uploading some new files soon for you guys to try.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] sake2000:
I wonder that when will you put this twrp at the rom and rec area LOL.And there's an embarrassed question that I cannot found the link of the kernel by my poor English and I really need to get my phone root so could you just post the link and the way to use it down here lol.I really appreciated that and thank you so much...
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] orrorin:
Can the TWRP in the OP be flashed on the regular S9, the G9600 model?

EDIT: welp, rebooted after OEM unlock and now I'm RMM Status: Prenormal again. Extremely frustrating. Was going to test on the G9600 anyway, but apparently not.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] bertosoft:
The ROM works without the Kernel?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
eagerly waiting

Arg: I too made the mistake of rebooting after i waited 7 days to get the OEM unlock. My device was off for most of that time so I maybe got lucky but didnt read all the fine print. So may want to add that to the front post in bold.

Wish: So in 7 days I pray there is a wifi fix, I actually never use NFC so I would put that at the bottom of the list or offer the kernel with wifi working like another guy asked.

Question1: Anybody have any luck with using this on Verizon? If I set it to WCDMA/GSM I get voice and 3g CDMA data ok but no LTE data.

Question2: With root are you stuck with 80% battery? Did you use super su v2.82 SR5?

Thanks again!

---------- Post added at 12:54 PM ---------- Previous post was at 12:37 PM ----------

How do you flash super su without twrp? The stock recovery? Did you also flash the dm-verity and force encryption disabler ?

Thanks
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Sebastiansm:
1. Well, I don't think Verizon has coverage where this model is sold officially, maybe just Puerto Rico. I attached a screenshot with all the frequencies this model accepts.

2. No, this is not the same as the US variants with their samfail

3. I don't know of any other working method than twrp. You need to flash those if you install twrp but you keep the original room so system can boot without any kind of problem.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
Maybe we could sideload supersu with ADP? JK, I guess you still need twrp to do this. On the plus side I am now getting LTE and LTE+ data on Verizon. Stoked!!

https://www.theandroidsoul.com/adb-sideload-supersu-zip-twrp-recovery/amp/
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] boonthongw@gmail.com:
can anybody provide boot.img extracting from arcc firmware please?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Sebastiansm:
You still need twrp, yes. And I don't know if adb has been fixed in the lastest build.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] travis82:
https://github.com/travismills82/G9650_kernel_ramdisk
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] boonthongw@gmail.com:
hi Travis, I have problem with my s9plus 256gb. I turned on oem unlock and it asked me to delete all after the rebooting, the oem unlock is still turn off and if I turn it on again it will keep asking me to delete all data again and again. secondly the twrp after flashing is very slow while touching I need to wait a few second to continue. third, when I format data and reboot to system then I log in gapp and Sam account then reboot to recovery I found that the storage partition capacity is back to zero which mean I have to format data again. If I do so it mean I have to repeat my process on and on. please suggest me how to fix these problems. Thanks
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] travis82:
Did you read the red bold text on the first page? It seems you have done none of this. I do not have the device so I can not test twrp personally and with that I can not fix touch delay.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] desudecchi:
You have to flash the custom kernel to be able to read the data partition, but in exchange you lose wifi. TWRP will be slow for some time. If you just want root: transfer magisk (works best with stock) to an ext ad card and flash it via TWRP.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomleungyuethei:
Did you mean that if I just want to root my G9650 stock, I just need to flash TWRP first and then flash magisk.zip using TWRP, then my G9650 would be root successfully?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] desudecchi:
Yes, that's correct. If after flashing you don't get the magisk app or inside the magisk app it shows you don't have root, just flash again and should be good.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomleungyuethei:
Is this root method support all Galaxy S9+ varient? Actually I am using HongKong version GalaxyS9+ SM-G9650.

---------- Post added at 04:21 PM ---------- Previous post was at 04:17 PM ----------

Is the wifi problem still not solvable? I am currently considering to buy SM-G9650 Galaxy S9+ HK version.

If there is a root method existed, I definitly gonna buy it to use because I really need root on it.

And hopefully it would be a perfect root and I would really happy about it.

Thank you!
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] desudecchi:
I have the same device and it works without an issue. Wifi is broken in the custom kernel, but the rom should have all connections working except stuff like adb and whatever bug it may have.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Marsh10:
Is it possible to flash g9650 on the g965U?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
So to be clear if I just want root I don't need to flash the kernel in the OP? Just Twrp then magisk?

Do I still need to flash the no verity script if I'm staying with the stock kernel/ROM?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] desudecchi:
For root only: flash TWRP, then the magisk zip and enjoy . The kernel is for making TWRP read the data partition. The same with the ROM.

Edit 2: The no verity zip is not necessary.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomleungyuethei:
I saw busybox and rootzip in your Rom provided in the "Rom Download" link. Does it mean that I can flash the rom directly via TWRP and it would get root directly?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] orrorin:
Alright, my G9600 is ready to rock on the RMM / OEM Unlock front. If there's a test build for the non plus model, I'm happy to test
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
So I did everything right flashing TWRP I believe using these instructions but without wiping Data using Magisk 16.0.

https://xdaforums.com/galaxy-s9/samsung-galaxy-s9--s9-cross-device-development/twrp-exynos-t3763464

But I got bootloops with a "Set Warrant Bit: Kernel" Message. So I wiped Data and tried flashing Magisk 16.0 again ... bootloops. Uninstalled Magisk 16.0 and tried the modded 16.3 given in the forum above ... still bootloops.

I made a backup of everything that I could before I started, may try that next ... didnt want to use the kernel that didnt have wifi unless I have no choice.

Now tempted to flash one of the no verity no encrypt.zips but I have 3 of them with all drastically different sizes . Anyone know which one of these I should flash?

1 is 421KB no-verity-no-encrypt.zip

1 is 836KB no-verity-opt-encrypt-6.0-star.zip

1 is 258KB no-verity-opt-encrypt-samsung-1.0.zip

I tried the 421kb version and it didn't help. So I flashed the kernel and wallah, I had a working system again. But restarting the phone I got a message in Spanish saying something like my phones not official and I need to format data like after checking OEM lock and rebooting. I didnt click OK and got myself back in TWRP and flashed the OPs ROM, I couldnt see the Data partition again but managed to format it. Booted up and I got to the setup screen and IT CONNECTED TO WIFI!! At the next step it started checking for updates and then the phone froze with a semi Black screen that wouldn't let me do anything. I rebooted phone and it was on a blue screen saying your phone is loaded with unauthorized firmware and then I went into download mode and my RMM status was Prenormal again!

I didnt re-flash the OPs kernel after flashing his ROM to see what was up with that kernel so maybe thats why I had wifi. It looks like I made the mistake assumed they would be the same.

I wonder if I should start from scratch and Odin with the China CHC version? I think thats what people are generally using to develop on ...

Cause I am running the "IUS" branded version G9650ZHU1ARBG version (maybe not, see below) which looks like it may not line up partition withe the CSC version? But after flashing the OP's kernel my baseband says G9650ZCU1ARBG so I got a mix and match.

Is the TWRP listed in the OP the one I should be using, someone posted an identically named version that is quite different doing a hex diff. Does anyone know which version I should be using?

twrp-3.2.1-0-star2qltechn.img.tar

Arg, for a second there I thought this may be easy.

Edit. So this new IUS firmware looks slightly different than my previous build, like in this new version I get 4g LTE in the network indicator where before I would get lte and lte+. So I maybe started with a different latin America based CSC...
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
safe to flash

Is it "safe" to flash any CSC brand for the SM-G9650? Is there some partition differences that require the reparation option in Odin?

I spent a good hour fighting with ODIN 3.13.1 to restore my phone. It seemed to freeze while flashing the AP section on the vendor.img. I tried the IUS, TPA, and CHC versions all with the same problem.

I finally got the IUS version all flashed by doing the BL section by itself and then do the CP and CSC sections by themselves, and only then flashing the AP section would complete. I had the re-partition tick box checked during a couple failed attempts but when that was checked it seemed to not be able to initialize the data transfer and froze immediately, but maybe it still did something??
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Tomleungyuethei:
I'm Sorry. Does anyone can give some information for us hat how to do if I want to root my G9650 Stock base on this thread?

I see a ROM, a kernel, TWRP...

I just need to flash TWRP via Odin and use TWRP to flash the kernel or the Rom and then my G9650 device would be rooted?

Thank you!

---------- Post added at 11:47 AM ---------- Previous post was at 11:31 AM ----------

Besides, this TWRP provided here is for 9810 or 845 to use? I cannot find proper TWRP for G9650 in TWRP official website.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] croat.hvar:
Would this work on G965U model?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Sebastiansm:
Maybe, just be careful if the country's csc has more capacities than the 64 GB. There are regions where there are 128 or even 264

There isn't an official twrp for this model

No
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] desudecchi:
This is the magisk zip that I used without an issue. https://drive.google.com/open?id=1LSjwY7h2cxQs1UBROUdjDEqpqe19eNmW

Try it and let me know if it gives you issues (it shouldn't, but there's a first for everything).
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Teracotta:
Someone correct me if I'm wrong, but I don't see the problem flashing a SM-G965U csc over the SM-G9560 since all US models are 64 GB...you would only run into problems flashing a CSC from a region with a larger partition size to a smaller one.

Best route for Americans to take (experiment): flash X-TWRP, install Magisk, flash stock recovery, flash US CSC.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
Spent all last night going through various CSC versions for my Straight Talk Verizon CDMA based LTE SIM, cause I dont want it too easy?? Im on the 64GB version of the SM-9650 orginally from Mexico or maybe Peru?

1) Mexico/Peru? AP_G9650? Got voice and LTE after fighting with APN settings, broke it when trying trying to flash TWRP and Magisk.

2) IUS-Mexico: AP_G9650ZHU1ARBG_CL13087568_QB17085381_REV01 / CSC_OMC_OWC_G9650OWC1ARBG - Installed and I got voice and LTE fairly easily. This was a good build but thought Id shoot the moon and try and get VoLTE with a different build. This is where I went down the rabbit hole. I could not go back to this build after flashing the China below, was getting a frozen Android updating window.

3) CHC-China: AP_G9650ZCU2ARC6_CL13087568_QB17462467_REV01 / CSC_OMC_CHC_G9650CHC2ARC6 - Installed but no google apps and no Network. Strange network settings that I attempted to set but no luck. Think this one had a newer bootloader so I couldnt downgrade.

4) CHO-Chile : AP_G9650ZHU2ARD3_CL13087568_QB17805964_REV01 / CSC_OMC_OWO_G9650OWO2ARC6 - Installed, no Network.

5) TPA-Panama: AP_G9650ZHU2ARD3_CL13087568_QB17805964_REV01 / CSC_OMC_OWO_G9650OWO2ARC6 - Installed got voice and LTE easily. AND VoLTE!!! Going to hang out on this for a while and see if I can stop myself from trying to TWRP and Magisk after a week. Prob wont be able to.

For all of these flashing attempts I was having a lot of difficulty with ODIN 3.13.1. I found I had the best luck if I

1) Flashed the BL first and before right before it rebooted I held the power - vol down - bixby buttons to go right back into Download mode

2) flash the CP and CSC at the same time and again after it reboots go straight into Download mode

3) flash the AP and then let it do its reboot.

Ran into many corrupted partitions and return your phone to samsung to get repaired messages but managed to flash my way out of those dark corners.

---------- Post added at 08:50 AM ---------- Previous post was at 08:38 AM ----------

Thanks! What TWRP did you use? The OP's TWRP, or another? There is anonther in the middle of this thread that says the OPs is older and has the same filename os the one in the OP but its not the same doing a diff.

DId you follow all the TWRP steps like formatting Data and flashing a no verity zip? Or did you just flash TWRP in Odin and then Magisk through TWRP?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] desudecchi:
Get the one in the OP, that one is now the latest. Formatting data is not required, but I always did it. No need to flash no verity zip. From stock rom: put the phone into Odin mode and flash TWRP. Then flash magisk through TWRP (try the one I linked).
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
Thanks, will try after my 7 day purgatory.

Have you tried to power cycle your phone after this to make sure you wont hit the verity wall?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Amd4life:
For US T Mobile, is this "O" model the best version to purchase for root access? How is the data/call strength vs the G965F or G965N? I think I'd rather have the snapdragon this go round vs the exynos. I just want to make sure it will work in the US on T-Mobile
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] VICosPhi:
I think it'll work fine with t-mobile US but band 71 won't work unless someone finds a way to flash the modem for G965U1 to this G9650 and then test to see if this band is available on the modem hardware
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Pandacamarena:
Ayuda, help

Donde puedo conseguir el combination rom de este modelo g9650ZHU2ARC6 para un frp?

Where i can get the combination rom of g9650ZHU2ARC6 for an frp?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Amd4life:
There are a few sellers on Amazon with this model listed (64 gb and 128gb). Are these the same version as the HK, that CAN be rooted?

Sorry for all the questions, I just want to make sure I am ordering the correct model.

Also what stock region firmware (from sammobile) do I need to start with as a base for use in USA, TMobile.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] VICosPhi:
Yeah make sure the listing says G9650 dual SIM. This model only has two firmware, open China which is one without Google and HK one which is what you'd want to run. Wifi calling, VOLTE etc. won't work on this model unless someone finds a way to flash US CSC onto this model.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Amd4life:
Appreciate the help!!!
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Teracotta:
Does AT&T Mexico use SM-G9650, or the SM-G965U?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Sebastiansm:
The SM-G9650 is used in Mexico with all the carriers and maybe all of Latin America too
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Teracotta:
We should try to get the firmware from AT&T Mexico, then, for use with the US-based CSCs. AT&T Mexico CSC should be very similar to AT&T US, but that firmware isn't available on sites like sammobile since AT&T doesn't release firmware publicly. While it might not have Band 71, it should have 2/4/12/14/66.

Someone who purchased a SM-G9650 from AT&T Mexico needs to copy the firmware for us.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Sebastiansm:
Yeah, that's maybe the best compatible CSC for you.

However, the firmware it's on sammobile actually: https://www.sammobile.com/firmwares/SM-G9650/IUS/

Maybe that's how AT&T operates on the US only, here, AT&T releases all their firmwares, S7, S8, S9, etc.

It might be better to download it with samfirm.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] acabreram:
Que tal brother de casualidad sabrás que firmware es el que traen los S9 que venden a través de la página de Samsung? YEsos vienen sin bloatware.

o compre el mio en telcel y odio el bootanimatiom y todo el bloatware.

Hi brother do you know wich firmware coming with S9 selling throug samsung Store? Those coming bloatware free.

I bought in telcel and hate the bootanimation and bloatware
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Teracotta:
I just got this model phone but I can't flash anything. Once I try to flash the BL it bootloops. Original PDA was G9650ZHU2ARC6.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Sebastiansm:
No, desafortunadamente no lo sé. He estado buscando información al respecto pero no he encontrado mucho. Hubo alguien aquí que lo tenía así, pero no recuerdo haber visto la información de su firmware.

Unfortunately not, I've been trying to get information but no luck. There was someone here who had it that way, but I don't remember knowing his firmware information
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] jah2110:
Lets try :). Thx
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] desudecchi:
Magisk will modify the boot img and should let TWRP stay without it being overwritten by Samsung's security.

---------- Post added at 02:47 PM ---------- Previous post was at 02:43 PM ----------

If you have the non-American Snapdragon model (SM-G9650/1/8), then it will work.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] acabreram:
SM-G9650ZKLMXO este código aparece en la página de Samsung mexico lo busque con el programa con el puro código MXO y si me aparecio de hecho ya lo instale y no tiene nada de bloatware al parecer es una rom libre.

SM-G9650ZKLMXO this code appears on the page of Samsung mexico look for it with the program with the pure code MXO and if I appeared in fact already install it and has nothing bloatware apparently is a free rom.

---------- Post added at 02:26 PM ---------- Previous post was at 02:25 PM ----------

SM-G9650ZKLMXO este código aparece en la página de Samsung mexico lo busque con el programa con el puro código MXO y si me aparecio de hecho ya lo instale y no tiene nada de bloatware al parecer es una rom libre.

SM-G9650ZKLMXO this code appears on the page of Samsung mexico look for it with the program with the pure code MXO and if I appeared in fact already install it and has nothing bloatware apparently is a free rom.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Sebastiansm:
¿En verdad? Como no se me ocurrió, así de fácil. Un favor ¿tienes alguna forma de comprobar si VoLTE sirve?

Do you know if VoLTE works?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Teracotta:
I wasn't aware of the new compression. Phone is working but we need a B2 capable CSC for IUS.