yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 Guides, News, & Discussion] sameer1049:
Twrp dosent work you've to flash patched boot img and install magisk permanently through magisk manager app
[OnePlus 6 Guides, News, & Discussion] Blunts47:
How do I do that
[OnePlus 6 Guides, News, & Discussion] didicola:
reboot to fastboot

fastboot flash boot beta3_patched_boot.img
[OnePlus 6 Guides, News, & Discussion] hyddro:
worked perfectly on B3, but not passing safetycheck... is this normal or did i miss anything? thnaks
[OnePlus 6 Guides, News, & Discussion] sovi3tss:
https://xdaforums.com/oneplus-6/how-to/guild-to-pass-safetynet-oxygen-android-t3838123
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
It's normal, you just need to replace the fingerprint key to 8.1.0 one in build.prop file to make the safetynet work.

Now that you have root, you can edit the build.prop file using file manager like Solid Explorer or something.

ro.build.fingerprint=OnePlus/OnePlus6/OnePlus6:8.1.0/OPM1.171019.011/06140300:user/release-keys

Or you could use the Magisk 17.2 alpha version, although I won't recommend it.
[OnePlus 6 Guides, News, & Discussion] Mike02z:
Probably a dumb question. I assume this will not work with Hydrogen Beta 5. I have not found a way to install TWRP or get root yet.
[OnePlus 6 Guides, News, & Discussion] hyddro:
thanks, also happen to know why i cant install downloaded modules via the magisk app? When i hit the + sign, and navigate to the folder, the zip files from modules are grayed out and cant flash them via magisk app :(
[OnePlus 6 Guides, News, & Discussion] null0seven:
Should work. H2 ob05 is Oos ob03.

Did you ?

Boot in Fastboot.

Type:

fastboot flash boot twrp-3.2.3-x_blu_spark_v9.85v2_op6.img

Phone boots to recovery. Flash twrp-3.2.3-x_blu_spark_v9.85v2_op6.zip.

Reboot to recovery to check if is ok.

Flash magisk 17.1.

This is the recomended twrp for ob03.
[OnePlus 6 Guides, News, & Discussion] Mike02z:
Thanks. I'm very experienced with the above. Something likely got corrupted as when I tried to go back to stock OOS via fastboot, it would simply boot into the crash/dump screen. I had to use the OnePlus MSM tool to recover as it even stopped booting. I think I'll stick with rooted OOS with xXx for now. Beta 4 worked great. Beta 5 broke calls and BT streaming.
[OnePlus 6 Guides, News, & Discussion] null0seven:
If you go back to Oos OREO you need to rollback. Fastboot roms, none of it works. I was there too... Only MSM save my phone.
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
Sometime it happens.

After pressing the + button just swipe from left and select any third party file explorer for example solid explorer. That is what I use.

You can select those zip file from there. It'll work.
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
Updated with Oxygen OS 9.0 Patched and Stock boot img

OOS 9.0 Patched Boot

OOS 9.0 Stock Boot
[OnePlus 6 Guides, News, & Discussion] galza:
Why after i boot oos 9 i still see on about phone open beta 3? Its the same as official 9?
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
For me it says OOS 9.0 only. Can you revert back with stock boot and confirm again?

I hope you flashed OOS 9.0 before flashing this boot img.
[OnePlus 6 Guides, News, & Discussion] galza:
I booted patched boot only from b3 and installed magisk.what are the right steps please?
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
If you want Oxygen OS 9.0 you have to get it from the ROM thread. This is not the right place. This is only for the patched boot imgs for all the OP6 OOS ROMs.

Please read the OP before proceeding with anything. You might brick your device if you don't know what you are doing.
[OnePlus 6 Guides, News, & Discussion] Eagle-no1:
Something wrong for me :(

< waiting for device > only.

Nothing else hapend.
[OnePlus 6 Guides, News, & Discussion] kiki059:
Hello,

I don't understand this steps :(

Actually I m on OSS 5.1.8.

It's right?

I will do factory reset (bcauze my rom bugg)

Install magisk

Update Pie

Flash boot patched?

Next? I'm losted
[OnePlus 6 Guides, News, & Discussion] Eagle-no1:
Hard way and now working.

I go back 5.1.5 by MsmDownloadTool V4.0 via my second pc what is 32bit windows (64bit win not work this job), update android 9

release oem lock and installing patched img and now everything work. :D
[OnePlus 6 Guides, News, & Discussion] winkyl:
I was on OOS 5.1.11, using OP updater updated to OOS 9.0,

install was successful, reboot to fastboot with the patched image for magisk install.

Ended up with bootloop. help?

I was on Root without TWRP and planning to do the same on OOS 9.0. Bootloader is unlocked, it would boot into stock boot image but bootloop on the patched image
[OnePlus 6 Guides, News, & Discussion] mystery_hat00:
Thanks a ton! Verified working on OOS 9.0! I actually checked this thread earlier once I received the OTA OOS 9.0 and was hoping you'd post the new one! Saved me from having to try and figure out how to build the img file.
[OnePlus 6 Guides, News, & Discussion] akhilsukh01:
same, it remains in fastboot mode after attempting to flash the patched boot image
[OnePlus 6 Guides, News, & Discussion] enerGy:
You cant use anything other than stock because sources arent out yet and need updated
[OnePlus 6 Guides, News, & Discussion] akhilsukh01:
How is it working for some people? I tried twrp and got the qualcomm CrashDump. Is there any other way to get magisk?
[OnePlus 6 Guides, News, & Discussion] enerGy:
Did you use bluspark twrp?
[OnePlus 6 Guides, News, & Discussion] akhilsukh01:
Not yet, do you have a link? I'll try it out.
[OnePlus 6 Guides, News, & Discussion] enerGy:
Use the twrp files that have V2 at the end. Both the IMG one and zip

https://xdaforums.com/devdb/project/?id=27466#downloads
[OnePlus 6 Guides, News, & Discussion] akhilsukh01:
Worked perfectly! thanks
[OnePlus 6 Guides, News, & Discussion] enerGy:
No problem
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
If you have any unsupported magisk module enabled it'd bootloop. It happened to me once. So, try to uninstall magisk completely first and then try this again.
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
I'm glad that it worked for you. Didn't know 32bit Windows doesn't do this. Lol.
[OnePlus 6 Guides, News, & Discussion] winkyl:
I got magisk back from booting with blu_spark's TWRP recovery,

removed magisk with their uninstaller,

then it boot flawlessly with the patched img!

Thank you for your help!
[OnePlus 6 Guides, News, & Discussion] lemuren:
I am on 5.1.11 right now with magisk running. Stock recovery. Would i be able to install the ota, then patch the second slot from magisk followed by a reboot?

This method has been working on oreo ota's to retain root, hence the questions.
[OnePlus 6 Guides, News, & Discussion] Tomatot-:
Great work and thanks for your update for Pie stable. Updating threads is one the most valuable thing to do on XDA. :)
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
You quoted the entire OP but you didn't read it properly. After you got the Magisk working you shouldn't reboot. I specifically posted that the root won't stick. You've to do the entire step again from the beginning.
[OnePlus 6 Guides, News, & Discussion] saxena1:
Oh it's my fault
[OnePlus 6 Guides, News, & Discussion] Eny17:
Hello. I do not have twrp and I had the procedure to install magisk without twrp with 5.1.11 all right, now I have android 9.0 and done the same procedure with new patch but the phone goes into loop but the recovery with a forced reboot. how can I get the root to work?

Thanks
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
Please remove the Magisk modules and then try again.

Some of the modules won't work with OOS 9.0
[OnePlus 6 Guides, News, & Discussion] ravepower:
It seems Bluetooth connectivity is broken using this method or bluespark method, I tested two different devices and even though they appear connected, audio playback doesn't work, only calls work.
[OnePlus 6 Guides, News, & Discussion] Eny17:
How do I remove the modules if I don't have the root And not even TWRP?
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
You should've done that before flashing the Pie.

Now you've to flash the stock boot image and remove the Magisk completely it'd remove all the modules.
[OnePlus 6 Guides, News, & Discussion] Eny17:
Would you be so kind as to explain how? Thank you
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
I'm not really sure. I don't how to use the full Magisk uninstall zip without TWRP.

You can ask it in Magisk support thread.
[OnePlus 6 Guides, News, & Discussion] doc84zeta:
BootLoop help!

hi, i've update from 5.1.11 to adroid p 9.0 stable. using magisk to install on 2nd slot before reboot. now only bootloop logo. I don't have twrp. only root with magisk.

how can I recover the phone?

flash in fastboot the patched image for 9.0?
[OnePlus 6 Guides, News, & Discussion] doc84zeta:
UPDATE

I've flashed stock boot image for 9.0 and phone starts.

but I can't flash the patched image without a bootloop.

I've unistalled magisk from phone when I used the stock image.

why?
[OnePlus 6 Guides, News, & Discussion] Faye Reagan:
This is what i do :

Disable All Magisk Modules

1. Download the Full OOS Pie Stable Zip and move it to the root of your internal storage.

2. Navigate to Settings > System Update > Settings > Local upgrade > Select latest OOS Full Zip

3. Flash the Full Zip

4. Upon Successful Flash > Wipe Cache from Recovery

5. Reboot to Bootloader

6. Fastboot temporary boot with patched boot "fastboot boot (patched_boot_filename_here).img"

7. Open Magisk and click install and install Magisk again with Direct Install

8. Reboot System
[OnePlus 6 Guides, News, & Discussion] winkyl:
I use blu_spark's twrp recovery to load magisk uninstaller. I was able to boot with the patched img after doing that

you can do fastboot boot with blu_spark's twrp img

https://xdaforums.com/devdb/project/dl/?id=30421

then use the offical magisk uninstaller in the recovery to remove magisk along with modules

https://github.com/topjohnwu/Magisk/releases/download/v17.2/Magisk-uninstaller-20180921.zip
[OnePlus 6 Guides, News, & Discussion] mystery_hat00:
So unfortunately I've ran into an issue. I did successfully root with magisk. However I ran into an issue where magisk will suddenly fail safety check and drop root. Which wouldn't be a huge deal, except it makes the device unusable from a network connectivity standpoint. If I reboot my device it then works again. But I've found myself rebooting numerous times today. Not sure if it's just a bug being that we've only received Pie stable yesterday.
[OnePlus 6 Guides, News, & Discussion] Eny17:
Thank you. I wanted to avoid installing TWRP but I think it is the only way to have the root.
[OnePlus 6 Guides, News, & Discussion] winkyl:
You don't have to install TWRP, as I didn't want TWRP as well.

But you can just boot with that img without installing it.

You can boot up with that TWRP recovery just for the magisk uninstaller.

After you reboot, it will be back to factory recovery.

Hope that makes sense.
[OnePlus 6 Guides, News, & Discussion] Eny17:
So, if I understand correctly, I install just TWRP provisional without TWRP zip, uninstall Magisk and reboot?

Thank you
[OnePlus 6 Guides, News, & Discussion] winkyl:
Yes, hence I only included the link for that img file only without the TWRP zip file.

You can just do the following in the command prompt:

fastboot boot twrp-3.2.3-x_blu_spark_v9.85v2_op6.img

This should just temporary using TWRP shell to run the magisk uninstaller zip.

You should be able to use the patched boot img file from OP in fastboot after without bootloop
[OnePlus 6 Guides, News, & Discussion] Eny17:
Thanks a lot I try immediately and let you know

---------- Post added at 08:06 AM ---------- Previous post was at 07:53 AM ----------

All perfect thank you so much you've been kind
[OnePlus 6 Guides, News, & Discussion] winkyl:
Not a problem! Cheers! :good:

---------- Post added at 01:15 AM ---------- Previous post was at 01:07 AM ----------

As ManikandanGuru mention, it's related to magisk module not properly uninstalled, hence bootloop.

I use blu_spark's twrp img to load magisk uninstaller. I was able to boot with the patched img from ManikandanGuru after doing that

The offical magisk uninstaller in the recovery to remove magisk along with modules:

https://github.com/topjohnwu/Magisk/...r-20180921.zip

fastboot boot with blu_spark's twrp img without installing TWRP:

https://xdaforums.com/dev...t/dl/?id=30421

You can just do the following in the command prompt in fastboot mode on the phone:

fastboot boot twrp-3.2.3-x_blu_spark_v9.85v2_op6.img

This should just temporary using TWRP shell to run the magisk uninstaller zip.

You should be able to use the patched boot img file from OP in fastboot after without bootloop
[OnePlus 6 Guides, News, & Discussion] doc84zeta:
I've followed these steps, but magisk uninstaller won't work.

It gives me an error when I type the command in twrp's terminal.

command "sh: mm" NOT FOUND

command "sh: uninmod" NOT FOUND

If I try again terminal show me this

command "sh: mm" too many symbolic links encountered

command "sh: uninmod" too many symbolic links encountered

I followed this link for use uninstaller

https://magiskroot.net/uninstall-magisk-module-twrp/

what can I do?
[OnePlus 6 Guides, News, & Discussion] doc84zeta:
UPDATE

I've try to reflash patched boot image and now worked.

All ok!

Thx
[OnePlus 6 Guides, News, & Discussion] Ferdav.lp:
Bro can u upload the spark twrp img? Link is dead ! Thanks u very much
[OnePlus 6 Guides, News, & Discussion] winkyl:
The spark TWRP img is still working here. And you flash the uninstaller magisk zip. Are you doing that?
[OnePlus 6 Guides, News, & Discussion] roemerb:
reboot removed on reboot

Soo weird issue, for me the root is removed when my phone reboots. Really annoying as this is required for a lot of magisk modules. Rebooting after that doesn't bring it back either. Only way to get it back is to re-flash.. Anyone with similar issues?
[OnePlus 6 Guides, News, & Discussion] Pretoriano80:
Don't use latest Magisk, it's bugged and that's why you have that issue.
[OnePlus 6 Guides, News, & Discussion] OPO13R:
I'm getting stuck in a bootloop aswell -.- Did exactely as told in your guide, but it just won't work. (I'm on Android 9.0, with the appropriate patched boot image). Only blu_sparks latest recovery image helped me here. No cudos for this thread.
[OnePlus 6 Guides, News, & Discussion] roemerb:
Thanks for the reply man. How can I downgrade without twrp though? I have 17.2 atm
[OnePlus 6 Guides, News, & Discussion] nikha:
Is safetynet passing on oos 9.0? Anyone tried it?
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
Magisk 17.2 passes safety net completely.
[OnePlus 6 Guides, News, & Discussion] mystery_hat00:
So I actually completely removed Magisk manager and tried the process again. Magisk 17.2 is working flawlessly for me now. No safety net check issues so far. Where it was failing for me was the ctsProfile - but no longer seems to be an issue.
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
You got stuck in bootloop because there was an unsupported Magisk module enabled. I had this problem as well before. You just need to uninstall the Magisk module or uninstall Magisk completely and have to try again. It worked for me.
[OnePlus 6 Guides, News, & Discussion] kakkooran:
I am on stable android Pie,rooted and magisk installed.but i could not use Google pay.When i am trying to register it shows an error as "your device isn't passing google pay security checks".I have add Google pay to magisk hide but the same problem persists.Any solution?Thanks
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
I'm really sorry I can't help with that. There is a module for that I think. It's called Tez hider or something. Please search for it in xda. You'll find it. You can ask any doubts you have there.
[OnePlus 6 Guides, News, & Discussion] kakkooran:
Thank you very much for your valuable advice.I have solved the issue by follow this thread.https://xdaforums.com/oneplus-6/how-to/root-solve-issue-oxgyen-os-beta-1-t3839939
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
Great. Glad that it worked out for you.
[OnePlus 6 Guides, News, & Discussion] teja:
Hello I am on stable pie and flashed patched boot img and I can see root successful in Magisk manager. But whenever I tried to reboot.. phone got stuck at "your phone bootloader unlocked bla bla msg" and not even see boot logo. To boot system again either I need to patch boot img again or need to flash stock img. Please help why this happend to me? Does I miss some steps. Pls help ?

(FYI I don't have any Magisk modules installed)
[OnePlus 6 Guides, News, & Discussion] hyddro:
hey had a similar problem... the only thing was left for me to do was to unbrick it with the universal unbrick tool... you will lose your data and the bootloader will relock.. but will be able to boot the phone again
[OnePlus 6 Guides, News, & Discussion] teja:
No issues for me for phone to work again. If I flash stock boot img its working but I need root. Pls understand my point
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
Can you please explain the full steps you followed. You have to install Magisk again after booting with patched boot img. Did you do that?
[OnePlus 6 Guides, News, & Discussion] kratosboss:
Here works great. Unfortunatly Samsung Gear app doesn't work with this ( App from the Store says that Device is non compatible ).
[OnePlus 6 Guides, News, & Discussion] hubono:
Hi

Can someone share the pre patched boot image for beta 4

cheers
[OnePlus 6 Guides, News, & Discussion] crazyboy1111:
Everytime my phone restarts or shuts down the root disappears and I have to repatch. anyone knows how to solve this issue?
[OnePlus 6 Guides, News, & Discussion] akuma48465:
after boot (patch) the boot file you should

-install magisk manager

-then press install

-then select direct install

-after reboot the root wont disappear
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
Updated with Open Beta 4 Patched and Stock boot imgs.

Open Beta 4 Patched Boot

Open Beta 4 Stock Boot
[OnePlus 6 Guides, News, & Discussion] teja:
Hi [MENTION=5385900]ManikandanGuru[/MENTION], below are the steps i followed

1. uninstalled all modules from magisk manager

2. in fastboot mode, flashed OOS patched boot img from this thread -> reboot

3. i can see magisk 17.2 installed on magisk manager

4. selected beta channel from magisk and installed magisk from magisk manager( selected install after OTA)

5. reboot -> phone stucked on "the device boot loaded unlocked......." message. not evan boot logo coming

6. to phone boot again i went to fastboot mode and flashed stock boot img-> now phone can boot

But i want to root phone. whenever i tried to flash patched img i got stuck in boot loop. please help
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
Choose the recommended option from Magisk while flashing and try that once.
[OnePlus 6 Guides, News, & Discussion] harigavara:
How to flash this? Instructions in op are unclear. Sorry!
[OnePlus 6 Guides, News, & Discussion] Xzorg6:
Prerequisites :

- Developer mode

- USB debugging checked and allowed from first connection

- Bootloader unlocked (/!\ Wipe all your data /!\) https://xdaforums.com/oneplus-6/how-to/oneplus-6-unlock-bootloader-flash-twrp-t3792643

- Reboot to bootloader

The fastboot command with the boot image need to be executed from your PC.
[OnePlus 6 Guides, News, & Discussion] harigavara:
Got it. But unfortunately my system is not detecting the fast boot device.
[OnePlus 6 Guides, News, & Discussion] teja:
[MENTION=5385900]ManikandanGuru[/MENTION], thanks man. i can boot now but my wifi and fingerprint sensor not working :( . please do some needfull.

P.S: dirtly flashed stock rom also but doesnt work
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
Can you try with the stock boot img. Because I didn't modify anything in this file that might affect the sensors of the phone. Or you can even patch your own boot I'm going the provided stock img as well. Try uninstall the modules and check, some of the modules might not support OOS Pie.
[OnePlus 6 Guides, News, & Discussion] marcash:
i did not see this post . i installed with the other method what i got to chooce . after ota something.

now i have bootloop

try to flash the modifi boot image or original boot.img again dont help me. -> bootloop

****y

please help
[OnePlus 6 Guides, News, & Discussion] marsaltito:
Reboot to recovery mode and try to reset ftom there .
[OnePlus 6 Guides, News, & Discussion] marcash:
have original recovery. what to do there . dont want to loose data

---------- Post added at 07:47 AM ---------- Previous post was at 07:45 AM ----------

what to reset`? dont want loosing data

---------- Post added at 08:27 AM ---------- Previous post was at 07:47 AM ----------

hello can you explain how you didi it . thanks
[OnePlus 6 Guides, News, & Discussion] marsaltito:
Original recovery have option for reset phone.

Turn phone off, press power and volume down at the same time
[OnePlus 6 Guides, News, & Discussion] marcash:
i dont want to reset phone and loose my data.

1, installed ota pie9.0

2 flashed modified boot image to get root

3 after reboot i lost root.

4 in magisk i did install something named " install after ota"

5 bootloop ( i have magisk modules volte enable )

6 i try reflash modify boot.img and original boot.img not helped.

7 i booted in twrp enchilada and removed the magisk modul with the mm.zip than flashed original boot.img -> same bootlop

iam helpless

flashing the complete system image dirty over it i have access to OTG USB drive? like it worked with lineageOS on other phones
[OnePlus 6 Guides, News, & Discussion] marcash:
how did you do that.

i tryed fastboot flash boot bootstock.img

but after flash also system not starting
[OnePlus 6 Guides, News, & Discussion] teja:
[MENTION=5385900]ManikandanGuru[/MENTION], i just got to know that ..issue not because of these img files.... during bootloop i tried to change A/B Slots alternatively and just i understood if we do like this wifi and finger print wont work. later i do not have any other option so i did dirtly flash rom from twrp after clean wiping data. now root working without any issues after following post1 instructions. thank you anyways :fingers-crossed:

---------- Post added at 10:26 AM ---------- Previous post was at 10:23 AM ----------

[MENTION=535237]marcash[/MENTION]

fastboot boot stock_boot.img

i can boot without any issues whenever i flash stock images
[OnePlus 6 Guides, News, & Discussion] teja:
we shouldn't do like this. below is the correct way

1. After OTA update don't reboot phone. once update has installed just go to Magisk Manager and install by selecting " install after OTA"

(Magisk logic here: OTA will be installed on inactive slot, means after reboot system will change it slot so if we select above option then it will install magisk on inactive slot i.e. after reboot new updated OS with root) i think this is easiest way to gain root after OTA

2. If you rebooted after OTA, you will lose root. in this case you need to flash patch boot img from fastboot then from magisk manager do install by selecting "install directly(recommended)" option so that it will install on same slot(since there is no changes on slot after boot)

Things to remember if you are messing with magisk install/uninstall ensure all the modules uninstalled so that there will be no bootloops
[OnePlus 6 Guides, News, & Discussion] fleischbanane:
Works perfect, thank you very much!
[OnePlus 6 Guides, News, & Discussion] typhoonikan:
Hi.

I got oos9patchedboot.img (or whatever filename is) and ran ADB reboot bootloader, fastboot devices, then fastboot boot oos9patchedboot.img

OS loading screen sits on the two white dots orbiting the red one. Why ain't it working? I did this for 5.1.9 and it went without issue. Is something I had up as root user before the phone updated to 9.0(updated by mistake) causing an issue now that it is booting up insecure? (excuse my dumbnesss)

• Yes, I am unlocked and adb devices as well as fastboot devices shows my device. :)