BCR icon indicating copy to clipboard operation
BCR copied to clipboard

App Crash

Open chengnan049 opened this issue 2 years ago • 7 comments

I don't remember what I did but I can prove this.

I'm using Magisk Alpha 26301 with Shamiko

BCR is the latest version, I have been reinstalling the BCR module but it didn't work.

Generated by AppErrorsTracking Project Url: https://github.com/KitsunePie/AppErrorsTracking

[Device Brand]: Redmi
[Device Model]: 22101317C
[Display]: TKQ1.221013.002 test-keys
[Android Version]: 13
[Android API Level]: 33
[System Locale]: en_US
[Process ID]: 3206
[CPU ABI]: none
[Package Name]: com.chiller3.bcr
[Version Name]: 1.52
[Version Code]: 78848
[Error Type]: JVM
[Crash Time]: 2023-10-05T13:08:37.230
[Stack Trace]:
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Configuration android.content.res.Resources.getConfiguration()' on a null object reference
	at android.app.ConfigurationController.updateLocaleListFromAppContext(ConfigurationController.java:275)
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6990)
	at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2220)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:211)
	at android.os.Looper.loop(Looper.java:300)
	at android.app.ActivityThread.main(ActivityThread.java:8289)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)

chengnan049 avatar Oct 05 '23 05:10 chengnan049

Hmm, updateLocaleListFromAppContext happens before the app runs, when the system is trying to load the languages. I did some searching for that error and it seems like it's relatively common on Xiaomi devices and some OnePlus devices, but I didn't find any explanations for why it might be happening or any potential workarounds.

I don't know how to fix this.

chenxiaolong avatar Oct 05 '23 19:10 chenxiaolong

In addition, my rom is MIUI 14 EEA Global, my phone is Redmi Note 12 5G, the latest version is still crashed. The app is the default icon, the name in the launcher is the app package name.

chengnan049 avatar Oct 06 '23 03:10 chengnan049

The app is the default icon, the name in the launcher is the app package name.

That seems like some system components are not able to read /system/priv-app/com.chiller3.bcr/app-release.apk.

It might be worth trying regular Magisk without Shamiko to see if that works. Unfortunately, both Magisk Alpha and Shamiko seem to not be open source--I don't know if they do something different when handling Magisk modules.

chenxiaolong avatar Oct 06 '23 22:10 chenxiaolong

los20 + kernelsu + shamiko, crash as well. i have to disable shamiko now.

limon avatar Oct 17 '23 04:10 limon

The app is the default icon, the name in the launcher is the app package name.

That seems like some system components are not able to read /system/priv-app/com.chiller3.bcr/app-release.apk.

It might be worth trying regular Magisk without Shamiko to see if that works. Unfortunately, both Magisk Alpha and Shamiko seem to not be open source--I don't know if they do something different when handling Magisk modules.

Alpha has a dedicated Shamiko, which is updated on its author's Telegram channel, and BCR works normally in blacklist mode

chengnan049 avatar Oct 20 '23 11:10 chengnan049

可以使用 爱玩机工具箱 内的 唤醒 Root 权限,来使得 BCR 获得 Root 权限,获得后在 Shamoko 白名单模式下也能正常工作

chengnan049 avatar Oct 20 '23 11:10 chengnan049