• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][OFFICIAL][11.0.0_r48]Candy11 for Google Pixel 4a [sunfish]

Search This thread


Recognized Developer
Jan 12, 2012
OnePlus 6T
OnePlus 7T


New member
Nov 7, 2021
but after starting to build it stuck on following error

HOSTCC scripts/basic/fixdep
/media/linuxpc/f5f752e5-1d0b-46a4-995a-bc4df7c91ba0/aosp/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/../sysroot/usr/lib/crt1.o(.text+0x12): error: undefined reference to '__libc_csu_fini'
/media/linuxpc/f5f752e5-1d0b-46a4-995a-bc4df7c91ba0/aosp/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/../sysroot/usr/lib/crt1.o(.text+0x19): error: undefined reference to '__libc_csu_init'
I am not trying to build for the Pixel, I am trying to build for the Motorola Edge (river) and get a very similar error.

This is a linker problem and is on a machine running glibc 2.34.

I switched to building on a machine running glibc 2.33 and it did not run into this problem.

Technically, programs should not reference the internal glibc functions __libc_csu_init and __libc_csu_fini. Glibc allowed this in 2.33 and before, but became stricter in 2.34 about it. So now attempts to link to those functions fail when using glibc 2.34, causing the build to fail.
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 13

    This is Candy 11 for the Google Pixel 4a device. Built straight from source with commits from a variety of different sources/ROMS. We wanted to give the users a fast, fun, fully customisable ROM, with regular updates and security patches.

    We do this as a hobby, and we happily share with with the custom ROM community, for free. We use what we share on our own devices, most as Daily Drivers, so you can be confident that problems will be promptly addressed.

    Thanks for your support and camaraderie. Special thanks to GZOSP (RIP Martin), LineageOS, OmniROM, AOSiP, DU and the innumerable rest who make their source open. We can't do all of this on our own!

    Stay tuned for more Candy!


    Interested in becoming a device maintainer? Read about the requirements here.


    ROM: CandyRoms Github
    Device specific sources: CandyDevices Github
    Gerrit Review https://gerrit.candyroms.org


    CandyShop features (always a WIP):
    • SYSTEM
      • Aggressive battery options
      • Screen off power button torch (double press and long press)
      • Show app icons in toasts
      • Show media art
      • Charging stats
      • Network Traffic indicator options
      • Clock and date:
        • Alignment
        • Display seconds
        • AM/PM & Date display and format
      • Notification headers visibility toggle
      • Quick pulldown options
      • QS show titles toggle
      • Custom number of rows/columns
      • Quick add tiles (one click)
      • Three finger screen shot gesture
      • Changelog

    More to come, we are never done...




    CandyRoms is not responsible for any damage or problems with your device. Please follow the thread rules and steps and everything will be gravy. Remember, backing up before flashing is always recommended.

    * See Post #2 for Downloads

    * See
    Post #3 for FAQ/Known issues

    Make sure you are on the latest stable firmware available here

    1. If you're coming from another ROM:

    • Boot into stock bootloader. (Ensure you have the latest compatible bootloader and kernel on both slots)
    • Wipe data with
      fastboot -w
    • Reboot to recovery
    • Adb sideload the ROM zip (links are in 2nd post). GAPPS ARE INCLUDED.
    • Reboot

    2. If you're updating the ROM, there are a few ways to do this. Using the included Candy Updater, using TWRP recovery, or through ADB sideload (not detailed here).

    • Go to Settings > System > Candy Updater
    • Select from OTA or local update file.
    • Flash ROM
    • IMPORTANT: If you want root, and have it already, use Magisk to patch the inactive slot before rebooting.
    • Reboot
    • Enjoy

    • Reboot to recovery
    • ADB Sideload the ROM zip file
    • Reboot
    • Enjoy

    • If you have issues with Settings or Play Services force-closes you need to clean flash.
    • Please give first boot several minutes.
    • New additions and fixes being added constantly
    • If you have any other issue, please let us know in proper bug reporting fashion as indicated below.


    • Do NOT Report bugs if you're running a custom kernel or you installed other third-party mods.
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved (and you won't be trolled or ignored XD ). Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

    What is your--
    ROM version and build date
    Gapps version (if applicable)
    Did you--
    restore a backup:
    reboot after having the issue:
    Are you using--
    a non-stock kernel:
    a battery manager app:
    other modifications:
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed.
    Also please let us know how to reproduce the particular issue.

    Please, DO NOT complain about problems and offer nothing to help fix it. We reserve the right to ignore you for not following instructions.


    CandyRoms.org | CandyRoms on Telegram | Telegram Release Channel | SourceForge Project | Download server

    Other Credits:
    @martinusbe (RIP, good buddy)
    @ezio84 for helping always

    New build is up... now you can root without a PC (after the first installation)! ;)

    🍬🍭🍬 CANDY 11 OTA for Pixel4a (sunfish) 🍬🍭🍬

    Build Date: 27July2021
    GApps: Included in ROM

    - Includes prebuilt TWRP recovery. Decrypts and flashes zip files and images, but backup/restore is not functional.
    - Removed FOD options in CandyShop (no FOD here🙃 )

    Download | Full Changelog

    Edit; The attached boot image includes TWRP.

    What's not working:
    • You tell us... ;)

    Here is a TEST build to see if the calling issue is fixed. Big thanks to @Raj Pandiyan for DMing me a full log!

    Fixed left clock jank and has a few new goodies since the last release, like LED flash on call, battery temperature and charging time fixes, and more...

    I'm asking for someone to test that:
    1. Incoming calls work
    2. Disconnecting the call doesn't hang
    3. Call waiting works
    4. There are no other issues present.
    If you have issues, please capture a full logcat and share either here, or you can DM to me.

    I have attached stock and rooted boot images for anyone interested. 😉

    🍬🍭🍬 CANDY 11 OTA for sunfish 🍬🍭🍬

    Build Date: 05June2021
    GApps: Included in ROM

    - Calling issues fixed
    - Sepolicy fixes for flipendo, turbo and firmware
    - Battery temperature display on keyguard and in battery settings. Tapping the temperature preference in battery settings toggles units (C/F)
    - App switch and scrolling speed improvements
    - Fixed biometric auth for AppLock
    - Added Visible wireless APNs
    - Flashlight blink on incoming calls feature
    - Statusbar clock options update


    Download | Full Changelog