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

1.69 bug #582

Closed
TonyK922 opened this issue Aug 9, 2024 · 12 comments · Fixed by #600
Closed

1.69 bug #582

TonyK922 opened this issue Aug 9, 2024 · 12 comments · Fixed by #600
Assignees

Comments

@TonyK922
Copy link

TonyK922 commented Aug 9, 2024

一加12 氧os 14.0.0.830 已root

1.69版本打开bcr app启用通话录音按钮,更改保存目录,更改保存格式,打开禁用电池优化,打开写入metadata

然后关掉app 重新打开 除了打开禁用电池优化的选项外,其他更改全部重置,导致无法正常录音使用。

退回1.65 正常。

谢谢作者!

@chenxiaolong chenxiaolong self-assigned this Aug 9, 2024
@chenxiaolong
Copy link
Owner

Can you please try this?

  1. Change some BCR settings again (like you did before)
  2. Using a root file manager, grab the .xml files inside these folders and upload them here:
    • /data/data/com.chiller3.bcr/shared_prefs/
    • /data/user_de/0/com.chiller3.bcr/shared_prefs/

@TonyK922
Copy link
Author

The .xml file only exists in /data/data/com.chiller3.bcr/shared_prefs/.
here:
Screenshot_2024-08-10-15-35-10-70_9e8df3d0c7c1f50248b6ee043a653d26

Screenshot_2024-08-10-15-33-35-66_9e8df3d0c7c1f50248b6ee043a653d26

/data/user_de/0/com.chiller3.bcr/shared_prefs/ no such path.
Screenshot_2024-08-10-15-35-14-26_9e8df3d0c7c1f50248b6ee043a653d26

@chenxiaolong
Copy link
Owner

Thanks. It looks like OnePlus might have a broken direct boot implementation. That would explain why BCR 1.65 works for you. BCR >=1.68 uses direct boot to record calls before the device is initially unlocked after a reboot.

Can you flash this test build and then take a screenshot of the debug info at the bottom? BCR-1.69.r4.g8013736-release.zip

It should look something like this: Screenshot_20240810-162021

@TonyK922
Copy link
Author

Ahhhh no wonder.

Screenshot_2024-08-11-06-02-30-86_88a63a93497fdafe6b6f2215ec875412

@chenxiaolong
Copy link
Owner

Hmm, everything looks correct there and matches my device. I noticed that in your .xml file, it's missing:

    <boolean name="already_migrated" value="true" />

so maybe something is going wrong with the settings migration.

Please try this:

  1. Flash this test build: BCR-1.69.r6.gdb2bd80-release.zip
  2. Change some BCR settings
  3. Reopen BCR to reproduce the problem
  4. Reopen BCR one more time
  5. Upload /data/user_de/0/com.chiller3.bcr/files/migrate.log and preferences.log here

Also, which other Magisk/KernelSU modules are installed?

@TonyK922
Copy link
Author

TonyK922 commented Aug 11, 2024

I cannot open bcr app after flashing this test build.
Modules I installed:
Screenshot_2024-08-11-14-21-42-42_26ccd656f4ada08d09da6514b90ed2c0
Screenshot_2024-08-11-14-21-39-28_26ccd656f4ada08d09da6514b90ed2c0
Screenshot_2024-08-11-14-21-25-47_26ccd656f4ada08d09da6514b90ed2c0
Screenshot_2024-08-11-14-21-20-73_26ccd656f4ada08d09da6514b90ed2c0

@chenxiaolong
Copy link
Owner

Hmm, if it crashed, are there any .log files in these paths?

  • /data/data/com.chiller3.bcr/files
  • /data/user_de/0/com.chiller3.bcr/files
  • /sdcard/Android/data/com.chiller3.bcr/files

If there are any, please upload the files. The crash is probably related to the weird behavior in 1.69.

@TonyK922
Copy link
Author

The only crash log is in /sdcard/Android/data/com.chiller3.bcr/files
crash.log.txt

@chenxiaolong
Copy link
Owner

chenxiaolong commented Aug 13, 2024

Aha!

08-12 17:18:33.864 19759 19759 E AndroidRuntime: Caused by: java.io.FileNotFoundException: /data/user_de/0/com.chiller3.bcr/files/migrate.log: open failed: EACCES (Permission denied)

Android is not allowing BCR to write to its own /data/user_de folder. That would also explain why the settings are failing to be saved to the correct location.

Please try uninstalling BCR, manually deleting /data/user_de/0/com.chiller3.bcr, and then installing it again. If that doesn't work, I'll try installing all the Magisk modules you have on my device to see if one of them might be causing this.

@TonyK922
Copy link
Author

Well... I presume 1.69 bcr affects the file system.
I cannot save apatch options with 1.69 installed. But everything is ok with 1.65.:)

@chenxiaolong
Copy link
Owner

Hmm, BCR doesn't modify any filesystem permissions or mount any files. I really have no idea how it could affect any other apps.

@TonyK922
Copy link
Author

TonyK922 commented Aug 14, 2024

I have tried to reinstall bcr as you told me. But it still doesnt work.
1.65 version works perfectly and is good enough to me.

Thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants