Skip to content

Audio/call firing fix for realme 7 pro #251

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

Open
wants to merge 1 commit into
base: android-11.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions rw-system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,14 @@ if getprop ro.build.overlay.deviceid |grep -qE '^RMX';then
fi
fi

# audio/call only firing fix For realme 7 pro
if getprop ro.vendor.build.fingerprint | grep -iq -e realme/RMX2170;then
setprop ro.qc.sdk.audio.fluencetype none
setprop persist.audio.fluence.voicecall true
setprop persist.audio.fluence.voicerec false
setprop persist.audio.fluence.speaker true
fi

if [ "$vndk" -le 28 ] && getprop ro.hardware |grep -q -e mt6761 -e mt6763 -e mt6765 -e mt6785 -e mt8768 -e mt6779 -e mt6771 -e mt8766;then
setprop debug.stagefright.ccodec 0
fi
Expand Down