yashsingh1/xdaforums huggingface dataset:
[Essential Phone Guides, News, & Discussion] brqndon:
I've done those exact steps.

When you say full B2 dump, you mean the zip file from Essential directly, right? In attempt to try to fix this, I actually went as far as wiping cache, data, and system, and then resideloading the B2 zip from Essential's website, followed by flashing OREO-B2.img, and then Magisk 14.3 zip on TWRP. And this is where I currently am (root with SN failed).

So weird...
[Essential Phone Guides, News, & Discussion] mrcooter:
I used dump from https://xdaforums.com/essential-phone/development/stock-7-1-1-nmj20d-t3701681 each time. Haven't seen a full dump on Essential's​ site but haven't looked that hard either. I've only seen the update files, which are much smaller in size. Other than that possibly fixing things or fastboot -w and start fresh... No idea why mine always works and you're isn't.
[Essential Phone Guides, News, & Discussion] brqndon:
Okay, so it sounds like I didn't do it the way you're explaining to do it.

So in other words, should I sideload the 7.1.1 .zip dump and update to B2 from there?

Edit: Or just sideload the B2 full dump, right?
[Essential Phone Guides, News, & Discussion] mrcooter:
Download the full return to stock from the previously posted link for OB2.

Extract all to your computer.

Reboot phone to bootloader.

Type "fastboot devices" in terminal to make sure your computer sees your phone.

Run the flash all bat from where you extracted the zip to.

Once it that is done, make sure twrp.img is in the directory needed based on command location and flash TWRP v11 via "fastboot flash boot TWRP.img" (or whatever it's named replacing the TWRP.img).

Choose reboot recovery from phone and wait for TWRP to load.

From phone, install stock Oreo B2 boot.img to boot.

Back up, don't exit, and flash the magisk v14.3, then reboot.

(Don't check the "core only" option either)

If you want to start fresh, before flashing TWRP but while in bootloader type "fastboot -w" to wipe all for a clean slate. Backup your internal storage though because that command will wipe that too.

I do a fresh wipe with these instructions to start clean before each update and haven't had issues with safety net or root.
[Essential Phone Guides, News, & Discussion] brqndon:
Thanks so much. This is probably all I need to get it to work. I'll report back once I do the steps.

One clarification though: what do you mean by running flash all bat? Sorry, I'm relatively new at this but am learning quickly. Every other step you listed is crystal clear.
[Essential Phone Guides, News, & Discussion] mrcooter:
When you extracted the full OB2 return to stock zip, there is a file inside called something like "flash-all.bat" which if you double click it, in Windows, while phone is in bootloader, it will automatically flash everything in both A and B slots while showing progress in a command window. Window exits when it's done.

Side note, assuming you are unlocked, but also unlock critical partitions if you want. Otherwise you'll see some errors to some partitions when it flashes, which should be okay but I prefer having it fully unlocked to be sure. Can do so by typing "fastboot flashing unlock_critical" and select yes on your phone to unlock everything. BE SURE TO BACK UP DATA, as just like unlocking your phone originally, this will wipe all storage. Once done you'll have to move magisk.zip and Oreo boot.img back to phone once you get to the step of getting into TWRP of course.

Let me know if anything didn't make sense there. Seems a bit wordy but I gave up. Lol.
[Essential Phone Guides, News, & Discussion] brqndon:
That's perfect. Thanks so much. The only thing is, I'm a Mac user. But I'm assuming it should be similar in steps with the flash-all.bat.

Oh the unnecessary things we go through with our phones... Smh.
[Essential Phone Guides, News, & Discussion] mrcooter:
I love it. Lol. Wouldn't have it any other way. But not sure with the bat file and Mac. I have zero experience with Mac's. Worst case you can open the bat as text and copy to cmd one by one. May have to rename files with a .img extension and use something like "fastboot flash boot_a boot.img" and then "fastboot flash boot_b boot.img" to get both slots without using the bat file. Just not sure.
[Essential Phone Guides, News, & Discussion] Immelstorn:
Does anybody has problems with Android pay? My transactions made by pay become declined, I'm not sure it is related to Magisk, but my Magis log is spammed with this message may it be a root of the problem?

[IMG="Log"]https://i.imgur.com/X3i57OL.jpg[/IMG]
[Essential Phone Guides, News, & Discussion] mobileman88:
Magisk passes safety net. But 14.3 causes instability which makes it reboot randomly every few hours. Battery life is also much worse. I get less than 5 hours rooted but more than 8 when stock.
[Essential Phone Guides, News, & Discussion] 041987:
Last night flash 14.5 to NMJ51B (7.1.1). Patched by Magisk Manager flash by adb in boot loop.

First boot wifi and single not work. Reboot it and work again.

Root work and no unroot when reboot. Any things good. Normal use slightly warm

But got boot loop when I sleep. Reboot phone with no bootloop and go in android, and rooted.

Anyone know which version is stable and no bootloop?
[Essential Phone Guides, News, & Discussion] xDark_:
14.0 works fine on my OP5.
[Essential Phone Guides, News, & Discussion] hajah:
Hi,

I'm on beta 2nd with magisk 14.3 and experiencing lots of reboots and the awfully bootloop, which also leads to poor battery life.

How do I unroot, without loosing my data/settings?

What's the procedure with magisk/dual slots?

I've used supersu since forever. First time with magisk.

Thanks
[Essential Phone Guides, News, & Discussion] Ascertion:
Reflash stock kernel or Rey kernel in Dev section, it's the Boot.img.
[Essential Phone Guides, News, & Discussion] 041987:
When I flash 14.0 zip in twrp, it say "Update process ended with ERROR: 1" "Error installing zip file '/sdcard/Rom/Magisk-v14.0.zip"

But 14.5 can flash it with no error and get root

What's problem with 14.0?
[Essential Phone Guides, News, & Discussion] mobileman88:
It depends on the model of the phone you have. For the essential, 14.3 seems best on O. Still not as stable as as I like so I am unrooted now
[Essential Phone Guides, News, & Discussion] herwarth:
trying to root the essential with Oreo beta 2 with supersu but it is not working. After writing the Oreo_b2.img file in twrp and without rebooting installing the latest supersu 2.82 and the a reboot I do not have root.2.82SR5 fails when installing from twrp
[Essential Phone Guides, News, & Discussion] avd:
Make sure "magisk hide" is enabled in magisk "settings"
[Essential Phone Guides, News, & Discussion] mobileman88:
Magisk 15.0 has just been released 5 minutes ago.

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Shall test it later.
[Essential Phone Guides, News, & Discussion] brqndon:
Unfortunately yes, it is enabled and still unable to pass SN.
[Essential Phone Guides, News, & Discussion] avd:
Please let us know if it is stable on our phone.
[Essential Phone Guides, News, & Discussion] ChronoReverse:
Magisk 15 has been stable for me so far on Rey-R2 + Oreo Beta 2

Safetynet passes, MagiskHide settings are retained between reboots and no bind errors in the log.
[Essential Phone Guides, News, & Discussion] mobileman88:
Awesome. I am seeing the same great results. I shall monitor if the increased battery drain is still there. Btw do you know how I can switch between slots a and b without a PC?

---------- Post added at 08:02 AM ---------- Previous post was at 08:01 AM ----------

Rooted just fine with it. B2 and Rey2 kernel. No MagiskHide/Magisk/Safetynet errors so far. Shall monitor if the increased drain still persists.
[Essential Phone Guides, News, & Discussion] Ascertion:
I am getting a small error upon installing v15 Magisk. Not sure why it's doing this.

But It looks like it works in the system so no complaints at the moment.

EDIT: I am on Oreo Beta 2 with Rey R2 Kernel.
[Essential Phone Guides, News, & Discussion] socali:
Magisk 15 with LOS 12-22 seems to be working fine, but safetynet not passing unless I go to settings and turn off/on the magisk hide switch after each reboot.

Anybody else has this issue?
[Essential Phone Guides, News, & Discussion] 041987:
Mount->tick "System"

---------- Post added at 06:24 AM ---------- Previous post was at 05:47 AM ----------

7.1.1 with 15.0 looks good

safenet pass, reboot and still root, no bootloop (maybe watching 2 days?), no warm in standby or normal using
[Essential Phone Guides, News, & Discussion] avd:
What's the best practice for installing from the app?

Will it break TWRP?
[Essential Phone Guides, News, & Discussion] gk1984:
You need to go to Mount Im TWRP and check System. If you can't check System, you have to wipe System and reflash the factory image. You might also need to wipe data but don't go nuclear right away.

On the plus side, I am not seeing any issues even though TWRP was unable to mount System for me (same error).
[Essential Phone Guides, News, & Discussion] aer0zer0:
When installing, mount system manually in twrp prior to flashing the zip. It'll make the error go away. Although it is moot anyways
[Essential Phone Guides, News, & Discussion] ChronoReverse:
No bind errors, storage is not filling up and battery life is equal to stock so far with Magisk 15. 10% per hour of SOT so pretty much normal.
[Essential Phone Guides, News, & Discussion] herwarth:
Installed magical 15.0 and I have no issues.
[Essential Phone Guides, News, & Discussion] 1Krima:
Tried Magisk 15 and so far so good. This is the first version that isn't causing me any kinds of reboots, crashes, or battery drain.
[Essential Phone Guides, News, & Discussion] mobileman88:
This is better than anything I had before when rooted
[Essential Phone Guides, News, & Discussion] socali:
I figured out how to make Safetynet pass after reboots.. Not sure why it works, but I confirmed this process twice:

1) Toggle magisk hide off and on - now Safetynet will pass

2) Install Magisk v15 again as "Direct Install" from the manager app

3) Reboot and now Safetynet is passing consistently! :)
[Essential Phone Guides, News, & Discussion] jumaaneface:
I did a factory reset and it fixed me not being able to mount system
[Essential Phone Guides, News, & Discussion] mobileman88:
Anyone here getting FC when viewing the data usage graphs in settings? Mine crashes each time when I try to access it
[Essential Phone Guides, News, & Discussion] Moriatier:
good to hear that.
[Essential Phone Guides, News, & Discussion] 12paq:
I'm also getting no random reboots on rooted Magisk 15. I only had 2-3 a day with 14.3 but 15 seems solid.

Also running Rey Kernel. The kernel thread install directions didn't work that well for me. But flashing the kernel like you would the Oreo 2 beta boot image in the directions from this root thread worked great.

Kernel seems more snappy. And Magisk 15 seems more solid. That's just my anecdotal short-term observations. Time will tell.

Nice to see more devs working on Mata! Thanks!

Edit: I also have the system mount error in twrp, but since I'm not flashing anything to system and the partition runs perfectly, it's easy to ignore. A none issue here.
[Essential Phone Guides, News, & Discussion] jumaaneface:
Mine works fine
[Essential Phone Guides, News, & Discussion] brqndon:
I wasn't passing SN on OB2 and Magisk v14.3. Updated to Magisk v15.0 and now everything is working great. Have root and passing SN. Also, I've gotten no reboots and already see an improvement in battery life.
[Essential Phone Guides, News, & Discussion] reverenddak:
Beta 2 with Magisk 15, working great. Tho I have no need for root, Magisk was the only way I am able to hide the unlocked bootloader from SafetyNet.

The key, that may get missed by people used to flashing via TWRP casually on previous devices, is that currently TWRP (11_mata version current as of typing) CANNOT boot Oreo. Considering that Magisk modifies the boot image, once you install TWRP, and boot into it, you have to flash the Stock Boot image FIRST. Then flash whatever mods while still IN TWRP. Because once you reboot, TWRP will no longer be installed.

1. flashboot TWRP

2. boot into TWRP

3. flash Stock Boot Image

4. flash zips, (Magisk and any other flashable zips)

5. Reboot
[Essential Phone Guides, News, & Discussion] Moriatier:
thanks for the explanation of the mechanism behind all this. after flashing the official boot image, do i need to flash the rey kernel? what is rey kernel for, anyway? and can i sideload all the zips into the phone or do i have to use twrp to install the zips? thanks again.
[Essential Phone Guides, News, & Discussion] mobileman88:
I use the Rey kernel to pass safety net without root
[Essential Phone Guides, News, & Discussion] reverenddak:
I know it's still under development, and no actual features have been announced. But there seems to be some "unsaid" benefits of using a custom kernel, is there anything else other than bypassing SafetyNet?
[Essential Phone Guides, News, & Discussion] mobileman88:
When Oreo beta originally was rooted with Magisk 14.3, there was a lot of random reboots and also significantly increased battery drain. So I had one of my slots flashed with Rey without Magisk and I was happy that I got everything going with an unlocked bootloader except for root apps. But with the release of Magisk 15, those issues go away, so you can do the following if you want to pass safety net with unlocked bootloader. Rey kernel also allows the installation of TWRP into boot partition to coexist with the normal boot. However, I can't seem to get the touch screen in TWRP to work when I do that. That's another issue altogether. Development for this is fairly fast and furious, so it'd be a good idea to keep track of the threads here.

1. Root with Magisk 15

2. Simply install Rey kernel

---------- Post added at 09:37 AM ---------- Previous post was at 09:32 AM ----------

Flash the Rey kernel after you flash the stock boot without flashing Magisk, it will allow you to pass safety net without having root and also to have TWRP coexist if you flash the TWRP ZIP file in the next step after that. However, I am still trying to figure out how to get TWRP touch screen to work with TWRP coexists with the modified boot.
[Essential Phone Guides, News, & Discussion] Moriatier:
thanks, that helps a lot to understand what is rey kernel for. And is rey kernel flashable using sideload when i am on oreo official unrooted? And what is the standard procedure to root ph1 to make twrp coexist with the modified boot? thanks a lot.
[Essential Phone Guides, News, & Discussion] mobileman88:
I installed it from inside TWRP.

1. Install stock boot.img in TWRP (go to Install and click on Image then install that img file)

2. Install Rey

3. Install Magisk 15

4. Install TWRP zip

Do note that TWRP is still not fully functional in this way, I am still figuring how to get the touchscreen to work when I do this. You might want to hold this off for a while.
[Essential Phone Guides, News, & Discussion] Moriatier:
yeah, if touchscreen works, it would be perfect. How did you choose "install" in TWRP given that the touchscreen fails?
[Essential Phone Guides, News, & Discussion] mobileman88:
Just did a standard install. Boot into recovery and noticed that touchscreen fails.
[Essential Phone Guides, News, & Discussion] herwarth:
I installed magisk 15 on stock kernel. No need for the Rey kernel.... Works great!
[Essential Phone Guides, News, & Discussion] enrunn:
I saw magisk v15.1 is out. has anybody tried it?
[Essential Phone Guides, News, & Discussion] aamadorj:
Yes. From Magisk Manager I first updated the app to v5.5.2 and then from the new Magisk Manager I updated Magisk to v15.1 using direct installation. Everything is working fine at my PH-1 with Oreo Beta 2 after reboot.
[Essential Phone Guides, News, & Discussion] gk1984:
I had a random reboot a few hours after installing it. 15.0 didn't reboot at all. We'll see if it was a fluke.
[Essential Phone Guides, News, & Discussion] 12paq:
Exactly the same here. No reboots at all.

Edit: I neglected to mention I am also using Rey Kernel. 15.1 installed via the Magisk manager app with no problems.
[Essential Phone Guides, News, & Discussion] herwarth:
Updated from 15.0 to 15.1 via direct install via the manager. Running stock kernel and it is working without any problems. No random reboots from installation moment (24 hours ago)
[Essential Phone Guides, News, & Discussion] indian84:
Can anyone help me with below error I get when I flash TWRP?

C:\Users\Shahaz\Downloads\platform-tools>fastboot flash boot TWRP.img

target didn't report max-download-size

sending 'boot' (45048 KB)...

FAILED (remote: Requested download size is more than max allowed

)

finished. total time: -0.000s

I am have unlocked bootloader.

EDIT - SOLVED by using another USB port on my PC..
[Essential Phone Guides, News, & Discussion] hallevison:
Hi Everyone:

I just ordered one of these. This is the first time I have used a device with the new A/B partition scheme. I was planning to root the phone before I did anything else. However, I don't know anything about the decryption password. Do I need to have it set even if I don't have any personal stuff on the phone? If so, can I set it before I setup the phone?

Thanks for your help.
[Essential Phone Guides, News, & Discussion] mrcooter:
I never set a pin/patten/etc and works just fine.
[Essential Phone Guides, News, & Discussion] indian84:
Anyone updated to Magisk 15.2??

How is it behaving on PH1??
[Essential Phone Guides, News, & Discussion] nicoseb:
I did last night right after installing 15.1.

I have not had any issues, no reboot or misbehavior all day... :)
[Essential Phone Guides, News, & Discussion] indian84:
I also updated after reading your post. So far so good nn
[Essential Phone Guides, News, & Discussion] mobileman88:
Both 15.1 and 15.2 have been working great. Not one random reboot
[Essential Phone Guides, News, & Discussion] vergilbt:
As I guess was update 15.2 only an Bugfix for some devices (e.g. OnePlus, Samsung), according to this I think it's not necessary to update for us...
[Essential Phone Guides, News, & Discussion] surface13:
The new magisk is awesome! All I did to get root on the Dec security patch for 7.1 nougat and on 8.0 oreo beta 2 was:

1. Install the magisk app (I used the latest version 5.5.3 from the magisk website)

2. Click the install button with in the app

3. Choose the boot.img to patch (got both images from the essential website; Current Builds and Beta Builds)

4. Flashed the patched-boot.img using

fastboot flash boot patched-boot.img

(I changed my img name to reflect which version it was for, ie: ph1-boot_7.1.img and ph1-boot_8.0.img)

5. Reboot the phone

6. Go back into the app and it showed it was installed

7. Checked the safety net and it also said it was working

Unfortunately Android Auto isn't working in my 2016 Accord with the essential phone. Not sure what the issue is. I've tried both on Nougat and Oreo. I've tried turning off debug mode and still isn't being recognized. I'm using the short USB C cable that came with my Nexus 6P
[Essential Phone Guides, News, & Discussion] quailallstar:
Is this the procedure I would need to perform every time a new security update is released in order to maintain root?
[Essential Phone Guides, News, & Discussion] Charles::
Sooo..trying to root, but I can't seem to get my PH1 recognized in Fastboot/Bootloader. I've downloaded the USB drivers from Essential. I see Android Device>Android ADB Interface with no errors in Device Manager when I connect (when phone is booted up and in Fastboot/Bootloader). When the phone is booted, I can see it listed under devices in ADB....however, when I type "adb reboot bootloader", once in Fastboot/Bootloader all I get is "List of devices attached" and nothing underneath. I've tried pretty much everything listed. I'm using Anker USB-A to C cords and tried multiple USB ports. I have the adb file dated 1/3/2018 from Android SDK...

What else?
[Essential Phone Guides, News, & Discussion] tech_head:
You need to manually boot into the bootloader.

"Power Button" + "Volume Down" -> wait for screen then release "Power Button" first.
[Essential Phone Guides, News, & Discussion] Charles::
I've done that multiple times too...but in quite a few Essential YT vids, people are able to adb reboot bootloader and have their device recognized just fine. I'll try to manually boot to bootloader one more time, though. Maybe I didn't do that after I downloaded the most up to date adb file or something.

BRB!
[Essential Phone Guides, News, & Discussion] kfhughes:
Maybe I'm misreading your post, but in fastboot/bootloader are you typing "fastboot devices" and not seeing the phone?
[Essential Phone Guides, News, & Discussion] Charles::
No. When the phone is on Fastboot/Bootloader mode, I type "adb devices" on my cmd prompt. All I get it "List of devices attached" without my phone's ID popping up. When the phone is booted normally I can run the same command and my phone shows up.

Tried a manual boot into fastboot/bootloader...still the same results. Doesn't recognize it.
[Essential Phone Guides, News, & Discussion] avd:
try fastboot devices
[Essential Phone Guides, News, & Discussion] kfhughes:
I pretty sure that's the issue. When you're in fastboot/bootloader, you need to use fastboot instead of adb.
[Essential Phone Guides, News, & Discussion] Charles::
Son of a b! That was it. Thanks!

Now let's see if I can root. :)
[Essential Phone Guides, News, & Discussion] avd:
rooted Nougat in slot A... rooted oreo b2 in slot b

is it worth the effort to flash stock nougat in one slot and a rooted image in the second?
[Essential Phone Guides, News, & Discussion] mobileman88:
Don't do that. Your data will be mismatch
[Essential Phone Guides, News, & Discussion] JoshuaUB78:
Has anyone tested the new update and twrp image?
[Essential Phone Guides, News, & Discussion] Goombaa:
I've been trying to get Rey.R3 + Magisk 15.2 installed over OB2 for the past few hours with no success. I've been doing the steps that you have listed here (except for 4, not sure why I'd be installing the TWRP zip again since I thought with the Rey kernel it actually stays) and I keep getting the /system could not be mounted error when flashing Magisk in twrp. When trying to reboot, my phone just black screens at the Essential logo and then brings me back to Android recovery. I also tried changing slots via fastboot in case a switch happened and nothing. I'm running fastboot -w and then flashing the back to stock files from here before every attempt.

Have any suggestions?
[Essential Phone Guides, News, & Discussion] aer0zer0:
Flash magisk 14.3, then boot into OS, then in magisk manager, do the update to 15.2 and reboot.
[Essential Phone Guides, News, & Discussion] Goombaa:
Will do! Just to verify my steps here...

1. fastboot -w

2. flash-all back to stock OB2

3. flash twrp to boot

4. enter recovery for twrp

5. install stock OB2 boot image

6. install Rey kernel

7. flash magisk 14.3

8. reboot

9. Install magisk manager and update to 15.2 from there

Will give it a shot. Thanks!
[Essential Phone Guides, News, & Discussion] aer0zer0:
Exactly
[Essential Phone Guides, News, & Discussion] Hung0702:
[MENTION=4550123]bmg1001[/MENTION] Latest NMJ88C twrp (untested) doesn't work. Hangs at the splash screen. How can I help? Is there any log or something I can send?

In the mean time, anyone else get can magisk root by fastboot flashing this file: https://ufile.io/2xwlq

It's just a patched boot img. If you're not comfortable with downloading a random file off the internet from a stranger, just grab the boot img from the stock dump, then patch in magisk. Take the patched boot img and fastboot flash boot.
[Essential Phone Guides, News, & Discussion] chaoticdeathly:
Magisk 15.2 with wi-fi working on NMJ88C with your boot image. Thanks.