yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
​

*** 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/14.0/README.mkdn

Sources:

ROM: https://github.com/crdroidandroid

Kernel: http://www.github.com/LineageOS/android_kernel_google_msm-4.14

Device: http://www.github.com/LineageOS/android_device_google_sunfish

Vendor: http://www.github.com/TheMuppets/proprietary_vendor_google_sunfish

GApps: https://github.com/BiTGApps/BiTGApps-Release/releases/tag/v3.3

Download:

ROM crDroidAndroid-14.0-20240519-sunfish-v10.5-FASTBOOT-UNOFFICIAL-DiamondJohn.zip MD5: D3BC814ECABDDBC009E16A84B89F0776

boot.img boot.img MD5: 29B4F2FB53A99DF97FB73216F9AFFD01

dtbo.img dtbo.img MD5: 881BEBD062FE94B37F6C39F44506ACB7

Changelog: see attached.

Known issues:

you tell the rest of us!

Flashing Instructions: (SEE RELEASE POST FOR v10.4)

The following are the steps I did with success

download the files below

download the latest SDK (ie fastboot and adb)

open a command window, in windows for me

I ran the command lines below, which is specific to my set-up/drives & file locations on my PC

Install Instructions:

You need to be on the latest bootloader and modem, so install the latest google firmware

Below are the flashing steps I did

PREPARATION STEPS

Ensure you are on the latest modem & bootloader (ie latest Google firmware)

Download & Install the latest SDK (ie fastboot and adb etc)

Download all three files and place in a known folder (F:\flash_crdroid) for me)

go into recovery and do a factory reset

Go into fastboot mode and run the following, ie lines without ">" (NB: I do everything in F:\flash_crdroid\ to avoid long file paths or spaces in the filepath, which have historically caused issues for me)

f:
cd flash_crdroid

set PATH=%PATH%;"C:\Program Files\Java\Android\platform-tools"
set ANDROID_PRODUCT_OUT=f:\flash_crdroid

fastboot --version
>fastboot version 35.0.0-11411520
>Installed as C:\Program Files\Java\Android\platform-tools\fastboot.exe

fastboot devices
>XXXXXXXXXXXXXX fastboot

fastboot flash --slot all boot boot.img
fastboot flash --slot all dtbo dtbo.img

fastboot FLASH crDroidAndroid-14.0-20240504-sunfish-v10.4-FASTBOOT-UNOFFICIAL-DiamondJohn.zip --skip-reboot

>>>>>reboot to recovery, select update, via adb
adb sideload BiTGApps-arm64-14.0.0-v3.3-OMNI.zip

Unplug device from PC and reboot into ROM. It will sit on the boot animation for a looooong time the first time, but next time it will be quick.

If it boots back to recovery or something, re-run a factory reset and try booting again

Visit official website @ crDroid.net

crDroid Community Telegram

crDroid Updates Channel

Donate to help crDroid team pay server costs
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
reserved
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
My personal daily is crDroid Android 13. I will not be switching to this ROM personally for a while. It still feels like a work in progress to me,.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
NB Posts 7 to 22 have been moved from a thread before this ROM was created and discusses my previous attempt.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] shairol:
Boot for me
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] old.splatterhand:
Can you describe exactly the steps how you flashed it?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] shairol:
View attachment 6078003
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] shairol:
reboot in to fastbootd

fastboot update -w crDroidAndriod-14.0-20240307-sunfish-v10.2
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
So its running!??

One thing I did notice, is that when I flashed back a previous ROM, it also did not boot, even though it had been running on that device for months. HOWEVER, not that I expected it to make a difference, I UNPLUGGED it from my computer (USB), and then it did boot. Now I question myself did I try to boot crDroid while it was unplugged...

So, how is it? I will need to retry it for myself. I also have a GApps enable build that acted the same. Have you tried sideloading a GApps?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
I did a factory reset before I flashed it. What ROM was the device on beforehand?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
Wait a sec, "fastbootD"?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] shairol:
extract zip get boot img
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
@old.splatterhand Have you attempted to flash it and boot it?

I just checked and there is a new version of fastboot (v35). Mine is from last year (v34.0.5),

@shairol which version did you use?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] duallex:
Hello. Download links are not opening.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] shairol:
Yes factory reset,from ROM evo 14
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] shairol:
No gapps,I use migroGView attachment 6078313
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] old.splatterhand:
And my platform-tools are much older: platform-tools_r31.0.3

Sideloading gapps worked too.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
ARghhhhhh! its just me! Ill try the boot first next time. AND latest SDK.

You used fastboot mode not fastbootd?

You manually flashed vbmeta.img, my newer SDK (still not the absolute latest) flashes that automatically, as part of the update.

crDroid are constantly adding features. Since I did & shared the build, they have added features Id like to see. I also have a GApps build as well.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] old.splatterhand:
With all the attempts i made i can't remember exactly. But i think it was normal fastboot mode.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
The thread has been majorly borked by a Mod😱, deleting the OP so I cant check or edit the OP until they set it back. If I have to do it again from scratch, its not going to happen ☠️

EDIT: I just checked the boot.img link that I would of posted, and that one works.

EDIT: its been fixed!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
With all the moving about, your post was hard to find,

Yep. You were correct, the links as presented weren't working. In the save / formatting, it somehow added a " >" to the link URL's (probably my bad, typo :whistle:), but I have cleared them all now, so they should work. Give it a go.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] duallex:
Thank you. I'm already downloading.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
I couldn't get the device to Pair ADB over WiFi

I keep getting Device Health Services Adapter constantly crashes

Since I cant get ADB over WiFi, its more difficult to get a log :mad:
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] shairol:
what's new from the previous version
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
See change log, its a newer build. Devs make changes every day.

and this one has GApps baked into the ROM. No need to flash GApps

AND technically there was no "previous version", that was a first attempt / alpha build
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] AlexKarimov:
I followed instructions in the OP and the ROM flashed without issues. You weren't joking about the first boot taking a while. I almost gave up, thinking I'd done something wrong, but it eventually booted and the ROM is working.

NOTE FOR THOSE YET TO FLASH: the first boot took just over 12 minutes. Be patient and let it do its thing.

Thanks again, DJ for the awesome ROM!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
I think there will be many people who do not follow the instructions in the OP, as there are half the downloads of the two preflash files (dtbo.img & boot.img) as downloads of the ROM file.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
I just stumbled across the following. The issue with fingerprint recognition not working, is not specific to this sunfish 10.2 build. Another official pixel device has the same issue.

[ROM][OFFICIAL][13][14] crDroid for Pixel 5a (barbet)

*** Disclaimer I am not responsible for any damage you made to your device You have been warned The first (and only) official Android 14 custom ROM for Pixel 5a crDroid is designed to increase performance and reliability over stock Android for...

xdaforums.com
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] 306bobby:
It's a permissions issue. Manually setting permissions fixes it
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] 306bobby:
Here is the script. I suggest putting in redbull dt, moving to the vendor partition and running on post boot. I currently have it built with the script but it doesn't autorun on my latest beta release of 10.2. I broke the screen on it so development is temporarily stalled on my end.

init.fingerprint.sh

#! /vendor/bin/sh
## Initiate FPC fingerprint since .rc processes don't want to

## FPC fingerprint
chmod 0600 /sys/devices/platform/soc/soc:fp_fpc*/irq
chmod 0200 /sys/devices/platform/soc/soc:fp_fpc*/wakeup_enable
chmod 0600 /sys/devices/platform/soc/soc:fp_fpc*/hw_reset
chown 1000:1000 /sys/devices/platform/soc/soc:fp_fpc*/irq
chown 1000:1000 /sys/devices/platform/soc/soc:fp_fpc*/wakeup_enable
chown 1000:1000 /sys/devices/platform/soc/soc:fp_fpc*/hw_reset
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
YES! I created a script pretty much as above, and placed in /data/adb/service.d and now fingerprint works! THANKS! Obviously rooted with Magisk.

But to be clear, I am on crDroid A13 (different device) and am happy with it. This A14 build was simply a check to track where crDroid A14 is up to, and that I can build A14. Which was a plava in my environment.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
Just to be clear. The flashing instructions which seem to enable this ROM with the preflash of the two partitions was taken from @306bobby official flash instructions for his official crdroid device (barbet, the pixel 5a, but they have 3), s9 thanks should go to him/her

Bad news for lovers of A14, I tried installing a few of my "deal breaker" apps, and they would not install on A14. Havn't checked exactly why yet, but not great, they work on A13 crDroid my current daily. The ones that failed so far are listed below. They are pretty old.

Launcher - Lightning Launcher (abandoned, but still on playstore AND now the source now on GitHub)

Wallpaper (Live) - Celestial Bodies (no longer on playstore)

Viper FX - havent tested yet, but should be OK

So I think I will stick with A13 for a while. I previously skipped A9 through to A11 on my previous device (Samsung S4) and only joined the update cycle when I switched to a Pixel P4 and stepped in at A11, and still think I skipped A12 by switching to custom ROM's.

@306bobby i notices on your unofficial build for the P4A, u dont have the pre-flash instruction for people to follow that seem to work for the P4A (as well as your P5A). Feel 100% free, if it would work, to grab unattributed my dtbo.img file (4A has no vendor_boot). Also, they haven't discussed the fix to the fingerprint reader on your thread; but maybe not many have booted, so not an issue.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
They have bumped to 10.3 BETA for A14

crdroid: Bump to version 10.3-BETA · crdroidandroid/android_vendor_crdroid@7925480

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

github.com
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] old.splatterhand:
Following the Telegram Group it seems that 10.3 final has arrived:
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
too bad you dont have someone who has committed to keeping it built on every version update... :LOL:;)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] old.splatterhand:
All good, sir. That's just an information for all who are interested 😇
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
WT.... they just bumped to 10.4!

crdroid: Bump to version 10.4 · crdroidandroid/android_vendor_crdroid@bb0c169

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

github.com

Remember, the version is not anything material, its simply a tracking/labelling item. The thing a lot of people also miss, is that doing a build (ie the resync really) the minute before they bump the version actually has all the features/fixes/commits of the next version.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
New Release crDroid v10.4, NO GAPPS​

The GApps source I used previously failed to build without MAJOR mods. But note, I will get future version to include GApps. as thats what OI want.

I Have also fixed the fingerprint issue inbto the source, so no need for a boot script. My first attempt didnt seem to show they fuxed it in source.

*** CLEAN FLASH IS REQUIRED ***​

​

The ROM is FASTBOOT

You have to use adb sideload to apply/add gapps

crdroid recommend BiTGApps​

BiTGApps

Google Apps Package

bitgapps.io

Release BiTGApps v3.0 · BiTGApps/BiTGApps-Release

In case someone did a really bad job and landed you here instead of our official homepage then please first visit BiTGApps homepage and learn more about this project. Homepage: https://bitgapps.io ...

github.com

BiTGApps-arm-14.0.0-v3.0-[VARIANT].zip​

The following are the steps I took to install

for explanation of different gapps, see https://bitgapps.io/images/list.png from https://bitgapps.io

Download links in OP
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
I also now have ADB over WiFI (YEAH!!!!)

Fingerprint (As stated above has been fixed)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] old.splatterhand:
Thanks a lot for this release. (y)

Flashed without problems, time to play around with it a little bit.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
I thought people would be interested in seeing the latest, and a few didn't want gapps, so I thought I would get out the release, and stop spending any more time in getting gapps working. But will give it another go for the next release.

I installed the CORE gapps, and am now regretting it. I should of gone OMNI. "Hey Google" doesn't work. even though I have installed all requirements. But even that is missing some items I want (but installable from play store)

I've only played with it a short while, but It looked pretty close to my current daly. Once I test if ignoring version checks on installing APK's works, it may be destined as my new daily.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] TheHitMan:
You should have gone with MINI for "Hey Google" stuff.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
"Hey Google" was only one annoyance. I chose CORE as everything else was installable from PlayStore. I also dislike that I have two phone apps, two contacts apps and two message apps. AOSP from ROM and the Google ones (I am used to and prefer) that I downloaded from PlayStore.

I did a search for a fix (of assistant which I currently have installed from store), and one from a few years ago said to wipe all and install NikGApps. This was the game I wanted to avoid by building a working one into the ROM.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] TheHitMan:
Isn't this expected ?

Assistant should be a part of system app not user app, to get it working properly.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
No. More comprehensive GApps packages override / REPLACE the AOSP aps, so there is only one.

That's what I was thinking, but nowhere have I seen it explicitly stated in my search for a fix.

A lot of these "system app" issues are actually SELinux fails, and my TeMeFI app can create scripts to correct that, but I have yet to install it on the device since wiping.

Not to toot my own horn (well maybe a little....) But when checking for changes in crDroid source, I can see that I beat a few official devices to v10.4 https://github.com/crdroidandroid/android_vendor_crDroidOTA/commits/14.0/
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] TheHitMan:
I mean the core version doesn't provide those extra stuff, so it is expected.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
and that's why I say I should of gone with OMNI
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
FYI: good news to all. I tested using the "--bypass-low-target-sdk-block " in ADB install, and was able to install 80% of my "show-stopper" apps onto this ROM. They are OLD, and all are no longer on the playstore.

If the rest also work, this ROM may become my daily, and therefore the builds will continue.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] AlexKarimov:
Is wifi calling working for anyone on this ROM? I haven't been able to get it to work on my 4a on any A14 ROM. With the exception of two A13's, it worked but on every A14 ROM, I flip the switch and it flips back off and the screen blinks. If I try it a second time, it says carrier set-up has stopped working.

I'm debating re flashing and getting logs, but I'd like to know if anyone else is having the same problems first. If this happens on every A14 ROM, i feel like it's a bigger issue than just me or my device. I followed all of the directions and flashed the newest version with core BITGapps. I checked APN and it was set up like all other devices with functioning wifi calling. I tried to enter it manually just to check but didn't have the option. Any suggestions are welcome.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] chozendroid:
I know its a bit of an inconvenience on your end but I LOVE the fact that this was a vanilla build that I got to setup EXACTLY the way I want. Thanks a million for this build 😁
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
Bad news for you, I have another build I am checking, with GMS. So if it continues to be possible, then my builds will be with GApps.

I am assuming you do flash GApps? If so, then to "setup EXACTLY the way I want", should only mean that instead of installing the specific GApps you want, you disable the GApps you don't want?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
I think I noticed this in a recent build, but my latest doesn't have search of settings. Is it the same in the previous (As in latest release, but previous to the build I am running)?

ie Can people confirm if they do or don't have search in settings?

FYI: attached is the change log for this new build I am testing. They have been busy since the release of v10.4

ARRrrggghhhh! I forgot to include the fingerprint fix I do locally that they haven't fixed in the source. Back to the bootscript for now.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] old.splatterhand:
I don't have the device at hand right now, but as far as i remember, search in settings is available on my device with your latest build (v10.4)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] chozendroid:
I'm genuinely not surprised. I don't actually use google apps like their dialer and messaging app (and sometimes gboard and "Hey Google"). I know the option is there to simply disable the google apps you don't need, but the problem for me is that my favorite alternatives to these apps are typically the built in AOSP versions that don't always install well from APKs. I also depend very heavily on Android Auto and I've realized that not all ROMs with built-in GApps include Android Auto, which makes it a pain to install afterwards. Just like the "Hey Google" functionality, Android Auto has to be installed at a system level to work properly.

I'm well aware that these are my personal preferences, so I don't expect you to inconvenience yourself for my sake. I'm just thankful for this current build without built-in GApps, which has been working wonderfully thus far 👍🏾
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] chozendroid:
Search in settings works perfectly fine for me
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
Yes your right, regarding the Google versions replacing the AOSP versions of some apps (such as contacts and dialer). I never thought that these were a preference for some. I have assumed that google would of spent more time to build them up to be more functional/desirable, and so have never compared them or assumed they were preferential.

For my benefit, apart from conceptually, could I ask you to list one or two features that the AOSP version have that the gapps ones don't? ie what I could be missing out on. or is it simply a mild distain for google (which I can understand in itself)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] chozendroid:
It's more about some google apps just taking too much space and resources for functionality that's just not that important to me personally.

Google Messages is probably the biggest offender, as Textra just works way better for me in terms of customization and (weirdly enough) restoring my SMS conversations properly, while preserving reactions in group threads and not messing up the order of messages.

Google dialer just feels needlessly bloated for me, and I prefer running the Google App as a non-system app since I don't use the Hey Google feature on my phone and prefer to not have it running in the background all the time(I have Google Home Minis around my house and a button for triggering Google Assistant in my car).

So no, I don't have a "disdain for Google services", but I do think some of their apps are needlessly bloated and the AOSP versions of some of them like the dialer, contacts, and keyboard simply work more efficiently for me by not bogging down the UI with extra options that I simply don't use.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
New Release crDroid v10.4, NO GAPPS 20 April 2024​

I HAVE NOT TESTED THIS RELEASE. But Without GApps, although still time consuming, it becomes a LOT more mechanical, so I expect it to be fine :sneaky:

This release contains a lot of fixes (see Attached change Log) but I expect it could be dirty flashable. Just make a backup before you try.

The ROM is FASTBOOT

You have to use adb sideload to apply/add gapps

crdroid recommend BiTGApps​

BiTGApps

Google Apps Package

bitgapps.io

Release BiTGApps v3.0 · BiTGApps/BiTGApps-Release

In case someone did a really bad job and landed you here instead of our official homepage then please first visit BiTGApps homepage and learn more about this project. Homepage: https://bitgapps.io ...

github.com

BiTGApps-arm-14.0.0-v3.0-[VARIANT].zip​

for explanation of different gapps, see https://bitgapps.io/images/list.png from https://bitgapps.io

Download links in OP
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] old.splatterhand:
Rom flashed fine. But gapps aborted. Insufficient partition space.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
Which GApps?

Did you dirty fash or clean flash?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] old.splatterhand:
Dirty flash.

Tested with Omni and Mini, but "Current space" is 0.

When i was flashing back the previous build it had 1.1 GB free.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
I have done sooooo li8ttle to get this to compile without GApps. So its something in the Lineage Device tree or in crDroid causing it to have 0% space left. Having gapps built in is starting to look better, isnt it.... ;)

I am running a build I did a few days earlier, with GApps built in; that required a heap of mods. So had no issues with 0% free for additional sideloading of GApps.

PS: Not that it makes a difference for you, since nothing will fit on 0%, but, Mini & Omni are the two biggest gapps.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
HAs anyone tested a clean flash?