yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Kimbaroth:
I've been following this thread almost since day 1, I just got my S9+ (SM-G9650) from Movistar, México.

I'm running the ZTO firmware (unbranded firm from Brazil) and I already finished the "OEM unlock" process (Dev Options > OEM unlock (restarted and factory reseted the phone after that).

So yeah, my phone is finally OEM unlocked (it took like 2 weeks in order for that option to be available on my phone).

Now I'm willing to make the next step, but I'm kinda confused, so I'll try to simplify my questions.

Acorrding to travis82, the correct steps in order to root this phone are the following ones: :

When I borrowed the phone I did this.

1. Crom apk flashed launched unlocked.

Install: CROM: https://www.androidfilehost.com/?fid=818070582850505818 and run it to unlock phone.

2. Dev options oem unlock.

Already did that.

3. flashed twrp.

Thru latest odin, right??? In which slot shall I flash TWRP??? TWRP Download: https://www.androidfilehost.com/?fid=818222786056035996 (upated June,11th,2018) Everything should be working in TWRP now.

4. rebooted in to twrp and formated data to remove encryption and factory reset in twrp.

Thats inside TWRP, so no issues there.

5. installed rom.

You mean the rom from the 1st link, right???: G9650ZHU2ARE6 Rom Download: https://drive.google.com/open?id=1jn...tkTGuMUhhVdT_2 (upated June,6th,2018)

6. if magisk is not flashed with rom flashed magisk.

If the above option fails, just dirty flash magisk over that build?​

So that's it??? I don't need to flash anything else??? WiFi will work without any issues if I follow those steps???

To be honest, I don't care about losing wty, I just want my device to be rooted.

Thank you!!!
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
The new TWRP is way faster, but I had to make sure the USB cable was disconnected otherwise the phone would constantly reboot back into recovery like every 15 seconds.

Tried flashing the new ROM in the OP and am getting an

Updater process ended with ERROR: 6

Error installing zip file ' /eternal_sd/download/TravisRoms/G9650ZHU2ARE6_TGY_new/zip'

Updating Partition details ...

...done

I have formatted data, flashed the Travis Kernel, and tried factory resetting with the same message. I am coming from the Panama build with no luck.

Download mode says I am not in RMM prenormal so thats good!

I verified that I could open the zip file in windows, and re-copied the file to my sd card to make sure I didnt have a bad copy and that didnt help either.

Will maybe let phone try to boot after a few more fails and pray.

I had also installed the new Combination Rom which did not look like what I had hoped it would be, as in a full working ROM, oh well.

---------- Post added at 11:45 AM ---------- Previous post was at 11:22 AM ----------

I tried to restore an old backup and got while Restoring the EFS partition I get this

Restoring efsg...

Error opening '/dev/block/sdd3' (Read-only file system)

---------- Post added at 12:23 PM ---------- Previous post was at 11:45 AM ----------

But after manually restoring the partitions after the failed EFS like vendor config it appears to have restored my old Panama build with a working CDMA voice and LTE+ connection to Verizon using my old recovery image!!!

I am currently using the Travis Kernel so I dont have WIFI but I think its safe to flash my old kernel now that I have verity hopefully removed!!

It looks like some of the old Vendor configs or something is needed to get my phone back on the Verizon Network. It even says Verizon when I view the menu swiping down from the top.

THAT WAS A BAD IDEA!!! After restoring my old boot image it looks like I was hosed yet again as it sent me to the bootloader with a your phone is locked and send to samsung to repair or whatever and got back into TWRP and flashed the Travis kernel again and I got back into the system still with no WIFI. So now how to get a kernel with wifi that doesnt make my phone want to not go straight to download mode. Root would be nice as well.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] gergonorama:
Tene en cuenta que trae una nueva opcion esta nueva version de odin

Keep in mind that brings a new option this new version of odin
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] gergonorama:
Keep in mind that brings a new option this new version of odin
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] hmguerrero:
Muchas gracias [MENTION=2410240]gergonorama[/MENTION] y [MENTION=5866958]Monigote97[/MENTION] ya lo pude flashear aunque igual viene con toda la basura de Telcel, he estado buscando y al parecer aún no hay un firmware que venga limpio, sin bloatware. Espero que pronto se pueda conseguir.

Gracias nuevamente.

Saludos!!

Thank you very much [MENTION=2410240]gergonorama[/MENTION] and @ Monigote97 I could already flash it even though it comes with all the trash of Telcel, I've been looking and apparently there is still no firmware that comes clean, no bloatware. I hope it can be achieved soon.

Thanks again.

Regards!!

---------- Post added at 06:21 PM ---------- Previous post was at 06:19 PM ----------

¿Y sabes para que sirve esa nueva opción? :confused:

And do you know what this new option is for?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] gergonorama:
descargue un firmware del modelo 965U y viene para poner en esa opcion, no se para que sirve, pero es segun el modelo, no inten5es hacerlo con otro modelo que no sea el nuestro porque no carga el firm.

download a firmware of model 965U and come to put in that option, I do not know what it is for, but it is according to the model, do not try to do it with another model that is not ours because it does not load the firm.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] hmguerrero:
Parece que el 965U y el 9650 son prácticamente los mismos teléfonos, ¿tu ya le pusiste el firm del 965U al 9650 y funcionó bien? Yo creo que es lo que voy a intentar a ver si no arruino el teléfono! :D

Saludos!!

It seems that the 965U and 9650 are practically the same phones, did you already put the 965U firmware to 9650 and worked well? I think that is what I will try to see if I do not ruin the phone! : D

Regards!!
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] gergonorama:
Hazme saber como te fue :good:

Let me know how it went
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] hmguerrero:
Qué tal, pues he probado varios firmwares, al final no me he animado a probar el firmware del modelo 965U, pero en lugar de eso use el SamFirm para buscar roms de otros paises para nuestro modelo GM-9650 y encontré uno de chile, que viene limpio, sin bloatware ni customizaciones de ninguna operadora, les dejo el código que use para descargarlo en una imagen adjunta.

Espero les sirva a aquellos que les molesta que después de pagar tanto dinero por algo las operadoras metan basura a sus teléfonos.

Saludos!!:good::)

Hello, I've tried several firmwares, in the end I have not been encouraged to try the firmware of the model 965U, but instead use the SamFirm to find roms from other countries for our model GM-9650 and I found one of chile, which comes clean, no bloatware or customizations of any operator, I leave the code I used to download it in an attached image.

I hope it serves those who are upset that after paying so much money for something the operators put garbage to their phones.

Regards!
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] VICosPhi:
Will you be trying G965U firmware on G9650? I am curious if it works since I want a rootable dual SIM phone with US Tmobile WiFi calling and VoLTE. If you try it then it will probably be a good idea to not flash bootloader as it is locked for G965U.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] hmguerrero:
Not anymore, I was about to do that but I had a bad feeling so I discarded the idea.

At the end I found a clean stock firmware for the GM-9650 :D

Regards!!
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Sebastiansm:
[MENTION=7557108]hmguerrero[/MENTION] Sí, viene con todo el bloatware de Telcel, yo lo tengo porque quiero tener VoLTE y la nueva red 4.5G, y eso viene en el CSC, he inhabilitado todo el bloatware con una aplicación y pareciera que nunca hubo nada de Telcel ahí

Yes, it comes with all Telcel bloatware, I have it because I want VoLTE and the new 4.5G which these features comes in the CSC. I have disabled all bloatware with an app

---------- Post added at 08:23 AM ---------- Previous post was at 08:16 AM ----------

[/COLOR [MENTION=7557108]hmguerrero[/MENTION] [MENTION=2410240]gergonorama[/MENTION] Yo tampoco probaría un firmware del U en nuestro 0, puede que sean casi idénticos, pero la gran diferecia es que el bootloader viene desbloqueado en el nuestro. Han habido muchos casos que dejan sus teléfonos inservibles por ponerle un firmware de otro modelo.

I wouldn't try it too, they may be almost identical but the main difference is the unlockable bootloader in our model. There are several cases of people bricking their phones for flashing others firmware model
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] gergonorama:
Yo le instale un firm chino y tiene grabacion de llamadas, y grabar pantalla incorporado.

I installed a Chinese firm and it has call recording, and record built-in screen.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Sebastiansm:
I don't think it would work, as far as I know, the bootloader must be unlocked in order to flash a custom recovery and be able to root it afterwards. So the bootloader will not be unlocked just by trying to flash another unlocked model firmware. By flashing an U firmware in a 0 model or vice versa, the most probably thing is you will brick your phone

---------- Post added at 08:32 AM ---------- Previous post was at 08:28 AM ----------

Esas son funciones que le podríamos agregar a cualquier firmware si tuviésemos root :/

We could have those things if we had root
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] gergonorama:
Exactamente, este firm lo trae ya incorporado sin ser root.

Exactly, this firm brings it already incorporated without being root.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Sebastiansm:
¿Cuál descargaste? Supongo que la pudiste poner en español ?

Which one you downloaded?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] hmguerrero:
Cuál App usas para eso?

Which app you use?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] gergonorama:
Se utiliza el programa SAMFIRM y en Region poner CHC (china), se puede poner en cualquier idioma, trae incorporado programas chinos se pueden desinstalar, no trae google play pero lo podes bajar de la pagina de apk mirror.

The program is used SAMFIRM and in the Region to put CHC (China), can be put in any language, brings incorporating Chinese programs can be uninstalled, does not bring Google Play but you can download the APK page mirror.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] gergonorama:
Dejo la captura completa

I leave the full capture
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] hmguerrero:
:confused: ¿Y no es posible, digamos, usar el firmware que viene limpio de una región y usar el CSC de la rom de Telcel para tener la opción de VoLTE?

Gracias y saludos!!

Is it not possible, say, to use the firmware that comes clean of a region and to use the CSC of Telcel to have the option of VoLTE?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] Sebastiansm:
Podría ser si tuviéramos root, verás, dentro del CSC.tar.md5 viene el documento que habilita el VoLTE pero en ese mismo también vienen todas esas aplicaciones de Telcel. Entonces no importa sin en AP pones el firmware libre de Chile y en CSC pones el de Telcel, porque lo que hace que se nos instale todo lo del Telcel es el CSC y no el AP (system), ni el BL (bootloader) o el CP (modem).

Could be the case if we were able to root, inside the CSC comes the file which enables VoLTE, but also has all of Tell else bloatware with it. So it would not matter if you put the free Chile firmware in the AP slot because all bloatware comes from the CSC.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] hmguerrero:
Entiendo, ignoraba esa parte. Muchas gracias por la explicación!!

Oye entonces cuál app usaste para eliminar todo el bloatware de telcel?

Gracias nuevamente saludos!!

I understand, I did not know that part. Thanks so much for the explanation!!

Then what app did you use to remove all the telcel bloatware?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] travis82:
Error 6 is an install script error. I will have to check it out when I can find time. I need to check partitions with Tomato Lei but efs "should" be correct. In the mean time here is another kernel to test.

I did add a wifi fix to point to the correct location maybe it will work out better. Also in adb shell with root privileges can you please run this command "ls -l /dev/block/bootdevice/by-name/"

You can always flash twrp than magisk and be rooted on stock also.

Kernel 1.2 uploaded try this one here: https://drive.google.com/open?id=1g_llDC2yGFlCgS5JaiS80puyAAtI47tO

Make sure to flash magisk after kernel flash
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
Thanks for this attempt. Tried the new 1.1 kernel and phone bootlooped. Wiped cache and dalvik w no luck. Flashed 1.0 and i booted again.

When I tried to recover my old kernel the phone went into the emergency download mode or whatever.

I am getting a dummy0 wifi device in place of a wlan0 device. Some kind of driver issue it looks like.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
Wifi works!!!!!!!!!!!

WIFI success on 1.2!!!! :good: I flashed new 1.2 kernel without wiping cache and without flashing magsik because i dont want root quite yet to make sure I first install the apps like snapchat that have safetynet like checks. Not sure how good the magisk su hide is at this point also not sure what version of magisk I should flash since Ive had bad luck with both, although I wasnt using your kernel.

Should I use magsik 16 or 16.4 beta?

Should I reflash your kernel and then try to flash magisk?

Thanks again for getting wifi going!! Wish I installed magisk already because the twrp/kernel is enough for safteynet to flag it.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
I went for broke and flashed the latest Magisk Beta: v16.4 (code: 1642) after reflashing your 1.2 kernel and holy fu*king sh*t, I have root and wifi and cdma voice and LTE data!!! And with magisk hide I sucessfully hid snapchat and pokemon and both are working. Freaking amazing. Your kernel appears to be the key to success on this device. I am stoked, thanks again!

Attaching that list of stuff from the command "ls -l /dev/block/bootdevice/by-name/"
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] travis82:
Updated main thread with new kernel. Glad its all going good now. I'll try to fix up rom so it installs on all G9650 models this week if I get time.

May I suggest you try the GSI Images and see how AOSP works?

Regards,

Travis82
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
I think I am going to try and enjoy having a functioning phone for a month or 2 before I feel ready risking potential badness for new cool stuff.

This model phone is not supposedly "compatible" with Verizon's network even though it is, and it appears I got lucky a couple times in the past calling their customer support and having them push some kind of network update that let my phone finally connect to their CDMA network. Glad I made a backup in TWRP because it started to look like I may not get another network push.

1 nitpick for the new 1.2 kernel is it looks like it breaks MTP, but I could set it to RNDIS (USB Ethernet) mode which allowed me to run the ADB commands.

When I connect the phone to the computer I get a long warning message "The connected device is unable to access data on this device", and sometimes I get a force close window saying "MTP application has Stopped". Everything else seems to be working so far.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] travis82:
I'd need to change usb to use samsung mtp and it should fix it. TWRP uses android mtp. I'll add it to the to do list.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
It turns out I lied, i thought I had seen cdma in the band listing but I am back up on my panama build with working cdma voice and lte+ data. And I am not seeing any cdma bands listed. So thats not the issue.

I think flashing one of the various CSCs somehow corrupted my EFS partition or one of the other carrier partitions because when I restored the twrp backup i made before I had problems I managed to restore everything except part way through the EFS restore it errored out with the message error opening /dev/block/sdd3 (read-only file system). This is the FSG partition which is involved with the modem/radio which could explain some of the issues getting cdma. So I may have restored just enough of the EFS partition to get my cdma back.

It looks like there are some tools to fix a corrupted EFS partition but it seems that could be fraught with peril if not done exactly right. It seems like the "EFS" partition represents many small sub partitions. Because my efs partition is at /dev/block/sda6. Not sure how restoring EFS in twrp would touch /dev/block/sda3.

I also forgot to mention that I had called my service operator straight talk as well as verizon a couple times, and it seemed like they sent me an OTA network update that may have been the key to ultimatly getting me cdma access in the first place?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] this.guy.lol:
Question..

Couldn't this be used on G960U/U1 models since both are SD? Their shouldn't be a difference aside from boot loader locks. I feel that is someone ported a SS/FF method root could be obtained. Should be the same method from the s8 SD variants. Idk tho, every device I ever owned untill now was root able or a Exnos model. So far I hate this us version.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] duraaraa:
I'd like to mention something. In this thread, previously, someone said it was possible to flash a boot.img with magisk on it via odin, to root without tripping knox.

I tried this, and knox was tripped, so, at least if using the most recent bootloader, it trips knox, permanently. So be careful if samsung pay is important to you!
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
Did you end up with a bootable system with root after? So just the magisk boot.img with no twrp or kernel? Did android make you do a system wipe on the following boot? Any luck getting cdma? I finally got mine and its glorious. I made the mistake of rerunning system setup with a root command to restart a fsiles app restore and it unchecked my unlocked bootloader in dev options. I thought magisk did that somehow so on the next boot my bootloader did not like having twrp so Im back in prenormal. But w cdma access at least.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] duraaraa:
I did end up with a bootable system, and I had to do a system wipe on the following boot. On the boot after that, it went to pre-normal status and I couldn't boot anymore.

I haven't tried CDMA (I don't have a CDMA sim to try right now), but I was happy to see I could get into the IMS menu and enable VoLTE for whatever sim I wanted -- I wonder why they make you have to root to do this though. It's a huge pain to lose Samsung Pay for me :(
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
So the magisk odin method only works for one boot where you had root? And on the next boot you had to re ODIN everything to get back in a bootable state?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] smactilactus:
Nice kernel. I look forward to the updates.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] duraaraa:
Right. I imagine if I leave it on for a week after the first root it should continue to work though. It's the prenormal issue.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
Interesting, i wonder if thats a better option than the twrp and kernel option? I tripped knox already and the new Travis kernel along with magisk hide seemed to work well so ill prob go that direction again after rmm goes back to normal since i know it works as long as i dont foobar it myself and unwittingly relock the bootloader.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] beachmiles:
Has anyone updated to this ARE6 version? Wondering if I should wait to get root working again and make a backup before updating. Im guessing i should.

Software update information

• Version: G9650ZHU2ARE6/G9650OWO2ARE6/G9650ZCU2ARE6
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] wamu93:
Hello guys haven't posted in a while. [MENTION=3463480]travis82[/MENTION] or (anyone that can help) I've read the whole thread so far and I am a bit confused, fellow members have posted links to files and just want to be sure I follow your first post with instructions to the letter. Are the links to your files current?( don't doubt they are just want to be sure)

Having said that I'd like to mention that I am coming from a note4 which is still on kitkat! Basically all I did was root it installed viper sound mod which I need because I am partially deaf. Hopefully you or others can chime in here, but for the time being I only want to be able to root to install an adblocker and Viper sound mod again. That's it no custom rom/kernel yet. Which steps would be ideal for what I want to achieve? Exactly what I quoted). I haven't touched odin since I rooted my note4 so there is that.

Currently this is what my s9+ (9650)shipped with in first SS and second is what is currently available for DL, should I update first to most current before trying? Don't want to lose those juicy speeds the order of steps you outline doesn't apply to me as I just want to root stock rom. Thanks in advanced!

Edit: Forgot to mention I am on Telcel, if that helps any
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] philobscur:
I‘d like to flash the rom but encountered the error 6 during installation every time. Wish it would be fixed soon.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] trivita:
yes. im on chc

magisk retained
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] gaww:
After you unlock, and if it asks to factory reset, select it but don't let it finish. Go directly to download mode and then ODIN TWRP.
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] PinG91:
Have anyone try a differend custom rom (treble or from exynos)?

what are the advantajes of this rom?

Just want to decide if i should flash and root :D
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] xFirefly93:
Don't ever attempting flashing a software/firmware built for a different SOC on a phone with one another system on a chip-configuration.

It will hardbrick your SD845 SGS9(+)..
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] PinG91:
I know it would break my phone, i wasn't talking about a straight flash :p

What about Treble based roms? any good experience?
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] partcyborg:
No, it won't. Not anymore. The s9+ has a treble compliant android version, which means that the chipset specific code is all located in /vendor which is now it's own partition. So flashing a new treble rom involves 2 things:

1) flash system

2) wipe userdata

You keep your vendor image and kernel ( did I mention treble FINALLY standardizes the HAL?!) and factory reset is needed due to potentially changing entire os.

[MENTION=4169256]PinG91[/MENTION] I tried a handful of GSI images (treble ROMs designed to work on any treble device) and they all worked except for brightness was stuck on minimal so not really usable. Waiting on seeing if I gets fixed then I'll try again.

You can find them all in the treble rom section of xda
[Samsung Galaxy S9 & S9+ (Snapdragon) ROMs, Kernels] PinG91:
Thanks for the feedback :D.

I wasn't sure of the vendor partition for A only devices.

About the room from this thread, what is different from normal stock? :confused: