yashsingh1/xdaforums huggingface dataset:
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
​

*** Disclaimer
I am not responsible for any damage you made to your device
You have been warned

crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today

Features:

https://github.com/crdroidandroid/crdroid_features/blob/10.0/README.mkdn

VoLTE

WireGuard

MicroG support

Flashing Instructions:

Pre-installation:

TWRP (Download from here)

gapps (Download from here)

Magisk 20.0 or newer for root (after first boot) - (Download from here)

First time installation:

Fastboot Flash Essential's Jan update (You can get it here)

Flash twrp, then boot into it.

Flash the rom.

Flash the twrp zip.

Optional: flash OpenGapps package of your choice.

Optional: boot into system, then flash magisk.

Sources:

ROM: https://github.com/crdroidandroid

Kernel: kernel url

Download:

ROM https://www.androidfilehost.com/?w=files&flid=314554

Changelog: https://raw.githubusercontent.com/crdroidandroid/android_vendor_crDroidOTA/10.0/changelog_<device codename>.txt

Known issues:

Speaker phone call volume stays at a fixed level.

Visit official website @ crDroid.net

crDroid <device> Telegram

crDroid Community Telegram

Donate to help our team pay server costs

XDA:DevDB Information

crDroid, ROM for the Essential Phone

Contributors

monark88

ROM OS Version: Android 10

ROM Kernel: Linux 4.x

ROM Firmware Required: Flash January Stock image.

Based On: LineageOS

Version Information

Status: Testing

Created 2020-07-06

Last Updated 2020-11-09
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
Reserved

I was quite tired of all the mata ROMs with built-in gapps, and so many without all the great customizations that crDroid brings. We needed a ROM with Signature Spoofing for microg support. I've tested out the 360 degree camera, it's working. I tested phone calls, wifi, messaging, and microg installation. All works, can even get location with UnifiedNLP on Android 10! I tested with minmicrog and NanoDroid with magisk overlay.

If this is well received, I'll work on improving issues and getting official status.
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
Reserved2
[Essential Phone ROMs, Kernels, Recoveries, & Other] DestroyeRCo:
Thank you. I'm going to test it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] TDP95:
Funny I would see this. I had the exact same idea yesterday. I finally got around to building crDroid v6.7 with the LineageOS 17.1 kernel as you have. I also used the LineageOS 17.1 device files, and TheMuppets vendor files, (https://github.com/TheMuppets/proprietary_vendor_essential). I then installed Magisk and MinMicroG NoGoolag edition. I find that this ROM so far has been working fine. The only real issue I have found is that Aurora Droid which is installed from the MinMicroG package seems to crash during the first launch sync. However, relaunching it and syncing resolves the issue. This didn't seem to happen when building LineageOS 17.1 with full signature spoofing when I was testing that. Not entirely sure though if others will see that, or if it was my build.

I really hope to see your build get more testing, and get official status! :D

Best of luck!
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
I did have one force close of NLP backend with minmicrog, but it cleared up after the initial crash. NanoDroid beta had no issues. It's comforting to know others are interested in gapps-less (or less gapps ;)) ROMs, to the extent of building their own!
[Essential Phone ROMs, Kernels, Recoveries, & Other] TDP95:
Speaking of NLP, and location services in general, I do notice in the microG self-check mine appears to not have the proper permission to access location in the background, and it seems the permissions is unknown. I see the permissions as "android.permissions.group.UNDEFINED", and I am unable to grant it permission. Did you notice this as well? Or, were you able to provide all permissions without issue?
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
The only thing I had to do finish microg setup was run this from ADB or termux.

pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE

I've attached screenshots of my microg self-check results and locations permissions. The only unticked box is last known location, which I think is because I haven't used it since last flash..

EDIT: attachments weren't loading.. uploaded here
[Essential Phone ROMs, Kernels, Recoveries, & Other] TDP95:
Thanks! I have already granted signature spoofing, and that appears correct. I'll check into this more later.
[Essential Phone ROMs, Kernels, Recoveries, & Other] mpena:
Thanks for the rom, I saw two issues related to Lineage tree, VoLTE not work for me, I fix with a Magisk module and codec aptx don't work too.
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
Thank you for reporting the issues. If I may ask, what magisk module did you flash to fix VoLTE?

EDIT: i think i found it here
[Essential Phone ROMs, Kernels, Recoveries, & Other] mpena:
Yes that is
[Essential Phone ROMs, Kernels, Recoveries, & Other] TDP95:
Something I have noticed with my build is that the status bar clock freezes, and the network monitor when enabled in the crDroid settings disappears from the status bar quite frequently. The time on the lock screen and clock app appear correct always. Rebooting the system or system UI, as well as locking and unlocking a few times corrects it. But it happens again after the next lock or so. Is this something you have noticed with your build as well? Or, are you not seeing these issues?
[Essential Phone ROMs, Kernels, Recoveries, & Other] kietdt1324:
So far so good. I love performance on this rom. The only issue for me is crdroid launcher. I'm replace it with pixel launcher + quickswitch and everything working so smooth. I'm waiting for the next build in future for more optimize.
[Essential Phone ROMs, Kernels, Recoveries, & Other] foueddyf:
Any chance to have the wireguard module baked in the kernel?

Thanks for this gappless signature spoofing enabled Rom!

Finally one that works out of the box :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
I will add WireGuard support in the next release. Thank you for your suggestions, and feedback!
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
New release is up. It has WireGuard and VoLTE enabled by default. Tested both, both working. Be aware that there could be a DNS leak for wireguard using kernel right now.

Screenshots for proof

Download is in first post, or you can shortcut here.

Dirty flash worked fine for me, but ymmv.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dememted1:
Bluetooth fixed ? Need gappless but also need aptx.

Also ymmv?
[Essential Phone ROMs, Kernels, Recoveries, & Other] nijohnson:
Your Mileage May Vary (YMMV) - basically saying that your results may not match exactly to the ones shown.
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
I made no changes in regards to aptx. Is there an essential ROM that does have aptx working? I can look at how they've implemented and try to recreate.

Failing that, I don't foresee myself implementing aptx into this ROM.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Zaisxda:
Is this f2fs compatible?
[Essential Phone ROMs, Kernels, Recoveries, & Other] dememted1:
Quite a few work sir....

Statix OS

AOSPA

Evolution X

Carbon

POSP

Magma

I think Magma is lineage based....

Please try sir... A nogapps rom is hard to find Thank you.
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
I've never much cared for f2fs. I did test it out, unsuccessfully. No f2fs support right now.
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
For those of your currently running a ROM that is aptX compatible:

Please run the following code (in termux or in adb shell) and send me the output:

su
ls -lah /vendor/lib64/libapt*

If you see the files:

lib64/libaptX_encoder.so
lib64/libaptXHD_encoder.so

If you can pull those off and post them here I may be able to get aptX working. It looks like it may be a case of missing libraries.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dememted1:
Getting output of "no such file or directory" on all the roms i have tried...

UPDATE.... I've got AptX working after pulling the 2 files from a working rom and overwrote the ones in /system/lib64/. Not sure if i'm allowed to post the files here as they came from another ROM?

Got the ok to upload them ...
[Essential Phone ROMs, Kernels, Recoveries, & Other] foueddyf:
Been using the Rom for a week now and it all works great, well at least for my usage.

I've encountered 2 bugs so far:

- Settings > crDroid Settings > User Interface > Full screen apps

Enabling this for any app doesn't seem to work. The apps remain with the notch, so remain unchanged.

- Settings > System > Gestures is missing but is still accessible if you search for "gestures" via Search settings

And I got 1 request that hopefully can be fulfilled:

- Increase the maximum value for Night Light Intensity in Settings > Display > Night Light

Currently the max value barely does anything.

Thanks for this ROM!
[Essential Phone ROMs, Kernels, Recoveries, & Other] dememted1:
Navigation gestures is in /settings/crdroid settings/navigation/stock nav bar settings/system navigation.

Long way to get there eh...
[Essential Phone ROMs, Kernels, Recoveries, & Other] foueddyf:
Thanks man, never noticed it because I use dark theme and always thought it was a sub menu title. Never thought it was clickable :silly:
[Essential Phone ROMs, Kernels, Recoveries, & Other] nogoogle:
Thanks a ton for this ROM! I lost my mind the last month trying to get Lineage 17.1 to work with MicroG and always ended up with some kind of dealbreaking issue no matter how many times I tried. Wasted countless hours trying to troubleshoot stuff. Meanwhile, this ROM worked great right off the bat.

My only problem is that I can't get gesture navigation to work correctly. The back gesture doesn't work at all. Doesn't matter how I adjust the settings. Even tried installing gesture magisk modules and toggling stuff back and forth. Anyone else have this issue? I hate having to go back to a navigation bar.
[Essential Phone ROMs, Kernels, Recoveries, & Other] foueddyf:
Works fine for me. Here are my settings:

Settings > crDroid Settings > Navigation tab > Navigation bar enabled (if this is not enabled, gestures won't work)

Settings > crDroid Settings > Navigation tab > Stock navar settings > Layout > Normal (not sure if this makes a difference or not)

Settings > crDroid Settings > Navigation tab > Stock navar settings > System navigation > Gesture navigation (enabled)

|_ sensitivity 2/3 high

|_ touchable screen height for back gesture 2/3 bottom

|_ hide navigation bar pill ON

|_ show animated arrow for back gesture ON

|_ enable haptic tick effect on back gesture ON

To be clear, you swipe from the right side edge of the screen to go back and don't swipe from too low or it won't work. Swipe around the middle height of the screen.
[Essential Phone ROMs, Kernels, Recoveries, & Other] nogoogle:
Read your instructions and thought, "well, I've done that process a million times, probably won't work". Well, something about the order of your instructions did the trick. Everything is all good now.

I really appreciate your quick help! Loving this ROM right now.
[Essential Phone ROMs, Kernels, Recoveries, & Other] foueddyf:
Another bug I have:

The status bar clock freezes whenever the screen shuts off.

Not sure if I'm the only one.

This error pops up in the log as soon as the screen goes black:

[07-19 16:47:57.150 1305:1364 E/libEGL]
eglDestroySurfaceImpl:901 error 300d (EGL_BAD_SURFACE)

[07-19 16:47:57.150 1305:1364 E/ColorFade]
eglDestroySurface failed: error 12301
java.lang.Throwable
at com.android.server.display.ColorFade.logEglError(ColorFade.java:701)
at com.android.server.display.ColorFade.destroyEglSurface(ColorFade.java:642)
at com.android.server.display.ColorFade.dismissResources(ColorFade.java:339)
at com.android.server.display.DisplayPowerState.dismissColorFadeResources(DisplayPowerState.java:205)
at com.android.server.display.DisplayPowerController.animateScreenStateChange(DisplayPowerController.java:1485)
at com.android.server.display.DisplayPowerController.updatePowerState(DisplayPowerController.java:856)
at com.android.server.display.DisplayPowerController.access$600(DisplayPowerController.java:91)
at com.android.server.display.DisplayPowerController$DisplayControllerHandler.handleMessage(DisplayPowerController.java:1910)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.os.HandlerThread.run(HandlerThread.java:67)
at com.android.server.ServiceThread.run(ServiceThread.java:44)
[Essential Phone ROMs, Kernels, Recoveries, & Other] nogoogle:
Happening to me too.
[Essential Phone ROMs, Kernels, Recoveries, & Other] nogoogle:
I know it wouldn't be a high priority fix but I noticed the SBC HD audio option in the Developer Options doesn't work right. Distorted audio. Same deal if I select SBC codec and then select Dual Channel under the Bluetooth Audio Channel Mode setting..
[Essential Phone ROMs, Kernels, Recoveries, & Other] Angrydr0id:
Thanks for your amazing work. Everything works well, I love the battery life witouth the Google Play Services.
[Essential Phone ROMs, Kernels, Recoveries, & Other] SykkNyzz:
Will this use AOSP Vendor/Firmware in the future?
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
If TWRP touch issues get fixed I will swap to AOSP vendor firmware.
[Essential Phone ROMs, Kernels, Recoveries, & Other] evaz88x:
I wasn't able to get Google Apps to run properly with microg. I installed it through Nanodroid, so maybe it had to do with Bromite as the Webview?

I was able to get Open Gapps installed, and root with Magisk. Gapps have to be flashed from other slot after installing twrp zip.

By the way, I love the rom! Thanks to the developers who were able to bring to the Essential Phone.
[Essential Phone ROMs, Kernels, Recoveries, & Other] foueddyf:
This is not really the place for microg support but I don't understand what you're trying to do. Microg is essentially to de-google and use your device free of any google apps and services. If you want Gapps, don't install microg or vice versa.

Also Nanodroid doesn't work too well with Android 10 atm because they use an older microg version.

Use MinMicrog instead.
[Essential Phone ROMs, Kernels, Recoveries, & Other] SykkNyzz:
I was working on one in the past, but people weren't really keen on helping me out with a port of OrangeFox
[Essential Phone ROMs, Kernels, Recoveries, & Other] dememted1:
Whats the problem with touch on MATA? I use a pre patched bootloader and it works every time.
[Essential Phone ROMs, Kernels, Recoveries, & Other] SykkNyzz:
I'm responding to the OP about the matter, if it works Everytime for you, cool. But he won't do AOSP until the matter is fixed.

For me sometimes the right half of the screen is black.
[Essential Phone ROMs, Kernels, Recoveries, & Other] SykkNyzz:
Sometimes the TWRP will not work at all without an OTG mouse
[Essential Phone ROMs, Kernels, Recoveries, & Other] lemmeinyo:
Thank you much for making this ROM available to us Mata users. I was up until 6am trying to get Lineage or Carbon working with microg. This one actually worked, and it is a dream. During the carnage last night, I booted up my backup phone (droid turbo) and was greeted with the crDroid logo :)

I really hope you can officially maintain this. I am tired of flashing ROMs and would be so happy to have regular OTA updates.
[Essential Phone ROMs, Kernels, Recoveries, & Other] dememted1:
I can't understand what touch in twrp has to do with using aosp vendor. Please enlighten me.

I use Jan firmware with aosp vendor and all works as it should. Roms that use aosp vendor can be installed with twrp.

Maybe vendor overlay is the way to go?
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
Perhaps one day I will get with the crDroid team about becoming a maintainer. In the meantime, enjoy this August 5 security patch update!
[Essential Phone ROMs, Kernels, Recoveries, & Other] lemmeinyo:
Great, thank you! Just to be sure.... can I just dirty flash this update? I.e., boot to twrp, change partition, flash update zip, change partition reboot system?

:o
[Essential Phone ROMs, Kernels, Recoveries, & Other] temporarium:
Yes, dirty flash works.

Whatever you do, don't forget to flash TWRP installer right after flashing the ROM.
[Essential Phone ROMs, Kernels, Recoveries, & Other] lemmeinyo:
Thanks, haven't flashed yet. Sorry if this is basic, but I'm not looking forward to another marathon phone breaking/fixing night like a few days ago... is this right?

1. Reboot into TWRP

2. Change partition (A>B or B>A as needed)

3. Flash ROM (this update)

4. Flash TWRP zip (on same partition?)

5. Change partition?

6. Reboot system

7. Profit

Please clarify along these lines, if you don't mind :)
[Essential Phone ROMs, Kernels, Recoveries, & Other] ardrift:
As far as I know, ROM install zips already flash the opposite system partition of the device. So if you are on slot A currently, all you need to do is go to TWRP, flash the zip (which flashes to slot B), then flash the TWRP installer (which patches boot images on both slots), then reboot and profit :D It will boot into the newly installed slot by itself.
[Essential Phone ROMs, Kernels, Recoveries, & Other] lemmeinyo:
You were right about that! Thank you. Unfortunately for me, magisk and microg have complicated this process, and now I'm back to headache-land :p
[Essential Phone ROMs, Kernels, Recoveries, & Other] ardrift:
Yea it's usually not an easy process, I had to sort the zips I need to flash into different, numbered folders so I remember the sequence :D But it's basically this:

1. Flash rom (flashes to opposite slot, switches to it on next reboot)

2. Flash TWRP installer (patches both boot images)

3. Reboot to recovery (which will automatically be the newly flashed slot)

4. Flash magisk

5. Flash microG

6. Boot to system
[Essential Phone ROMs, Kernels, Recoveries, & Other] foueddyf:
That's what I did to update from 6.7 to 6.8 but apps losts all their permissions and microg settings got reset.

Most of the apps that needed GCM had to be re-installed because they wouldn't automatically re-register.

Some other apps also had to be re-installed because they wouldn't launch without some permissions pre-enabled. Well written apps would just re-prompt for needed permissions though.

A bit of a pain but obviously not as smooth updating on Android 9 where that flashing sequence never required any intervention after booting in the system.
[Essential Phone ROMs, Kernels, Recoveries, & Other] lemmeinyo:
This is exactly my experience right now too. I've got my most important apps working again (after reinstall of those apps), but at some point I'll have to restart from scratch. Background location is not working in microg anymore, so I can't use navigation. Is this a fundamental issue with android 10?
[Essential Phone ROMs, Kernels, Recoveries, & Other] foueddyf:
I had to re-enable Deja Vu location backend and after a couple reboots, it worked fine again, had to re-accept the signature spoofing too.

Basically Microg completely resetted to fresh default values.
[Essential Phone ROMs, Kernels, Recoveries, & Other] vsn4:
Just installed this today. First time trying out crdroid. Gotta say I'm impressed. Everything works other then the Bluetooth. Gonna stay on this ROM for awhile. Its got potential! Thank you for this ROM:D
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
To everyone with microg issues: me too. I'm not sure why it all gets cleared. I can say that I also do some stuff on LG G6, and had the same experience flashing android 10 over there. Not sure if it's our outdated recovery on a new android (q/10) ROM or what. Anyone using gapps having the same issues?
[Essential Phone ROMs, Kernels, Recoveries, & Other] Zaisxda:
I'm using gapps. I can use gps and navigate normally. No problem here
[Essential Phone ROMs, Kernels, Recoveries, & Other] foueddyf:
I think it's related to the microg package. It probably doesn't handle android 10 new permissions very well.

I dunno xD

Just have to set it up again and re-install a couple apps, not the end of the world
[Essential Phone ROMs, Kernels, Recoveries, & Other] ali.sbi:
Dirty flash on another build

I'm currently on this rom from another dude https://xdaforums.com/essential-phone/development/rom-crdroidandroid-t4021891

The quistion is can i dirty flash this rom and update my rom version?if yes please tell me th TWRP steps.
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
You might be able to dirty flash. This would be a whole jump in android versions 9 to 10. If you see errors, then clean flash. I would clean flash just to avoid any residual issues, and save time in general.
[Essential Phone ROMs, Kernels, Recoveries, & Other] kirschdog1:
Face unlock available by chance?
[Essential Phone ROMs, Kernels, Recoveries, & Other] foueddyf:
Negative
[Essential Phone ROMs, Kernels, Recoveries, & Other] baboon23:
Anyone using this as their daily driver ? This is the only normal ROM without the gapps malware preinstalled, planning on flashing this. I really hope it's a good one because this guy is the only thing keeping me from selling this phone ATM :)

Such a shame to see a Lineage release with GAPPS built in, thus defeating the purpose of Lineage....... Where is the logic ?
[Essential Phone ROMs, Kernels, Recoveries, & Other] temporarium:
Yup. Works fine with microG.
[Essential Phone ROMs, Kernels, Recoveries, & Other] foueddyf:
I use this rom as my daily driver and it works pretty well, which I'm glad since it's pretty much the only gappless ROM out there besides official Lineage. I still prefer CrDroid because this ROM is really built with MicroG in mind so it has signature spoofing out of the gate unlike Lineage.

Official Lineage is gappless, the unofficial one isn't but unofficial kinda got dropped after the official came out which kinda makes sense.

People just use the unofficial thread because nobody made an official mata thread for Lineage.
[Essential Phone ROMs, Kernels, Recoveries, & Other] baboon23:
Thank you sirs !

Are you using this microg with crdroid ? Just flash on top of a fresh isntall and all is working ?

https://github.com/FriendlyNeighborhoodShane/MinMicroG_releases/releases/tag/2020.04.28
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
Yes, just flash after fresh install. I typically will boot into the ROM once, then reboot to TWRP and install Magisk and MicroG.

This MinMicroG is newer: https://github.com/FriendlyNeighborhoodShane/MinMicroG_releases/releases/tag/2020.07.27

The NanoDroid package is great too, if you use the Aroma installer to disable all the additional app installs: https://downloads.nanolx.org/NanoDroid/Stable/
[Essential Phone ROMs, Kernels, Recoveries, & Other] baboon23:
Perfect !!!

Thank you so much Mr Monark this was very helpful ! Installed and working beautifully. I don't tend to root/magdisk, creates security holes I can't afford in my profession. But TWRP flash is good !

So I should bookmark this guy right ? The official maker of MicroG is out of the game for now yes ? Only FriendlyNeighb ?
[Essential Phone ROMs, Kernels, Recoveries, & Other] monark88:
Actually, I do believe the original developer is back to working on the project. Not only that, but the official microg lineage distro seems to be updating their los builds for mata again.

https://download.lineage.microg.org/mata/
[Essential Phone ROMs, Kernels, Recoveries, & Other] baboon23:
Very nice link thank you !

So installing LOS from the microG mata directory I get an official "all in one" flash, which is the same as the two-step procedure we mentioned earlier, yes ?

But I won't have crDroid features. Anyway, great to know !!