You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device: Motorola Edge 20 Pro (pstar)
Android version: 12 (LineageOS 19.0)
Magisk version name: 23, 24, Canary
Magisk version code: 24102 (e7c82f2)
The error only occurs when running selinux enforcig (not 100% sure if its my device tree at fault, lineage or a magisk issue).
After flashing magisk in recovery (or using the app to patch the boot.img and flashing that in fastboot) the system is unable to mount /vendor/firmware_mnt (maybe also others, but this is the only one i see in the logs as not found). And this causes the kernel to panic as it cant find required firmware.
Without magisk installed this works fine, as well as when magisk is installed and its set to permissive.
To my understanding magisk should inject its needed sepolicies itself. Found this difference (when booting permissive), which is there with magisk installed, but not when its not installed:
Magisk works on stock A11, compared the policies there with what i have, but didnt find a difference regarding the tcontexts above.
If you need further information let me know.
Have the same issue with gauguin and LOS18.1 (official nightly from 20220314).
If i do "mount | grep firmware" is see with patched boot from magisk 24301:
/dev/block/sde48 on /vendor/firmware_mnt type vfat (ro,context=u:object_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=utf8,shortname=lower,errors=remount-ro)
/dev/block/sde33 on /vendor/bt_firmware type vfat (ro,context=u:object_r:bt_firmware_file:s0,relatime,uid=1002,gid=3002,fmask=0337,dmask=0227,codepage=437,iocharset=utf8,shortname=lower,errors=remount-ro)
and the same when i boot stock boot.img.
But "ls /vendor/firmware_mnt" is empty with magisk and shows image subdir on stock.
SE-Linux enforcing, rules missing or wrong?
Device: Motorola Edge 20 Pro (pstar)
Android version: 12 (LineageOS 19.0)
Magisk version name: 23, 24, Canary
Magisk version code: 24102 (e7c82f2)
The error only occurs when running selinux enforcig (not 100% sure if its my device tree at fault, lineage or a magisk issue).
After flashing magisk in recovery (or using the app to patch the boot.img and flashing that in fastboot) the system is unable to mount /vendor/firmware_mnt (maybe also others, but this is the only one i see in the logs as not found). And this causes the kernel to panic as it cant find required firmware.
Without magisk installed this works fine, as well as when magisk is installed and its set to permissive.
To my understanding magisk should inject its needed sepolicies itself. Found this difference (when booting permissive), which is there with magisk installed, but not when its not installed:
Magisk works on stock A11, compared the policies there with what i have, but didnt find a difference regarding the tcontexts above.
If you need further information let me know.
boot_dmesg_permissive.log
magisk_boot_dmesg_permissive.log
mounts.log
boot_dmesg_enforcing.log
pstore.zip
Links to device trees and kernel:
https://github.com/SGCMarkus/android_device_motorola_pstar
https://github.com/SGCMarkus/android_device_motorola_sm8250-common
https://github.com/SGCMarkus/android_kernel_motorola_sm8250
The text was updated successfully, but these errors were encountered: