yashsingh1/xdaforums huggingface dataset:
[Essential Phone Guides, News, & Discussion] tire_007:
I'm rooted with magisk 16.4 but there's an update available 16.6 is it safe to use the direct install option?
[Essential Phone Guides, News, & Discussion] guliver365:
I did it few days ago no problem what so ever
[Essential Phone Guides, News, & Discussion] mobileman88:
Installing is ok. But it does not pass safety net
[Essential Phone Guides, News, & Discussion] tire_007:
That's right it dosn't pass safety net but Google pay works

---------- Post added at 04:23 AM ---------- Previous post was at 04:21 AM ----------

Thanks i was afraid to do it i read on xda that people where having bootloops on other devices doing this method
[Essential Phone Guides, News, & Discussion] Tautvydas:
Hey guys, how's the latest magisk update working? Should I update from 16.4 beta?
[Essential Phone Guides, News, & Discussion] dirtyreturn:
If you use MCs then "no"

Magic Charging Switch.

Other than anything being out of the ordinary - not a thing.

From another thread though, a user posted that on 16.6 there isn't the option to choose partitions a or b anymore.
[Essential Phone Guides, News, & Discussion] mjc8870:
confused on root

I am completely stock and want to root my essential merely to just be able to get hotspot working. I have read extensively and there is so much conflicting information on how to root I am confused. I have rooted numerous other phones in past with no issues.

I have downloaded to my computer a working

adb/fastboot

current TWRP - recovery

current boot image for July

Magisk

Can someone plainly give me steps on how to root and let me know if I need anything else. I just want the ability to use hotspot again. I was able to use in past but one of updates stopped the sharing the connection.

Thanks,

Mike
[Essential Phone Guides, News, & Discussion] dirtyreturn:
Be sure to have OEM unlocking enabled in developer settings. Then get your phone into fastboot and issue the two fastboot flashing commands

Take a look here : https://xdaforums.com/showthread.php?p=74437484
[Essential Phone Guides, News, & Discussion] RandomPooka:
What are MCs
[Essential Phone Guides, News, & Discussion] dirtyreturn:
The magic charging switch magisk module
[Essential Phone Guides, News, & Discussion] mjc8870:
I am looking for the order operation for items to flash.

Ex,,,

TWRP

Magisk

Boot image

I am unsure of steps.

Thanks,

MJC
[Essential Phone Guides, News, & Discussion] spotmark:
Step by step instructions in the OP.
[Essential Phone Guides, News, & Discussion] mjc8870:
I flashed TWRP and then boot image and it goes back to stock. It seems a step is missing.
[Essential Phone Guides, News, & Discussion] RandomPooka:
You don't mention if or when you flashed magisk in that process.
[Essential Phone Guides, News, & Discussion] :
Just turn off phone security, reboot to bootloader, flash twrp, boot to recovery, mount system, flash boot img,flash magisk, reboot.
[Essential Phone Guides, News, & Discussion] dirtyreturn:
There is no recovery partition on this phone. TWRP doesn't stick.
[Essential Phone Guides, News, & Discussion] RandomPooka:
Flash TWRP to BOOT, then reboot to recovery and flash stock image, followed by magisk. Reboot
[Essential Phone Guides, News, & Discussion] mjc8870:
where can i find stock image with magisk? I downloaded stock image from page 1 of guide.
[Essential Phone Guides, News, & Discussion] :
All u do is follow my exact instructions.the images are on the essential site. Before flashing twrp, u copy magisk and the stock boot img to internal memory.then after flashing twrp to boot, mount system (or u get error) then u install the boot img in twrp(flash boot as boot), then install magisk 16.6 zip.

Be sure to rename twrp to boot before fastboot flash boot boot.img

This is all you do to root. I just did these exact steps again on Friday.

EDIT, occasionally you have to repeat the step of flashing twrp.it doesn't wanna stick, so repeat flashing twrp part till u get it and for the love of all things good,be sure to disable phone security. And yes twrp doesn't stick but for each instance. One day soon we will have a real twrp that sticks
[Essential Phone Guides, News, & Discussion] okgnew:
Provided TWRP does not respond to touches on Oreo Beta.

Otherwise it works (via ADB sideload).
[Essential Phone Guides, News, & Discussion] artpena2323:
Kinda noob with this kind of root. TWRP is working. Trying to side load Magisk. I get unable to mount partitions. Updater process ended with an error. I am on the Oreo Beta. Thanks
[Essential Phone Guides, News, & Discussion] aer0zer0:
I had this problem as well.

I loaded [MENTION=4550123]bmg1001[/MENTION] Oreo boot, booted to os, download magisk manager 5.4.1, and used magisk manager to patch the rest of boot image.

https://www.apkmirror.com/apk/topjo...se/magisk-manager-5-4-1-android-apk-download/
[Essential Phone Guides, News, & Discussion] artpena2323:
Worked perfectly. Thank You!!!!
[Essential Phone Guides, News, & Discussion] kirschdog1:
Does anyone have a working Supeuser zip?
[Essential Phone Guides, News, & Discussion] artpena2323:
What's the easiest way to revert back to stock? Lock bootloader. Totally forgot my companies policy for email. Lol
[Essential Phone Guides, News, & Discussion] artpena2323:
Oh and can I use my MAC. Thanks
[Essential Phone Guides, News, & Discussion] elvex:
I can't seem to get this to work. Both flashing via TWRP and ADB sideload return this:

Mounting /system, /vendor, /cache, /data
/system could not be mounted!

Anyone have ideas?

Edit: Oh I'm retarded. I was trying to flash 14.0 and not 14.3. If anyone else runs into the same thing, you MUST use 14.3, 14.0 does not work.
[Essential Phone Guides, News, & Discussion] ness2k:
Did you use the magisk manager to patch the boot image [MENTION=4550123]bmg1001[/MENTION] provided or do you have the stock Oreo boot image from somewhere? Using his modified boot image doesn't work for me.
[Essential Phone Guides, News, & Discussion] aer0zer0:
I used his, but you can easily patch the stock one yourself.

https://mega.nz/#!oCBDyJqb!ONZEFZncXp3Xf2jYipmym9Lhi_zVOBvH1FFl7aFh2Hs is the full oreo back to stock provided by [MENTION=2385005]invisiblek[/MENTION] ...... inside the zip is the stock boot. append .img to the end of it, and copy somewhere to your internal storage. Install magisk manager from the apkmirror link, then you should get the option of patching the boot image when you "install" magisk, then copy it back to you fastboot directory, and flash it, and reboot. That should work.

I just used his and it worked right off the bat for me however
[Essential Phone Guides, News, & Discussion] ness2k:
So I don't know exactly what I did to mess it up, but I do have some useful info for anyone else who messes it up.

When I initially installed Oreo, I just used Magisk Manager 5.4.0 and Magisk 14.3 from his initial post and it worked fine. Then I broke it somehow.

I just realized that if I uninstall Magisk Manager, install magisk via his method again, boot up and install magisk manager, root works.

I cannot make the manager 5.4.1 and magisk 14.4 combination work at all. I also found and grabbed the boot image from that file and tried it.

Also, even with 5.4.0 and 14.3 providing root for apps, I can't install any modules.
[Essential Phone Guides, News, & Discussion] aer0zer0:
i just tried using the patching method, it bootloops the phone. I would use this APK.

https://www.apkmirror.com/apk/topjo...se/magisk-manager-5-4-0-android-apk-download/ this is for 5.4.0 manager which works with 14.3 beta
[Essential Phone Guides, News, & Discussion] ness2k:
Sorry, I meant that I do have root using 5.4.0 and 14.3 beta (after installing them in the "correct" order), I just can't install modules. It says "install Magisk v14.0+".

Thanks for the help.
[Essential Phone Guides, News, & Discussion] 1Krima:
I apologize if this has been answered but I'm new to Android. Just switched from having an iPhone since the beginning

I am on the Oreo beta and I would like to root my device while keeping the stock recovery to apply OTA updates.

If anyone could please explain how to do that I would be very appreciative.

Thanks
[Essential Phone Guides, News, & Discussion] TheDethEgineer:
Welcome to the android world!

Quick question, what are you planning to do with root?? To be honest the freedom you have in the essential almost stock rom is amazing, you can install an app to do pretty much anything, unless you need something that really needs root.
[Essential Phone Guides, News, & Discussion] 1Krima:
Thanks. I wanted to install Adaway, do more customization to my lockscreen, more theming options, etc. My understanding is that root is necessary for some of these things.
[Essential Phone Guides, News, & Discussion] TheDethEgineer:
I see. Yeah, AFAIK you need root for that. Not 100% sure but if you are rooted you cant install OTA. Hope someone with more experience helps you.
[Essential Phone Guides, News, & Discussion] 1Krima:
Yeah I don't know if TWRP will be able to sideload the OTAs of the Oreo beta
[Essential Phone Guides, News, & Discussion] Ascertion:
Having the same issue. Root works, but installing modules is a no go.
[Essential Phone Guides, News, & Discussion] 1Krima:
Is it possible to root the Oreo beta while keeping stock recovery?
[Essential Phone Guides, News, & Discussion] mjc8870:
Thanks for replying. I have all files on internal storage under storage/emulated/ but when I go into TWRP I can't find these folders. I see/sdcard as main folder and not the folders I saved the files into.
[Essential Phone Guides, News, & Discussion] mobileman88:
Did you mount data?
[Essential Phone Guides, News, & Discussion] RandomPooka:
I fixed the typo in my previous post. Boot to TWRP after using fastboot to flash it. THEN use TWRP to flash the stock image and Magisk right after it. If you have the stock boot image file and Magisk Manager, you could also use the manager to patch the boot image file, copy the result to your PC, and use fastboot to flash it instead of using TWRP. I find that to be easier, because it doesn't require you to remove password protection or anything for TWRP.
[Essential Phone Guides, News, & Discussion] avd:
you can't flash anything with twrp if there is security.
[Essential Phone Guides, News, & Discussion] RandomPooka:
Yes, you can. You can flash boot images and magisk both if you use a USB-C flash drive plugged in and select USB-OTG as the source.
[Essential Phone Guides, News, & Discussion] kittygotwet:
Hey guys,

I'm not sure what I'm doing wrong. I've followed the instructions and every time I'm left with unusable wifi.

When I twrp > install 8.1 JUL (from OP post) > Magisk 16.6 > reboot. So I couldn't check if I'm rooted.

However, when I tried another method I got wifi back when I

Twrp > adb flast boot the boot image > magisk > back to recovery and went into install to install the boot.img and rebooted. I got wifi back. But when I downloaded root checker it says "Root access is not properly installed on this device."

What step am I doing incorrectly?

Thanks.
[Essential Phone Guides, News, & Discussion] aer0zer0:
did you remember to flash the stock boot.img before flashing magisk in twrp
[Essential Phone Guides, News, & Discussion] kittygotwet:
So I flashed Twrp, went into recovery [install, installed july rom's boot.img] then sidelaoded magisk.
[Essential Phone Guides, News, & Discussion] aer0zer0:
what do you mean sideload???

1. make sure you have no fingerprints, no locks, no swipes

2. install twrp in bootloader

3. reboot to recovery (twrp)

4. copy the boot.img and magisk 16.6 zip to the phone (justfile transfer through windows into download folder on phone)

5. flash the stock boot.img

6. mount system in twrp (make sure it set as read-only)

7. flash magisk (dont sideload through adb, just flash the zip like anything else in magisk)

8. reboot and you should be g2g
[Essential Phone Guides, News, & Discussion] mjc8870:
Success !!!! Thanks to all for help. Now, anyone know how to enable hotspot to share internet?

---------- Post added 17th July 2018 at 12:22 AM ---------- Previous post was 16th July 2018 at 11:50 PM ----------

I was able to get hotspot going again. Thank You!!!!
[Essential Phone Guides, News, & Discussion] aer0zer0:
what did you miss doing?
[Essential Phone Guides, News, & Discussion] kittygotwet:
I have both the boot.img and magisk on the phone, but whenever i try to "install zip" it goes into Magisk and askes me to select a file.

so don't adb twrp sideload magisk, but fastboot flash magisk?
[Essential Phone Guides, News, & Discussion] aer0zer0:
flash magisk in twrp, right AFTER you flash the stock boot image
[Essential Phone Guides, News, & Discussion] ranasrule:
any way to keep TWRP installed on the phone after rooting via Magisk ?
[Essential Phone Guides, News, & Discussion] NaterTots:
No
[Essential Phone Guides, News, & Discussion] aer0zer0:
the answer should be no realistically. i personally would never do this. but you cooouuuuuulllllddddddd (and i say this with dramatic effect) pop twrp on your opposite slot, constantly set active other, flash stuff, then set active other again before rebooting.

but thats a giant PITA to just get magisk once. i mean our twrp is so jank, its all its good for really.
[Essential Phone Guides, News, & Discussion] oracleoftruth:
I'm really struggling with this.

I have unlocked bootloader, security (fingerprint etc) disabled, managed to flash android P but cannot get TWRP to work.

Tried flashing it via fastboot in bootloader and it looks like it works but when I select recovery it just reboots into bootloader. As a happy side bonus it also F***s my rom install so I have to data wipe and reset back into 8.1.

Tried it twice with same effect and really CBA to try again as that is a lot of resetting and reinstalling apps and settings to do.

No idea why I can't root. Lots of posts suggesting different cables or to use another OS for ADB but I'm using ubuntu so should be golden.

I can see the device with fastboot devices and adb is working fine.

No problem flashing android P

If anyone has any pointers I'd really appreciate it.

Thanks
[Essential Phone Guides, News, & Discussion] aer0zer0:
what command are you using and what does your output look like in the prompt?
[Essential Phone Guides, News, & Discussion] oracleoftruth:
Using fastboot flash boot twrp.img

It reports:

target reported max download size of 536870912 bytes sending 'boot_a' (34008 KB)...

OKAY [ 1.740s]

writing 'boot_a'...

OKAY [ 0.361s]

finished. total time: 2.101s
[Essential Phone Guides, News, & Discussion] aer0zer0:
so are you using your volume rocker to select recovery from bootloader, and then it doesn't take?
[Essential Phone Guides, News, & Discussion] oracleoftruth:
Ah yes. I select recovery but it just reboots: hasn't taken.
[Essential Phone Guides, News, & Discussion] aer0zer0:
is your copy of twrp corrupt?
[Essential Phone Guides, News, & Discussion] oracleoftruth:
I wondered that. I got it from the stock image dump zip from invisiblek. Could it have corrupted by unzipper or by cable?

I could try again but I just spent hours reinstalling apps

Is there a way to be more sure?
[Essential Phone Guides, News, & Discussion] NaterTots:
There is a version 11 of TWRP in the first post. You could try that one in case the one you got is no good
[Essential Phone Guides, News, & Discussion] aer0zer0:
if it came out of my back to stock, its fine. did you rename it to TWRP from twrp11?
[Essential Phone Guides, News, & Discussion] spotmark:
Or twrp-mata_11?
[Essential Phone Guides, News, & Discussion] oracleoftruth:
TBH I either had twrp-mata11 or I had twrp11 and renamed. I downloaded both and can't remember which I used. I mean both should be sound.
[Essential Phone Guides, News, & Discussion] aer0zer0:
sure, sounds fine. just yrying to figure it out
[Essential Phone Guides, News, & Discussion] oracleoftruth:
Wondering if cable could have corrupted but there's been no issue with Android p and I flashed that 3 times now with no issue.

I'll work up the courage to try again with a fresh copy of twrp.
[Essential Phone Guides, News, & Discussion] aer0zer0:
you need a md5?
[Essential Phone Guides, News, & Discussion] oracleoftruth:
That would be helpful yeah.at least I'd know its not corrupted before I send it.
[Essential Phone Guides, News, & Discussion] aer0zer0:
65ded4c1a4382f0474333ad9f045930b
[Essential Phone Guides, News, & Discussion] ranasrule:
thanks for your reply. Which custom recovery is used with this phone then? Isn't a custom recovery needed for flashing roms and stuff like that ? I'm coming from the Nexus 6P so I have no idea how things are done in the Essential Phone world
[Essential Phone Guides, News, & Discussion] aer0zer0:
our twrp is based on the new pixel a/b style, so twrp is in the boot.img. However, our twrp touch drivers dont work right in any modern boot.img, and we dont have decryption capability (requires you to remove fingerprints, swipes, lockpins, etc, prior to wanting to use twrp anyways) so it is built into a nougat boot.img (this means twrp will NOT boot your phone, this is very important to know, half the problems in the root thread come from people not knowing this)

we also dont have "fastboot boot" commands available, so we cant just run in memory. which is why you need a copy of your stock boot.img handy if your rooting with magisk. (this is why we say to have a copy on hand, you NEED to flash a stock boot.img in twrp, in essence to replace twrp while it is still in memory, BEFORE flashing magisk)

most custom roms are flashed in twrp, using payload.bin (A/B) format. these payload.bin files can be decrypted, leaving the raw images (boot, system, vendor) to be flashed in bootloader via fastboot if you so choose.

The best method of thinking is to not worry about having twrp on-device. Its really only good for flashing a custom rom (i would decrypt and flash via fastboot myself) and getting magisk going.

Hope this helps (anybody else contribute if i missed something in explanation)
[Essential Phone Guides, News, & Discussion] RandomPooka:
How does one decrypt a payload.bin? I've tried opening them in 7zip, but no luck. Or, do you mount them with a loopback device in *nix?
[Essential Phone Guides, News, & Discussion] DoR3M3:
So, big Deals on Amazon for the Essential and I'm thinking to make the jump, but I wanted to clarify these commands here, if they really need to be done in this manner, as the Op has posted?

So looking these commands over, I'm asking myself, why can't I root and flash a rom, like I know for other devices, in these cmds below?

So Essential has A/B partition scheme?

1. Unlock bootloader - fastboot flash unlocking

2. Boot into TWRP image, not flashing TWRP to the phone - TWRP is suppose to detect the system, and then you are on the slot with the System, if not, switch slots in TWRP.

3. Click Wipe and Wipe partitions, reboot to booloader, then boot back into TWRP and wipe other slot, reboot back to bootloader

4. Boot back into TWRP, click the 'Install' and pick rom.zip and flash rom.zip

5. Reboot to booloader

6. Boot back into TWRP, again, if TWRP isn't on the correct slot, just change it in TWRP, then click Install and flash Magisk.zip

So what is wrong with these steps, I thought this is a pretty common way to flash and root today in Android?

Thanks
[Essential Phone Guides, News, & Discussion] sh4d0wx18:
I'm having the same problem. I flashed twrp-mata_11.img (linked from the first post) via fastboot, selected the recovery option, and it simply restarted back into fastboot. I can no longer fully boot, it will only go into fastboot. If it helps I'm on the latest Oreo OTA (July)

Edit: I compared md5's and there appears to be no corruption. Also tried a different cable, no change
[Essential Phone Guides, News, & Discussion] oracleoftruth:
That's pretty much exactly my issue too. Makes me less likely to try root again (which means i lose Netflix and Google pay).
[Essential Phone Guides, News, & Discussion] RandomPooka:
I replied to your post in the OTHER thread. It's not typically recommended to cross post the same question on multiple threads.
[Essential Phone Guides, News, & Discussion] aer0zer0:
There's a thread in the ph-1 xda for a Windows payload decrypter. It works well. Also superr kitchen has the capability now. It's cmd line, but super easy.

[MENTION=3053466]RandomPooka[/MENTION] https://xdaforums.com/essential-phone/how-to/tool-payload-ota-dumping-tool-windows-t3771124

---------- Post added at 02:04 PM ---------- Previous post was at 02:03 PM ----------

Have you guys also done fastboot flashing unlock_critical yet?
[Essential Phone Guides, News, & Discussion] mjc8870:
I didn't mount when I went into TWRP. Once I mounted I found files boot and magisk and flashed from TWRP. I then added net.tethering.noprovisioning=true to build prop to get hotspot working again.
[Essential Phone Guides, News, & Discussion] oracleoftruth:
No but bootloader is unlocked. That command isn't in guides I've seen. What does it do?
[Essential Phone Guides, News, & Discussion] aer0zer0:
Unlocks the ability to flash critical partitions. It is in the stock images thread.
[Essential Phone Guides, News, & Discussion] oracleoftruth:
Thanks. Is that required for rooting? Is that likely to be the issue we are having?
[Essential Phone Guides, News, & Discussion] sh4d0wx18:
D:\ProgramFiles\Minimal ADB and Fastboot>fastboot flashing unlock_critical
...
FAILED (remote: Device already : unlocked!)
finished. total time: 0.006s

D:\ProgramFiles\Minimal ADB and Fastboot>fastboot flashing unlock
...
FAILED (remote: Device already : unlocked!)
finished. total time: 0.008s

D:\ProgramFiles\Minimal ADB and Fastboot>fastboot flash boot twrp-mata_11.img
target reported max download size of 536870912 bytes
sending 'boot_b' (45048 KB)...
OKAY [ 1.041s]
writing 'boot_b'...
OKAY [ 0.433s]
finished. total time: 1.475s

i then hit volume down twice to get to the recovery option, hit the power button to select it, and watched it reboot back into fastboot

EDIT: something i didn't notice before: after the warning message about the bootloader being unlocked there's an additional message with a red <!> that says

. that seems bad. is there any way for me to flash stock to fix this?
[Essential Phone Guides, News, & Discussion] aer0zer0:
you broke verity, there is a fix i http://gg.gg/ai7m1 flash it like you did TWRP, your phone wont boot, just let it bootloop until the red becomes orange, then force your way back to the bootloader, and flash twrp again. Also, dont use minimal ADB, its better to use the ADB/fastboot that comes with the essential windows drivers.

---------- Post added at 11:09 AM ---------- Previous post was at 11:08 AM ----------

Did you buy your phone used?
[Essential Phone Guides, News, & Discussion] Ascertion:
Anyone know if Treble-supported TWRP will be coming soon? I was hoping to flash the universal Android P GSI ROM but the TWRP must support mounting Vendor partition.
[Essential Phone Guides, News, & Discussion] MoistPicklez:
Our TWRP can flash GSI's no problem, I've already tried more then a few out, however you will lose NFC and in call audio until Essential fixes our Treble. I would suggest sticking to the P Beta already available for mata rather then use a hacked up P GSI, but all power to you.
[Essential Phone Guides, News, & Discussion] aer0zer0:
doubt it, our twrp is pretty janky. Big thing is we cant get touch to work, due to how they implemented touch drivers. which is why it sits in a LOS nougat boot.img

---------- Post added at 11:32 AM ---------- Previous post was at 11:21 AM ----------

Also, make sure everybody gives this a read

http://mata.readthedocs.io/en/latest/
[Essential Phone Guides, News, & Discussion] oracleoftruth:
"Did you buy your phone used?"

I bought my phone used. What could be the issue with that?
[Essential Phone Guides, News, & Discussion] aer0zer0:
cause both bootloader and critical are already unlocked, so someone beat on your phone before you
[Essential Phone Guides, News, & Discussion] oracleoftruth:
Ah nah. Bootloader was definitely locked. I unlocked it. Previous owner could have unlocked and relocked but seems unlikely.