If, however, I boot into recovery and then reboot into system, I can no longer enable bluetooth. The only way that I have found to "fix" this bluetooth bug is to factory-reset my phone - after I factory-reset the phone, bluetooth works perfectly again.
I have now tested this problem using 7 different recoveries, and the results are:
lineageos recovery 20230411 does NOT have this bug
twrp recovery 3.7.0_12-1 DOES have this bug
twrp recovery 3.7.0_12-0 DOES have this bug
twrp recovery 3.6.2_9-0 does NOT have this bug
twrp recovery 3.6.1_9-0 does NOT have this bug
twrp recovery 3.6.0_9-0 does NOT have this bug
twrp recovery 3.5.2_9-0 does NOT have this bug
Unfortunately, I have no logs. Feel free to close this if you want. (I'm just trying to record my results somewhere in case it helps someone else.)
I'm running a microg-enabled unofficial lineage 18.1 port on my 5T, and the rom works perfectly.
If, however, I boot into recovery and then reboot into system, I can no longer enable bluetooth. The only way that I have found to "fix" this bluetooth bug is to factory-reset my phone - after I factory-reset the phone, bluetooth works perfectly again.
I have now tested this problem using 7 different recoveries, and the results are:
lineageos recovery 20230411 does NOT have this bug twrp recovery 3.7.0_12-1 DOES have this bug twrp recovery 3.7.0_12-0 DOES have this bug twrp recovery 3.6.2_9-0 does NOT have this bug twrp recovery 3.6.1_9-0 does NOT have this bug twrp recovery 3.6.0_9-0 does NOT have this bug twrp recovery 3.5.2_9-0 does NOT have this bug
Unfortunately, I have no logs. Feel free to close this if you want. (I'm just trying to record my results somewhere in case it helps someone else.)
FWIW, twrp recovery 3.7.0_12-{0,1} also breaks bluetooth on the following 2 roms too: https://download.lineage.microg.org/dumpling/lineage-18.1-20220516-microG-dumpling.zip and https://androidfilehost.com/?fid=14655340768118472482