yashsingh1/xdaforums huggingface dataset:
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
I was more interested in the OS side.

So yes, I have potentially a less secure kernel. But I had the less secure kernel anyway.

The system level patches stay.

Bluetooth and Modem are separate partitions. Any fixes in the way the radios behave even though the boot is different, stay.

So I'll flash the whole thing when the zip is released.

The following were kernel level patches and I lost these.

CVE-2017-13293	A-62679701*	EoP	High	NFC driver

CVE-2017-5754	A-69856074*	ID	High	Memory mapping

CVE-2017-16534	A-69052594 ID	High	USB
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Not exactly what I meant. The device driver updates for Bluetooth and gamepad fixes are lost, because they would be kernel level drivers.

Probably. Lol
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Bluetooth 5.0 certification is in the radios and power levels.

It would be in the radio firmware.

The same for the modem. The modem stability fix would be in low level firmware.

If you were talking about a regular Linux system you would be right.

We are talking about an embedded system where the firmware for devices is flashed separately and lives in its own area.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Minh Dao:
I have tried like you do but it just stuck at boot animation :(( Which build are you running?
[Essential Phone ROMs, Kernels, Recoveries, & Other] whymoo:
Kernel sources for the april update are up https://github.com/EssentialOpenSource/kernel-manifest/releases/tag/OPM1.180104.141
[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.02.zip

Changes:

-April security updates
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Forgot to change the version number...re-uploding...

...now uploaded.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Mfont8o:
What boot image should I use after this latest update?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Zravis:
Great kernel, thanks for all your work. Noticeably better battery life on Oreo 8.1.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
The one appropriate for the OS version you're running. If you took the 141 OTA, use that boot image. If you're still on 092, use that.
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
I haven't seen the 141 boot image yet.

Anyone got one?

I don't think it can be extracted from the OTA.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Check the OP of the "Rooting your Essential" thread here on XDA. There's a Google drive link in there that's under the text of using the the right boot.img for your android version.

The 141 img is there.

As far as extracting the boot.img from a running system, you can install TWRP to your "off/non-boot" slot and use it to backup the boot image from the other slot.

So, if you're in slot A, use fastboot to change to slot B. Flash TWRP to B, and use it to backup slot A. You can't install to a slot that TWRP isn't in, but you can make a backup of it. Just reboot back to the bootloader after you backup the boot partition and changed back to booting from slot A.
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Thanks, I hadn't seen it
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Absolutely. Glad to help. It's not really advertised. I only found it because someone made a comment about it at the end of that thread.

Now, I just need the OTA or official zip to update with! Lol
[Essential Phone ROMs, Kernels, Recoveries, & Other] Minh Dao:
May I have the April boot image?I've try to flash kernel and Magisk but when I boot up only got kernel, no root
[Essential Phone ROMs, Kernels, Recoveries, & Other] indian84:
If you need root, boot in TWRP, Flash ElementalX and Magisk then reboot.

You will have root..
[Essential Phone ROMs, Kernels, Recoveries, & Other] HiM@L:
[MENTION=4684315]flar2[/MENTION]

Latest April update uses Clang 5.0 and your still at 4.9

Do you plan to upgrade?

Kinda feels like downgrade instead of upgrade.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Extremely unlikely that it would make a noticeable difference.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Looking at the changelog overview for Clang 5.0, I'm going to agree. Looks like a lot of it is UI/CLI based, and a handful of additional improvements at compile time, but nothing that appears to be ground breaking, game changing, or a massive upgrade to the end product that is built with it over 4.9
[Essential Phone ROMs, Kernels, Recoveries, & Other] SHYZZA:
Thanks for this
[Essential Phone ROMs, Kernels, Recoveries, & Other] deepu458:
Hi [MENTION=4684315]flar2[/MENTION], thanks for ur work and i am getting some kernel panics occuring at the time of rebooting. I mean after reboot within a few minutes that kernel is panicking and the next thing it does is reboot. After reboot happens again all will be ok. But in case of stock kernel i never had any issue.

This issue of reboot is happening from last 2 versions.

Attached are the logs i took after the reboot. let me know if there is anything i can do for this thing to work correctly for me.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Obamaloominaty:
Does anyone know what the performance and power saving profiles actually do in EX Kernel Manager? Also, is there a place for scripts to be published that can be used in User Settings?
[Essential Phone ROMs, Kernels, Recoveries, & Other] veisen:
Twrp

Hello is the twrp included in partition?
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
No
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
There is no resident version of TWRP for any OS version after 7.1.1 for this phone.

You can boot TWRP but you must immediately flash a 8.x boot image compatible with the version of OS you are running.

You must also have screen locks off because the encryption scheme changed in 8.x and the current version of TWRP will not decrypt the phone.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Jank4AU:
Man, I cannot get root AND Essential Kernel together on this darn thing. It's only giving me trouble after the April update. I can either run Essential 3.2 unrooted or Stock kernel with Magisk. I can get them both to work. Maybe I'm not waiting long enough but when I flash Magisk (15.3, 16.0, or 16.3), my device won't reboot. It just gets stuck on the static Essential boot screen with the circle and the hollow square. WTH?

I've tried like normal, adb flash boot twrp-mata_11.img, boot to recovery, flash stock image, then flash Essential, then Magisk, and it just hangs on reboot.

I've tried doing it from ADB sideload and that always fails out. I may try sideloading the April OTA and starting from there. No idea why this won't work now. Very frustrating.
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Make sure you have the correct 8.1 boot image on the phone.

If that isn't correct,, you can get the issues you describe.

I'm running April security 8.1, ElementalX and Magisk 16.0.

Check all your file versions.
[Essential Phone ROMs, Kernels, Recoveries, & Other] enrunn:
which magisk are you flashing? I read somewhere to use the kantjer repo.

I use that one and have the latest april stock 8.1 with EX kernel 3.02 and root. Works great
[Essential Phone ROMs, Kernels, Recoveries, & Other] Jank4AU:
Do you have a link to your version of Magisk? I've tried 15.3, 16.0, and 16.3. I've redownloaded everything multiple times. I can't believe my April boot image is the problem because I can get Elemental kernel installed just fine. The problem seems to be with Magisk. How long should it take to boot into Android after flashing Magisk? I don't remember it taking too terribly long.
[Essential Phone ROMs, Kernels, Recoveries, & Other] enrunn:
Not sure anymore but it doesn't took much longer than normal, as I remember. For the exact file I'm using I'm not sure either but I think I downloaded it from here: https://github.com/kantjer/MagiskFiles/find/master?q=
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
Delete...

Syntax error
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tautvydas:
Hey guys,

I'm searching for high-performance settings (not maximum, don't want "maximum" battery drain, just high lol) for CPU,GPU, memory...all of them.

Could you post yours, or any profiles?

Also, could you post settings at kcal colour control? I don't really know where to start on this one.

Thanks!
[Essential Phone ROMs, Kernels, Recoveries, & Other] mariol66:
Do you have to root to install a kernel?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Obamaloominaty:
No, all you have to do is unlock the bootloader. Root is completely optional, but it is very helpful if you want to tweak the ROM.
[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.03.zip

Changes:

-update with latest Essential source code

-May security updates

-update to Linux 4.4.128
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tautvydas:
Anybody would share proper kcal colour control config? Thanks!
[Essential Phone ROMs, Kernels, Recoveries, & Other] Obamaloominaty:
The default one is fine, but if you want colors to be more saturated I'd increase the saturation to 40-45
[Essential Phone ROMs, Kernels, Recoveries, & Other] crixley:
Any chance on a P release or are you waiting until stable official comes out?

Not asking for an ETA, just curious
[Essential Phone ROMs, Kernels, Recoveries, & Other] sam2c:
[MENTION=4684315]flar2[/MENTION] thank you for the great kernel. This phone screems on your kernel

One issue I've noticed though is that I'm getting fpc_ttw_wl wakelocks, for hours on end. I've disabled and reenabled fingerprints, disabled swipe for notifications, but nothing's helped. Any suggestions as to how to fix it? Blocking the wakelock is an option but then the fp sensor won't work from screen off
[Essential Phone ROMs, Kernels, Recoveries, & Other] PFusion:
I'm trying to get a native hotspot app working but it says I need the hotspot subscription. I have Google Pixel XL with stock android 8.1 with elementalX ERNEL] [May 8] ElementalX-PH1 3.03.

What do I need to do to get this working?

I used to have purenexus and elementalX the old version 1.3 or something like that and it worked great with android 7.1.2
[Essential Phone ROMs, Kernels, Recoveries, & Other] feligoni:
This is essential thread mate. Go to you phones forum and ask there.
[Essential Phone ROMs, Kernels, Recoveries, & Other] PFusion:
I thought the hotspot feature to bypass carrier subscription was a feature of the modified kernel? Am I wrong?

Thanks,
[Essential Phone ROMs, Kernels, Recoveries, & Other] Obamaloominaty:
Go post it in the ElementalX thread for Pixel. You're asking for advice on apples in a store that sells oranges (terrible analogy but you get my point)
[Essential Phone ROMs, Kernels, Recoveries, & Other] buckmarble:
Put this at the bottom of your build.prop and reboot.

net.tethering.noprovisioning=true
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
I found an interesting thing... I don't know if it would help at all but...

This device does support double tap to wake... But only from the ambient display semi awake state...
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Ambient display is the same as on from the kernel's perspective.

The problem on this device is the touch sensor gets its power through the LCD panel. If there is no power to the LCD, the touch panel won't work. I've already made wake gestures for this device, but didn't release because it causes 2.5%/hr battery drain and is unreliable.
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Any chance of the ElementalX gov. making it into the kernel release?
[Essential Phone ROMs, Kernels, Recoveries, & Other] underoath586:
I just tried to install this on the June update( OPM1.180104.234) and I can no longer turn wifi on. I have reverted back via the fastboot image and installed it and Magisk 3 times in a row. Just tried it with only Elemental X and wifi wont turn on, and I tried it with just Magisk and wifi is working just fine. I have been using Elemental X since it came out for the essential phone( as well as the nexus 5, oneplus one, and nexus 6p) and I have not experienced this issue before. Did something change between this update and the last? Anyone have any ideas? Let me know if there is anything I can do to help.
[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.04.zip

Changes:

-June security updates

-update to Linux 4.4.135
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
THANKS!!!!!!! You Rock!

Downloading and installing now.
[Essential Phone ROMs, Kernels, Recoveries, & Other] kakabobo:
unable to change /dev/stune/top-app/schedtune.boost setting.

any advice.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tautvydas:
[MENTION=4684315]flar2[/MENTION]

If you could, please help me with this.

Sorry, if it was discussed, or a known issue, but I've searched this thread thoroughly, but couldn't find anything.

Logcat show's "Governor not supported by powerHAL, skipping" lines quite a lot, and I don't know whether it's ex kernel's problem, or magisk (which worked for me just fine, no problem with su).

Kernel flashing was done according to instructions, no problems whatsoever, I'm on 8.1 June build.

I've used various kernels in the past, mostly this error was due to android treble stuff.

If that helps, my configuration:

CPU: Governor, Big cluster gov(performance, apply on boot), gov options(apply on boot), perfd(enabled, on boot).

GPU: nothing, just kcal color control tweaks.

Memory: just Zram(enabled on boot).

Misc: fsync(enabled on boot).

Attaching logcat.

Thanks!
[Essential Phone ROMs, Kernels, Recoveries, & Other] whymoo:
I accidentally flashed the latest oreo kernel on the latest P beta and guess what? It works! Including wifi.
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
It's a unified build now
[Essential Phone ROMs, Kernels, Recoveries, & Other] whymoo:
What does that mean? Same boot image different ROM?
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
They merged the O and P kernel builds, it's all the same
[Essential Phone ROMs, Kernels, Recoveries, & Other] tlxxxsracer:
edit- delete comment
[Essential Phone ROMs, Kernels, Recoveries, & Other] elrosid:
Wow! ElementalX is here guys. Great :D

---------- Post added at 06:38 AM ---------- Previous post was at 06:34 AM ----------

this link is not for the essential? It goes to Pixel2. But the link on first page is the correct one. :confused:
[Essential Phone ROMs, Kernels, Recoveries, & Other] supervandy:
Anyone test this on Oreo beta 2?
[Essential Phone ROMs, Kernels, Recoveries, & Other] rootuser11:
what makes you think that this device will be a nightmare? I am using your kernel on a couple other devices. just curious.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Hung0702:
Links to Pixel 2. This is the Mata kernel.
[Essential Phone ROMs, Kernels, Recoveries, & Other] enrunn:
Great to see ElementalX for our device :svetius:

I was using this kernel on my N5X till it broke.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Hung0702:
So how is everyone flashing this? I'm on NMJ88C and afaik there's no working twrp. You have to temporarily flash bmg1001's twrp for Oreo. Once in twrp you'll flash the stock boot image and then (without rebooting) flash magisk before rebooting to system. Obviously, you'd lose twrp by doing this.

I tried (1) flashing stock boot image, (2) flashing magisk, then (3) flashing the kernel. When I try to reboot to system, it just reboots to bootloader and not system. How did you flash it [MENTION=4684315]flar2[/MENTION]
[Essential Phone ROMs, Kernels, Recoveries, & Other] elrosid:
actually there is working TWRP for NMJ88C, the link you're given is working for me. And i just flashed TWRP then ElementalX kernel. It works :good:

BTW i'm stock without root
[Essential Phone ROMs, Kernels, Recoveries, & Other] Hung0702:
Oh? Could you link me, because I don't see it mentioned in bmg1001's thread.
[Essential Phone ROMs, Kernels, Recoveries, & Other] geoff5093:
Seeing how it says it's for Android 7.1.1, I wouldn't.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sarcoptic:
1. Flash TWRP from that post - https://www.invisiblek.org/mata/twrp-mata_11.img

2. Install EX Kernel (not the stock kernel) - http://elementalx.org/devices/essential-ph-1/

3. Install Magisk for root - http://tiny.cc/latestmagisk

4. Reboot

Also if you had any prior magisk modules installed you will need to reinstall those.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Source code is released as a blob and not up to date, and I think incomplete. Already having a weird issue with sweep2sleep causing the camera to break, which doesn't make much sense. Something is probably hardcoded on the Android side.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Also, it looks like wake gestures will cause battery drain on this device. I can't get touchpanel response without leaving voltage enabled to the LCD (same situation as the Nexus 5X and Nexus 5). Until I discovered that problem, I was thinking of using this as my daily driver ( I really like the look and feel of this phone)
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Flashing as soon as I get to a computer.

Used this kernel and manager on my Nexus 6P.
[Essential Phone ROMs, Kernels, Recoveries, & Other] nilezon:
Good job. I would love a LOS 15.1 version of this kernel, as I desperately need a way to disable the wcnss_filter_lock wake lock that won't let my poor phone sleep.

Do you plan to release an Oreo version?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Lyokacanthrope:
I imagine he will when we have Essential's official Oreo sources. Patience!
[Essential Phone ROMs, Kernels, Recoveries, & Other] stryver:
Same here! I just hope we get some Oreo support soon. Crossing my fingers...
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
I want to run Beta 3.

Waiting for this to be updated.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Matt4542:
Good to see more development.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
I can work around the s2s/camera conflict. Wake gestures should be possible too, but likely with battery drain. Testing now, but won't have time to properly work on it until next Monday.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dirtyreturn:
Can you please explain a little?
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
Not sure what your missing :confused: 4.4.135 has both O and P support, they merged the builds.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dirtyreturn:
Sorry about that, it seemed you posted before me. I was refreshing and refreshing and my post didn't show up to "delete" it. Thanks for the information [MENTION=5447216]aer0zer0[/MENTION]
[Essential Phone ROMs, Kernels, Recoveries, & Other] BakedTator:
Are you telling me that I can use ex kernel on Android p? If so this would be great news
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
Yeah, same as you can use the other kernel from discord group
[Essential Phone ROMs, Kernels, Recoveries, & Other] BakedTator:
Would you mind pm'ing me a link for the discord kernel sir? I don't want to talk about it here :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] :
Guys, I just got my Essential two days ago, trying to locate the kernel you guys mentioned above on discord. I am not a gaming and i created an account to try to find it but can't locate anything. any help? I had purchased EX Kernel Manager for my shamu a few months ago and it doesn't find the compatible version on the essential.any help is greatly appreciated
[Essential Phone ROMs, Kernels, Recoveries, & Other] IH8TouchWiz:
The latest EX kernel is already posted on this thread, the discord kernel that they're talking about is completely separate and not related to ElementalX in any way.
[Essential Phone ROMs, Kernels, Recoveries, & Other] :
Successful install on P beta thanks man!
[Essential Phone ROMs, Kernels, Recoveries, & Other] dirtyreturn:
Hi essential ph-1 owners, would you kindly give me a hand? Perhaps I'm just over thinking things... Easy to follow steps, for sure! Though, for #5, the stock boot img being referenced to here - factory stock boot.img? Or ROM boot.img? Or, would the patched Magisk boot.img be OK?

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

And P.S. - is this kernel compatible with the HMP variation of AICP?
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
If you want to install ElementalX, Magisk must be last on the list (#7).

#5 is the stock image taken from the ROM you are installing.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
The unmodified boot image of your ROM. I don't think EX works with any source-built ROMs, so you're looking at factory stock boot image for the version you're running.

I believe you /can/ use the Magisk patched boot image from the ROM, if you're already using Magisk, but it doesn't save much in the way of steps to try to use that if you have the stock boot, EX kernel, and Magisk installer zip on hand anyway.
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
I think the Magisk boot image in the reverse order might be risky.

The ElementalX developer says install Magisk last.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
And topjohnwu (Magisk dev) recommends flashing magisk prior to custom kernels. So .. take your pick and try it whichever way you want, since the recommended methods by both developers contradict each other.

I personally always flash stock boot.img, EX Kernel, and finally Magisk. It's never done me wrong. I was only saying that I'm pretty sure you are supposed to be able to flash them in either order.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
For this device, it needs to be done exactly as I describe on the update posts. Magisk last.

On non a/b slot devices, you should do Magisk first.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
I guess that solves that! I've always done it in the order you listed in the OP. Didn't realize the a/b scheme threw it off if you try to go the other way
[Essential Phone ROMs, Kernels, Recoveries, & Other] :
Please add double tap to wake ;)
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
It causes battery drain on this device
[Essential Phone ROMs, Kernels, Recoveries, & Other] :
Ahh okay I understand, thanks for all you do.