Skip to content

Instantly share code, notes, and snippets.

View SebaUbuntu's full-sized avatar
🇮🇹

Sebastiano Barezzi SebaUbuntu

🇮🇹
View GitHub Profile
@SebaUbuntu
SebaUbuntu / android-mainline-status.md
Last active April 1, 2025 21:17
Android HALs and components status

Components

Needed for booting

Name Commonizibility Allow opt-out? Notes
Audio 100% Yes Android default AIDL service should always be built. ALSA audio can be used with either tinyhal or yukawa's HAL, dummy HAL can also be used in case of no audio
Display High Probably yes See below
Health 100% No Default AIDL health HAL uses kernel sysfs, a cuttlefish implementation also exists for battery-less devices, they need to be merged tho (detect no battery and report fake data)
Kernel 0% N/A Each device has its own kernel, completely outside common tree scope
@SebaUbuntu
SebaUbuntu / README.md
Last active February 21, 2025 14:52
QDCM validator for AOSP colors

QDCM validator for AOSP colors

  • Download the script
  • Run python3 qdcm_validator.py <qdcm calibration file> <platform>
@SebaUbuntu
SebaUbuntu / README.md
Last active March 2, 2025 06:09
Generate framework compatibility matrix from fqnames

Generate framework compatibility matrix from fqnames

  • Download these 2 files
  • Compile AOSP without fcm from stock and wait for check_vintf to error out
  • Delete Python prefix from all lines (e.g. checkvintf E 06-24 00:30:22 49120 49120 check_vintf.cpp:554])
  • Paste the result in fqnames.txt
  • Launch the script