An open API service indexing awesome lists of open source software.

https://github.com/agentfabulous/vendor_mediatek_hardware_telephony-ext


https://github.com/agentfabulous/vendor_mediatek_hardware_telephony-ext

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

MediaTek Telephony Extensions Re-implementation
---

These are originally placed directly inside `frameworks/opt/telephony` by phhusson. Since Android 10 introduced a new injection framework for vendor telephony extensions, we can put it here to decouple our code with the framework.

This is a partial re-implementation of MTK's `IRadioIndication` and `IRadioResponse` interfaces, just enough to make incoming calls work. IMS (VoLTE) is not supported for now. Huge thanks to phhusson and the whole GSI community for figuring this out.

To use this, you need to clone this repository into `vendor/mediatek/hardware/telephony-ext`, as well as HIDL definitions in [another repository](https://github.com/PeterCxy/vendor_mediatek_hardware_interfaces) to `vendor/mediatek/hardware/interfaces`. After that, you need to include `vendor/mediatek/hardware/telephony-ext/overlay.mk` to your `device.mk` to tell the framework to load this injection library. Alternatively you may do this with your own overlay to exclude things you probably do not need.

Ironically, this library only works with QCOM's (rather simple and more elegant than what they used to do) extension to enable RIL injection (). Make sure you either use LineageOS's latest telephony, or you have merged the aforementioned commit and its dependencies to your source tree.