yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 Guides, News, & Discussion] brown1178:
It's #2, but yes just look there how to get root access.

---------- Post added at 06:41 AM ---------- Previous post was at 06:38 AM ----------

Hey everybody,

I was wondering if it's still not recommended to do a factory reset. I would like to reset because of some issues with google backup and voice match. So what would you suggest?

1. Placing the full OTA.zip on the phone and do a local upgrade?

2. Factory reset from settings?

3. Boot twrp, wipe system and cache, flash OTA.zip, flash magisk
[OnePlus 6 Guides, News, & Discussion] czerdrill:
I thought so too, but that's not what I seem to be reading. If you want to test for me, please feel free :laugh:
[OnePlus 6 Guides, News, & Discussion] brown1178:
I think if you delete the folders seperately, then you should be ok. But if you remove the user 999 like described, then you're in trouble.
[OnePlus 6 Guides, News, & Discussion] czerdrill:
Maybe, but I've seen things where people said that wasn't the case. Just too worried about it to risk it. I have no problem just flashing back to stock if something goes haywire. I've been rooting and ROMing for a decade so I'm not too worried about it. It's just a minor inconvenience if I don't have a TWRP backup, just don't want to risk anything without knowing for sure.
[OnePlus 6 Guides, News, & Discussion] stkman32:
Anyone have issue with wi-fi after doing this?
[OnePlus 6 Guides, News, & Discussion] brown1178:
I totally understand you! I always used to have TWRP backups eating up my internal storage, and more than once they didn't work and I ended up with a clean flash. If you have you a TitaniumBackup of your apps and WiFi access points, this saves you a lot of time. Talking about backups, the Google sync for settings sms/call and so on doesn't seem to work. Don't know if this is an issue with G-Drive because 3 of my phones, and 3 G-Accounts are affected, what would you use to backup system settings?
[OnePlus 6 Guides, News, & Discussion] patrickdass:
Got it to work by clearing play store app data.
[OnePlus 6 Guides, News, & Discussion] virusgandhi:
R00ted 5.1.8 OOS in one G0 ...Thank you :)
[OnePlus 6 Guides, News, & Discussion] Lechux:
I'm on 5.1.8. Did everything as descripton says, but after installing Magisk I have only "Installed Version" and "Uninstall" option as shown in attachment. Log also attached.

Any advice?

EDIT: Solved - I wasn't connected to wifi :)
[OnePlus 6 Guides, News, & Discussion] seschaum:
Thanks - confirmed it also now!
[OnePlus 6 Guides, News, & Discussion] ditchmagnet:
Try this:

1. Uninstall the magisk manager app

2. download (to your PC) twrp for oneplus 6 - https://twrp.me/oneplus/oneplus6.html

3. Reboot to bootloader and connect to PC

3. Run

fastboot boot twrp-3.2.1-0-enchilada.img

from your PC

4. In TWRP on your phone "Install" and find magisk 16.4 zip and flash it.

5. reboot your phone and install the magisk APK. (you should be all set)
[OnePlus 6 Guides, News, & Discussion] ditchmagnet:
Strange thing happening to me. I noticed I keep "losing" root after the phone has been on a few minutes. I have to reboot and then I have root for a little.

I downloaded the full factory rom (5.1.8) and installed it. I rebooted and re-rooted and it is still doing the same thing. Anyone else having this issue?
[OnePlus 6 Guides, News, & Discussion] mx597turbo:
- - - - -

---------- Post added at 09:36 PM ---------- Previous post was at 09:35 PM ----------

Did you change the update channel to beta in settings?
[OnePlus 6 Guides, News, & Discussion] ditchmagnet:
Yes, I have been doing that, apparently not the issue.
[OnePlus 6 Guides, News, & Discussion] geoff5093:
Not here
[OnePlus 6 Guides, News, & Discussion] vibrantliker:
I could be wrong but after looking at a few battery optimization threads, I turned off Keep wifi on during sleep from always to something else and that's where I noticed it wouldn't turn back on when waking, and when after turning wifi back on, it would turn off autimatically. So I just keep it always now.
[OnePlus 6 Guides, News, & Discussion] brown1178:
I had this issue even on Oneplus One and Oneplus 3, even on other ROMs. WiFi turns off when phone is in sleep mode but doesn't turn on correctly. So for a long time I always set it to always on.
[OnePlus 6 Guides, News, & Discussion] seriousbunny:
thanks
[OnePlus 6 Guides, News, & Discussion] Jack_Sparrow_:
I successfully rooted my OP and everything goes great, I was wondering If I can flash official TWRP without loosing data or root.

Can someone help me please? Thank you!!!:):):)
[OnePlus 6 Guides, News, & Discussion] dizM0nkey:
Anyone else get "! /data/adb/magisk_merge.img mount failed" ?

I followed OP instructions and Magisk 16.4 gets installed. Works like a charm on initial boot and I'm able to install modules. After I install may main modules, I reboot. I check and see they're all installed and working and they are!

I then try to install a NEW module or update an existing module (when an update exists) and all error with: ! /data/adb/magisk_merge.img mount failed

Again, any subsequent reboot after the initial Magisk installation boot (2nd, 3rd, 4th etc after the 1st boot after Direct Install & then reboot) results in all modules failing to install.

No other mods are installed except ElementalX kernel (this issue occurred before ElementalX install, as well).

Logs are attached.

I don't believe this is module related, but in case I've listed modules here:

ADB & Fastboot for Android NDK

Audio Modification Library

Busybox for Android NDK

F-Droid Privileged Extension

iOS11.1 Emoji

Magisk Manager for Recovery Mode

My Charger Controller

Nova & GoogleNow companion

OP_AlwaysOnDisplay_enabler

Sony-Music4Magisk

Unified Hosts Adblock

ViPER4Android FX Materialized

Wifi Bonding (Qualcomm)

YouTube Vanced black themed - Magisk Repo

Help is appreciated. Thanks!
[OnePlus 6 Guides, News, & Discussion] brown1178:
You will loose root, but not your data.

As described on TWRP.me and here many times, you have to fastboot boot twrp.img, the flash twrp-installer.zip and magisk.zip.

Same after an OTA, you have to flash twrp and magisk again. Custom kernel also needs to be flashed after updating the OS or recovery.
[OnePlus 6 Guides, News, & Discussion] Jack_Sparrow_:
Thank you!!! I'll flash twrp and then I'll root again with magisk ;)
[OnePlus 6 Guides, News, & Discussion] Michal Przybylowicz:
Works perfectly - Thank You.

I am on version 5.1.8.
[OnePlus 6 Guides, News, & Discussion] sater2006:
I am on 5.1.8 the phone is unlocked and installed patched_boot_magisk1642_518.img. I installed Magisk 5.7.0 but the Select Method on point 7. showed only:

*download Zip Only

*Patch Boot Image File

There is no "Direct Install"

Anyone have same problem?

Solved:Powering the phone off and restart.
[OnePlus 6 Guides, News, & Discussion] brown1178:
What do you mean with "is patched with..."?
[OnePlus 6 Guides, News, & Discussion] haax:
Is this possible to use OTA updates on OP6 rooted with this method?

Wysłane z mojego SM-G930F przy użyciu Tapatalka
[OnePlus 6 Guides, News, & Discussion] Alex240188:
Kind of.

You will get the OTA notifications.

But the updater will download the full update instead of the small patch
[OnePlus 6 Guides, News, & Discussion] recapi:
Can I lock fastboot again after rooted ?
[OnePlus 6 Guides, News, & Discussion] brown1178:
Yes but it will wipe everything and unroot your phone.
[OnePlus 6 Guides, News, & Discussion] storm313:
I am on 5.1.8

The phone is unlocked and patched with patched_boot_magisk1642_518.img. I installed Magisk 5.8.0

But when I open Magisk, I do not see anything inside the app.

Only Installed Version : v16.4

And Uninstall Button below.

Please see screenshot
[OnePlus 6 Guides, News, & Discussion] storm313:
How to resolve this issue?

---------- Post added at 07:22 PM ---------- Previous post was at 07:21 PM ----------

I also tried Magisk 5.7.0 and got same result
[OnePlus 6 Guides, News, & Discussion] alirey:
Check you internet connection.
[OnePlus 6 Guides, News, & Discussion] storm313:
Lol my bad.. Got it, thanks
[OnePlus 6 Guides, News, & Discussion] Flying Fox:
Are you clairvoyant :mad:
[OnePlus 6 Guides, News, & Discussion] HACK3DANDR0ID:
I tried Search and receive two results on v16.6 : So i ask has anyone able to get Magisk Beta v16.6 to work WITHOUT the Android Internal System Error at first boot? I had to downgrade to Magisk v16.4 to get rid of the ERROR.....

*edit*

And Sorry I just got my device today, so i'm new in these parts of XDA...
[OnePlus 6 Guides, News, & Discussion] Alex240188:
Not had this error that you speak of.

I was on 16.4 updated to 16.6 and all is behaving the same
[OnePlus 6 Guides, News, & Discussion] chakra:
Flash a custom kernel, the error is only with stock kernel.
[OnePlus 6 Guides, News, & Discussion] Terrigible:
Press Uninstall→Restore Images

Then Install Magisk (Direct Install) with both checkboxes ticked

Got mine to work like this with 16.6
[OnePlus 6 Guides, News, & Discussion] Pundy:
Good job! Problem with "internal error/problem" is now solved! :highfive:
[OnePlus 6 Guides, News, & Discussion] czerdrill:
Lost root with the 5.1.9 update. Does the method in the OP still work?
[OnePlus 6 Guides, News, & Discussion] XiaoAk:
can someone explain me in detail about this part? I'm confused about Step 3 and Step 4 :confused:
[OnePlus 6 Guides, News, & Discussion] uniQ191:
Not working with latest patched 518 img. :/

Would OP update the image?
[OnePlus 6 Guides, News, & Discussion] Nikos_s3:
Can we use this method using the full 5.1.9 ROM after updating locally? Or it should be only the OTA file? Thanks! :)
[OnePlus 6 Guides, News, & Discussion] weisguy:
The option to install to the second slot seems to be gone this time around.
[OnePlus 6 Guides, News, & Discussion] RagingHarry:
Just wondering.....

My last 2 clean setups with OOS 5.1.8 I went the bit more old way.

Install full OOS rom, boot twrp.img, install twrp.zip, reboot recovery then install magisk (beta or next).

But I seem to keep getting the popup about system problems after that.

Also I seem to have lost the option to when you install update and then want to patch "other slot" with Magisk.

Can get rid of the popup by installing EX or Blu, but rather would stay at stock kernel.

Also with this setup type I noticed that magisk is removing avb dm-verity.

Does the install sequence with, install OOS, boot rom, boot to bootloader, boot patched boot.img, install twrp.zip, reboot recovery install magisk, result in not having the system/kernel problems popup and is the 4th option of Magisk installing to the other slot still available?
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
I don't think so. At least I'm now stuck in the middle of the steps. OTA is downloaded and installed, but I can't install Magisk on the second partition... Simply because there ain't no option to do so!...

Does anybody know how to install it to the second slot after the OTA like the OP described? :/
[OnePlus 6 Guides, News, & Discussion] czerdrill:
Yeah same, i guess we have to wait for the patched version?
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
I don't know.

I'm sitting here with an installed update on the second slot und no possibility to go on -.-

What can I do now? Can I cancel the update thing somehow?
[OnePlus 6 Guides, News, & Discussion] czerdrill:
I don't think so, i rebooted and lost root. I saw in the other thread that someone patched the 5.1.9 so I'm going to try that when i get home
[OnePlus 6 Guides, News, & Discussion] brown1178:
If.you are rooted, you get always the full OTA instead of incremental or delta OTA. The updater recognizes a rooted devices and downloads the full file for you. Other than a more data usage and download time it's no difference.

I hope this answers your question, because your mixing terms like full ROM and OTA
[OnePlus 6 Guides, News, & Discussion] alirey:
Maybe terminal command.

Check the active slot(OTA updated) and change it to your actual slot while you still have root or fastboot to TWRP an root again

Which magisk version do you have installed?
[OnePlus 6 Guides, News, & Discussion] xwizard:
I used patched_boot.img from this post and following the OP instruction and it works.
[OnePlus 6 Guides, News, & Discussion] RagingHarry:
Going to give it a try...
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
Thanks. I just patched the 5.1.9 boot-image on my own and I'm gonna flash it soon :)

I had Magisk 16.6 installed. Unfortunately, I read that by using it, there'll be an error message on every reboot -.- I hope not
[OnePlus 6 Guides, News, & Discussion] czerdrill:
Yep it works if you use the patched boot img from the other thread, link in the above posts.
[OnePlus 6 Guides, News, & Discussion] quew:
I just installed the OTA and had Magisk & stock recovery.

After the update I did the following steps to boot into rooted 5.1.9 with STOCK recovery:

0.) Download Magisk-16.4.zip to your /sdcard/ on your phone (https://github.com/topjohnwu/Magisk/releases/download/v16.4/Magisk-v16.4.zip)

1.) Connect device to PC and type in terminal: adb reboot-bootloader

2.) Download twrp-3.2.2-0-enchilada.img to your PC (https://eu.dl.twrp.me/enchilada/twrp-3.2.2-0-enchilada.img.html)

3.) Type in terminal (in the folder where the .img is): fastboot boot twrp-3.2.2-0-enchilada.img

4.) TWRP is booting, decrypt with your pattern

5.) Click Install -> Magisk-16.4.zip (Magisk will install to new partition)

6.) After reboot, DO NOT INSTALL TWRP

7.) Everything should be booting up normally, start Magisk Manager and upgrade to 16.6 again (if needed)

8.) One final reboot to activate new Magisk version

Enjoy.
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
Yes, it worked flawlessly.

Even-though the update was already installed to the different slot, I rebooted directly into fastboot mode and flashed the pre-rooted bootimage.

After that, I simply installed Magisk via the Manager app, rebooted ét voila! No error messages and rooted :) Everything works as intended without doing sth (V4A, Xposed etc).

Nice :)
[OnePlus 6 Guides, News, & Discussion] Nikos_s3:
I didn't actually get the file via the updater. I have downloaded myself the full 5.1.9 ROM from a link given in another topic and it sits in my internal memory. So, I just asked if the method with the incremental OTA file and straight to magisk (without reboot first) works with the full OTA file (1.4GB) as well.

Thanks
[OnePlus 6 Guides, News, & Discussion] weisguy:
I stumbled onto the exact same sequence and met with success as well. Having previously had the magisk-triggered error, I reflashed the 5.1.9 update I had downloaded manually and previously applied before attempting root/TWRP again. (Settings -> System Updates -> Local Upgrade).
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
No, I think it wont work since Magisk no longer gives you the option to patch the boot-image on the second partition. Read above how to fix it :)
[OnePlus 6 Guides, News, & Discussion] RagingHarry:
1th of many attempts was boot patched image, install magisk, reboot to fastboot, boot twrp.img, install twrp, reboot to twrp install magisk, reboot system, ends in popup error after boot.

That's just the same as since 5.1.6 and some reinstalls after.

To me twrp seems to be the culprit atm, probably patching something wrong.

Just booting patched image and installing magisk next version works like a charm, no error popup at all after the reboot.

Guess I will stick to the OP's way of Magisk installing.

And if I want a backup only use boot twrp do what I need and boot back to system.
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
A custom recovery is not always ideal. Sometimes, it's not really necessary (especially now with systemless magisk modules). The OP6 is my first device ever without a custom recovery ;)
[OnePlus 6 Guides, News, & Discussion] RagingHarry:
For me it's kind of a habit since my Galaxy S1, most probably why I keep trying to get it running.

But with the new a/b stuff and this all being rather fresh, yes it's not ideal atm, and we still have the twrp boot option to do some boot.img backups before starting to test and tweak and to restore that working.img
[OnePlus 6 Guides, News, & Discussion] Nikos_s3:
Thanks Depressed T.Bear :)

I tried quew's method (post 483) and it worked fine. I am on 5.1.9 with stock recovery and rooted with magisk 16.4 :)
[OnePlus 6 Guides, News, & Discussion] Depressed T.Bear:
That's true, I also used to have it on my other phones to flash a lot of nice stuff to make it better, faster etc.

But the OnePlus 6 is a beast, I dont need to tweak/flash something, except for Xposed Framework (for Greenify) and Viper4Android (for sound, obviously^^). But since both are available as systemless magisk modules, I dont need TWRP at all. I can make Nandroid backups for security issues without it - And Titanium Backup does the rest for apps :)

---------- Post added at 10:08 PM ---------- Previous post was at 10:05 PM ----------

Glad to hear! :) :good:

Yes it's also a good way, but needs some additional steps because of twrp which aren't really needed in our case!

But the result's what matters! And its always good to have different ways for succeeding!
[OnePlus 6 Guides, News, & Discussion] aieromon:
What worked for me:

Download OOS 5.1.9 and update via local upgrade.

After installation,reboot into bootloader.

Connect device to PC and Flash the patched_boot.img file by noone.write.me via fastboot.

Phone restarts and Magisk 16.6 is safe along with all my modules.

No error message.
[OnePlus 6 Guides, News, & Discussion] Alex240188:
You hit the nail on the head.

When you install from twrp it patches out dmverity which is why you get the error on boot.

You can fix though as I have just installed Magisk through twrp for the first time seen as though Magisk 16.6 is missing the option to flash to 2nd slot. I also got the device has a problem error after booting.

You can fix by doing the following.

Go to Magisk manager and uninstall > restore images

This will revert you back to stock boot image but your current session is still rooted until rebooting.

Now tick both boxes for preserve encryption and preserve dmverity.

Then Install > install > direct install

This will properly patch and reinstall the boot image and after rebooting you won't get the error anymore.
[OnePlus 6 Guides, News, & Discussion] Odrilow:
Just got the 5.1.9 version, I tried to install the root 5.1.8 but don't works for this version, waiting for the new boot image ;)
[OnePlus 6 Guides, News, & Discussion] geoff5093:
Same. I wanted to switch to the stock recovery solution so I just flashed the OTA and figured I'd follow this once it's updated.
[OnePlus 6 Guides, News, & Discussion] bohemist:
This Works!

It works perfectly! I downloaded and installed Magisk 16.6

However, upon rebooting I've the message "There's an internal problem with your device..."

Fortunately, there is a way to get this message go away. Here's how to make that message disappear everytime you boot.
[OnePlus 6 Guides, News, & Discussion] mrinank67:
After the update, and root using quew's method, the Play Store is showing uncertified device status.

EDIT: It showed normal after clearing data and cache.
[OnePlus 6 Guides, News, & Discussion] Spark1223:
patch 5.1.9 boot img

I patched the 5.1.9 boot image. https://drive.google.com/open?id=1ujOFqqHPdbfESjltuxFDTx4YGpqxXCtB

I noticed when I attempted to install to second slot this time around the option was not present in Magisk. I am on Magisk Manager 16.0 . I am not the only one, I was guiding some through this and he also had the same issue. Anyone know what's going on here?
[OnePlus 6 Guides, News, & Discussion] Bananebieger:
I also was missing the "install to slot x" option. I used the patched image from another thread. Worked like a charm though.
[OnePlus 6 Guides, News, & Discussion] geoff5093:
Worked perfectly. I also don't have "install to second slot" as an option.
[OnePlus 6 Guides, News, & Discussion] Odrilow:
Oh nice ! I'll do it now !
[OnePlus 6 Guides, News, & Discussion] MrJones2k:
same problem here. Thats why I lost root. maybe the magisk dev removed OP6 a/b support. Thanks for the patched boot.img
[OnePlus 6 Guides, News, & Discussion] Alex240188:
They did remove it

https://github.com/topjohnwu/Magisk/commit/831112abd2d7fd3df0b1680d1c73c458512e7745
[OnePlus 6 Guides, News, & Discussion] geoff5093:
Damn, I wonder why. Does this mean we'll have to manually boot from the modded boot image, then do the direct install when an OTA comes out?
[OnePlus 6 Guides, News, & Discussion] Alex240188:
They probably found a bug in it or something.

The commit only says that it's not supported properly.

Modded boot image will probably be the best way to keep dmverity intact. Flashing through twrp can break it causing an error message on boot up. (Can be fixed by restoring images then reflashing in Magisk manager with preserve boxes checked)

You could do it with terminal emulator.

Apply update but don't reboot

Then in terminal emulator

DD the inactive boot image (stock of the new update) to the sdcard.

Patch it in Magisk

DD it back then reboot but it's a lot more work.
[OnePlus 6 Guides, News, & Discussion] stanley08:
Followed this. Works.
[OnePlus 6 Guides, News, & Discussion] ShiningAce:
Hi, so i have just dled and installed the OTA, then i realised i do not have the option to install in slot B. what should i do? i was rooted and would like to keep it that way.

is this what i should do?

0.) Download Magisk-16.4.zip to your /sdcard/ on your phone (https://github.com/topjohnwu/Magisk/...gisk-v16.4.zip)

1.) Connect device to PC and type in terminal: adb reboot-bootloader

2.) Download twrp-3.2.2-0-enchilada.img to your PC (https://eu.dl.twrp.me/enchilada/twrp...ilada.img.html)

3.) Type in terminal (in the folder where the .img is): fastboot boot twrp-3.2.2-0-enchilada.img

4.) TWRP is booting, decrypt with your pattern

5.) Click Install -> Magisk-16.4.zip (Magisk will install to new partition)

6.) After reboot, DO NOT INSTALL TWRP

7.) Everything should be booting up normally, start Magisk Manager and upgrade to 16.6 again (if needed)

8.) One final reboot to activate new Magisk version

---------- Post added at 09:55 AM ---------- Previous post was at 09:50 AM ----------

hi, so i have just installed the latest OTA and realised i do not have the option to install in slot B, i am rooted and would like to keep it that way.

should i do the followings?

0.) Download Magisk-16.4.zip to your /sdcard/ on your phone (https://github.com/topjohnwu/Magisk/...gisk-v16.4.zip)

1.) Connect device to PC and type in terminal: adb reboot-bootloader

2.) Download twrp-3.2.2-0-enchilada.img to your PC (https://eu.dl.twrp.me/enchilada/twrp...ilada.img.html)

3.) Type in terminal (in the folder where the .img is): fastboot boot twrp-3.2.2-0-enchilada.img

4.) TWRP is booting, decrypt with your pattern

5.) Click Install -> Magisk-16.4.zip (Magisk will install to new partition)

6.) After reboot, DO NOT INSTALL TWRP

7.) Everything should be booting up normally, start Magisk Manager and upgrade to 16.6 again (if needed)

8.) One final reboot to activate new Magisk version
[OnePlus 6 Guides, News, & Discussion] leo21789:
How can i stop update magisk??

I want root with 5.1.9 update
[OnePlus 6 Guides, News, & Discussion] quew:
Yes, this is still working for me (no issues) and confirmed by other people here.

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

Follow my instructions some pages before (quoted one post above), should be working. You can update Magisk later on.
[OnePlus 6 Guides, News, & Discussion] czerdrill:
Is it ok to update magisk without losing root?
[OnePlus 6 Guides, News, & Discussion] null0seven:
Yes.
[OnePlus 6 Guides, News, & Discussion] elmu:
I don't know is this right place to ask but can someone tell me can i install magisk for android p developers preview 3? op6. twrp-3.2.2-0-enchilada is broken:D
[OnePlus 6 Guides, News, & Discussion] geoff5093:
Yes