yashsingh1/xdaforums huggingface dataset:
[Essential Phone ROMs, Kernels, Recoveries, & Other] nibera:
let's wait for him to answer me, let's avoid other confusion.
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
You need to name the image for it to work. Just try it.

adb shell dd if=/dev/block/bootdevice/by-name/boot_a of=/sdcard/boot.img
[Essential Phone ROMs, Kernels, Recoveries, & Other] starcms:
If [MENTION=5447216]aer0zer0[/MENTION] says it, then it is true :)

If on slot A (which from your picture you are) use:

adb shell dd if=/dev/block/bootdevice/by-name/boot_a of=/sdcard/boot.img

OR

If on slot B use:

adb shell dd if=/dev/block/bootdevice/by-name/boot_b of=/sdcard/boot.img

Sorry for my mistake.
[Essential Phone ROMs, Kernels, Recoveries, & Other] nibera:
done everything and worked, the red window and left, although I had difficulty flash boot.img previously saved, meaning that I had to repeatedly connect and disconnect the usb 3 cable from the usb port 3, but then it went well.

I offer a coffee to:

@ starcms

@ aer0zer0

Thank you for the help you give to the community.

I ask you one last thing, how do I now return completely stock?

eliminating:

TWRP

MAGISK

LOCK CRITICAL PARTITIONS

LOCK BOOTLOADER

I want to get the phone back as clean as possible, without causing damage.
[Essential Phone ROMs, Kernels, Recoveries, & Other] starcms:
That would be outside the scope of this thread. However, there are threads with very complete instructions on XDA.
[Essential Phone ROMs, Kernels, Recoveries, & Other] nibera:
hello, I need to delete the TWRP, and re-lock everything, how can I do?
[Essential Phone ROMs, Kernels, Recoveries, & Other] indian84:
https://xdaforums.com/essential-phone/development/stock-7-1-1-nmj20d-t3701681

All the information you need is at above thread.
[Essential Phone ROMs, Kernels, Recoveries, & Other] nibera:
I know that procedure, but it does not work, I've always thought of something different.

anyway thanks
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
Fastboot flash files essential provides
[Essential Phone ROMs, Kernels, Recoveries, & Other] nibera:
From the instructions it seems simple, but in fact, not so, because there are too many Failed
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
What's failing? I fastboot flashed last week on a revert to stock. It is a one step click. What are you using to fastboot flash it?
[Essential Phone ROMs, Kernels, Recoveries, & Other] nibera:
essential phone ph-1

PH1-Images-PPR1.181005.034 official website

unlock bootloader

unlock critical_ partition

PC Windows 10 64 bit

USB 3.0 port

usb cable -type c 3.0 purchased separately

usb driver essential phone official website

adb / fastboot Essential_ADB_and_FASTBOOT
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
Commands:

Fastboot flashing unlock

Fastboot flashing unlock_critical
[Essential Phone ROMs, Kernels, Recoveries, & Other] nibera:
already done

I think that my usb 3.0 cable is not good, can you recommend a good cable for these modding operations?
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
I'm using Belkin a to c cord
[Essential Phone ROMs, Kernels, Recoveries, & Other] ElfinJNoty:
Make sure you are using latest official adb & fastboot. Has been slightly modified since Sept. Also verify that the device is properly detected as an adb device or fastboot interface in device manager on Windows
[Essential Phone ROMs, Kernels, Recoveries, & Other] nibera:
Ok Thanks, I get a new cable and I do everything again, I will keep you updated
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
Thanks hope issue gets resolved
[Essential Phone ROMs, Kernels, Recoveries, & Other] nibera:
Hopefully, this phone for me has become a nightmare
[Essential Phone ROMs, Kernels, Recoveries, & Other] JBlaze05:
Hello OP. I wanted to thank you for making and Official build of TWRP for our phone. Recently in the Essential PH-1 Telegram a few F2FS roms have sprouted and are making nice progress. However a big hurdle with said roms is updating them as the current official TWRP cannot boot after you have flashed an F2FS rom. Meaning the only way to update or switch to a new rom is fastboot -w and then flash your twrp again. Would you be willing to update the official TWRP to allow booting into TWRP after having flashed an F2FS rom?
[Essential Phone ROMs, Kernels, Recoveries, & Other] :
Use any of our twrp october patched kernels. They work fine with f2fs...I patched despairs rey, stock, and neutrino with twrp. Works with all of them. The twrp ramdisk is good, it's just the kernel that the op built with doesn't have the compatibility with the new hyp.mbn.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sonic0504:
Can twrp decrypt data again like in 7.1?
[Essential Phone ROMs, Kernels, Recoveries, & Other] indian84:
Yes
[Essential Phone ROMs, Kernels, Recoveries, & Other] sonic0504:
Is there a way to brute force the pin, I can't remember it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] indian84:
It should be same as your phone pin.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sonic0504:
That's the problem, I can't my phone pin.
[Essential Phone ROMs, Kernels, Recoveries, & Other] indian84:
Lol. Fastboot it.

You can always use back to stock files.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sonic0504:
Won't that erase my data?
[Essential Phone ROMs, Kernels, Recoveries, & Other] indian84:
Of course it will. As it is your data is useless without remembering the pin. Lol
[Essential Phone ROMs, Kernels, Recoveries, & Other] sonic0504:
As a last resort will I be able to use twrp to go through pins to see if I can guess it?
[Essential Phone ROMs, Kernels, Recoveries, & Other] sonic0504:
Where would I find app data in twrp's file manager?
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Under /data I would think
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
/data/adb
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
Are you using the Canary Magisk by chance...

I've had my crypto get destroyed twice in the last 3 days because of it... Either that... Or I'm having some kind of fsync issue...
[Essential Phone ROMs, Kernels, Recoveries, & Other] mrcooter:
I don't use pins patterns etc anymore but if you can get your phone to boot, just keep trying pins. Eventually it'll ask for your Google account password and let you unlock it. At least that's how it worked on 8.1. Worth a shot at least.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sonic0504:
I got to 30 attempts but it still hasn't asked, I'll probably just wind up resetting.

Also [MENTION=3290808]rignfool[/MENTION] I'm not rooted, just have twrp.
[Essential Phone ROMs, Kernels, Recoveries, & Other] stupidis:
I am unable to find "entire fastboot package from Essential's website " could you help?

Also I am new to slots could you recommend a good explanation of slots how they work and how to properly flash / use them?
[Essential Phone ROMs, Kernels, Recoveries, & Other] hx3:
https://developer.android.com/studio/releases/platform-tools - extract the zip to a new folder somewhere.

https://xdaforums.com/essential-phone/how-to/guide-how-to-install-twrp-root-t3841922 - this thread/OP helped me understand slots easily within command prompt/terminal. If TWRP is flashed with touch working on both slots, you can hit the reboot button, select the opposite slot, reboot recovery and do whatever you need to from there. Repeat the same to switch back to primary slot. Really the only thing you want the opposite slot for, at least from my experience, is to install the same files you flashed on your current/main slot (rom, kernel, Magisk, etc).

https://www.essential.com/developer/current-builds - in case you need the latest October or previous firmware. Extract zip to the same location as the one you made for fastboot. Run flash all.bat to install to both slots. Will wipe data. Wanted to included this, just in case. There are also similar versions floating around with twrp injected in to it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Androbots:
[MENTION=912474]Dees_Troy[/MENTION] sir can u fix the resolution of the display?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Nick80835:
He already made a statement a long while ago when he initially made this device official, he would work on it and try some hacky stuff to get it to fill the whole display, it may or may not happen.
[Essential Phone ROMs, Kernels, Recoveries, & Other] fastjohnson:
Slots work as basically like channels, you got channel A and channel B and you can control which slot your phone boots in. I'm new to the slot thing to but this morning I flashed twrp and rooted my ph1 on slot B but with WiFi breaking I'm not using the modded B slot I'm back on slot A. Basically in fastboot mode you CMD your slots and which slot you want.
[Essential Phone ROMs, Kernels, Recoveries, & Other] ktmom:
There is a "trick" you need to be aware of. All ROMs flashed in recovery - stock or twrp - will flash to the _opposite_ slot. Then on reboot the bootloader boots to the opposite slot.

The TWRP installer patches both slots as does Magisk. Most other recovery flashable zips will flash to the current slot.

It's this behavior I think that "gets" people. It sure confused me as I stated with A/B slots.

Googling for A/B slots same reading through tutorials for the pixel devices should provide a good foundation.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Essential Phone ROMs, Kernels, Recoveries, & Other] fastjohnson:
I actually have no plan on flashing a rom I'm happy with the one intact it works excellent, I just wanted kernel, sound mods, so on and so forth. This morning was my 1st time with dealing with slots. TBH in recovery I don't think I'd trust switching over from slot B that's modded to slot A that's stock and can get updates OTA via twrp I think I stick with fastboot ADB CMD it seems more logical and trusting. Via kernel auditor I have this thing cranking like it's on steroids.
[Essential Phone ROMs, Kernels, Recoveries, & Other] avd:
I'll just leave this here for discussion
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
Lol, he assumes we have fastboot boot my friend...... I mean, he's probably right, with his rant and all. But it's not as though we can temp boot, or pat boot.img in magisk either.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
He said people blaming magisk for bootloop but maybe due to twrp also. But with ab devices you really shouldn't bootloop as the device should revert back to working slot. Twrp is for those of us on the fly flashaholics.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Rafasama:
The next question is : If I wipe system, will TWRP erase the restore backup folder too ?
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
No TWRP only erased the partition you tell it to. Restore backup is in internal.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Captain Throwback has finished a TWRP build that will successfully decrypt stock Oreo, Lineage 16, and presumably any Pie rom based on LOS16

-- edit --

Link removed, as this was a mistake on my part. Posted in the wrong forum
[Essential Phone ROMs, Kernels, Recoveries, & Other] starcms:
Just to avoid any confusion, what's the difference between that and the official version which can also decrypt any Oreo or Pie ROM, stock and aftermarket?
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
The official version doesn't decrypt Pie custom ROMs. All the pie ROMs for this device run unencrypted by default, and you need to manually encrypt the device in Settings-Securuty-Advanced-Encryption
[Essential Phone ROMs, Kernels, Recoveries, & Other] uodii:
Well I would say that statement is completely false and has been for some time now. I've been flashing custom Pie roms for the last 2-3 months now and only certain builds (usually specified by the dev) have been decrypted. Never had any issues with them and the official TWRP and never had to manually enable encryption.
[Essential Phone ROMs, Kernels, Recoveries, & Other] starcms:
^^^ This man knows what he is talking about.

The issues with encryption were fixed when the official TWRP version was released (a few months ago or more).
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
I'm not even remotely interested in arguing with either of you. This was built by the twrp official maintainer, specifically because decryption was broken. If you want to be wrong and argue about it, take it up with Captain Throwback. IDGAF if you use the 1/15 release or not.

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

LOL. I see the problem. That was meant for the U11 twrp thread. PH-1 works fine. Twrp for u11 didn't. I posted it on the wrong thread by mistake
[Essential Phone ROMs, Kernels, Recoveries, & Other] swiftbones74:
Geezs Pook's, deep breaths ?
[Essential Phone ROMs, Kernels, Recoveries, & Other] starcms:
Maybe remove the link so no PH-1 users get confused and flash it?
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Damn good idea.
[Essential Phone ROMs, Kernels, Recoveries, & Other] fredgar75:
Touch does not work for me. I was running the december pie ota rooted. I took the january ota and tried to flash this. It boots but touch does not work.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
https://youtu.be/NDKpk3iAf7k follow instructions closely. Any question can be left in comment section
[Essential Phone ROMs, Kernels, Recoveries, & Other] fredgar75:
Awesome! Thank you ! I Downloaded the january Jan_root_Twrp.img So I flash this in the unused slot?

fastboot flash boot_Jan_root_Twrp.img

Is that correct? Just making sure because I'm extremely dyslexic.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
Flash Jan on whatever slot Jan firmware is on. Everything is updated till Feb if you're using that firmware
[Essential Phone ROMs, Kernels, Recoveries, & Other] fredgar75:
Worked perfectly. Thank you so much!
[Essential Phone ROMs, Kernels, Recoveries, & Other] Darkside1984:
Where is 'twrp_root_jan_boot.img' file?
[Essential Phone ROMs, Kernels, Recoveries, & Other] lolwatpear:
Can someone explain to me if this is working as intended:

1. I flashed the twrp zip that supposedly installs it to both slots. I would think this means both slots boot twrp, but correct me if I’m wrong.

2. I flash the rom, etc. I want to run.

3. I attempt to to boot to recovery and it takes me to what appears to be the stock recovery? Should this be happening?

4. I can then switch the he opposite slot to to boot to twrp.

I’m just really confused about what’s going on. I just want to always boot to twrp. It is always necessary to switch to the opposite slot of the rom to boot to Twrp? Really dumb if that’s the case. Terribly slow for how I like to do things.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
Flash in this order Rom then installer then reboot recovery to see it switched slots and you still have recovery.

If you flash installer first, it'll be overwritten when you flash the Rom. https://youtu.be/fSnXXwnFZ5w shows you the process

---------- Post added at 02:17 AM ---------- Previous post was at 02:16 AM ----------

https://drive.google.com/folderview?id=161SEe74nYxXIBfg3OPlYEUz_D2IAguCf select folder with the image you want.
[Essential Phone ROMs, Kernels, Recoveries, & Other] nijohnson:
Is there a trick to restoring a backup on the PH-1 with twrp? The first time I tried and got nothing - phone sticks on the 2 circles screen - I figured, I did something wrong. The second time...well. This last time, I am nonplussed. I've tried with three different ROMs, and each time I get stuck on boot loop.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Your backups can't have a password, pin, pattern, or any type of screen lock. Switch it to "none" or "swipe" before backing up with twrp.
[Essential Phone ROMs, Kernels, Recoveries, & Other] jrodbrown58:
Anyone know if the screen offset with TWRP will ever be fixed on this device?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Thebear j koss:
Doubtful.

Sent from my PH-1 using Thebear Blue XDA Labs
[Essential Phone ROMs, Kernels, Recoveries, & Other] marcdw:
Just wondering about something. I see no way wipe cache with TWRP. Is that something that is missing or is it just not necessary on the PH-1. Curious.

LG G3 D851, AOSPA-L ROM, Nebula Rev9.3 Kernel, microG (NoGapps), MultiROM, XDA Legacy
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
We don't have a traditional cache partition...

---------- Post added at 12:57 PM ---------- Previous post was at 12:56 PM ----------

I think... The fix is actually on Gerrit... But since no one pushed the buildme button...
[Essential Phone ROMs, Kernels, Recoveries, & Other] bfcb:
twrp 3.3.0

Hi [MENTION=912474]Dees_Troy[/MENTION], I saw you updated twrp for all other official devices to 3.3.0 and not mata despite being official.

Is the mata still being maintained? Is the offset display going to be fixed with the new twrp 3.3.0?
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
If anyone interested, I updated twrp to 3.3.0 with a new tree. Might release an update later
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
if i can figure out how to fla**** without screwig up my device ill give it a whirl lol
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Quite easy, just done it. Still fixing some minor issues like screen cutting out on the left, will give a link soon
[Essential Phone ROMs, Kernels, Recoveries, & Other] lynnux:
Will this be like the current twrp-installer-mata zip that flashes to both slots, or is that another step?

Btw, thanks for your continued support and interest in this phone.
[Essential Phone ROMs, Kernels, Recoveries, & Other] nijohnson:
awesome! Thanks
[Essential Phone ROMs, Kernels, Recoveries, & Other] the_Pan:
Does 3.3.0 come without the 'non working touchscreen' issue when using pie roms?
[Essential Phone ROMs, Kernels, Recoveries, & Other] swiftbones74:
The touchscreen issue your talking about only happens if you flash The old boot image from twrp's website. Fastboot Flashing a patched boot image makes touch work. The no touch in twrp's hasn't been a problem for over 6 months.
[Essential Phone ROMs, Kernels, Recoveries, & Other] the_Pan:
[MENTION=8135223]swiftbones74[/MENTION]: could you provide or link a patched twrp, needed for carbonrom 7.0? It uses the april security patch. I wasn't able to bring the touchscreen to life, weather in the recovery nor within the rom. Also tried with different patched twrp's, but nothing helped. I don't know if this two issues are related to each other.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Bofahad:
Why not full at right side??
[Essential Phone ROMs, Kernels, Recoveries, & Other] swiftbones74:
Just search matadev on telegram and ask for patched Artemis with twrp. Make sure to explain that your coming from whatever Nougat or Oreo stock or custom and you had no touch in twrp or rom. There are a few steps but it's really easy once your set up. This will be way better than trying to help you here. Good luck.
[Essential Phone ROMs, Kernels, Recoveries, & Other] the_Pan:
Okay thanks :good:

EDIT: :confused: can't find any group named "matadev" on telegram, only "essential-development "?
[Essential Phone ROMs, Kernels, Recoveries, & Other] crankiro97:
Here's the link to the group: https://t.me/EssentialPH1DEV
[Essential Phone ROMs, Kernels, Recoveries, & Other] Thebear j koss:
Wtf, just joined that channel and was banned before even reading any posts. Lol

Sent from my PH-1 using Thebear Blue XDA Labs
[Essential Phone ROMs, Kernels, Recoveries, & Other] KuranKaname:
Update for anyone interested:

It was working on decrypted from the start but not on encrypted. I spent the last 3 days fixing encryption and I finally got it fully working. Only 2 bugs left to fix (that I'll do on Monday) then I'll release the img

---------- Post added at 06:28 AM ---------- Previous post was at 06:27 AM ----------

It has a new option that injects the recovery ramdisk from the recovery img but I suspect it's only on current slot
[Essential Phone ROMs, Kernels, Recoveries, & Other] swiftbones74:
I feel like that must have been a glitch or something?

---------- Post added at 08:05 AM ---------- Previous post was at 07:44 AM ----------

You are unbanned bro. You just didn't hit the button and they thought maybe you were a spam bot lol. Anyway your good to go now!
[Essential Phone ROMs, Kernels, Recoveries, & Other] bfcb:
[MENTION=912474]Dees_Troy[/MENTION]

are you going to pass off the official maintainer spot to another person to do the new twrp version? Since it looks like you aren't doing mata anymore.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
What's the status on the 3.3.x builds of TWRP? Is it worth switching over to them for added/changed features or ease of use as far as retaining TWRP after flashing a ROM?
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
Not that I have seen or heard...
[Essential Phone ROMs, Kernels, Recoveries, & Other] celltech5333:
I just had a hell of a time getting TWRP going on a PH1 I bought off ebay. It's been eons since I put a ROM on a device so I decided to buy a cheap used PH1 to play around with before giving it a go on my daily phone. I got TWRP installed easily enough, then flashed AOSiP, rebooted and........no touch. I read all sorts of links on the issue and got more confused as I went along. Finally tried flashing back to OEM and at least had a working phone again. Started over and got TWRP installed again, but then I flashed old copies of rpm and hyp....that did the trick. Is this ever going to get straightened out?? And thanks for all your hard work!!
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
Go into bootloader and from pc get active current slot. Then switch slots to opposite slot which will put it back in the working touch slot. From there flash the latest ota from essential and the twrp installer too. Then reboot recovery and do it again.. This will bring both slots up-to-date. Now you can flash ROMs with no issue. You probably have an outdated slot as to why you have no touch.
[Essential Phone ROMs, Kernels, Recoveries, & Other] yulanz:
Same issue here.

Tried re-install TWRP after a clean flashing of PQ1A.190105.058, still no touch.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
Did you pull from mays folder with TWRP https://drive.google.com/folderview?id=1--XwmIxMQUt7p2o2ML1wVBiNCfuQlxWS
[Essential Phone ROMs, Kernels, Recoveries, & Other] yulanz:
For TWRP, no, I used the files from twrp.me, the same link in OP.

But the root_onlypatched.img works just fine so far, adaway is all I rootting for for now.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
Twrp from op is outdated. At least you have root though working
[Essential Phone ROMs, Kernels, Recoveries, & Other] deadcatsrule:
Anyone have any idea what has happened
[Essential Phone ROMs, Kernels, Recoveries, & Other] :
U running Q? Probably need to format data bud
[Essential Phone ROMs, Kernels, Recoveries, & Other] deadcatsrule:
Nope still on pie I updated viper4android then with magisk then it bootlooped till I forced restart in to TWRP then this issue.i can however flash /restore from TWRP with out issues
[Essential Phone ROMs, Kernels, Recoveries, & Other] :
Strange, not sure man .. thought it may have been A encryption issue.when u can do a total format
[Essential Phone ROMs, Kernels, Recoveries, & Other] deadcatsrule:
Not till maybe 2 weeks hit the road for work next week it so after that

---------- Post added at 05:46 PM ---------- Previous post was at 05:39 PM ----------

Oh yeah I'm still encrypted/ext4
[Essential Phone ROMs, Kernels, Recoveries, & Other] deadcatsrule:
Got this while trying to make a back up