yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
Good news my friends! The awesome [MENTION=4470081]topjohnwu[/MENTION] released Magisk 17.1! Patching the inactive slot is back, so updating should be easy and hassle-free again! :)
[OnePlus 6 Guides, News, & Discussion] Alex240188:
Can confirm, patching is easy again. I'd held off on flashing 5.1.11 but just did it this morning, no pc necessary
[OnePlus 6 Guides, News, & Discussion] wawanRedblack:
Android pie beta 1 boot image?
[OnePlus 6 Guides, News, & Discussion] Odrilow:
Hi, I am on the Android Pie beta 1, did some one have the boot.img patched ?
[OnePlus 6 Guides, News, & Discussion] jeanbaptiste_:
You can find it on this thread : https://xdaforums.com/oneplus-6/how-to/patched-boot-image-magisk-16-7-beta-t3818853
[OnePlus 6 Guides, News, & Discussion] alirey:
Just updated from rooted 5.1.11 to OOS open beta 1

- downloaded full OTA

- used internal update for local files

- BEFORE restart let magisk patch the OTA slot

Root still available

Everything seems to work fine.

No lag or camera issue so far.
[OnePlus 6 Guides, News, & Discussion] Odrilow:
Thanks so much !

:good:
[OnePlus 6 Guides, News, & Discussion] Bananebieger:
If you use alirey's method you are fine without a patched boot.img.

With Magisk 17.1 you can patch the inactive slot and hold root if you are upgrading from 5.1.11 to open beta.

Works like a charm.
[OnePlus 6 Guides, News, & Discussion] chrisjcks:
Updated to Android Pie 9.0

Installed full rom, used Magisk to install to second slot before reboot.

Perfect, kept root, no need for boot image. ?
[OnePlus 6 Guides, News, & Discussion] sejmand:
How can I stop the reboot? Its rebooting by itself?

Or does the script has an option to hold the reboot?

I had twrp a no experience with auto updater.
[OnePlus 6 Guides, News, & Discussion] Terrigible:
After updating, it will have the option to reboot, it's not forced.

If you just want Magisk,

Update via Update Engine

Open Magisk

Install→Install to Second Slot (After OTA)

Reboot

If you want to keep TWRP, Magisk, custom kernel etc.,

Download the OTA zip

Download TWRP zip

Download Magisk zip

Download any of the other zips you have

Reboot to TWRP

Flash OTA + TWRP together

Reboot to TWRP

Flash Magisk

Reboot to TWRP (Not sure if this is required)

Flash any other stuff you have

Reboot to system
[OnePlus 6 Guides, News, & Discussion] rickesh1:
In theory is there any way to lock bootloader and keep root? I know the thread says it can cause soft boot but I've tried and it only loses root.

The only reason i look to lock the bootloader is because of Windvine L3 issues
[OnePlus 6 Guides, News, & Discussion] Terrigible:
If you want root, don't think about L1 Widevine. It's either L1 Widevine or root.
[OnePlus 6 Guides, News, & Discussion] inexkecible:
Is there a way to root latest official Android Pie without TWRP?
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
Yes?! Like all in this thread, we downloaded the patched bootimage for pie which can be found on other threads and followed the instructions of this thread. :D
[OnePlus 6 Guides, News, & Discussion] sakura_candy:
Has anyone tried the no-TWRP patch to second slot method with the new Android Pie OTA?
[OnePlus 6 Guides, News, & Discussion] mrinank67:
Yup, works perfectly.
[OnePlus 6 Guides, News, & Discussion] Imvikky:
can you please post a link to the thread
[OnePlus 6 Guides, News, & Discussion] REAL6:
https://xdaforums.com/oneplus-6/how-to/patched-boot-image-magisk-16-7-beta-t3818853
[OnePlus 6 Guides, News, & Discussion] Imvikky:
Thanks
[OnePlus 6 Guides, News, & Discussion] brmbjn:
For root oneplus 6 hydrogen beta 8. How to ? Magisk 17.3 ? Twrp blu_spark ?
[OnePlus 6 Guides, News, & Discussion] Sineval:
I have a question...

After updating my OP6 to Android Pie I used the "Install to second slot after ota" method of installing Magisk.

However, now that Magisk got new version I'm kinda confused on how to update it?

Should I use the "second slot" method to update Magisk, or regular "direct install"?
[OnePlus 6 Guides, News, & Discussion] Alex240188:
Second slot is only when doing an ota update.

If you are just doing a magisk update, do direct.
[OnePlus 6 Guides, News, & Discussion] galaxyss8:
can you maybe explain how to do it for mac on 9.0.2 pie ?

ive been trying for a while now but i cant manage it,

i keep on getting; command not found in Terminal or no such directory.

I really thought rooting would be easier :(
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
Sorry, I don't have and use MAC PCs. Sounds like you don't have the drivers (for ADB / Fastboot) installed on your MAC.

Maybe someone else can help you out. Anyway, here you can find the patched boot-image of OOS 9.0.2, in case you don't have it.

When you've working drivers installed, rooting is indeed very easy and hassle-free on the OnePlus 6.

EDIT: Here's a tutorial on how to install ADB and Fastboot on a Mac (took me 1 minute on google :D )
[OnePlus 6 Guides, News, & Discussion] galaxyss8:
Ok I managed to get me a Windows, would you be so nice and explain the steps I need to follow to make this work ? I need a detailed explanation otherwise I won't manage it ..
[OnePlus 6 Guides, News, & Discussion] Terrigible:
Follow the guide in the OP. There's even a video.
[OnePlus 6 Guides, News, & Discussion] raqeeb0504:
Current O2 Os is 6 on device, how to root?

hi, my current running OS O2 version is 6. Here im boot image file is upto 5.1.8, how to root my device now? Will it be wise to root with 5.1.8?
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
I don't know what OS O2 is. Is it a custom rom? You should be on OxygenOS 9.0.2 if you're on stock ROM. Read a few posts back, I posted the link to the patched bootimage for this
[OnePlus 6 Guides, News, & Discussion] A5272716:
Is it necessary to uninstall all magisk modules before doing any OTA updates?
[OnePlus 6 Guides, News, & Discussion] coment:
Hello,

I used the method to update OOS via OTA from 9.0.2 to 9.0.3:

Install OTA. It will be installed on the inactive slot. Do not restart your OP6 when installation finishes.
Start Magisk Manager app.
Tap on Install.
Tap on Install to Second Slot (After OTA).
Reboot your device.
Check if you got root and if safety net checks are passed.

After the reboot, the device immiediately went into reboot to recovery.

I have no twrp or other shenanigans, just magisk.

How may I resolve this issue?

Thank you!

EDIT:

I got it working, Credits to u/ahamling 27 @ reddit:

1. fastboot boot twrp

2. ADB Sideload Magisk uninstaller

3. ADB Sideload Magisk 17.3

4. Reboot

5 Install Magisk 18.0 in the Magisk App

EDIT2:

Link to u/ahamling27's workaround:

https://www.reddit.com/r/oneplus/comments/aalfro/comment/ecwmtet
[OnePlus 6 Guides, News, & Discussion] JiiJii:
Is this method the only way to update? Has something changed in 9.0.3? Magisk install to second slot-method worked fine with 9.0.2.

EDIT: I installed the update with the second slot-method and everything went well.
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
Me too, no need for any crazy workarounds :)
[OnePlus 6 Guides, News, & Discussion] SaiBork:
Just installed update, haven't done the reboot yet, but magisk isn't giving the second slot option.

Patch boot file option requires me to select a file I don't have.. Anyone sorted this themselves or knows how to get around it? I don't have twrp installed.

Just checking before rebooting and breaking root etc.

Edit: Just seen updated first post with instructions for manual boot img extraction and manual patching. Guess that's what is required at the moment. :(

Edit2: Downloaded patched boot image from https://xdaforums.com/oneplus-6/how-to/patched-boot-image-magisk-16-7-beta-t3818853 used that and can confirm all is working ok after reinstalling magisk as well.
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
Strange. Might have been a bug since Magisk Manager (7) is definitely able to patch the OTA slot.

But I'm happy it worked for you with the patched bootimage :)
[OnePlus 6 Guides, News, & Discussion] sikoo1996:
Edit : restored to stock boot img and done factory reset , still bank apps shows device rooted .

Also, On every reboot magisk app appears in the app list which doesn't open

Is there any solution / workaround to completely unroot ?

Thanks ?
[OnePlus 6 Guides, News, & Discussion] xda4Android:
Hi, Could you please explain the options :

Preserve AVB 2.0/dm-verity

Preserve force encryption

When do i need to enable/disable either or both of them, I'm going to root the stock ROM and confused about this, the model is Samsung galaxy note 8 Snapdragon (greatqlte)【SM-N9500】【N9500ZCS7DUD1】【CHC】Android 9, it is said that this device uses dm-verity
[OnePlus 6 Guides, News, & Discussion] drumber42:
OK guys I don't understand what I did wrong. Especially given the fact that the instructions are very clear for unlocking the bootloader and installing Magisk and everything seemed to work fine. After I installed Magisk and successfully rebooted, I performed a factory reset from the Settings menu, because I wanted to trigger the automatic installation of my apps from the Play Store. Anyway after I wiped, now it won't boot Android, it just gives me the unlocked bootloader warning screen twice then goes right back to recovery mode. I can boot to fastboot mode, but that's it, if somebody could help that'd be awesome!
[OnePlus 6 Guides, News, & Discussion] Neurom67:
10 hours with root phone does not boot up Phone Brick only White LED is on Display Black :(:(:(:( Fastboot works
[OnePlus 6 Guides, News, & Discussion] b1czu:
Have you tried to

fastboot boot boot.img

using original 5.1.5 (if you've got 5.1.5 firmware) boot.img? It can be downloaded here.

What else did you install, etc? I'm using it for more than 24 hours without any problems.
[OnePlus 6 Guides, News, & Discussion] Neurom67:
with original bootloader the Phone not Boot only white LED
[OnePlus 6 Guides, News, & Discussion] Poloasis:
Have you tried reflashing the stock image?
[OnePlus 6 Guides, News, & Discussion] Neurom67:
what am I supposed to do if the phone doesnt boot? the stock recovery doesnt have an option to flash the stock firmware.
[OnePlus 6 Guides, News, & Discussion] gulshanstrider:
Worked for me as well.

OnePlus6 : A6000 , 128 GB, Indian Variant.

Thanks
[OnePlus 6 Guides, News, & Discussion] Poloasis:
You can't even put the phone on fastboot?
[OnePlus 6 Guides, News, & Discussion] galza:
Works like a charm..thanks dude..installed by the way the always on display module for magisk..work great..does anybody knows what other magisk modules working on the op6?
[OnePlus 6 Guides, News, & Discussion] Neurom67:
I have close the Bootloader and send the phone back to the manufacturer for Repair or change

---------- Post added at 09:31 PM ---------- Previous post was at 08:57 PM ----------

Yes
[OnePlus 6 Guides, News, & Discussion] magnamentis:
damn that's so easy thanks to the patched kernel, great work indeed :good::good::good::good::highfive::highfive::highfive:
[OnePlus 6 Guides, News, & Discussion] Pundy:
Dzieki!

I love my OP6 and of course with root ;)
[OnePlus 6 Guides, News, & Discussion] akaHardison:
Yes,it works.Because im using right now:fingers-crossed:
[OnePlus 6 Guides, News, & Discussion] Chris123NT:
There's an issue with this, when it boots after you flash the image you will be rooted, but when you reboot again you lose root. Reproduced the issue 3 times now, so something's wonky.
[OnePlus 6 Guides, News, & Discussion] azsl1326:
Did you follow the latter portion of the post?
[OnePlus 6 Guides, News, & Discussion] Chris123NT:
And the retard of the day award goes to ME.

LOL, thanks.
[OnePlus 6 Guides, News, & Discussion] henningsieh:
I think you only booted the patched image and now you have to FLASH a rooted boot image BY INSTALLING MAGISK "again" via magisk manager. Look here:

Got you right?

-- edit --

Okay, I've been too late! :highfive:
[OnePlus 6 Guides, News, & Discussion] i360droid:
im getting this: "it seems like another app is blocking access to wallet"

any fixes or nah?
[OnePlus 6 Guides, News, & Discussion] KnifeFed:
Which AOD module is that?
[OnePlus 6 Guides, News, & Discussion] gulshanstrider:
Use magisk hide option present in settings to hide.root access to wallet apps.

Most of the wallet apps detect root and don't work.

Thanks
[OnePlus 6 Guides, News, & Discussion] dustintinsley:
After unlocking, Widevine is no longer L1. Unlocking g the boot loader results in Widevine L3 only... Just an FYI for those who rely on L1....
[OnePlus 6 Guides, News, & Discussion] galza:
http://www.daxiaamu.com/4924/
[OnePlus 6 Guides, News, & Discussion] Takko:
Unfortunately I'm loosing the root as well after phone restarts. I did the steps few times but everytime I have lost root.

I've booted with the patched boot image, install magisk with both checked checkboxes and restarted afterwards. Then it seems to work, until the next restart or opening the magisk menu and entering e.q. Magisk hide. If I am closing the menu and re-opens it all menu items except Settings and About are gone, the root as well.
[OnePlus 6 Guides, News, & Discussion] detritu5:
Yes. No more widevine L1 with bootloader unlocked and rooted.

Maybe the boot.img have to be patched with a different method to keep L1 level?

Any solution to pass safetynet with xposed sdk 27?
[OnePlus 6 Guides, News, & Discussion] habylab:
Well Pixel doesn't have this issue, I've seen on Reddit reports of it still having L1 after root.
[OnePlus 6 Guides, News, & Discussion] i360droid:
Nah that didn't fix it as I'd already tried that as I don't have the IQ of some leafy cabbage. It ended up just sorting itself out so I think it was just a coincidence
[OnePlus 6 Guides, News, & Discussion] jcespi2005:
Do you have a link o more information about Pixen and Pixel XL having L1 active after open bootloader and root with Magisk?

Sounds to me like some sort of protecction from Qualcomm and DRM...

Cheers
[OnePlus 6 Guides, News, & Discussion] sgtgs:
It says Oneplus 5 AOD enabler. Are you sure it works on our loved Oneplus6?
[OnePlus 6 Guides, News, & Discussion] galza:
Im using it with my op6..the only issue is its not so bright…
[OnePlus 6 Guides, News, & Discussion] Dabarr:
I am also interested in that whole widedevine issue. I am on L3 asnI rooted. Haven't checked before root. Is there any possible fix for it in the future?
[OnePlus 6 Guides, News, & Discussion] Striatum_bdr:
No and there won't be
[OnePlus 6 Guides, News, & Discussion] r3flux:
Is there a patched boot for the Android P?
[OnePlus 6 Guides, News, & Discussion] pranavasri:
Someone who can test things on their oneplus 6 please PM
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
[MENTION=1894196]b1czu[/MENTION]: thanks a lot for your time sharing this detailed "tutorial". I had doubts not to wait for TWRP, but my doubts are gone. Rooting worked due to your explanations and I´m happy with Viper FX, YT vanced and other stuff installed by Magisk.. Thx!
[OnePlus 6 Guides, News, & Discussion] Poloasis:
Viper4android

Has anybody tried to install Viper4android from Magisk Module already?
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
yes. Then don´t forget to deactivate the automatic update in play store
[OnePlus 6 Guides, News, & Discussion] Poloasis:
And no problem with processing?
[OnePlus 6 Guides, News, & Discussion] shubham399:
I will check that, any way restarting the phone give me back the Root access

Removed Magisk manger from Battery Optimization will see the Result and will provide update on that
[OnePlus 6 Guides, News, & Discussion] brown1178:
Just rooted my OP6 with this method. Right now I'm restoring my user apps from Titianium Backup.

Root is still there after several reboots.
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
It seem´s to work everything
[OnePlus 6 Guides, News, & Discussion] Poloasis:
Awesome, tx bud.
[OnePlus 6 Guides, News, & Discussion] gilcn:
I did the exact same thing and I now face the same problem :(. Phone won't boot anymore and I only get access to fastboot or recovery mode. I tried to

fastboot boot boot.img

but it doesn't works :(. I downloaded the Full OTA (OnePlus6Oxygen_22_OTA_009_all_1805172226_4f2de.zip). Any idea how to flash it?
[OnePlus 6 Guides, News, & Discussion] jcespi2005:
If you can boot to stock recovery, you can install using adb sideload... should work.
[OnePlus 6 Guides, News, & Discussion] gilcn:
Nope :(.

I'll be trying the method described here : https://xdaforums.com/oneplus-6/how...-oxygen-os-t3792244/post76608874#post76608874 but I'm just waiting for the file to finish downloading.

Edit:

OK... My device is repaired now :). Beware with factory resetting your device after rooting it!
[OnePlus 6 Guides, News, & Discussion] shubham399:
still loosing root after some times, Just left phone ideal

Will get back root after restarting.

Also I have excluded Magisk Manager from battery Optimisation
[OnePlus 6 Guides, News, & Discussion] jacdelad:
I already searched the whole thread and some others but couldn't find information: any way to remove the "your bootloader is unlocked..." message on every boot? Nothing serious, but a bit annoying.

Edit: more research told me I can't. Well, still ok.
[OnePlus 6 Guides, News, & Discussion] zanderzone:
Damm man, sweet I m rooted now,
[OnePlus 6 Guides, News, & Discussion] jacdelad:
Everything worked but after factory resetting my phone it only boots to recovery. What now?

Edit: I downloaded stock boot.img but it still doesn't boot. Now I'm downloading the full 5.1.5. but how do I flash it via fastboot?
[OnePlus 6 Guides, News, & Discussion] Pundy:
Flash boot.img again, not the patched one, the stock one.

Reboot, go through the start menu and try again to root see 1st. post.

And don't use factory reset after rooting :)
[OnePlus 6 Guides, News, & Discussion] jacdelad:
Thx, but it didn't work. It still boots to recovery. How can I flash the full image?
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Maybe the wrong one? There are two, depending on the firmware you are
[OnePlus 6 Guides, News, & Discussion] jacdelad:
I'm on 5.1.5 and used the 5.1.5 from here: https://xdaforums.com/oneplus-6/how-to/oneplus-6-mirrors-official-oxygen-os-t3792244

I downloaded the full image from the same thread, how do I install it via fastboot?

---------- Post added at 03:09 PM ---------- Previous post was at 03:03 PM ----------

Jesus Christ, it seems to work now.

@OP: Maybe I'm the only one that stupid, but maybe you can include a hint not to factory reset after rooting with your method.

Works. Sigh. :)
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Type fastboot boot oneplus6oxygen_22_ota_009_all_1805172226_boot.img (the name of the file)

That should work
[OnePlus 6 Guides, News, & Discussion] jacdelad:
Thanks. Works again. Had to fullwipe via recovery again and it booted up. :)
[OnePlus 6 Guides, News, & Discussion] amithiel:
Does locking the bootloader again reverts back this widevine issue?
[OnePlus 6 Guides, News, & Discussion] dustintinsley:
Yes

---------- Post added at 02:37 PM ---------- Previous post was at 02:34 PM ----------

This is true. However, I am willing to believe that could be due to the fact that the Pixel is a Google branded phone, so maybe they gave themselves that advantage...
[OnePlus 6 Guides, News, & Discussion] mx597turbo:
Just an FYI - you have to either have your sim in or be on wifi to install Magisk. Thought I was having an issue when the install option was missing.

Also, Google Pay is working.
[OnePlus 6 Guides, News, & Discussion] GizmoFreak:
Thank you! I have created a video. Hope it will be helpful.

[YOUTUBE]V5zJvcXGmrk[/YOUTUBE]
[OnePlus 6 Guides, News, & Discussion] kenny17430:
If I'm rooted will it stop me from getting update from oneplus ?
[OnePlus 6 Guides, News, & Discussion] Takumashii:
No
[OnePlus 6 Guides, News, & Discussion] Raylon00:
Worked perfect. It should be noted, Your computer will not recognize your OP6, with the fastboot command, unless you have your phone in bootloader mode. Took me a few min to work that out.
[OnePlus 6 Guides, News, & Discussion] iElvis:
It was possible to do on HTC phones, but it required hex-editing the aboot partition to blank that text in the code. I imagine people have looked into something similar with OP phones and it's not possible.
[OnePlus 6 Guides, News, & Discussion] magnamentis:
there is a way to get rid of it, re-lock the bootloader ;)

[JK]
[OnePlus 6 Guides, News, & Discussion] iElvis:
Nice desk plants. ;)
[OnePlus 6 Guides, News, & Discussion] djkidd:
Is anyone having any app crashing problem after rooting it? I just read in another topic someone tried to root using magisk 16.4 and used their own patched boot.img and when they uninstalled some google apps (i.e. music, gboard, etc), they saw twitter and amazon apps crashing. I am getting my phone this afternoon and I want to make sure I don't have to worry about apps crashing on me since I plan to do this immediately. Thanks.
[OnePlus 6 Guides, News, & Discussion] b1czu:
I don't have any problems like this. But I haven't removed any of stock google apps.
[OnePlus 6 Guides, News, & Discussion] billyvenner:
Hello, I followed the procedure perfectly using the provided patched image file and I can't seem to install modules. This is my error log:

- Copying zip to temp directory
- Installing iOS 11.1 Beta 2 Emoji.zip
- Mounting /system, /vendor, /data, /cache
***********************************
! /data/magisk isn't setup properly!
! Please install Magisk v14.0+!
***********************************
Failed!
! Installation failed

I've tried doing the process again but with no luck.

Anyone know what's up? Thanks!
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Read point 4-7 of the first post again. They give the important information. And before installing, delete all downloaded magisk-apk´s in the magisk-folder. Otherwise the installer would try to install the wrong app (at least I think so).
[OnePlus 6 Guides, News, & Discussion] A.Priori:
is the root with this method stable? anyone losing root on reboot?
[OnePlus 6 Guides, News, & Discussion] manasgirdhar:
Haven't lost it Yet, rebooted at least a dozen times after rooting
[OnePlus 6 Guides, News, & Discussion] A.Priori:
thanks! good to hear
[OnePlus 6 Guides, News, & Discussion] SaGaR_:
hello, I've always avoided unlocking bootloader before when rooting, but as it seems that is impossible with the new Android versions, I'm gonna have to go down that road. I was only wondering, am I right understanding that by flashing the original boot.img you can relock the bootloader?
[OnePlus 6 Guides, News, & Discussion] BoboBrazil:
If I'm correct this is just the same root method from the Pixel 2 XL thanks to the a/b partitions. So going forward you probably have to continue to download modified boot .imgs with each update to continue to have root or modify them yourself. It's not as easy as the old ways of root.
[OnePlus 6 Guides, News, & Discussion] iElvis:
Usually you have to use the "fastbook oem lock" command to relock.

But relocking after modding a phone is not the best practice. If you don't do it right, you can get stuck in a bootloop or lock your phone into an unstable configuration. Though that's likely less of a risk with this phone, that is unlockable by design.
[OnePlus 6 Guides, News, & Discussion] SaGaR_:
and how will I go back to stock then? flash stock image and then stock boot.img?
[OnePlus 6 Guides, News, & Discussion] Alex240188:
If memory serves me right you used to have to lock bootloader, then flash factory images after removing bootloader from recovery.

But from what I've heard the stuck recovery doesn't have adb sideload so I'd probably avoid that for now.
[OnePlus 6 Guides, News, & Discussion] Poloasis:
Correct! Until a way to flash stock image back to sock somehow, avoid re-locking the bootloader if you modified any system partition.
[OnePlus 6 Guides, News, & Discussion] danw1028:
Worked perfectly thanks!
[OnePlus 6 Guides, News, & Discussion] lollyjay:
Ya same here ?
[OnePlus 6 Guides, News, & Discussion] S-C:
Any suggestions for getting rid of the unlocked bootloader warning??
[OnePlus 6 Guides, News, & Discussion] panart:
That's not possible, it's been like that at least since OP3T (the first OnePlus device i've owned).