yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] TeslaShock1:
Device: Samsung J4+ (SM-J415-FN)

Tried rooting my phone through the instructions posted here:

https://xdaforums.com/t/recovery-root-twrp-3-3-1-1-galaxy-j4-j415f-fn-g-ds.3876876/

I exited after finishing TWRP flash, because the file for V3 RMM bypass wouldn't flash, no matter what I did to it

Now, its stuck in a boot loop.

TWRP says that internal memory is at 0GB, and ODIN is giving me a hard time by rejecting my flash when I try to revert to stock

ODIN MODE (HIGH SPEED) PRODUCT NAME: SM-J145FN

CURRENT BINARY: Custom

FAP LOCK: OFF

OEM LOCK: OFF

KG STATUS: CHECKING

WARRANTY VOID: 0x1 (0x500)

QUALCOMM SECUREBOOT: ENABLE (CSB)

RP SWREV: S1, T1, R1, A6, P1

RP SWREB: K, 6, S 6

DID: 0056F661d4e2

SECURE DOWNLOAD: ENABLE

download mode!!!

SW REV CHECK FAIL : (aboot)Fused6 > Binary 3

I'm a noob when it comes to these things, somebody help me!
[General Questions and Answers] TeslaShock1:
Fixed by @hainguyenthao!!

Thanks man!!!!
[OnePlus 9 Pro] laurance069:
Hithere, I need a full package of Oxygen OS for oneplus9pro.

Can u help me with that?

Thx
[OnePlus 9 Pro] empty.cad:
Thank bro
[OnePlus 9 Pro] urbanrural:
So it is possible to boot this bootimage and then root OP9P with Magisk?
[OnePlus 9 Pro] Reddit3321:
Hoping we see the full zip for global soon! Just got my 9 Pro today but getting impatient to root! xD
[OnePlus 9 Pro] Fulbring:
Damn, nothing for Global yet eh...
[OnePlus 9 Pro] ecera:
You can download the EU stock boot.img that's in this thread (2nd post), download the latest magisk canary manager and patch that boot.img. Then you can temporarily gain root by rebooting to bootloader and booting that image ex. "fastboot boot boot.img"( your boot.img name will vary after patching). After the phone boots you can just go into magisk manager and do a "direct install" and that will patch your global boot.img to gain permanent root.
[OnePlus 9 Pro] Reddit3321:
Thank you so much!! This appears to work perfectly for me.

Ensure you guys patch your own boot.img, but you can use the EU boot.img linked in post #2 just fine on AA/Global/US variant.

Now to figure out how to pass CTS..
[OnePlus 9 Pro] Fulbring:
What a Chad! Will do this! I hate not having root from the get go.
[OnePlus 9 Pro] Reddit3321:
Are ya'll passing safety net? What am I missing? CTS profile doesn't pass but basic integrity does.

Would this be due to patching boot.img with the EU ROM, since I am on a global variant?

Only thing I can think of..
[OnePlus 9 Pro] ecera:
Here's a screenshot of my cts. I patched with the temp EU root as well.
[OnePlus 9 Pro] Fulbring:
Nope, working just fine for me. Make sure you have system less host enabled. Perhaps that's why.
[OnePlus 9 Pro] Reddit3321:
Weird, I just re tried the whole root process again and I’m still failing CTS. I think maybe I’ll just wait until global patched_boot.img is available until trying again as I can’t figure out what exactly I’m missing.
[OnePlus 9 Pro] Steve0007:
Go to Settings / applications / delete data cache GMS and Playstore / then reboot
[OnePlus 9 Pro] Reddit3321:
Still didn't work for me :(

I think I may just wait and try again once global is out.

Edit:

I think I figured it out. I was flashing boot.img instead of *booting* boot.img :rolleyes:

Still not working for me :( Not sure what it is I'm doing wrong at this point.
[OnePlus 9 Pro] NSD:
Apologies if this is a silly question - does it matter which software version my US phone is on or will this work regardless?
[OnePlus 9 Pro] ecera:
I'm pretty sure that you'll be fine on whichever version your OP9 pro is on. From previous experience I've learned that if there is a major gap between firmware versions that you're temporarily booting and what's installed on the phone then you might run into issues, such as phone not booting the temp boot img or it will boot, but with no wifi ect.. Good thing it's just a temporary boot.. You can still do the direct install method and you should be fine.
[OnePlus 9 Pro] NSD:
Cool thanks. Even though there's no twrp I should still be able to get back to stock through fastboot or recovery presumably should anything actually go wrong.
[OnePlus 9 Pro] ecera:
I'm thinking since you flashed the EU boot instead of booting... You're most likely still on that EU boot.img. That could be causing your issues.
[OnePlus 9 Pro] Levi4cyber:
I'm so dumb!

My computer had it as a default extension for some random program, so I missed it.....
[OnePlus 9 Pro] fromiOS2Android:
When rooting done and all is good. Now i want to relock and factory reset. Whats the prosess then? Anyone?
[OnePlus 9 Pro] fromiOS2Android:
But does msm work for EU BA units?

I read that my handset is not supported
[OnePlus 9 Pro] fromiOS2Android:
Sure, no problemo. Thanks.

I Come from Huawei with modded google so no worries about brick etc. All i want to know is that i can revet the unit for sale if i decide 2 sell it in the furture...

I am still hopping someone can put out a easy step by step guide to root this unit....

F. Ex

1. Unlock boot loader

2. Boot to fastmode

3. Blablabla.

4.

5.

I Just want to be sure of the sequence before i root so i do not **** up. I rooted Huawei mate but with twrp.

This one i have not rooted yet and no twrp yet.

Waiting for some of you guys to put out a simplified guide for us noobs...

Thanks for the help so far...
[OnePlus 9 Pro] gserp4sox:
+1 Please......
[OnePlus 9 Pro] Steve0007:
OnePlus 9 Pro Oxygen OS 11.2.4.4.LE15 AA link added
[OnePlus 9 Pro] fromiOS2Android:
No need for unlock code og unlock token when flashing and then rooting? Only toggle the oem button and flash?
[OnePlus 9 Pro] cascade128:
Here,

LE2121DA

OOS 11.2.5.5 Stock/Patched

Untouched<Decryption = TUrBeOUdwg_7gSiChDA_7jeKkYGPjrnQoelOG_h_Bmk

Magisked<Decryption = P4FZw5SbJw5xb07s_s8HxnVEFobd6We0MnxyDVK9oOk
[OnePlus 9 Pro] GreekPilot:
I just updated my phone... Safety Net pass succeeded, although in previous version it failed... Have a nice day...
[OnePlus 9 Pro] the bolt of thunder:
Are you on magisk canary?
[OnePlus 9 Pro] GreekPilot:
Yes...

During my previous update, I mistakenly unhidden magisk. After the update, I couldn't pass safety net. Now, I left magisk hidden and safety net is passed. I want to believe that this was the problem because i can't explain why with the previous rom it failed although i use the same version of canary magisk.
[OnePlus 9 Pro] fromiOS2Android:
I am now rooted and 11.2.5.5 with magisk. Kudos to @Steve0007 for updating the first post.

Workes like a charm.... Thanks.

To OTA update now i use one plus updater?
[OnePlus 9 Pro] the bolt of thunder:
Yes. You will need to download and use the full OTA.
[OnePlus 9 Pro] fromiOS2Android:
I do pass safety net and cts profil ok. But play store says not certified under settings? How to fix?
[OnePlus 9 Pro] vibrantliker:
I think I know the answer (did it before) but just want to confirm, If I'm on 11.2.4.4.LE15 AA (I have the US global phone) and I want to switch over to the more updated 11.2.5.5, do I boot the patched boot.img after I install the firmware from local storage or before?
[OnePlus 9 Pro] phr0zen:
Holy hell. Updated to the Indian version and now my phone is hot and battery is draining super fast. How do I downgrade? OnePlus system upgrade won't let me.
[OnePlus 9 Pro] lalo5alvarez:
I've recently rooted my global Oneplus 9 Pro LE2125 (AA). I am on OOS 11.2.4.4

It was quite frustrating seeing that the new update had been released right as I'd rooted on the previous version. I've heard that it is possible to convert the global AA to the European BA version. I think this is my best bet if I want to receive OTA updates. Can anybody inform me or redirect me to any information on the conversion?
[OnePlus 9 Pro] the bolt of thunder:
We will have it soon. Is it really worth it?
[OnePlus 9 Pro] lalo5alvarez:
Have what soon??
[OnePlus 9 Pro] Marucins:
Also for me the application from oneplus does not see the downloaded updatesby oxygen update.

After all, I always update in the same way. Deactivates Root (restore), In the settings I start to proses update (OTA). Install on an inactive slot and restart.

I've never had problems with that.

And even though I have a phone in the Europe version, I have been installing the Global version for some time (back then what magnificent OP, did not want to release updates for Europe only India and the global version).
[OnePlus 9 Pro] delipey.e:
@Steve0007 original stock boot f17 AA/global, extracted with msmtool.
[OnePlus 9 Pro] TENlll423:
Well when I was on F-16 it found it okay..

I just reinstalled the A12 system update app and it's not finding it for me either now.

Although if I use the other system update application it works fine...

Here it is ...👇
[OnePlus 9 Pro] SC10E:
Hello,

I cannot update to F.17 - I am currently on F.16 and all variations of the Oneplus update APK are failing around 61 or 62% installation progress. I have uninstalled magisk entirely but it did not find a backup of my stock boot.img. Does someone have the stock boot.img available for F16? I think I may need to flash that back onto the phone for the installation to proceed. If anyone has other ideas please let me know, I am hoping I won't need to do a factory reset

EDIT: I went ahead and factory reset, and was able to update to firmware F.17. However the patched boot.img for F.17 AA that is linked to in the OP (https://xdaforums.com/t/guide-magisk-unlock-root-keep-root-oos-13-f-72.4252373/post-87806983) appears to be stock and not with magisk added... can anyone advise me how to inject magisk into the boot.img or can they give me the correct file.

***EDIT 2:*** I was able to boot from the patched F.16 boot file and then patch the stock F.17 posted earlier. Here is a magisk patched F.17 boot.img, please update the OP when possible

Download
[OnePlus 9 Pro] TENlll423:
That's awesome you ended up figuring it all out yourself..

That's the way you do it.👍

I had the same issue when I went to restore image when I was on F-16.

It didn't have a backup of my stock boot image so what I did is I just downloaded F16 stock boot img. from one of these threads and flashed it with EX kernal manager Flasher tool .

After doing that everything worked perfectly...
[OnePlus 9 Pro] Veid71:
This is the same issue I'm having but I'm trying to avoid having to wipe my device because I have MFA for a few things lol
[OnePlus 9 Pro] SC10E:
Which app do you use? I use Microsoft Authenticator and it can be backed up to the cloud in settings
[OnePlus 9 Pro] Steve0007:
We explained how to patch the original boot. Look at F72/F17 boot. Img links
[OnePlus 9 Pro] Andsie:
Hi,

dumb questions:

I want temporarily root for using swift backup.

Do I have to do the whole process of temporarily booting the patched bootloader - install magisk - direct install in magisk - and everything turning back

Or

Is there a shorter way to gain root access for using swift backup?

BTW

Relocking the bootloader wipes anything?

Regards

Andsie
[OnePlus 9 Pro] Steve0007:
I would think that the temporary gaining root will allow swift back to get root access. Relocking bootloader wipes everything indeed.

Why don't you use oneplus clone phone or if you are using OOS 13 there is an option to make a backup thru Settings?
[OnePlus 9 Pro] Andsie:
Oneplus switch does not migrate as much as swift backup does...
[OnePlus 9 Pro] Andsie:
What does the switch "oem-unlock" in developer preferences does if turned off?

Rooted device properly running...
[OnePlus 9 Pro] patkoz16:
fastboot boot boot.img or fastbot flash boot boot.img
[OnePlus 9 Pro] Steve0007:
We don't want to flash the magisk boot but rather boot it just to gain temporary root. Then using magisk application for direct magisk patch boot.
[OnePlus 9 Pro] SaintZ93:
I am also having this issue with updating. I have even factory reset 3 times with no avail. Not sure the issue.
[OnePlus 9 Pro] mustangtim49:
I updated to f17 and for the life of me can't get it rooted. I'm on global and I used payload dumper to get the boot.img and I patched it with magisk and tried to fastboot boot "magisk_patched.img" and it won't boot. When it finally does, it's not the patched img. Anyone have this issue?

Update: ok then, good talk. I got it figured out anyway, thanks for all the help.
[OnePlus 9 Pro] Veid71:
Google authenticator, which I don't believe will allow you to backup anywhere with the new app, I do have a backup from a very old version with all of the MFA I need but it takes hours to do the restore lol

If anyone else has this issue I resolved it by uninstalling and reinstalling the oxygen updater app, when I did that it then asked if I wanted to do a full or incremental installs

I saw it said full was best for rooted devices and incremental was best because it was small updates and faster to install

After selecting the full I noticed the size changed from like 168MB to 4GB and it fully installed the updates hopefully this helps you guys out like it did me
[OnePlus 9 Pro] Thomas.swe:
I updated to the F.72 build with the built in system update didntd get a chance to use magisk before it restarted to patch the new partition. I tried boot the patched F.72 but in magisk i dont have the install option just patch a file.. I realy appriciate any help.

edit- I got it working
[OnePlus 9 Pro] Andsie:
no short way for temporarily root?
[OnePlus 9 Pro] Sheppie:
Can you explain how you did this via this tool? I would like to contribute to future releases if possible.
[OnePlus 9 Pro] RASTAVIPER:
You mean other than the adb way with the flash boot command?
[OnePlus 9 Pro] Andsie:
No - I am searching for the shortest way for temporarily root - preferring no steps for unrooting afterwards...
[OnePlus 9 Pro] HorizonZero:
Hi everyone,

quick question. I might have missed the same question in a previous contribution. Can I do the same process on a OnePlus 9 not pro? I have a 9 that I've never moved to Android 12 so still 11 and I'm thinking now to directly skip the 12 and go to 13 but keeping my root on with magisk.

Is it possible to do so? If I'm in the wrong thread can someone indicate me the right way to procede?

Thank you
[OnePlus 9 Pro] Fishawy:
Hey there,

Not sure if it's the same, but I couldn't update directly from 11 to 13 on my 9 Pro. Had to jump through OOS12 which is apparently a stepping stone that cannot be skipped. I would just follow the phone prompted updates.
[OnePlus 9 Pro] HorizonZero:
Hi man, thank you for greeting me in this conversation.

I just want to add that I once tried ( some time ago ) to upgrade to OOS 12 with poor results and bricking my phone. Never had problems before. I managed to solve the problem but now I'm a bit worried to do some mistake I don't understand and not able to go back. ( not really a programmer here, just a nerd that likes to retrain control of his phone xD )
[OnePlus 9 Pro] Fishawy:
I've had all kinds of problems with OOS12, which made me roll back to OOS11 for a while. However when trying to flash the OOS13 zip directly from OOS11 using the OPLocalUpgrade apk, it failed.

I didn't 'stay' on OOS12 per se. Just followed the updates (11.2.10.10, then C48 which was prompted by the system, then C63, and then OOS13 zip using the OPLocalUpgrade apk).

Keep in mind that this was on 9 Pro, I'm not sure if the same thing applies to the 9 non-pro. You might wanna test it by trying to flash OOS13 directly if you have the zip.
[OnePlus 9 Pro] Steve0007:
Same as Oneplus 9 Pro. Just flash the full OTA prompted by the system upto latest OOS 13. Get the latest OOS OTA file, grab the original boot using payload exe, patch the boot with magisk and get the temporary root access in order to patch your boot directly using magisk application
[OnePlus 9 Pro] HorizonZero:
Yep, OOS 12 was really bad. I'll try the process following the steps of the first post to retain my magisk. I'll let you know how it goes just to share my experience

Thanks for the support everyone. Let you know soon
[OnePlus 9 Pro] RASTAVIPER:
A12 was perfectly fine for me and thousands other users.

Just because some people had a bad flash noone can generalize that the OS was bad for everyone.

In any case, u know the steps now to upgrade to A13, so it shouldn't be an issue for u.
[OnePlus 9 Pro] magogo:
Are there any boot and magisked images available for the T-mobile variant?
[OnePlus 9 Pro] r4p70r:
How did you got it working.

I have the same problem.

Neither booting nor flashing my patched boot image works.
[OnePlus 9 Pro] Thomas.swe:
I kinda panicked and did a lot. I'm trying to remember. I'm on Holliday's and not rly sober. I have 9Pro_EU_F.72_boot.img in my download folder. I don't think I flashed it, just booted it. Sorry for not being that helpful. If you screw things up you can restore the phone withe the tool from OnePlus.
[OnePlus 9 Pro] r4p70r:
I also just booted my boot image.

After it didn't work I flashed it.

But both remain without effect. The device boots without problems but Magisk only shows Installed: N/A

Interestingly enough root works for apps which had the Permission before the Update to A13. But in Magisk you can not manage permissions nor customize the zygisk list.

Does nobody else with F.72 on the EU 9Pro have this problem??
[OnePlus 9 Pro] 2019registered:
Good afternoon to you Guys, I am currently on

Android 12

LE2123

C.61

Magisk 25201

I currently have issues with the deny list, which means that although some of the apps have been added to the deny list, those apps still recognize the presence of magick aka root.

I saw that there is a potential fix for the deny list in the newer version of magisk. How can update to latest magisk without loosing root?

Install to Inactive Slot (After OTA) and reboot?

Thanks for your answers, much appreciated.
[OnePlus 9 Pro] immortalwon:
Can you please re-upload untouched /magisked files again for oneplus pro 9? It says deleted by the uploader.

OOS 11.2.5.5 boot :

Untouched/magisked (AA)

Untouched/Magisked (BA)

Untouched/Magisked (DA)
[OnePlus 9 Pro] HorizonZero:
Absolutely, I'm sorry I didn't want to offend anybody or impose my view. I didn't like OOS 12 and I had a really bad experience with it. But it was absolutely personal and it might have been caused by my mistakes

Hope so! xD
[OnePlus 9 Pro] phynesse:
When I install Magisk with patched file, I end up with Qualcom Dump.

MSM to stock A11, then updated all the way to A13 F.72.

unlocked bootloader, installed 25.2 and patched the file from post #1939 (BA for EU version)

flashed the patched file (fastboot boot file.img) and then rebooted

= Qualcom Dump

after a while it does reboot normally, but i lost root. tried again, same result.

If someone could point me in the right direction, would be much appreciated.

EDIT: i noticed in the guide it says "fastboot boot boot magisk_patched.img" ... this produced error for me, so I removed 1x 'boot'. I assume that was correct and not the cause..?

thanks.
[OnePlus 9 Pro] r4p70r:
fastboot boot magisk_patched.img is correct

But I can't get Magisk to recognize the patched boot image either.

That's why I flashed it.

I have root (with the apps that had root before the update to A13).

Of course, that doesn't do you any good with a completely reinstalled system.

Unfortunately, no one here could give me an answer as to why Magisk behaves so strangely. I assume not many have updated to A13. Otherwise the problem should be more widespread.
[OnePlus 9 Pro] Smedslund:
I would say that many of us have update with out any issues.
[OnePlus 9 Pro] RASTAVIPER:
If your patched file doesn't do the job, just find the file from someone else.

This method works fine for many other people.
[OnePlus 9 Pro] snd0cff:
I upgraded to F.72 but I lost root after reboot(I couldn't uninstall magisk due to: stock backup does not exist). How can I restore magisk?

There is no boot.img with magisk, so what should I do?
[OnePlus 9 Pro] RASTAVIPER:
Did you bother to read the first post?
[OnePlus 9 Pro] snd0cff:
Of course, I rooted before my phone using this instruction, and there is only explained how to install magisk with magisk_boot.img, but I don't see it for F.72, only original boot.

so if you could be a little more helpful

Problem resolved.

Need to patch stock room using magisk, download to PC. After that boot using this patched boot.img and magisk works
[OnePlus 9 Pro] r4p70r:
You have to patch the untouched boot image with Magisk.

Read the first Post.

Please let me know if you are successful.

I can't get Magisk to recognize the patched boot image which i have flashed but I have root access with the Apps which had access prior the update to A13.
[OnePlus 9 Pro] snd0cff:
I just updated my previous post, everything working fine now, thanks :)
[OnePlus 9 Pro] r4p70r:
Nice 👍

Do you have the EU version of the 9 Pro (LE2123)?

If yes, could you provide me with your patched boot image?

I would like to test if it works for me as my own does not work :(
[OnePlus 9 Pro] Steve0007:
Magisk_25.2_Boot.img :

Magisk EU/BA Boot F72

Magisk AA Boot F17

Magisk IN/DA Boot F17
[OnePlus 9 Pro] HorizonZero:
First of all thank you for your support.

So, I've downloaded the latest full update .72 on my 9 ( non pro ) phone using Oxygen Updater. Do you think it's easier if I lose root for now, update from mine OOS 11 till the latest OOS 13 .72 and than follow the process to root my phone again than? Or it's better to pass through the OOS12?

I'm on a Mac so I'm figuring out how to do the hole thing. I'll try to extract the orginal boot img. I've already done a full backup of the phone for now.

Thanks
[OnePlus 9 Pro] Steve0007:
Don't use oxygen updater as you cannot go directly from OOS 11 to OOS13. Update thru System OTAs. Once you are on latest OTA just temporarily get root and direct magisk install using Magisk Application
[OnePlus 9 Pro] thekubiaks:
I'm a long time Oneplus user and rooter. I have what is probably a simple question but this has me scratching my head.

I obtained an OP9 Pro, it is currently running Android 11. It isn't rooted yet and I want to install Android 12 so that I can root and upgrade to Lineage 19. This OP9 wants to get the new Android 13 OTA but I don't want that, I wont be able to root or use Lineage.

I am trying to do a local update and have downloaded the Full OxygenOS 12 C48 zip. I placed it in my root directory but the system update refuses to see it saying "Move installation package into the root directory"

Any ideas on how to get C48 to install? I tried the Oneplus local install apk, no luck

Thanks for any help.
[OnePlus 9 Pro] r4p70r:
Under OxygenOS 11 you do not need a local install APK. It is only needed for OxygenOS 12

And why do you want version C48 and not C64. This is the latest version as far as I know.
[OnePlus 9 Pro] thekubiaks:
Thankss for the reply, I'll definitely go on the hunt for C64. I suspect I'll have the same problem trying to install it. Still looking for that tip, thanks
[OnePlus 9 Pro] r4p70r:
My mistake, the version is C62 and you can find it here: oneplus-9-pro-rom-ota-oxygen-os-repo-of-oxygen-os-builds
[OnePlus 9 Pro] thekubiaks:
Big thanks!!! My issue was the full zip I downloaded from another source was mislabeled and the LE2125 wouldn't accept it (thank God). I got a full ota from your link and success.

** UPDATE ** Spoke too soon. The C48 from this thread post #1 failed at the 25% install mark, gave no reason, just said failed. I will try to redownload and do it again,
[OnePlus 9 Pro] HorizonZero:
Thank you,

I managed to keep root passing from OOS 11 to 12 now. I'm having now and issue to pass to version .C61, the program downloads the OTA but gets a problem installing. Can I skip it and go directly to OOS 13 with the oxygen updater downloaded OTA version .F72?

I would use the sistem update app that I downloaded just for the occasion
[OnePlus 9 Pro] AGBOHOU:
Hello everybody. I just updated my OP 9 Pro global to OOS 13-F.17 and rebooted. Everything went well and I lost the root. The problem I currently have is that my phone is well recognized in Adb but in Fastboot mode it is no longer recognized and it is marked "waiting for device" when I have to boot for "fastboot boot magisk_boot.img " to have the temporary root to root permanently through Magisk Manager.

If anyone has an idea on how to fix the "waiting for the device" problem or another way to get root on my phone. Thanks in advance.