Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress crashes of com.android.phone on Y700 2023 #135

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

polygraphene
Copy link

The com.android.phone process keeps crashing on Y700 2023 (TB320FC). Because Y700 has no modem, accessing to modem HAL causes crashes.
This patch resolve the issue by declaring as no modem in config.xml.

RIL.java calms down by detecting the config in the folllowing lines.
https://cs.android.com/android/platform/superproject/main/+/main:frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java;drc=4122fdd2da8280debaa61ec2852513da1f0bc9ac;l=1147
https://cs.android.com/android/platform/superproject/main/+/main:frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java;drc=4122fdd2da8280debaa61ec2852513da1f0bc9ac;l=709

This patch suppresses crashes of the telephony of Lenovo Legion Y700 2023.
Since the Y700 does not have a modem, it keeps crashing continuously when
telephony tries to access a modem HAL that does not exist.
@phhusson phhusson merged commit 4c0f852 into TrebleDroid:pie Nov 16, 2024
1 check failed
@phhusson
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants