yashsingh1/xdaforums huggingface dataset:
[Essential Phone Guides, News, & Discussion] RandomPooka:
Sounds like a poor quality USB cable.

If it was a software issue like using the wrong fastboot, it would likely just not work ever or always work. There's not a lot of finicky behavior there. A cable that is of lesser quality will give you that kind of behavior. So will a widened out USB C port on your phone, like you would get from yanking the plug slightly sideways every time you unplug it.

My son did that taking a cable out of my PC once. ONCE. They're not built like wall outlet with two or three large connectors that can handle being bent back into shape if it gets stepped on.
[Essential Phone Guides, News, & Discussion] Rich207:
im using minimal adb and fastboot it detects my device in fastboot and adb but its in fastboot mode im having issues with when using some commands ...could it be the software im using? because it also says my device doesn't support a/b slots and other stuff. im windows 10 by the way i hate windows lol
[Essential Phone Guides, News, & Discussion] RandomPooka:
See above comment about software vs hardware problems. Software doesn't "sometimes" have support built in for the device, depending on how it feels that day. Try a different cable.
[Essential Phone Guides, News, & Discussion] M@XLOL:
from what I can gather I need to have a patched boot img that corresponds to my device firmware otherwise touchscreen will not work in tmp twrp. I believe that I am on Septembers firmware (I am not 100% sure how to verify this at the very least that is the month listed in the security patch) and cannot find a patched boot img for Jan or Sep. Can someone please help point me in the right direction thank you so much in advance.

edit: found the January patched boot img lets see if I can figure this out forgive me /:

Got it all figured out thanks bmg.
[Essential Phone Guides, News, & Discussion] Darkside1984:
Has anyone check if brand new Xposed for Pie works on Essential?
[Essential Phone Guides, News, & Discussion] RandomPooka:
Haven't used xposed since android 7, sorry. If you can avoid using it, it's recommended that you don't use it by every developer. Tends to either cause minor conflicts or flat out break things, depending on what you're using it for and with.
[Essential Phone Guides, News, & Discussion] CamoGeko:
What do you want to use Xposed for?
[Essential Phone Guides, News, & Discussion] Darkside1984:
Just fiddling. :cyclops:
[Essential Phone Guides, News, & Discussion] Bobbaloo:
I'm your wicked Uncle Ernie & I know that you can't see me...
[Essential Phone Guides, News, & Discussion] RandomPooka:
Your mother left me here to mind you, now I'm doing what I want to
[Essential Phone Guides, News, & Discussion] Bobbaloo:
Actually, Ernie was quite a sick individdLe but the movie..... Great times.
[Essential Phone Guides, News, & Discussion] aer0zer0:
Essental ADB/Fastboot (provided by the driver executable that essential provides) does not require knowing what slot you are on.

fastboot flash boot whatever.img

will flash to the current, active slot

Other adb/fastboot binaries, there is a need for specificity. so lets say your active slot is a ( fastboot getvar all will return this) the command will be

fastboot flash boot_a whatever.img

Hope this helps (i highly recommend using the provided adb/fastboot from essential, takes alot of the thought out of the process)
[Essential Phone Guides, News, & Discussion] shiftypickle:
I just bought a ph1 today and it is on build number 099 can this process be used to gain root access???
[Essential Phone Guides, News, & Discussion] sash11:
Update to the latest, unlock bootloader and root at will. You can use the process without fears. Just make sure you unlock both partitions. Phone will reset itself twice. Than just flash patched boot.img from fastboot and you will have root. If Magisk manager will not be present after flashing, just install it from the apk.
[Essential Phone Guides, News, & Discussion] shiftypickle:
Wait, update to the latest as in 116? The update says it was released in January I just want to make sure I understand you clearly, that I should update to the newest firmware before rooting. As it seems Odin downgrade flashes aren't a thing with this phone so I don't want to do something I can't undo
[Essential Phone Guides, News, & Discussion] RandomPooka:
Yeah, update your phone to the most recent OTA system update. Follow the directions here to root it.

Unlock system critical too, so you don't screw yourself later!

Also, Odin has no place here. Nor do any other Norse gods LOL
[Essential Phone Guides, News, & Discussion] primaleph:
This was working great for me initially. But after a reboot, my apps are still getting root access but Magisk isn't detected by Magisk Manager.

Reflashing hasn't helped. Has anyone else had this issue?
[Essential Phone Guides, News, & Discussion] mobileman88:
No. Everything works fine. You might want to reflash stock boot image and install Magisk again.
[Essential Phone Guides, News, & Discussion] sash11:
February stock and patched boot.img with Magisk 18.1

boot_014.img

patched_boot_014.img
[Essential Phone Guides, News, & Discussion] mobileman88:
Twrp?
[Essential Phone Guides, News, & Discussion] sash11:
No. Only Magisk. Don't use twrp anymore.
[Essential Phone Guides, News, & Discussion] NLBeev:
All in one boot images - Februari 2019

Update for Essential PH-1

Stock - twrp 3.2.3.0 - magisk 18.2

Edited link

https://androidfilehost.com/?fid=11410963190603915329

Ex 3. 12 - twrp 3.2.3.0 - magisk 18.2

Edited link

https://www.androidfilehost.com/?fid=11410963190603915328

New EX version arrived

Ex 3. 14 - twrp 3.2.3.0 - magisk 18.2

Edited

https://androidfilehost.com/?fid=11410963190603915347
[Essential Phone Guides, News, & Discussion] Thebear j koss:
Stock link no good.

Sent from my PH-1 using Thebear Blue XDA Labs
[Essential Phone Guides, News, & Discussion] goofball2k:
Are you running Magisk Manager 7.0.0(185)? I have the same problem with 7.0.0. I went back to the previous version that was installed with Magisk 18.1 zip and it is fine.
[Essential Phone Guides, News, & Discussion] NLBeev:
Edited links.

Stock https://androidfilehost.com/?fid=11410963190603915329

BTW you could correct or. remove the links in the quote of your post.
[Essential Phone Guides, News, & Discussion] MrQuallzin:
I've screwed up

Alright guys, I've screwed up bad, apparently. I'm bricked.

I'm not new to flashing, rooting, etc. Been doing it since my old Nexus 7 tablet. This isn't even the first time I've rooted my PH-1. I lost root during the last OTA update, so I went to re-root as one does. I tried using the flash-and-forget .img and PowerShell tells me "Error flashing partition". I check my current slot and all seems okay, so I fiddle around to see what's going on. As of yet, nothing's been written to the device. I try swapping slots, no dice. I try and boot my phone, and instead it boots back to the bootloader. Crap.

I figure I may as well start from scratch and download the current stock release from Essential's website, and even that won't work! It succeeds on flashing nvdef.img, fails on boot.img, and fails on system.img. I stop the update there.

I'm at a loss now. The only thing I can get to is my bootloader. Is there any chance of recovery here?
[Essential Phone Guides, News, & Discussion] bmg1001:
I really doubt you are bricked, since you can still access the bootloader. The phone can be a bit tricky when it comes to flashing things via fastboot. I'd suggest trying different USB cables, reinstalling the Essential or Google adb/fastboot drivers, trying different versions of fastboot (newest), etc... Sometimes it can be a bit difficult to pinpoint the exact issue.
[Essential Phone Guides, News, & Discussion] MrQuallzin:
I just tried on a separate computer with fresh drivers and fastboot. I got one slot to flash boot on the first try, but everything else failed. I've already reinstalled Essential Drivers and Google drivers, and platform-tools is updated to the latest version.
[Essential Phone Guides, News, & Discussion] bmg1001:
By any chance are you able to change the current boot slot and boot the device off that?
[Essential Phone Guides, News, & Discussion] MrQuallzin:
That's a negative. One strange thing to note is that my serial number changed during all this.
[Essential Phone Guides, News, & Discussion] bmg1001:
Yikes, if the serial number changed, then I honestly don't know what else to say. You can try your luck with support, but since the device was unlocked and all, it'll be tough. Sorry dude :(

Feel free to ask around though, maybe other people have ran into similar issues?
[Essential Phone Guides, News, & Discussion] mobileman88:
Had the exact same problem months ago. Do try a different cable
[Essential Phone Guides, News, & Discussion] Thebear j koss:
Done. And thanks for keeping us up to date with the all in ones

Sent from my PH-1 using Thebear Blue XDA Labs
[Essential Phone Guides, News, & Discussion] MrQuallzin:
Fixed my phone! Posting for posterity in case anyone else ever has a similar issue. I uninstalled all my SDK tools and platform-tools and anything else related to them, made sure they were gone and deleted 100%, restarted my computer, reinstalled everything again. I'm going to guess I had a bad version of something, though I'm not sure what. Got boot.img to flash on 'a' and 'b' slots, but flashing still failed on system and onwards. But having boot flashed let me get into recovery which let me sideload the latest OTA update. Phone is now able to boot, and rooting attempts will continue at a later point.

Edit: Flashing the flash-and-forget February image works perfect!
[Essential Phone Guides, News, & Discussion] RandomPooka:
It's also worth keeping around a USB thumb drive installation of Linux with the fastboot and adb binaries on it, just in case. I've never run into any issues with Essential drivers or fastboot vs google fastboot etc with Linux. But, most people don't really want to set up a dual boot system or VM for the occasional flashing problem
[Essential Phone Guides, News, & Discussion] tribulationwolf:
Tried flashing the new EX version aio from stock but nothing seems to have changed. During the flashing process it says it completed flashing boot_a and boot_b successfully but when I reboot I still don't have root nor do I notice anything changed. What am I doing wrong?

I am using the command "fastboot flash boot 4.4.171-ex314-twrp-m182.img"
[Essential Phone Guides, News, & Discussion] swiftbones74:
Try installing the latest Magisk manager apk from apk mirror.
[Essential Phone Guides, News, & Discussion] tribulationwolf:
That worked. Thanks. Don't know where to post my next question so I'll ask it here. Anyone know where I can find settings for the elemental x kernel for the ph1 to increase battery life while keeping as much performance as possible that will be stable?
[Essential Phone Guides, News, & Discussion] swiftbones74:
Should be able to get help here, also don't forget to hit the thanks button. Good luck.

https://xdaforums.com/essential-pho...-ph1-1-00-android-7-1-1-t3736061/post75225435
[Essential Phone Guides, News, & Discussion] kpirnie:
great idea mate. thanks fir this
[Essential Phone Guides, News, & Discussion] hnan1997:
Can anyone help me about root? Today I upgrade to 014 from 076(root),but I can't root my PH-1 on 014, whatever flash Twrp and flash boot.img to install Magisk.zip,or just flash patchboot.img, I can't boot into system.How to fix that?
[Essential Phone Guides, News, & Discussion] NLBeev:
You probably need a PC to flash one of the patched boot images. See the post above yours.

You may read first the info of the following URL. https://mata.readthedocs.io/en/latest/
[Essential Phone Guides, News, & Discussion] hnan1997:
I've flashed patched boot images by using my laptop, but it can't work, I still can't boot into system:(
[Essential Phone Guides, News, & Discussion] RandomPooka:
Have you tried flashing the stock unmodified boot image? Just to see if it works?
[Essential Phone Guides, News, & Discussion] CamoGeko:
Did you try flashing the full BTS zip?
[Essential Phone Guides, News, & Discussion] NLBeev:
The latest patched boot images have Magisk version 18.2.

When you flashed this over a previous Magisk version it may cause issues.
[Essential Phone Guides, News, & Discussion] n2locarz:
Oh snap! As in you changed your IMEI or ESN? Can you give more info into the steps performed?
[Essential Phone Guides, News, & Discussion] MrQuallzin:
The serial number is the only part that changed. The one that appears when you use adb/fastboot devices
[Essential Phone Guides, News, & Discussion] kpirnie:
situation: bootloop

how:

Flashed the February OTA images using the flashall.sh script with the official images from Essential's site.

Installed the latest Magisk Manager, adb pushed the boot.img from the files above... ran Magisk Manager, patched the image, and adb pulled it down. ran "fastboot flash boot patched_boot.img" then "fastboot reboot"

Any thoughts?

Note, prior to the update I was on AICP Rom, where the /data partition was f2fs formatted... tho, it looks like the flashall.sh script takes care of that... so... not sure....

once I fastboot flash the stock boot image back, the phone boots, but obviously I do not have root...

EDIT: and i have to reboot it one more time in order for it to be usable... otherwise everything (all apps) hang when attempting to open them....
[Essential Phone Guides, News, & Discussion] NLBeev:
In my view 3. to 5. are not necessary.

Magisk manager will patch the boot.img with root and ask to reboot.
[Essential Phone Guides, News, & Discussion] kpirnie:
ehh... i missed a step when following stock... fastboot -w

redid it all and am now back in business ?
[Essential Phone Guides, News, & Discussion] millicent:
Magisk doesn't pass safetynet check anymore.

Using magisk v 18.11, manager v.7.0.0 (it says it's up to date)

I am on january ota.

It used to work fine before.

How do I fix this? thanks
[Essential Phone Guides, News, & Discussion] NLBeev:
Safety check ok here with Magisk 18.2 of [MENTION=7187684]ianmacd[/MENTION] and February update.
[Essential Phone Guides, News, & Discussion] millicent:
Thanks for your reply

Since then, magisk was able to regain safetynet check. It seems with my stable build that fails sometimes.
[Essential Phone Guides, News, & Discussion] CamoGeko:
You could use the Props module if you're having issues passing Safety Net. ;)

Just saying...
[Essential Phone Guides, News, & Discussion] NLBeev:
Patched kernel March 2019

Patched EX 3.15 with TWRP and Magisk 18.2 - thx to [MENTION=7187684]ianmacd[/MENTION]

https://www.androidfilehost.com/?fid...89523397907506

Patched 4.4.174 stock with TWRP and Magisk 18.2

https://www.androidfilehost.com/?fid...89523397907507
[Essential Phone Guides, News, & Discussion] johannvonperfect:
Not sure if this is the appropriate place to ask. When I did a fresh Fastboot flash, then flashed the parched boot img to both slots, Magisk Manager says I am rooted but Titanium and Root Checker say I am not. I am happy to provide any additional information that would be helpful. Thanks in advance for any input.
[Essential Phone Guides, News, & Discussion] CamoGeko:
Did you make sure that you provided the Superuser access through Magisk to those applications?

Sent from my mata using Thebear Blue XDA Labs
[Essential Phone Guides, News, & Discussion] johannvonperfect:
MM is (temporarily) set to automatically grant Root. Still nothing.
[Essential Phone Guides, News, & Discussion] CamoGeko:
So the apps don't appear at all on this screen?

Sent from my mata using Thebear Blue XDA Labs
[Essential Phone Guides, News, & Discussion] johannvonperfect:
No they do not.
[Essential Phone Guides, News, & Discussion] NLBeev:
It's known that Tibu or Root Checker doesn't detect always root.

Install simple reboot of Francisco Franco; when you have root all reboot options are working.
[Essential Phone Guides, News, & Discussion] johannvonperfect:
I downloaded that app. It is not listed in MM (still no apps listed there), and none of the restart options work.
[Essential Phone Guides, News, & Discussion] NLBeev:
https://github.com/ianmacd/MagiskBuilds?files=1

Download from this link the MM apk version 7.0.x and a Magisk zip file version 18.2.

Flash the Magisk zip first in recovery or with TWRP if that is available.

Than you should have root.
[Essential Phone Guides, News, & Discussion] johannvonperfect:
That did the trick! Thanks very much for your help. Apologies if using the ianmacd MM app was mentioned somewhere else and I missed it.
[Essential Phone Guides, News, & Discussion] NLBeev:
More in this thread

https://xdaforums.com/showthread.php?t=3521901
[Essential Phone Guides, News, & Discussion] NLBeev:
Patched EX kernel for PH-1

EX 3.16 arrived

Patched kernel PH-1 March 2019

EX version 3.16 with twrp 3.2.3.0 and Magisk 18.2 for root.

4.4.174-ex316-twrp-m182.img

https://androidfilehost.com/?fid=1395089523397920126
[Essential Phone Guides, News, & Discussion] kirschdog1:
Help

So when I flash this boot img it reboots me to the os but magisk keeps saying it needs to update to do a full install and then it attempts to install the apk but fails?? Any ideas? It says updating to full magisk manager is required but when the app starts to download it wont complete it just says app not installed?
[Essential Phone Guides, News, & Discussion] NLBeev:
See my post #2330 here above
[Essential Phone Guides, News, & Discussion] kirschdog1:
Post 2330?

I don't see a # next to any of the posts? How do I find 2330?
[Essential Phone Guides, News, & Discussion] NLBeev:
Boot images PH-1 of April 2019

Just the boot image extracted from the OTA zip of April 2019

4.4.176-stock-boot.img

https://androidfilehost.com/?fid=1395089523397931240

EX kernel 3.16 combined with TWRP en Magisk 19.0

4.4.176-ex316-twrp-m19.img

https://androidfilehost.com/?fid=1395089523397931239

Stock kernel combined with TWRP en Magisk 19.0

4.4.176-stock-twrp-m19.img

https://androidfilehost.com/?fid=1395089523397931241

Note about EX kernel 3.17

EDIT

Flar2 released an updated version of ElementalX 3.17 zip file.

4.4.176-ex317-twrp-m19.img

https://androidfilehost.com/?fid=1395089523397933013
[Essential Phone Guides, News, & Discussion] aperez4501:
you do realize the filehost links are missing numbers right?
[Essential Phone Guides, News, & Discussion] morphius88:
Anyone else having trouble rooting (using magisk, not twrp) the april update? I get stuck on loading screen for quite a while and nothing ever happens. Had to unroot to use my phone.
[Essential Phone Guides, News, & Discussion] r3pwn:
Stock boot.img

EX + TWRP + Magisk

Stock kernel + TWRP + Magisk
[Essential Phone Guides, News, & Discussion] kt-Froggy:
All good here. Rooted by patching the boot image after an update, as usual. Everything works. I am using Magisk 18.1 (latest official stable). No TWRP, just root.
[Essential Phone Guides, News, & Discussion] NLBeev:
Strange... I've pasted the url's.

Corrected. Thx
[Essential Phone Guides, News, & Discussion] NLBeev:
Combined EX 3.17 boot image for PH-1

Flar2 released an updated version of ElementalX 3.17 zip file.

Below the afh-link

4.4.176-ex317-twrp-m19.img

https://androidfilehost.com/?fid=1395089523397933013
[Essential Phone Guides, News, & Discussion] morphius88:
I spent like 3 hours messing around with it. I was on Oreos last update last year.

First I flashed stock boot image to remove root. Then took the OTA which brought me to Feb update of Pie.

Then took another OTA that brought me to the April update. I then patched the boot file with magisk and flashed the patched boot image.

Stuck in endless loading animation. Flashed back to stock April Boot image and attempted to do the TWRP method.

After countless tries I finally flashed to both slots and then tried flashing Magisk 19.0. This gave me endless loading animation.

Flashed 18.1 Magisk and it booted to system. Magisk says its not installed but I pass rooted status still.

None of the rooted access apps like substatum work even though they open fine. Any ideas?

Sorry for my essay.
[Essential Phone Guides, News, & Discussion] NLBeev:
You need to go back to stock.

Under point 4. you'll find the 'back-to-stock' files of April.

https://xdaforums.com/showthread.php?p=74437484
[Essential Phone Guides, News, & Discussion] morphius88:
So I should flash back to stock 9.0 April and then flash twrp again? and then Magisk?

Edit: I flashed back to stock, system loaded fine. Flashed and installed twrp to both slots and then flashed magisk 19.0 and now endless loading animation again.
[Essential Phone Guides, News, & Discussion] NLBeev:
This worked for me.

Combined ex317-twrp-magisk 19.

Flash to the active slot containing latest April update.

https://androidfilehost.com/?fid=1395089523397933013

Edit: flash as boot images.
[Essential Phone Guides, News, & Discussion] ImpossibleIsOpinion:
Do you have any idea why this is happening?

C:\Program Files (x86)\Essential\ADB>fastboot flash boot patched_boot.img

target didn't report max-download-size

sending 'boot' (20893 KB)...

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

)

finished. total time: 0.004s

Also when I try to change slot:

Setting current slot to 'a'...

FAILED (remote: unknown command)

finished. total time: 0.004s
[Essential Phone Guides, News, & Discussion] lynnux:
When I first got this phone I was having all kinds of problems with fastboot. Sometimes switching cables worked, sometimes switching ports. One time I got around your issue by specifying which slot I wanted to flash to, like this: fastboot flash boot_a patched_boot.img

Now I only do fastboot on my Windows work computer, it's the only one that consistently works for me.

Edit: I also remember trying different commands that are used to switch slots, one would work, one wouldn't.
[Essential Phone Guides, News, & Discussion] morphius88:
Still no go. Do I flash this on top of stock unrooted april update with stock recovery? Or do I flash twrp first then this?

I think I might have to backup my data, do a factory reset and then do all of this to be able to get it to work.
[Essential Phone Guides, News, & Discussion] RandomPooka:
fastboot flash boot filename.img
[Essential Phone Guides, News, & Discussion] morphius88:
That exactly what I was doing but I tried to do that over twrp and it was not working. Flashed stock boot for April update and then restarted.

Then flashed this file and it finally worked.

Thank you NLBeev for that file
[Essential Phone Guides, News, & Discussion] RandomPooka:
I'm glad you got it to work. Not really sure what you mean by trying to do it over TWRP, but you're up and running now. That's what matters.
[Essential Phone Guides, News, & Discussion] NLBeev:
Noticed that some flashed it in TWRP as 'system', instead of 'boot'
[Essential Phone Guides, News, & Discussion] RandomPooka:
Ahhh. That would be problems
[Essential Phone Guides, News, & Discussion] morphius88:
Well what I was doing was flashing twrp first, then reboot, then flashing magisk 19 via twrp

So when you suggested that combined image, I flashed it same way as above and it did not work.

I had to flash back to stock boot and skip twrp altogether by flashing your file via fastboot.

Thanks again for your help.
[Essential Phone Guides, News, & Discussion] NLBeev:
Because of the monthly updates I've copies of the current zip files with TWRP and Magisk.

When a new OTA is flashed in TWRP it's important to also flash the TWRP zip before a reboot, so TWRP will be installed to both slots.

After a reboot there's no root access, but TWRP can be started to flash Magisk.zip or the latest patched boot.img.
[Essential Phone Guides, News, & Discussion] morphius88:
Yea I know all that and have been updating and re-rooting this phone for over a year now. First time I had this sort of issue.

And it seems to keep on repeating itself. As soon as I apply a substratum theme and reboot, back to endless loading it goes.