-
Notifications
You must be signed in to change notification settings - Fork 113
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
Crash on Lineage OS 21 #539
Comments
Can you double check that the It's crashing because Android is denying BCR access to some system APIs. This config file is required to allow that access. |
same problem, file /system/etc/sysconfig/config-com.chiller3.bcr.xml exists:
BRC: v1.62 after first reboot it's work, after second reboot - crash with 1.61 no problem. |
same issue (No field SAMPLE_RATE_HZ_MIN) here (integrated with rom, not flash zip). |
Please grab a logcat with I don't really have any idea why the issue would be intermittent. Hopefully the logcat will have some indication as to why. |
Yes there is /system/etc/sysconfig/config-com.chiller3.bcr.xml |
not working log: working log: |
Issue: #539 Signed-off-by: Andrew Gunnerson <[email protected]>
Thanks for the logs. It confirms that the issue indeed is Android denying access to the hidden APIs: (from
I really have no idea why LineageOS is sometimes not respecting This is a total crapshoot, but can you give #541 a try? Test build: BCR-1.62.r9.g0b843bc-release.zip It fixes a bug where the sysconfig file is deleted when flashing a LineageOS update without also flashing BCR again. I highly doubt it'll fix this issue though. |
Using zip file as kernelsu module work fine for me. but integrated to rom might not working. |
It works for me only after first boot. After second boot it crashes again. LOS 21, flashed zip in TWRP, phone without root. |
still get same error sometimes after this. |
still got this sometimes after reboot. |
@twu2 It sounds like you're building your own ROM. If so, can you give this build a try? BCR-1.62.r19.gc4346df-release.zip (source code: c4346df) This uses an alternative method of allowing access to system APIs. Maybe it'll avoid this OS bug where the sysconfig file is sometimes ignored. When testing, please don't use any workarounds (like installing the apk as a user app). Also, please delete the sysconfig file because the new method doesn't use it. |
this build work fine for me. |
App does not start at all. It crashes immediately. I have attached log.
crash.log.txt
BRC: v1.62
Lineage OS: 20
Installation type: System (via flashable zip)
The text was updated successfully, but these errors were encountered: