Magisk icon indicating copy to clipboard operation
Magisk copied to clipboard

25205 stat /data/data/com.android.systemui failed

Open 54271 opened this issue 2 years ago • 13 comments

Device: pixel 6 pro Android version: 13 Magisk version name: canary Magisk version code: 25205

10-12 08:14:29.519 816 818 E : stat /data/data/com.android.systemui failed with 2: No such file or directory

i got this error a few times in magisk log, is it normal?

54271 avatar Oct 12 '22 01:10 54271

I'm seeing this too. Even weirder, /data/data/com.android.systemui exists, so something isn't working quite right.

osm0sis avatar Oct 12 '22 04:10 osm0sis

I can confirm this too

jeanrivera avatar Oct 12 '22 07:10 jeanrivera

Just about to open a new issue too XD. This requires a better handling. Not breaking anything on Android 12 though, maybe Android 8/8.1?

Originalimoc avatar Oct 12 '22 08:10 Originalimoc

It seems that Magisk accesses it too early and /data/data not decrypted yet?

canyie avatar Oct 12 '22 12:10 canyie

How about stat /data/user_de/0/com.android.systemui

HuskyDG avatar Oct 13 '22 00:10 HuskyDG

I can confirm this too

WYC-2020 avatar Oct 14 '22 00:10 WYC-2020

Doesn't look too early in the log, it's at late_start and boot_competed even.

As for user_de, it doesn't exist in all Zygisk-supported Android versions, I think.

But anyway, there must just be something wrong with the stat call somehow?

osm0sis avatar Oct 14 '22 01:10 osm0sis

stat com.android.systemui was just to get uid of systemui to whitelist denylist unmount for process with that uid.

Do you think users will add sysui to denylist?

HuskyDG avatar Oct 14 '22 04:10 HuskyDG

iirc /data/data is only decrypted after user unlock screenlock

HuskyDG avatar Oct 14 '22 04:10 HuskyDG

According to John's comments, just unmounting app_process also breaks system? So it's no need to add SystemUI to denylist, just turning Zygisk on is enough to break the system?

canyie avatar Oct 14 '22 09:10 canyie

He means unmount app_process breaks SystemUI and reproducible on the official AVD running API 26 and 27

HuskyDG avatar Oct 14 '22 10:10 HuskyDG

So it's irrelevant to denylist settings, the check cannot be removed until we actually fixes it

canyie avatar Oct 14 '22 12:10 canyie

Device: pixel 6 pro Android version: 13 Magisk version name: canary Magisk version code: 25205

10-12 08:14:29.519 816 818 E : stat /data/data/com.android.systemui failed with 2: No such file or directory

i got this error a few times in magisk log, is it normal?

Jcbrewster4180 avatar Oct 14 '22 13:10 Jcbrewster4180