yashsingh1/xdaforums huggingface dataset:
[Essential Phone Guides, News, & Discussion] Valicore:
So I unlocked bootloader, installed the latest Android P preview, installed Magisk, it's installed, but unfortunately it's failing safetynet checks and of course Magisk hide isn't working. Any suggestions for me? I've searched for hints and I can't really find something that makes sense to me (I totally acknowledge I might be missing it). Apologies if I did.
[Essential Phone Guides, News, & Discussion] bmg1001:
Which Magisk version are you using?

In my experience, sometimes Magisk Hide is bugged and I have to uncheck and recheck it in the Magisk Manager before it works normally.
[Essential Phone Guides, News, & Discussion] RandomPooka:
I've also found that if I check safety net within the first few minutes after boot, it will always fail. Wait half an hour and check again.
[Essential Phone Guides, News, & Discussion] GospelNerd:
Anybody grab that official P boot.img yet? OP?
[Essential Phone Guides, News, & Discussion] bmg1001:
Boot image for 9.0 Pie is up. :good:
[Essential Phone Guides, News, & Discussion] JBlaze05:
updated to latest magisk manager. failed to patch
[Essential Phone Guides, News, & Discussion] bmg1001:
How are you flashing Magisk? TWRP or Magisk Manager's boot image patcher?
[Essential Phone Guides, News, & Discussion] JBlaze05:
boot img patcher
[Essential Phone Guides, News, & Discussion] bmg1001:
Might be a bug with the Magisk Manager. I rooted via TWRP and everything is working fine.
[Essential Phone Guides, News, & Discussion] adam3914:
I switched to the beta channel in magisk manager and the path of the boot image went fine.
[Essential Phone Guides, News, & Discussion] JBlaze05:
alright. I had to do a BTS since i was stupid and didnt remove pin and fingerprint before i booted into twrp. ill get back to this shortly
[Essential Phone Guides, News, & Discussion] spotmark:
I downloaded the OTA from Essential and the stock Boot image and placed them on my phone. After that I started the update process at 4:00. Booted into Fastboot, installed TWRP, and booted into recovery. I dirty installed the OTA in TWRP over the previous rooted build, and rebooted. Back into Fastboot, installed TWRP, and booted into recovery. Installed stock boot image, Magisk, and rebooted. Finish time, 4:10. So a total of ten minutes to update and root with no loss of data.
[Essential Phone Guides, News, & Discussion] Thebear j koss:
Too much work. Lol. Grabbed boot.img, patched it using magisk, fastboot flashed patched img. All good.

Sent from my mata using Thebear Blue XDA Labs
[Essential Phone Guides, News, & Discussion] spotmark:
What about the update part?
[Essential Phone Guides, News, & Discussion] Thebear j koss:
Edit, uninstalled subs and reinstalled using an alpha build and subs works fine

That was all I did, didn't update anything except flashing the patched boot img. After that I got a screen saying you have successfully updated to P. I was under the impression subs worked on P, no go for me.

Sent from my mata using Thebear Blue XDA Labs
[Essential Phone Guides, News, & Discussion] hottcakes:
Anyone check to see if they pass the SafetNet on the Pie? Updated through manual adb OTA and rooted right away after first boot and showing I'm not passing either check.
[Essential Phone Guides, News, & Discussion] spotmark:
Mine passes.
[Essential Phone Guides, News, & Discussion] Thebear j koss:
Me too.

Sent from my mata using Thebear Blue XDA Labs
[Essential Phone Guides, News, & Discussion] hottcakes:
Would it have anything to do with the current slot, a/b, being loaded? Noticed for the first time in TWRP I was on B. Every other time I was on A.
[Essential Phone Guides, News, & Discussion] lynnux:
I'm rooted w/elementalx kernel. I want to adb sideload the OTA, without using twrp, then reroot.

Is this what I should do? Sideload OTA, reboot, in Magisk patch the new boot.img, reboot, flash kernel? I don't want to mess this up, I've done that enough.
[Essential Phone Guides, News, & Discussion] Toyeboy:
Hello can anyone that has rooted Android P check and see if YouTube Vanced Magisk module works?
[Essential Phone Guides, News, & Discussion] aer0zer0:
Works fine
[Essential Phone Guides, News, & Discussion] lynnux:
So I just went ahead and did it a way that worked for me. Using Chromebook, adb sideloaded OTA file, rebooted, success. Used Magisk to patch the new boot.img, then moved patched_boot.img to Chromebook, fastboot flashed it, rebooted, success. Now rooted. Used EX Kernel Manager to download and flash EX Kernel, success.
[Essential Phone Guides, News, & Discussion] mobileman88:
Do you know if the sames patched_boot.img can be used across multiple devices? I have a couple of PH1 and would like to save a little time by not having to patch each one separately but rather create a patched boot image and apply it to all my devices.
[MENTION=5447216]aer0zer0[/MENTION] : Maybe you might have some experience in this.
[Essential Phone Guides, News, & Discussion] aer0zer0:
Outta be fine if they're all on p
[Essential Phone Guides, News, & Discussion] Ryuk359:
What version of magisk? I have also messed this up before and really don't want to. So I'm following you lol.
[Essential Phone Guides, News, & Discussion] droidian5:
I messed up i think, noob at this PH1. I forgot to install the image for p before installing magic. I was able to get back to twrp. Now it booted to android recovery and says it can't load android system, gives me two choices. Try again or factory data reset. Any tips would be appreciated.

thanks in advance
[Essential Phone Guides, News, & Discussion] lynnux:
I used Magisk 16.7. When I originally tried rooting, 16.0 would fail to patch the boot image.

I've run into a problem, though, and I'm not sure what caused it. I can't boot into recovery any more, either through adb or from bootloader. I can scroll through the options, it just won't boot into recovery. It bootloops a few times, then boots into system. Everything else is working fine, but it's troubling that I can no longer go to recovery. If I try to adb into recovery, phone goes off and tries to go there, but then goes back to system.
[Essential Phone Guides, News, & Discussion] bmg1001:
Is it a freshly wiped clean install of P?
[Essential Phone Guides, News, & Discussion] droidian5:
yes clean install. I upgraded via ota after unlocking critical. All was good until I went too quick and forgot to install the boot img before flashing twrp

---------- Post added at 09:58 PM ---------- Previous post was at 09:55 PM ----------

I just tried the factory reset! I'm back into P!
[Essential Phone Guides, News, & Discussion] bmg1001:
You have to go through the initial setup on the phone after a factory reset before installing Magisk will work, otherwise you'll run into that error you mentioned in the stock recovery.
[Essential Phone Guides, News, & Discussion] Ryuk359:
See I just don't trust a flashed over Magisk to patch my boot.img and I was right somewhat. It messed up my img. So I didn't flash it instead flashing twrp then the stock image then 16.7. Now I'm updated and running good.
[Essential Phone Guides, News, & Discussion] droidian5:
I see. I had it setup and working, took the OTA update to P, and all was good until I messed up by not installing the boot image before installing magisk when trying to root. Lesson learned.

It reset back to the other partition, which had Oreo. I will wait till my heart stops racing before I try again to root it LOL.

Thanks again for your help!
[Essential Phone Guides, News, & Discussion] vigos:
Thanks! It was failing to patch the boot image for me, but this fixed it!
[Essential Phone Guides, News, & Discussion] lynnux:
I ended up uninstalling Magisk, which restored the stock boot.img, then I was able to reboot into recovery and sideloaded the OTA again. Will work on Magisk another time. Thanks for mentioning what you did, it helped me get there in the end.
[Essential Phone Guides, News, & Discussion] lildimsum7:
Did anyone's YouTube disappear? I have YouTube vanced module installed. I tried uninstalling the module, installing YouTube from the play store, and install the module again, but I still don't have youtube vanced.
[Essential Phone Guides, News, & Discussion] future/primitive:
Hey all , having trouble rooting after no wipe bts Pie .. I adb twrp it sends twrp11 boot a packet okay but won't write boot a , says invalid partition ... Why could this be? Cheers
[Essential Phone Guides, News, & Discussion] aer0zer0:
Send a screenshot. You may have to append specific partition if your not using essentials adb/fastboot binaries

Fastboot flash boot_a twrp11.img or fastboot flash boot_b twrp11.img depending on whether your slot is a or b
[Essential Phone Guides, News, & Discussion] ceelos218:
You have to uninstall and reinstall. Took me two times to do but it finally stuck
[Essential Phone Guides, News, & Discussion] ultrasuper:
New owner here.

Will I be able to unlock/root using a computer that is only USB 2.0? I've ordered this Anker cable to make the connection:

USB C Charger, Anker PowerLine USB C to USB 3.0 Cable (6ft) with 56k Ohm Pull-up Resistor for Samsung Galaxy Note 8, S8, S8+, S9, ...

https://www.amazon.com/Charger-Anker-PowerLine-Resistor-Nintendo/dp/B01E9W8KYC

Running Debian 9.4, ADB version 1.0.36, rev 1:7.0.0+r33-1 (Fastboot is same rev 1:7.0.0)

Also, is it best to use Magisk release or Magisk beta for first time rooting?
[Essential Phone Guides, News, & Discussion] ThatOneGuyOverThere:
When I try installing the well-being mod, I get this error. How do I fix it?
[Essential Phone Guides, News, & Discussion] aer0zer0:
What version magisk?
[Essential Phone Guides, News, & Discussion] chaoticdeathly:
I'm having trouble rooting P using both methods: tried flashing TWRP, flashed stock boot.img, flashed Magisk 16.7 zip, stuck at boot animation. Tried the other method: patched stock boot.img in TWRP, flashed it via fastboot, same thing. I tried uninstalling all root-related apps and nothing. If I flash a stock boot.img, it boots up to P instantly. Any advice?
[Essential Phone Guides, News, & Discussion] ceelos218:
Make sure it's in the right partition where os is installed also have u removed fingerprints and lock screen
[Essential Phone Guides, News, & Discussion] RandomPooka:
What's that mod for? I just saw it mentioned somewhere else, but that's the first I've heard of it
[Essential Phone Guides, News, & Discussion] aer0zer0:
It's Google's new "feel bad about yourself if you veg on your phone app".... No lie. The magisk module is broke they shared.

https://drive.google.com/file/d/1dBnz8QKzIwpAqsGOoHbILfHhI7XdIzHh/view?usp=drivesdk

My latest ghetto pixel mod I added and fixed it.
[Essential Phone Guides, News, & Discussion] RandomPooka:
I'm not sure what the point of that kind of app is, but whatever.

Is it a system app on Pie and the module is required to make things work, or something?
[Essential Phone Guides, News, & Discussion] ThatOneGuyOverThere:
Use beta channel fixed all my problems
[Essential Phone Guides, News, & Discussion] aer0zer0:
Nah, it's got a ton of other pixely stuff, vetted for essential, gcam mod, etc...
[Essential Phone Guides, News, & Discussion] RandomPooka:
So, the Well-Being app itself isn't an in-built requirement that this mod fixes. Gotcha. I guess I'll look into the app, but from your quick description of it, I don't really understand why it even exists.
[Essential Phone Guides, News, & Discussion] bigmase23:
new to the essential..

When i try to use adb and fastboot flash boot twrp.img

i get an error: cannot load 'twrp.img': No such file or directory

I have the twrp.img on my internal storage: twrp-mata_11.img

Please help, thanks
[Essential Phone Guides, News, & Discussion] galakanokis:
Did you rename it twrp.img or leave it the same? You need to type the whole name if you haven't renamed it. Also make sure it's in the right directory.
[Essential Phone Guides, News, & Discussion] bigmase23:
Thanks.... Now...

I flashed twrp, then flashed pie stock img, and now when i flash magisk zip it says install zip successful, but failed to mount, that normal?
[Essential Phone Guides, News, & Discussion] galakanokis:
I think so, yes. Been a week or so since I last flashed magisk so I cannot remember 100% but I believe it is fine. I do most things through fastboot so don't remember twrp well on this device.
[Essential Phone Guides, News, & Discussion] RandomPooka:
Change your command to read twrp-mata_11.img instead of twrp.img
[Essential Phone Guides, News, & Discussion] chaoticdeathly:
Nothing worked. I had to factory reset and the normal root methods worked as expected.
[Essential Phone Guides, News, & Discussion] future/primitive:
Ok I will get the essential adb/fboot ,cheers for that info , what's made it do that all of a sudden? I have been fine rooting since nougat only since beta3 have I had this issue .. once again thanks for your help..
[Essential Phone Guides, News, & Discussion] ahalol:
i just flashed pie OTA via twrp. Then i successfully reboot into system. However, when I flash twrp again, flash boot image, and then magisk, i fell into boot animation loop. Please help!
[Essential Phone Guides, News, & Discussion] droidstyle:
Flash stock boot.img in fast boot then reboot system. If nothing prolly have to wipe data/factory reset in stock Recovery.

Pretty sure you should have flashed the Pie OTA.zip via ADB sideload in stock recovery.
[Essential Phone Guides, News, & Discussion] Li Gui:
Issue: couldn't falsh twrp

I have a problem when I flash the recovery which was downloaded through the link in this post, but command line prompt just throw me this error:

Sending 'boot__a' (45048 KB) OKAY [ 1.128s]

Writing 'boot__a' FAILED (remote: No such partition.)

Finished. Total time: 1.144s

Could anyone tell me what should I do? Thx
[Essential Phone Guides, News, & Discussion] dirtyreturn:
Don't forget to place a copy in the android platforms folder
[Essential Phone Guides, News, & Discussion] nibblur:
People who pass safetynet check, do you have elementalx installed too? Mine is failing. In the stock zip, I used boot file, since there was no boot.img file when flashing with twrp.
[Essential Phone Guides, News, & Discussion] aer0zer0:
P, exkernel, ianmacd magisk. I'm passing here.
[Essential Phone Guides, News, & Discussion] lynnux:
After the command put _a, so it knows to write it to partition a. For example recovery_a, or boot_a, then the file name. If it had tried writing it to 'b', you would put b instead.
[Essential Phone Guides, News, & Discussion] aer0zer0:
It's appending an extra underscore. The new adb/fastboot binaries seem to do this. The essential adb/fastboot you can just specify boot, and it will flash the current.
[Essential Phone Guides, News, & Discussion] NaterTots:
I've got magisk 16.4 with elementalX kernel and Magisk well being module and pass safetynet. Obviously on Pie
[Essential Phone Guides, News, & Discussion] lynnux:
I probably have to use _a or _b because I'm doing it on a Chromebook and don't have the essential drivers installed. Are there linux version of the essential drivers? I couldn't find them.
[Essential Phone Guides, News, & Discussion] hssxda:
Hi All - Can someone help me out please?

I was running the newest Android Oreo July patch rooted with Magisk and all was good. I got the OTA update to Pie 9.0.0 message and I figured that the OTA would not work since I was rooted. I decided to click on the OTA update and strangely enough the update was successfull and I am now on Android P. However 2 issues. Firstly root checker states I am no longer rooted and SafetyNet Checker states I do not pass Google Safety Net.

Can someone please provide detailed instructions what I need to do to reroot? Since i am already updated what do I do? I do NOT want to wipe any info. A step by step would be helpful. Thanks!
[Essential Phone Guides, News, & Discussion] mobileman88:
This is the behavior of the new fastboot from Google. Since you are using A slot, just 'fastboot flash boot_a boot'
[Essential Phone Guides, News, & Discussion] guliver365:
I updated my oro rooted from PPR1 180610 091 BACK TO STOCK, run flash all no wipe.bat boot normally but from that, I installed twrp the way I always done flash the PIE-9.0-091.img in boot partition and flash Magisk 16.7 but at reboot got into a boot loop So I can only go back flash twrp and again PIE-9.0-091.img boot ok but wondering how to root at this point?
[Essential Phone Guides, News, & Discussion] stryver:
Check your partition. Be sure you are flashing boot and magisk to your current rom partition. You may have accidentally swapped partitions at some point. Hope this helps.

Also try magisk 16.4
[Essential Phone Guides, News, & Discussion] guliver365:
I got the option in twrp to intall the boot image in boot or system I picked Boot but after that no option to change the partition to install Magisk!
[Essential Phone Guides, News, & Discussion] bmg1001:
The current method of rooting Oreo keeps the stock recovery.
[Essential Phone Guides, News, & Discussion] 1Krima:
Thank you. I thought it modified the boot image.

I'm sorry, any more details on this would be great.
[Essential Phone Guides, News, & Discussion] socali:
Welcome!

TWRP is the recovery tool used to patch different partitions.

Magisk is used to add root by patching the boot partition.

Usually OTA packages verify the integrity of the system before patching, so rooting would break automatic OTA.

However, you could always flash stock boot+system and then OTA zip would work. Then flash Magisk again to root it.
[Essential Phone Guides, News, & Discussion] 1Krima:
Thank you. Can I use the previous 7.1.1 boot image or is there one for the new Oreo beta I should use to patch?

I'm so sorry if the answer to these questions are common knowledge.

So this is what I did. I downloaded the magisk app, used it to patch the boot image, rebooted into fastboot mode, did the command to flash the boot patched.boot.img and rebooted.

What else do I need to do to be rooted without installing TWRP?
[Essential Phone Guides, News, & Discussion] ad78:
Which TWRP you guys used on Oreo?
[Essential Phone Guides, News, & Discussion] Ascertion:
The download is under the spoiler tag in OP. Look for oreo twrp/magisk img.

For me, I just flashed Oreo Magisk image and rebooted. Then manually installed Magisk Manager and I was rooted. :good:
[Essential Phone Guides, News, & Discussion] ad78:
what command did you do to manually pushed the magisk?
[Essential Phone Guides, News, & Discussion] Ascertion:
when device is booted to Bootloader mode, I just attached usb and did

fastboot flash boot oreomagisk.img

Then I rebooted device and I was rooted.
[Essential Phone Guides, News, & Discussion] ad78:
this is the last command, but before this we need to TWRP. all i see on the first page twrp version is for 7.1.1
[Essential Phone Guides, News, & Discussion] Ascertion:
You don't need TWRP, that boot image in the OP is already magisk-patched. So if you boot with it, you'll be rooted (with manual installation of Magisk Manager.)
[Essential Phone Guides, News, & Discussion] Mdaly001:
OMG thank you. I knew I was missing something super simple. :good::good::good:
[Essential Phone Guides, News, & Discussion] ad78:
i dont see my magisk on my apps after flashing oreomagisk.img
[Essential Phone Guides, News, & Discussion] Ascertion:
You need to download and install Magisk Manager. Once that is done, you'll be rooted.
[Essential Phone Guides, News, & Discussion] aer0zer0:
https://www.apkmirror.com/apk/topjo...se/magisk-manager-5-4-0-android-apk-download/

Thats the link to version 5.4.0 which is compatible with 14.3 beta. which is what the oreo magisk boot.img is rooted with.

I am using the 14.4 magisk and 5.4.1 manager from the pixel 2 thread, which works fine for us. You can also flash some of the homebrew 14.5 builds and they work as well. [MENTION=4550123]bmg1001[/MENTION] this is the easiest way to root the oreo developer beta, you should as a root method in the OP
[Essential Phone Guides, News, & Discussion] Mike02z:
I used the "old" process to gain root in Oreo. While touch was not working in twrp I was still able to sideload Magisk manager with no issues. I then flashed the Oreo.img and I'm rooted. I know AdAway works which is my primary reason for rooting.
[Essential Phone Guides, News, & Discussion] superior8888:
You on stock Oreo and rooted?

Skickat från min Essential PH-1 via Tapatalk
[Essential Phone Guides, News, & Discussion] Mike02z:
Yes I am.
[Essential Phone Guides, News, & Discussion] superior8888:
Sent you a pm, mate.

Skickat från min Essential PH-1 via Tapatalk
[Essential Phone Guides, News, & Discussion] ad78:
I sorted out, oreo from the scratch and rooted.

Im a adaway user but im leaning towards adguard now.
[Essential Phone Guides, News, & Discussion] treIII:
Have you noticed if root is affecting battery life? Thanks
[Essential Phone Guides, News, & Discussion] stryver:
After flashing boot, go to install again and there should be a button on the bottom that says flash zip, hit that to flash magisk
[Essential Phone Guides, News, & Discussion] guliver365:
I did that but maybe I need to downgrade the Magisk like you said to 16.4 ( not sure why ) or maybe I will try the Boot patched method.

Edit

I did fastboot flash boot patched_boot.img same thing boot loop

EDIT2

The solution was to do factory reset and redo the rooting process. I guess from ORO it is what we have to do if you want root.

All OK PIE is rooted now
[Essential Phone Guides, News, & Discussion] articoceanic:
hello is it ok if i ask for help in this thread like others? if not will delete post.

https://youtu.be/xrNnlso0rQM

i followed this guys root instructions. but since he didn't state which magisk to use, i used the latest stable version 16.0.

i am on Android pie latest version. amazon unlocked phone.

everything seemed to go ok. i unlocked bootloader. entered fastboot, transferred over twrp, transferred over magisk, sideloaded magisk. and then option to restart was given. so i restarted phone.

but phone seems to be stuck on the white circle black square boot screen. doesn't go any further than that.

i can do a hard reset, but gets stuck on same screen. can't switch off the screen, or do anything else, can't enter fastboot either through vol down power button.

any idea what i did wrong and how to fix it anyone?

i think it's looking for something, so i must have messed up somewhere. either magisk i need to use different version or twrp or i needed to use android pie image (which i didn't as the video didn't mention it).

any way to enter fastboot and fix this?
[Essential Phone Guides, News, & Discussion] guliver365:
Connect the phone to the PC CMD

ADB devices

adb reboot -bootloader

Or from the phone as soon you power force reboot release power but keep volume down pushed
[Essential Phone Guides, News, & Discussion] RandomPooka:
Sounds like you didn't flash the stock boot image before flashing Magisk. That's a crucial step, because TWRP gets flashed to the boot partition, and you need to put a kernel back in it for Magisk to patch.

You basically have a Magisk patched TWRP recovery, but no actual kernel for booting the device.
[Essential Phone Guides, News, & Discussion] articoceanic:
ahhhh, you might be right. there was no mention in the video of flashing the stock boot image in the video.

few noob questions

1) I downloaded the Android pie rom from essential website in a zip file, 1.2gb is that the same thing as stock boot image?

and can i leave it in a zip format inside the phones storage? or do i need to unzip it?

2) i then left it inside the phones storage, so it's still there. Can i use that or do i need to sideload it, and then install it?

3) So i repeat everything i did, install twrp, then install stock boot image, then install magisk

Noob question, what is the cmd command for installing the stock image?

4) Is magisk 16.0 acceptable version?

thanks for your help.

---------- Post added at 02:07 AM ---------- Previous post was at 02:05 AM ----------

thanks. managed to finally get into flash boot mode. had to hold all 3 buttons down for 12 seconds for it to completely shutdown. then held the vol down power button and it went into fastboot