yashsingh1/xdaforums huggingface dataset:
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Updates for officially supported devices on 18.1 are still published monthly. Since devices shipping on 18.1 are, nowadays, only pretty old pre-Snapdragon 820 devices, many are only "formally" but not actually maintained, meaning that the maintainers (who are the only ones with push permissions on the device & kernel trees) stopped caring about them and disappeared. As a consequence, the new nightlies (which are built automatically) for these devices only contain platform changes (i.e. changes affecting global, device-agnostic components), such as the monthly security patches. The device and kernel tree are stale. Usable and working, but stale. Lineage directors have got push permissions on all repos, but I seriously doubt they care about the kernel version suffix of a random old Leeco phone...
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
You're probably busy, and I'm not in a hurry. But I thought I would give a reminder about the flashable kernel with a different suffix for the 20 builds.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Thanks for the reminder, I had forgotten about it. Here it is: https://mega.nz/file/Z18kxKzD#sWwhpdFtUwZzYxjU0YwatKjFtf7lMqCDJli0IY7zDmM
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
Thanks...perfect!
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
My Leeco Le Pro 3 was not passing DEVICE with Lineage 18.1 because of -lineage- being in the kernel string. I was able to unpack/repack the boot image with Magiskboot, mostly based on a post today on the PIF thread. I did it almost the way they said, but I replied a little later with how my changes to the kernel were slightly different. So now it passes DEVICE again. I know that's off-topic for this thread, but maybe it will help someone with some other devices/ROMs.

🔧 [MODULE] Play Integrity Fix (SafetyNet fix)

PLAY INTEGRITY FIX This module tries to fix Play Integrity and SafetyNet verdicts to get a valid attestation. BEFORE YOU START: - Your ROM must be signed with a private key from maintainer, you can check with this command: unzip -l...

xdaforums.com
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Interesting, the ASCII-encoded kernel version string is stored uncompressed in the zImage, and thus one can modify it without rebuilding the kernel. I did not know this.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
I've released a new update, built with lots of code optimizations and with F-Droid preinstalled. It is useful to update the system WebView (which is a critical system component for security) without waiting for me to release a new build.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
I installed it, and all is well, but I haven't done much. Thank you for continuing support for this device! The "Settings icon" problem looks good, but since I don't know what caused it, I can't be sure. You said it would be in the next release, so I bet it is.

You said we need to do the Graphene apk install, open, uninstall with each release. I'm assuming that's still true? I'm going to forget to do this now and then after a new build, but results don't sound disastrous.

I don't know anything about WebView, but maybe I should learn! Interesting that it helps security without a new build. Let me know if there's something you want me to test. The same Play Integrity pif.json is still working.

(And by the way, I'm still using the "Lineage 20 boot image with TWRP way" that I mentioned in the PM. I did a restore of data today to test it, and all is fine!).
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
The Graphene apk trick does not need to be done on each release. It's only needed once, if dirty-upgrading from my LineageOS 20 builds.

The WebView is basically Chromium's web engine (without an user interface). It is used as a browser whenever an app needs to display a webpage without calling an external web browser. It is also used as the web engine by Lineage's default browser (which is just a UI for the system WebView). I use Mulch WebView in my builds, which is the vanilla Chromium WebView + patches to improve security and privacy. It's maintained by DivestOS project, which releases it in their F-Droid repo. Since browsers and browser engines are an interface to the web, they are a critical component when it comes to security. Now, whenever the DivestOS team releases a new version of Mulch (which usually happens shortly after a new Chromium version is released), you can update via F-Droid, without waiting for me to release a new update.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
I guess I misinterpreted what you meant here about the Graphene apk . You responded to @temporarium who had asked about your new ROM and wondered if those steps for Graphene needed to be redone.

Thanks for your WebView explanation. I have to confess that this stuff about browsers is confusing to me. I just use Chrome and Edge apps to browse, but other than that, I don't know much. But I always appreciate your explanations.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
I interpreted temporarium's question as: "if I wait for the next 21 build, will the Graphene apk procedure be needed if I perform a dirty upgrade from 20 to that newer build?"

And the answer is yes. You need to perform that just once, no matter which is the 21 build you flash while upgrading from 20.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
I've uploaded a new build with a workaround for the exclamation mark bug.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
I've had trouble using a Samsung T5 SSD with your ROMs, both 20 and 21. I would like to use it for file backups. You mentioned the format a while ago when I wanted to use an external drive for possibly copying partitions there (I never was successful and gave up on that). Now I'm just interested in backing up various files. You mentioned that the preferred format is ext4, and not to use FAT32.

This drive documentation recommends formatting to exFAT. I think it came that way, I'm not sure. Also, my laptop can format it to exFAT, and it has no problems copying files or seeing them after the exFAT formatting.

But when I put it into a PH-1 with either 20 or 21, it displays an error "Issue with Samsung USB drive. Tap to fix". If I tap, it tells me to "Format SD card for portable storage". I'm not doing that right now, so I can't remember what format it will have if I do that. Maybe it makes it FAT32...or NTFS (doubtful).

Can you tell me how to use this SSD drive with exFAT?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
For that to work, exFAT support needs to be enabled in the kernel. It is very likely not enabled as of now, because LineageOS cannot enable it for devices that did not have it enabled on their stock firmware (due to licensing reasons). In my personal builds, however, I can do whatever I want (smash the system! - I'm pretty sure Microsoft has more interesting things to do than coming after me anyway), so I'll look into it soon.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
Thanks very much! I did try an app called exFAT/NTFS by Paragon in the Play Store. But it wouldn't allow me to get a trial version. Otherwise it costs $x. I didn't want to pay unless I knew it would work. I guess they give money back if it doesn't. It may have required kernel support anyway.
[Essential Phone ROMs, Kernels, Recoveries, & Other] izombiev:
Hi Sir,

Once again, I would like to thank you for keeping your effort towards this potato phone!

I just installed the latest LOS 21 build and despite some visual glitches such as enabling hide clock from desktop and make it appear back when you are using an app will, sometimes, make all the notification icons disappear from status bar unless you open an app.

There is this one that drives me nuts!

Mic will break all of a sudden, no matter what you do. I will remain like that until you restart the phone. :(

I've grabbed a log so you can take a look into it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Thanks for the log.

This looks like an old audio HAL bug I used to encounter in some very rare and specific cases some time ago. Since I was not able to get a clear picture of what is not working properly, I kinda gave up on it. But I would really like to fix it! Is there a reliable way to reproduce it, or is it just random? I vaguely remember it happening only when video calling via WhatsApp, or something like that.

About the notifications disappearing issues, I know. It's super annoying and no one seems to care enough about it to fix it. I'll try to fix that too.
[Essential Phone ROMs, Kernels, Recoveries, & Other] izombiev:
I recall having this issue from rom to rom back in LOS 18 - 19 days. Since the potato was kept as backup phone, I didn't really care till now, that once again, is used as my daily drive.

I restarted the phone in the morning, and it was doing fine until the early night, that I made some calls. 2 out of 3 calls were done just fine, however in the third one, the person I was speaking to didn't hear me at all, so I realize my worst nightmare was back xD

Carrier calls, no VoLTE nor Wifi.

Oh, I know this is kinda obvious since the audio comes out from another source but if I use wired earphones or wireless ones, it won't be any issue.
[Essential Phone ROMs, Kernels, Recoveries, & Other] izombiev:
Hi,

After some time and trying to figure out what the heck is wrong with this, I tried something different keeping the potato ON for several days (3 days) and making some calls so no problem at all. However, there's something odd, after trying some voice notes, none of them were recorded. Neither in recorder app nor WhatsApp. Though, I made a call right after this and for my surprise, voice calls were just fine.

I'll attach the log.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
I don't have the time to update the first post, but I've released a new build that brings an updated graphics stack with a fix for Vulkan GPU support. Should fix games crashing on startup.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
DId you get around to putting exFAT support into this build? I'm assuming no since you didn't mention it. But I thought I would ask.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Nope, I forgot.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
The thread about Play Integrity says that Google has been disallowing lots of PIF's again. Sure enough, I tested, and DEVICE now fails with your rom. I guess you will be creating another PIFxxx.apk?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
The guys that seek for new signatures are having a hard time finding a new one that passes. Nothing left to do but wait and hope (as the Count of Monte Cristo would say).
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
Yesterday that thread said that the Xiaomi one is working. I used Pixel Flasher to install that one, and all is well. I waited a day to mention this, just to see if it "stuck".
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
Nice to see a new boot animation (I think that's what it's called)! It's not that different, but I sure was tired of seeing the old one.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
New Play Integrity fix - simply install this apk file: https://mega.nz/file/o9kB2SST#pVAKuGnZIF8N5Wm9HeWuJYBYbCw-L16kQmgsAOe7BmI
[Essential Phone ROMs, Kernels, Recoveries, & Other] EssentialPH1:
Thank you for your incredible work! It's been great so far, no bugs here.

I want to second the request for exFAT support, it'd really help with working on the go.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
I'll look into it the coming week.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mateusxd:
Thanks for always bringing improvements to the essential, I updated and tested some games and its all working!
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Hi, a new update is available, mainly bringing some fixes and improvements.

@sga999 @EssentialPH1 I'm working on exFAT support.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mateusxd:
I updated yesterday and everything its working properly! thnx @Tomoms

Now let me ask one thing, I have a Samsung phone and on it when I enter the PIN I don't need to press OK to exit the lock screen, is there any option to do the same on the essential?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
You just have to set a PIN code of 6 or more digits. This is a standard Android 14 feature.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
@sga999 @EssentialPH1

Flash this kernel to gain support for exFAT! https://mega.nz/file/kpMA2aZA#Ck15zrdLMm-Dct2UcYAn8tpAFArvNAVB2h5MAOSUc2c

The kernel contains other improvements and tweaks as well.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
Thanks a lot! I'll test it soon, but I just realized that I may have a problem.

I'm sure you remember that I've been using the Lineage 20 boot image with this 21 rom in order to make TWRP work. I can't remember enough to know whether flashing just this kernel only, not the entire boot image, will mess that up for me. (For those who don't know what I'm talking about, @Tomoms and I discussed this in PM's since it wasn't interesting to those here).

Again, I'll test and see what happens. But if it fails, is it possible to put this exFAT fix into the 20 kernel? I know that's a strange request since you're not building it now.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
Wow, with a very quick test, exFAT is working for my Samsung T5! I haven't done much with it yet, but I wanted to let you know about the success. I made some mistake with the 20 boot image with TWRP so I did this with the 21 boot image. Greatly appreciated!
[Essential Phone ROMs, Kernels, Recoveries, & Other] EssentialPH1:
Exfat working flawlessly here as well. This is going to get me so much more mileage out of this phone, thank you so much!
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
I'm wondering if you saw this about putting the exFAT fix into the 20 kernel. I understand if you don't want to do it, but I wanted to be sure you saw this.

It would be helpful in 2 ways. I think I want to keep Lineage 20 on the other PH-1, and having exFAT would be quite useful there also. Also, as I mentioned above, I was using the 20 boot image with 21 ROM, just for TWRP. I can try again, but I don't remember the type of failure when I tried your exFAT kernel on top of that.

I mean, I had Lineage 21 installed, but boot image was from Lineage 20, TWRP was injected (along with other installs of Gapps, Magisk, DIsabler). When I installed your exFAT kernel, it may have given me an error because of version incompatibility. Or maybe I had a bootloop? But I think I got the error. Then I went back and installed Lineage 21 boot image, installed your new exFAT kernel, and that worked very well.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Tomorrow I will provide you with a flashable kernel for 20 with exFAT support.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
Thank you so much! You already had provided me with a 20 kernel fix for the 'lineage' string that was not being allowed by Play integrity. I'm assuming you will incorporate that as well. I really appreciate everything you do.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Sorry, it's been a busy day and I haven't been able to prepare your kernel. I'm going to do it tomorrow. Sure, the Play Integrity workaround will be included.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
@sga999

14.6 MB file on MEGA

mega.nz

Untested, but should work.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
Yes, it does work! I haven't done lots with it yet, but enough. It's great to have this both on 20 and 21!
[Essential Phone ROMs, Kernels, Recoveries, & Other] mateusxd:
@Tomoms next ota will come this exfat support?
[Essential Phone ROMs, Kernels, Recoveries, & Other] izombiev:
I was wondering this as well, so we won't flash new kernel manually.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Yes, but the next OTA will come when radio is fixed, not earlier. Read my post here: https://xdaforums.com/t/official-lineageos-21-for-the-essential-phone.4649878/post-89432706

It could take a couple of weeks.
[Essential Phone ROMs, Kernels, Recoveries, & Other] izombiev:
Oh, I see.

Mind telling how to flash the custom kernel then?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Sorry, I forgot to reply. You just need to reboot to recovery, and sideload the kernel's zip file. The recovery will complain about the zip's signature, you can ignore the warning and flash it anyway. That's all.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Hi, as soon as May's security patches are released by Google next Tuesday I will release a new build for the PH-1, based on the latest Android 14 QPR2 :)

The new build will feature and entirely reworked and updated radio stack, which also unlocks LTE+ in some countries where the PH-1 currently does not use it.

The only drawback of this radio stack is that SIM hotswapping is currently broken. This means that if you insert a SIM while the phone is powered on, it will not be detected until the following reboot. I will do my best to fix this issue, but it'll take a while.

Several other memory & performance improvements will be included too - I will provide more details next week, when the build is ready :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] tlxxxsracer:
Getting some serious lockups with the latest build and running through exfat kernel shared. Whole phone freezes for a minute or two.

Attached log. Hopefully that captures what you need.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Let's goooooo!

A new, juicy update is available, bringing Android 14 QPR2, the new radio and GPS stacks, and several other performance and memory management improvements (see the first post).

The visual "exclamation mark" bug is back. It only shows up on the first boot after a clean flash. It then disappears forever after the first reboot.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Gapps seem to be heavily misbehaving. Did you flash the recommended Gapps package (MindTheGapps), or another one? Did you apply any tweak to try to limit the capability/intrusiveness of Google Play Services?
[Essential Phone ROMs, Kernels, Recoveries, & Other] tlxxxsracer:
Everything flashed was from the OP. Used mindthegapps. No magisk module to limit play services.

Clean install (I think I came from los 19)
[Essential Phone ROMs, Kernels, Recoveries, & Other] MuddyDog:
hi, did you flash MindTheGapps-14.0.0-arm64-20231025_234300.zip? Earlier versions are not compatible with android14 / los 21.
[Essential Phone ROMs, Kernels, Recoveries, & Other] tlxxxsracer:
14.0.0-arm64-20240225_2321
[Essential Phone ROMs, Kernels, Recoveries, & Other] MuddyDog:
thx, updated to this.
[Essential Phone ROMs, Kernels, Recoveries, & Other] radoo7701:
What is the process for updating from your previous release? I tried using the updater and pick local update but get an error "Failed to import local update". Also tried ADB Sideload and that didn't work either. Thanks
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
@Tomoms, again, I want to thank you for adding exFAT support a couple of months ago. It has become invaluable to me! Also, I did install your latest ROM from a couple of days ago, and I have no problems. But I haven't really done much with it yet.

About the prior poster asking about updating, my process is complicated so I will let @Tomoms respond and explain the preferred way. Because I wanted TWRP (no longer), I am doing the very unorthodox way of using the boot image from Lineage 20, along with the original version of OrangeFox that @Tomoms gave me. (Lineage 21 boot image didn't work with either TWRP or OrangeFox). I can now do backup/restore with OrangeFox. TWRP seemed to have intermittent problems, and OrangeFox certainly is "nicer".

Let me know if there are new features you need me to test.
[Essential Phone ROMs, Kernels, Recoveries, & Other] rete2:
I flashed this ROM yesterday without problem from within TWRP recovery using ADB, coming from LineageOS 21 (former) Official. In my case I simply followed the Mata clean installation procedure again from this point onwards...

Install LineageOS on mata | Odd Solutions Wiki

wiki.oddsolutions.us
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
I was unable to use TWRP with lineage 21. Do you have a more recent version than the official one on twrp.me, which is from 2018? Maybe you meant you used Lineage recovery?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
You're doing something wrong, or something is wrong on your device. ADB sideload from within Lineage recovery, Local Update via the Updater, or a full OTA by downloading the zip too through the Updater all work fine. Other users and I use these methods all the time. If you're running Gapps, updating via OTA or via Local Update is recommended, because Gapps persist only when using these methods.
[Essential Phone ROMs, Kernels, Recoveries, & Other] radoo7701:
Thanks, that is what I suspected. Just wanted to make sure there wasn't other steps implied. It's been a while since I was involved in flashing phones. I'll give it another go later.
[Essential Phone ROMs, Kernels, Recoveries, & Other] rete2:
Apologies. Lineage Recovery
[Essential Phone ROMs, Kernels, Recoveries, & Other] radoo7701:
Well, the latest version showed up in the updater this morning and I was able to update directly. Still not sure what was blocking it before, but I did realize I missed the unlock_critical step in unlocking the bootloader. Maybe that was the issue?

Anyway, everything seems good now. Thanks for helping keep this device alive!
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
That could very well be the issue. Not sure how you managed to install a custom ROM in the first place, then. Anyway, what matters is that it works now!
[Essential Phone ROMs, Kernels, Recoveries, & Other] mateusxd:
today I was able to test the exfat support, and I was shocked with the results.

Copying from a external ssd to ph1 memory

copying back from ph1 memory to external ssd

thanks alot @Tomoms
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
Hi, a new build is available, with some minor updates, fixes and performance improvements.
[Essential Phone ROMs, Kernels, Recoveries, & Other] sga999:
I'm sure I did something wrong, but I've done these installs enough that I thought I would get it right. But the version and build number are still showing the one from 05/08.

You probably remember that I am using the boot image from lineage 20, but I definitely flashed system and vendor from your 05/22 zip file.

Is there some way the date did not get changed? Is there some new feature that you added where I can check if it's in this install that I just did?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Tomoms:
In Settings > About Phone, you need to look at the "LineageOS Version" string. The other build date/numbers are not always regenerated by the build system.