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
- Host: GitHub
- URL: https://github.com/agentfabulous/vendor_mediatek_hardware_telephony-ext
- Owner: AgentFabulous
- Created: 2020-03-27T18:01:33.000Z (about 5 years ago)
- Default Branch: wip
- Last Pushed: 2020-03-28T18:19:45.000Z (about 5 years ago)
- Last Synced: 2025-02-08T12:25:09.251Z (3 months ago)
- Language: Java
- Size: 27.3 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.