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

Force close while running in Shamilo whitelist mode #342

Closed
xtay573269555 opened this issue May 11, 2023 · 2 comments
Closed

Force close while running in Shamilo whitelist mode #342

xtay573269555 opened this issue May 11, 2023 · 2 comments
Assignees
Labels
bug/limitation elsewhere Bug/limitation in the ROM or another project

Comments

@xtay573269555
Copy link

The BCR is running normal in Shamilo's default mode(blacklist). After i switch Shamilo's running mode to whitelist, the BCR cannot working and force close all the time.

When running in Shamilo whitelist mode, no app except granted in magisk can get the root permission. Is BCR require root permission ? I did not find the root permission request record when the BCR running normally in Shamilo's default mode(blacklist).

Following is my env and logs:

Environment:
Phone: Pixel 4a
OS version: Android 13
Magisk version: 26.1
Shamilo version: v0.7.1
BCR version: 1.42

DevCheck.txt

magisk_log_2023-05-11T17.07.47.log

bcr_remove_hard_restrictions.log

@chenxiaolong
Copy link
Owner

I assume you meant Shamiko? I couldn't find anything related to "Shamilo". Shamiko unfortunately isn't open source and I don't plan on reverse engineering it to find out exactly what it does.

If I had to guess, it's probably unmounting BCR's Magisk module directories. The system must be able to read BCR's APK at /system/priv-app/com.chiller3.bcr/app-release.apk at all times or else it will crash.

Is BCR require root permission ? I did not find the root permission request record when the BCR running normally in Shamilo's default mode(blacklist).

BCR itself does not require root so it never requests it. The only reason Magisk is used is to install /system/etc/permissions/privapp-permissions-com.chiller3.bcr.xml and /system/priv-app/com.chiller3.bcr/app-release.apk

@chenxiaolong chenxiaolong self-assigned this May 11, 2023
@chenxiaolong chenxiaolong added the bug/limitation elsewhere Bug/limitation in the ROM or another project label May 11, 2023
@xtay573269555
Copy link
Author

Yes, it is Shamiko. I made a typo, I should have put an “k” where the “l” is.

Thanks for explaining the relationship between BCR and magisk. Since the reason is nothing to do with BCR, I am closing the issue.

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

2 participants