1

When building AOSP (Android Open Source Project) or LineageOS, there is a tool named breakfast. It downloads proprietary blobs and integrates them to the source tree.

I have read this article, does it mean all of the blobs are under /system/vendor/ directory?

Do those binary files also exist in Android filesystem? And where are they?

2

Yes, binary blobs are part of Android filesystem. Android can't boot without them as they are kind of hardware drivers for the device. Most of those are found under /vendor/lib(64), some also under /system, /etc and /bin. Before Android Treble, /vendor wasn't necessarily a partition but a symlink to /system/vendor directory. Starting with Oreo, /vendor is a partition, containing all content related to OEM and SoC vendor. Most of the blobs are executable files or libraries, run as independent services on boot. See this sample proprietary-files list.

In addition to that, the first partition (usually labeled modem) on eMMC contains Radio/RIL related firmware. Another partition dsp contains Qualcomm's Digital Signal Processor related binaries. They aren't built with ROM but are part of Android filesystem tree, mounted at (/vendor)/firmware and (/vendor)/dsp.

Many partition related to bootloaders are in themselves complete binaries, such as aboot, sbl, rpm, tz, cmnlib, devcfg, keymaster, lksecapp on Qualcomm devices. Those aren't mountable filesystem, but directly executed by bootloaders during boot process. All of them are proprietary binary blobs; the closed-source part of Android devices.

For further details, see: ANDROID DEVICE PARTITIONS and FILESYSTEMS

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.