yashsingh1/xdaforums huggingface dataset:
[Essential Phone ROMs, Kernels, Recoveries, & Other] indrafendy:
Thanks couldn't restore to oreo so back to 7.1.1 . Nightmare process
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Is your bootloader and critical partitions unlocked?
[Essential Phone ROMs, Kernels, Recoveries, & Other] hovnovice:
I have the same problem as swagglepuff

Needs permission for mac Flashall.sh

I went to TWRP and installed a .zip 8.1 Invictrix...
[Essential Phone ROMs, Kernels, Recoveries, & Other] Boal:
Here is the 8.1 B1 kernel: https://dropfile.to/dWsfKBy

Someone please upload this to a more persistent location.
[Essential Phone ROMs, Kernels, Recoveries, & Other] JohnJae76:
Hey guys I'm on Lineage 15.1 Oreo 8.1.0, on my Essential PhoneI have been trying to go back to stock. I am using a Mac Computer. I flash using the command ./fastboot flash boot <img> , I do all of them in the folder that way and are pretty much successful until I get to the flashing the <system img> I keep getting an error. Also, I just try to use command ./flashall.sh but I keep getting permission denied. Any help on how to step by step downgrade back to the latest stock from Lineage using a Mac. I need the correct commands if so please.. Thanks!
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Anyone here flashed 8.1 image from the OP over a rooted 8.0 B3 without losing data? Thanks.
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Flashed no issues.

Can't root.

Current twrp-mata_11.img cannot decrypt the partition.

Alternate root is to let MagiskManager patch the boot image on the phone.

From the OPM1.180104.010_back_to_stock copy the boot image to the phone.

I do this via adb.

adb push boot /sdcard/MagiskManager/boot81.img

Run MagiskManager on the phone and let it patch the boot image.

On the phone navigate to the file you copied/pushed named boot81.img

Now copy the patched file back.

adb pull /sdcard/MagiskManager/patched_boot.img patched8.1_boot.img

Now boot into the boot loader.

Once the phone is in fast boot mode

fastboot flash boot_a patched8.1_boot.img

(My phone was booting from slot a.)

You can always flash both slots.

Now reboot.

You are rooted again without needing TWRP.

Actually, this way is easier.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Someone mentioned that I need to clear all my fingerprints and patterns before flashing. Is this required for your method too? Seems that TWRP does not work well if pattern/fingerprint exists for 8.1B1 . Though it works fine for 8.0B3.
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Since you only patch boot, no TWRP is required and you don't do anything pin related.
[Essential Phone ROMs, Kernels, Recoveries, & Other] pacman00700:
i am getting an error with the OB1

https://imgur.com/a/Dd9mg
[Essential Phone ROMs, Kernels, Recoveries, & Other] fossiltkm:
Don't touch it at this point. There is still a lot more files that will be pushed. The process will continue.
[Essential Phone ROMs, Kernels, Recoveries, & Other] future/primitive:
8.1 update out
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Got it thanks
[Essential Phone ROMs, Kernels, Recoveries, & Other] maverickmarc:
Try a Windows PC, I've heard about a bug with Mac
[Essential Phone ROMs, Kernels, Recoveries, & Other] JohnJae76:
Unfortunately, I don't own a Windows PC and I don't know anyone who does... Thanks anyways...
[Essential Phone ROMs, Kernels, Recoveries, & Other] future/primitive:
Anyone have boot image of 8.1 pls ..
[Essential Phone ROMs, Kernels, Recoveries, & Other] herwarth:
download the back to stock zip. unzip it and the file boot is the stock boot image from 8.1b1
[Essential Phone ROMs, Kernels, Recoveries, & Other] vergilbt:
Did the same successfully.

But question: aren't we able to flash any stuff in twrp (e.g. kernel, Magisk module or so) because twrp isn't never available for us?

Didn't try flash twrp afterwards I rooted my oreo 8.1
[Essential Phone ROMs, Kernels, Recoveries, & Other] Bimchi:
Thank you!! I needed to lock my bootloader because I sold it. Worked like a charm!
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
You can flash TWRP on 8.1 to do other flashes as long as you disable password so the phone doesn't have an encryption password.

You will need to flash the stock or patched boot image back because you can't boot into the OS from TWRP because the boot is not correct.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Ryuk359:
Did anyone ever get around the write errors in fastboot? Trying to go back to stock and it gives a fail on every flash. Even fastboot -w gives me a write fail.
[Essential Phone ROMs, Kernels, Recoveries, & Other] lasset:
You must have unlocked bootloder and unlocked critical, developer mode in system settings, USB-mode in develooper menu active. Then fingerprint must be accepted when you connect yor phone to your computer. If all this is ok, it must be the adb/fastboot drives which not are correct installed
[Essential Phone ROMs, Kernels, Recoveries, & Other] Ryuk359:
Yup all those were done. Was trying to go from lineage back to stock and now I have a soft brick. The only thing I can get to is bootloader. When I run the flashall bat I get a lot of fail to write. Even fastboot -w gives a fail to write.
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
So don't use the batch file... And write to them specifically...

Or flash a stock boot image and side-load something in stock recovery that's official from essential...
[Essential Phone ROMs, Kernels, Recoveries, & Other] Airwolf79:
You can either set your path to the fastboot folder (platform-tools) in terminal, or you can open the flash-all.sh in a text editor and add ./ before each command. Then the flash-all command should work. Just Google how to set path in terminal. There's plenty of tutorials. Then you won't have to cd to the platform-tools folder each time you open terminal. Once you do this it changes the default folder for where you need to place the files you flash to your User folder (at least it did for me). You can try pulling a file with adb to see where it places it. Also, not sure why, after I set my path, I didn't have to use the ./ before commands anymore, except for some reason the flash-all command.
[Essential Phone ROMs, Kernels, Recoveries, & Other] JohnJae76:
Hey, I was able to flash each img individualy, but when I try to flash the flash-all img that's when I get the error administrator..
[Essential Phone ROMs, Kernels, Recoveries, & Other] Airwolf79:
And are you both bootloader unlocked AND critical unlocked?
[Essential Phone ROMs, Kernels, Recoveries, & Other] JohnJae76:
Yes everything is unlocked.. I even reinstalled the app fastboot to make sure I was using the lastest..And like I said, I can flash everything in the folder but when I try to flash the system flash-all it keeps denying me..
[Essential Phone ROMs, Kernels, Recoveries, & Other] Airwolf79:
Hmm, try different combos of the flash-all command with and without the ./

Did u set your path already? IIRC, before I set my path I think I had to add ./ before any command EXCEPT for the flash-all command. After I set my path, it was the opposite, the flash-all command was the only one that required ./

If you edited the flash-all.sh to have ./ b4 each command, once you set your path you would want to revert this. Confusing, I know.
[Essential Phone ROMs, Kernels, Recoveries, & Other] JohnJae76:
Ok, I will give that a try..Thanks!
[Essential Phone ROMs, Kernels, Recoveries, & Other] Ryuk359:
Even using the stock image from essential it borked my phone. Wouldn't even turn on. Had to get a replacement from factory. There went 200 bucks. Be careful what you flash.
[Essential Phone ROMs, Kernels, Recoveries, & Other] jAm-0:
Whats the most current 7.1.1 build ? thanks
[Essential Phone ROMs, Kernels, Recoveries, & Other] NaterTots:
NMJ88C is listed as latest in the OP. (which was updated Feb 15) So should be correct.
[Essential Phone ROMs, Kernels, Recoveries, & Other] indrafendy:
So how Long does the process go? Mine going about 30mins... invalid sparse file format at header magi
[Essential Phone ROMs, Kernels, Recoveries, & Other] Maxr1998:
The error message you get is normal. And yes, it can take quite a long time, up to around 5-10 mins for a single image block (e.g. system image # of 5).

However, if you face more than 20 mins without progress, maybe it got stuck. Cancel it, make sure you use an USB A-C cable, and try again. (Starting after the image that last worked.)
[Essential Phone ROMs, Kernels, Recoveries, & Other] convolution:
no NMK24B?
[Essential Phone ROMs, Kernels, Recoveries, & Other] GryphKid44:
NMJ88C is the January build. NMK24B is the newest from February, but was never added to the OP.
[Essential Phone ROMs, Kernels, Recoveries, & Other] convolution:
Soooo... I didn't unlock critical, and ran the .bat

I think it failed, then I went back into fastboot, did "fastboot flashing unlock_critical", to which I got a FAIL.

Then I tried the .bat again, and now I'm getting command write failed (No error).
[Essential Phone ROMs, Kernels, Recoveries, & Other] convolution:
I ran this for NMJ88C and I still have 1 slot corrupted I think. I get an error message saying that my system is corrupt and may not work, press power button to continue. After I press power button, I can proceed to boot up as normal.

Now what? Did I do something wrong?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Maxr1998:
Which cable did you use? The C to C cable in the box is known to cause weird issues with fastboot. Try an A to C cable.

Regarding your error screen, if the text/symbols are orange, no need to worry. If they're red, just try to reflash the images (without wiping data).
[Essential Phone ROMs, Kernels, Recoveries, & Other] guile00:
Downgrade

what is the correct file to downgrade from beta 8.1 to Oreo beta 3.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Scnd2no1:
Utilizing this thread I was able to bypass the block on a phone I bought on 5 mile. I started the day pissed getting invalid SIM icons and out of a couple hundred dollars for a new Essential phone. (Carrier told me it was blocked) However, thanks to all who contributed and a little ADB know how I was able to get it done.

Just wanted to thank everyone.

Message sent from my freed Essential phone while flipping the bird to the cat that screwed me!!! Sorry a__hole.
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Drumming my fingers waiting for 8.1 official...
[Essential Phone ROMs, Kernels, Recoveries, & Other] Hadookie:
Same here. Does anyone know where the OTA is stored?
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
I was wondering that also.

My phone downloaded it, but can't update since I have a different kernel installed.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Hadookie:
Same here. I believe I've found it. /data/ota_package/update.zip

Going to do an adb pull from my device once I finish downloading it again.

edit: Well that failed horribly. As soon as the installer fails to flash it deletes the update.
[Essential Phone ROMs, Kernels, Recoveries, & Other] ziddey:
https://www.reddit.com/r/essential/comments/845v0s/android_81_out_now/dvn0i7v/
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
I was able to grab it before the installer deleted it.

What to do with it?
[Essential Phone ROMs, Kernels, Recoveries, & Other] vergilbt:
did download update and wanted to sideload, but instalation aborted...

wrong package...

anyone else?
[Essential Phone ROMs, Kernels, Recoveries, & Other] joewoo:
I'm in the same situation as you.... I'm not sure how to go back to stock since I didn't do critical
[Essential Phone ROMs, Kernels, Recoveries, & Other] Hadookie:
Well sideloading it via adb failed for me even after flashing back the 8.1B stock boot image. I'll have to wait until one of the gurus can chime in. For now I just flashed back Elemental Kernel and Magisk.
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Same here.

I flashed the stock boot, etc. and still get a fail.

I guess I'll wait until the back to stock image is available.
[Essential Phone ROMs, Kernels, Recoveries, & Other] gk1984:
I'm experiencing the same issue of the ota sideload aborting. If you read the message, the signed keys aren't matching. Not sure why or how to fix this.
[Essential Phone ROMs, Kernels, Recoveries, & Other] geoff5093:
It baffles me how long it takes to publish the full zip to the Essential site, you'd think they'd publish it at the same time as the OTA.
[Essential Phone ROMs, Kernels, Recoveries, & Other] joewoo:
how do you unlock critical if you never did it in the first place... I tried and it said that it was already unlocked
[Essential Phone ROMs, Kernels, Recoveries, & Other] avd:
Then you should be ok. But don't quote me
[Essential Phone ROMs, Kernels, Recoveries, & Other] -DarkKnight-:
https://storage.googleapis.com/essential-static/PH1-OTA-OPM1.180104.092.zip

This will be the link for whenever the official zip gets uploaded
[Essential Phone ROMs, Kernels, Recoveries, & Other] Scnd2no1:
So I gambled to see if the update would break my SIM use. Still working just fine.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Scnd2no1:
This was an OTA update as well. Just a FYI.
[Essential Phone ROMs, Kernels, Recoveries, & Other] knightricer:
I'm flashing through fastboot but it's stuck on "writing 'system_a' 4/4..." for almost an hour. Is this normal?

Edit: I had an outdated version of fastboot, I aborted the flash, updated, and tried again and it took 4 minutes to write system.
[Essential Phone ROMs, Kernels, Recoveries, & Other] guliver365:
Again I need help

The phone 8.1 beta was rooted with magisk I removed it

in fasboot the phone was not reconized i did fastboot devices -i 0x2e17

tried fastboot -w got

wiping userdata...

Erase successful, but not automatically formatting.

Can't determine partition type.

FAILED (remote: unknown command)

erasing 'userdata'...

FAILED (remote: unknown command)

finished. total time: 0.000s

also since I am not sure i unlocked the critical I did

fastboot flashing unlock_critical

and got

...

FAILED (remote: Flashing Unlock is not allowed

)

finished. total time: 0.016s

My goal is to upgrade to 8.1 final and reroot witout any brick issue on the way

should I flash the 8.1 beta first and get the OTA or go direct to the OPM1.180104.092?
[Essential Phone ROMs, Kernels, Recoveries, & Other] thehappydinoa:
Has this worked for anyone yet?
[Essential Phone ROMs, Kernels, Recoveries, & Other] avd:
BTS is on the OP

thanks once again [MENTION=2685908]invisable[/MENTION]k
[Essential Phone ROMs, Kernels, Recoveries, & Other] bryanus:
If I'm currently on 7.1.1, can I flash the latest Oreo 8.1 full back-to-stock package to get to 8.1? Is a full wipe recommended in my case? I'd rather not if I can avoid it...TIA
[Essential Phone ROMs, Kernels, Recoveries, & Other] avd:
Yes

No
[Essential Phone ROMs, Kernels, Recoveries, & Other] geoff5093:
Anyone else having issues flashing the full factory image? I run the flash-all.bat file when in bootloader mode and it says "target didn't report max-download-size", and gets stuck on "sending 'abl_a' (1024 KB)..."

Edit: I tried it on another Windows 10 PC and it worked, wonder if it has to do with the new Windows Update that came out...
[Essential Phone ROMs, Kernels, Recoveries, & Other] thehappydinoa:
Ok, this works perfectly!
[Essential Phone ROMs, Kernels, Recoveries, & Other] return.of.octobot:
Just run critical now? It doesn't matter when you run the command so long as it happens before you flash the back-to-stock packages. Doesn't need to happen at the same time you run the standard fastboot flashing unlock command, although both commands will wipe your data partition, if that's what your concern is it's unfortunately unavoidable.
[Essential Phone ROMs, Kernels, Recoveries, & Other] d0u8l3m:
Noob question, i'm on the 3/13 build of lineage 15.1, if I simply want to update the firmware do I need to use the firmware package without the vendor portion? What is in the vendor portion? I'm just wondering because I'm guessing the touch screen fixes and other misc fixes in the latest essential 8.1 build would be firmware related right?
[Essential Phone ROMs, Kernels, Recoveries, & Other] guliver365:
Stuck here

Failed remote flashing is not allowed

but very strange I am now with OPM 1.180104.092 so something happened no idea how I got there I know is was not the OTA I know I flashed with the critical locked since I cannot unlocked because the problem with fast boot

any idea since now I need to root it ?
[Essential Phone ROMs, Kernels, Recoveries, & Other] rknuovida:
I also want to understand the same on how to update only the firmware without loosing anything on AiOSP rom . 3/13 build.

Thanks
[Essential Phone ROMs, Kernels, Recoveries, & Other] SlothTheWizard:
Emergency Factory Reset from Fastboot?

My device is soft bricked and the bootloader is locked. I've tried every command for fastboot but the device is locked so I can't even factory reset it let alone set it to factory images.

Is there anything I can do to save my phone?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Arju:
How did you get it to the point you are now? a bit more information on that part might help us help you more.
[Essential Phone ROMs, Kernels, Recoveries, & Other] SlothTheWizard:
OTA Update of 8.1 from two nights ago, it finished installing and then restarted and then it... Just stopped launching. It can only get to fastboot but not recovery mode. Using any prompt only turns off the device, e.g start, restart bootloader or recovery mode. If this helps
[Essential Phone ROMs, Kernels, Recoveries, & Other] crixley:
Can you fastboot Flash stock boot.img?
[Essential Phone ROMs, Kernels, Recoveries, & Other] bryanus:
It may have been the version of fastboot you used wasn't compatible.
[Essential Phone ROMs, Kernels, Recoveries, & Other] geoff5093:
Same version actually, from the essential website
[Essential Phone ROMs, Kernels, Recoveries, & Other] guliver365:
Update got root flashing magisk thru TWRP did not work but Ementhal kernel update did, so I used the flash boot modified image instead, still cannot un lock critical I think it is a driver problem since adb devices is empty but I was able to flash more or less got a lot of errors in flashing back to stock and anyway I got Oro

Es file explorer see only one partition I remember before I got 2 in Es but Twrp saw both partitions so I guess I am ok for now!
[Essential Phone ROMs, Kernels, Recoveries, & Other] kaivorth:
Won't let me flash the 8.1 :(

Error installing zip file. I'm currently without an OS, any help would be appreciated. I did unlock the critical as well.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Arju:
Did you follow the first post? You're supposed to unzip the files on your computer and run the flash-all file inside it while being in the bootloader menu on your phone while the phone is connected to the computer.
[Essential Phone ROMs, Kernels, Recoveries, & Other] WiddleyScudds:
Does anyone know where I could find the NMK24B stock firmware?

EDIT: Nvm, that was easy to find
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Yes, you can install the back to stock via fast boot.

No wipe required.
[Essential Phone ROMs, Kernels, Recoveries, & Other] chereko:
Can anyone help with flashing the stock factory firmware from Essential's website? I just downloaded the official 8.1 factory firmware and want to flash it, but there is no flashall.bat file within the ZIP so the instructions on their page don't work - there's just a .bin file and I'm not sure how this should be flashed.
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Go to post #1 in this thread and download the 8.1 ROM.
[Essential Phone ROMs, Kernels, Recoveries, & Other] chereko:
Not really the help I was looking for, but anyway...Essential literally just updated their rom download page, and it's now clear that the current factory 8.1 build is supposed to be flashed using adb sideload.
[Essential Phone ROMs, Kernels, Recoveries, & Other] onemotodroid:
I have not updated to official 8.1. I am still using the 8.1b.

When I updated to 8.1b the file on Essential website was downloaded to my device and I used twrp to flash. My data on device was not lossed.
[Essential Phone ROMs, Kernels, Recoveries, & Other] guliver365:
Deleted
[Essential Phone ROMs, Kernels, Recoveries, & Other] idanlive:
try to root

i have try root my device and not well, now my device stuck wit logo essential powered br android. device cant read with fastboot and have not recovery mode. HELP

---------- Post added at 06:07 PM ---------- Previous post was at 06:04 PM ----------

i have try root my device and not well, now my device stuck wit logo essential powered br android. device cant read with fastboot and i cant reboot to bootloder. HELP!!!
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
You should be able to get into fast boot.

Your device is boot looping.

Hold the power and the volume down.

You will hone need to flash the original boot image from the 8.1 install, if that is what you were trying to root.

Go look at the rooting guide and follow the instructions.

tarp cannot live on the phone and can only be used to root.

The very first thing you must do inside tarp is replace the boot image with stock before you install Magisk.

Good luck,
[Essential Phone ROMs, Kernels, Recoveries, & Other] mrsatan:
Flashing one of these now because I was having problems after a system reset. Is it normal to take a long time to flash system_b?

Ok so reflashing the 8.1 did not fix the black screen after the first use page issue I was having, so I flashed the nougat. Its taking a considerable time to boot though so not sure if it is good or not. Keep having issues but it might just be an oreo thing going on.
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Flashing the system always takes a while on my phone.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Likewise here. It takes from 300 to 400 seconds
[Essential Phone ROMs, Kernels, Recoveries, & Other] 13stitches:
anyone have any thoughts on why I can run these flash-all.bat and my build number never changes? every time its successful. debating on installing latest stock just to get my build number updated and then back to lineage.
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
If you ran the flash-all.bat in fastboot successfully, your build number should be changed. Are you by chance using minimal adb and fastboot?
[Essential Phone ROMs, Kernels, Recoveries, & Other] 13stitches:
I was using minimal adb and fastboot. I did go and grab a more recent version of if from this year and tried again and failed. I was able to use the back to stock method so I was on the correct vendor image for a Lineage install.
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
For me, Minimal adb and fastboot is sketchy, and possibly outadated, the last version that worked for me was 1.4.2, so perhaps get the actual adb and fastboot from here ---> https://developer.android.com/studio/releases/platform-tools.html and try again. Best of luck! ?
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
[MENTION=3354409]13stitches[/MENTION]

Here is the link to my BTS files, they include the latest adb/fastboot binaries

https://www.androidfilehost.com/?w=files&flid=228895

My fladh-all.bat wipes data, so comment it out if you don't want that to wipe.

Make sure you have essentials drivers installed, and have both bootloader unlocked and critical unlocked. If this doesn't work, something strange is happening