yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
FYI: I did a build yesterday and installed it this morning. Again when I first tested the search in settings it did not work. HOWEVER, after a fair bit of time of setting it up, it started working! maybe it worked in the previous build. but just needed time to index the results.

This build includes

Get the latest source code / commits. I waited 24 hours for new commits to cease, so I hopefully avoided half done changes. I will post the change log with the release, and its also viewable from the ROM

Changed some of the QS Headers to be more abstract textures than Anime themes. Also added to crDroid fan boy headers

Changed the boot animation to the old Nexus Prime abstract panels. I have it set at too low a frame rate @ 15FPS, but maybe I feel that way because from a typo in a previous build it, was set to 30FPS and I may of go9t slightly used to the faster rate. 15FPS is the original, but it looks too slow to me, now.

Used a different default wallpaper. Still a space theme, and if you set another static wallpaper, that will show. But if you have a Live Wallpaper, the default shows before you unlock the device for the first time after EVERY reboot

I will upload the files, and update the OP and post the new release when its done uploading. If the installs of all of my deal-breaker apps go to plan, this will be set up as my personal daily now. That will take some time.

Another bit of info, I have a comprehensive GApps install as people have noted (its the same as official Bliss, where no-one has complained :poop: err... noted),. However, it is a Google device, and its easier to disable apps than to find out later some underlying framework is not in the ROM. I read on the crDroid recommendations for Official releases, that either NO Gapps are installed OR a minimal GApps is included. But, this ROM is not trying to be official.😜
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
THOROUGH & DETAILED RECCOMENDED INSTALLATION INSTRUCTIONS FOR SECOND RELEASE​

READ OP AS WELL! It has the download links and MD5's of the ROM and BOOT images that obviously need to be downloaded!

In summary, I have found that the device code has been made to expect the May boot-loader and radio's stock firmware from Google. So, go to https://developers.google.com/android/images#sunfish and download the stock firmware for May ie "13.0.0 (TQ2A.230505.002, May 2023)" NB: Newer is not better in this case.

After downloading the above zip file, extract the two files

bootloader-sunfish-s5-0.5-9430386.img

radio-sunfish-g7150-00108-230117-b-9497111.img

with the above two files and the ROM zip file, the following are the steps / commands I used to install the ROM. NB: I did some funky things in Magisk earlier, which got me into a boot-loop, so I issued the update with a wipe (ie -w, remove it to do a dirty flash/upgrade and keep your data/settings). NB: I copied all my files to f:\flash_crdoid. Also, each line should be ran individually and NOT as a single batch. You will also see at the end, I flashed a Magisk patched boot image.

All the below commands are issued in fastboot mode, which is accessed by booting to the bootloader,

NB I am running Windows, so all the below is for a standard command shell.

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 34.0.3-10161052
>Installed as C:\Program Files\Java\Android\platform-tools\fastboot.exe

fastboot devices
>ZZ99ZZZZ999999 fastboot

fastboot flash bootloader bootloader-sunfish-s5-0.5-9430386.img
fastboot reboot-bootloader

fastboot flash radio radio-sunfish-g7150-00108-230117-b-9497111.img
fastboot reboot-bootloader

fastboot update -w crDroidAndroid-13.0-20230619-sunfish-v9.5-UNOFFICIAL-DiamondJohn-FASTBOOT.zip

fastboot flash --slot all boot crDroidAndroid-13.0-20230619-sunfish-v9.5-UNOFFICIAL-DiamondJohn-FASTBOOT-boot-Magisk.img

As can be seen, I used fastboot version 34.0.3-10161052 (the latest) which has some bugs, and hence I had to run set ANDROID_PRODUCT_OUT=f:\flash_crdroid

Also, even though I ran it with the -w parameter, It didn't wipe my data, so I had to reboot to recovery and manually factory reset the device.

Attached is the change log, which wont show but implies my changes I listed in the previous post
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
FYI: things I do to the ROM include

Clear, Freeze & hide the equalize

Clear, Freeze & hide the Music player Eleven

Install Viper as my music player.

Install Viper As my Equaliser

Freeze & hide a few selected GApps

Install a Revanced modded YouTube client as root

Detach YouTube using TeMeFI. And a few others. Inc ones to stop google installing more GApps that I have frozen :poop:

Enjoy the new QS Tile headers, I have a few i flip between.;)

Install all my apps, and there is a lot, some of which are no longer on the playstore

Dont forget to turn on Pulse!

This ROM has customisation galore!

One slightly weird thing I think I noted, this build defaults to a NavBar while I think the previous one defaulted to gesture NAv
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] duallex:
Подскажите пожалуйста, это только я беру до 80%?

Mod translation: Tell me please, is it just me taking up to 80%?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Badger50:
Greetings. As a friendly reminder, we ask all members to please post in English as stipulated by XDA Rule #4:

Spoiler content hidden.

Thank you for your cooperation, and have a pleasant day.

-Regards: Badger50
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
80% of what?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
Another config I added, is to include some "free" adblocking, that I plan to use in conjunction with custom host blocking, works well.

You can see the details at https://xdaforums.com/t/app-root-nonroot-official-adaway-v6-1-1.2190753/post-88680225

I haven't had a lot of use for now, but I tested some Aps with very aggressive ads, and they were all blocked. So with the DNS setting only I haven't seen any ads thus far.🥳
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
things are happening fast! They've bumped to the 9.6 BETA

crdroid: Bump to version 9.6-BETA · crdroidandroid/android_vendor_crdroid@96ea283

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

github.com

Interesting, as it was ALPHA on the weekend, but this shows they skipped ALPHA.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
Damn! in the next build they have removed:

1. Smart Charging

2. Brightness sliders

3. QS Header Images

4. Bottom Lockscreen Shortcuts

I was using 2 to 4 and REALLY liked 2 & 3 :cry:
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Nimb9:
Sir can you make a build with minimal version of gapps?? Just a core gapps maybe
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
I have answered & explained that, and discussed it more than once, and I would also recommend you read the OP and never look a gift horse in the mouth.

I have also provided enough information in the OP for anyone else to build the ROM exactly how they want.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
actually, if you read the 3rd post, you would have a possible solution. Its the rules of the board to read the first few posts.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
WARNING

read and follow the recommendations/warning below, from the Telegram build channel, when upgrading from v9.5 to v9.6 (inc beta)

​
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
it just went 9.6, official, today. Time for a new build!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
damn! build succeeded, and flashes & boots, but

1. The boot animation doesn't take up the whole screen. The speed is better this time, but there are black bars at the top & bottom

2. The wallpaper defaulted to the crDroid default

Weird thing is that they removed the brightness slider styles, but the style I selected while on v9.5, still displays. I don't think i can undo it or select another one, but that's fine by me, I like the one I selected while on v9.5. The header image IS gone :confused:

I think my next build may include a new IO gov or two, instead of building & flashing over & over again. If the other things above are also fixed, I'll then release.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
NEW BUILD v9.6!​

See the OP for downloading the files.

The source is aligned with the official release of v9.6. I think the changelog *possibly* shows otherwise

I have added AND defaulted to the ZEN IO-Scheduler in the kernel. I did notice that the IO Stats defaults to on (normal). However, personally, I have a boot script that corrects that, but the same script also defaults my IO Scheduler back to noop 🤬; obviously easily corrected.

You should flash the bootloader and radio from the MAY factory images sunfish-tq3a.230605.011-factory-e7734214.zip. The following is my install script in a windows cmd shell.

NB: See the warning above https://xdaforums.com/t/rom-unoffic...crdroid-v9-6-with-gapps.4593649/post-88694721

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 34.0.3-10161052
>Installed as C:\Program Files\Java\Android\platform-tools\fastboot.exe

fastboot devices
>ZZ99ZZZZ999999 fastboot

fastboot flash bootloader bootloader-sunfish-s5-0.5-9825683.img
fastboot reboot-bootloader

fastboot flash radio radio-sunfish-g7150-00112-230505-b-10075601.img
fastboot reboot-bootloader

fastboot update crDroidAndroid-13.0-20230630-sunfish-v9.6-DiamondJohn-FASTBOOT.zip

fastboot flash --slot all boot crDroidAndroid-13.0-20230630-sunfish-v9.6-DiamondJohn-FASTBOOT-boot_magisk.img

I had done some attempts previously, so I didn't re-flash the bootloader & radio this last time.

You will also see I dirty flashed the update. If its your first time, include the -w param otherwise omit it like above.

PS: Forgot to include "UNOFFICIAL" in the filename, but DiamondJohn should ring some bells.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] klazyStrida:
Thanks for releasing crDroid 9.6.

I immediately installed it on my Pixel 4a.

It's very smooth and almost nothing seems to be wrong.

Battery consumption is excellent!

The only thing I noticed was the battery consumption of com.android.hbmsvmanager right after installation, so I uninstalled this package manually.

I will try to use the Pixel 4a as is.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
Hopefully the "smoothness" is at least in some small part, due to the work I did to get the ZEN IO Scheduler compiling, working and defaulting. I have another scheduler on my todo list (more a wish list), but it was even harder than ZEN this time, so I excluded it and moved on to get the ROM out; ZEN is pretty good and common.

As for "com.android.hbmsvmanager", I had it running (the previous v9.5, its not my daily, yet) for a few weeks, and one day, this turned up in my battery history as gulping down my battery. I took the less nuclear approach, and used the ROMs built in feature to set the battery optimisation (click the item, and the "App battery usage screen" shows) for that specific component to "Restricted", and it hasn't appeared in the list since. So whatever it does, I guess I am getting its benefit while the screen is on and I am using it. I have also attacked a few other apps further down in the list, just because I can, and the low battery is brilliant.

Did you dirty flash from v9.5? Either way, does the search in settings work?

It doesn't on mine, but my guess (from what I have seen before) is that a dirty flash breaks it. My guess is it would be cumbersome code to maintain and test for the DEVs just to support a dirty flash. I have some ideas to try when I get some time to fix it without wiping my whole setup.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] klazyStrida:
The battery consumption is low and the operational response is comfortable, no problems at all, extremely smooth.

The crDroid 9.6 was Clean Installed after flashing the 20230505 Stock ROM into both A/B slots. (since the previous one was RisingOS)

As for com.android.hbmsvmanager, I had an experience that just setting Battery Usage to "Restricted" had no effect, so I uninstalled it suddenly.

I installed Magisk/USNF module because it did not pass the safetynet check, but it was OK for NFC payment at actual stores.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
when you say you "had an experience" with restricted battery having no effect, was it explicitly with "com.android.hbmsvmanager" or something else? As for me, once I set it, it hasn't come back. But it did take a while before it even first appeared, so maybe time will tell if it has really worked for me.

Good to know that NFC works for payent in physical stores, not just locally beeping at appropriate times. Not that I personally use it, but many others would, and on crDroid official Telegram, many official devices are failing with NFC. Thanks, at the very least from thers(y)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] klazyStrida:
You may be right.

If I had been a little more patient, I might have been able to get the "Restricted" effect without having to uninstall.

Next time I have the chance, I will be more careful.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
It's a system app isn't it? if so, it should still be there, ready to be re-enabled/unhidden/unfrozen/removed from Magisk Hide. And of course, stating the obvious, you need to clear the battery stats to see if it comes up again after a clear.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
Is anyone up to do a test flash of a new build? The new build has a few new IO Schedulers:

Anxiety

Maple

TripnDroid

FIOPS

ROW

and ZEN from before (the default IO Scheduler)

Of course, you will need to know how to change the IO Schedulers to check they are available and dont crash.

It also includes the latest commits since the 9.6 release. I don't think that there any new major visual features from crDroid (see attached)

= Edit =========

You can read about them here: https://xdaforums.com/t/ref-guide-s...i-o-schedulers-and-more.3048957/post-59289783

My main goal was for Anxiety. Its all about responsiveness ie latency
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] klazyStrida:
New build, if you don't mind, I would like to test it myself.

I don't think I can help much...

I have SmartPack-Kernel Manager installed on my Pixel 4a.

It's been a really long time since I've used this kind of tool to check the operation, and I'm a little worried if I can do it right...

I'm having some problems with NFC apps right now (it's my mistake), so I can't test NFC-related functions.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
I couldn't resist, and my daily's battery is really dying, so I need to switch soon, so I flashed it myself.

The following is the list of IO Schedulers.

Not sure why BFQ isn't in the list.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
Just thought I would share a personal screenshot I liked, as I got off my cross-trainer.

Gotta love Pulse & Album Art

Too bad A13 has a bug on NON Embeded album art, but there is a workaround.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] klazyStrida:
No problem at all.

I understand this is your personal build, so please proceed at your own pace/schedule.

The explanation of I/O Scheduler in your earlier post is very interesting.

As far as I read that explanation, Anxiety was fascinating.

It will be interesting to see how it actually works with these explanations.

Which one suits Pixel 4a? Which one suits my usage?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] bayon88:
New to all of this. Maybe wrong place to ask but how's the battery? Is it any better? Trying to extent the life of my 4a a bit more
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
Brilliant! My daily's battery is dying (different ROM, high battery drain), but I have a second hand replacement Im switching to. I was lucky, a few months back I thought of getting a back-up phone and I checked eBay, and they were reasonable, so I made a purchase. And now I check, and the second hand ones have jumped up in price.

This ROM and the size of the P4a has me think, when the battery dies on this next one, I will get the battery replaced; if I dont break the screen again... Phone size is a big thing for me, and there are only 2 phones that are this size when I search on GSMAreana. This one and a Samsung S10e; which I didnt get as it was >1K AUD. Although, the ASUS Zenfone 9 looks interesting, but again, >1K I just cant justify that money for any benefit over a P4a for my use. I dont play games.

Just be weary of:
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] bayon88:
Yeah I was looking at the zenphone 10 but it's expensive, so I'll keep this until further notice. Thank you for your input
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] fly_hunter:
@DiamondJohn what gapps package did you use??
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
It is not a GApps package as you normally would think. It is compiled from source. I have used the GApps as used by Bliss ROMS. I built a list in the second post (ie following the rules of the board, you would have your answer)

Files · typhoon · BlissLabs / BlissROMs / platform_vendor_gms · GitLab

GitLab.com

gitlab.com

But even that is not the full definition, as what gets built is based on a "Pixel" set-up as defined by Bliss. I pulled a definition for the second post. And from memory, even that does not identify which are stubs to trigger a download from the PlayStore and install as a system app.

EDIT: Actually just noticed I have already given the GApps source in the OP...
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Marcia8246:
Hi! Long press action navbar (open/close menu) is buggy in 9.5/9.6 version... Still buggy in 9.7 update?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
@YulNicolai is interested in how I build crDroid with GApps. I will try and detail it below. To others that have been asking for a non-GApps one, and then flash a generic GApps package, he has had problems with booting after flashing a generic GApps on a different device. So most if not all is directed to @YulNicolai.

Background:

I first started compiling Bliss, which includes GApps, and they switched to a "Pixel" GApps build. My first builds failed as the compiled partition weas larger than that available on a P4A. The pixel variant they added worked.

If I get crDroi8d to build with GApps, from memory, its too big, and its not what they support.

When I compile crDroid, "export WITH_GMS=true", from memory, actually builds without GApps. I haven't investigated further, since my one liner does the job

Changes overview:

Added lines to my local_manifest to download the GApps repository. In BOLD and RED.

Note: Pixel 4A is an official device for Bliss

The above repository includes a very comprehensive GApps. I also had success using RisingTechOS's gapps, which was much lighter, but they have recently changed their GApps implementation. I am sure there are MANY more on github (maybe LOS?), but ounce I got it working, i was happy

Add an include as the second last line of the file vendor/lineage/config/partner_gms.mk. I could of been more aggressive.

When I build (After a repo sync of course) I have added the following steps including ones specific for GApps. I have a lot more, but I think the following is the minimum and therefore less confusing. I use variables, as I build multiple ROMs and have done multiple devices in the past. I thought there was a specific line for Bliss "Pixel" device GApps, but I obviously only use that for Bliss. Maybe I checked and found the above line in bliss. IDK.

There are a number of other changes I do that are specific to this device, as well as the IO_SCHEDULERS. Hit me up, and I'll tell you what I do for those as well.

As you can see, its not complex or convoluted, but it may be sunfish specific. Also, if You see anything I am doing wrong, please let me know.

Let me know if it helps, compiles and even more importantly, boots!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Sefyron:
Hello, thank you for this awesome ROM. Working great so far. I want to point out to something and it is not that big but in crdroid settings, the option haptic feedback while changing the brightness slider is not working when activated. No haptic feedback when changing the brightness slider
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
crDroid must of noticed it too, as there is a recent commit. So it looks to be a ROM issue, and it will hopefully be fixed in the next build.

fixup! Add toggle to enable brightness slider haptic feedback

I saw it working in the last build, and also noticed it wasnt anymore in the latest.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
someone asked on the RisingOIS thread why I prefer crDroid. This post is an example of one of the points, regarding the frequency of updates.

https://xdaforums.com/t/rom-unoffic...w-very-customisable-rom.4592521/post-88778777
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Hecker007:
I was wondering why there's not vanilla build for our device??
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
This has been covered above. ie Read the thread.

In short, I was originally under the belief we could not sideload GApps on top of a flashed ROM without GApps (Due to our read-only system partitions). So, I built it with GApps included, as was done on my first ROM build of Bliss & RisingOS.

And to be honest, I am still a little wary of this method of adding GApps, as many people on crDroid Telegram complain how the ROM fails after adding GApps, and it appears only one GApps package works, but not for all. The compile-in method gave me a working ROM with GApps, so I moved on. The other thing that makes me question this method, is no one is using it to mod ROMs with features such as changing the Boot-animation (just 1 example). Which should be a no-brainer if overlaying adb-sideload of Zips works as extensively as people seem to think; but many still struggle and fail with Magisk.

I tried a Magisk installation of GApps, and it failed horribly.

Or even shorter, this ROM is built EXPLICITLY to satisfy my wants & needs, not for anyone else, and it was MY time figuring out a working build. I also don't wish to burn out my phone memory by flashing anymore than I have already, testing, when I have a working and more than satisfactory ROM. I already have one previous phone with failed EMMC. I have given enough details & offered help for anyone to build otherwise for themselves. No-one has stepped up, so, no-one could complain. Heck, people dont even read the thread, which would be much less onerous than what I went through to get a working build. Gift horse and all that.

I also linked in the second post someone else's build, that IS probably without GApps. But again, that would take someone to read the thread...
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
ooooOOOOoooo This looks promising. crdroid: Readd QS Header Image [2/2]

now for brightness slider styles. 🙏🙏🙏