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

Riru / Riru modules problem - Edxposed slows down the phone #864

Open
guest727 opened this issue May 16, 2021 · 5 comments
Open

Riru / Riru modules problem - Edxposed slows down the phone #864

guest727 opened this issue May 16, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@guest727
Copy link

Hello, Greenify application worked very well on Magisk v22.1, but after updating to v23.0, there are problems, the operating system itself on the phone is slow and in the Greenify application.

MagiskHide off, module turned off, Riru, Riru - Edxposed, phone restart, phone working, fast as it was on v.22.1, probably something is wrong with these modules.

Greetings.

Magisk

@guest727 guest727 added the bug Something isn't working label May 16, 2021
@eMPee584
Copy link

eMPee584 commented May 21, 2021

I think this might be an SELinux rule problem [not an SELinux problem, the log noise is not causing the slow down], .. zygote64 is burning CPU and I get zillions of log lines:

05-21 18:48:31.238  8309  8309 W re-initialized>: type=1400 audit(0.0:21118): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:31.498  8285  8285 W pps.podcastguru: type=1400 audit(0.0:21119): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:32.668  8393  8393 W re-initialized>: type=1400 audit(0.0:21121): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:35.748  8509  8509 W re-initialized>: type=1400 audit(0.0:21125): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:36.308  8539  8539 W re-initialized>: type=1400 audit(0.0:21126): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:40.458  8733  8733 W .android.chrom: type=1400 audit(0.0:21168): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1331 pcomm="main" pgid=1331 pgcomm="main"
05-21 18:48:41.368  8639  8639 W re-initialized>: type=1400 audit(0.0:21172): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:42.298  8708  8708 W re-initialized>: type=1400 audit(0.0:21173): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:44.068  8767  8767 W re-initialized>: type=1400 audit(0.0:21175): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:45.518  8840  8840 W re-initialized>: type=1400 audit(0.0:21176): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:46.698  8927  8927 W re-initialized>: type=1400 audit(0.0:21178): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:49.618  9057  9057 W re-initialized>: type=1400 audit(0.0:21179): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:53.798  9126  9126 W re-initialized>: type=1400 audit(0.0:21192): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:54.558  9180  9180 W re-initialized>: type=1400 audit(0.0:21193): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:54.998  9202  9202 W re-initialized>: type=1400 audit(0.0:21194): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:55.088  9194  9194 W re-initialized>: type=1400 audit(0.0:21195): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:48:59.478  9314  9314 W re-initialized>: type=1400 audit(0.0:21197): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:49:02.238  9473  9473 W re-initialized>: type=1400 audit(0.0:21204): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"
05-21 18:49:02.248  9478  9478 W re-initialized>: type=1400 audit(0.0:21205): avc: denied { open } for path="/data/ru.YlWeRbFE.IdgNBLial/xposed" dev="dm-0" ino=130566 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 ppid=1330 pcomm="main" pgid=1330 pgcomm="main"

and subsequent

05-21 18:06:44.826 28970 28970 W System.err: java.io.FileNotFoundException: /data/ru.YlWeRbFE.IdgNBLial/xposed: open failed: EACCES (Permission denied)
[…]
05-21 18:06:44.863 28970 28970 W zygote64: Skipping duplicate class check due to unrecognized classloader                                                                                      
05-21 18:06:44.899 28970 28970 I zygote64: Starting a blocking GC Alloc

@eMPee584
Copy link

Ok after installing selinux_permissive magisk module, the access-denied warnings vanish. But still, zygote64 is burning CPU (and continuously creating 170MiB/s IO at times).. filtering the logs, it's these two lines that dominate by far (timestamp removed and sorted by count):

    21748 W zygote64: Skipping duplicate class check due to unrecognized classloader
    21339 I zygote64: Starting a blocking GC Alloc
     1876 D QC_RIL_OEM_HOOK: Oem ID in QCRILHOOK UNSOL RESP is QOEMHOOK
     1874 D QC_RIL_OEM_HOOK: Received Broadcast Intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
      716 I System.out: engineVerify
      678 I zygote  : Starting a blocking GC Alloc
      660 D QC-time-services: Daemon: Connection accepted:time_genoff
      657 E QC-time-services: Daemon: Time-services: Waiting to acceptconnection
      601 I System.out: Update settings xposed
      575 W ProxyAndroidLoggerBackend: Too many Flogger logs received before configuration. Dropping old logs.
      573 I EdXposed-Bridge:   Loading class com.ceco.oreo.gravitybox.GravityBox
      572 I EdXposed: ART hooks installed
      571 I EdXposed: Riru hooks installed
      570 I EdXposed: Using api level 26
      570 I EdXposed: Start to install Riru hook

EdXposed seems to be restarted way to often, this is from about 15min uptime..

@guest727
Copy link
Author

@eMPee584
It's a pity that my thread RikkaApps/Riru#228 has been closed.
I have read your statements, what can I do about it?
That he would return to stable work.

@eMPee584
Copy link

Well it needs a way of tracking the problem further down..
Are you on Android 8.1 and can try if the problem occurs with LSPosed as well? I'm stuck on 8.0, which they removed support for..

@guest727
Copy link
Author

guest727 commented Jun 1, 2021

Sorry for the delay with reply, I'm using Android 9, I did LSPosed on my phone, now the phone works fast, doesn't slow down like me, on Magisk v23.0, Riru - EdXposed.

By the way, I was surprised that LSPosed doesn't support Android 8 because I wanted to try it out first.

Thank you for help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants