yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] niubboxp:
Hi, i'm planning to buy this phone, but i'm not expert so i need some help for installation

After i purcharse the phone these instruction are enough? Or do i need to unlock the bootloader or do something else before? If i have to could someone ELI5 the steps?

Where do i download the boot.img?

Thank You in advance

Update your Pixel 4a to official Android 11

Download the latest boot.img and rom zip

Boot to bootloader

fastboot flash boot boot.img

Boot to recovery

Format data

Flash LineageOS zip

Reboot
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mangokm40:
The install instructions are here: https://wiki.lineageos.org/devices/sunfish/install

That includes unlocking the bootloader.

My Pixel 4a came with Android 11, but I still updated to latest firmware before installing

LOS 18.1. The official firmware files can be found here: https://developers.google.com/android/images

If you have specific questions about each step of installation, I'm sure someone here will help.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] sk8223:
Is it possible to just remove your current GApps package and flash this one, or do we have to reformat everything and install from scratch?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mangokm40:
You didn't say anything about your phone's current OS, etc.

As far as I know, you can't remove GApps. The decision to have it (or not) must be made before first boot.

Anyway, if you're not on LOS 18.1 now, you'll have to format during install.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] tralivalio:
Hello, I have an issue where after 24th June update my mobile data stopped working. I can make calls and text, but browser shows: net::ERR_INTERNET_DISCONNECTED.

I've done full erase reset. It works after first fresh start about 10min, then it stops. Logcat attached should show stopped working last minute, as I was just sitting and waiting to catch the moment it's stopps.

P.S. Sorry, I'm not IT or developer and very new to lineage os and android, so my help finding issue could be very limited

P.S.S. cannot attach file?

EDIT: https://hastebin.com/acelotemab.apache
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
To link off logcats (ie text) you can also use services such as https://hastebin.com/
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Edmontonchef:
I think you have to format, but when you flash a different package the installer usually removes existing gapps. I'm so used to wiping data I don't care anymore.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] tralivalio:
Thank you very much!

Hastebin: Send and Save Text or Code Snippets for Free | Toptal®

Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.

hastebin.com
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Brutal_Master:
Is there any other package we can use to install google apps besides MindTheGapps that DOES work with 18.1?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mangokm40:
The 'fix' for the GApps problem appears to have been ready for yesterday's update. You can see it here: https://download.lineageos.org/sunfish/changes/

The details of the 'fix' are here: https://review.lineageos.org/313028

However, updates didn't build yesterday. I checked sunfish and h918 downloads and both appear to have failed. It'll have to wait for next Thursday.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Brutal_Master:
Thanks for the update!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] miko12312:
can you please help with installing gapps do we have to modify the update script or?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] tralivalio:
I installed new update today, but still mobile data does not work.

Can somebody help me please? Or at least help me to officially report bug?

Thank you in advance
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] dvdram:
A friend of mine (from Germany) reported some trouble with his Pixel 4a running LOS 18.1 while he was on holiday in the Netherlands. His SIM / his contract is by Deutsche Telekom (D1) and his contract includes a flat rate and international roaming. So there shouldn't be any trouble...

After he entered Netherlands, he tried to phone home, but couldn't get a connection. Strangely though, he was able to use the internet and make a call via Signal. After he rebooted his phone, he was able to make normal calls as well. But the next day he had to reboot it again to make normal phone calls. (= no internet calls)

Is this a known problem? Did any one experience something similar?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Theodor0504:
Hello, I randomly got a warning that se-linux are disabled. Should it be disabled or no? How do I turn it on?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] wireroot:
Just to make sure that the SELinux policy is permissive, can run the following ADB command?

adb shell getenforce

According to the official documentation setting the policy to enforcing should work by executing the following ADB command:

adb shell setenforce 1

I temporarily set it to permissive once in the past and reset it back to enforcing afterwards. In my case it worked, but I'm not responsible if it breaks anything in your case.

Do you know the reason why the policy is permissive in the first place?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Theodor0504:
No, not really I guess it was the magisk module i flashed
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Theodor0504:
I will try that one, but how do I set it to enforcing afterwards?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Spaceminer:
0 = permissive

1 = enforcing

adb shell

setenforce 1
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] niubboxp:
Does OTA work?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mangokm40:
4a LineageOS 18.1 Update 2021-07-15 - Security Bump

Using the built-in Updater, I OTA-updated Pixel 4a (Google Ed) LineageOS 18.1 sunfish build 2021-06-17 + lineage-18.1-20210617-recovery-sunfish to build 2021-07-15. I have no GApps and Magisk is not installed. Everything went smoothly.

There are a bunch of changes as you can see here: https://download.lineageos.org/sunfish/changes/

After the reboot, I went to Settings->About phone->"Android version". The "Android security update" shows "July 5, 2021".

The Vendor security patch level just below it is now "July 5, 2021".

The Build number at the bottom changed from "RQ2A.210605.005" to "RQ2A.210705.001".

See Android Security Bulletin - July 2021 for details about the security fixes.

I rebooted to recovery to verify that it was also updated. It now shows version "2021-07-15" and slot 'b'.

Thank you to the Lineage Team, @PeterCxy & @cdesai for their work.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] dvdram:
I installed LOS to his phone at the end of June, so it had to be nightly 20210624. I already told him how to do an OTA update, and I am waiting for his response. But since then, he has not been abroad again, so I can't tell if updating made any difference.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] FridgeBoxX:
Today I switched from stock to LOS 18.1 and currently running into the issue, that my hard sim-card is not being properly detected.

During the setup phase, the phone asks to put a sim into the slot, which is already inserted. Within the system information I also see no sim-card, IMEI for both (hard and e-sim) is available.

Surprisingly, I can see and open the so called "sim tool kit" within the app drawer. When I open the app, I can also see the application on the sim card, so the sim-card is available. However LOS doesn't detected it properly either asks for CHV/PIN.

I'm happy to share a logcat in private, it's quiet huge and may contains secure string from the secure element.

--

Update: After going back to stock, to LOS several times, playing around, I left the device running with LOS for some minutes. When I unlocked again, I got finally asked for my PIN. Also after a restart of the device the sim card is now immediately detected.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] s3khmet:
Hi everyone,

I've switched to LoS a few weeks ago and, for the last few days, I have a problem with the usb port that doesn't work (no data nor charge) unless I reboot the phone once plugged (and if I unplug it, it won't work unless I reboot it again)

Since the problem appeared, I've tried to update LoS but it didn't solve the problem.

If you need some logs or something to help me, ask away ;)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Edmontonchef:
Looks like there were touch issues with many devices on yesterday's update, I didn't notice any problems but it appears the 07/29 build was pulled.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] FridgeBoxX:
It's a known issue. For this reason, the faulty images were already pulled from the site.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Makishima:
For anyone like me, wondering how to update to the latest LOS with Gapps and Magisk installed, I sideloaded it via adb in the recovery, rebooted to recovery, sideloaded Gapps and then rebooted to recovery again and sideloaded the latest Magisk Canary apk, which I renamed to canary.zip. It booted and everything was working, no need to do anything else. Now I am unsure whether this can happen through the OTA updater, I suppose if you can boot to recovery right after the installation (holding vol down as it reboots automatically?) then the rest should be the same, haven't tried it.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Makishima:
Ah that sounds good. I think I also saw the weird TWRP you mentioned and decided not to mess with it. Where is this TWRP that you have attached from?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] TheSayaMan:
Sorry it was removed by admin. They didn't want those files attached. Picky b*st*rds. Don't see the big deal.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Makishima:
Why was it removed? Was it this recovery, or is this the one that requires a specific kernel you mentioned?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] TheSayaMan:
That's not the one. It was removed because they said it wasn't my work and not allowed. I will link to my Google drive later.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Makishima:
I see. Well, do link the source if possible, or a way to find it.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] TheSayaMan:
Here you go. Also change the magisk.apk to magisk.zip and you can root through recovery.

https://xdaforums.com/attachments/candy_sunfish_twrp_boot-img.5373021/
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] ravenchaser210:
is there any backup solution at the moment? Since twrp backup is not supported yet...
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mangokm40:
You can use fastboot to run this TWRP:

https://xdaforums.com/t/twrp-3-5-2-11-for-sunfish-testing.4179101/

No need for custom kernel, if you run it from fastboot.

Of course, when you test backup/restore, you must be ready to reinstall LOS. :cool:
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mangokm40:
4a LineageOS 18.1 Update 2021-08-12 - Security Bump

Using the built-in Updater, I OTA-updated Pixel 4a (Google Ed) LineageOS 18.1 sunfish build 2021-07-15 + lineage-18.1-20210715-recovery-sunfish to build 2021-08-12. I have no GApps, no custom-kernel, and Magisk is not installed. Everything went smoothly.

There are a bunch of changes as you can see here: https://download.lineageos.org/sunfish/changes/

After the reboot, I went to Settings->About phone->"Android version". The "Android security update" shows "August 5, 2021".

The Vendor security patch level just below it is now "August 5, 2021".

The Build number at the bottom changed from "RQ3A.210705.001" to "RQ3A.210805.001.A1".

See Android Security Bulletin - August 2021 for details about the security fixes.

I rebooted to recovery to verify that it was also updated. It now shows version "20210812" and slot 'a'.

Thank you to the Lineage Team, PeterCxy & cdesai for their work.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] baschi7:
Hi,

i tried several times to install, but i can t get to the LOS recovery...

I flashed the boot image to both slots ,but it always revert to the bootloader

Im on Android 11 Stock rom clean install....

Thx for your help.......
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Raj Pandiyan:
Bro just use the same exact steps given in official site... Should be sorted...
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] baschi7:
Hi Bro :-) that s what i exactly did....

1. flash Android 11 August 8USB debugging on )

2. Reboot to bootloader

3.flash the LOS boot image to both slots ....also to only one....

4.tried to reboot to recovery..... but it returns only to bootloader.....

GHreetz
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] beanaman:
Did you try fastboot reboot fastboot command to enter fastbootd then reboot to recovery... Idk sometimes that has helped me get out of a jam.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] baschi7:
Thx....will try this Out......
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] PaulchenPlump:
Hello,

you also have audio problems with this LineageOS-ROM? We have a sizzle after short duration of the call (it sounds like Parseltongue from Harry Potter). We also had that under the Unofficial LineageOS 18.1 for S7 and that's why we chose this model. :cry: It doesn't always occur either - mostly on calls between 2x Pixel 4A on the VodefoneDE network and only after 1-2 minutes.

Do you have any idea what I could do?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] TheSayaMan:
TWRP version works for me. Install to both slots. Fastboot flash --slot all candy_sunfish_twrp_boot.img

reboot to TWRP, factory reset then sideload ROM.

https://xdaforums.com/t/rom-official-11-0-0_r39-candy11-for-google-pixel-4a-sunfish.4247413/page-9
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] rogers11:
Hello, I've updated my LOS - MindTheGapps - Magisk Installation today. The inbuild updater reinstalled MindTheGapps just fine but for Magisk I had to extract paypoad.bin, patch boot.img, flash it, ... Is there no easier way?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] crazelee:
On Pixel 3, I can sideload it at LOS recovery, it can survive after LOS OTA update, but I'm not sure if it work on pixel 4a
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] sk8223:
I was able to update my phone to the August 19 build without issue via OTA. My root status was retained as well (I'm on 22.1). Thanks to PeterCxy and cdesai!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] rogers11:
Hello, so when the inbuild updater has finished one has to reboot to LOS recovery and install Magisk with "adb sideload Magisk-v23.zip"? Correct? This would be much easier.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] crazelee:
No, I mean you only need to sideload it once, it can survive after OTA update, you don't need to sideload it every update.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] rogers11:
Ok, I will do and check at the next OTA. Thanks a lot.

Edit: sideloaded and finaly have an addon.d script (y)(y)(y)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] rogers11:
Hello, todays update went through, including GApps and Magisk. But my own addon.d script did nor survive. It was not copied to the new installation. What can I do now?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Raj Pandiyan:
Can't watch videos in Voot application. Any leads what is the issue? TIA...
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] rogers11:
After running LOS - MindTheGapps - Magisk for three weeks now I have to say that the whole thing is running extremely well. I'm not missing anything from stock ROM. Many thanks and congratulations to those who are responsible.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Raj Pandiyan:
Video delivering apps (OTT) working bro??
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] rogers11:
Youtube and NewPipe yes, did not try anything else.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] badaas:
Gpay and stock camera working?

Thanks!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] vint2007:
Yes.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] BrokenBee:
I

Is the google play store certified for you?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] vint2007:
Yes, certified (21/09/06)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] rogers11:
Yes (safetynet-fix-v1.2.0-MOD)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] ku4eto:
Installed the Lineage OS with Magisk.

Things that i noticed:

the LED light is not working AT ALL. Setting it to ALWAYS ON does nothing.

Does anyone else experience this?

Another thing is, the default AOTS keyboard is horrible.

And as much as other people have complained: the dropdown menu in lock screen, not requiring password for important things is bad idea.

Still failing the CTS check, but thats up to Magisk to resolve. Google Play works, and i can install apps without issues (and use bank apps, but those ones are just showing a warning, isntead of blocking access).
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] DiamondJohn:
If you have a Pixel 4A, you have suffered the exact same problem I have the stock ROM. The Pixel 4A does NOT have an LED/notification light!! I complained about it (ie how it was not working) in another thread, and it (the obvious) was pointed out to me.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] ku4eto:
Haha LOL. Okay, totally did not expect this one.

Come on Google, its 2021, y u not put a LED on such phone.

Hopefully, their Energy Ring application will support in the distant future notifications, and not only show battery level.

Other than the other things mentioned, the Lineage OS works flawlessly.

Perhaps if it detects rooted phone, allow the default "Gallery" app to the uninstalled? Its made as a system app, and its... well... bad. Or implement "Rotate" function in it.

Edit: Holey light app did the trick. Shame on Google for failing to think of something like that.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mangokm40:
4a LineageOS 18.1 Update 2021-09-16 - Security Bump

Using the built-in Updater, I OTA-updated Pixel 4a (Google Ed) LineageOS 18.1 sunfish build 2021-08-12 + lineage-18.1-20210812-recovery-sunfish to build 2021-09-16. I have no GApps, no custom-kernel, and Magisk is not installed. Everything went smoothly.

There are a bunch of changes as you can see here: https://download.lineageos.org/sunfish/changes/

After the reboot, I went to Settings->About phone->"Android version". The "Android security update" shows "September 5, 2021".

The Vendor security patch level just below it is now "September 5, 2021".

The Build number at the bottom changed from "RQ3A.210805.001.A1" to "RQ3A.210905.001".

See Android Security Bulletin - September 2021 for details about the security fixes.

I rebooted to recovery to verify that it was also updated. It now shows version "20210916" and active slot 'b'.

Thank you to the Lineage Team, PeterCxy & cdesai for their work.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] badtlc:
It seems the LineageOS website only posts nightly builds. is there not a stable channel with only monthly updates?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] BrokenBee:
Is play store certified?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] ku4eto:
it was for me, before rooting (although, after fixing the CTS issue, its again working). But i am with the previous version, from a week ago.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] johnwaynegacy:
Does this kernel support TTL spoofing?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Joojoo1993:
Hi!

How did you do, that magisk survived OTA?

Can you explain step by step?

Thank you!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] rogers11:
Just reboot to LOS recovery and install Magisk with "adb sideload Magisk-v23.zip". This should give you the necessary addon.d script.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Joojoo1993:
Sorry, I never worked with addon.d script so far.

What to do with this script then? What's if there is a new magisk version?

Do you have any link so that I can read some background?

Thanks!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] rogers11:
You don't have to work with any script. Installing like described will place 99-magisk.sh in /system/addon.d. The script will survive updates and reinstall Magisk each time you update
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] BrokenBee:
Passing safetynet with latest fix but can't get netflix to work. Has anyone been able to get netflix to work?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Joojoo1993:
With liboemcrypto disabler Magisk module it is working fine for me.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] knzor:
I have built by myself latest (2021.09.20) version of lineageos 18.1 and customized the kernel to include wireguard kernel module. I also have installed magisk app, patched boot.img and flashed it fastboot flash boot patched_boot.img. I don't have/use google apps. As @mangokm40 I have no problems whatsoever.

I have two questions:

Updating according the official documentation (From your PC via the push_update script (Linux/macOS only) is very slow, can I update using adb sideload?

What about magisk? Do I need to flash again a patched boot img? If so, could you kindly explain clearly the steps necessary?

Thanks for your help!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] vint2007:
Just use the LineageOS Updater app and Magisk will be saved.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mangokm40:
The OTA update is slow. Since the phone continues to work while it's happening, I haven't worried about it. It updates the OS & recovery for me.

Magisk 23.0 survived OTA update, when I had it installed. I don't know if your kernel customization would create any problem for that.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Codrea:
hi I am in android official stock ROM without root now. do I need to unlock bootloader and root it first before doing the instruction in page 1. also do you have youtube video? thank you

sorry for noob question. used to flash like crazy in nexus 4 now I haven't flash anything in 5 years so I forgot a lot
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] wireroot:
Rooting is not necessary, but unlocking the bootloader is.

I would suggest that you follow the official installation instructions of the LineageOS wiki.

Be aware of the following information from the wiki: "Unlocking the bootloader will erase all data on your device!"
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Codrea:
thanks man. so what back up do you reccomend for my data? use google drive back up for application. for picture back up in computer?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] wireroot:
I don't know of any non-root backup solutions.

Once you are running an AOSP-based ROM like LineageOS, CalyxOS or GrapheneOS there is SeedVault which needs to be built into the OS (not a standalone app). And since you are coming from stock ROM this is not relevant for you at the moment.

Yes, that's what I would do.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Codrea:
hi already installed this and gapps. what to do next :p I am surprised it has not been rooted. you guys root your devices?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] vassosman:
Grab the latest recovery img from the site (https://mirrorbits.lineageos.org/re...23/lineage-18.1-20210923-recovery-sunfish.img), run it through the Magisk APK you got from the official github (https://github.com/topjohnwu/Magisk/releases/tag/v23.0), and then flash the "magisk_patched-23000_XXXXX.img" that you pulled from your phone using fastboot and then youre rooted.