yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
Switch manually to the other slot, then flash the latest official factory image over it without rebooting into the official OS, then switch back to the old slot and flash the ROM according to the same steps as before. Or you can also try just sideloading the latest stock OTA image before sideloading the new ROM (without rebooting in between these two steps), and then install the add-ons after rebooting into the recovery again, but I'm not sure if this will work.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] darashikoh:
I followed the instructions as given for the update and its working perfectly.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
It seemed to be that was the case, i followed that and now the phone is factory reset, but its updated.

Thanks for your help
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
ugh, my bad, I should have told you to remove the `-w` flag in the factory image flash script to avoid wiping everything... I completely didn't think about that
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
no problem, its not like its my first time setting up my device, also i came prepared so i backed everything with titanium backup
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] jason972000:
I just tried your 12/29 build and it doesn't work with my CDMA sim. I have US Cellular as my provider and they are only CDMA.

I'll try to debug it when I have a chance but I need my phone for work calls.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] EggZenBeanz:
Nice one @PeterCxy I have Biometric unlock in all applicable apps now with 29 build. Thanks!!

Just for clarity this is what I did to upgrade (I do not use GAPPS)

1. Reboot to recovery - Select Apply Update -> Apply Update from ADB

2. Run `adb sideload lineage-18.1-XXXX-UNOFFICIAL-petercxy-sunfish.zip` and wait for installation to finish

3. Reboot into recovery again (I do not use gapps, but did this anyway. Gapps users can then adb load gapps in recovery again)

4. Reboot to system

5. Reboot to bootloader and fastboot flash boott magisk_patched.img

6. Reboot to system
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
I seem to have some issues to, I can see the 4g logo and I can make calls but I do not have any mobile data

EDIT Weird, i tried everything restarted phone, airplane mode on and off, and the last thing was to remove sim card and insert it which worked

If i restart my phone now it will be without mobile data but if i enable airplane mode and off it will be back to normal, seems like a bug, nvm i restarted my phone some more times and now it seems like its back to normal
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
You can try turning off data in Settings - Network and turning it back on. Sometimes if you didn't enable data during initial setup wizard it could behave like that. APNs could be the issue too, so you can check if the correct APN is selected by default.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
There's no 4G or VoLTE support? Unfortunately I have no way to test CDMA-only SIMs on my device because my Pixel 4a is the Japanese variant (which does not have CDMA support at all). However, there's no region-specific firmware in this sense and all the blobs I extracted were from the global firmware, so I don't think there should be any issue...

EDIT: The only real difference (in terms of mobile data / calling) of this ROM from the official build is that I enabled DSDS (Dual-Sim-Dual-Standby) mode by default for eSIM support without EuiccGoogle. You can try turning that off manually using the following instructions, but I doubt this is the cause of your issue.

To turn DSDS off, run the following commands in `adb shell`:

setprop persist.radio.multisim.config ""

setprop persist.vendor.mdm.multisim.cfg ""
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
One question

I have installed the rom with GAPPS but what if I want to go without GAPPS and just use MicroG

Do I need to do a factory restore and then install the rom again?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] TheSayaMan:
Does Titanium Backup even work properly with Android 11? It hasn't been updated in a long time, and every time I try to restore apps, it will freeze during the restore and I have to end up just installing the app in the play store. I use Swift Backup. Seems more reliable and it's constantly updated.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
I had a lot of issues to, but i followed some guides and that helped me to restore 90 procent of all things, but i can not remember what guides I followed, but you tell me that Swift is better?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] TheSayaMan:
It's my personal preference. Swift will let you back everything up in the cloud to google drive so if you accidentally wipe your device internal storage and forget to back them up on a flash drive or pc, you can still recover them from your google drive account. Works great for me, but maybe others might not like it, depends on individual. I switched just because I couldn't get Titanium to work for me anymore.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] TheSayaMan:
I was able to get this to flash flawlessly. I used Nikgapps for my package which works fine.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
Yes, unfortunately the decision between GAPPS and microG is something you can only do when the data is cleared.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
Good to see here mate (y)

Thanks for the efforts on the official support for the sunfish, appreciated!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] wtfmars:
running nicely over here thank youj
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
Updated to 20210107
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Nut_House:
Just upgraded from the previous version and all seems to be working well. Been running this almost since the day it was released and couldn't be happier. It's just what I was hoping it would be. Thanks for your work on this.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] darashikoh:
Hi! ROM has been fantastic so far. I am on the 29th Dec build and can't figure out how to turn off vibrations for notifications. I have turned off vibrations in settings and also in the individual app settings. Still getting vibrations along with sound. Am I missing something?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Chaplan:
Hi, I was on the 2912 build and after performing the 0701 update device bootlooped.

Power OFF automatically reverted to the previous slot, I then manually swapped slots and flashed the 0701 boot.img on the updated one.

Device now booted as expected but I get only the kernel updated to the 0701 build, ROM is still on 2912.

I have tried countless times to perform the update, flashed both slots, still get the same outcome.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
I can confirm a similar situation having already the January SPL in both slots, had to unpack te zip and fastboot the IMGs for the ROM to boot.

Used latest NikGapps 20201231, which I was running on the previous build also.

Since the device changes to the other slot on failed boot, some people may be running the earlier ROM build without really notice it.

@PeterCxy Also the CTS isn't passing with the usual Magisk setup, I noticed despite the January SPL, the build vendor fingerprint is still the previous from December, don't know it if this is related to the thing and triggering something else.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
hmmm but I upgraded from the previous version too without any issues. I did forget to update the build fingerprint, but that should not be an issue causing bootloops or anything. I have no idea about passing CTS, though.

The January SPL also does not update the firmware at all, so firmware should not be an issue here. Are you sure your Gapps is re-flashed after rebooting to __recovery__ after sideloading the new zip?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
Pixel 4a uses virtual A/B on R, so switching slots does not really switch the system -- that's why you still get the old system image after failing to boot and manually switching system (it fully rolled back).

But, as I said in the previous reply to eng.stk, I upgraded from the last version to the newer version too on my device without any issues. I always do updates on my device instead of clean flash to ensure the ROM works for dirty flash, so I really have no idea why this did not work for you and for eng.stk. Are you sure the add-ons are re-flashed after rebooting to __recovery__ after sideloading the new package?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
Also updating firmware with official factory images while LineageOS is installed might cause some issues as Pixel 4a uses virtual A/B on R. This ROM now ships with latest official firmware updates, so there should be no need to flash the latest firmware SPL manually anymore (I should update the post to reflect this)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
@Chaplan @eng.stk It could also be possible that current GAPPS packages have some trouble with virtual A/B. I am not sure though, because I am not running GAPPS on my own device.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
@Chaplan @eng.stk I've talked with other Pixel device devs and it does seem to be the case: GAPPS and similar system-modifying addons do not work well with Virtual A/B at this moment. If you are willing to, I have a possible workaround that you might try and see if it works (I have some hope it may work, but it may as well completely not work):

1. Install the new update via recovery

2. Reboot to recovery again

3. Select Advanced -> Enter fastboot

4. Execute `fastboot snapshot-update cancel` from a PC

5. Reboot into recovery again (not sure if this is needed, just `Enter recovery` could be enough)

6. Sideload your GAPPS add-on

7. Reboot and see if this works (remember to verify if you are now on the newer build)

I will release an 2021-01-09 update later today in case you are willing to test this workaround but do not want to go back to an older build.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
Yeah it may be, I'll test it out in the new build and let you know how it goes.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] vivaeltopo:
I just tested it and it didnt work with a fresh/clean install (from stock 11). but 0107 + an older gapps worked without the trick above.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Chaplan:
Thanks for looking into it, I have tested both methods (with simply entering recovery after issuing the cancel command and actualy rebooting to recovery) to no avail.

I always get a boot loop after sideloading Gapps and rebooting to system.

I had to power off the device and I get it running with the previous ROM in place after it.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
Sadly same situation, no go.

After flashinng ROM, rebooting to recovery and flashing gapps, system is stuck on boot.

I had to extract the zip and fastboot the imgs, all works fine this way including after flashing addons.

I suspect something is done with installer to the partition that makes things wonky after boot.

On the positive, I managed to get back CTS again :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
@eng.stk @Chaplan @vivaeltopo Then unfortunately I guess GAPPS just won't work with this ROM reliably at this moment when installed via recovery. The only workaround would be to install everything via fastboot and unpacked images.

The maintainers of LOS for Pixel 4 / 4 XL also seem to be facing similar issues on Android 11 due to virtual A/B. We'll try to understand why this happens and try to come up with a proper workaround.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] vivaeltopo:
thanks for your effort @PeterCxy
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
Works for me which gapps are you using and in which order did you install the rom
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
Looks like it's just unreliable on virtual A/B (or maybe some gapps work fine with V-A/B but some do not).
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] sundigen:
I've been using nikgapps for 11 for about 3 days now. I haven't had any issues except for some reasons when I make a call the dialer disappears and the only way to hang the phone up is press the power button. I am about to install BiTgapps and see what happens.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Chaplan:
I'm using NikGapps core, I was only able to successfully update ROM by using the method described by @eng.stk , extract the zip and fastboot the img files, reboot to recovery and flash the addon's I previously was using.

On the previous erroneous updates the order of install was exactly as described in the OP with the needed reboot to recovery after sideloading the ROM. Then installed the addon's and the result was bootloop as stated already. Power OFF resulted on booting the previous LOS install. Also tested the workaround posted by @PeterCxy to no avail.

What Gapps are you using BTW @lapper ?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
Strange Im using the same Gapps and it worked perfectly for me
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Chaplan:
Magic...

And you are sure it did update, both ROM build and kernel, dirty, with Gapps.

With or without the workaround from @PeterCxy ?

I'm asking because I have tested all the scenarios I could think of and the outcome was always bootloop.

Also, from what I saw on page 2 of this thread, you were experiencing the exact same issue I have reported.

What did you actually change for the outcome to be different from what you stated back then?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
I had the first issue because I did not have android 11 on both Slots but I now just basically followed the updating instructions on page 1, magic indeed.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Chaplan:
Indeed basic, yet this ain't rocket science, stuff either works or it doesn't, figuring out what works and what not isn't always a clear path but erroneous reports don't help us either.

Still I do believe it would benefit all if a conclusion about this matter would arise.

Updater isn't working for Gapps users and Gapps brand isn't the issue, seeing it sent to the limbo of unreliability serves me as fine as having the next special user stating he updated it just fine following instructions that don't fit all, at all.

Fastboot it is, double tested it with the same reliable result, updated and booted just fine.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] d33dvb:
Any way we could get a vanilla LOS build purrrrty please?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
A little update, I've had a lot of Sim card/ Mobile data issue with lineageos and I have never seen this issue before in other roms.

What usually happens is that when i restart my phone I will have to go to flight mode and then back to mobile data, then I will have mobile data, but sometimes this is not 100 % accurate so I will have a hard time get mobile data even if I reset APN, Restart phone, etc.

What fixed this issue for me and my wife, (she has a Samsung with lineageos 17)

I manually change APN settings according to my mobile data provider, after that I experience no issue after that.

For MMS and Internet.

Hope this helps someone.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Edmontonchef:
I've read in a few forums that Mindthegapps 11 is in the works. That might solve some update issues.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
I'm pretty sure LineageOS 18.1 will have Pixel 4a official support at some point (now no official release is even made yet). My personal builds would probably always be the one with the microG patches because I need them and I am not going to factory reset every time I rebuild just to test the normal variant (and those patches do not affect anything if you don't install microG).
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
You could consider contributing the correct APN settings for your carrier to LineageOS.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
I personally think it has something to do with the snapshotting & Copy-on-Write process of virtual A/B updates, but I haven't had time to test it yet. If it is indeed caused by the V-A/B switching process, then there could be some edge cases where it works (there is a code path where the snapshotting is averted afaik). Of course the only thing I can say right now is I'm not sure.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] kazikas:
I'm on a 20201229 build with NikGapps. Can I flash patched with Magisk Canary boot-20201229.img safely?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
Worked fine for me
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
I was working with @osm0sis to improve AK3 compatibility with LOS recovery, which in turn led to some discussion on gapps also.

https://github.com/opengapps/opengapps/pull/902
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] kazikas:
Installed dolby atmos module and stuck on boot (google logo). Is there a way to backup some files before flashing rom again? Tried access through ADB in recovery mode, but sdcard and storage directories empty.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] EggZenBeanz:
This command worked for me when I hosed my install with a module

Magisk - Installation and troubleshooting:Magisk and MagiskHide Installation and Troubleshooting guide

didgeridoohan.com
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] kazikas:
No luck. Got to deep into rabbit hole...

Anyway, flashed 20210109 build, and since couldn't boot before flashing, tried it now and system booted, then flashed nikgapps in recovery. No bootloop.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
Sorry about that it did not work, I did not see that there was another new build.

I tried to update to 20210109 now but ended up in a bootloop

I tried this method

1. Install the new update via recovery

2. Reboot to recovery again

3. Select Advanced -> Enter fastboot

4. Execute `fastboot snapshot-update cancel` from a PC

5. Reboot into recovery again (not sure if this is needed, just `Enter recovery` could be enough)

6. Sideload your GAPPS add-on

7. Reboot and see if this works (remember to verify if you are now on the newer build)

But it did not work, I restarted my phone and flashed the old boot.img

and im now back to the old build, so it looks like we cant update.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
Yeah pretty sure updating with GAPPS installed is broken due to the Virtual A/B update process. There does not seem to be a sane workaround as of now and I'm even thinking about just reverting Virtual A/B and go back to "normal" A/B for our device...
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
Whats the diference from virtual a/b to normal?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
Eventually I think gapps will get there.

Meanwhile you can use fastboot updates zip packages instead of OTA zips, Luk uses it in several devices.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] claviger-pc:
Thanks for all the efforts. Do you think you will get into the official 18.1 release?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
@lapper @Chaplan @eng.stk We have made an attempt to fix issues with addon packages (e.g. GAPPS) on Virtual A/B at LineageOS (and by "we", I mean someone else wrote the code). I'll need someone to test the new update uploaded on 20210118 -- please try to install and boot an older version of this ROM with whatever method that worked for you with GAPPS loaded, then try to update to 20210118 with the "normal" method (i.e. flashing new ROM zip in recovery, reboot to recovery again, flash GAPPS, then reboot to system). I expect this to work according to my testing, just need a few more testers to make sure. (BTW, don't use custom recoveries like TWRP, because the code change is in LineageOS recovery and only LineageOS recovery that comes with the ROM contains the fix).
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PeterCxy:
The only real blocker right now is the issue with GAPPS & Virtual A/B. Once this is fixed, I don't expect any issue with getting the device into official 18.1 builds.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
Ill try today

Edit: it Worked, even flashed with lastest NikGapps Core

Edit 2: updated from 20210107 to 20210118

Great job @PeterCxy
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] ipdev:
Just tested the 0118 build.

Started from the 0107 build with OpenGApps (nano) and Magisk (canary).

Booted into recovery and sideloaded the 0118 build.

Booted back into recovery to flash OpenGApps and Magisk.

Booted to system.

The update worked fine for me.

Cheers. :cowboy:

PS.

I use an updated OpenGApps that includes the PR mentioned above.

GitHub - PR #905
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] sinkoo1979:
Updated to latest build from 7th build. Everything running smooth (using nikgapps basic and magisk 21.4). Thank you for the rom
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Corbin Rune:
Successful update from 1/07 build. (Magisk Canary, OpenGapps nano). Everything's running smoothly, thus far. Excellent ROM.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] WaxysDargle:
Anyone have working gcam on this ROM?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] lapper:
Yes i have a mod Gcam app that I downloaded.

Version 8.1

Just google it for your device and you will find it
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] vivaeltopo:
gcam from the playstore works just fine
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] WaxysDargle:
Thanks, man. Got it going.

I just gotta say this ROM is amazing. Runs like butter. Microg is spot on. Loving it. Really appreciate all your hard work on this.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] WaxysDargle:
I do have a bug to report... When my home internet went down earlier my phone continually was disconnecting and reconnecting to the network. Like, every two seconds. It would connect, report no internet and then immediately disconnect. Did this after reboot as well.

Thanks, again!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] :
McDonald's app is best to prove if google stuff works properly 100% well as on a customized phone. Try it dev @PeterCxy and then let me know. Actually with Nikgapps it doesn't work as it should.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] vivaeltopo:
testing the API compatibility with the McDonald's App. thats a new one :ROFLMAO:
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] xd.bx:
Peter, I'd like to thank you for your hard work. I've compiled and flashed the latest version based on your three repositories (no further patches required), and it's working great. I need to investigate a slight battery drain that happens even in airplane mode but that is far from being a showstopper. Again, thank you very much.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] d33dvb:
All is working great, i goofed and that caused an initial issue, but flashing the boot image to both slots fixed the problem. I did not have to use magisk canary, perhaps 11 is mainline now? It seems to work fine, and passes safetynet with magiskhide props (set to pixel 3a fingerprint and device emulation on) and this: https://xdaforums.com/t/magisk-module-universal-safetynet-fix-1-1-0.4217823/
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
safetynet fix for hw atestation is enough, no need for the props and device spoofing.