yashsingh1/xdaforums huggingface dataset:
[Essential Phone ROMs, Kernels, Recoveries, & Other] anonxlg:
well, this is off to a tangent now, but I tried doing a dirty flashed over with the lineage zip and for some reason, when i rebooted, I was kicked out of my google account.

So I thought screw it, I'll just restore to stock android 10 nov update twrp backup... and it doesn't work.

I reboot, it cannot boot into system, and it goes into bootloader:

boot into recovery, twrp is still there

set to slot a -> reboot into system

same thing happens, it fails to boot, then goes back to bootloader:

boot into recovery -> twrp loads

so, to summarize, i'm able to boot into twrp on both partitions, but I can't restore twrp backup (i tried restoring twice now)

anyone have an idea what I need to do to restore my twrp backup?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Sheradrax:
What error are you getting when the restore fails? Try going to the mount menu in TWRP and selecting System, flash the ota zip from Essentials website and the TWRP zip, reboot recovery and try to restore all but the systems.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
Revert back to stock on both slots. Wipe data and dalvik then switch slots. Boot TWRP and restore only data. Try that
[Essential Phone ROMs, Kernels, Recoveries, & Other] anonxlg:
ok, so i fixed it:

I was restoring my basic twrp backup, that was my problem. I saved the full twrp backup on my computer, however, I could not transfer the file because the system image was >4gb.

So i reflashed lineage 16 JUST so i can transfer the files.

Then I rebooted back to recover to do the full restore.

However, the system image kept failing to flash. So i individually flashed each partition until it flashed successfully. This worked for me at the end. So there must be some bug in twrp.

Anyways, I'm back to stock android 10 on nov update.

I downloaded elementalx but I did not find an option to flash without going to recovery, so I figured if I was going to do it this way, I might as well just flash one of the pre-patched boot imgs.

But just want to make sure i'm doing this right:

- use adb command to check what slot my current os is on.

- boot to bootloader

- flash boot to said slot

- reboot
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
December update is available in EXKM
[Essential Phone ROMs, Kernels, Recoveries, & Other] FlinkDelDinky:
The app cannot download the kernel. It appears to download the kernel but then it days is failed. I check the downloads directory and the elementalx directory but the kernel is not there.

I go to your website only 4.08 of available.

Okay, just tried again today and downloaded properly. Exkm couldn't successfully flash it but that's always been the case on my ph-1. Twrp flashed ok.

Thank you.
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
Sorry for the delay kids. my compiles are up as well

https://gitlab.com/westernmass-hosting/android/elemental-x/compiler
[Essential Phone ROMs, Kernels, Recoveries, & Other] mhamzas:
Which one to download and use ?
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
Personal preference mate.

Google is the same compiler Flar2 uses. Uber is another toolchain used to compile.

I've flashed all 4, and have had no issues... very little performance boost with a little less battery life using Uber, but barely noticeable

Aroma, gives you a selection to se the Max CPU frequency, non-aroma is stock values
[Essential Phone ROMs, Kernels, Recoveries, & Other] anonxlg:
Coming off from nexus 5x, i use glassfish cpu governor. There's a load of different profiles for nexus 5x.

There are no profiles found for essential. Is this correct or do I need to do (download?) something else to enable/populate it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] numanair:
Failed to flash through FK. EX also said failed but was actually successful.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dragynbane222:
Generally to add a cpu governor to a Linux based kernel (which is at the core of Android), you need to patch several files and add some others, then compile said source code, you can't just download a governor like that, if only it were that easy...
[Essential Phone ROMs, Kernels, Recoveries, & Other] avd:
Any chance to get a January update?

Any need?
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Check in EX Kernel Manager
[Essential Phone ROMs, Kernels, Recoveries, & Other] aamadorj:
ElementalX rocks!!!

I installed latest stock Essential ROM on my PH-1 after a while using custom ROMs. I used stock kernel for almost a week to have a baseline and now that my phone is using ElementalX I can notice a positive difference in performance and battery life, just as I remember when this kernel was installed at some of my previous devices.

Thanks for your work, [MENTION=4684315]flar2[/MENTION].
[Essential Phone ROMs, Kernels, Recoveries, & Other] Quantumrabbit:
So, in not seeing the regular locations... does anywhere know where I can get TWRP, ROOT boot.img for the January update? I want to be on ElementalX again, but the Januarary Update I did is root only, so no TWRP, so I can't flash. Even the manually downloaded Elemental X is a zip file, so no flashable in that.

Thank you
[Essential Phone ROMs, Kernels, Recoveries, & Other] aamadorj:
Once you have root working, you can use EX Kernel Manager to install ElementalX kernel directly from the app (no need to use TWRP).

And there's an old post at this thread describing how to update Essential Stock ROM without TWRP. I haven't tried this method, but I looks quite good.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mikeymop:
Hello Flar2,

I currently use your kernel minimal images, and flash updates by flashing the fastboot images, then flashing twrp, then flashing the kernel on top of twrp.

Currently this month (Feb) I noticed twrp stopped booting, both the old invisiblek build I was using and the currently latest version of twrp this stopped me from being able to flash the kernel.

I am seeking to remove the need for twrp and am curious if it is at all possible to use your kernel code/build system to generate boot.img files that I can flash from fastboot. I looked into this but noticed you run a lot of scripts when in recovery even on the minimal kernel install. Is there any advice you can give me to pursue these efforts?

Thank you.
[Essential Phone ROMs, Kernels, Recoveries, & Other] whymoo:
Without twrp you can flash this kernel with Ex Kernel Manager express option. With twrp Ex Kerenel Manager fails to flash the kernel in express mode.
[Essential Phone ROMs, Kernels, Recoveries, & Other] TDP95:
Hi,

I recently purchased the EX Kernel Manager and have tried to flash the kernel on my PH-1 running the latest LineageOS 16 nightly build. However, after rebooting the phone does start, but after logging in past the lock screen it gets stuck saying the phone is starting. It also causes Lineage Recovery to crash after only a few seconds of running. I have not found a way to run this kernel with Lineage 16 on the PH-1. I understand that I am trying to run this on a custom ROM. But, I'm just curious if anyone else has had any success running this kernel on their PH-1 on LineageOS 16?
[Essential Phone ROMs, Kernels, Recoveries, & Other] gavinfernandes2012:
You might have more success trying it on a GSI since they use the stock boot image and vendor. I'll likely try it out when the April update comes out and see how it goes.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tautvydas:
(deleted)
[Essential Phone ROMs, Kernels, Recoveries, & Other] SykkNyzz:
(deleted)
[Essential Phone ROMs, Kernels, Recoveries, & Other] nomesrjp:
Hey guys,

A quick question - I assume EX ceases to be maintained on the PH-1, since Essential no longer maintain it? I ask as I've recently started trying some ROMs, but find the performance worse than stock with EX. I presume this is likely due to their support of multiple HW types, like PA Quartz, etc?

Thanks -
[Essential Phone ROMs, Kernels, Recoveries, & Other] JohnnyChim:
I am now using Lineage os 17.1

I flash elementalx using exkernel app

but after flashing I cant use my device

I am able to boot, but it cannot load the launcher and reboot from time to time

anyone have the same issue?
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
ElementalX is only for stock ROM
[Essential Phone ROMs, Kernels, Recoveries, & Other] Benoitgaudreault:
can i flash TWRP with EX Kernel manager....?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Benoitgaudreault:
''''''''Notes

Stay up to date with EX Kernel Manager. The latest security updates are always available through the app, usually within hours of the latest OTA ''''''

how to do google security update with EX Kernel Manager....?

i install and flash EX and Magisk....my phone are rooted and google pay are working

thanks
[Essential Phone ROMs, Kernels, Recoveries, & Other] TDP95:
Hello,

I see flar2 has recently replied that this kernel is for stock ROMs only. However, I do want to confirm is this kernel still being supported for mata? Or, is it being discontinued? If flar2 could confirm it would be appreciated.

Thanks!
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
There's not really anything to update now since Essential is no more
[Essential Phone ROMs, Kernels, Recoveries, & Other] mpena:
In fact they update the kernel but I don't know if work in stock rom because the limitations of February build.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sarcoptic:
As I mentioned before the cpu default is interactive. Also the IO scheduler default is fios. EX kernel manager allows you to adjust all these on the fly. Seriously [MENTION=4684315]flar2[/MENTION] is an absolute beast when it comes to kernel management!
[Essential Phone ROMs, Kernels, Recoveries, & Other] vergilbt:
That was the bug...

Thx
[Essential Phone ROMs, Kernels, Recoveries, & Other] rogconnect:
Never use that USB C that comes with the phone. I uses the USB to USB C that come with my Mate 9
[Essential Phone ROMs, Kernels, Recoveries, & Other] vergilbt:
Any chance to disable sweep to sleep without EX kennel manager?

Installed Adiutor but didn't find that in settings...
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Wow. Thanks for the release. Would using Magisk manager to modify the exk boot image then flashing the modified image in fastboot work?
[Essential Phone ROMs, Kernels, Recoveries, & Other] siulmagic:
Thanks for this awesome kernel flar2.
[Essential Phone ROMs, Kernels, Recoveries, & Other] jamesst20:
[MENTION=4684315]flar2[/MENTION]

Hey ! :) Glad to see your here!

Would you be able to implement something that makes the LED notification light blink faster ?

I am guessing implementing double tap to wake results in a high battery drain?

Thank you!
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
No it doesn't. I've installed Magisk and ElemetalX with TWRP.

No issues.
[Essential Phone ROMs, Kernels, Recoveries, & Other] wind711:
The app seems to not stay on the GPU governor that I have set and will go back to the default after reboot.
[Essential Phone ROMs, Kernels, Recoveries, & Other] shooterlgk:
I'm trying the same process. I flash twrp,flash boot,flash kernel,flash magisk, reboot and then magisk don't work
[Essential Phone ROMs, Kernels, Recoveries, & Other] avd:
There is some basic information that should be in the OP of every flashing thread and a sticky in any forum with flashing.

Don't use stock cable

Don't lock bootloader or critical pparts.
[Essential Phone ROMs, Kernels, Recoveries, & Other] SHYZZA:
Im on nmj32f was already set up with twrp and rooted. Flashed the Nuget version with twrp and magisk after. And all seems smooth so far. Switched to on demand bout all the settings I touched.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Draco32:
Hey this appears not to work with lineage on the last few 15.1 builds.
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
You on LOS?

---------- Post added at 02:56 PM ---------- Previous post was at 02:54 PM ----------

Worked here, which version of magisk, don't use the hax versions of magisk
[Essential Phone ROMs, Kernels, Recoveries, & Other] shooterlgk:
No stock. So just use latest magisk?
[Essential Phone ROMs, Kernels, Recoveries, & Other] aer0zer0:
Correct, I myself am using the kantjer repo magisk, the hax versions are for LOS only. So the 15.4 beta on xda, or kantjer repo (Google it)
[Essential Phone ROMs, Kernels, Recoveries, & Other] primaleph:
Should I have the elementalx governor after flashing this kernel on 8.1? I don't seem to.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Draco32:
Hey tried using both the normal magisk and the hacked one and no dice. I noticed the hacked one writes to opposite slot. I'll give it another go tonight and see what happens. Just was taking ages to boot after installing and wasn't sure if it was boot looping..
[Essential Phone ROMs, Kernels, Recoveries, & Other] shoeprano27:
hello. just wondering.. would this ever be considered implemented into your kernel for our essential?

https://xdaforums.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
It's in all my kernels
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Me either.

---------- Post added at 03:08 PM ---------- Previous post was at 03:07 PM ----------

Are flashing the correct slot?

You are flashing twrp?

Then booting into twrp?

Then immediately installing the original boot image via TWRP install of a .img file?

Then installing the kernel zip and then the Magisk zip.

Have you installed the MagiskManager app?
[Essential Phone ROMs, Kernels, Recoveries, & Other] shoeprano27:
nice. thank you sir. I will download it now. :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] SHYZZA:
Thanks for this kernel. Been with it for almost 19 hr now and no no issues. Battery is definitely better!
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Would using Magisk manager to patch the elex.Image file contained in the zip result in a working boot able image to be flashed in fastboot?
[Essential Phone ROMs, Kernels, Recoveries, & Other] initguru:
I did not try that but elex.Image and Magisk does not contain ramdisk itself so it will fail eventually, I guess.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
You're right. I just tried and it failed. Can't even unpack kernel from the boot image file
[Essential Phone ROMs, Kernels, Recoveries, & Other] initguru:
You could look into ElementalX installer script to manually build a boot image. It uses dd, unpackbootimg for extracting a ramdisk then mkbootimg for rebuilding a new boot image.
[Essential Phone ROMs, Kernels, Recoveries, & Other] blakeatl:
I tried 2.0 last night on AOSIP 2/11 with 8.1b firmware and I lost wifi. It was pretty snappy but I had to go back to the regular boot.img due to the wifi breakage.
[Essential Phone ROMs, Kernels, Recoveries, & Other] vergilbt:
Nobody knows?
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Thanks . Shall try that when I have some time later in the week.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sarcoptic:
Just use the EX kernel manager from the play store. Disables just fine with it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Manually rebuilt a new boot image with the following steps :

- Looked at the install.sh script and commented out all the aroma cpu?.info stuff

- Copied script and files to /data/temporary

- Edited script to output everything to /data/temporary

- Generated newboot.img

- Used MagiskManager to patch it with Magisk

- Transferred via adb the new patched_boot.img to PC

- Boot to bootloader

- Flashed the patched_boot.img

- Reboot

Seems to show EX2.00 in Settings . Not sure if skipping the cpufreq stuff in the install.sh script will create any negative side effects. Shall monitor

The above steps is definitely not trivial and requires some risky script editing which mistakes can result in an unbootable device so I wouldn't recommend it to others who would like to do it this way. Disabling security and flashing it in TWRP is the most straightforward way to flash EX at the moment.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
The CPU stuff is not necessary, all settings are default if nothing is specified on the command line.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Thanks. I would post my image if it is portable. But looking at the whole generation process I understand why you do not post a generic flushable image as it contains individual device specific settings like keys etc.
[Essential Phone ROMs, Kernels, Recoveries, & Other] StereoFidelity:
This kernel is my life ? I love it battery life is outstanding on Oreo 8.1 beta 1 no issues I remember running this kernel on my nexus 6 ! Thank you
[Essential Phone ROMs, Kernels, Recoveries, & Other] ervman1:
Trying to install on Oreo 8.1 beta 1 but I am getting stuck when I flash the elementalx kernel zip file in TWRP. It says installing at 30% but does not move any further. It gets stuck at Extract:/tmp/unpackbootimg and the bar flashing. I've tried redownloading the kernel multiple times, through pc and through phone itself.

Edit: leaving this up for anyone who is impatient like me. I left it running in the background and it finished installing! Now I just need to work on my patience :D
[Essential Phone ROMs, Kernels, Recoveries, & Other] 12paq:
Haha, this happened to me also. I had force myself to let it sit. LOL

Glad you got it to flash.

Btw, after a few days this kernel and Beta 8.1 settles in and runs really great.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Obamaloominaty:
Here are my Geekbench scores if anyone is interested
[Essential Phone ROMs, Kernels, Recoveries, & Other] Jank4AU:
[MENTION=4684315]flar2[/MENTION] - great job on the 2.0 kernel, brother. Loving it and it makes the 8.1 beta so much nicer! Thanks a lot!
[Essential Phone ROMs, Kernels, Recoveries, & Other] SHYZZA:
Been using this kernel like 4 days now and I can say I have gotten around 4 to 6 more hrs battery life with it and everything runs very smooth. Thanks again
[Essential Phone ROMs, Kernels, Recoveries, & Other] Ryuk359:
I can concur. Been on it 3 days now and my battery life is incredible. And I'm on stock 8.1 unrooted. His stock settings are on point.
[Essential Phone ROMs, Kernels, Recoveries, & Other] initguru:
Dear flar2,

I'm on Oreo beta with ex kernel 2.00 and I tried to modify vibration strength but it seems not changed.

Even I set to 0% still the same strength.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tech_Savvy:
[MENTION=4684315]flar2[/MENTION] https://github.com/EssentialOpenSource
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Good for essential, releasing proper source code!
[Essential Phone ROMs, Kernels, Recoveries, & Other] Skripka:
Excellent being back on a device you do kernels for, [MENTION=4684315]flar2[/MENTION] !
[Essential Phone ROMs, Kernels, Recoveries, & Other] indian84:
Amazing work [MENTION=4684315]flar2[/MENTION]. I had deep sleep issues with 8.1 Beta.

Flashing your kernel fixed it for me..

:svetius:
[Essential Phone ROMs, Kernels, Recoveries, & Other] tlxxxsracer:
Mic quality isn't good. Used duo. Not sure if it's o8.1b issue or not
[Essential Phone ROMs, Kernels, Recoveries, & Other] shooterlgk:
Thought it was just my phone with bad mic quality. Even on stock
[Essential Phone ROMs, Kernels, Recoveries, & Other] Mfont8o:
I have the essential phone (bootloader and critical unlocked) and want to get rid of the red corrupt verity warning.

Steps I did

- Disable lock screen security.

- Fastboot ran flash all bat for latest 8.1 beta 1.

- Fastboot flash boot twrp.img

- Boot recovery

- Boot twrp and flash stock boot.img (8.1 beta 1 boot image from essential site) to boot.

- Install EX kernel.

- Reboot to system

- Reboot bootloader

- Fastboot flash boot boot.fix.red.img --- (From http://mata.readthedocs.io/en/latest/) This is where I think maybe I went wrong.

- Reboot bootloader.

- Start

- Yellow warning, red verity warning, bootloop.

- Started over. Everything is working just have that red verity screen every reboot.

Any ideas would be greatly appreciated.
[Essential Phone ROMs, Kernels, Recoveries, & Other] ChronoReverse:
Just to confirm, at which point did your phone start giving you the red verity error? It doesn't make sense to do all the steps before you flash boot.fix.red.img if you're trying to fix that one thing.

At this point, you say that "everything is working just have that red verity screen every reboot". That sounds unusual because a red verity error would prevent you from booting. It seems more likely you're seeing a yellow warning in that case which is normal for an unlocked bootloader phone.

If that's the case, you're just fine.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Mfont8o:
Hey there, I started seeing the red verity screen after the first reboot after flashing EX in twrp. I have both the yellow and red screens currently. At the red screen I press the power button to boot and it boots into 8.1 fine. Check about phone and it shows EX kernel as well.

---------- Post added at 05:47 PM ---------- Previous post was at 05:45 PM ----------

Hey there, I started seeing the red verity screen after the first reboot after flashing EX in twrp. I have both the yellow and red screens currently. At the red screen I press the power button to boot and it boots into 8.1 fine. Check about phone and it shows EX kernel as well.
[Essential Phone ROMs, Kernels, Recoveries, & Other] ChronoReverse:
When you said you started over in the last bit, do you mean you BTS'd then flashed EX? You may want to do a "complete" startover if you want to fully clear things.

0) Warning, will delete all data on phone including /sdcard

1) Run the BTS flash-all

2) "fastboot -w" in the bootloader to fully wipe phone

3) Start the phone and confirm if only the yellow warning remains

If it's fine at this point, then you can follow the instructions to install EX kernel. If not, reply back.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Mfont8o:
Not Quite

Just followed steps as you described, all went well with no errors. Rebooted bootloader, selected Start. Orange screen followed by red screen. Pressed power. Booted to 8.1.

Rebooted to bootloader and flashed the red-fix img to boot, waited, finally booted through without any errors. Thank you for the help!
[Essential Phone ROMs, Kernels, Recoveries, & Other] PixelatedVision:
still cant get it to work with LOS 2/28. I dont know if it is a elemental or LOS issue
[Essential Phone ROMs, Kernels, Recoveries, & Other] siulmagic:
Pretty sure this kernel is for stock roms only.
[Essential Phone ROMs, Kernels, Recoveries, & Other] bestofrhcp:
So I flashed the latest kernel. It says I have it installed but in the kernel manager I don't get anymore setting than the "CPU times and battery monitor". Did I flash correctly?
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
The app does not have root access
[Essential Phone ROMs, Kernels, Recoveries, & Other] indrafendy:
Hi guys. Need urgent help. Mine phone doesn’t reboot after flashing the kernel!
[Essential Phone ROMs, Kernels, Recoveries, & Other] Arju:
We need more info than that. Were you on stock rom? nougat or oreo beta? what steps did you take to flash it? The more information you provide us thus easier it gets to help you :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] indrafendy:
Sorry, yes I on stock rom and 8.1 Oreo beta. I follow according but now it doesn’t reboot to system.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Arju:
Did you flash the right kernel? 2.00?

did you also follow the exact steps here?

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