yashsingh1/xdaforums huggingface dataset:
[Essential Phone Guides, News, & Discussion] scottydelta:
I flashed twrp using fastboot without removing the phone password lock. Now the the phone keep booting into the recovery and the phone's 4 digit code doesnt work for decryption on twrp now. Is there any solution?

My phone was already rooted but recovery was missing. So I used fastboot to install recovery using command

but now it keeps trying to reboot to recovery and the password doesnt work. please help, thanks
[Essential Phone Guides, News, & Discussion] :
If u are using the newest twrp it does decrypt but u gotta fiddle with the touch response to get it to work, tap hard a dot and then connect the rest.
[Essential Phone Guides, News, & Discussion] NLBeev:
If you're on the October version see post #2040
[Essential Phone Guides, News, & Discussion] scottydelta:
thanks for the tip, it was in fact messed up UI due to which I was pressing wrong buttons.

I reflashed magisk zip after getting into twrp but now it is stuck on the 'powered by android' logo(I can goto bootloader but gets stuck on logo when I try to goto recovery or system), am I missing something?

My phone has JUL-AUG update.

Any suggestion on how can I either fix it or wipe and start from scratch?

thanks

edit: things I have tried:

1. Tried reflashing stock boot image using command: `fastboot flash boot_b PIE-9.0-091.img`

but it is still stuck on the boot logo.
[Essential Phone Guides, News, & Discussion] IRONJIM4101:
Did you get TWRP installed on both partitions? Maybe set active other and see what's up?
[Essential Phone Guides, News, & Discussion] NLBeev:
Extract the latest back-to-stock image on a PC and flash in fastboot mode.

There is also a patched boot image included with TWRP and Magisk

https://xdaforums.com/showthread.php?p=74437484
[Essential Phone Guides, News, & Discussion] andrewwm:
I tried flashing TWRP on part. b but it froze and wouldn't finish after 10 minutes. I unplugged and reboot the bootloader but now I can't switch back to part. b. I get two errors: fastboot: error: Device does not support slots OR Setting current slot to 'b' FAILED (remote: unknown command).

Everything still works, including the old recovery. Did I break something?
[Essential Phone Guides, News, & Discussion] IRONJIM4101:
Try post #2127
[Essential Phone Guides, News, & Discussion] bmg1001:
November Boot Image is up! :good:
[Essential Phone Guides, News, & Discussion] aer0zer0:
https://www.androidfilehost.com/?fid=11410932744536995931

nov_patched_twrp_magisk_stock boot.img is up

Enjoy:)
[Essential Phone Guides, News, & Discussion] rbouza1:
With the new twrp we can flash ota from essential right in twrp ?
[Essential Phone Guides, News, & Discussion] :
U can with any of the twrps. Old 11, Dee's,. Mine, aero, any
[Essential Phone Guides, News, & Discussion] rbouza1:
A user on Reddit posted a patch of oct with twrp and magisk. He posted that we could from last month on flash ota and keep root/magisk. Just checking
[Essential Phone Guides, News, & Discussion] avd:
I had to downgrade magisk to get it to work.. was getting database corrupted loops.
[Essential Phone Guides, News, & Discussion] aer0zer0:
I am using ianmacd 17.4 magisk. probably shoulda remembered.
[Essential Phone Guides, News, & Discussion] RandomPooka:
So, if we're not on that build of Magisk, we can flash the Stocktober boot.img, take the OTA, fastboot flash this img, and then just boot into recovery to flash November stock kernel, TWRP, and Magisk of our choosing?
[Essential Phone Guides, News, & Discussion] aer0zer0:
Just flash this, go-to twrp, and flash whatever you want

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

Or that, all the same.
[Essential Phone Guides, News, & Discussion] RandomPooka:
Thanks. Seemed like that was the route to go, as far as getting TWRP and Magisk in place, but with a different release than yours. I didn't know how well it would behave if I flashed Magisk 17.3 overtop of your already in place 17.4
[Essential Phone Guides, News, & Discussion] aer0zer0:
The ianmacd builds are really good
[Essential Phone Guides, News, & Discussion] RandomPooka:
Might need to look into them. Is there an XDA thread, or do I need to find them elsewhere?
[Essential Phone Guides, News, & Discussion] aer0zer0:
https://github.com/ianmacd/MagiskBuilds
[Essential Phone Guides, News, & Discussion] RandomPooka:
Just pop that into the custom tracker in Magisk Manager settings?
[Essential Phone Guides, News, & Discussion] aer0zer0:
No his quick link is there though, that's his git root
[Essential Phone Guides, News, & Discussion] avd:
Follow my procedure. Open magisk app and hit install.
[Essential Phone Guides, News, & Discussion] RandomPooka:
Way too late for that. I've been rebooted with 17.3 Magisk beta for something a lot like 90 minutes.
[Essential Phone Guides, News, & Discussion] avd:
First time I was able to do an ota with this phone.

Before this I had to pull the charging cable out of the car, fire up the laptop and do a bunch of downloads.

This was really painless.
[Essential Phone Guides, News, & Discussion] NLBeev:
Thx.

EDIT For EX kernel users.

EX manager will tell there's an update. After flashing EX v3.09 EX mgr will show FAILED. Seems not true. After a restart EX v3.09 is installed and working.

Better wait for the update.
[Essential Phone Guides, News, & Discussion] CamoGeko:
Thanks for this!

Easiest OTA take of my life.

Flashed the patched boot in EX Kernel manager, rebooted to TWRP and flashed OTA zip (from Essential's site) then rebooted to system. PROFIT! :laugh:

Literally took me less than 2 mins.
[Essential Phone Guides, News, & Discussion] NLBeev:
About this version of Magisk 17.4. PH-1 shows a message that the su database is corrupt. Flashing original Magisk 17.3 solves that.
[Essential Phone Guides, News, & Discussion] aer0zer0:
Yeah, I'm on custom signed nightlies from ianmacd. He changed the entire database method, work well IMO. if you install a custom manager, it "should" work again. TJW is making a ton of under the hood changes in 17.4.
[Essential Phone Guides, News, & Discussion] NLBeev:
It works; but uninstall magisk before flashing is recommended....

EDIT

When magisk 17.3 is installed and updated to 17.4 nightly it works correctly. Because the su database is empty apps with root access must be reauthorized.
[Essential Phone Guides, News, & Discussion] RandomPooka:
I don't want you to think I didn't appreciate your advice. I'd just already completed my update.

Good to know that you can safely flash a different version of Magisk over an already patched kernel
[Essential Phone Guides, News, & Discussion] NLBeev:
For those interested in nightly versions of Magisk.

In Magisk Manager Settings, the Update channel can be set to custom. With this url: https://goo.gl/yZpnrf
[Essential Phone Guides, News, & Discussion] swiftbones74:
Sorry for the noob question but,.. just got my ph-1. I unlocked the bootloader and unlocked critical partitions. Before I unlocked I had taken the November update. Do I follow the directions from op to flash this in fastboot?
[Essential Phone Guides, News, & Discussion] aer0zer0:
Yep
[Essential Phone Guides, News, & Discussion] swiftbones74:
I don't know what I'm doing wrong ? I have downloaded [MENTION=5447216]aer0zer0[/MENTION] nov_patched_twrp_magisk_stock boot.img / put it in a file on my phone / rebooted to flashboot / run command fastboot flash boot patched_boot.img / i keep getting error cant find patched_boot.img? I am using recommended adb fastboot and have tried with linux and windows? Looks like computer isn't recognizing my phone in fastboot but im lost? Sorry but would someone please give me a hint what is going on?
[Essential Phone Guides, News, & Discussion] NLBeev:
Must be on your PC in the same folder where fastboot.exe is located. And a working USB connection is a must.
[Essential Phone Guides, News, & Discussion] ktmom:
Just to add to the previous excellent answer, make sure fastboot is communicating correctly first by using: fastboot devices

That should return the device serial number.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Essential Phone Guides, News, & Discussion] RandomPooka:
Can confirm. You want this file on the PC in the directory you're running the fastboot command. It doesn't matter if you have ten copies of it on your phone. The command you're issuing uploads it to your phone's boot partition from the file on your PC.
[Essential Phone Guides, News, & Discussion] NLBeev:
https://www.androidfilehost.com/?fid=11410963190603842651

November All-in-one boot image, with EX 3.10, TWRP and Magisk 17.4 (nightly)
[Essential Phone Guides, News, & Discussion] mobileman88:
I kept getting the su database is corrupt message a couple times a day. Shall downgrade to 17.3 . Thanks
[Essential Phone Guides, News, & Discussion] aer0zer0:
or reflash whatever 17.4 you want
[Essential Phone Guides, News, & Discussion] :
I'm a firm believer in kingo root.

:eek:

Not really
[Essential Phone Guides, News, & Discussion] swiftbones74:
Ok so finally success! I made a basic custom recovery / root environment really f#ing hard on myself by not listening and purchasing a GOOD USB C cord in the beginning. Live and learn, hopefully...

It took me 3 days, 3cheap, 1 good Belkin USB-C cord, and two separate directions. I followed this one below and had no touch in TWRP / got a new cord and fastboot flashed [MENTION=5447216]aer0zer0[/MENTION] nov_patched_twrp_magick_stock boot.img to slot a and b. Everything seems to work after uninstalling and reinstalling magisk manager. TWRP seems good as well. I am being overly cautious because I did things so backwards.

Am I good to go guys?? Can I start trying magisk mods and different ROMs ? Any suggestions for ROMs? I can't take the white in settings and would love Substratum on this phone. Are there any issues with ADAway? Anyways, I've digressed, I mostly wanted to share my story and say thanks to the op and all the dev's that got this phone's quark's ironed out.

This is what I followed in the start.

https://xdaforums.com/essential-phone/how-to/guide-how-to-install-twrp-root-t3841922/post77609285
[Essential Phone Guides, News, & Discussion] droidian5:
Are there any issues with ADAway?

[MENTION=8135223]swiftbones74[/MENTION] Welcome to the essential phone! It's not the same easy as the Galaxy s5 to tweak but is a big upgrade and a great phone!

Adaway works great. I haven't tried custom ROM yet but itching to. Elemental kernal is good too, currently running stock Pie. Stock is too googley for me but I'm getting by.

Happy Flashing!
[Essential Phone Guides, News, & Discussion] ktmom:
In the themes section of the PH-1 forum there's a thread on darkening the settings.

In settings -> display -> advanced -> device theme if you set the theme to dark, and change your wallpaper to all black (look for one in the themes section) and finally reboot, you'll get a dark settings menu. You can then change your wallpaper to whatever.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Essential Phone Guides, News, & Discussion] CamoGeko:
I've been getting decent battery results on Nov stock kernel to be honest, so much so that I'm finding it hard deciding whether I want to switch back to ElementalX or not.
[Essential Phone Guides, News, & Discussion] dangoon:
I can't get the "fastboot -i 0x2e17 set_active other" or "fastboot -i 0x2e17 -aX" to work. Any pointer? I tried using "fastboot set_active other" but it won't recognize the phone without "-i 0x2e17"
[Essential Phone Guides, News, & Discussion] ipdev:
fastboot getvar current-slot Shows the active slot.

fastboot --set-active=a Sets active slot to a.

fastboot --set-active=b Seet active slot to b.

It's what works for me. ;)

bash-3.2# fastboot getvar current-slot
current-slot: _b

bash-3.2# fastboot --set-active=a
Setting current slot to 'a' OKAY [ 0.160s]
Finished. Total time: 0.162s

bash-3.2# fastboot getvar current-slot
current-slot: _a

bash-3.2# fastboot --version
fastboot version 28.0.1-4986621
Installed as /opt/sdk/platform-tools/fastboot

Cheers.
[Essential Phone Guides, News, & Discussion] NLBeev:
After v17.3 and reboot I've upgraded by flashing Magisk17.4 (nightly).

No more corrupt messages.

You may use nightly updates by changing the update channel of Magisk Manager 17.4 (Settings), the Update channel can be set to custom. With this url: https://goo.gl/yZpnrf

or in newer builds to 'ianmacd'.

There will be frequent updates.

(Including the necessary restart)
[Essential Phone Guides, News, & Discussion] aer0zer0:
congratulations on getting mod status
[Essential Phone Guides, News, & Discussion] Ryuk359:
So I'm on October rooted with twrp. From what I gather I reboot into twrp, flash the ota zip, then the patched November boot.img. Is this correct? It shouldn't wipe data?
[Essential Phone Guides, News, & Discussion] Valicore:
So I'm really confused. The first time I tried to root a month or two ago, I completed the process by safetynet check failed and root didn't work properly even though it was installed, so I just said f-it. I really need Magisk so I can hide the fact that I've altered the phone and use Google Pay, but the last time I tried I ended up in TWRP with no touch and was stuck. What exactly do I need to do to root now, I am on the November security patch. Thank you!

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

So can I flash this in flashboot from stock with unlocked bootloader and be done?

Thank you!
[Essential Phone Guides, News, & Discussion] Thebear j koss:
Do you have twrp now? Flash it using twrp.

Sent from my PH-1 using Thebear Blue XDA Labs
[Essential Phone Guides, News, & Discussion] Valicore:
No - I tried to flash it but got stuck at that step because I had no touch screen.
[Essential Phone Guides, News, & Discussion] kittygotwet:
So I followed Section B of this Guide: https://www.reddit.com/r/essential/comments/9uhz9d/update_to_november_root_and_twrp_patched_boot/

And I'm left with a phone with unusable touch screen, anyone got the latest guide/patch boot?
[Essential Phone Guides, News, & Discussion] CamoGeko:
The solution to your problem is here:

https://mata.readthedocs.io/en/latest/

"No Touch when moving from 8/2018 -> 9/2018 Pie builds"
[Essential Phone Guides, News, & Discussion] millicent:
I am running into some strange issues with rooting my new essential.

So I have just flashed latest patched boot

c:\android\platform-tools-latest-windows>fastboot flash boot nov_patched_twrp_magisk_stock.img
target reported max download size of 536870912 bytes
sending 'boot_b' (65536 KB)...
OKAY [ 1.625s]
writing 'boot_b'...
OKAY [ 0.567s]
finished. total time: 2.199s

but then magisk manager cannot upgrade itself "app not installed" and consequently refuses to open.

E: oh, ignore this, found out it flashes the twrp recovery
[Essential Phone Guides, News, & Discussion] kittygotwet:
So, do I flash that hyp-rpm-september.zip then the latest build?
[Essential Phone Guides, News, & Discussion] swiftbones74:
This guide by [MENTION=4550123]bmg1001[/MENTION] + [MENTION=5447216]aer0zer0[/MENTION]'s nov-all-in-one-bts-twrp-magisk = PURELY AWESOME WORK !!! Thank you guys for making it so easy.

---------- Post added at 09:23 AM ---------- Previous post was at 09:22 AM ----------

This guide by [MENTION=4550123]bmg1001[/MENTION] + [MENTION=5447216]aer0zer0[/MENTION]'s nov-all-in-one-bts-twrp-magisk = PURELY AWESOME WORK !!! Thank you guys for making it so easy.
[Essential Phone Guides, News, & Discussion] socali:
Thanks for the TWRP image!

How did you manage to flash magisk in twrp? I'm getting an error saying twrp "Failed to mount /data" :(
[Essential Phone Guides, News, & Discussion] aer0zer0:
So crypto didnt work. Which is what i thought as i tested it. data wont mount unless you format it, which then means triggers a factory reset.

I was using it by flashing the oreo return to stock images first, then flashing the twrp, formatting data, flashing the stock boot image, then flashing twrp. its a novelty at this point. we need crypto.
[Essential Phone Guides, News, & Discussion] socali:
Yep, formatting Data from twrp managed to mount it and then magisk installed successfully. :good:
[Essential Phone Guides, News, & Discussion] aer0zer0:
but touch does work, and if you know what you want to install you can do alot. Cant install supersu, as throws a sepolicy error and dies. Ive tried.
[Essential Phone Guides, News, & Discussion] yttiwmi:
For the old method, step 1, is it supposed to be 'fastboot flash boot twrp.img' instead of 'fastboot flash recovery twrp.img'?
[Essential Phone Guides, News, & Discussion] mrcooter:
Correct, recovery is bundled into the boot image for this device.
[Essential Phone Guides, News, & Discussion] radaloel:
Hi, people! I'm on Oreo beta stock, and planning to root, but as I factory reseted days ago I don't want to unlock bootloader that will wipe my data again, if possible...

Just read on the Magisk forum that it's possible to root without custom recovery, let's quote:

'Via Magisk Manager (Only support v14.0+):

This method does not need root, and also does not require a custom recovery.

However, you MUST have a stock boot image dump beforehand, and also be able to flash the patched boot image, either through fastboot/download mode or ODIN

Install the latest Magisk Manager

If you're planning to flash the patched boot image through ODIN, go to Settings > Update Settings > Patched Boot Output Format, and select .img.tar. For normal users leave it as the default .img

Press Install > Install > Patch Boot Image File, and select your stock boot image file

Magisk Manager will now patch your boot image, and store it in [Internal Storage]/MagiskManager/patched_boot.img[.tar]

Copy the patched boot image to your PC. If you can't fine it via MTP, you can pull the file with ADB: adb pull /sdcard/MagiskManager/patched_boot.img[.tar]

Flash the patched boot image to your device and reboot. If using fastboot: fastboot flash boot /path/to/patched_boot.img, or use the ODIN software.

Voilà!'

Do u know if it's possible with the Essential Phone?
[Essential Phone Guides, News, & Discussion] The_Automator:
Indeed it is possible. Install the latest Magisk apk, open it up go into settings and change update channel to beta (this will download the 14.5zip) copy the boot.img from the oreo zip to your phone (make sure the image is called boot.img) this will create a patched_boot.img in the MagiskManager folder. I couldnt see the patched boot image but you can use adb pull (as you mentioned) to bring it back to your pc. Reboot bootloader flash modified boot image and your golden. Hell if it fails you should have the stock boot image right there to flash over with.
[Essential Phone Guides, News, & Discussion] elsamuraiguapo:
Anyone else get this error when trying to flash recovery?

Using the command that was instructed in the OP. Even renamed the file to twrp so it would be the exact same. I know fastboot is working becuase I am able to see the devices under "fastboot devices"
[Essential Phone Guides, News, & Discussion] mrcooter:
I have seen this error from others before and from what I've read think it's related to your driver. I would suggest using the ones from Essentials site instead of minimal.
[Essential Phone Guides, News, & Discussion] PowerPC:
Anyone using Magisk in Oreo and have safety net validation working?
[Essential Phone Guides, News, & Discussion] vergilbt:
Like this?
[Essential Phone Guides, News, & Discussion] PowerPC:
Yes. Not sure what I did wrong and cannot pass.
[Essential Phone Guides, News, & Discussion] bmg1001:
Are you using the boot image from the OP? If not, flash the unofficial Oreo back-to-stock image from invisiblek (DONT wipe data) and then flash the Oreo Magisk boot image from the OP.
[Essential Phone Guides, News, & Discussion] PowerPC:
Didn't see the Oreo Magisk boot image. Do you have the link?

Thanks.
[Essential Phone Guides, News, & Discussion] IH8TouchWiz:
Followed your flashing directions. Still failing SafetyNet, and it still fails SafetyNet through reboots.

EDIT: I also seem to fail Safetynet on stock, with a CTS profile mismatch.

EDIT2: Reflashed stock, wiped, and then flashed the magisk boot image. Safetynet is passing successfully.
[Essential Phone Guides, News, & Discussion] PowerPC:
Yes. I pretty much went through the same steps to cleanly removed everything and started from scratch and now SafetyNet works.

However, another error came up when installing modules.

it complained about /data/magisk isn't setup properly. Please install Magisk v14.0+!.

I do use the OP provided patched oreo boot image. So, any one got any suggestion?

Thanks.
[Essential Phone Guides, News, & Discussion] IH8TouchWiz:
If you're using O and update to v14.5, modules work, but Safetynet breaks... So frustrating.
[Essential Phone Guides, News, & Discussion] PowerPC:
Oh well. SafetyNet is must have for me. I'll wait till they fixed both. Thanks.
[Essential Phone Guides, News, & Discussion] PowerPC:
Another thing just noticed is that wakelock detector cannot be installed as system app despite it's been granted with root.
[Essential Phone Guides, News, & Discussion] Darkside1984:
I'm a bit confused. Just flashing it with TWRP is enough to get rooted Nov compilation?
[Essential Phone Guides, News, & Discussion] NLBeev:
Yes. When you have the November security patches installed.

The same patched boot image with the default kernel is in the following thread.

In the back to stock zip of November.

https://xdaforums.com/showthread.php?p=74437484

Edit: since Magisk 17.4 the su database is renewed. A su corrupt message may appear when as previous version was installed.

To solve this Magisk 17.4 needs to be reflashed.
[Essential Phone Guides, News, & Discussion] CamoGeko:
Yeah that should be the solution.

Hope you get it sorted! :good:
[Essential Phone Guides, News, & Discussion] xDark_:
FYI - the Magisk link in the second post is dead.

https://topjohnwu.github.io/Magisk/tutorials.html#ota-installation

is the new URL.
[Essential Phone Guides, News, & Discussion] JoshuaUB78:
What settings do you run with the stock kernel? You're rooted so I am assuming you have a kernel manager. Continuing that assumption, how are your wake locks?
[Essential Phone Guides, News, & Discussion] CamoGeko:
All kernel settings were stock. Was getting around 7 hours SoT on average, with fair-medium usage.

No mobile data, on 2G + WiFi. Browsing, XDA Labs, Instagram, some YouTube and Twitch occasionally.

I have switched to EX kernel (underclocked small cluster at 1.7Ghz and big at 2Ghz) and getting even more SoT now.
[Essential Phone Guides, News, & Discussion] coconutxyz:
getting app not installed error trying to upgrade magisk manager to iammcd version 17.4
[Essential Phone Guides, News, & Discussion] bmg1001:
Try uninstalling the old Magisk Manager app first and then it should hopefully work.
[Essential Phone Guides, News, & Discussion] aer0zer0:
Uninstall your magisk manager, then install the one you just downloaded. Keys are different.
[Essential Phone Guides, News, & Discussion] NLBeev:
About safetynet status in Magisk.

When the 'safetynet API error' appears. Clear Magisk Manager's storage in App Info and let MM (re)download the safetynet extension.
[Essential Phone Guides, News, & Discussion] aer0zer0:
https://www.androidfilehost.com/?fid=11410963190603865614

December patched boot.img (stock, TWRP, ianmacd 1203 17.4 magisk

Enjoy :)
[Essential Phone Guides, News, & Discussion] JoshuaUB78:
Damnit Jim, noob question, but do we flash this as boot image or system image?
[Essential Phone Guides, News, & Discussion] ktmom:
Boot.img

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini