Skip to content
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

App Crash #439

Open
chengnan049 opened this issue Oct 5, 2023 · 6 comments
Open

App Crash #439

chengnan049 opened this issue Oct 5, 2023 · 6 comments
Assignees
Labels
bug/limitation elsewhere Bug/limitation in the ROM or another project

Comments

@chengnan049
Copy link

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)
@chenxiaolong chenxiaolong self-assigned this Oct 5, 2023
@chenxiaolong chenxiaolong added the bug/limitation elsewhere Bug/limitation in the ROM or another project label Oct 5, 2023
@chenxiaolong
Copy link
Owner

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.

@chengnan049
Copy link
Author

chengnan049 commented Oct 6, 2023

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.

@chenxiaolong
Copy link
Owner

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.

@limon
Copy link

limon commented Oct 17, 2023

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

@chengnan049
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/limitation elsewhere Bug/limitation in the ROM or another project
Projects
None yet
Development

No branches or pull requests

3 participants