Skip to content

Commit

Permalink
Fix bluetooth stack crash on some unisoc
Browse files Browse the repository at this point in the history
  • Loading branch information
phhusson committed May 31, 2023
1 parent a9ead36 commit 95b9ed6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rw-system.sh
Expand Up @@ -1127,3 +1127,9 @@ mount -o bind /mnt/phh/empty_dir /vendor/app/qti-logkit-lite

# Redirect vendor props for QCOM hwcomposer
setprop debug.phh.props.omposer-service vendor

# On those Unisoc chips, Android's bluetooth stack will try to send a LE_EXTENDED_SCAN command, which isn't actually supported
# The support of that command inherits from a "le vendor version". Force this at 0 to disable the use of that command
if getprop ro.vendor.gnsschip |grep -q marlin3lite;then
setprop persist.sys.bt.max_vendor_cap 0
fi

0 comments on commit 95b9ed6

Please sign in to comment.