yashsingh1/xdaforums huggingface dataset:
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
As Daze said, we don't have a permanent recovery. What we do have is an installer script to flash after a boot image and before exiting TWRP to add TWRP to the boot image you just flashed. Very much a different thing than having a specific recovery partition that will always have TWRP on it
[Essential Phone ROMs, Kernels, Recoveries, & Other] avd:
We have TWRP that gets overwritten when the boot partition is flashed. In the old days you couldn't boot into system with TWRP, but now you can have TWRP and regular system coexisting.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Not sure why you're quoting me on this, since it's pretty much exactly what I just described. The twrp installer being flashed after a bit image to add twrp to it..
[Essential Phone ROMs, Kernels, Recoveries, & Other] payas0:
I actually can't have TWRP and EX at the same time. Flashing the stock boot image before flashing EX then Magisk removes the recently installed TWRP (via TWRP zip). I tried flashing the TWRP installer again after flashing EX and Magisk but I can't boot to system. Keeps on taking me back to TWRP.

How do we actually do this?
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
You want TWRP,magisk and ex together?
[Essential Phone ROMs, Kernels, Recoveries, & Other] payas0:
I do. Is that possible? I came from Nexus 5X and it was really simple to do so back then. I'm new to the a/b partition thing.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Flash magisk after twrp.

If you flash in the other order, it gives you a bootloop into recovery and never into system.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
Do you have PC if yes and on February update flash this

https://drive.google.com/file/d/1A5_K2svRfTXhUkeOMHik6vqtgGyhcmAz/view?usp=drivesdk

If no then are you rooted at least?
[Essential Phone ROMs, Kernels, Recoveries, & Other] payas0:
Yeah I'm rooted now. I have EX and Magisk. I just don't have TWRP on the active partition so I can't back up my current one via TWRP.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
Open app, go to tools select flash kernel. Download the kernel from link and flash that.
[Essential Phone ROMs, Kernels, Recoveries, & Other] payas0:
Oh. So It should be:

1. stock boot image

2. EX

3. twrp.zip

4. Magisk

Will give that another go after work. Thanks.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
I didn't think to specify this before, but be sure you're flashing the TWRP-Installer zip available on the Essential device page at twrp.me in step 3 and NOT the regular twrp zip.
[Essential Phone ROMs, Kernels, Recoveries, & Other] payas0:
That's the one I have. The one that patches both partitions' boot.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Good deal. Figured it couldn't hurt to make sure you had the right one
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
womder if this could get done before hand on a linux machine, so all wed have to flash is the combined boot image...
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Probably, but there's usually someone who uploads a patched stock boot image anyway.

If you have all the appropriate files on your sdcard, you can use a USBc adapter and plug in a mouse to navigate TWRP without touch.

You'd still be flashing the base TWRP image, and then use the mouse to flash stock back and the twrp installer over it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
Yeah, not necessarily with twrp. I'm trying to stay away from it...
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Not sure if there's an established procedure for doing it on your desktop. I'm guessing you could dig through the scripts that the TWRP installers use to flash EX and Magisk and replicate the process on the desktop, though.
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
Aye, was thinking that. Going through some of my older device stuff now to see if I can find the unpackbootimg, and mkbootimg binaries I used to have LOL

Not easy to remember where you put everything any more lol
[Essential Phone ROMs, Kernels, Recoveries, & Other] nickmilla15:
Does this kernel have a brightness boost setting for the display?
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Download the latest binaries because those tools have changed a lot in the past year
[Essential Phone ROMs, Kernels, Recoveries, & Other] ThatOneGuyOverThere:
fortnite crashes for me after i jump is there a fix for it?
[Essential Phone ROMs, Kernels, Recoveries, & Other] rignfool:
Fortnite isn't official for our device...

So... Chances are your using a hacked apk...

How would anyone have any idea which one... Or how it's hacked...

Need details...

Also... This is way off topic for this thread
[Essential Phone ROMs, Kernels, Recoveries, & Other] ThatOneGuyOverThere:
1. There is official support check here: https://www.epicgames.com/fortnite/en-US/mobile/android/get-started I'm running the official apk.

2. I posted it because on the stock kernel the game ran just fine.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RandomPooka:
Don't jump
[Essential Phone ROMs, Kernels, Recoveries, & Other] payas0:
Decided to flash this again and I really get random reboots when on this kernel. I've attached logs.

How I flashed:

I have TWRP and magisk on a stock Feb image.

1. Boot to TWRP.

2. Flash feb stock boot img.

3. Flashed EX.

4. Flashed TWRP installer.zip

5. Reboot to recovery/TWRP

6. Flashed Magisk
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
There shouldn't be any instability.

The logs needed are in /sys/fs/pstore
[Essential Phone ROMs, Kernels, Recoveries, & Other] payas0:
Unless there's so something wrong with how I flash it. I've attached the pstore files.

Reboots happen randomly, while uaing Facebook app, Chrome, even on home screen.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
There is some sort of memory corruption. Are you overclocking? This could also be due to faulty RAM or overheating.
[Essential Phone ROMs, Kernels, Recoveries, & Other] payas0:
No, I just use the default configuration. Could it be the memory leak on Pie?
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
I don't think so, it's bad page state. Try the stock kernel, or try lowering the CPU frequency and see what happens
[Essential Phone ROMs, Kernels, Recoveries, & Other] payas0:
I don't get random reboots on the stock kernel.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
You may have to use the stock kernel then. I didn't change anything to do with memory in this kernel, and don't have any reboots on mine, so I don't know what I would change.

My only other suggestion is to clear cache and dalvik, since it appears the error is related to dex ops.
[Essential Phone ROMs, Kernels, Recoveries, & Other] payas0:
Could it be flashing twrp installer zip on top of EX? I'm still confused about all this a/b partitions and why kernel and recovery both flashes to boot partition. I came from Nexus 5 and 5X and I loved EX.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
I don't think that would cause this type of problem. I would try wiping Dalvik first, or wait til Monday/Tuesday after the monthly update.
[Essential Phone ROMs, Kernels, Recoveries, & Other] payas0:
To clarify, all I have to do now is flash EX and boot to system. Then flash twrp and magisk from within EXKM? Then I'll have EX Kernel, TWRP, and Magisk all at the same time? Thanks! Glad I bought EXKM.

EDIT: So I flashed March fastboot image. Flashed TWRP.img. Flashed TWRP installer zip. Wiped data. Flashed EX. Wiped dalvik/cache. Booted the system.

I got a random reboot while I was still setting up the phone after boot. I guess I'll have to stick with stock for now. I don't know why random reboots only happen to me.
[Essential Phone ROMs, Kernels, Recoveries, & Other] RawSlugs:
After you flash the twrp.img and boot into TWRP, flash the March boot image them flash TWRP zip..

Ideally flash March boot.img to the current slot then temporarily change slots and flash twrp.img, boot into TWRP and flash twrp zip. Then switch back to your 'current' slot and flash whatever zip files you need...
[Essential Phone ROMs, Kernels, Recoveries, & Other] payas0:
I think that's how I do it. I always follow the Method 2 on the General section.

I guess this morning I forgot to flash March stock boot image before I flashed EX.
[Essential Phone ROMs, Kernels, Recoveries, & Other] johnny8910:
Latest update running nice for me.

Thanks flar2
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Update!!

K-Lapse support

K-Lapse is a new color control driver that allows you to schedule night mode, or reduce brightness with optional schedule, or change color values with brightness. Very versatile and full of options. From [MENTION=5913332]tanish2k09[/MENTION], more details: https://xdaforums.com/android/software-hacking/k-lapse-kernel-level-livedisplay-module-t3907031/

You need EXKM versino 4.05 or later for K-Lapse on this device.

Control all options on this and other kernels with the latest EX Kernel Manager: https://play.google.com/store/apps/details?id=flar2.exkernelmanager

Download:

ElementalX-3.16.zip

Changes:

-K-Lapse support
[Essential Phone ROMs, Kernels, Recoveries, & Other] johnny8910:
Very nice, thanks
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
Mate, if we install the update through the app, do we need to reroot and re-twrp?
[Essential Phone ROMs, Kernels, Recoveries, & Other] FlinkDelDinky:
No, that's how I updated the kennel. Still got root and twrp. I assume the kernel only writes over the old kernel but not the twrp or magisk stuff.
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
Hmm.... I ot a "Flash Failed" trying through the app... latest version of the app as well...

EDIT: Yet strangely enough after I reboot and check the app, it shows I'm up to date on 3.16 LOL

(hopeful that this is not a sign of how my day is going to go... lololol)
[Essential Phone ROMs, Kernels, Recoveries, & Other] FlinkDelDinky:
You're ok, the app has a bug that always says it failed the update. I probably should have mentioned that. Sorry for the heart attack...
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
:laugh:

I could think if much worse things to happen lolol
[Essential Phone ROMs, Kernels, Recoveries, & Other] avd:
That's a known feature,
[Essential Phone ROMs, Kernels, Recoveries, & Other] StephenMilone:
what happened to http://elementalx.org/ ? it now shows OP's Button Mapper app website.

I wanted to update from 3.15 to 3.16 now cant find a way to
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
comes up fine for me... scroll down a little...
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
It was temporary while I updated the site
[Essential Phone ROMs, Kernels, Recoveries, & Other] StephenMilone:
thanks for the response, must of just caught it at the wrong time.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Update!!

Download:

ElementalX-3.17.zip

Changes:

-April update

-update K-lapse

Control all options on this and other kernels with EX Kernel Manager, with two new themes: https://play.google.com/store/apps/details?id=flar2.exkernelmanager
[Essential Phone ROMs, Kernels, Recoveries, & Other] arealcoolhand:
I just flashed the April system update as I normally have the last 6+ months (running flashall.bat after removing "fastboot format userdata" then flashing a patched boot image created in Magisk after the initial reboot) but am having trouble auto flashing EX 3.17 through EX Manager. I've attached the logs after flashing failed. Thanks!
[Essential Phone ROMs, Kernels, Recoveries, & Other] arealcoolhand:
Apologies for the extra post but just noticed the logs wouldn't attach via the XDA Labs app. Here they are.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
I would need to see the output window in EXKM.
[Essential Phone ROMs, Kernels, Recoveries, & Other] arealcoolhand:
Screenshots attached. Thanks again!
[Essential Phone ROMs, Kernels, Recoveries, & Other] clsA:
same thing here, install Failed

3.16 still works fine
[Essential Phone ROMs, Kernels, Recoveries, & Other] lynnux:
Downloading 3.17 and flashing in twrp worked for me, installing through exkernel manager failed.
[Essential Phone ROMs, Kernels, Recoveries, & Other] nomesrjp:
Do you have 3.17 installed (confirmed in 'about phone')? I did likewise and still have 3.16.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Unfortunately I've lost my PH1, so can't test this. I haven't seen it for two or three weeks. I don't know why flashing would fail though, I flash all kinds of stuff on many devices with EXKM and have no problem.
[Essential Phone ROMs, Kernels, Recoveries, & Other] lynnux:
Very strange, it says 3.16 #1 is installed. I assumed it was 3.17, or maybe it is, just showing a different name. I just went into exkernel manager and manually flashed the express version of 3.17 (in tools/flash). It flashed fine, same result, says I have 3.16 #1 installed.
[Essential Phone ROMs, Kernels, Recoveries, & Other] TomTheGeek3:
same here (coming from stock kernel too).
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
I must have forgot to change the version number
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Update!!

This release is the same, but with the proper version number. I just re-uploaded to the site and the app.

Download:

ElementalX-3.17.zip

Changes:

-April update

-update K-lapse
[Essential Phone ROMs, Kernels, Recoveries, & Other] enrunn:
Tried to flash newest version 3.17 through the ex kernel manager app today and it still fails for me....

I do it like this for several months now and never had problems so far..
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
There's no difference to the app or kernel zip
[Essential Phone ROMs, Kernels, Recoveries, & Other] :
Has anyone got EX Manager to flash 3.17 successfully? Seems like everyone either can't flash through EX Manager or flashed the .zip manually via TWRP.

Edit: Going to the "flash" section on EX Kernel Manager's main screen and then browsing to the ElementalX folder to flash the express .zip works.

Edit 2: NVM. Says it was successful, but isn't actually installed.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dirtyreturn:
Hey [MENTION=4684315]flar2[/MENTION] , I'm sure it's been reported... But, anyway, just FYI!

Ahh, sorry. Thirteen hours late.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dirtyreturn:
Typo he missed changing the kernel number :cool:
[Essential Phone ROMs, Kernels, Recoveries, & Other] arealcoolhand:
I have the same experience. Auto Flash fails. Downloading zip and installing through the Flasher reports that it's successful but a reboot shows the kernel remains stock.
[Essential Phone ROMs, Kernels, Recoveries, & Other] nomesrjp:
Likewise however, I don't think we'll see a resolution until he (flar) finds his PH-1 :) In the meantime, we should simply use TWRP.
[Essential Phone ROMs, Kernels, Recoveries, & Other] clsA:
Flashing in TWRP stops at 30% and I have to force a reboot
[Essential Phone ROMs, Kernels, Recoveries, & Other] lynnux:
How long did you let it go at 30%? When I flash it in TWRP it stays at 30% for a long time, it almost fooled me. The line describing what's happening changes (can't remember details--installing, etc), and suddenly it's done. Never goes past "30%", but it finishes for me.
[Essential Phone ROMs, Kernels, Recoveries, & Other] nomesrjp:
Yep, same here. I believe I installed the full version i.e. 4.4.176-ElementalX-PH1-3.17, rather than express. It does take some time, without much progress info, and may seem like it's failed.
[Essential Phone ROMs, Kernels, Recoveries, & Other] xNotta:
Did you lose it as in misplaced but you'll probably find it? Or should we start trying to get you another PH-1?
[Essential Phone ROMs, Kernels, Recoveries, & Other] clsA:
I re downloaded the zip and flashed in TWRP again this morning and it finished successfully
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
[MENTION=4684315]flar2[/MENTION]

Was going to PM this to you, but looks like you aren't allowing it.

I still have my ph1

And a "compile" system setup...

If you would like (and approve it), I can compile it for us, i just need to know a couple things...

1. What toolchain are you using for us?

2. What's the filename of your def_config?
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
I don't know if it fell behind something or someone stole it or it accidentally got thrown out or what. I have a bunch of phones and this is the second one that I've lost. The other was lost for a few weeks and then I found it in the house underneath some books.
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
Any of the Google prebuilt GCC 4.9 toolchains should work. The config is elementalx_defconfig
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
Appreciate it mate. I know you can't test, but should I send the compiled kernel off to you for approval? Or, just a test flashing, and post it to a mirror?
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
You can just post. The problem seems to be the installer though, so you could just grab the kernel image from the current installer.
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
Gotcha, thanks bud

---------- Post added at 09:59 AM ---------- Previous post was at 09:36 AM ----------

One last question mate, I swear...

Is it: Image.gz-dtb ? that we need?

I did notice, there is a decent size difference between elex.Image and the 3 compiled images....

elex.Image is 13.8M, while Image is 35.5M, Image.gz is 12M, and Image.gz-dtb is 14.4M
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
You need the dtb one. The size will change with different toolchains
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
appreciate it mate. late now, will compile and flash in the am ??
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
got it

let me know if its ok to post it mate
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
You can post it I you like. Does it flash in EXKM? What is the difference between yours and mine?
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
Didn't test in EXKM, but will do that now. It does flash in TWRP though.... i'll post back once I can confirm EXKM flash

No difference between ours, except the maybe the GCC. I am using the last google one before they deprecated it in favor of (I forget the name....), their new compiler. That may account for the size difference as well... unless OS makes a difference? I did it on a Ubuntu 18.04 machine...

---------- Post added at 09:42 AM ---------- Previous post was at 09:40 AM ----------

Nah, doesnt flash in EXKM. Can't flash aroma installers... I'll see if I can manually download the version from the app..., and then re-zip

---------- Post added at 02:44 PM ---------- Previous post was at 02:42 PM ----------

hmmm... app downloads the aroma version as well...
[Essential Phone ROMs, Kernels, Recoveries, & Other] Androbots:
Aroma in general is pretty buggy at times, so I suggest to remove aroma and any changes to the clock speed and stuff to be done within android using some kernel manager preferably EXKM.
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
EDITTED

It is.

Yeah, I'll do another non-aroma flasher in a bit. (work, etc...)

For now... the TWRP flasher works like a champion

TWRP Installer: https://mega.nz/#!joIzgIoI!R1fgUnNVDoBgLSk5IXqL5BwqchSKMtDU1LoSxLtqAVU

EXKM Installer: https://mega.nz/#!exxQRKbI!L-sdZcr1Jy-oQCf2TJgLOxQyuA6R2ZY4ZONcExzsibI

[MENTION=4684315]flar2[/MENTION]

Fully appreciate you letting me help with this mate. It really does mean alot to me, I've followed and utilized your kernels through a ton of devices mate, always been great experiences.
[Essential Phone ROMs, Kernels, Recoveries, & Other] FlinkDelDinky:
Thanks! Your twrp version flashed okay. :good:
[Essential Phone ROMs, Kernels, Recoveries, & Other] xCasasx:
Somebody can recommend me the best settings to get better battery life?
[Essential Phone ROMs, Kernels, Recoveries, & Other] dirtyreturn:
[MENTION=4819587]kevp75[/MENTION], is the kernel you compiled 3.17? Or...??
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
3.17
[Essential Phone ROMs, Kernels, Recoveries, & Other] dirtyreturn:
Hey Dev, what's going on? I'm just hoping here... Is there a way you could include fast charge into the kernel?
[Essential Phone ROMs, Kernels, Recoveries, & Other] clsA:
Fast charging works fine for me, I am using flar2's version of 3.17 though
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
have either of you tried the version I posted?

There are no differences other than the machine it was compiled on, so it should be working for it as well. Unfortunately, I dont have a fast charger so I cant test... unless its just a setting in the app Im overlooking...
[Essential Phone ROMs, Kernels, Recoveries, & Other] dirtyreturn:
Nope, no setting from exkernel manager anyway. Just in another app I have it has a fast charge toggle..And an app setting I was using was causing the slow down in charge..

. I had gotten to the devs April update kernel before I saw your post. Look forward for your updates!
[Essential Phone ROMs, Kernels, Recoveries, & Other] flar2:
I don't think there is any setting for charging, probably just slowed down due to heat.
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
Hey mate........... just got it to compile with UberTC... I'll let you know "if" it actually boots in a little bit :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
Sweet. Yep boots fine
[Essential Phone ROMs, Kernels, Recoveries, & Other] dazeone:
How will this differ from original ex? Besides the TC
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
I dont and wont modify [MENTION=4684315]flar2[/MENTION]'s kernel. He simply does not have the phone anymore, so I told him I'd compile, test, and post (which is a few posts back).

He uses google's toolchain, which I do to, but I wanted to see if it would compile and boot using Uber's toolchain, which it does. You'll have to google around a bit to find the differences between them.

If I can get it to compile with Linaro, I'll post back... so far I've not been very sucessful compiling anything with Linaro tho...

EDIT: It's also way too early to determine whether one is "better" than another. I literally just flashed it, so will need a few days to make that determination... and as always... just because I say one thing for my phone and my usage, does not mean anyone will have the exact same results as I do. #1 Even if they are the same device, all electronics inherently have the same problem... none are exactly the same. #2 Your usage will vary highly against mine.
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
linaro compiles as well, but I want to wait a few days to test out the uber built

---------- Post added at 11:10 AM ---------- Previous post was at 10:17 AM ----------

I have fired up a repo to store the flashable zips.

https://gitlab.com/westernmass-hosting/android/essential-elementalx/kevp75-compiler

NOTE

I have only tested the Uber and Google toolchain compile's as of yet... in another couple of days I will test out the linaro compiled one as well. Both aroma and non-aroma flash fine for me.

If someone wants to test out the linaro ones, go for it, just make sure you make your proper backus, and let me know if they work for you.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dirtyreturn:
AWESOME!! [MENTION=4819587]kevp75[/MENTION] , just wondering, the non-aroma zips, are they stock values (I forget the numbers... flar2 's CPU stuff?).

Edit - also wondering, I'm guessing you'll be maintaining the kernel from here on out - do you plan to release based on flar2 monthly schedule? Like, updating the kernel and such.
[Essential Phone ROMs, Kernels, Recoveries, & Other] kpirnie:
Hey mate, thanks. Yep, stock values.