yashsingh1/xdaforums huggingface dataset:
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Just ordered a PH-1 this morning, because I'm sick of my HTC U11 constantly rebooting, glitching on the touchscreen so much that it's like the late Stephen Hawking is using it, and absolutely nobody being able to hear me on voice calls because the phone mic is faulty.

Imagine how thrilled I was to see that [MENTION=4684315]flar2[/MENTION] builds for the PH-1! EX is a long running favorite of mine from when I still had my Nexus6
[Essential Phone ROMs, Kernels, Recoveries, & Other] kaivorth:
Another update:

Never got Root and this Kernel to play well together. Why? I have no idea.

Using just the kernel by itself right now. Lots more screen time, no lag, wow. Impressed. If you can ever figure out why I couldn't get both working, let me know :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Should be no problem if you follow the instructions exactly to a tee
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
Welcome to the party!
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Excited to see what this device is capable of. The HTC experience left a lot to be desired in hardware quality/reliability and ease of flashing. I guess I was just completely spoiled by the Nexus? I assumed that unlocked bootloader meant more than it did, but was quickly disappointed in the need for s-off to flash some things, and the total incompatibility between system versions and radio versions...
[Essential Phone ROMs, Kernels, Recoveries, & Other] initguru:
[MENTION=4684315]flar2[/MENTION]

Should I file the vibration strength bug on your github?

I will do that if you prefer.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
No, I'll get to it next week.
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
Here is what you

1. Flash Back to stock, I'd wipe data here too, but it's up to you

2. Let it boot once, don't set up security, then reboot to bootloader

3. Flash twrp11

4. Boot to recovery

5. Install stock 8.1 boot.img (always select boot partition)

6. Flash ex

7. Mount system manually

8. Flash latest magisk (kantjer repo or beta)

9. Reboot.

Hope this helps.... Don't install any of the HAX versions of magisk
[Essential Phone ROMs, Kernels, Recoveries, & Other] tanker666:
Thank you, just perfect
[Essential Phone ROMs, Kernels, Recoveries, & Other] Toyeboy:
I had to send in my htc u11 for warranty never got it back after many delay excuses. I had to contact a higher up person at HTC and they sent me a brand new one. I sold it and went to ph1 loving it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] kaivorth:
Only thing I didn't do was wipe data. Is there any special method to flashing magisk I need to do? Don't have to worry about what slot is active or anything right?
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
No. When you install it will, go to the slot that device booted.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RawSlugs:
OTA

Does OTA work with this kernel?
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
No, it never works if you change any partitions.

When you see an update notification, flash the stock boot.img, then reboot to system and go ahead with the OTA.
[Essential Phone ROMs, Kernels, Recoveries, & Other] kakabobo:
possible to add in schedutil cpu governor in next release?
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Wow, and I've got this massive aversion to mounting /system in TWRP because of SafetyNet ..

If I'm running a system that's already set up with Magisk and stock kernel, I can reboot to recovery using adb/fastboot, flash the original boot.img, flash EX, manually mount /system, and then flash Magisk? Should be safe to use the most recent version from my Magisk Manager folder, yes?
[Essential Phone ROMs, Kernels, Recoveries, & Other] stevo_125:
Hi.

Giving this kernel a try now after seeing inferior battery life with 8.1 final vs beta 8.1. I've done a reset and today is day 1.

Too early to evaluate but will write back.

I've used flar2's kernels before and always been fab so I have no doubt there.

One question I have - I notice this phone doesn't seem to hotplug unused cores, my big cores stay active even at idle. Is that normal for this phone? Normal for the 835? Or a quirk of elementalX on this device. Would it not be advantageous to implement hotplugging if it is not present?
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
You will also need to reflash twrp11 so you get to recovery
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
That's what I was saying with using adb and fastboot, but thank you for saying it the long way for anyone who didn't know what I meant.

I forgot to disable security the first time, so had to reflash the stock image, boot the OS, and turn off my lockscreen security. Doh!

Was able to get back in and reflash everything just fine without having to manually mount /system too.
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
Very good. Some people need hand holding, and get scared of mean red text in twrp. Mount system manually doesn't throw the error when flashing magisk.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Kaihern:
Would like to know how I may disable sweep2sleep

Couldn't find that option in the kernal manager.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
It's on the gestures screen
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Shouldn't need to mount system for any reason
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
Schedutil is not just a governor...

It's a whole scheduler change... It would require flat to set his kernel up for EAS... Which would be awesome... But not probable...
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
Magisk throws an error (which doesn't matter really) if you install magisk without system being mounted. Which doesn't make sense anyways, but there you go.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Perhaps it's because it's creating symlinks to nowhere? Not sure that's just my first guess.
[Essential Phone ROMs, Kernels, Recoveries, & Other] master1590:
+1 on the both questions, didn't see any answers. Can someone please elaborate?
[Essential Phone ROMs, Kernels, Recoveries, & Other] -DarkKnight-:
On some devices, you are able to turn off the screen, while keeping the digitizer on. In that situation, you are able to implement double-tap-to-wake without significant battery drain. Sadly, its not the case here.

As of the LED notification, I'd love a way to make it blink faster, because 5 seconds is wayyy too long
[Essential Phone ROMs, Kernels, Recoveries, & Other] RawSlugs:
Ntfs not working says USB not supported
[Essential Phone ROMs, Kernels, Recoveries, & Other] SHYZZA:
will this work with resurrection remix oreo?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Arju:
No
[Essential Phone ROMs, Kernels, Recoveries, & Other] anvi93:
Does it fix the laggy scrolling issue? :confused:
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
8.1 official fixes it with a touch sensitivity setting in the developer options.
[Essential Phone ROMs, Kernels, Recoveries, & Other] viper98:
Guys, what am I doing wrong here?

I had a PH1 a few weeks ago that I was able to flash this on without any trouble at all. Now I just got a new one today, and I can't get it to work at all.

Every time I flash this in TWRP, it soft bricks the phone. I am flashing TWRP, then flashing boot.img to the boot partition, then flashing this. 100% of the time it has bricked my device.
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Wrong slot?
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
It doesn't stick on reboot. I made a magisk fix though
[Essential Phone ROMs, Kernels, Recoveries, & Other] Kochoa940:
Any chance of getting this to work with latest AOSIP rom?
[Essential Phone ROMs, Kernels, Recoveries, & Other] viper98:
I select the Boot partition to flash boot.img on.... right?
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
There are two boot partitions boot_a and boot_b.

Example: fastboot flash boot_a boot.img
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
You are correct.

Care to share the Magisk fix?
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Normally it automatically selects the correct one. But you can get into a situation where it flashes to the wrong one.
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
https://xdaforums.com/essential-phone/themes/magisk-based-grip-rejection-removal-t3763453

Make sure you read the OP
[Essential Phone ROMs, Kernels, Recoveries, & Other] viper98:
ok thanks guys.

I think I might just be too dumb to successfully do this again lol.

I had no problems with the 3 PH1s I previously owned, but this one is tripping me up.

I've fastboot -w to wipe the system.

Flash TWRP

Boot to TWRP

Flash stock rom(doing it through TWRP as adp crashes every time I try to do it on me PC)

Ensure that I boot to TWRP again on correct boot(seems Boot_B is the one that works)

Flash boot.img on boot_b

flash magisk zip

flash elementalx

every time it bricks

I'm sure it is a super basic thing I'm doing wrong here.
[Essential Phone ROMs, Kernels, Recoveries, & Other] return.of.octobot:
At this point I'd have to ask you what slot your ROM is installed to as you seem unsure. "The one that works" is going to depend on the slot your ROM is installed to, this changes every time you take an update. You seem to have the general process down, but if you've installed your ROM to slot A and then flash TWRP to slot B to attempt a kernel installation you're going to have a bad time. I think the first thing you need to do is confirm which slot your ROM is currently installed to.

You can check via adb while booted to system by running

adb shell getprop ro.boot.slot_suffix

or from fastboot by running

fastboot getvar current-slot

You need to be flashing TWRP to whichever slot your ROM is installed to, then flash the stock boot.img, then your kernel, then magisk, and so on and so forth.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mrsatan:
Is it possible to put TWRP in the kernel so its always there? I am just curious because I know about the A/B partitions and the issues it causes. Sony had a similar setup and the way to get around it was to put the recovery in the boot.img.
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
Our twrp on this phone isn't ready for 8.1 consumption
[Essential Phone ROMs, Kernels, Recoveries, & Other] mrsatan:
Ok it was just a thought. Thanks

---------- Post added at 03:51 PM ---------- Previous post was at 03:50 PM ----------

Question. How am I supposed to do sweep2sleep? It doesn't seem to work for me.
[Essential Phone ROMs, Kernels, Recoveries, & Other] naoya92:
Hey guys. unsure if i've missed something here, but i'd like to flash the kernel without losing the data partition. My storage is encrypted, and it seems that it's impossible to disable my lockscreen security (no 'none' option in lock screen security, and no option to unencrypt phone). Is there any way around this without having to factory reset? I'm rooted on stock 8.1.

Thanks :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] mrsatan:
Anybody getting any reboots with this? Trying to figure out if its an xposed module or the kernel. Turned off all my modules, I will update if it keeps happening. Its kind of random.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mrsatan:
Still getting reboots. How do I flash stock kernel to test if that is the problem.

---------- Post added at 08:02 PM ---------- Previous post was at 08:00 PM ----------

How do I go back to stock kernel to test?
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
You need a copy of the stock kernel. Readily available in the Essential forums.

Follow the same instructions used to boot into TWRP (boot into fastboot, then flash the TWRP image and reboot into it)

Flash the stock kernel.img using TWRP.
[Essential Phone ROMs, Kernels, Recoveries, & Other] viper98:
Ok

Thank you so much for the help and for idiotproofing it for me

Got everything up and running. Now I can use the kernel manager and lower the blue levels of my LCD to make it not horrible again. Yay!
[Essential Phone ROMs, Kernels, Recoveries, & Other] mrsatan:
Ok thanks. Did some more changes and am testing to see what happens.
[Essential Phone ROMs, Kernels, Recoveries, & Other] lasset:
Plesa give a link to the stock kernel.

Thanks!
[Essential Phone ROMs, Kernels, Recoveries, & Other] caballon:
where i can find good color profiles for this kernel and phones? Let know guys and thanks in advance.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
It's here on XDA in the Essential forums. Just look for it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mrsatan:
Is the kernel included in the stock boot.img?
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Bingo
[Essential Phone ROMs, Kernels, Recoveries, & Other] mrsatan:
Haha. Thanks. I come from Sony land so this is all new to me.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
On the Nexus 6 and the HTC U11 I had, we had a separate boot.img (kernel, for all practical purposes of end-user flashing) and recovery.img

I was REALLY thrown for a loop when I saw that the PH-1 only had a boot.img and recovery was part of it. That on top of the A/B partition scheme is still kind of confusing to me.

Like, when we eventually have a proper 'permanenet' recovery ... what will keep it from being overwritten every time I flash a new kernel? I just don't know. Does TWRP automagically re-insert itself into the boot.img after flashing it? The world may never know LOL
[Essential Phone ROMs, Kernels, Recoveries, & Other] mrsatan:
The Sony phones were kind of similar. The recovery was baked into the kernel. It's done a different way though. Not sure about inserting TWRP into the boot.img on this phone though.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Update!!

For Oreo 8.1

To install (IMPORTANT!):

1. disable lockscreen security (e.g. pin/pattern)

2. reboot to bootloader

3. fastboot flash boot twrp.img

4. reboot to recovery

5. flash stock boot.img

6. flash elementalx

7. flash Magisk (Optional)

8. reboot to system and reenable lockscreen security

Download:

ElementalX-3.01.zip

Changes:

-fix vibration adjustment
[Essential Phone ROMs, Kernels, Recoveries, & Other] Ashwin Prabhunerurkar:
any chance for a Lineage based kernel
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Possibly, but I'm having some issues with this device. I can't flash anything in fastboot and adb shell is unstable. I think my USB is bad. I'm in a situation now where I can't flash anything to my device if I happen to lose root.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mrsatan:
Hmm that isnt good. I noticed I was having weird problems with it disconnecting from usb when i was transferring things. I swapped to another cord and usb port and it seems to be better.
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
Not being able to use fastboot that way is a symptom of a USB port being a *****...

This device is super picky... As dumb as it sounds... Try another port... Or unplug the device... Reboot the computer... And plug the device back in...

I know it sounds like tech support 101... But it really does make a difference...

Or uninstall the Essential drivers and reinstall them
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Cable also plays a big part for me. Seems that it is picky about cables too
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
It certainly doesn't help that the supplied cable doesn't have a USB A end on it. I've been using the cable from my U11 and it does the trick so far.

Does anyone actually have a USB C port on their PC?
[Essential Phone ROMs, Kernels, Recoveries, & Other] mrsatan:
I have some laptops at work that have them but they are still rarish
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
I have 3 on my laptop,
[Essential Phone ROMs, Kernels, Recoveries, & Other] Ashwin Prabhunerurkar:
if it keeps on saying waiting for device for fastboot even after running the essential drivers,

try on another device as i had the same problems but using the same setup on another laptop it started working for me properly
[Essential Phone ROMs, Kernels, Recoveries, & Other] Hung0702:
Not sure how to explain it, but I found out a few things about the baked in TWRP.

(1) Plugging in a USB-C OTG cable and connecting a mouse will let you navigate per usual. Yay.

(2) Plugging in a keyboard instead will allow you to use the touch screen... It's weird but true.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Most of the newer notebooks have it these days
[Essential Phone ROMs, Kernels, Recoveries, & Other] scottfreeze:
Is there a trick to getting the ElementalX app to successfully update the kernel? Mine just reboots to the Android recovery robot with an exclamation point.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
We don't have a TWRP recovery that you can boot to from a running phone yet. You have to update the kernel as per the instructions given by [MENTION=4684315]flar2[/MENTION] in his kernel release post.

Connect device to PC

adb reboot bootloader

fastboot flash boot twrp-11-mata.img

** use the volume keys and power button to reboot into recovery

flash the STOCK boot image from TWRP

flash the ElementalX image on top of the stock boot image

Optionally flash magisk

reboot to system
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
[MENTION=4684315]flar2[/MENTION] The EXKM app is showing PH-1 3.01 kernel as an available upgrade, even though I'm on the kernel it's trying to get me to download and upgrade to LOL

I'm guessing that's app database related. Just thought I'd pass it along
[Essential Phone ROMs, Kernels, Recoveries, & Other] Jank4AU:
My work laptop, HP Spectre X2, ONLY has USB-C ports. It has 2 of them. So, I've had to invest in a docking station and a bunch of new cables, like a USB-C to HDMI, etc. Now, with everything going to USB-C., I need a few extra USB-C ports!
[Essential Phone ROMs, Kernels, Recoveries, & Other] avd:
DO NOT USE SUPPLLIED CABLE TO FLASH
[Essential Phone ROMs, Kernels, Recoveries, & Other] venividivici87:
I'm thinking about switch to this custom kernel. I don't have any particular bad experience with my ph1 completly stock.

But it's always an attractive to personalize my phone..

This kernel change substantially the experience, moar speed.. moar battery.. moar options and how to change them with stock rom? Root needed? Ota upadte of stock rom will compromise ? Total wipe needed?

Thanks in advance

Inviato dal mio PH-1 utilizzando Tapatalk
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Why not? (Other than not having a USB-C port on your PC)

You may want to thoroughly look into what a kernel is and does, and the changes [MENTION=4684315]flar2[/MENTION] has made to this kernel before you go flashing it looking for "moar" of all of those things.

What you're describing is the equivalent of putting a high performance auto part manufacturer's sticker on a car and expecting it to go faster, handle better, get better fuel economy, and suddenly become AWD instead of 2WD.

PLEASE don't flash this until you've read up on it enough that you're comfortable in the level of your knowledge of how to do it, too. If you flash it without any idea of what it does and how to fix a mistake, you're not going to find people very willing to help fix it with you.
[Essential Phone ROMs, Kernels, Recoveries, & Other] duminduweera:
Could we get support for LOS, please, then i can fully replace my pixel 2 xl :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] whymoo:
Strange I updated to 3.01 but the app says I'm still out of date. Is it because I used the zip from website instead of from the app?
[Essential Phone ROMs, Kernels, Recoveries, & Other] anvi93:
Does this kernel support the Lineage or Resurrection Remix?
[Essential Phone ROMs, Kernels, Recoveries, & Other] stevo_125:
I can't fastboot anything without adding device identifier. Related to your problem?

https://www.reddit.com/r/essential/comments/7dxqhs/unable_to_get_fastboot_to_recognize_phone/

TLDR:

try the following command:

fastboot devices -i 0x2e17
[Essential Phone ROMs, Kernels, Recoveries, & Other] enrunn:
I have that too and just ignore it. Don't know why it shows up...
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
Get the driver's from essential and you won't have that problem...
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
the drivers should be a sticky somewhere
[Essential Phone ROMs, Kernels, Recoveries, & Other] donrajni:
No (not yet atleast).

---------- Post added at 05:19 PM ---------- Previous post was at 05:16 PM ----------

From my history from a long time ago, this is the PH-1 Windows drivers link, not sure if anything got updated after this. Should work though.

https://storage.googleapis.com/essential-static/Essential-PH1-WindowsDrivers.exe
[Essential Phone ROMs, Kernels, Recoveries, & Other] stevo_125:
Using the essential drivers and have this issue on both machines I've tried. "Minimal ADB" installed so maybe its related to that.... either way, using -i 0x2e17 resolves it so a non-issue for me. Just thought I'd share in case.
[Essential Phone ROMs, Kernels, Recoveries, & Other] scottfreeze:
[MENTION=4684315]flar2[/MENTION] On EX 3.00 I was finding that the Bluetooth connection to my car was flaky (media would occasionally only play for a fraction of a second, then quit, and I had to disconnect and reconnect to make it work right). Seemed to get worse with 3.01. Problem resolved immediately when I reflashed the stock kernel.

Was this likely just coincidence, or is it possible there's something about the EX kernel that my car's Bluetooth just doesn't get along with?

I'm on stock Android 8.1 with Magisk root, no other mods.

Thanks!
[Essential Phone ROMs, Kernels, Recoveries, & Other] jamesst20:
Any chance for an implementation that allows faster LED blinking ? :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] Minh Dao:
I have flashed like on instruction but I didn't boot up, just stuck at boot logo
[Essential Phone ROMs, Kernels, Recoveries, & Other] Hadookie:
Try flashing the stock boot image for your rom and see if you boot up.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Minh Dao:
Have you tried flash Kernel with Magisk? I flashed Boot Image then Kernel then Magisk and it didn't boot up
[Essential Phone ROMs, Kernels, Recoveries, & Other] Hadookie:
I simply flash twrp in fastboot, boot recovery (twrp), flash stock boot image, flash elemental, flash magisk, then I'm done. I've never had any problems.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Same here
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
I unrooted the 8.1 release and took the OTA for the April patches.

I'm bold and daring and assumed that at 133MB the boot image and kernel didn't change.

I rerooted with the 8.1 kernel from the last release and installed ElementalX and Magisk via TWRP.

So I'm on April 8.1 with ElementalX kernel and Magisk installed.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Call me crazy, but isn't the point of the April security update nullified by using a kernel compiled a week or so before the security patches were released?

So, you've got the OS side changes, but kernel side changes disappeared when you flashed what's an outdated kernel. This means that Bluetooth 5.0 and the gamepad fix are probably ineffective.

It's probably an incremental update to the OS and not a full system image. The boot.img is 64mb for 8.1. The kernel could also have been an incremental release that patches an existing boot.img