yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
Yeah, same problem for me as well. Full of randomly named files and folder in twrp.

---------- Post added at 16:52 ---------- Previous post was at 16:03 ----------

I've made a Magisk patched boot image for Android P DP3.

I don't know if I can post this here. If this is wrong kindly delete this post. Thanks.

Download it from here: Google Drive

Follow the remaining instructions from OP
[OnePlus 6 Guides, News, & Discussion] elmu:
I can't remember how i can flash new boot.img file??:D can you tell me command please?:)
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
Look at the OP post on the first page! :) just use the name of the new patched boot-image
[OnePlus 6 Guides, News, & Discussion] elmu:
i did it! Can i get safetynet working?:D
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
Yes. Flash the patched 5.1.9 boot image. After the reboot, open Magisk Manager, install the update (today released) and make sure "preserve force encryption" & "preserve AVB 2.0/dm-verity" are ticked. After the direct install of magisk, reboot and ctsProfile should be green :) (as long as you haven't installed anything which breaks it, like xposed etc.)
[OnePlus 6 Guides, News, & Discussion] elmu:
ok let's try:)
[OnePlus 6 Guides, News, & Discussion] varun.gid:
can the 5.1.9 patched image to added to OP i don't see it.
[OnePlus 6 Guides, News, & Discussion] elmu:
i watch same...wwhere i can get 5.1.9 image
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
You can get it here, or here, or here ...

The OP will surely add it once he's online ;)
[OnePlus 6 Guides, News, & Discussion] Alex240188:
Had weird bug after updating Magisk today.

CTS profile failed safetynet.

Had to restore to stock image and repatch to get it to pass again
[OnePlus 6 Guides, News, & Discussion] storm313:
I need help please.

I just updated my phone to 5.1.9

But when I go back to Magisk, then I select Install, then Install again, I do not see "Install to Second Slot (After OTA)"

What am I to do? Please help thank you

---------- Post added at 08:12 PM ---------- Previous post was at 08:07 PM ----------

Please note that I did not reboot.

I simply opened Magisk, select Uninstall, then update to 5.1.9, then cleared all apps and opened Magisk and now I cannot find "Install to Second Slot (After OTA)" when I select Install, Install after reopening Magisk

Magisk is on Beta channel and is on version 16.7
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
Read the last couple of pages, you'll find everything you need. Install to second slot got removed due to incompatibility & problems.
[OnePlus 6 Guides, News, & Discussion] storm313:
I still have stock recovery and would like to keep if possible as well as keep root.

---------- Post added at 08:43 PM ---------- Previous post was at 08:25 PM ----------

Reading all that and I'm confused asf.

Can someone explain what exactly am I to do please at this point.
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
Here you go:
[OnePlus 6 Guides, News, & Discussion] storm313:
Okay I got it...
[OnePlus 6 Guides, News, & Discussion] amihir:
Even I did not find that option !

But thanks to Depressed T.Bear and those involved in patching OOS 5.1.9 boot image, I successfully updated and rooted my device !

OOS- 5.1.9

Magisk- 16.7

Safety net- pass
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
fastboot boot (patched_boot_filename_here.img)

reboot and follow the rest of the instructions from the OP.
[OnePlus 6 Guides, News, & Discussion] xjack03:
Hi, I followed the instructions and installation of Magisk and Root was fine. When I was done, I have disabled USB debuging and OEM Unlock. After a reboot, the phone is stuck in a bootloop. I needed to wipe it by recovery. Is there a way how to lock OEM bootloader and keep root?
[OnePlus 6 Guides, News, & Discussion] Alex240188:
No you cannot lock with root
[OnePlus 6 Guides, News, & Discussion] Terrigible:
Not true,

Uninstall Magisk→Restore Images

Install lastest Magisk with both checkboxes
[OnePlus 6 Guides, News, & Discussion] varun.gid:
So i tried to pair my Samsung gear s3 after root, Samsung pay doesn't work. Says unauthorized changes have been made? Anyone using Samsung pay with root? How to make it work?
[OnePlus 6 Guides, News, & Discussion] ManikandanGuru:
You cannot have locked bootloader and root at the same time.

You've to unlock the bootloader and stay unlocked to have root.

And for good sake don't relock the bootloader, it will wipe your data and worst case it will brick your phone.
[OnePlus 6 Guides, News, & Discussion] TheCreat:
Wrong forum and wrong thread, this is about the OnePlus 6 (not anything Samsung).
[OnePlus 6 Guides, News, & Discussion] varun.gid:
Lol u should read before commenting! I have a OP6 rooted with Magisk and want to connect my Samsung Gear to it to use Samsung pay. Anyway i figured it by hiding Magisk for Samsung Gear.
[OnePlus 6 Guides, News, & Discussion] iElvis:
You may need to reset your watch and re-pair it. I had to reset and re-pair my Huawei Watch after a full wipe before it would connect.

I believe people have reported using Samsung Pay on a Gear with a rooted OP6.
[OnePlus 6 Guides, News, & Discussion] robotanalysis:
Not turning on or unable to connect to a specific SSID?
[OnePlus 6 Guides, News, & Discussion] sakura_candy:
Dang it, forgot to use magisk install to second partition before rebooting after OTA upgrade. Is there a way to get 5.1.9 patched boot image somewhere?

GOT IT 2 pages up. thanks!
[OnePlus 6 Guides, News, & Discussion] Spark1223:
That option has been removed anyways, at least, temporarily.
[OnePlus 6 Guides, News, & Discussion] ripplez:
OOS 5.1.9

the update for OOS 5.1.9 has just come out, any idea how we can get hold of the patched boot.img for this version?
[OnePlus 6 Guides, News, & Discussion] TheCreat:
Seriously, 2 posts above yours you'll find some information...
[OnePlus 6 Guides, News, & Discussion] GizmoFreak:
Created a video, hope it will be helpful for future versions as well.

[YOUTUBE]TdcQ9VUb1Bk[/YOUTUBE]
[OnePlus 6 Guides, News, & Discussion] genevalpha:
Somebody please help me.

I've rooted my OP6 (OOS 5.1.9) using [MENTION=1894196]b1czu[/MENTION] method on this thread, and used the patched boot for 5.1.9 .img also.

Now after that my dash charging seems not working. No "thunder" icon, and just red led.

Anyone facing this???

Please help me how to get dash charge works again.

Thank you.
[OnePlus 6 Guides, News, & Discussion] gyoung:
Is there any good reason why one should keep the the stock boot recovery? And try to root without TWRP?
[OnePlus 6 Guides, News, & Discussion] typhoonikan:
Ok quick question, so I've unlocked, custom recovery'd, and rooted. I've borked something from my own doing because I ha e some apps force closing on me... How do I wipe again if needed? Should I simply rerun fastboot boot 5.1.9_patched.img or can I just do a normal factory reset?

I'm used to reflashing zips within TWRP in the past...
[OnePlus 6 Guides, News, & Discussion] genevalpha:
Can someone help me with this? Pretty please.
[OnePlus 6 Guides, News, & Discussion] Paz9:
why beta ands not stable?
[OnePlus 6 Guides, News, & Discussion] Antieco:
Hi I just received my brand new oneplus 6, it updated to latest OTA. How to do I root it with this method, as I'm reading many people did it but they were already rooted and had magisk installed.

Thanks!

Enviado desde mi ONEPLUS A6003 mediante Tapatalk
[OnePlus 6 Guides, News, & Discussion] brown1178:
Follow the guide in my signature
[OnePlus 6 Guides, News, & Discussion] Terrigible:
Try reinstalling Magisk first

The patched boot image just allows you to direct install with Magisk.

If you want to factory reset, you have to Uninstall→Restore Images first

Should you brick your phone, follow this guide:

https://xdaforums.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
[OnePlus 6 Guides, News, & Discussion] Phil-o-Sophic:
I followed the tutorial and everything worked perfectly fine up until this point.

I don't have the option to 'install to second slot'.

Problem is that now I downloaded the OTA update already and can't reboot the phone because I'd lose root...
[OnePlus 6 Guides, News, & Discussion] mjktfw:
As the option was bugged, it was deleted on purpose in the current version.

---------- Post added at 01:15 PM ---------- Previous post was at 01:02 PM ----------

You can download the latest boot image from here https://androidfilehost.com/?fid=5862345805528050769 and patch this manually.
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
Look at my post #528, all instructions are there
[OnePlus 6 Guides, News, & Discussion] genevalpha:
Someone please help me
[OnePlus 6 Guides, News, & Discussion] alirey:
- try another dash power supply/cable

- install a battery monitor app an check how much ampere/s when power connected

- if nothing helps: restore your boot image in magisk (uninstall image) and restore op6 to factory settings, to check if root is the culprit (I don't think so)

Anyway...classic troubleshooting :o
[OnePlus 6 Guides, News, & Discussion] genevalpha:
I revert all the way back. Flash stock 5.1.9 and yeah, dashcharge works. So on my device root is the problem. This is strange.
[OnePlus 6 Guides, News, & Discussion] typhoonikan:
Thank you. I managed to do it today easily in one swoop. What I did:

Advanced Wiped everything

Flashed 5.1.9 full ota

Got twrp'd

Fastboot patched 5.1.9

Installed magisk apk
[OnePlus 6 Guides, News, & Discussion] manishiano:
Hi, can u help me how did u patched boot. Img For OOS 5.1.9

. I installed ota directly and now my root is gone☹️
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
To patch it yourself, read the first post.

But there're already some patched images, just read my detailed instructions on post #528
[OnePlus 6 Guides, News, & Discussion] manishiano:
sir, im still not that advance user to go through and understand all the steps by myself...i tried to do it but got lost in the middle..

it would be a great help if you could provide me the patched image for 5.1.9

Thank you.
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
So you didn't read the last couple of posts... For the next time - you're probably not alone with your problems, so please read at least the last few sites of this thread.

Anyway here you go:
[OnePlus 6 Guides, News, & Discussion] manishiano:
i ll keep that in mind. Thank you so much.:o
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
You're welcome, no problem :)
[OnePlus 6 Guides, News, & Discussion] cuSemek:
Can you use the 5.1.8 one on Android 9 DP3?
[OnePlus 6 Guides, News, & Discussion] Terrigible:
No, you will have to patch the boot image yourself
[OnePlus 6 Guides, News, & Discussion] brown1178:
Read the guide in my signature. No need to patch a boot.img. Just boot twrp and flash magisk...
[OnePlus 6 Guides, News, & Discussion] qvert:
quick question,

is there a way to boot the twrp via a terminal from the phone? to skip the fastboot boot blabla.img step?

so that an OTA can be done basically by 100% using the Phone?

Which than means

1. get OTA and install OTA

2. do not reboot but (IF POSSIBLE) boot directly via terminal to twrp

3. install magisk zip

done? :)
[OnePlus 6 Guides, News, & Discussion] brown1178:
MagiskManager used to have the option to install to second slot. Since this option is gone you will need twrp to do the trick. I don't know if it is possible to boot a twrp.img located on the phone, this would be really handy.
[OnePlus 6 Guides, News, & Discussion] quantumcity:
I have 5.1.9 and my SafetyNet Check is failing. It worked a day or two ago when I unlocked and rooted my phone, but now it's failing.

An app I want to use (blind) can detect my phone is rooted, despite the fact root is hidden from it using magisk hide.

Any idea why my SafetyNet check could be failing or how to fix it? I already tried tapping the install button in magisk again, tapping the direct method, and the then rebooting my phone to no avail
[OnePlus 6 Guides, News, & Discussion] iElvis:
Magisk is not 100% stable (especially the beta versions everyone is using on the OP6) and can go sideways at times. If you didn't install xposed or some other mod that broke safetynet, you need to do a full wipe and reinstall OOS. Similar things have happened to me on this phone a couple of times.
[OnePlus 6 Guides, News, & Discussion] dgunn:
Does this wipe any data from the phone?
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
No. Only if you unlock the bootloader, all data will be wiped (for security purposes, obviously).

If you're already unlocked (/ rooted), nothing will be wiped. It's only the bootimage which is 'pre-rooted' so that you can install Magisk with root privileges from the magisk manager permanently.
[OnePlus 6 Guides, News, & Discussion] nitinvaid:
i can use tez and other apps with it?
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
I don't know tez, so I can't give you an exact answer.

Basically Magisk has a build in 'hide' function which works for many apps.

But some companies / Devs have a more advanced approach to detect root. They don't look for f.e. root binaries, but for apps like Titanium Backup etc. which will most likely require root (at least for full functionality). They assume then, that's is a high chance of an existing root on your phone.

But you could also bypass this, f.e. with restricting the detection of installed apps for specific apps (e.g. Xprivacy Lua etc.).

Also, there might be some xposed modules which tame the curiosity of those apps.

The devs / companies find a way to detect our root, we find ways to hide it. Endless story (well, at least until one side decides that it's not worth the work anymore).
[OnePlus 6 Guides, News, & Discussion] williamcll:
Is there a working method for 5.1.9? Got TWRP and Magisk installed and safetynet is working, but google pay is still not letting me add card.
[OnePlus 6 Guides, News, & Discussion] yldlj:
Working fine here. My Google play store was uncertified but after I cleared app data its now certified. Not sure if that can effect Google pay or not.
[OnePlus 6 Guides, News, & Discussion] williamcll:
Do I just install it like 5.1.8?
[OnePlus 6 Guides, News, & Discussion] Stern52:
Is it safe to use magisk modules after rooting via this method? Or does the lack of a custom recovery create any problems?
[OnePlus 6 Guides, News, & Discussion] :
Vanced YouTube modul works great.
[OnePlus 6 Guides, News, & Discussion] Neurom67:
Thanks Root works fine. Anyone have an idea about Viper4Android for OP6
[OnePlus 6 Guides, News, & Discussion] brown1178:
Doesn't OOS come with an headphone equalizer?
[OnePlus 6 Guides, News, & Discussion] Astrubale:
[MENTION=1894196]b1czu[/MENTION] Give credits pls :)
[OnePlus 6 Guides, News, & Discussion] Neurom67:
Anyone have an idea about xposed works
[OnePlus 6 Guides, News, & Discussion] iElvis:
This is a guide. No original development here.

No twrp = no way to flash the framework. But since xposed for Oreo is official, little reason think it won't.
[OnePlus 6 Guides, News, & Discussion] CautiousBites:
I need viper4android in my life im using my friend's oneplus 6 rn and its great
[OnePlus 6 Guides, News, & Discussion] Striatum_bdr:
Magisk uses its own partition image for modules, no need for a custom recovery for that
[OnePlus 6 Guides, News, & Discussion] kodrnusa:
I have allready set up my oneplus 6. If I unlock bootloader and root will it wipe my phone?
[OnePlus 6 Guides, News, & Discussion] Eremitus:
VIPER4Android FX for Magisk v15 works without any additional patches/plugins, but may be older version. You can find it via Magisk search.
[OnePlus 6 Guides, News, & Discussion] iElvis:
I have never actually installed any Magisk modules; I've only used xposed. But I believe there are a lot more xposed modules out there.
[OnePlus 6 Guides, News, & Discussion] KnifeFed:
Yes.
[OnePlus 6 Guides, News, & Discussion] OPO13R:
This guide is so PERFECT, I'm still amazed. Straight to business, no BS, and the best thing about it is, it WORKS :D Thanks a lot, man!

One thing, though: Downloading magisk modules via Magisk manager always ends in an app crash. Boot is still there, it's just about the modules. Could this be due to the beta version?
[OnePlus 6 Guides, News, & Discussion] Bigs1985:
Amazing work! Thank you!
[OnePlus 6 Guides, News, & Discussion] Displax:
Update Chrome and WebView from Google Play.
[OnePlus 6 Guides, News, & Discussion] Funk Wizard:
Unlocking bootloader would Rooting it wont :good:
[OnePlus 6 Guides, News, & Discussion] OPO13R:
This fixed the downloading issue for me, but sadly the installation of the modules (e.g.: Youtube Vanced Repo 13.18.54) fails with the error message
[OnePlus 6 Guides, News, & Discussion] haso_aga:
Thank you! Magiks worked fine
[OnePlus 6 Guides, News, & Discussion] Solution6996:
I get a message my bootloader is unlocked already :( I don't suppose there's a way to get rid of it?
[OnePlus 6 Guides, News, & Discussion] yldlj:
Huh? Install what? I just said clear data from play store.
[OnePlus 6 Guides, News, & Discussion] williamcll:
I mean flashing the boot.img on this thread.
[OnePlus 6 Guides, News, & Discussion] matrixkid:
With regards to point (3) How crucial is it?

can I still follow this procedure if I have already rebooted normally after installing OTA?
[OnePlus 6 Guides, News, & Discussion] Alex240188:
Yes you can just reboot to bootloader and continue by booting the patched image
[OnePlus 6 Guides, News, & Discussion] geoff5093:
Any tips on how to keep root with 5.1.11?
[OnePlus 6 Guides, News, & Discussion] null0seven:
Now if you have root on 5.1.9, use Magisk unistaller 19.07.2018 to unistall Magisk .

Flash Oos 5.1.11 thruu Twrp. For me local upgrade not working.

Reflash twrp. Reboot to recovery.

Flash Magisk 16.0. Reboot to system.
[OnePlus 6 Guides, News, & Discussion] habylab:
Don't need to do this. I flashed the full update, then twrp, then magisk. Done.
[OnePlus 6 Guides, News, & Discussion] czerdrill:
Please don't clutter this thread if you have twrp installed. This is for people who still have stock recovery.
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
Yes, just published the pre-rooted bootimage for 5.1.11 here :good:
[OnePlus 6 Guides, News, & Discussion] mrinank67:
So, I updated to 5.1.11 and booted into twrp to install magisk, and now safety net is showing "invalid response" and a popup when I boot the device. So can I uninstall magisk (restore images) and then use the patched boot image to install magisk again, will it install normally?

---------- Post added at 06:45 PM ---------- Previous post was at 06:44 PM ----------

Booted means temporary boot using fastboot
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
The procedure shown in this thread is intended for users who don't want to use a custom recovery like TWRP.

All I can confirm, is that by rooting with this method here, all checks will pass.

Maybe it's related to TWRP or something you flashed with it.
[OnePlus 6 Guides, News, & Discussion] Ramihyn:
Google changed the Safenet check API. It now requires an API key, which current Magisk releases don't have. Thus the "invalid response" message.

If you use an App from the google play store to check your Safetynet status instead (which already HAS the API key inside!), it'll still show everything is fine.

The message is a pure display issue, nothing else.
[OnePlus 6 Guides, News, & Discussion] mrinank67:
I'll try to reinstall magisk using the boot image you provided!

---------- Post added at 03:27 AM ---------- Previous post was at 03:26 AM ----------

I thought the same thing as everything safety net related seemed to work, except for the magisk app, thank you for clarifying!
[OnePlus 6 Guides, News, & Discussion] Vuska:
is there a way to root with magisk without twrp and PC ?

just update from updater last night.. and lose my twrp and root.

i dont have computer with me this week.
[OnePlus 6 Guides, News, & Discussion] alirey:
Delete
[OnePlus 6 Guides, News, & Discussion] Solution6996:
Does anyone need the patched boot.img's for versions past 5.1.8, and if so what would be the best way to deliver/upload them for the thread?
[OnePlus 6 Guides, News, & Discussion] SMS786:
Best way is to probably upload them to https://androidfilehost.com and post the links.
[OnePlus 6 Guides, News, & Discussion] JiiJii:
Does this old guide work for 5.1.11 too? Using updeted boot image and rom.

Originally Posted by Depressed T.Bear

1. Download the patched 5.1.9 boot-image.

2. Install the OOS Update, don't restart normally afterwards.

3. After installing the update, directly reboot to fastboot mode.

4. Flash the patched 5.1.9 boot image via fastboot.

5. Your phone starts normally. Open Magisk Manager and (direct) install magisk

6. Reboot and you're done
[OnePlus 6 Guides, News, & Discussion] AlbioB:
I guess it should work. Anyone tested it?
[OnePlus 6 Guides, News, & Discussion] amihir:
Please gimme the commands for flashing boot.img in fastboot mode. I don't want to risk my phone.
[OnePlus 6 Guides, News, & Discussion] RiTCHiE007:
no, thats not correct. It should say boot from fastboot and then when its booted then open magisk manager and install the recommended way.

So, update the phone then reboot phone to bootloader then connect to adb and fastboot from the patched magisk and then after boot, open up magisk and install recommended and its rooted again without trwp and safety checks passed
[OnePlus 6 Guides, News, & Discussion] freshh:
hi

i have a op6 with android 9 dp3 oxygen os 5.1.0, what the version must i have to download please ?

thx
[OnePlus 6 Guides, News, & Discussion] alirey:
Just successfully rooted 5.1.11 with patched boot image.

- install full OTA

- reboot to Bootloader

- fastboot boot 5_1_11_patched_boot.img

- magisk --> install

- reboot --> done

Info: had to reinstall YouTube vanced via magisk because it was not visible anymore.

Also the annoying daylight flickering disappeared.
[OnePlus 6 Guides, News, & Discussion] zSyntex:
You're right, this is my favourite method to get stock and root.

Unfrotunately, the last update has a worse battery life..
[OnePlus 6 Guides, News, & Discussion] 7drlclk:
Where can I find the 5_1_11_patched_boot.img file?
[OnePlus 6 Guides, News, & Discussion] alirey:
https://xdaforums.com/oneplus-6/how-to/oos-5-1-11-pre-rooted-bootimage-t3829792
[OnePlus 6 Guides, News, & Discussion] njeri123:
Will it be possible to update the device in the near future without connecting to the computer?
[OnePlus 6 Guides, News, & Discussion] Spark1223:
TopJohnWu, the developer of Magisk, has removed the install to second slot option, that would allow easy rooting for OTA updates, due to the fact it was not working with some Pixel phones. He has stated on twitter he will do his best to bring the feature back before stable v17 comes out. I personally don't expect this for a month or two.
[OnePlus 6 Guides, News, & Discussion] AlbioB:
You will lose all root apps on first boot.

But yes you can fastboot the patched image to install Magisk later.
[OnePlus 6 Guides, News, & Discussion] Bananebieger:
Worked for me too.
[OnePlus 6 Guides, News, & Discussion] Eny17:
Ho da poco oneplus 6

I recently started oneplus 6 with 5.1.11 and I unblocked the bootloader. Is there a way to get root without installing twrp from my firmware version?

Thanks
[OnePlus 6 Guides, News, & Discussion] Terrigible:
The guide is about rooting without TWRP. What are you talking about?
[OnePlus 6 Guides, News, & Discussion] Eny17:
You want to put magisk without twrp but I have 5.1.11 and bootloader unlocked
[OnePlus 6 Guides, News, & Discussion] Terrigible:
Get the stock boot image for 5.1.11 here: https://xdaforums.com/oneplus-6/how-to/oneplus-6-mirrors-official-oxygen-os-t3792244 and patch it in Magisk. Then continue with the guide.
[OnePlus 6 Guides, News, & Discussion] Eny17:
OK grazie
[OnePlus 6 Guides, News, & Discussion] whymista:
So I previously rooted my OP6 thats on DP3 using twrp then magisk so safety net is broken. Would I just need to factory reset and then follow these steps or is there a way I can unroot without having to do a wipe? I've been flashing/rooting forever but never attempted to unroot. Thanks.