LP Xposed module disables PermissionController's component

Hello ,


I'd like to submit a bug report that I am certain is related with Lucky Patcher after 10+ times of Nandroid restore.


Environment:

Android 10, LineageOS 17.1 build 20200702, running on Xiaomi MI 6 (sagit). arm64, not A/B device, single user.

LP 8.8.2, Magisk 20.4, EdXposed v0.4.6.2.4529.


Steps to reproduce:

Install Lucky Patcher installer.

Install Lucky Patcher from the installer.

Enable Lucky Patcher Xposed module.

Reboot, enable all 4 options for Xposed module in LP. Check "Enable Xposed module".

The issue will not happen when the first three options are checked.

So maybe the fourth option alone may be the cause, that is "crack in app purchase and license verification".

After about 5 minutes, the Runtime permission usage tracking of the permission controller, a new feature on Android 10, no longer works. There is no warning of any kind, like ANR or force close, by default. When it runs normally, some icons will show on the top right corner when the notification bar is pulled down. This screenshot shows when a sensitive permission, such as camera, microphone or positioning, is used.

Screenshot_20200704-210545_Nova_Launcher.png

Besides, there are logs for permission requests in System Settings - Privacy

Screenshot_20200703-144610_设置.png

But when it's broken, both won't show.

Issue: The biggest challenge is I failed to find any way to fix it except restoring /data only in recovery (if there is no modification done to /system and other partitions), which means so far as I can see, once permission controller is broken, it won't work well again. I tried disabling Xposed framework, Magisk and safe mode or clearing permission controller's data after the permission controller's runtime permission usage tracking stopped working, but none was effective.


Useful stuff: logcat of multiple reproduction is attached. Note it happened only 1-2 minutes before logcat ended, I captured it this evening, so time should be 21:00 - 22:00. 


Sharing is caring, show love and share the thread with your friends.


loading...