chenxiaolong / BCR

A Basic Call Recorder for rooted Android devices
GNU General Public License v3.0
1.76k stars 113 forks source link

Force close while running in Shamilo whitelist mode #342

Closed xtay573269555 closed 1 year ago

xtay573269555 commented 1 year ago

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 commented 1 year ago

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

xtay573269555 commented 1 year ago

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.